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

How is it that $0*0 = 0$?

I know that in school, we were always taught that $0*0 = 0$, because anything times zero is zero, but wouldn't it be true that you are saying you have zero quantity of zero, meaning you cannot end up with zero (because you just said you do not have…
4
votes
2 answers

Understanding of Tao's proof example which uses vacuous implications

So, in his analysis book in appendix for logic he gives a proof that if $n$ is a an integer, then $n(n+1)$ is an even integer.($Theorem A.2.4.$) Since $n$ is an integer, $n$ is even or odd. If $n$ is even, then... . If $n$ is odd, then... . Thus in…
famesyasd
  • 475
4
votes
4 answers

Prove that if $5$ divides $a^2$, then $5$ divides $a$

Ok so my teacher said we can use this sentence: If $a$ is not a multiple of $5$, then $a^2$ is not a multiple of $5$ neither. to prove this sentence: If $a^2$ is a multiple of $5$, then $a$ itself is a multiple of $5$ I don't understand the logic…
Maria
  • 621
4
votes
3 answers

Given (p ∧ q), use the Fitch system to prove (q ∨ r)

I'm having trouble solving a Fitch Style Proof and I was hoping someone would be able to help me. Premises: p ∧ q Goal: q ∨ r Would be an assumption (p ∧ q => q ∨ r) in first step a correct one? Then, q ∨ r Implication Elimination: 2, 1 Why is it…
pramort
  • 85
4
votes
2 answers

In Godel's/Henkin's completeness theorem, do the well-formed-formulas have to be 'sentences' (i.e. contain no free variables)?

I've worked through Henkin's proof of completeness, but now that I look back over it, I'm a little confused about what the actual statement of the completeness theorem is. Some of my sources state the theorem as: Let $\Phi$ be a set of sentences,…
4
votes
1 answer

Using the Fitch system, how do I prove $((p \implies q) \implies p)\implies p$?

Using the Fitch system, how do I prove $((p \implies q) \implies p)\implies p$? I started with the hypotheses $(p \implies q) \implies p$ and $\sim p$. However, from these hypotheses I did not get the desired contradiction to solve the…
sb45
  • 41
4
votes
1 answer

Relation between implication and subset relation

If $a \implies b$ can we then generally say that $a \subseteq b$ ? For example: if $a: x > 15$ and $b: x >10$ then clearly $a \implies b$ and if we look at the sets represented by a $\lbrace16,17,18..\rbrace$ and b $\lbrace 11,12,13... \rbrace$ it…
4
votes
3 answers

Need assistance in logical proof

After starting with something significantly larger, asked in another question, I found myself stuck with essentially this proof. What law can I use here? I've tried to look for distribution, but I don't see how it would work. Any explanation would…
Xenorosth
  • 79
  • 6
4
votes
2 answers

De Morgan's Law

Is it correct to say that de Morgan's Law is one of an isomorphism of classical logic? I think it is. (A bit meta, but is this question an appropriate one for this site?)
4
votes
2 answers

Show that not all sets of Natural Numbers are definable

I'm kind of lost on this problem; I think it has something to do with showing that there are uncountably many relations among N(assuming an included set of functions such as successor, addition, and multiplication) with there only being countably…
J.S
  • 81
4
votes
3 answers

Variant of Gödel sentence

Let's take Peano Arithmetic for concreteness. Gödel's sentence $G$ indirectly talks about itself and says "I am not a PA-theorem." Then we come to the conclusion that $G$ cannot be a PA-theorem (since PA proves only true things), and hence $G$ is…
4
votes
1 answer

What does the notation $\Gamma \vDash \phi$ mean (in Mathematical Logic)?

What does the notation $\Gamma \vDash \phi$ mean (in Mathematical Logic)? I understand that $\Gamma$ represents a system of formulas, and that $\phi$ represents an individual formula. I also know that $\Gamma \vDash \phi$ means " $\phi$ is a…
M Smith
  • 2,727
4
votes
2 answers

For every axiomatic system in first order logic there exists an equivalent independent system

The question is how to prove the assertion in the title. With "axiomatic system" I just mean any (consistent) set of sentences (over any given language). "independent" means that no axiom can be derived from the others. "equivalent" is supposed to…
user35359
  • 1,359
4
votes
2 answers

Understanding Truth Values of Basic Logical Statements.

I'm starting a course in proofs and our first two chapters have been on set theory and logic, both of which I have understood to an extent. However, one of my homework questions asks me the following and I'm not quite sure what I'm being asked to…
4
votes
0 answers

soundness of peano arithmetic

Is there a proof (in ZFC for instance) of the soundness of Peano Arithmetic?By "soundness" I mean that all theorems of Peano Arithmetic are true. Thanks, Patrick