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
3
votes
2 answers

Valuation in propositional logic

Just started having a look at propositional logic and I'm confused about a statement in my notes. It defines a set $P = \{p_1, p_2, ... \}$ of primitive statements. It then defines a set $L$ of statements inductively from $P$, where $L_1 = P \cup \{…
pd456
  • 31
3
votes
1 answer

What is undefined in Mathematical Logic? A question that arises from negating a nested predicate.

Negate the following expression and indicate whether the negated statement is true. $$\forall x \in \mathbb{R}, \exists n \in \mathbb{Z}, x^n > 0 $$ Relevant equations De Morgan's Law for negating quantifiers. The attempt at a…
jwj11iv
  • 53
3
votes
1 answer

(First order predicate calculus) Show that the theory of the equality axioms isn’t complete

If I have a theory with the following axioms: $\forall x.(x=x)$ $\forall x\forall y.\left(x=y\rightarrow\left(\varphi\left(x,x\right)\rightarrow\varphi\left(x,y\right)\right)\right)$, where $\varphi$ is any atomic formula. And any model of these…
3
votes
3 answers

If "$p \mathrel{\&} q \Rightarrow r$" and "$r \Rightarrow q$" are true, is "$p \Rightarrow r$" also true?

Let $p, q, r$ be mathematical statements. Suppose we know: "$p \mathrel{\&} q \Rightarrow r$" is true; and "$r \Rightarrow q$" is true. Is "$p \Rightarrow r$" true?
Sunni
  • 4,536
3
votes
1 answer

Craig interpolants equivalent to given intermediate predicates

Let us consider a first-order predicate (or a propositional formula) K to be "intermediate" between A and B iff it is weaker than A and stronger than B (thus, A logically entails B). Does always exist a Craig interpolant I of A and B such that I is…
3
votes
3 answers

find formal proof

Got stuck while figuring out the formal proof for the following: $$\begin{array}{r} A\lor B\\ \neg B\lor C\\ \hline A\lor C \end{array}$$ The conclusion seems obvious. But finding a formal proof for it does not seem to be a trivial task for…
3
votes
2 answers

Derivation of Null Quantification in Logic?

I was reading page 10-8 of this: https://faculty.washington.edu/smcohen/120/Chapter10.pdf and I was wondering if the distributive qualities could be derived, e.g. $\forall x (P \lor Q(x)) \Leftrightarrow P \lor \forall x Q(x)$, and the equivalent…
user82004
3
votes
3 answers

Small confusion with first order language and interpretations

So I'm reading Hodel's Introduction to Mathematical Logic. Here's a passage: Let $L$ be a first order language. Then an interpretation $I$ of $L$ consists of: -Non-empty set $D$ called the domain of $I$; -For each constant symbol $c$ of $L$, an…
casey
  • 31
  • 2
3
votes
3 answers

If $A$ is false, is $\neg A$ true without invoking law of excluded middle?

Let's say that we know that $A$ is false. We disallow the use of law of excluded middle. Then is it true that $\neg A$ is true? Add: How would "false" be (usually) defined in intuitionisitc logic and classical logic? I think this can be a starting…
Materialist
  • 365
  • 3
  • 6
3
votes
1 answer

Help clarify truth of the statement: $n^2-n-2=0 \Leftarrow (n=2 \text{ and } n=-1)$

According to my textbook, the statement $n^2-n-2=0 \Leftarrow (n=2 \text{ and } n=-1)$ is true (full solution was not provided). I am not sure why the statement must be true. My reasoning is as follows: $$n^2-n-2=0 \Leftarrow (n=2 \text{ and }…
mauna
  • 3,540
3
votes
1 answer

Propositional calculus.

A, a proposition in Propositional calculus is called "Monotonic" if when there is an assigning M s.t $$M\models{A}$$ any other assigning $M'$ that similar to $M$ on the True values but may change False values to True maintains …
dave
  • 705
  • 4
  • 16
3
votes
2 answers

first order logic models

Let $\Gamma$ be the set of sentences containing the formula $\exists x(x\neq f^n(x)) $ for each $n>0$. I'm trying to get a feel for the models of $\Gamma$; in particular, is there a single sentence of FOL that true in exactly the models of…
3
votes
2 answers

Mathematical logic/metamathematics project

Next year in my 3rd year at uni I've got to do an individual project and I was thinking of doing it on the study of metamathematics or mathematical logic (I'm not sure quite what the difference is as I have no experience in this area). What got me…
3
votes
1 answer

Propositional logic statement = First order logic statement

I took a statement like "Caracas and Valencia are located in Venezuela" and expressed it as: LocatedIn (Caracas, Venezuela) ^ LocatedIn(Valencia, Venezuela) Is this a statement in propositional logic, first order logic or both? I'm inclined to say…
3
votes
2 answers

Would like to know which version of inductive formula is better

In a 4-valued logic with values 0, 1/2, 2/3 and 1, three connectives are defined: $V(\varphi \wedge \psi)$ = min $V((\varphi), V(\psi))$ $V(\varphi \vee \psi)$ = max $V((\varphi), V(\psi))$ $V(\diamond \varphi) = 1$ if $V(\varphi) \geq 2/3$, else…