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

True or false or not-defined statements

Is it correct to say that for a statement to be either true or false it has to be well defined? For example: the statement $$\frac{1}{0} = 1$$ is neither true nor false because the expression on the left simply isn't defined. Or the statement:…
Thomas
  • 43,555
7
votes
4 answers

Sufficient but not Necessary conditions

We were having a discussion at the office when we should have been working and I suggested that an example of a Sufficient but not Necessary condition is: Given a natural number of fewer than, say, 25 digits. We wish to establish if it is divisible…
7
votes
4 answers

Neither provable nor disprovable theorem

I wonder about a theorem which can be proven that this theorem is $neither\, provable$ nor $disprovable$ using any kind of mathematical knowledge. Questions: 1- Is there any such theorem? or is it proposable? 2- If there exists such a theorem about…
7
votes
2 answers

Logical implication vs Tautological implication

I'm reading Enderton's logic book and have arrived to his deductive calculus for first order logic. After defining it, he presents the following theorem: $\Gamma\vdash \varphi$ iff $\Gamma\cup \Lambda$ tautologically implies $\varphi$. Here (if I…
Gadi A
  • 19,265
7
votes
1 answer

Lower bound on proof length

Given any positive integer $n$, is there a way to quickly construct a statement $S$, such that the shortest proof of $S$, if it exists, must have length at least $n$? And such that one out of $S$ or not $S$, is provable. And question 2: If S, then…
TROLLHUNTER
  • 8,728
7
votes
2 answers

Why are maximal consistent sets essential to Henkin-proofs of Completeness?

As well-known, the Completeness theorem states that $$\Gamma \vDash \varphi \Rightarrow \Gamma \vdash \varphi$$ The proof we find in didactic textbooks are usually called "Henkin-proofs". Let $\mathcal{L}$ be our referring language. A Henkin-proof…
StudentType
  • 1,478
7
votes
2 answers

Three questions about intuitionistic logic

If $A$ is a theorem of classical logic, is it the case that $\neg \neg A$ is a theorem of intuitionistic logic? And secondly, if $A \to B$ is a theorem of classical logic, is $\neg B \to \neg A$ a theorem of intuitionistic logic. Third, is $\neg A…
user107952
  • 20,508
7
votes
2 answers

Proof by contraposition not making sense

I fail to understand why contraposition works intuitively. Take this sentence for example: $\text{If I pass my exams then I am a good student.}$ $\text{I pass my exams }\implies\text{ I am a good student.}$ If I know I passed my exams then I know…
6
votes
1 answer

Difference between not both and both not and either or and neither nor

I have done a simple exercise, but now I am still a bit confused. What is the difference between not both and both not? And the difference between either or and neither nor? For example, in the following example: Messi and Ronaldo are not both in…
user168764
6
votes
1 answer

What is special about elementary recursive arithmetic?

In several "proof-theory-for-dummies"-type texts I have read, $I\Delta_0+Exp$ or a theory equivalent to it shows up as a "base" theory, though in what sense it is minimal is not clearly addressed. I realise this is a vague question but if I had the…
anonymous
6
votes
1 answer

Example of first order logic without equality.

Most logic texts say that = is a special symbol which is always part of our language. It is my understanding, though, that it is perfectly acceptable to consider = to be an ordinary binary relation or even to not include it. My questions are: Are…
6
votes
1 answer

What is needed to study Inconsistent mathematics?

I have read about inconsistent maths , a math in which contradictions are allowed. It uses , i think , paraconsistent logics.. My question is : Is learning inconsistent maths require knowledge of the maths we know ? Also , Does it have the same…
FNH
  • 9,130
6
votes
3 answers

Unique Readability

An essential ingredient of the workings of mathematical logic is the possibility of defining functions by recursion on the complexity of formulas. In order to ensure that such a function assigns exactly one value to each of its arguments one usually…
Jon
  • 456
6
votes
2 answers

Undecidable existence theorems

Many conjectures about the natural numbers have the property that for any particular natural number, it is decidable (under some set of axioms like ZFC) whether or not the conjecture holds for that number. Nonexistence of odd perfect numbers and the…
user7530
  • 49,280
6
votes
1 answer

Inference rules in ZFC

I'm relatively new to formal logic. I have found a list of ZFC axioms on Wikipedia, but do not know what the rules of inference are. Is there a resource for what these inference rules are, or could someone list them for me? I have a copy of…
user3048