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

A question of Logic in Olympiad

A question has appeared in our Informatics Olympiad which there is a lot of discussion over it. the problem states: Below are 5 statements. At most how many of them can be true together? a) if b is true then this statement is false. b) if number of…
Goodarz Mehr
  • 2,309
3
votes
1 answer

Does exist any "graph oriented" database for mathematical definitions?

Let Def[ termP | termA, termB, ... ] be a statement defining the mathematical term "termP" by means of those "termA" , "termB" , ... As example: Def[ magma | set, binary operation ] Def[ semigroup | magma, associative binary operation ] Def[ monoid…
moonray
  • 31
3
votes
2 answers

When is $\neg(x\le 21\iff x>15)$ true?

Let $x\in\mathbb{R}$. I want to find for which $x$ the statement $$ \neg(x\le 21\iff x>15) $$ holds. I believe it is true when $x\in(-\infty,15)\cup[21,\infty)$, but I don't know how to write this down, as I feel that there is nothing to write…
jacob
  • 31
3
votes
1 answer

Boolean Algebra: Converting $xy'z + wxy'z' + wxy + w'x'y'z' + w'x'yz' = w'x'z' + xy'z + wx$

Notation w,x,y,z are all just primary statements "+" is the OR logical operator what looks like two or more statements being multiplied is actually the AND operator The complement or prime notation indicates the statement has been negated "="…
Dunka
  • 2,787
  • 12
  • 41
  • 69
3
votes
1 answer

Please help me to understand domain of interpretation

In the literature on Description Logic, when interpretations are explained, we encounter expressions like, $$\mathcal{I} = (\Delta^\mathcal{I}, \cdot^\mathcal{I})$$ (Actually, I am talking about, The Description Logic Handbook:…
Masroor
  • 1,811
3
votes
2 answers

How to determine statement truth values without using a truth table?

I'm currently working on some tautology questions as a brush up for a discrete mathematics course and I'm having a bit of trouble remembering tautology. Precisely, how do I prove certain statements are tautologies, without using truth tables? I've…
3
votes
1 answer

$A\cong B$ then $Th(A)=Th(B)$

question: $A\cong B$ then $Th(A)=Th(B)$ answer: $\phi \in Th(A)$ then $A\vDash \phi$ and $A\cong B$ so we have $B\vDash \phi$ then $\phi \in Th(B)$ and $Th(A)\subseteq Th(B)$ and we could prove $Th(B)\subseteq Th(A)$ and so $Th(A)=Th(B)$. is…
zahra
  • 61
3
votes
2 answers

Super Simple question on Logic and Modus Ponens

I am totally mixed up with these: using ONLY this three axioms and Modus Ponens:$$1. \ F \implies (G\implies F) \\ 2. \ (F \implies (G\implies H))\implies ((F \implies G)\implies (F \implies H)) \\ 3. \ (\neg G \implies \neg F)\implies ((\neg…
tmac_balla
  • 593
  • 4
  • 16
3
votes
1 answer

I'm trying to find the latex symbol for a logical notation... Analogy: the symbol is to "logical and" as $\Sigma$ is to summation

I'm trying to find the latex symbol for a logical notation... Analogy: the symbol is to "logical and" as $\Sigma$ is to summation. For example if I want to "logical and" over sentences with varying indices, what is the notation for this? For example…
Bobby Lee
  • 1,030
3
votes
1 answer

How to negate $\forall A. \exists a,b. a \neq b \land a,b \in P(A)$?

$$ \forall A. \exists a,b. a \neq b \land a,b \in P(A) $$ My intuition tells me it is false, because given $A=\emptyset$, then $P(\emptyset) = \{\emptyset\}$, so $a=b=\emptyset$. I proceeded to proving it and negated it to: $$ \exists A. \forall…
3
votes
1 answer

Uniqueness of canonical conjunctive normal form

Could someone explain me why is there for each formula one and only one equivalent canonical conjunctive normal form? Like, I understood how to derive one by using the truth tables but I'm still asking myself how to prove this statement in a formal…
ZouZou
  • 137
3
votes
0 answers

Why is it not possible to combine set theory and category theory?

I know that there are attempts to do category theory in the framework of set theory, but I'm not asking that. I'm asking about the converse. I will explain my thought below. I think my thought makes sense, but it's probably because I don't know…
Rubertos
  • 12,491
2
votes
2 answers

How do I prove converse of these two claims?

Prove or disprove the claim, and prove or disprove the converse: Claim 1: ∀n ∈ ℕ, (Ǝk ∈ ℕ, n = 5k + 2) ⇒ (Ǝj ∈ ℕ, n^2 = 5j + 4) Claim 2: ∀m,n ∈ ℕ, (Ǝk ∈ ℕ, m = 7k + 3) ∧ (Ǝj ∈ ℕ, n = 7j + 4) ⇒ (Ǝi ∈ ℕ, mn = 7i + 5) I know how to prove claim 1…
yus_m
  • 93
2
votes
3 answers

If true for the general element, then true for all. What's this?

In mathematics often (always) one proves that a property is true for the general element of a set. From that, one can say that that property is true for all the elements of that set. Is that a principle of logic or set theory? What is it called?…
2
votes
1 answer

Existence of model implies consistency in Cohen's book

On page $13$ of his book Set Theory and the Continuum Hypothesis Paul Cohen writes: The point of these definitions is the following obvious fact: THEOREM $1$. ... If a set of statements $S$ has a model then it is consistent. Sadly, I'm unable to…