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

Proving by contrapositive: x and y are integers, and xy is even, then x is even or y is even

I need to prove the following by contrapositive: "$x$ and $y$ are integers, and $xy$ is even, then $x$ is even or $y$ is even" I'm sure this question isn't very hard to solve, however my understanding of contraposition is very weak. I have only…
2
votes
1 answer

The definition of negation

What is the definition of the negation of a statement? I know that if a statement is true then its negation is not true and also that either the statement is true or its negation is true but they cannot both be true. However, I do not see how this…
2
votes
1 answer

First-order logic - Does is exist a sentence that is satisfiable by any finite models?

Well, i try to found an example of sentence $\Psi$ which satisfiable by any finite models, but there exist some infinite model that doesn't satisfies it. We can choose any language we want, no restrictions. So far i only think about a sentence…
user2637293
  • 1,766
2
votes
3 answers

Predicate Logic Family Cousins

Consider the set of predicates $M(x)$, $F(x)$, $S(x, y)$, and $P(x, y, z)$ with meanings “is male”, “is female”, “are siblings”, and “are parents of”, respectively. Write a formula for predicate $C(x, y)$ which means $x$ and $y$ are cousins, that is…
2
votes
1 answer

Necessity and sufficiency in subjective view

For example, we have: A SSL module is needed for Apache to be secured A beautiful woman is needed to have a true love. In these two example, how can we determine exactly a condition is necessity and/or sufficiency? In the case of web server, an…
Amumu
  • 123
  • 4
2
votes
1 answer

Find X so that $(p \Longleftrightarrow ¬q) ∧ (r ⇒ X) ∧ (¬r ⇒ ¬X)$ is contradiction

I have to find X so that this $(p \Longleftrightarrow ¬q) ∧ (r ⇒ X) ∧ (¬r ⇒ ¬X)$ is a contradiction. Then I also have to find out whether or not I can find an X is a tautology. What's the most efficient way of solving this? I'm clueless as to how to…
peroxy
  • 499
2
votes
2 answers

Logic - Logically implies question

$\forall x(A(x) \rightarrow B(x))$ logically implies $\exists x(A(x) \land B(x))$ Is the above statement true or false? I have no clue on how to start figuring this out. Can someone help me please?
Torched90
  • 353
2
votes
1 answer

Propositional Logic Proof - Need help showing that every proper subset of my set is satisfiable.

Please help with the following proof: Let $S =$ {$A_1, (A_1\to A_2), (A_2 \to A_3), (A_3 \to A_4), (¬A_4)$}. Show that any proper subset of $S$ is satisfiable. Just looking at the set S, I can see that the statement is true. The only way I see…
Mark
  • 351
2
votes
1 answer

What is a principal formula??

I am studying structural proof theory by Sara Negri, but I am having a problem, I can't understand what a principal formula is ? When she wants to prove a lemma or a theorem, she divides it into two conditions $(1)$When the formula is principal…
fateme jl
  • 197
2
votes
1 answer

Is any language a formal language?

Definition of formal language in wikipedia : formal language is a set of strings of symbols that may be constrained by rules that are specific to it. For example, let's take (meaningful) English words, symbols. Then, give the English grammar rule…
Rubertos
  • 12,491
2
votes
1 answer

Confusion between categoricity and indiscernability

From Wikipedia: Indiscernibles are objects which cannot be distinguished by any property or relation defined by a formula. Usually only first-order formulas are considered. Is this because second order systems are categorical and thus every…
2
votes
2 answers

All Vatican anarchists are honest and dishonest at the same time if there is no anarchists in Vatican! How to resolve this contradiction?

Lets suppose we want to investigate proposition "All Vatican anarchists are honest". We can transform this proposition into implication "If a citizen of Vatican is an anarchist then he/she is honest". If this implication is true for every citizen of…
2
votes
1 answer

Extension of theory

There are two languages $L_1=\{+\}$ with equation, where nonlogical symbol is binary function. There are formulas: $$φ≡∃n∀x(n+x=x)∧∃n∀x(x+n=x)$$ $$ψ≡∃n∀x(n+x=x∧x+n=x)$$ There are theories $T_1={φ}$, $T_2={ψ}$ under language $L_1$ Could somebody…
Levitan
  • 395
2
votes
1 answer

A conservative extension

There are two languages $L_1 = \{+\}$, $L_2 = \{\cdot\}$, $L_3 = \{+, \cdot\}$ with equation, where both nonlogical symbols are binary functions. There are formulas: $$\varphi \equiv \exists n \forall x (n+x = x) \wedge \exists n \forall x(x + n =…
Levitan
  • 395
2
votes
1 answer

How can you negate this sentence?

Suppose claim $P$ is "I know that I don't know you". My gut feeling says "I don't know that I don't know you". One set of lecture notes I have says I need to negate everything in the sentence in a nested fashion, which yields "I don't know that I…
user64066
  • 2,480