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

When is implication true?

If we have $p\implies q$, then the only case the logical value of this implication is false is when $p$ is true, but $q$ false. So suppose I have a broken soda machine - it will never give me any can of coke, no matter if I insert some coins in it…
2
votes
1 answer

automorphism of the structure

I have to prove that the only automorphism of the structure $(\mathbb{Q}, \cdot, S)$ (where $S$ is a successor function) is the identity. My question is: am I allowed to use that, since we have multiplication and we need neutral element, for any…
Prold
  • 251
2
votes
3 answers

Why is it possible to assume a contradiction in a disjunctive syllogism?

I was reading about the principle of explosion with this example: Assume two contradictory premises: A.) 'All ice cream is frozen.'; B.) 'Not all ice cream is frozen.' Now, just to show that it's possible, say one wants to use those two…
rb612
  • 3,560
2
votes
1 answer

Herbrand model - find the number of elements

I just started learning about Herbrand model so I apologise if this may sound like a stupid question. How are you supposed to find how many elements are there in Herbrand model? (i have searched everywhere but couldn't find an answer) For example,…
KeykoYume
  • 492
2
votes
4 answers

Is Negation of $(a \implies \neg b)$ Equivalent to $(a \implies b)$?

This feels like a dumb question but I just want to make sure I'm correct. I'm reading over some homework where we need to prove some statements are equivalent and one person tried to show $a \implies b$ by assuming $a \implies \neg b$ and coming to…
Bryyo
  • 369
2
votes
3 answers

Clarifications regarding mathematical statements.

I read somewhere that mathematics is all about statements describing properties of some abstract objects. These are: Predicate: Statement which can be either True or False. PrepositionProposition: Need clarification. Theorem: A statement which is…
vivek
  • 179
2
votes
1 answer

What is the best way to express an argument in sentence logic?

I have to translate follo wing sentence into SL (sentence letters). I have also Indicate which English sentences I am representing with which. Bill will win the race if and only if Gladys either breaks a leg or has a hangover. I wrote $B:$ Bill…
2
votes
0 answers

Original source of the formal definition of a propositional logic in Wikipedia?

I've found in Wikipedia an interesting formal definition of what a propositional logic (propositional calculus) "exactly" is. Unfortunately it does not cite its source. I wonder which is the original source for this definition, does someone recall…
2
votes
2 answers

What is the logical equivalence of 'provided that...'?

Simple question as above. Given "A provided that B", the logical equivalence seems to be "A only if B". Very startling that my lecturer enjoy using such 'informal' speak in his lecture. Confirmation please.
2
votes
2 answers

how to express does not exist by quantifiers

Hi guys I have a problem with logic, look at this phrase: "aucun entier n'est supérieur a tous les entiers" (No integer is superior to all integers) I need to write it on mathematical form.
2
votes
2 answers

Proof by contradiction/contrapositive

I'm just trying to make sure I have this right: (b) Give a proof by contradiction of: “If n is an odd integer, then n 2 is odd.” $n = 2k-1$ $n^2 = (2k-1)^2$ $a = n$ is odd $b = n^2$ is odd Since any integer $k$ multiplied by $2$ is even, and we…
2
votes
1 answer

Rules of inference help?

I have a question here I need to solve: For each of the arguments below, formalize them in propositional logic. If the argument is valid identify which inference rule was used, and formulate the tautology underlying the rule. If the argument is…
2
votes
2 answers

Trying to convert a logical expression into CNF

I'm trying to convert the following Boolean expression into a CNF (or DNF): $(\neg p \vee \neg q) \rightarrow (q \rightarrow \neg p)$ I apply various laws until I get to: $(p \wedge q) \vee (\neg p \vee \neg q)$ This doesn't fit the form of a CNF,…
2
votes
1 answer

Consistency strength of a negation

Does the following situation occur? $T$ is strong enough to interpret PA. There is a sentence $\sigma$ such that $Con(T+\sigma)$ is equivalent to $Con(T+\neg \sigma)$ over $T$, and $Con(T)$ does not imply $Con(T+\sigma)$. Heuristically, making a…
mbsq
  • 2,109
2
votes
1 answer

Implication and Satisfiability

Apologies if this is not an appropriate place to ask a question like this, but I was just wondering why it is that an unsatisfiable sentence implies every other sentence. Please let me know your thoughts. Thanks.