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

Set of logical statements with contradiction.

Let $\Sigma_1, \Sigma_2$ be two finite sets of statements in propositional calculus s.t $\Sigma_1\cup\Sigma_2$ has a contradiction. Prove that there is a statement A s.t $$\Sigma_1\vdash{A}\ and\ \Sigma_2\vdash{\neg{A}}$$ is it still true with…
dave
  • 705
  • 4
  • 16
1
vote
1 answer

$\mathbb{Q}$ field axioms & fund. thm. $\models \sigma$ iff $\mathbb{Z}_p$ field axioms & fund. thm. $\models \sigma$ for all large prime $p$

The above is a formal definition. What I need to prove is the following form: $$ T_{ACF_0} \models \sigma \mbox{ iff} T_{ACF_p} \models \sigma. $$ for all prime $p$ greater than some sufficiently large number. What kind of theorems should I…
le4m
  • 3,006
1
vote
1 answer

Logical connectives and truth functions.

Lets take a look on the following sets of logical connectives: $$K_{1}=\{\rightarrow,\equiv\},\ K_{2} = \{\vee, \wedge\} $$ For each logical connective $*\ $ in $\ K_{1}\cup K_{2}$, answer the following question: is there a statement, built only…
dave
  • 705
  • 4
  • 16
1
vote
1 answer

Is this proof that all positive formulae are satisfiable correct?

Here's my attempt to prove that all positive formulae are satisfiable (where positive formula is defined as a propositional formula that does not contain a negation, and the operators are "^" (and), "V" (or), "->" (implies), and "<->" (if and only…
1
vote
3 answers

Can you define a propositional variable as the negation of another variable?

Can you have p = not q? Is there a rule somewhere that says you can't have this? I'm asking this because there's a question that asks me to prove that all positive formulae are satisfiable. A positive formula is a propositional formula that…
1
vote
0 answers

Method for removing redundant values from truth table (homework)

For a boolean formule like a ⋁ b ⋁ c the truth table would look something like: a b c a ⋁ b ⋁ c 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 1 Now I am supposed to remove the…
Tim
  • 211
1
vote
1 answer

define id an expression is a well-formed expression of statement logic

I have to deteremine whether each of the following expressions is a well-formed expression of statement logic or not (a) (r ∧ ¬r) (b) q (c) ¬( p) ∨ (q <-> p) (d) ( p ∧ (q ∧ r) ∨ p) (e) ∧ → pq (f) ((r ∧ (q → p)) → r) So my answers (a) formula (b)…
1
vote
1 answer

Finding sentences for models

This is coming from a past paper (Ref: Oxford 2005, Paper B1 Foundations) Suppose we have $\mathcal{L}$ a first-order language with equality, with connectives $\neg, \rightarrow$, quantifier $\forall$ and whose only nonlogical symbol is $R$ some…
Mathmo
  • 4,883
1
vote
3 answers

Portia casket logic problem.

Two boxes, one is gold and the other silver. The sign on the gold box reads, "The portrait is not here." The sign on the silver one reads, "Exactly one of the two statements is true." Guess where the portrait is. What I want to see is how you reason…
1
vote
2 answers

Proof in logic that $P \Leftrightarrow Q$ is the same as $ (P \lor Q) \rightarrow (P \land Q)$

How is it possible to prove that $P \Leftrightarrow Q$ is the same as $ (P \lor Q) \rightarrow (P \land Q)$ using logic laws?
1
vote
3 answers

What is the exact definition of a reflexive relation?

Well... The three definitions I got for reflexive, symmetric, and transitive relations are: R is said to be reflexive on A if $\forall x\in A : xRx$. R is symmetric if $\forall x,y\in A : xRy \rightarrow yRx$. R is transitive if $\forall x,y,z\in A…
user18862
1
vote
2 answers

If $(P \lor Q) = (P \lor R)$ Can we conclude $Q = R$ ? What happens if we use AND instead of the operator OR?

So I am trying to solve this problem and not quite able to figure out the answer. So I'm not sure what two statements I could construct in my truth table to prove these true or false. I believe that $Q$ is not equal to $R$ because OR statements are…
Michael
  • 11
1
vote
2 answers

Is it possible to write this express with only nand and NOT?

Find an equivalent expression using only $ nand $ and $ \lnot $ as well as grouping parenthesis. You may use $ A $, $ B $ and the operators any number of times. (i) $ A \land B $ (ii) $ A \lor B $ (iii) $ A \Rightarrow B $ I was able to figure out…
user139175
1
vote
1 answer

Resolution refutation on coin flip: "Heads I win, Tails you lose"

This is my first real stab at Resolution refutation. I'm given: "Heads, I win. Tails, you lose. Prove I win" and I'm supposed to solve with resolution refutation. I add the following (The original problem states I can do this to make it solvable)…
1
vote
2 answers

Suppose $\phi$ is a formula of L. Give a proof in L of the formula $(\phi \rightarrow \phi)$ explaining each step of the proof.

Suppose $\phi$ is a formula of L. Give a proof in L of the formula $(\phi \rightarrow \phi)$ explaining each step of the proof. I have the axioms (A1) $(\phi \rightarrow ( \psi \rightarrow \phi))$ (A2) $((\phi \rightarrow (\psi \rightarrow \chi))…
ZZS14
  • 819