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

Definability of truth in Set Theory

I have a questions about the definability of truth in set theory. Suppose that $\mathcal{L}$ is a language for a first order set theory $T$. Let $Sat(A,x, y)$ be the formula that define the satisfaction relation, that this, $Sat(A,\ulcorner…
4
votes
1 answer

Clarifying the definition of a logical system on wikipedia

Logical system is a deductive system together with additional (non-logical) axioms and a semantics. An example of a logical system is Peano arithmetic. Wikipedia Can you please explain what is non-logical axioms and a semantics in this context?
Oleg Dats
  • 425
4
votes
3 answers

logic question inferences

Here are two inferences A and B, one of which is valid, but the other not valid. Inference A Every human is mortal. Socrates is human. Therefore Socrates is mortal. Inference B Every hero likes women. Taro likes women. Therefore Taro is a…
user77788
  • 167
4
votes
2 answers

Are there any examples of two-valued logics that are not classical?

What are some examples of nonclassical two-valued logics? How would such a logic work? What relationship do the non-classical two-valued logics have to ordinary two-valued logic? This answer includes an interesting parenthetical comment. Also, as a…
Greg Nisbet
  • 11,657
4
votes
1 answer

In proving something, is it better to use $\iff$ even if you only ‘need’ $\implies,$ or should you only $\implies$ what you need?

Suppose we want to prove a result $R.$ In the process of proving $R,$ we have a biconditional $P \iff Q,$ which is true by observation and doesn't require an explicit proof taking up space. However, to prove $R,$ we only really needed $P \implies…
4
votes
3 answers

Differences between “for each” and “for all” according to Pugh's book

On page 6 of C. C. Pugh's Real Mathematical Analysis (2017): Avoid reading $\forall$ as "for all," which in English has a more inclusive connotation. Instead, one should read $\forall$ always as for each, as the writer suggests. Could anyone…
J-A-S
  • 621
4
votes
2 answers

Do Parentheses Affect Mixed Quantifier Order?

Say I have a sequence of quantifiers like so: $$ \\ \exists x\ ( \forall y\ F(x, y)) \tag{1} $$ If there was no parentheses this would be $$ \\ \exists x\ \forall y\ F(x, y) \tag{2} $$ Take another expression If there was no parentheses this would…
4
votes
1 answer

Does the Huntington axiom follow from $x \vee x = x$ and $\neg \neg x = x$?

Let’s consider algebras with the following axioms in addition to commutativity and associativity: $$x \vee x=x$$ $$\neg \neg x = x$$ Does the Huntington axiom ( $\neg (\neg x \vee y) \vee \neg (\neg x ∨ \neg y) = x$ ) follow from the axioms? If yes…
tpv
  • 396
4
votes
1 answer

Is there an equation which is an instance of both the associative property and the reflexive property?

The equation $(x+x)+x=x+(x+x)$ is an instance of both the associative and commutative properties. Also, the equation $x+x=x+x$ is an instance of both the commutative property and the reflexive property of equality. That raises the question, is there…
user107952
  • 20,508
4
votes
1 answer

Is "$1$ can be irrational." true?

The statement $1$ can be irrational. means that $1$ is either rational, or irrational. So that statement should be true. The negation of that statement is $1$ cannot be irrational. But that should also be true, because $1$ is a natural number,…
BIRA
  • 209
4
votes
1 answer

Understand a derivation

I am learning formal logic through the book An Exposition of Symbolic Logic; in chapter 1, section 10, I am asked to derivate the following argument: (P→Q) → S S → T ~T → Q ∴ T I couldn't work out the solution, so I saw the answer the book…
user784856
4
votes
3 answers

Question about a basic logic problem

The following problem is presented in "How to prove it": $\neg(P\land \neg S )$ Where P stands for "I will buy the pants" and S for, "I will buy the shirt". Here is how I would tackle this: I first look at the statement in parantheses, which just…
Alex
  • 125
4
votes
2 answers

Is there a sentence in the language of $\mathrm{PA}$ asserting that $\mathrm{PA}$ is sound?

We often write $\mathrm{Con}(\mathrm{PA})$ for the sentence (in the language of $\mathrm{PA}$) asserting that $\mathrm{PA}$ is consistent. Is there a sentence $\mathrm{Sou}(\mathrm{PA})$ (in the language of $\mathrm{PA}$) asserting that…
goblin GONE
  • 67,744
4
votes
1 answer

The Hilbert-Ackermann Consistency Theorem

I read in another question about the Hilbert-Ackermann Consistency Theorem: Hilbert-Ackermann: An open theory $T$ is inconsistent iff there is a quasi-tautology which is a disjunction of negations of instances of nonlogical axioms of $T$. In the…
Jori
  • 1,698
4
votes
2 answers

Applying DeMorgan's Law

I've been working through the book First Course in Mathematical Logic by Patrick Suppes and Shirley Hill. I'm trying to determine if I'm misunderstanding DeMorgan's law, or there is simply a typo in the book's examples. My understanding is that the…