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

Arithmetical hierarchy and skolemization

What's the point of classifying statements in an arithmetical hierarchy if you can use skolemization to construct equisatisfiable $\Pi^0_1$ formulas for any non-$\Pi^0_1$ formula?
Emma
  • 63
4
votes
1 answer

How can the law of the excluded middle possibly be true if we acknowledge that some logical statements are undefined?

The law of the excluded middle (LEM) states that for any proposition, either it is true or its inverse is true. In other words, there is no "middle ground" between truth and falsehood in mathematical logic. This makes possible proofs by…
4
votes
3 answers

Help with proving a logical equivalence

How do I prove this using logical equivalences? $(p \rightarrow q) \lor (q \land r) \equiv \neg ((p \land \neg r) \land \neg q) \land \neg (r \land (\neg q \land p))$ Any suggestions or tips would be greatly appreciated. Thanks in advance! EDIT:…
M42
  • 71
4
votes
1 answer

Does False Entail True, and Vice Versa?

I have these two statements: False $\models$ True Reads as : False logicially entails True if all models that evaluate False to True also evaluate True to True. True $\models$ False Reads as : True logically entails False if all models that…
4
votes
2 answers

If every element $a \in A$ is even, then why is it false that some $a \in A$ is even?

Suppose $A$ is a set. If every element $a \in A$ is even, then some $a \in A$ is even. Why is this a false statement?
TH_HN
  • 45
4
votes
1 answer

How many possible ways are there to make $\exists x \exists y \,\mathrm{Loves}(x,y)$ true, with five elements in the domain?

I'm a professional philosopher, not a mathematician, so I got myself stumped and hope somebody here will be kind enough to help me. When I'm explaining the universal and existential quantifiers to undergraduates, I like to help motivate the…
shane
  • 143
4
votes
1 answer

Can certain things never *ever* be proved?

I'm not familiar with logic beyond simple boolean operators and the standard mathematical tools (quantifiers, implication, proof by contradication, etc.) I've known for a while that Gödel's Theorem(s) state (very loosely!) that given any system of…
pshmath0
  • 10,565
4
votes
2 answers

Can the law of excluded middle be used along an independent claim?

I was recently reminded of this proof technique in Wikipedia using the Riemann hypothesis along with the law of excluded middle, whether or not this hypothesis is true or not and may even be…
Feelix
  • 521
4
votes
7 answers

Understanding Vacuously True (Truth Table)

I don't know very much about formal logic, and I'm trying to understand the concept of vacuously true statements. Consider the truth table below: $$\begin{array} {|c|} \hline P & Q & P\implies Q & Q\implies P & P\iff Q \\ \hline T & T & T & T & T …
4
votes
1 answer

Is this a statement (logic)?

$\frac{x^2-25}{x-5}=x+5$ represents a statement, which can be true or false (if $x\neq5$). But if $x=5$ is it still a statement? E.g. Is "undefined expression equals 10" a statement? And why?
4
votes
1 answer

Is it true that $A\cong B$ implies $A = B$ when $A$ and $B$ are ordered structures

In Immerman's book "Descriptive complexity" he says that $A \cong B$ implies $A = B$ when $A$ and $B$ are totally ordered structures. See: (Descriptive Complexity, Neil immerman) Definition $\bf 1.21\quad$ (Isomorphism of Unordered Structures)…
4
votes
2 answers

What does it mean to say that a given theory is weak or strong?

In logic (and in mathematical logic) I wondered what does it mean to say that a given theory is weak or strong? To be specific, I am just interested in arithmetics. Thanks!
Bill
  • 41
4
votes
2 answers

Is there a possibility that ZFC is inconsistent and, if it is, do we have to throw out our old proofs?

I have learned that ZFC has not been proven consistent, and that further more if one were to start from ZFC and prove ZFC consistent, this would imply that ZFC is not consistent, due to Gödel. A few questions about what I just said: Does this mean…
Perry Bleiberg
  • 1,277
  • 8
  • 16
4
votes
4 answers

If p then q misunderstanding?

The statement $P\rightarrow Q$ means: if $P$ then $Q$. p | q | p->q _____________ T | F | F F | F | T T | T | T F | T | T Lets say: if I'm hungry $h$ - I'm eating $e$. p | q | p->q _______________________ h | not(e) | F not(h) |…
4
votes
1 answer

Question about Regularly Algebraizable Logics

I haven't found any posts related to Algebraic Logic, but I'll try anyway; here it is: Some notions: A logic is algebraizable when there is a class $K$ of algebras an there are structural Transformers $\tau,\rho$ (from formulas into equations and…