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

What is the difference between representability and definability?

I am confused about the difference between the representability of a set in a theory and the definability of a set in a theory. Part of any given introduction to the incompleteness theorems goes over the definition of a set being strongly/weakly…
29ax14
  • 51
5
votes
2 answers

Finding truth of logic statement

I'm attempting to evaluate the truth of the following statement: ∃a∀b((a < b) → (a^2 < b^2)), where a and b are real numbers. I have tested multiple values (whole numbers and fractions) and have come to the conclusion that the statement is true.…
Huss
  • 303
  • 1
  • 6
5
votes
1 answer

Anyone encounter these Logic symbols?

These diagrams are equivalent representations of the 2-ary boolean functions. What are the symbols used in the top left diagram? (Source: wikicommons user mate2code)
QuietThud
  • 193
5
votes
0 answers

Why the names NK, NJ, IQC etc.?

I'm a lay mathematician adding a spoonful of logic in my math diet but I'm having trouble cracking the naming conventions. In particular it is difficult to search on line for more information with such compact sometimes cryptic naming conventions…
Algeboy
  • 747
5
votes
1 answer

Naming objects when existence and uniqueness was proven

Let's take ZF and let $e(X)$ be the sentence $\forall Y. Y \notin X$. From the axioms, we can prove $\exists X. e(X)$ and $\forall X, Y. e(X) \wedge e(Y) \implies X=Y$. So far so good. Now, we assign a meaning to $\emptyset$: it is the only $X$ that…
sdcvvc
  • 10,528
5
votes
4 answers

How to verify if three numbers are equal using logical operators (with a restriction!)?

Please read below, as there is an important restriction to this question. Think of a number as an array of 0's and 1's. The logical operators I want to use are the usual: AND, OR, XOR, NAND, NOT (negation or "!"). To check if TWO numbers a and b are…
wircho
  • 1,431
5
votes
1 answer

Questions about infinitary logic

Warning:I am not competent in the field of logic so my questions may be weird or incorrect. So I heard of infinitary logic. And as I understood it allows for statements of infinite length and proofs of infinite length but with some conditions. And…
5
votes
2 answers

Proving anything from inconsistency

I was reading @Noah Schweber's response to the following post and it got me wondering how do we actually prove $T \vdash \neg Consistent(T) \rightarrow Prv_T(0 = 1)$ where $T$ is as described in the asker's post (that is, a consistent axiomatizable…
Rex
  • 167
5
votes
1 answer

Logic statements

Mark with T or F all the below statements in such a way that they do not contradict with each other: At most $1$ statement is true At most $1$ statement is false At most $2$ statements are true At most $2$ statements are false At most $3$…
Nhung Huyen
  • 369
  • 2
  • 12
5
votes
3 answers

formalizing the theory of real numbers

Does anybody know what is the difference between the second order theory of the real numbers and the theory of the real numbers formalized in ZFC? Is any of them more expressive than the other? Since the real numbers can not be axiomatized in FOL we…
5
votes
0 answers

Similarity of induction axiom for natural numbers to completeness axiom for real numbers

If we present the axioms of the Real numbers in second order logic (SoL) then we need the completeness axiom to uniquely determine the structure. Otherwise, without the completeness axiom, we cannot conclude that all the models of this second order…
5
votes
1 answer

Do Hilbert axioms for Euclidean geometry uniquely characterize the model?

Preamble: My knowledge on mathematical logic is very limited but I think this question deals with some concepts in logic. Questions: It seems the Peano axioms and axioms for real numbers using Dedekind cut uniquely characterize the natural and real…
5
votes
2 answers

Relation between satisfaction relation and truth

This question is maybe too broad and probably incredibly trivial. I feel like there must be some resources which answer me on the web but for a long long time I couldn't really find an answer to my question and after asking it to chat, I decided to…
5
votes
1 answer

How do you represent the following sentences in first-order logic?

Represent the following sentences in first-order logic, using a consistent vocabulary(which you must define): a) Some students took French in spring 2001. b) Every student who takes French passes it. c) Only one student took Greek in spring 2001. d)…
Ghost
  • 759
5
votes
3 answers

Relation between Implication and Disjunction

I hope that someone help me with an intuition or a good explanation for why does Implication relate to Disjunction in Mathematical Logic. The specific property I'm asking about is : (P → Q) ↔ (¬P ∨ Q) Also, while I…