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
3 answers

Determining the truth value of a statement

I am stuck with the following question, Determine the truth value of each of the following statments(a statement is a sentence that evaluates to either true or false but you can not be indecisive). If 2 is even then New York has a large…
user2857
2
votes
1 answer

Need help in logic and statements

I am stuck with some questions. Please help me out. Thanks. If $P(x):x^2 < 12$, then $P(1.5)$ is a statement (I think yes. As the Universe of $x$ is not given but can be taken as set of Real Numbers.) If $Q(n): n+3=6$, then $Q(m)$ is the…
user2857
2
votes
2 answers

Mixture of Godel's sentence, Berry's paradox and Rosser's sentence

Let $S$ be a "rich enough" theory such as Peano arithmetic or ZFC ; assume that we have a complete formalization of the theory of $S$ so that we may talk about Godel numbers and the length of a proof. Godel's sentence is constructed so that it says…
Ewan Delanoy
  • 61,600
2
votes
5 answers

$(A_1\rightarrow\wedge A_2)$ is not a well-formed formula

Let $A_1,A_2$ be sentence symbols. Could anyone advise me how to prove $(A_1\rightarrow\wedge A_2)$ is not a well-formed formula? Thank you.
2
votes
1 answer

how do I convert AND to NAND using logic?

I could convert OR to NAND, but I am stuck on AND. I can convert AND to interms of XOR, but still find no way to convert it to NAND
user126298
2
votes
1 answer

Maximum size of a set containing logical expressions

Can you please help me with this problem? "What is the maximum size of a set A of logical expressions that only use →, p, q : each pair of elements of A are not equivalent?" I've found 6 different possible truth values. Is this the maximum size? If…
2
votes
1 answer

Contrapositive gives more info than implication?

Please forgive my childish drawing, this is the quickest way I could think to express my question. Though the truth values of an implication and its contrapositive are the same, they do not seem to give the same amount of information, as…
2
votes
1 answer

Problem about logic

A Mathematics lecturer can’t find a nice exercise for the final exam paper of his course. Then he makes up his mind and gives the following one-line exercise: Write an exercise you think suitable for this exam, and solve it. When he corrects the…
Lex
  • 255
2
votes
0 answers

Questions about technical aspects of Gödel's proof of his Completeness Theorem

I'm trying to refresh my knowledge about mathematical logic and I'm still unsatisfied with my insight of Gödel's Completeness Theorem. I have read Gödel's original paper (1930 - reprinted into J.van Heijenoort (editor), From Frege to Gödel, 1967)…
2
votes
2 answers

What is wrong with this logic tree?

I have found this in a university text book and have been told it has many erros. What is wrong here?
2
votes
1 answer

Dependence on parameters in propositional logic

Warning: my background is mostly in probability and analysis, and not in logic. When reading or writing a complex proposition, with long chains of "for all... there exists... for all...", I tend to understand the structure of the sentence of…
D. Thomine
  • 10,870
2
votes
0 answers

cut elimination for infinitary logic

Takeuti (1987, 223) derives a cut-elimination theorem for infinitary logic from the soundness-and-completeness theorems. However, is there a way to adapt the original Gentzen-style proof? The relevant version of the cut rule is (roughly) From…
mmw
  • 953
  • 4
  • 11
2
votes
1 answer

Diagonal lemma in Godel Incompleteness Theorem

In the proof, we start with a numbering of all formulas with one free variable $v$. The formula $sub(x,x,y)$ used in the diagonal lemma says: $y$ is the godel number of the formula obtained when the free variable $v$ in the formula whose number is…
Sudhir
  • 115
2
votes
1 answer

An implication for the real numbers given decidability on formal systems .

A friend and I were looking through Peter Smith's book, An Introduction to Godel's Theorem, when we discovered the following. Ideally, for an axiomatized system with a language $\mathcal{L}$ (assuming $\mathcal{L}$), we would want that if P is a…
2
votes
2 answers

Formal proof involving existential quantifier

It is common sense that to derive a formula with existential quantifier is only necessary to prove that a formula is valid for any term , ie: $\Gamma$ , $\phi$ [t/x] $\vdash$ $\exists$x$\phi$. By definition t could be any term since it is free for x…
Peter
  • 51