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
2
votes
2 answers

Translation from colloquial english(FOL)

As homework, I had to translate the following sentence into FOL: One can travel between any two Canadian cities by airplane, train, or bus. P(x) - x is a Canadian city; Q(x, y) - one can travel by airplane between x and y; R(x, y) - one can travel…
shooting-squirrel
  • 1,081
  • 7
  • 23
2
votes
3 answers

Converting to NAND only

I've been trying to work this out for days and still can't do it. I have to convert the top equation to NAND only. I've worked out the second line by using Demorgans theorem however doing this would never convert the equation to NAND only. My…
2
votes
0 answers

Prove that there are no theorems in which there are no occurrences of disjunction

Ref : Peter Andrews, An Introduction to Mathematical Logic and Type Theory To Truth Through Proof (1986). Exercise X1210 : Does $\mathscr{P}$ have any theorems in which there are no occurrences of disjunction? Claim: No such theorems…
Code-Guru
  • 2,176
2
votes
1 answer

Elliott Mendelson, Introduction to Mathematical Logic [fourth edition] - Gen-rule and logical consequence

In Stephen Cole Kleene, Mathematical Logic (1967 - Dover reprint : 2002) there is a counterexample to the rule : $"A(x)\vdash\forall xA(x)"$. The counterexample is (pag.110): we are not justified in saying $"R \rightarrow P(y) \vdash R…
2
votes
2 answers

A problem with the interpretation of Kleene (Mathematical Logic) restrictions on deduction on FOL

I refer to Stephen Cole Kleene, Mathematical Logic (1967 - Dover reprint : 2002). At pag.108 he introduces the definiton of deducible from assumptions (in Predicate Calculus) with restrictions regarding the use of the $\forall$-rule : "from $C…
2
votes
1 answer

formula which is k-valid for only k > 2

I need to find a formula, which is satisfiable in all interpretations of a domain with $k >2$ elements, but shouldn't be satisfiable in any domains with $k \le 2$ elements. I've found something like this: $$ \forall x, \ \exists y, z : \left[ A(x,x)…
user110492
  • 31
  • 2
2
votes
1 answer

Misprint in "Mathematical Logic" by Stephen Cole Kleene

Page 18 “Theorem 3. If $\models A$ and $\models A\to B$, then $\models B$.” Page 43 From prove of Theorem 12. “By Theorem 3, given that premises $A$ and $B$ for an application of modus ponens are valid, so is the conclusion $B$.” It is looks to me…
2
votes
3 answers

Logic: If and only if (iff) statement

I'm reading D'Angelo and West, first edition for recreation. In example 20, it states "If integers x and y are odd, then x+y is even." (I took this to mean, P(x,y both odd) -> Q (x+y is even.) Easy proof - no problem. The example continues with…
Gary Hagan
  • 21
  • 1
2
votes
1 answer

Rule C (Introduction to mathematical logic by Mendelson fifth edition)

By Existential Rule E4 $\mathscr B(t, t)\vdash (\exists x) \mathscr B(x, t)$. But how can we get back? How can we formalize $(\exists x) \mathscr B(x)\vdash \mathscr B(t)$? It is shown on page 74 and it is called “rule C (“C” for “choice”)". But two…
2
votes
3 answers

Consistency of $\mathsf{PA}$

My reference book is A Course on Mathematical Logic by S.M. Srivastava. Not so long ago, MO linked me to a video of a conference by Voevodsky wherein he considered the possibility of arithmetic being inconsistent. Apparantly, there is no (known)…
2
votes
2 answers

$\exists$- introduction rule

My reference is "A Course on Mathematical Logic" by S.M. Srivastava. This question is about a certain inference rule for proofs in first order logic. If $L$ is a first order language and $T$ is a theory written in $L$, you define a proof in $T$ to…
2
votes
2 answers

Negation of statement and determining truth

a,b $\in$ $\mathbb{R}$ Original statement: $\exists a$ such that $\forall b$, $a+b>0$ My negation: $\forall a$, $\exists b$ such that $a+b \leq 0$ Is my negation correct? If it is, is the negation true whereas the original statement is false? I drew…
2
votes
2 answers

Is the following true: $\forall x\in\mathbb R: \exists y\in\mathbb R: x^2+y^2=-1$

How would I solve the following question. And determine if its true or false. 1.$\forall x \in R , \exists y\in R, x^2+y^2=-1$ 2: $\exists x\in R,\forall y \in R, x^2+y^2=-1$ For the first one I think I can justify it is false. As for any arbitrary…
Fernando Martinez
  • 6,698
  • 19
  • 74
  • 108
2
votes
1 answer

Conditional vs. Entailment

Apologies ahead of time - I'm totally confused. I'm trying to understand the difference between the Boolean truth function "->" and some sort of higher level "entailment" function "=>" (which I don't understand). I understand the table for the "A ->…
user86971
2
votes
1 answer

Sentential Logic Help?

Sentenial Logic homework? Hi everyone.. So I have sentenial Logic problems... I can't figure this out can anyone help? Given the following four sets: $A=\{\neg P\to (R \to Q), \neg(\neg R \land P), R \lor\neg Q\}$ $B=\{R \leftrightarrow (R \lor…
SOfia
  • 21