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

$\neg P \implies \neg T$ and $P \implies \neg T$. Where do I go next?

I can't find any logic equivalence or inference rules on this. Personally, I feel that $\neg P \implies \neg T$ and $P \implies \neg T$ would mean that it follows that $\neg T$ is true regardless, and I should be able to use that fact as such in my…
David
  • 1,094
3
votes
2 answers

Can a predicate be a contradiction?

In the university course I'm taking, a predicate is defined as a mathematical statement whose truth value depends on the variables involved in the statement. This definition makes me wonder whether a predicate can be a contradiction. For instance,…
Doero
  • 83
3
votes
1 answer

On the difference between $\vdash A\to B$ and "If $\vdash A$, then $\vdash B$"

I noticed that in general, the statements $\vdash A\to B$ and "If $\vdash A$ then $\vdash B$" are not equivalent.$^1$ However, this shows that I have a faulty intuition: I thought that I can interpret $\vdash A$ ($A$ is derivable without open…
Filippo
  • 3,536
3
votes
3 answers

Implication with a there exists quantifier

When I negate $ \forall x \in \mathbb R, T(x) \Rightarrow G(x) $ I get $ \exists x \in \mathbb R, T(x) \wedge \neg G(x) $ and NOT $ \exists x \in \mathbb R, T(x) \Rightarrow \neg G(x) $ right? What would it mean if I said $ \exists x \in \mathbb…
tuba09
  • 323
3
votes
3 answers

How would I go about solving this 3 Chests problem?

How would I go about solving this 3 Chests problem? I need to either solve or prove that the following riddle is unsolvable. Chest A contains gold if Chest B contains gold or if Chest C contains gold. Chest B contains gold if Chest C contains gold…
3
votes
1 answer

Does '$\omega$-consistency' mean to be consistent with $\Omega$?

In a strong enough meta-logic such as ZFC or CC, for any $L_{\Omega}$-theory $T$, is $\Omega \models T$ equivalent to that $T$ is $\omega$-consistent? Here, $L_{\Omega}$ is a first-order language whose signature is $\left\langle + , \cdot , S , 0 ,…
3
votes
1 answer

What name describes the theory of the strength of a logical statement?

Most people on this site are familiar with the idea of the "strength" of a statement. Ignoring the validity of the statements themselves, "All primes are even." is a logically weaker statement than "All integers are even." Even the statement "All…
MooseBoys
  • 249
3
votes
1 answer

Standard Natural Numbers vs non-Standard Natural Numbers

I've been diving into Gödel's Incompleteness Theorems lately and it seems like all the weird scenarios I've encountered hinges on the existence of non-standard models of PA. For example, if we have a consistent system S that is strong enough to…
ghost
  • 377
3
votes
4 answers

If $x\not\leq y$, then is $x>y$, or $x\geq y$?

I'm currently reading about surreal numbers from here. At multiple points in this paper, the author has stated that if $x\not\leq y$, then $x\geq y$. Shoudn't the relation be "if $x\not\leq y$, then $x>y$"? Hasn't the possibility of $x=y$ already…
user67803
3
votes
1 answer

The Fundamental Theorem of Logic according to Wang

Wang's "Proving theorems by pattern recognition II", page 3 says: What is the "fundamental theorem of logic"?
user1868607
  • 5,791
3
votes
2 answers

rigorous definition of a "logic"

It's been a couple of years since I've had a course in logic (the course was propositional and first order logic, up to Gödel's completeness theorem). I've been looking at some papers online, and they seem to talk about systems of logic like…
3
votes
2 answers

Does the Deduction Theorem work for assertions of non-derivability?

By the deduction theorem, if $Γ,A⊢B$, then $Γ⊢A→B$ . But may I also conclude that if $$Γ,A⊬B,$$ then $$Γ⊬A→B \;?$$
3
votes
1 answer

Can you distribute implication statements?

Logically, the following statement makes sense in my head, but I can't find a law or proof that gives this example or explains this. $$ ((p \lor q) \to r) \;\;\text{is equivalent to}\;\; ((p \to r) \lor (q \to r)) $$ I would think this is sort of…
3
votes
1 answer

Contrapositives

I'm a little bit confused by the contraposition. Suppose we have a statement: "If number can be divided by 3 ($P$), Then it can also be divided by 9 ($Q$)" In a book "Discrete mathematics with applications" there is an exercise where the reader must…
Yolanda
  • 31
3
votes
1 answer

For every infinite set of wffs, show that there exists an independent equivalent set

Also known as Enderton 1.2.10.c. I'm struggling with this question so much. It has been asked and answered on here. I have also read the solution from other sources, but just cannot grasp the main idea. I know that it cannot be the subset of the…