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

Show that given a partial order there exists a total order

STATEMENT: Suppose that $≺$ is a partial ordering of $\mathbb{N}$. Use the Compactness Theorem for first order logic to show that there is a total ordering $≺_∗$ of $\mathbb{N}$ such that for all n and m in $\mathbb{N}$,if $n≺m$ then $n≺_∗…
Enigma
  • 3,909
2
votes
1 answer

Craig's Interpolation Theorem in Propositional logic.

This is an exercise in Mendelson's Mathematical Logic. If $\mathscr{B} \implies \mathscr{D}$ is a tautology, and $\mathscr{B}$ and $\mathscr{D}$ have the statement letters $B_1, \dots, B_n$ in common, then there is a statement form $\mathscr{C}$…
2
votes
2 answers

Expressing boolean operators using logical operators

From my limited understanding of logical operators, it is possible to express the more complex logical operators such as $\operatorname{xnor}$ and $\operatorname{iff}$ as a combination of just a few basic logical operators ($\operatorname{and}$,…
2
votes
2 answers

$\vdash[(\forall x)P(x)]\rightarrow[(\exists x)P(x)]$

$$\vdash[(\forall x)P(x)]\rightarrow[(\exists x)P(x)]$$ answer:$$\neg P(x)\to\neg P(x)$$$$by QR$$ $$ \neg P(x)\to(\forall x)\neg P(x)$$$$by QR$$ $$(\exists x) \neg P(x)\to(\forall x)\neg P(x)$$ $$\neg((\exists x) \neg P(x))\to\neg((\forall x)\neg…
zahra
  • 61
2
votes
0 answers

A Proof by Induction about terms and variable assignments

I am (sort of) familiar with inductive proofs about wffs, but proofs by induction about terms took me by surprise. Prove by Induction that: if variable assignments q, q' agree on all variables in term t, then $$ \overline{q}(t) =…
2
votes
2 answers

$a>0$ and $a\geq 0$ - is this a contradiction?

I have a very, very elementar question. If the assumption is that $a>0$ and then in a proof it is shown that $a\geq 0$, is that a contradiction?
mathfemi
  • 2,631
2
votes
1 answer

Expressing an equal sized partition in second order logic

I would like to characterize the class of (finite) structures that can be partitioned into two disjoint sets $X,Y$ having the same cardinality, using second order logic (with usual logical connectives plus equality) : we can define an unary…
Vor
  • 690
1
vote
1 answer

Formulate a condition that function f(x,y) must hold in order to be considered as "associative".

Let $f(x,y)\colon\{0,1\}^2\to\{0,1\}$ be a Boolean function. Answer the following "warm-up" questions: Prove or dispute: The function $f$ can be one-to-one. Formulate a condition that function $f(x,y)$ must hold in order to be considered as…
1
vote
3 answers

On the statement $Q=A \text{ is provable}$

$\newcommand{\provable}{\text{ is provable}}$ Which of these are correct $A\leftrightarrow (A \provable)$, $A\leftarrow A\provable)$, if the latter, is there an example of such a deduction, i.e. we didn't derive A first, but we derived $Q=(A…
hello
  • 33
1
vote
3 answers

truth table equivalency

I am stuck on this question and attempting to answer it makes me feel that its equivalent to searching for a needle in a large pond... I need help with this, can someone explain how I even attempt to find the solution to this? Question: Find a…
Raynos
  • 1,623
1
vote
1 answer

How can I further simplify this $A$ + $\neg A B$?

I know there's a rule to simplify this formula $A$ + $\neg A B$, but I am not seeing it. Can someone tell me the name and how to do it?
user168764
1
vote
2 answers

How to prove the validity of this argument?

I have an assignment where I have to prove the validity of a statement, but I am not sure about what I am doing. This is the assignment: Is the statement $(A \wedge B \wedge C) \to D$ a valid argument? Justify your answer with a mathematical…
user168764
1
vote
1 answer

What is necessary to show that a theory $T$ is sound?

If I have some first-order language $L$ with just one relation symbol $\Re$, given an interpretation $\Im$ of the semantics $l$, how can I show that a theory $T$ with an axiom is sound? More concretely, how do I show that a given theory $T$ with an…
Samuel Reid
  • 5,072
1
vote
2 answers

Is it true that if not $\alpha \vDash D$ implies $\alpha \vDash \neg D$?

If it is not true that $\alpha \vDash D$, with $D$ arbitrary formula, is it true that $\alpha \vDash \neg D$? I think that this assertion is false, but I cannot find counterexamples. Thanks in advance for the help!
GGG
  • 1,765
1
vote
4 answers

Prove $\neg A \wedge \neg B$ using the following rules

S1: $A \leftrightarrow(B\vee E)$ S2: $E \rightarrow D$ S3: $C \wedge F \rightarrow \neg B$ S4: $E \rightarrow B$ S5: $B \rightarrow F$ S6: $B \rightarrow C$ I'm not quite sure how logical proofs like this work. If we have $\neg A \wedge \neg B$, do…