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

What is the difference between semantical and syntactical variables?

My set theory book has this sentence.(It was written in my native language. I translated these. Sorry for poor English.) When $x$ is assigned as the value of the independent variable of the function $f$, then the value of the dependent variable is…
amoogae
  • 586
3
votes
1 answer

How to convert this sentence into a first order logic well formed formula?

I am trying to convert the following sentence to a well formed formula using first-order logic(Predicate logic). All towers are of the same color. I have defined the following predicates: Tower(x) :: x is a tower. Color(x, y) :: x is of color…
3
votes
3 answers

How can I prove that (p→q)∧(p→r) ⇔ p→(q∧r)

How can I prove that (p→q)∧(p→r) compound statements and compound statement p→(q∧r) are logically equivalent? And can I use logical equivalences on this proof?
3
votes
2 answers

Example of mathematical reasoning that is an instance of dilemma?

A dilemma is a reasoning either of the form (1) if A then B (2) if C then D (3) A or C (4) therefore, B or D or of the form (1) if A then B (2) if C then D (3) not B or not D (4) therefore not A or not C Are there situations in mathematics…
user654868
3
votes
3 answers

Understanding relationship between law of excluded middle and law of noncontradiction

I was trying to understand the relationship between the two concepts. On Wikipedia definition of excluded middle, it says: In logic, the law of excluded middle (or the principle of excluded middle) states that for any proposition, either that…
user662886
3
votes
2 answers

Intransitivity with more than three elements

I have the following definition of intransitivity: R is intransitive iff for all xyz: xRy & yRz -> ~xRz Now, given the following: aRb bRc cRd Can I conclude that ~aRd? Intuitively, I would say yes*, but I'm having problems with the formal…
3
votes
2 answers

Logic problem on sum of possible numbers a given person can have if they had a conversation with another.

Larry tells Marry and Jerry that he is thinking of two consecutive integers from 1 to 10. He tells Marry one of the numbers and then tells Jerry the other number. Then occurs a conversation between Marry and Jerry: Marry: I don't know your…
Max0815
  • 3,505
3
votes
4 answers

Identify - Two statements which can't be true together, but can be false - from the following premises

Among the following, there are two statements which can't be true together, but can be false together. Select the code that represents them. Statements : (a) All poets are dreamers. (b) No poets are dreamers. (c) Some poets…
Venkat
  • 209
3
votes
2 answers

What does $\forall x \exists y(x + y = 0)$ mean?

What does $\forall x \exists y(x + y = 0)$ mean? Does it mean "For all x there exists a y for which x + y equals zero"? Thanks.
user62287
  • 405
3
votes
2 answers

Negation of Quantifiers confusion

I will appreciate it if anyone can check if the following negation is correct. The question from my class practice problem doesn't seem to include parenthesis, and I'm uncertain if I did it correctly: Question: $\sim\! \exists x \in…
3
votes
4 answers

Negating a statement: is there indeed a quantifier missing?

There is this homework assignment that I seem to keep getting wrong. The question is: Negate the following statement: "For every positive number $\epsilon$, there is a positive number $\delta$ such that |x-a| < $\delta$ implies |f(x)-f(a)| <…
3
votes
1 answer

Use Theorem 1.1.1 below to verify the logical equivalence and supply a reason for each step?

Logical Equivalences I have question about Simplifying Statement Forms, this question $$\lnot(p \lor \lnot q) \lor(\lnot p \land \lnot q) ≡ \lnot p$$ and this my answer $$\begin{align} \lnot(p \lor \lnot q) \lor(\lnot p \land \lnot q) &≡…
3
votes
2 answers

Negation of exclusive or

Suppose $A$ and $B$ are two statements. What is the negation of the excluisive or-statement, i.e. of "either $A$ or $B$" which i formally written as $A\dot{\vee}B$? I think $\neg (A\dot{\vee} B)$ means ($A$ and $B$) or (not A and not B),…
Rhjg
  • 2,029
3
votes
1 answer

PDL compactness over nonstandard models

Prove that PDL (Propositional Dynamic Logic) is compact over nonstandard models. That is, every finitely satisfiable set of propositions is satisfiable in a nonstandard Kripke frame. Conclude that there exists a nonstandard Kripke frame that is not…
user498684
3
votes
1 answer

How can I find the percentage of balance?

I'm developing a game. Assume I have 5 kids. Every kid has different amount of chocolates. Assume each of them has: KID 1 has 5 chocolates KID 2 has 10 chocolates KID 3 has 5 chocolates KID 4 has 2 chocolates KID 5 has 1 chocolates What I want is…
Sena
  • 33