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

Which line(s) of my proof of $A\to (\neg A \to B)$ are not allowed in relevance logic?

I am trying to understand relevance logic. Here I prove $A\to (\neg A \to B)$ (a form of the Principle of Explosion) using ordinary natural deduction. Which inference(s) here are not allowed in relevance logic and why? $A\space\space$…
2
votes
0 answers

Is equisatisfiability an equivalence relation?

I am trying to prove that equisatisfiability is an equivalence relation and I have to name the number of equivalence classes. I know I have to prove that it is reflexive, symmetric and transitive. This is what i have so far: (φ ≈ ψ) if φ is…
canon
  • 31
2
votes
2 answers

Recursive formulae in logic?

Given domain $A$ and variables $x,y,z$, we could define the following "recursive formula": $$\phi(x,y): \psi(x,y) \lor \exists z,[\phi(x,z)\land\phi (z,y)]\tag {*}$$ Where $\psi(x,y)$ is a first-order formula. Clearly, this formula is not logically…
user56834
  • 12,925
2
votes
1 answer

Validity of logical argument

Is this argument valid? The external manifestations of consciousness are a form of physical action. Consciousness cannot be simulated computationally. Therefore not all physical action can be simulated computationally. What I think, is that is…
Mario Vega
  • 45
  • 4
2
votes
2 answers

logic operations on proposals

In a proposal, assume $p$ is the condition and $q$ the conclusion, so the proposal is $p \to q$. Let $\neg$ be the negation on either condition or conclusion. what is the name for the operation from $p\to q$ to $\neg p\to\neg q$? And what is the…
Tim
  • 47,382
2
votes
2 answers

How to write exactly one of us is telling the truth? (Liars and truthtellers)

I have a question regarding a version of the truthtellers and liars puzzle which I haven't seen anywhere before. I'm stranded on an island and I know that this island has cannibals, but I don't know how to distingush between who are cannibals and…
2
votes
1 answer

Tautology Problem confusion

The Tautology Problem is to determine whether a given logical expression is equivalent to true. The book I am reading says that this problem is intractable, because when the number of variables in the expression is large, the method for solving the…
JRG
  • 123
2
votes
1 answer

Exercise 1.7.10 from Enderton's A Mathematical Introduction To Logic

Enderton writes in Section 1.7 that he is providing only an informal and intuitive definition of "effective procedure", and so I am questioning whether or not I have a decent understanding of what precisely he means in the following…
bryanj
  • 3,938
2
votes
1 answer

Need help simplifying Boolean expressions

I'm having trouble trying to simplify the following Boolean expressions and will appreciate it very much if anyone can point me in the right direction. Question 1: Show that $\lnot (\lnot a \lor b) \land (\lnot b \lor c) \equiv a \land \lnot b$ For…
2
votes
2 answers

Confused about logical statement simplification

We are trying to solve an assignment where we have to simplify a logical statement. Can anyone explain what is going on this step? $$(\neg P\lor \neg Q)\land (\neg P\lor Q) \equiv \neg P\lor(\neg Q\land Q)$$ How do we get from $(\neg P\lor \neg…
2
votes
1 answer

What is the difference between validity and satisfiability?

As the title says, What is the difference between validity and satisfiability? Suppose I have a sentence If the sun is made of blue cheese, then cats fly. How do I tell if its valid or satisfiable?
Helosy
  • 143
2
votes
0 answers

Testing for Logical Equivalence

Possible Duplicate: Quantifies, predicates, logical equivalence I'm not looking just for an answer per say, but am also wondering the thought process in solving problems such as the following: Hopefully this doesn't take up too much of someones…
2
votes
2 answers

Negation of expression

Suppose I want to 'negate' the following expression: $\exists m$ s.t. $\forall n > 0$, ... Would the negation be of the form: (a) $\not \exists m$ s.t. ... or (b) $\forall m \exists$ ... or (c) Does it depend on your definition of negation And if…
T. Fo
  • 652
2
votes
1 answer

Primitive recursion example

If we want to show primitive recursion for sgn(x) = 0 if x = 0 and 1 otherwise Is it enough to say that sgn(0) = 0 and sgn(x+1) = 1? Is there any details omitting here or anything needed to be polished? Also, to show that x monus y = (x-y) if x >=…
Buddy Holly
  • 1,189
2
votes
1 answer

Showing that $X=\{0,1\}\times \mathbb N$ and $Y=\mathbb N\times \{0,1\}$ have different order type

Consider the sets $X=\{0,1\}\times \mathbb N$ and $Y=\mathbb N\times \{0,1\}$ w.r.t. the dictionary order. So the elements in order are $$(0,1),(0,2),\dots,(1,1),(1,2),\dots$$ and those in $Y$ are $$(1,0),(1,1),(2,0),(2,1),\dots$$ How to show…
user557
  • 11,889