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

Negation of "and" statements: a and b

Is it correct? $\neg$(a and b)=(not a) or (not b) What ruleset can i look up for negations? Especially for "all", "if, then" statements.
SAJW
  • 1,327
9
votes
2 answers

What is the "common" definition of model in first order logic?

While reading the note "First-Order Logic in a Nutshell" from Lorenz Halbeisen (can't find it online, but it's also a section in his book Combinatorial Set Theory page 31-44.), I got confused by the remark at the end of the following…
9
votes
7 answers

"All true theorems are logically equivalent"

I've seen the phrase "all true theorems are logically equivalent" thrown around here, when people ask if a theorem X and a theorem Y are logically equivalent. What is meant by this? Are they just referring to the fact that an implication with a true…
9
votes
5 answers

Could the Riemann hypothesis be provably unprovable?

I don't know much about foundations and logic, so I ask forgiveness if my question is just plain stupid. Assume we have a statement of the form: There exist no $x\in X$ such that $P(x)$. where $X$ is some kind of set (or class, or similar stuff)…
8
votes
1 answer

If $\Sigma \vdash \phi$ implies $\Sigma \vdash \varphi$ then $\Sigma \vdash \phi \to \varphi$ on propositional logic?

My main aim is to prove or disprove that if $\Sigma \vdash \phi$ implies $\Sigma \vdash \varphi$ then $\Sigma \vdash \phi \to \varphi$ where $\Sigma$ donotes a set of sentences in propositional logic. $\Sigma \vdash \phi$ means there is a deduction…
le4m
  • 3,006
8
votes
4 answers

Why a false statement can imply anything?

According to the truth table, If $P$ is false,then $P->Q$ is true. if pigs fly, then $1+1=3$. Why is this implication true? How do you prove it?
Gavin Z.
  • 401
8
votes
4 answers

What is the logical connective for Either.. Or?

I have a statement, Either p or q and I have to write it in terms of logical connectives but I don't get which logical connector should I be using? Here is what I did (I think there could have been a better way to do this) $(p \lor q ) \land…
user2857
8
votes
3 answers

Model Theory, Proof Theory, Set Theory, Recursion Theory: Where to begin?

What comes after an introduction to Mathematical Logic? Also, Where would Formal Language Theory stand among the other four branches of Mathematical Logic (listed in the title)?
JimmyJackson
  • 1,517
8
votes
4 answers

Is "The present King of France is bald" studied by maths?

Intuitively, "The present King of France is bald." is false. But Bertrand Russell said it would mean that "The present King of France is not bald.", which seems to be false. This apparently leads to a contradiction. Could assertions about things…
jinawee
  • 2,585
8
votes
2 answers

Can conjunction be expressed via implication?

Exercise 1.5 from Arnold Milner Logic Notes: While disjunction is easily defined via implication (p v q = p->(q->p)) I have trouble defining conjunction and guess this is impossible. I've examined truth tables for expressions with 3 terms and need…
8
votes
2 answers

Which are the Bound and Free Variables in these expressions?

I referenced 1 and 2. Source: p 29, How to Prove It by Daniel Velleman The free variables [hereafter abbreviated to FV] in a statement stand for objects that the statement says something about...The fact that you can plug in different values…
user53259
8
votes
1 answer

Gödel and Adding Axioms

I've been reading about Gödel's Incompleteness Theorems and there's something that I don't quite understand. It's about adding new statements as axioms to a system. I'm not sure if I'm understanding anything wrong so here is a brief summary of what…
ghost
  • 377
8
votes
4 answers

What is a type?

In terms of mathematical logic can someone give me a definition of the word 'type' along with a few examples of the word being used. The book I am reading defines it as a "representative of inscriptions that look the same and utterances that sound…
Ethan Splaver
  • 10,613
8
votes
6 answers

“$B$ does not follow from $A$” seems different from $\lnot(A\to B)$

I am a beginner in logic. I have a basic question about implication. If "$B$ follows from $A$", we can write $A\rightarrow B$; but what about "$B$ does not follow from $A$"? Someone might suggest $\neg(A\rightarrow B)$, but that's not what "$B$ does…
Samuel
  • 559
8
votes
3 answers

Proof by contradiction and Incompleteness

Does Gödel's incompleteness theorem imply that proofs by contradiction don't work?
Emerson
  • 191