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

How do I prove the following statement?

How do I prove the following statement? If $x^2$ is irrational, then $x$ is irrational. The number $y = π^2$ is irrational. Therefore, the number $x = π$ is irrational
janny
  • 305
2
votes
1 answer

Proof of completeness, what is the point of this lemma?

The sources is this notes http://www.maths.manchester.ac.uk/~jeff/lecture-notes/MATH33001.pdf The thing is I'm confused about the proof of MON. We know that if $\Gamma | \theta$, then $\Gamma \cup \Delta | \theta$ So to prove it you need to say…
simplicity
  • 3,694
2
votes
3 answers

Logical implication

I'm stuck with a logic problem like this I eat ice cream if I am sad. I am not sad. Therefore I am not eating ice cream. Is this conclusion logical? The first sentence can be understood both like "ice cream $\implies$ sad" and vice versa. He…
Gummy
  • 31
2
votes
2 answers

Conditional proof/contradiction, long example problem

Here are the premises/conclusion, and where I've gotten so far. $1.$ $(W\wedge E)\rightarrow (P\vee L)$ (PR) $2.$ $(W\wedge \neg E)\wedge R))\rightarrow (P\vee D)$ (PR) $3.$ $((W\wedge \neg E)\wedge \neg R))\rightarrow (U\wedge \neg F)$ (PR) $-.$…
2
votes
2 answers

Negation of a statement

So I am trying to prove a proposition. It goes like this Let there be $\emptyset\neq X\subset\mathbb{R}$ which is bounded from above. The next two statements are equivalent about $s\in\mathbb{R} $ 1) i)$ x\leq s$ $\forall x\in X$ ii) If $x\leq…
2
votes
1 answer

Formula involving only $\neg$ and $\rightarrow$

I have to find a formula equivalent to $A \leftrightarrow B$ using just $\neg$ and $\rightarrow$ symbols. This is what I have tried, but from the truth table that I made, it seems not to be correct.. $(P \rightarrow Q) \land (Q \rightarrow…
user168764
2
votes
2 answers

Proof by Contradiction?

How does one construct the proof by contradiction? I know Direct Proof and Proof by Contrapositive really well but just can't understand proof by contradiction.
2
votes
1 answer

Conjunctive Normal Form

Is a statement of the form $\phi \vee \psi \vee \xi$ considered to be in its conjuntive normal form (CNF), given that $\phi \vee \psi$ is considered to be in CNF? Example: While converting $\phi \wedge \psi \rightarrow \xi$ to its CNF, we get…
2
votes
5 answers

Mathematical logic and contrapositives.

I have the following statement If $x^2=4$, then $x=2$ or $x=-2$ I have to write its corresponding contrapositive. I know that this should be stated as follows: If $x$ is not equal to $2$ and $-2$, then $x^2$ is not equal to $4$'. However, I…
mmm
  • 1,849
2
votes
1 answer

First-Order Logic: semantic entailment and disjunction

In First-Order Logic, we consider that $\Sigma$ is a set of well-formed formulas (wff), and $\alpha$, $\beta$ are such wff. I would like to prove/disprove the following two statements: If either $\Sigma\models\alpha$ or $\Sigma\models\beta$, then…
Demosthene
  • 5,420
2
votes
3 answers

How to simplify this logical expression

Full Disclaimer, this is a homework problem. Negate the following logical expression and transform it so that negations only appear before individual predicates: ∀x∃y∀z, P(x) ∧ ¬Q(x) → R(x) ∨ (R(y) ∧ ¬Q(z)) I'm not sure how to start with this…
2
votes
2 answers

True and False.... Can there be other possibilities?

In the natural logic system we're using, every logical statement is either true($T$) or false($F$), so there are only two possible states. Can there be other possibilities? I mean, for example, can we form a sufficiently interesting logical system…
Henry
  • 3,125
2
votes
1 answer

What is the meaning of "true"?

As I study logic, I became more confused of the meaning of "true". Let's say $A_1, A_2, \dots, A_{n_a}$ are finite number of axioms, and $R_1, R_2, \dots, R_{n_r}$ are finite number of rules. Is a statement $S$ said to be true if and only if it is…
Henry
  • 3,125
2
votes
1 answer

Proof by Contrapostive: Any simple examples in First-Order Logic?

Does anyone have some simple examples of theorems in FOL that are most easily proven using proof by contrapostive? Every example that I have found so far involves aspects number theory. Any help would be appreciated. Dan
2
votes
3 answers

How does proof by contradiction work in an axiomatic system?

In terms of mathematical logic, how does proof by contradiction (or reductio ad absurdum) work in an axiomatic system? Is it a part of axioms for propositional logic? or can it be deduced from other axioms?
Henry
  • 3,125