Questions tagged [logic]

Questions about mathematical logic, including model theory, proof theory, computability theory (a.k.a. recursion theory), and non-standard logics. Questions which merely seek to apply logical or formal reasoning to other areas of mathematics should not use this tag. Consider using one of the following tags as well, if they fit the question: (model-theory), (set-theory), (computability), and (proof-theory). This tag is not for logical puzzles, use (puzzle).

This tag broadly covers the field of mathematical logic, which deals with questions involving formalized mathematical statements, mathematical structures, and their relationships. The development of mathematical logic in the late 19th and early 20th centuries was intertwined with the interest in foundations of mathematics (), although much current work in logic is not directly related to foundations.

The elementary content of mathematical logic involves formal mathematical languages, quantifiers, and formal proofs of statements. These formal proofs are carried out in formal proof systems (see ), which model ordinary mathematical reasoning but, unlike natural language proofs, have a fully specified syntax and grammar that could in principle be verified mechanically. Specific tags for these topics include and . The full development of these ideas happens in the field of . A well known application of proof-theoretic methods is Gödel's incompleteness theorem .

The field of studies models of formal languages. Examples include algebraic structures such as groups and rings, as well as more esoteric structures. The field focuses on definability within such structures, relative to particular formal languages.

The field of studies formalized notations of computability, such as Turing computability and hyperarithmetical computability, as well as their applications to mathematics.

The field of studies sets by considering formal axiomatic systems of set theory such as ZFC. Questions about basic topics that might be found in "Chapter 0" of an undergraduate textbook (such as unions, intersections, subsets, etc.) are classified on this site as , while the includes questions about models of ZFC, large cardinals, the method of forcing, etc. Some researchers view set theory as part of mathematical logic, while others view it as a distinct area; the logic tag is not mandatory for set theory questions.

There are other areas which overlap with mathematical logic, but are not always considered part of it. The field of has many similarities to logic, and has important foundational aspects.

The foundational aspects of logic include mathematical constructivism, which is classified here as .


This tag does not include questions about ordinary logical reasoning in mathematical proof writing. Questions that ask about the logical structure or logical methods of ordinary mathematical proofs should be labeled with the tag unless they ask about specific formal proof systems.

This tag should not be used for what a layperson might called "a logical puzzle". For these sort of questions please use and as appropriate. (Unless the solution is done via a method relevant to the logic tag, of course.)

27971 questions
5
votes
2 answers

A problem with the Gen-rule in Kleene's Mathematical Logic

I refer to Stephen Cole Kleene, Mathematical Logic (1967 - Dover reprint : 2002). At pag.118 he introduces the Derived Rules for quantifiers in Predicate Calculus, beginning with $\forall$-intro : if $\Gamma\vdash A(x)$ then $\Gamma\vdash \forall x…
5
votes
2 answers

Axiomatisation of propositional logic using $\land$ and $\neg$

I am looking for a simple axiomatisation of a particular version of propositional logic that is defined in terms of $\land$ and $\neg$ only. I am guessing that it only needs one rule of inference: $p, \neg(p \land \neg q) \vdash q$. Can you give me…
5
votes
1 answer

Monotone self-dual boolean functions clone

It's said on Wikipedia page about Post's lattice that DM clone(all monotone self-dual functions) has majority function $(xy + xz + yz)$ as one of its bases. What is the proof of this fact?
balrog
5
votes
1 answer

Can a single sentence be used to distinguish between isomorphic classes of finite structures?

The answer seems to be yes, judging from the following exercise I found in the book Mathematical Logic by H.D. Ebbinghaus, J. Flum, and W. Thomas: Let $S$ be a finite symbol set and let $\mathfrak{U}$ be a finite $S$-structure. Show that there is…
a06e
  • 6,665
5
votes
1 answer

indecidability, independency and company

It might be a stupid question, but I am having a look at independence and this question came to my mind : Let say you have a proposition P1 independent of ZFC. If you find, in this same axiomatic system, a proposition : P2 that imply P1 P3 that…
5
votes
2 answers

Prove that this infinite planar map can still be colored with four colors.

Here is quite challenging problem from Enderton's popular textbook A Mathematical Introduction to Logic. In 1977 it was proved that every planar map can be colored with four colors. Of course, the definition of "map" requires that there be only…
NasuSama
  • 3,364
5
votes
1 answer

A Logic for Digital Circuits

To put it simply, what i'm looking for is a logic that models sequential circuits. If i understood correctly, digital circuits are often categorized in two distinct categories, combinatorial and sequential, the former being a subset of the latter.…
hcp
  • 397
5
votes
2 answers

Which statements count as first-order?

I have been reading a bit about formal languages to understand exactly what we mean by "first-order" when talking about things such as the transfer principle. If we use the language of set theory $\displaystyle S=\left\langle \in \right\rangle$,…
naytte2
  • 442
5
votes
1 answer

Does $\mathrm{PA}^-$ prove all true literal sentences of basic arithmetic?

By "the literal sentences of basic arithmetic" let us mean sentences like $$3+4=7,\;\; 2\cdot 3 = 3\cdot 2, \;\;S(2)=3$$ where for example $3$ is shorthand for $S(S(S(0)).$ Note that some literal sentences of basic arithmetic are true (e.g. $3+4=7$)…
goblin GONE
  • 67,744
5
votes
2 answers

Negation of a statement with an inequality.

Let $A\subset\mathbb{R}$ be an upper bounded set. Then $$\forall\varepsilon>0~\exists x\in A\text{ such that }\sup{A}-\varepsilon< x \leq \sup A$$ I want to negate that statement. Would it be: $$ \exists \varepsilon>0~\forall x\in A\text{ such that…
5
votes
1 answer

cyclic definitions of material/logical implications

Most sources define the material implication (conditional) using a pre-defined connective, usually "or", $$\left(p \implies q\right) \text{ iff } \left(\lnot p \lor q\right) \qquad \text{(1)}$$ Different definitions are possible, including one using…
chharvey
  • 2,612
5
votes
4 answers

Question about using disjunction rule of inference to obtain material implication?

I'm seeing math logic and I have a question. Let $p$ be a proposition. Let's suppose I have $\lnot p$. By disjunction rule, this implies $\lnot p \vee q$, where $q$ is any proposition. This is equivalent (looking…
Dan
  • 51
5
votes
4 answers

assignment of variables...only if we deal with a non-empty set

If $L$ is a signature, $\mathbb{V}$ a countable set of variables, $\Phi$ a $L$-sentence, $S$ a structure with domain of discourse $\underline{S}$ and $\mu:\mathbb{V}\rightarrow \underline{S}$ a variable assignment, then: $\Phi$ evaluates to "true"…
temo
  • 5,237
5
votes
2 answers

Constructing an example that supports the Propositional Interpolation Theorem

I'm trying to construct a simple proof of the Propositional Interpolation Theorem. For the following, let $At(\phi)$ be the set of sentence symbols that occur in a sentence $\phi$. Suppose that $\psi$ is a tautological consequence of $\phi$, but…
yunone
  • 22,333
5
votes
0 answers

Is FOL with a two-variable Härtig quantifier more expressive than FOL with an ordinary Härtig quantifier?

Does FOL augmented with the two-variable Härtig quantifier $\text{FOL}[(\text{I}2)]$ produce a more expressive logic than FOL with the ordinary Härtig quantifier $\text{FOL}[\text{I}]?$ I will use $I$ to denote the Härtig quantifier. If $x$ is a…
Greg Nisbet
  • 11,657