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

Show that $((\phi → \psi)→((\psi→\chi)→(\phi→\chi)))$ is a Theorem of L.

Show that $((\phi → \psi)→((\psi→\chi)→(\phi→\chi)))$ is a Theorem of L. I a previous part of the Q i am asked to state the deduction theorem so I assume i have to use this and the axioms A1, A2, A3, and also Modus Ponens to prove that the formula…
ZZS14
  • 819
1
vote
1 answer

Do all contradictory statements entail something self-referential?

"The house is all blue(B), and the house is all white(W)" Those statements are, ostensibly, not of the form p ⋀ ¬p. However, they do seem to entail p ⋀ ¬p. For example "The house is all blue" entails that the house is not any other colour, including…
Hal
  • 3,406
1
vote
1 answer

Prove $\vdash (\lnot B \rightarrow \lnot A) \rightarrow (( \lnot B \rightarrow A) \rightarrow B)$

Give a hilbert style proof $$ \vdash (\lnot B \rightarrow \lnot A) \rightarrow (( \lnot B \rightarrow A) \rightarrow B)$$ How could I prove it ? When I apply deduction theorem, do I take $ ((\lnot B \rightarrow \lnot A) \rightarrow ( \lnot B…
1
vote
6 answers

For formulas $\phi$, $\psi$ show (($\forall$$x_1$)($\phi$ -> $\psi$) ->(($\forall$$x_1$)$\phi$ -> ($\forall$$x_1$)$\psi$)) is logically valid.

What is the difference between saying ($\forall$$x_1$)($\phi$ -> $\psi$) and saying ($\forall$$x_1$)$\phi$ -> ($\forall$$x_1$)$\psi$ Thanks EDIT I am trying to prove that for formulas $\phi$ and $\psi$ the formula (($\forall$$x_1$)($\phi$ -> $\psi$)…
ZZS14
  • 819
1
vote
1 answer

Logic question problem

$$49\blacktriangle\to13$$ $$56\blacktriangle\to11$$ $$47\blacktriangle\blacktriangle\to\,\,?$$ Choices: A) 82, B) 54, C) 28, D) 16, E) 2 I tried some combinations but i just cannot understand it.What does a triangle stand for.
Dian
  • 13
1
vote
2 answers

A free variable $x$ in $\exists x x<(y\cdot y) \wedge\forall y \neg x\doteq (y+y)$

Is $x$ a free variable in $\exists x x<(y\cdot y) \wedge\forall y \neg x\doteq (y+y)$? I'm asking because you can read $\exists x x<(y\cdot y) \wedge\forall y \neg x\doteq (y+y)$ as: $(\exists x x<(y\cdot y) )\wedge (\forall y \neg x\doteq (y+y))$?…
1
vote
1 answer

big o statement prove or disprove (impossible)

This question is harder than it looks folks for all a in the reals and for all b in the reals, [(a <= b) => (n^a is O(n^b))] n^a is O(n^b) if n^a <= cn^b for some n>= n, (n less than or equal to n knot) then n^a/n^b <= c n^a-b <= c what would my c…
1
vote
1 answer

Simple Equation?

You saw a T-shirt of sh 97, since you don't have cash you borrow sh50 from your dad and sh50 from your Mom. Now you have sh100. You purchase a T-shirt for sh97 and left with sh3.00 change. You return sh1 to your dad and sh1 to your mom and keep the…
1
vote
1 answer

Induction and Implication

The axiom of induction in logical symbols is: $$ \forall P[[P(0) \land \forall k \in N (P(k) \implies P(k+1))] \implies \forall n \in N[P(n)]] $$ If $P(0)$ is true and $P(k)$ is false (therefore $P(k) \implies P(k+1)$ is true), does it mean $P(n)$…
1
vote
1 answer

What is the difference between well-defined and well-formed?

Well-defined and well-formed seem like pretty much the same concepts. I did read through the Wikipedia pages on both subjects. Can you elaborate on how they are different and provide examples (on a beginner level)? Thanks.
Emi Matro
  • 5,013
1
vote
8 answers

Prove if $n^3$ is odd, then $n^2 +1$ is even

I'm studying for finals and reviewing this question on my midterm. My question is stated above and I can't quite figure out the proof. On my midterm I used proof by contraposition by stating: If $n^2 +1$ is odd then $n^3$ is even. I let $n^2+1 =…
1
vote
1 answer

What is the best way to show that the conjunction of the following first-order formulas is satisfiable in structures with finite domains?

Formulas: $\forall x A(x,x)$ $\forall x,y,z ((A(x,y) \land A(y,z)) \rightarrow A(x,z))$ $\forall x,y((A(x,y) \lor A(y,x)) \rightarrow \exists y \forall x A(y,x))$ What is the best way to show that the conjunction of the above formulas is…
trojan
  • 79
1
vote
1 answer

Does interpretability imply decidability?

I've seen in a couple of places (here and here (top of p.26)) that if S is effectively interpretable in T and T is decidable, then S is decidable. We know that first-order logic in a signature with identity and at least one relation symbol is…
user104955
1
vote
2 answers

Can you quantify over an ordered set in first order logic?

If you are working in first-order logic, can you define a sequence $f_{n}$ of $n$-ary functions (i.e. the $n$th function takes in $n$ inputs), and then later say $(\exists n)(u = f_{n}(x_{1}, \cdots,x_{n}))$ I suspect that you can, but this also…
1
vote
1 answer

can Not logic move into this custom logic

(Observeration, Hypothesis) = (then,if) I want to use all logic with just a custom logic MP(A,B), simply notation as (A,B) and convert all basic logics into above definition A -> B = (B,A) --- implication (not (not A)) v B = (B,not A) -- Disj not…