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

A system of 57 statements which are contradictory

Sorry if I'm being a bit vague. Feel free to ask if you need more info: I have 57 statements about a number m. These statements are obviously contradictory - for example, statement 7 and 35 are not compatible, as well as statements 6, 14 and 22…
4
votes
1 answer

Different definitions of consequence relations' cut property

Let $\bf L$ be a set, e.g. the set of all formulas in a particular language. A consequence relation on $\bf L$ is a relation $\vdash_{\bf L}$ between $\mathcal{P}({\bf L})$ (the powerset of $\bf L$) and $\bf L$ that satisfies Reflexivity (R),…
liwoxa
  • 307
4
votes
1 answer

Is there any three valued logic with this truth tables?

T AND T = T T AND U = T T AND F = F F AND T = F F AND U = F F AND F = F U AND T = T U AND U = U U AND F = F T OR T = T T OR U = T T OR F = T F OR T = T F OR U = F F OR F = F U OR T = T U OR U = U U OR F = F NOT T = F NOT U = U NOT F = T T =>…
Eduard
  • 304
4
votes
3 answers

In mathematics, distinguishing material implication ('$\to$') from logical implication ('$\Rightarrow$')

Can anyone exhibit a mathematical sentence in which a conditional (not necessarily the main connective) has to be STRICTLY understood as a MATERIAL one, and would become false if the material conditional was understood as logical implication…
user655689
4
votes
2 answers

Does $\exists x$ distributes over conjunction when one of the sentences is an invariance?

I know $\exists x(P(x) \land Q(x))$ isn't the same as $\exists x P(x) \land \exists x Q(x)$. This is because the first sentence means that the same object makes P(x) and Q(x) true, and the second sentence allows for different elements to make P(x)…
nib
  • 43
4
votes
2 answers

Why are constants considered $0$-arity functions in logic?

I always come across this idea. It seems that constants can be considered nullary/$0$-arity functions. What is the intuition behind that?
4
votes
4 answers

Complicated Logic Proof involving Tautology and Law of Excluded Middle

I'm having great difficulty solving the following problem, and even figuring out where to start with the proof. $$ \neg A\lor\neg(\neg B\land(\neg A\lor B)) $$ Please see the following examples of how to do proofs, I would appreciate it if you could…
4
votes
1 answer

Why is "If $Γ ⊨ ¬ψ$, then $Γ ⊭ ψ$" false?

Why is "If $Γ ⊨ ¬ψ$, then $Γ ⊭ ψ$" false? I believed that this is true and Stanford doesn't agree. So I worked at the problem again and here is what I got. I wanted to check my reasoning: Suppose $Γ ⊨ ¬ψ$ is true. Then for any truth value assignment…
4
votes
0 answers

"Linked-list"/"linear" proof trees in Hilbert style systems

Is it possible to prove statements in a Hilbert-style calculus in a semi-decidable way (only guaranteed to terminate if a proof exists) by only searching for "linear" or "linked-list"-like proof trees, described below. A "linear" proof tree is one…
Greg Nisbet
  • 11,657
4
votes
1 answer

Finitary Proofs in Mathematical Logic

I have been reading the famous Joseph Schoenfield's text "Mathematical Logic" and this may sound naïve but I can't make sense of his comments about finitary proofs. Can someone please explain to me what a "finitary" proof is? To quote from…
4
votes
2 answers

What does it mean for metatheory to be some formal system

In logic I have encountered statements like PA cannot prove itself, PA cannot prove its consistency using PA as a metatheory, ZFC cannot prove its consistency using ZFC as a metatheory and so on. I have trouble understanding what does it mean for…
4
votes
1 answer

Understanding importance of Godel's incompleteness theorem

I have been reading Chapter 42 of Kleene's "Introduction to Metamathematics" where the following result is proven: (Rosser's form of Godel's theorem) If the number-theoretic formal system is simply consistent then there is a formula $A$ such that…
4
votes
2 answers

Is it always possible to characterize the inverse of $f(X)$ if both $f$ and $X$ are characterizable?

This is a followup to this question. I am trying to formalize an intuitive notion/question: Is it always possible to write down necessary and sufficient conditions (i.e. formulas) for a property $P$? Let $\mathcal {Y,X}$ be two arbitrary sets, and…
user56834
  • 12,925
4
votes
1 answer

Prove that the monotonic connectives and self dual connectives are not functionally complete

A set of logical connectives is functionally complete if and only if it is not a subset of any of these sets of connectives: The monotonic connectives, The affine connectives, The self-dual connectives, The truth-preserving connectives, The falsity…
macco
  • 351
  • 1
  • 11
4
votes
2 answers

∀A(A ∈F → x ∈ A) versus ∀A(A ∈F∧x ∈ A)

This question arose while reading Velleman's How to Prove It in section 2.3. For context, the definition of ∩F is { x |∀A ∈F(x ∈ A)}={ x |∀A(A ∈F → x ∈ A)} and ∪F is { x |∃A ∈F(x ∈ A)}={ x |∃A(A ∈F∧x ∈ A)}. F is a family of sets. The question,…