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

semantic entailment, finding a proof

I was given the assignment to find a proof for the following $$A, A\rightarrow B, C\rightarrow\lnot B\models\lnot C$$ I understand that when all the hypothesizes of an argument are true, it semantically implies the conclusion. I know how to proof…
Oscar
  • 123
2
votes
2 answers

Implication $\implies$ and iff $\iff$ operators

Could you help me read (interpret) the truth tables of the two operators? For the implication operator, the truth table is: $$\begin{array}{c c | c} h& c& h \implies c \\ \hline T& T& T& \\ T& F& F& \\ F& T& T& \\ F& F& T& \\ \end{array}$$ Is…
Ziezi
  • 631
2
votes
3 answers

What is the type of "A implies B"?

There are many deductions with different flavor to show that is logical to think proposition $A \implies B$ is true when A is false. For example: In classical logic, why is (p⇒q) True if both p and q are False? In classical logic, why is (p⇒q)…
hasanghaforian
  • 465
  • 5
  • 16
2
votes
2 answers

Finding whether or not a counterexample exists

Does a counterexample exist for the following argument? If person A is not home, then person B is. But, if A is not home, then B isn’t. So, they are both home. Translated to logical notation: 1) $\neg A \to B$ 2) $\neg A \to \neg B$ 3) $\therefore…
JC1
  • 251
2
votes
2 answers

Equivalency of Two First-Order Formulae

I was reading a paper, and I encountered a definition of some concept. The definition was of the form: (+) $\ \qquad\qquad (\exists x) \phi(x) \quad \Rightarrow \quad (\exists y) \psi(y)$ where $\phi$ and $\psi$ are two formulae. I was wondering if…
Sadeq Dousti
  • 3,291
2
votes
3 answers

Contradiction of a statement?

My textbook has asked me to find the "contradiction" of a given statement but I have not learned to do such a thing and googling has not yielded in any results whatsoever. Exactly what is the contradiction of a statement and how to form it, given…
user361896
2
votes
0 answers

proving that number of brackets in proposition sentence is $2(K(A)-N(A))$ by induction over natural numbers

Let each member of $A$, $B$, ... $Z$ be a proposition sentence. If A and B are proposition sentences then $\neg$ A, (A$\land$B), (A$\lor$B), (A$\to$B) and (A$\iff$B) are proposition sentences. Also propositon symbols $p_0, p_1, p_2 \ldots$ are…
2
votes
3 answers

Negation of "either $x = 0$ or $y = 0$"

Why is the negation of "either $x = 0$ or $y = 0$" both $x \neq 0$ and $y \neq 0$? Or is inclusive here, I suppose?
Max
  • 1,275
2
votes
2 answers

How is the math term "such that" represented in pure AND/OR logic?

I know how the notation for "such that" looks like when talking about sets, but I don't understand how it's represented logically in terms of AND/OR and conditional IF statements. To clarify my question, how would one represent the logic of "such…
2
votes
3 answers

How can we use a false statement to disprove itself?

Suppose, we have statement A which satisfies: if A then -C, where -C is the negation of C. In addition, we have: if A and B, then C. Then, by using the truth table, I found that the combination of:if (if A then -C) and (if A and B, then C), then the…
Isaacadel
  • 151
2
votes
2 answers

Is NOT distributive in mathematical logic?

Consider the following proposition: If P, then Q AND R. Would the contrapositive therefore be If NOT(Q) AND NOT(R), then NOT(P)?
Marc
  • 33
2
votes
2 answers

Direct and indirect proof, syntactical and semantical

A first-order sentence is (logically) valid iff it's true in every interpretation. And it's valid iff it can be deduced from the FO axioms alone. One normal case of showing that a FO sentence is true is deducing it (syntactically). I guess that…
2
votes
0 answers

Can causal implication be formalised?

In this post I want to ask about the implication used in mathematical proofs. Well, as a far as I know, in our known logical model that is used in mathematics, implications are not causal, and thus statements like "moon revolves round the earth…
2
votes
1 answer

Unique normal form of formulae of predicate calculus?

Is there a unique normal form for each formula of predicate calculus? I am aware of prenex normal forms of predicate calculus and of disjunctive and conjunctive normal forms of propositional calculus. But what is the name of the combination of…
2
votes
1 answer

is there still interest in finitary/syntactic mathematical logic?

A lot of textbooks on mathematical logic now rely on set-theoretic tools (models and topology). do people still care about developing mathematical logic from finitary methods? is there still research in it? are there modern textbooks on this…
xwer345
  • 29