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
1 answer

Deduction Theorem and Closed Formulas

Why in the Deduction Theorem do we require a closed formula? Deduction Theorem. Let $A$ be a closed formula in $T$. For every formula $B$ of $T$, $\vdash_T A \implies B$ iff $B$ is a theorem of $T[A]$. I could not find any counterexample. Can you…
A_l
  • 301
5
votes
1 answer

Are tautologies and contradictions analogous to universal sets and empty sets, respectively?

Already read: $\wedge,\cap$ and $\vee,\cup$ between Logic and Set Theory always interchangeable? I am learning logic for the first time, about six months after finishing my undergraduate degree. I notice that there seem to be some similarities…
Clarinetist
  • 19,519
4
votes
4 answers

Prove the proposition is a tautology

I have two homework questions that I've been struggling with. For the first I need to prove that $((p \lor q) \land (\lnot p \lor r)) \to (q \lor r)$ is a tautology. I've tried two approaches. First I tried substituting other logically equivalent…
gsgx
  • 789
4
votes
2 answers

Why does changing the order of quantifiers in Goldbach's conjecture changes its meaning and truth value?

Goldbach's conjecture in English reads: “Every even integer greater than 2 is the sum of two primes.” Which can be written in terms of quantifiers as: $$\forall n \in \text{Even}. \exists p \in \text{Primes} \exists q \in \text{Primes}. n= p +q.…
4
votes
2 answers

The truth table shows the following statement is a tautology, but it doesn't make sense.

the truth table of the sentence $$(p \rightarrow q) \vee (q \rightarrow p)$$ is \begin{array}{ c c l } p & q & (p \rightarrow q) \vee (q \rightarrow p) \\ \hline T & T & \, \, T \; T \> T \> \> \mathbf{T} \> \> T \; T \> T\\ T & F & \,…
4
votes
1 answer

Universal closure of a formula

I am confused about the following: I read yesterday that for a formula $\phi(x_1,\ldots,x_n)$ in a first order language $\mathcal{L}$ and an $\mathcal{L}$-structure $\mathcal{A}$, $\mathcal{A} \models \phi(x_1,\ldots,x_n)$ iff $\mathcal{A} \models…
Andrew
  • 43
4
votes
1 answer

How do I prove $\Gamma, A, B \vdash C \Rightarrow \Gamma, A \wedge B \vdash C\ $ in a Hilbert system?

How do I prove $$\Gamma, A, B \vdash C \Rightarrow \Gamma, A \wedge B \vdash C$$? It makes sense to me in general (like, if we want to show $C$ is derivable from $A \wedge B$, we have to show it's derivable assuming $A$ and also $B$) but I'm stuck…
4
votes
1 answer

"Commutativity" of quantifiers

I'm learning logic from Suppes' Introduction to Logic. I can show within his system of rules, that $\models (\forall x)(\forall y)(Pxy) \rightarrow (\forall y)(\forall x)(Pxy)$ and similarly for the existential quantifier. I can also understand you…
Stranger
  • 299
4
votes
1 answer

What kind of math can be formalized in first order logic using PA axioms?

Can someone please help me understand the following assertion: All concrete mathematics of the past can be conducted in Peano Arithmetic. This is from "A Brief Introduction to Unprovability" by Andrey Bovykin. Bovykin says that theorems of…
user2484
  • 157
4
votes
1 answer

Minimize $(A\land\neg C)\lor(B\land C)$

Is it possible to write following expression with each variable occuring only 1 time and using any of operations $\land\neg\lor\oplus$ ? $$(A\land\neg C)\lor(B\land C)$$
Somnium
  • 1,567
  • 1
  • 13
  • 27
4
votes
1 answer

Propositional calculus , axiom scheme independence proof

I am studying mathematical logic from Mendelson's "Introduction to mathematical logic" and have difficulty understanding the intuition behind his proof of independence of axiom schemes introduced for propositional calculus. His proof technique…
4
votes
2 answers

First order logic proof question

I have no idea how to begin constructing this proof, and I would appreciate any help! I need to prove the following, and to make matters worse, without soundness or completness: $$ \vdash (\forall x. \phi) \rightarrow (\exists x.\phi)$$ I can use…
Fruni
  • 49
4
votes
1 answer

Is this 2d five-fold Venn Diagram original and valid?

Venn diagrams captured my attention a few years ago. One night I decided to see if I could come up with some new Venn Diagrams. After a few hours, this is what I came up with. I'm a web developer not a mathematician, so I'm quite proud of this…
user2828
4
votes
1 answer

Equivalence of Deductive System $L_0$ and the Sequent Calculus

Let $\mathcal{L}_0=\mathcal{L}[\{\neg, \rightarrow\}]$. Define the system $L_0$ as follows: An axiom of $L_0$ is any formula of $\mathcal{L}_0$ of the form (A1) $(\alpha \rightarrow ( \beta \rightarrow \alpha))$ (A2) $((\alpha \rightarrow ( \beta…
Mathmo
  • 4,883
4
votes
5 answers

expanding requirements for equivalent conditions

We have all seen statements about equivalent conditions, such as If any one of the following three conditions hold, then all three conditions hold. Are there any examples of three conditions which all hold, provided at least two of them hold? So to…