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
0 answers

What is the verb that describes the process of forming an interpretation?

"Formal Semantics", "The Semantics of Logic" and "Model-Theoretic Semantics" are names for the process of forming interpretations, but I am looking for a verb that describes what I am doing when I study a set of sentences and form an interpretation…
2
votes
1 answer

Merge in mathematical logic

I am studying mathematical logic and the study material is Introduction to Logic website. There is a section about using merge in linear resolution. It says: "A merge is a resolvent that inherits a literal from each parent such that this literal is…
JSong
  • 165
2
votes
1 answer

Inductive Proof of String Reversal

I am trying to inductively prove that for any string s, the reverse of the reverse of string s is string s.
user8605
2
votes
0 answers

Bounding constants in terms of functions

Problem statement: Assume there are two constants $\alpha, \beta \in \mathbb{R}$ and two functions $$f: A\times B \rightarrow \mathbb{R} \text{ and } g: A\times B \rightarrow \mathbb{R}$$ non-negative, continuous, and bounded, $A$ and $B$ non-empty,…
2
votes
1 answer

How do I prove by contradiction that Art's taller than Bob?

From: Philip Johnson-Laird BA PhD Psychology (UCL), Stuart Professor of Psychology Emeritus at Princeton. (Author isn't a logician.) How We Reason (1st edn 2008). p. 274. Experiments have therefore posed relational problems of this…
user53259
2
votes
2 answers

Can someone help me understand Curry's paradox?

I understand the general concept, that if you define a statement X such that X = X $\Rightarrow$ Y, you can prove that X is true regardless of Y so you can then prove any statement. What I don't quite understand is how one proves that X is true. I…
Aphyd
  • 808
2
votes
1 answer

Set of sentences of FO+LFP

The set of wffs of first-order logic is recursive. Taking that checking if a wff is a sentence is straightforward I take that the set of sentences of FO is also recursive. If we add FO the least fixed point operator, does the set of sentences stay…
user8523
2
votes
1 answer

Invalid syllogism passes Gensler's star test. Why?

According to Gensler (2017): An instance of a letter is distributed in a wff if it occurs just after “all” or anywhere after “no” or “not.” (p. 0008) He then defines the star test as follows: Star premise letters that are distributed and…
2
votes
1 answer

Adding constants to language (compactness theorem)

I'm having trouble understanding why we need to add constants to a language in order to prove something when using the compactness theorem, in particular this: Let L be a language with just a 2 place-symbol < for "less than". Show that there is no…
xzeo
  • 724
2
votes
1 answer

Designation of a term in a sequence in Second-order Logic

To First-order Logic, like in Hodges "A Shorter Model Theory", we can designate a $L$-term $t$ in a structure $\mathfrak{A}$ considering a sequence $\bar{a}$ of elements of the domain $A$ of $\mathfrak{A}$, by complexity on the terms: if $t$ is a…
2
votes
1 answer

Need help understanding inferring proposition is false from removing out of an inconsistent set

I have been reading Introduction to formal logic by Peter Smith. In his Exercise 2 he has a question and answer as follows These questions are either true or false. I cannot seem to wrap my head around this answer. Question) If a set of propositions…
2
votes
2 answers

Is the shortest formula which is provably equivalent to the Gödel sentence also the shortest undecidable formula?

Is the shortest formula which is provably equivalent to the Gödel sentence also the shortest undecidable formula? I know that even if one accepts the Gödel sentence as an axiom, then yet another undecidable formula can be constructed, but it will be…
Dan Brumleve
  • 17,796
2
votes
1 answer

CNF Rule hierarchy discovery

This is bothering me for some time. Consider that I have a set of CNF formulae: $F_1 = \left( A \lor B \lor C \right) \land \left( C \lor D \lor E \right) \land \left( B \lor F \lor G \right)$ $F_2 = \left( B \lor F \lor G \right)$ $F_3 = \left( A…
Salil
  • 121
2
votes
2 answers

Prove φ is a contradiction or ψ is a tautology if φ ⊨ ψ and φ and ψ have no sentence letters in common.

Show that if φ ⊨ ψ but φ and ψ have no sentence letters in common, then either φ is unsatisfiable or ψ is tautologous. Use the lemma: if $\cal{A}$(Ρ) = $\cal{B}$(P), for every sentence letter P in φ, then |φ|$\cal{A}$ = |φ|$\cal{B}$. I see that we…
2
votes
0 answers

What are the standard tests for determining the logical validity of syllogisms?

As an exercise, I would like to write a simple program which will take as inputs three propositions (AEIO) and output true or false based on if the resulting syllogism is valid or not. Obviously, I need a rigorous understanding of exactly when a…
Shadow43375
  • 161
  • 3