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

Is EAO third figure valid in all cases?

EAO third figure has the form : M-P M-S S-P As an example : No men are roses All men are cabbages Some cabbages are not roses I'm new to logic and I'm wondering how above syllogism is valid. Suppose there are $2$ men, $500$ roses, and…
AgentS
  • 12,195
3
votes
2 answers

Wittgenstein and (x).fx

I'm currently reading Ludwig Wittgenstein's posthumous Remarks on the Foundations of Mathematics, and one example he keeps using is the logical inference of 'fa' from '(x).fx' What does this inference mean, or rather what does the notation '(x).fx'…
T-Wayne
  • 123
3
votes
2 answers

Example of PA model in which Prov(1=0) and 1 != 0?

$PA$ cannot prove $Prov(\phi) \to \phi$; and in particular $PA$ cannot prove "$Prov( 0 = 1 ) \to 0 = 1$". This can be viewed as a simple consequence of Lob's theorem; but we can also interpret it as "there are (non-standard) models of $PA$ in which…
Vor
  • 690
3
votes
1 answer

[Model Theory] Problem

I cannot figure out the solution to this exercise in Marker. Can someone help me? $(Z \oplus Z, +, 0) \not\equiv (Z, +, 0)$
Sumac
  • 769
3
votes
1 answer

Hidden logic self-reference?

Let $\phi$ be a ZFC formula and $\lceil \phi \rceil$ its syntactic representation. Suppose that ZFC proves that "if $\phi$ then there exists a string $x$ that represents a ZFC proof of $\lceil \neg \phi \rceil$ in some suitable proof system" ($x…
Vor
  • 690
3
votes
2 answers

Is $\vDash \exists x ( Q x \to \forall x Qx)$ a valid sentence?

Is $\vDash \exists x ( Q x \to \forall x Qx)$ a valid sentence? $Q$ is a unitary relation. I suppose that $\vDash Q x \to \forall x Qx$ , which is equivalent to $\vDash Q x \to \forall y Qy$ is invalid, since there is a structure $\mathfrak{A}$…
3
votes
1 answer

Semantic deduction theorem in first order logic for sentences

Definition: Sentence - a first order logic formula with no free variables. Semantic deduction theorem claims that in case $\alpha$ is a sentence, and $\Sigma$ is a formula's set. Then $\Sigma , \alpha \models \beta \Rightarrow \Sigma \models \alpha…
user5721565
  • 1,390
  • 11
  • 23
3
votes
1 answer

Logic in terms of 'gates' and 'circuits'

So, I think I have a reasonably good grasp of the mechanics of boolean algebra, truth tables, etc. But I start to get confused when I see boolean functions introduced in the context of 'gates' and 'circuits,' or we have a problem to the effect of…
user465188
3
votes
1 answer

How to prove correctness of CNF transformation?

Let $f$ be a propositional formula in negative normal form. It holds: Applying the rules $$A\lor(B\land C)\to(A\lor V)\land(A\lor C)$$ and $$(B\land C)\lor A\to(B\lor A)\land(C\lor A)$$ as many as possible leads to a CNF formula of $f$. How can…
3
votes
0 answers

How to study the Liar and the Truth Teller problem?

I'm trying to figure how to study the problem of the liar and the truth teller. Here's the logic puzzle : There are two guards and two doors. One door leads to freedom, and the other to death. One guard always lies, the other always tells the…
3
votes
1 answer

Is the validity of the Skolemization of a sentence A infers the validity of A?

I have a claim I need to prove or disprove. Let Sk(A) be the Skolemization of A (A is a sentence). If Sk(A) is valid then A is also valid. In other exercise I was asked if A is valid then Sk(A) is also valid, but I think I disproved it with a…
3
votes
1 answer

How to find a proposition p if we know all its consequences

Suppose that we know all proper implications of a certain unknown statement $p$, i.e., all propositions $q$ such that $p\Rightarrow q$ but not $q \Rightarrow p$. Is that information enough to recover $p$?
HeMan
  • 3,119
3
votes
1 answer

A case of theorem proving through resolution

I know I am making a mistake somewhere but consider the following truth table: p0 p1 p2 | ------------------- 0 0 0 | 1 0 0 1 | 0 0 1 0 | 0 0 1 1 | 1 1 0 0 | 1 1 0 1 | 1 1 1 0 …
3
votes
7 answers

$y>3$ implies $y\geq 3$, or does it?

$y\geq 3$, $y>3$ Implication and equality, is in the region of logic than mathematics. If we take something easy like Germany and the EU: Germany ⇒ EU Because Germany is in the EU but the EU might be the UK or Sweden. (narrow goes to broad) If…
3
votes
1 answer

Rosser sentence

Given a theory (say $T$) which satisfies the hypotheses of the Godel- Rosser theorem. How to show whether a Rosser sentence $R$ for $T$ is true for the standard interpretation ($\Bbb N$) or not?. (I know it is true but how we can prove this claim!)
user7863