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

Language over a finite alphabet is "stable" with resprect to primitive recursiveness ( & etc.) under different enumerations

I'm trying to prove the following proposition: The fact that a language $L$ over a finite alphabet $A$ is primitive recursive, recursive or recursively enumerable does not depend upon the enumeration of the alphabet. My first questions are: 1) Did…
temo
  • 5,237
2
votes
2 answers

Proof that sup S ≤ inf T by predicate logic

Let S and T be subsets of $\mathbb R$ such that s < t for each s ∈ S and each t ∈ T. Prove carefully that sup S ≤ inf T. Now I understand how to prove this as a natural language proof like, a = sup S, b = inf T For all t in T, t is an upper bound of…
harold
  • 311
  • 1
  • 11
2
votes
5 answers

Intuition behind proofs by rules of inference

Unfortunately I don't get the intuition behind the proofs by rules of inference. I do understand example, however I don't see the broad picture, I simply don't understand how to reason about the solution. Following I will show few example with my…
user16168
  • 697
2
votes
0 answers

Is the Gödel sentence of Dan Willard's self-verifying theories a $Π_1$ sentence?

Dan Willard proved that you can have weak formal systems than can prove their own consistency, thus avoiding Gödel's second incompleteness theorem. But although Willard's theories can avoid Gödel's second incompleteness theorem, they cannot avoid…
2
votes
1 answer

What all can we define with successor and division by 2?

I know that multiplication is definable in any one of: $\langle \mathbb{N}; x^y \rangle$, $\langle \mathbb{N}; x^2+y^2 \rangle$, $\langle \mathbb{N}; xy+x \rangle$ $\langle \mathbb{N}; +, \div \rangle$ $\langle \mathbb{N}; <,\div \rangle$, $\langle…
Nika
  • 727
2
votes
2 answers

How to tell that a converse of a statement is correct?

This is a problem from "Mathematical Logic for the Humanities" fro mhttp://jiblm.org/guides/index.php?category=jiblmjournal: Suppose that a homework problem asks you to write the converse of the conditional “If I cash in my chips, then I got a…
matto
  • 41
2
votes
2 answers

The problem of choosing the correct statement.

This is a problem of choosing the correct statement. In a certain class of a school, we have investigated whether each student likes candy, pizza, chocolate, and egg. Then, from the result, we know ・ all students that like candy like egg ・ all…
daㅤ
  • 3,264
2
votes
5 answers

Vacuous falsehood - does it exist, and are there examples?

I've ben struggling with the concept of vacuous truth, as used (1) in proving implications, (2) as base cases for induction proofs. To help me understand, it would be useful to understand if the concept of vacuous falsehood exists, and if so, what…
Penelope
  • 3,147
2
votes
2 answers

A problem out of reach for forever

Given any really large number $x$, such as the busy beaver number $x=BB(BB(99))$, can we construct a proposition such that we know it has a proof or a disproof, but we also know the shortest such proof or disproof is longer then $x$ symbols?
2
votes
1 answer

How many times a premise can be use while making deductions with arguments? Exercise 3.9.9 In DMFP Book.

I've already mentioned in a previous question I am going through the book Discrete Mathematics and Functional Programming by Thomas VanDrunen. In exercise 3.9.9 from the aforementioned book I've used a premise two times, is it allowed to do so? or…
2
votes
0 answers

If is a propsition is both true and provable is it allways provable by contradition?

I watched a video lecture that talked a bit about when proof by contradiction is and isn't a useful approach. This was useful, but it was from a heuristic approach which caused me to wonder is it the case that "P is provable" implies "there is a…
Hunter
  • 21
2
votes
1 answer

How do we know what constants can replace variables in an open sentence?

Consider for example the open sentence, x lives in India where 'x' is a variable, which can be substituted by various constants to make declarative sentences. For instance, Harshit lives in India Carol lives in India Zaid lives in India where…
2
votes
1 answer

equivalence of implications

I've got a little trouble with logic. I'm reading a book about mathematics, and as an example for implication there is: $$ x > 3 \implies x>0$$ So, if $x$ is bigger than $3$, it implies that it is bigger than zero, okay. But in general, we say: $$a…
Mirco
  • 167
2
votes
1 answer

Proof by induction that $\Sigma$-formulas are uniquely readable

My question is how to prove that $\Sigma$-formulas are uniquely readable (in our course this was wasn't really proved - in the proof it said just "proof by induction", but I'm confused what was meant by that, this we aren't dealing with numbers on…
temo
  • 5,237
2
votes
1 answer

If $\Gamma$ is a consistent set of propositions, then $\Gamma' = \{\neg \varphi : \varphi \in \Gamma\}$ is also consistent.

I was given the following problem. Determine the truth value of the following statement: If $\Gamma$ is a consistent set, then $\Gamma' = \{\neg \varphi : \varphi \in \Gamma\}$ is also consistent. $\Gamma$ is understood to be a set of…
lafinur
  • 3,322