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

How to write a first order formula with unspecific parameter

Excuse me for the awkward wording. I'm new to logic. What I really mean is this: Consider the number theory that spawns from the structure $N=\{\mathbb{N},+,\cdot\}$ (equipped with the usual interpretation) using first order logic. I understand that…
Eric
  • 1,909
2
votes
1 answer

Natural deduction proofs without a premise?

How do I prove a formula without a premise? The question looks like this ⊢ (P→Q) I have started by making the assumption NOT(P→Q) to get a contradiction, and have no idea where to go from here. If anyone could offer me some guidance, or even direct…
2
votes
1 answer

In logic, is distributivity part of semantics or syntax?

For an example, consider the statement $A \land (B \lor C)$. The proposition $A$ distributes over $(B \lor C)$, so the statement is logically equivalent to $(A \land B) \lor (A \land C)$ Wikipedia claims that distributivity isn't a characteristic…
Hal
  • 3,406
2
votes
1 answer

Representable functions - Enderton

I'm working my way through H. Enderton's A Mathematical Introduction to Logic, and I'm trying to do as many problems as possible. I'm currently confused with exercise 10, page 224, chapter 3.3: Assume that $R$ is a representable relation and that…
Demosthene
  • 5,420
2
votes
2 answers

Provability Check

I have heard of (still not learnt) Gödel's incompleteness theorem which says that there are some statements unprovable. Now suppose we suspect that there is some rule. And the rule remains unproven despite several decades', or several centuries'…
2
votes
1 answer

Finite Field with no Order

Question: Let F be a field, that is, a set with operations $+$ and $\cdot$ which satisfy the axioms of the definition of an "ordered field". Prove that if $F$ is finite (i.e. has only finitely many elements), then there does not exist an…
2
votes
1 answer

Showing $((A→B)→A)→A$ and $A,B ⊢ ¬(A→¬B)$ using Deduction Theorm, etc.

Using the Deduction Theorem and the principles of Ex Falso, Reductio ad Absurdum, and Indirect Proof, I am to show that: (a) $$((A→B)→A)→A$$ and (b) $$A,B ⊢ ¬(A→¬B)$$ I know how to forumlate the principles mentioned and I also intuitively see…
2
votes
0 answers

What is a formula in a model

Let $M$ be a transitive infinite countable ZFC model. If I understand correctly, all elements of $M$ are sets. For example: $0=\emptyset$, $1 = \{ 0 \} = \{ \emptyset \}$, $2 = \{ 0,1 \} = \{ \emptyset,\{ \emptyset \} \}$, $3 = \{ \emptyset, \{…
user135172
  • 1,053
2
votes
1 answer

How To Find Unique Numbers from 3 Numbers

If I have 3 numbers, how can I find one number that is unique to that combination. E.g. (4, 3, 5) has a unique number that is not the same as (5, 3, 4). I tried adding a number to each component (like 1 to x, 2, y, and 3 to z and then multiplying…
2
votes
1 answer

I can't identify the quantifier

For a simple question like Let $x, y \in Z$. If $3 | x$ or $3 | y$ then $3 | x y$. Is it alright to assume all $x$ and all $y$ exist in $Z$? I am trying to negate the statement but since it does not say 'each' explicitly, I am not sure.
Navy Seal
  • 187
2
votes
2 answers

Proof through contradiction

My textbook says: To prove $A\Rightarrow B$ we have to lead $A \wedge \neg B$ to a contradiction. Does it imply, that $B\Rightarrow A$ would also be true? As far as I know $\wedge$ is commutative.
Arthur
  • 1,557
2
votes
2 answers

logic, p implies q logical equivalence question

From my understanding these two statements are logically equivalent p → q ≡∼p ∨ q (can someone 'explainlikei'mfive' why that makes sense) When I come across this, (∀a)(∀b)(∃c)[a < b → a < c < b] is it the same as (∀a)(∀b)(∃c)[a ≥ b ∨ (a < c <…
2
votes
2 answers

Knights and Knaves, both accuse each other of being Knaves.

I'm having a bit of an issue with figuring this one out. I ended up saying one has to be a knave, but I feel like it doesn't have a concrete solution, from the contradiction. Knights always tell the truth, and knaves always lie. E says: F is a…
ZeroPhase
  • 229
2
votes
1 answer

Intuitionism and rejection of standard logic postulates

Intuitionism refuses the Cantor hypothesis about continuum as a hypothesis meainingless from the intuitionistic point of view Also, 'the tertium non datur' principle: $$A\vee\neg{A}$$ is rejected 'a priori' in the sense that we can only prove the…
2
votes
1 answer

"Well-defined" ordering on the set of equivalence classes

I'm trying to work my way through Herbert Enderton's A Mathematical Introduction to Logic, and I'm currently stuck on the following exercise (3.2.3, to be precise): Let $\mathfrak{A}$ be a model of $\text{Th }\mathfrak{N}_L$. For $a$ and $b$ in…
Demosthene
  • 5,420