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

Why do Hilbert proof systems/Frege systems allow hypotheses?

In these systems of deduction, we assume some hypotheses $A_1, \dots, A_n$ and apply axioms and rules such as modus ponens to derive a conclusion $B$. But we also have the deduction theorem, which implies $A_1, \dots, A_n \vdash B$ iff $\emptyset…
Glenn Sun
  • 395
3
votes
1 answer

Independence and when is it okay to say $p \implies q$ and $\lnot p \implies q$ implies $q$

I'm having a little bit of a logical fuss right now. Yesterday, I was happy with a statement like $$ ((p \implies q) \wedge (\lnot p \implies q)) \implies q $$ because $p \vee \lnot p = \top$. (Let's stick to standard propositional logic, and work…
nullUser
  • 27,877
3
votes
2 answers

Vacuous truth and empty set properties

I have a flaw in my reasoning, could you help me figure out what I am doing wrong? To proof that $\emptyset$ is closed under addition we need to evaluate the following logical statement: $$ \forall x,y \in \emptyset: Q(x,y) $$ where $Q(x,y)$ is…
3
votes
2 answers

What is the real/'everyday-life' difference between free and bound variables

My textbook is A Mathematical Introduction to Logic, 2nd Edition by Enderton. The question initially comes when I was trying to prove Exercise 4. on pg.99 $$\text{Show that if }x \text{ does not occur free in }\alpha,\text{ then }\alpha \vDash…
youngeAn
  • 309
3
votes
1 answer

Logic - prove/refute claims using assignments

I'd really love your help with understanding how to refute/prove this following claims: (even general tips would be fine) $t1=t2 \vdash _{FOL=}^t s\{t1/x\}=s\{t2/x\}$ $t1=t2 \vdash _{FOL=}^t t1\{s/x\}=t2\{s/x\}$ $t1=t2 \vdash _{FOL=}^v A\{{t1\{{s/x…
Jozef
  • 7,100
3
votes
2 answers

Logic: If $\frac{1}{x} > 0.5$, then $x$ can be any real number smaller than $2$?

My friends are arguing whether the following statement is correct or not. It seems easy enough but I cannot tell who's argument is correct. If $\frac{1}{x} > 0.5$, then $x$ can be any real number smaller than $2$. We all agree that the range of…
Nighty
  • 2,152
3
votes
2 answers

If and only if?

Is the statement true or false? New Jersey is a state if and only if Florida is not a state? Florida is a state? So that will be false? Is this the way it works?
MethodManX
  • 1,127
3
votes
1 answer

How to prove that permutations of x-y can go infinite

I am a novice when it comes to mathematics, but I have been give a problem that is causing quite the headache. Basically, I need to know if two values are able to infinitely go against one another given a basic set of rules. The lower number is…
3
votes
1 answer

Is it possible for $\operatorname{Mod}(\operatorname{Th}(K))\neq K$ for some class $K$ of truth assignments?

I came across the following theorem that for any class $K$ of truth assignments, $K\subseteq \operatorname{Mod}(\operatorname{Th}(K))$, and if $K$ is axiomatizable, then $K=\operatorname{Mod}(\operatorname{Th}(K))$. Together these seem to me to…
yunone
  • 22,333
3
votes
3 answers

What is the different semantic of existential and universal qualifier between classical and intuitionistic logic?

Take the semantic definition of existential and universal qualifier outlined here Is that valid for classical or intuitionistic logic? Or is it a general definition? Take the following sentence: "It exists a man that, if he owns an hat, then all…
Robbo
  • 1,055
3
votes
0 answers

What does it mean for arithmetic truth to be definable in the language of set theory?

Tarski famously proved arithmetic truth is not definable in the language of arithmetic. Ie there's no predicate $T$ such that $T(|\sigma|)$ is true in the standard model of arithmetic iff $\sigma$ is true in the standard model of arithmetic. I have…
Tim kinsella
  • 5,903
3
votes
1 answer

What is meant by an if and only if statement with 2 conditions?

Suppose I have to prove a mathematical statement like $A$ is $4$ if and only if: (a) $A = k$ (b) $det(A) = 11$ method 1 do I first prove: $A$ is $4$ if and only if $A = k$ and then prove: $A$ is $4$ if and only if $det(A) = 11$? method 2 Or do I…
Reuben
  • 635
3
votes
3 answers

Are the following two statements logically equivalent?

If there exists A such that B, then C. There exists A such that if B, then C. I am having a hard time telling whether these two statements are logically equivalent. (I have an easier time understanding 1 than 2, so if they are equivalent, it will…
disst
  • 303
3
votes
1 answer

How is it possible to have an axiom in logic that defines AND?

Wouldn't you have to already understand what it means? If you define A AND B by saying that it follows from A being True and B being True, aren't you using "and" to define AND. To be able to combine two or more premises to reach a conclusion,…
user1153980
  • 1,121
3
votes
1 answer

Do all proofs use the same information?

This question is vague and might be closed, but I also feel like its incredibly important to math and how we approach problems. Particularly difficult problems. Namely the concept of information. One of the main principles in math is "there is no…