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

Some questions regarding Smullyan's proof of Compactness Theorem for propositional logic

According to Jeremy Avigad's description of Gödel's original argument (http://www.andrew.cmu.edu/user/avigad/Papers/goedel.pdf) the second step in the proof establish the following result : If a set $S$ of propositional formulas is not refutable,…
6
votes
3 answers

Undecidability and completeness

friends! I read in Nolt-Rohatyn-Varzi's Outline of Logic that predicate logic is undecidable because it lacks an algorithmic procedure which reliably detects invalidity in every case. Now I also know, from the same book, that the refutation tree…
6
votes
1 answer

Order of derivation

Let us consider the following 3 propositions 1) ($n$ is good) $\iff (x=y)$ 2) ($n$ is good) $\iff (x=z)$ 3) ($n$ is good) $\iff (x=y=z)$ It is clear that from 1,2 we can obtain 3. My doubt is whether is it possible to…
hanugm
  • 2,353
  • 1
  • 13
  • 34
6
votes
1 answer

The quantifier "most"

It is well known that the quantifier "most", understood as "more than half the ps" is not first-order definable. This is one of the results Barwise and Cooper (1981: p122-3), in "Formal Semantics: the essential readings" by Portner and Partee)…
Edward
  • 69
  • 1
6
votes
3 answers

Undecidable conjectures

Suppose we work with a conjecture saying that something is true for any natural $n$. For each $n$ there exists an algorithm of finite length allowing one to decide whether it is true or false for this $n$, and suppose that we even have an explicit…
frog
  • 204
6
votes
1 answer

Elementary definable

I'm having trouble with the following exercise from the book Mathematical Logic by H.D. Ebbinghaus, J. Flum, and W. Thomas. Show: (a) The relation $<$ ("less-than") is elementarily definable in $(\mathbb{R},+,\cdot ,0)$, i.e, there is a formula…
a06e
  • 6,665
6
votes
3 answers

Are truth tables valid for universal statements? Why or why not?

I'm reading the book on Discrete Mathematics by Kevin Ferland. In Section 1.5, he says truth tables are not an option for statements involving universal quantifiers. It seems to me that a statement such as "$\forall\ x \in \mathcal{U}, p(x)$" is…
gnat79
  • 61
6
votes
1 answer

How can I prove that this set is not arithmetic?

Let $\Sigma = \left\{ 0,1,+,\times , < \right\}$ be a signature, where the last 3 symbols have arity 2 and all except the last symbol are functions symbols. How can I prove that the set $X=\left\{ \ulcorner A \urcorner \ : \mathbb{N} \vDash A…
temo
  • 5,237
6
votes
1 answer

Write the negation of the conditional statement. Is this fine?

If it is orange then it is not a banana my statement would be If it is not orange, then it is a banana am I right ?
MethodManX
  • 1,127
6
votes
1 answer

What is actually a statement and what is truth?

I feel like I am missing basic understanding of Mathematical logic. For instance, consider the statement If Ram is a man then Ram has beard. Firstly, can I attach a truth value to the above sentence? Or is it that, the truth values can be…
Yathi
  • 1,854
6
votes
1 answer

Can ∃ be defined using ∀?

On this page explaining godel numbers (https://plato.stanford.edu/entries/goedel-incompleteness/sup1.html) it says "for simplicity, let us assume that ¬,→ and ∀ are the only primitive logical symbols, and that ∧,∨,↔ and ∃ are defined with the help…
6
votes
2 answers

Can we define definitions as axioms in logic?

In a proof or deduction system, there are some axioms and some inference rules. To have a small proof system, axioms are defined for the primitives (for example for negation and implication in propositional logic). Now, we want to have a proof…
6
votes
1 answer

Partial consistency of Peano Arithmetic

Let $p(n)$ be the sentence $\neg Prf_{\text{PA}}(\underline n,\lceil 0=1\rceil)$, which means that the sentence $0=1$ can't be proved in Peano arithmetic with length $\leq n$. Assuming $\text{Con}(\text{PA})$, $p(n)$ can be proved in $\text{PRA}$…
user779130
  • 148
  • 6
6
votes
1 answer

generate all possible theories compatible with axioms

I am currently trying to learn about the fundations of mathematical logic, and the incompleteness theorem. I was curious to know if there's a way, given some given axioms, to analyze all the possible theories that are compatible with them. By…
6
votes
3 answers

How is this argument deductively invalid?

I am reading the book An Introduction to Formal Logic by Peter Smith. I was checking the following argument (Exercise-1 Question no-15) : Miracles cannot happen. Why? Because, by definition, a miracle is an event incompatible with the laws of…
Navneet
  • 519
  • 2
  • 11