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

Implies ($\Rightarrow$) vs. Entails ($\models$) vs. Provable ($\vdash$)

Consider A $\Rightarrow$ B, A $\models$ B, and A $\vdash$ B. What are some examples contrasting their proper use? For example, give A and B such that A $\models$ B is true but A $\Rightarrow$ B is false. I'd appreciate pointers to any tutorial-level…
user287424
  • 1,239
102
votes
5 answers

True or false? $x^2\ne x\implies x\ne 1$

Today I had an argument with my math teacher at school. We were answering some simple True/False questions and one of the questions was the following: $$x^2\ne x\implies x\ne 1$$ I immediately answered true, but for some reason, everyone (including…
Chris
  • 1,041
61
votes
6 answers

How to avoid perceived circularity when defining a formal language?

Suppose we want to define a first-order language to do set theory (so we can formalize mathematics). One such construction can be found here. What makes me uneasy about this definition is that words such as "set", "countable", "function", and…
IssaRice
  • 1,155
52
votes
5 answers

Say $a=b$. Is "Do the same thing to both sides of an equation, and it still holds" an axiom?

Recently I have started reviewing mathematical notions, that I have always just accepted. Today it is one of the fundamental ones used in equations: If we have an equation, then the equation holds if we do the same to both sides. This seems…
j4nd3r53n
  • 1,524
41
votes
1 answer

What's the difference between material implication and logical implication?

When I read the definitions of material and logical implications, they seem to me pretty much equivalent. Could someone give me an example illustrating the difference? (BTW, I have no problem with the equivalence between $\lnot p \vee q$ and $p \to…
kjo
  • 14,334
40
votes
5 answers

Does "This is a lie" prove the insufficiency of binary logic?

If "This is a lie" were a true statement, its fulfilled claim of being a lie implies it can't be true, leading to a contradiction. If it were false, it could not be a lie and thus had to be true, again leading to a contradiction. So with this…
34
votes
7 answers

Why should we care about syntactic proofs if we can show semantically that statements are true?

I am talking about classical logic here. I admit this might be a naive question, but as far as I understand it: Syntactic entailment means there is a proof using the syntax of the language, while on the other hand semantic entailment does not care…
Threnody
  • 898
31
votes
15 answers

Is it true to say that "it's not logically possible to prove something can't be done"?

A friend of mine asked me if I could explain this statement: "It's not logically possible to prove that something can't be done". The actual reason is the understanding of this strip: Since I'm not an expert on logic, but at least know the basics,…
Valdemar
  • 566
30
votes
1 answer

Impossible to prove vs neither true nor false

First off I am not a logician, so I probably won't use the correct terms. Sorry ! I have heard, like most mathematicians, about questions like the continuum hypothesis, or the independance of the axiom of choice from ZF. These statements (continuum…
Albert
  • 9,170
27
votes
12 answers

Prove that a counterexample exists without knowing one

I strive to find a statement $S(n)$ with $n \in N$ that can be proven to be not generally true despite the fact that noone knows a counterexample, i.e. it holds true for all $n$ ever tested so far. Any help?
GOTO 0
  • 1,802
26
votes
3 answers

A concrete example of Gödel's Incompleteness theorem

Gödel's incompleteness theorem says "Any effectively generated theory capable of expressing elementary arithmetic cannot be both consistent and complete. In particular, for any consistent, effectively generated formal theory that proves certain…
nb1
  • 1,615
26
votes
2 answers

What is the difference between Gödel's completeness and incompleteness theorems?

What is the difference between Gödel's completeness and incompleteness theorems?
varun
25
votes
4 answers

Does proof by contradiction assume that math is consistent?

The standard proof by contradiction goes like It is known that $P$ is true. Assume that $Q$ is true. Using the laws of logic, deduce that $P$ is false. Rejecting this contradiction, we are forced to accept the falsity of $Q$. In rejecting the…
Herng Yi
  • 3,156
24
votes
6 answers

Negation of if and only if?

Let a statement P is "X is true if and only if Y is true". What is the negation of P? I am little confused. It seems that digital equivalent of this statement is P = X and Y. Hence negation of P is (not X) or (not Y) i.e. Either X or Y is false. Am…
Dilawar
  • 6,125
23
votes
4 answers

An (apparently) vicious circle in logic

Can someone please help me with this following exercise 4.4 (p. 114) from the Mathematical Logic book of Ebbinghaus et al(this is not homework, but rather something that has been bugging me for a long time, which I now have found in form of an…
temo
  • 5,237
1
2 3
99 100