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

Logical translation for 'at most' using FOL

Only using existential and universal quantifiers, I am trying to translate the following sentence: "At most b and c are large cubes." Please express the properties 'large' and 'cube' using the following atomic predicates Large(a) and Cube(a). Any…
2
votes
1 answer

The precedence of logical operators

I found some inconsistent descriptions: http://intrologic.stanford.edu/glossary/operator_precedence.html $p\Rightarrow q \Leftrightarrow r$ is equivalent to $p\Rightarrow (q\Leftrightarrow r)$ while according…
2
votes
1 answer

A formula which represents but does not functionally represent $f$

We say that a formula $\phi$ with free variables $v_1,\ldots,v_n$ represents the $n$-ary relation $R\subset\mathbb{N}^n$ in the axiom system $A_E$ (this contains axioms for addition, multiplication, ordering, and the first two Peano axioms) if for…
Anonymous
  • 2,630
  • 8
  • 27
2
votes
1 answer

impossible to prove something

(Edited by comments) Let sentence P and Q are under this situation: , in logic of ZFC theory Pvbl( P(X) ) → { if Pvbl(Q) then X(X) } Q≡ ¬pvlb( P(P) ) using fixed point theorem, let's make it more clearly. Pvbl( P ) → { if Pvbl(Q) then P…
2
votes
1 answer

How to write this statement symbolically?

Let's say that I have to write this statement : $\tan(-x)$ is equal to $(-\tan x)$ which is not equal to $\tan x$ How do I write this symbolically in one statement? What about : $\Big (\tan (-x)=(-\tan x) \Big ) \neq \tan x$ ? Thanks
2
votes
1 answer

Can the non-theorems of arithmetic be effectively listed?

Consider the set of all first-order sentences over the signature $(0,S)$. Each of these is either true with respect to standard model of arithmetic $(\mathbb{N},0,S)$, or it false. The set of all such true sentences cannot be listed by an effective…
goblin GONE
  • 67,744
2
votes
1 answer

Which path $A$ or $B$? (Gateway to Heaven Puzzle)

How can I solve this question mathematically? There are two paths $A$ and $B$, in each path there is a person, one of them is a liar and the other is a truth teller. I want to know the right path, so what is the question that I should ask only one…
mohamez
  • 1,521
2
votes
0 answers

About studying logic and set theory (while doing undergraduate mathematics)

I'm currently studying abstract algebra and topology. And I want to prove theorems and exercises more precisely in terms of logic. So I'm studying logic and set theory with [Introduction to Mathematical Logic: Elliott Mendelson] but it's cumbersome…
2
votes
2 answers

Logical Entailment

Definition: "A set of sentences $\Delta$ logically entails a sentence $\varphi$ (written $\Delta \vDash \varphi$) if and only if every truth assignment that satisfies $\Delta$ also satisfies $\varphi$." Question 1: If there is no truth assignment…
2
votes
1 answer

Conditional logical connectives, $P\to Q$

For $P \rightarrow Q$, the truth table looks like this: True P, true Q: true True P, false Q: false False P, true Q: true False P, false Q: true Since this is the first time for me to study this, I'm trying to understand it using a concrete…
2
votes
1 answer

First Order Logic: Formula for $y$ is the sum of non-negative powers of $2$

As the title states, is it possible to write down a first order formula that states that $y$ can be written as the sum of non-negative powers of $2$. I have been trying for the past hour or two to get a formula that does so (if it is possible), but…
2
votes
2 answers

Is $ [(A \Rightarrow C) \land (B \Rightarrow C)] \Leftrightarrow [(A \lor B) \Rightarrow C]$ true?

Is it true that the two statements are equivalent: $A$ implies $C$ and B implies $C$, $(A \Rightarrow C) \wedge (B \Rightarrow C)$; $A$ or $B$, implies $C$, $(A \lor B) \Rightarrow C$; where $A$, $B$, and $C$ are statements? My attempt of a…
2
votes
1 answer

Logic Operator for Maybe

I have an expression that includes a variable that might and might not be present. So I would like to denote that variable with something that logically expressess maybe I was unable to find one. Is there other creative way to express maybe using…
2
votes
6 answers

Why vacuously true and not vacuously false?

Let a room is empty. Consider a statement. Modified [4:04 PM, 26 March 20] Every mobile phone in this room is working. : This is called vacuously true because there is no mobile phone in the room. Let I say that this statement is vacuously false, If…
2
votes
1 answer

What is a natural deduction proof system, formally?

I asked a similar question a while ago, but I didn't get a good response. A Hilbert-style proof is a non-empty sequence of statements, all of which are either axioms, or follows from previous steps by inference rules. Note that a sequence can be…
user107952
  • 20,508