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
1 answer

What kind of logic is mine?

I'm completely unfamiliar with terminologies of mathematical logic and I have never taken any 'mathematical logic' class. The first time i started to study Mathematics (Set Theory), I memorized the 'Truth Table' shows truth or falsity values of…
Rubertos
  • 12,491
4
votes
1 answer

Why is residues modulo 2 a model for natural numbers

I am reading the book "Introduction to Metamathematics" by Kleene. I am now in Chapter 8 which is about "Systems of objects". I must warn you that this chapter is meant to be an introduction and, therefore, it is written in an intuitive language.…
4
votes
0 answers

Exam of Unknown Date

An old logic question goes something like this: A teacher tells her students on Monday that there will be a test this week, but they will not know on which day till the morning of. The students think about this and come to the conclusion that there…
4
votes
2 answers

How to state Curry's Paradox in propositional logic?

Can Curry's Paradox be stated in propositional logic as: $[A\iff [A\implies B]] \implies B$ This is a tautology. Note that: $[A\iff [A\implies B]] \equiv A\land B$
4
votes
1 answer

Does the principle of explosion depend on the rules of weakening?

The principle of explosion is this: $$ X \land \lnot X \rightarrow Y $$ And similarly, the rule of weakening/monotonicity of entailment is this: $$ (X \rightarrow Y) \rightarrow (X \land A \rightarrow Y) $$ If in a given logic, the rule of weakening…
Claudia
  • 215
4
votes
4 answers

What's the difference between 'If p then q' and 'p implies q'

I'm not sure I understood the difference between 'If $p$ then $q$' ,i.e. $p \to q $ and '$p$ implies $q$', i.e. $p \implies q $ in a right way. I thought that 'if $p$ then $q$' is that you assume the $p$ is true, which means doesn't need to be…
whwjddnjs
  • 663
4
votes
3 answers

What do polynomials solve for? Roots?

I had a question in which I’ve been hung up over on. I understand if we had a graph x-y plane and we drew points that intercept the $x$-axis at $2$ and $3$, we would write a quadratic equation that satisfies our condition as $(x+3)(x+2)$, or…
4
votes
3 answers

Expressing a first order logic sentence that requires counting

Given the set $ R(x,t)= \{ (a, 1), (b, 1), (c, 1), (a, 2), (b, 2) \}$. How can I express with a first-order logic sentence "if for $t$ the amount of tuples $(x, t)$ is equal to $d$, then for $t+1$ the amount of tuples $(x,t+1)$ is equal to $d$,…
codd
  • 195
  • 4
4
votes
2 answers

Paper cube from 13 squares?

Can someone describe the steps to make a paper cube from a sheet of cardbord with squares (3x5) - the second and forth squares from the second row are removed. The sheet looks like this (black boxes are cut):
4
votes
3 answers

Epistemic logic puzzle: Still don't know

Apologies if this is not appropriate for the site; I thought people might enjoy it. In the spirit of Cheryl's rational gifts, here is an epistemic logic puzzle that I used on the final exam in my logic class this semester. I'll post a solution…
JDH
  • 44,236
4
votes
2 answers

Example of decidable & undecidable in First Order Logic

What would be an example of decidable & undecidable in First Order Logic? Edit: With first order formulas
4
votes
2 answers

How do you make a universal quantifier a existential quantifier in a multiple-quantifier statement?

So I'm studying for a final- and one of the study questions is "Express (as simply as you can) each of the following sentences without the use of universal quantification:" a) (∀x)(∃y)(∀z)[P(x,y,z)] And I'm stuck- the textbook mentions nothing here.…
sPease
  • 43
4
votes
3 answers

Is maths inductive or deductive?

It is the first time for me to ask here. I recently read about logic and arguments. I read about inductive and deductive reasoning and found myself asking a question. Are mathematical theorems and facts proved by deductive or inductive reasoning? I…
4
votes
2 answers

is \iff the same as \equiv? When to use which?

Is there a difference between using $\iff$(\iff) and $\equiv$ (\equiv)? When should I use one or the other?
JoStack
  • 45
  • 3
4
votes
4 answers

Are P and Q assumed to be independent?

Suppose P and Q are each true. Classify the following statement as True or False (choose one): If (not P) then (not Q). I put False, the answer was TRUE I assumed that P and Q were independent events, as it was never mentioned that they had…