This article may be confusing or unclear to readers. In particular, it has too complicated lead which may be simplified. Please help clarify the article. There is a discussion about this on Talk:Formal fallacy § Complicated Lead. (March 2021) (Learn how and when to remove this template message)

In logic and philosophy, a **formal fallacy**, **deductive fallacy**, **logical fallacy** or **non sequitur**^{[1]} (/ˌnɒn ˈsɛkwɪtər/; Latin for "[it] does not follow") is a pattern of reasoning rendered invalid by a flaw in its logical structure that can neatly be expressed in a standard logic system, for example propositional logic.^{[2]} It is defined as a deductive argument that is invalid. The argument itself could have true premises, but still have a false conclusion.^{[3]} Thus, a formal fallacy is a fallacy where deduction goes wrong, and is no longer a logical process. This may not affect the truth of the conclusion, since validity and truth are separate in formal logic.

While a logical argument is a non sequitur if, and only if, it is invalid, the term "non sequitur" typically refers to those types of invalid arguments which do not constitute formal fallacies covered by particular terms (e.g., affirming the consequent). In other words, in practice, "*non sequitur*" refers to an unnamed formal fallacy.

A special case is a mathematical fallacy, an intentionally invalid mathematical proof, often with the error subtle and somehow concealed. Mathematical fallacies are typically crafted and exhibited for educational purposes, usually taking the form of spurious proofs of obvious contradictions.

A formal fallacy is contrasted with an informal fallacy which may have a valid logical form and yet be unsound because one or more premises are false. A formal fallacy; however, may have a true premise, but a false conclusion.

This section needs additional citations for verification. Please help improve this article by adding citations to reliable sources in this section. Unsourced material may be challenged and removed. (December 2020) (Learn how and when to remove this template message)

Prior Analytics is Aristotle's treatise on deductive reasoning and the syllogism. The standard Aristotelian *logical fallacies* are:

- Fallacy of four terms (
*Quaternio terminorum*); - Fallacy of the undistributed middle;
- Fallacy of illicit process of the major or the minor term;
- Affirmative conclusion from a negative premise.

Other logical fallacies include:

In philosophy, the term *logical fallacy* properly refers to a formal fallacy—a flaw in the structure of a deductive argument, which renders the argument invalid.

It is often used more generally in informal discourse to mean an argument that is problematic for any reason, and encompasses informal fallacies as well as formal fallacies—valid but unsound claims or poor non-deductive argumentation.

The presence of a formal fallacy in a deductive argument does not imply anything about the argument's premises or its conclusion (see fallacy fallacy). Both may actually be true, or even more probable as a result of the argument (e.g. appeal to authority), but the deductive argument is still invalid because the conclusion does not follow from the premises in the manner described. By extension, an argument can contain a formal fallacy even if the argument is not a deductive one; for instance an inductive argument that incorrectly applies principles of probability or causality can be said to commit a formal fallacy.

Main article: Affirming the consequent |

Any argument that takes the following form is a non sequitur:

- If A is true, then B is true.
- B is true.
- Therefore, A is true.

Even if the premise and conclusion are both true, the conclusion is not a necessary consequence of the premise. This sort of non sequitur is also called affirming the consequent.

An example of affirming the consequent would be:

- If Jackson is a human (A), then Jackson is a mammal. (B)
- Jackson is a mammal. (B)
- Therefore, Jackson is a human. (A)

While the conclusion may be true, it does not follow from the premise:

- Humans are mammals.
- Jackson is a mammal.
- Therefore, Jackson is a human.

The truth of the conclusion is independent of the truth of its premise – it is a 'non sequitur', since Jackson might be a mammal without being human. He might be an elephant.

Affirming the consequent is essentially the same as the fallacy of the undistributed middle, but using propositions rather than set membership.

Main article: Denying the antecedent |

Another common non sequitur is this:

- If A is true, then B is true.
- A is false.
- Therefore, B is false.

While B can indeed be false, this cannot be linked to the premise since the statement is a non sequitur. This is called denying the antecedent.

An example of denying the antecedent would be:

- If I am Japanese, then I am Asian.
- I am not Japanese.
- Therefore, I am not Asian.

While the conclusion may be true, it does not follow from the premise. The statement's declarant could be another ethnicity of Asia, e.g., Chinese, in which case the premise would be true but the conclusion false. This argument is still a fallacy even if the conclusion is true.

Main article: Affirming a disjunct |

Affirming a disjunct is a fallacy when in the following form:

- A or B is true.
- B is true.
- Therefore, A is not true.*

The conclusion does not follow from the premise as it could be the case that A and B are both true. This fallacy stems from the stated definition of *or* in propositional logic to be inclusive.

An example of affirming a disjunct would be:

- I am at home or I am in the city.
- I am at home.
- Therefore, I am not in the city.

While the conclusion may be true, it does not follow from the premise. For all the reader knows, the declarant of the statement very well could be in both the city and their home, in which case the premises would be true but the conclusion false. This argument is still a fallacy even if the conclusion is true.

*Note that this is only a logical fallacy when the word "or" is in its inclusive form. If the two possibilities in question are mutually exclusive, this is not a logical fallacy. For example,

- I am either at home or I am in the city. (but not both)
- I am at home.
- Therefore, I am not in the city.

Denying a conjunct is a fallacy when in the following form:

- It is not the case that A and B are both true.
- B is not true.
- Therefore, A is true.

The conclusion does not follow from the premise as it could be the case that A and B are both false.

An example of denying a conjunct would be:

- I cannot be both at home and in the city.
- I am not at home.
- Therefore, I am in the city.

While the conclusion may be true, it does not follow from the premise. For all the reader knows, the declarant of the statement very well could neither be at home nor in the city, in which case the premise would be true but the conclusion false. This argument is still a fallacy even if the conclusion is true.

Illicit commutativity is a fallacy when in the following form:

- If A is the case, then B is the case.
- Therefore, if B is the case, then A is the case.

The conclusion does not follow from the premise as unlike other logical connectives, the implies operator is one-way only. "P and Q" is the same as "Q and P", but "P implies Q" is not the same as "Q implies P".

An example of this fallacy is as follows:

- If it is raining, then I have my umbrella.
- If I have my umbrella, then it is raining.

While this may *appear* to be a reasonable argument, it is not valid because the first statement does not logically guarantee the second statement. The first statement says nothing like "I do not have my umbrella otherwise", which means that having my umbrella on a sunny day would render the first statement true and the second statement false.

Main article: Fallacy of the undistributed middle |

The fallacy of the undistributed middle is a fallacy that is committed when the middle term in a categorical syllogism is not distributed. It is a syllogistic fallacy. More specifically it is also a form of non sequitur.

The fallacy of the undistributed middle takes the following form:

- All Zs are Bs.
- Y is a B.
- Therefore, Y is a Z.

It may or may not be the case that "all Zs are Bs", but in either case it is irrelevant to the conclusion. What is relevant to the conclusion is whether it is true that "all Bs are Zs," which is ignored in the argument.

An example can be given as follows, where B=mammals, Y=Mary and Z=humans:

- All humans are mammals.
- Mary is a mammal.
- Therefore, Mary is a human.

Note that if the terms (Z and B) were swapped around in the first co-premise then it would no longer be a fallacy and would be correct.

Main article: Informal fallacy |

Formal logic is not used to determine whether or not an argument is true. Formal arguments can either be valid or invalid. A valid argument may also be sound or unsound:

- A
*valid*argument has a correct formal structure. A valid argument is one where*if*the premises are true, the conclusion*must*be true. - A
*sound*argument is a formally correct argument that*also*contains true premises.

Ideally, the best kind of formal argument is a sound, valid argument.

Formal fallacies do not take into account the soundness of an argument, but rather its validity. Premises in formal logic are commonly represented by letters (most commonly p and q). A fallacy occurs when the structure of the argument is incorrect, despite the truth of the premises.

As *modus ponens*, the following argument contains no formal fallacies:

- If P then Q
- P
- Therefore, Q

A logical fallacy associated with this format of argument is referred to as affirming the consequent, which would look like this:

- If P then Q
- Q
- Therefore, P

This is a fallacy because it does not take into account other possibilities. To illustrate this more clearly, substitute the letters with premises:

- If it rains, the street will be wet.
- The street is wet.
- Therefore, it rained.

Although it is possible that this conclusion is true, it does not necessarily mean it *must* be true. The street could be wet for a variety of other reasons that this argument does not take into account. If we look at the valid form of the argument, we can see that the conclusion must be true:

- If it rains, the street will be wet.
- It rained.
- Therefore, the street is wet.

This argument is valid and, if it did rain, it would also be sound.

If statements 1 and 2 are true, it absolutely follows that statement 3 is true. However, it may still be the case that statement 1 or 2 is not true. For example:

- If Albert Einstein makes a statement about science, it is correct.
- Albert Einstein states that all quantum mechanics is deterministic.
- Therefore, it's true that quantum mechanics is deterministic.

In this case, statement 1 is false. The particular informal fallacy being committed in this assertion is argument from authority. By contrast, an argument with a formal fallacy could still contain all true premises:

- If an animal is a dog, then it has four legs.
- My cat has four legs.
- Therefore, my cat is a dog.

Although 1 and 2 are true statements, 3 does not follow because the argument commits the formal fallacy of affirming the consequent.

An argument could contain both an informal fallacy and a formal fallacy yet lead to a conclusion that happens to be true, for example, again affirming the consequent, now also from an untrue premise:

- If a scientist makes a statement about science, it is correct.
- It is true that quantum mechanics is deterministic.
- Therefore, a scientist has made a statement about it.

Main article: List of fallacies |

"Some of your key evidence is missing, incomplete, or even faked! That proves I'm right!"^{[4]}

"The vet can't find any reasonable explanation for why my dog died. See! See! That proves that you poisoned him! There’s no other logical explanation!"^{[5]}

This section needs additional citations for verification. Please help improve this article by adding citations to reliable sources in this section. Unsourced material may be challenged and removed. (May 2010) (Learn how and when to remove this template message)

In the strictest sense, a logical fallacy is the incorrect application of a valid logical principle or an application of a nonexistent principle:

- Most Rimnars are Jornars.
- Most Jornars are Dimnars.
- Therefore, most Rimnars are Dimnars.

This is fallacious. And so is this:

- People in Kentucky support a border fence.
- People in New York do not support a border fence.
- Therefore, people in New York do not support people in Kentucky.

Indeed, there is no logical principle that states:

- For some x, P(x).
- For some x, Q(x).
- Therefore, for some x, P(x) and Q(x).

An easy way to show the above inference as invalid is by using Venn diagrams. In logical parlance, the inference is invalid, since under at least one interpretation of the predicates it is not validity preserving.

People often have difficulty applying the rules of logic. For example, a person may say the following syllogism is valid, when in fact it is not:

- All birds have beaks.
- That creature has a beak.
- Therefore, that creature is a bird.

"That creature" may well be a bird, but the conclusion does not follow from the premises. Certain other animals also have beaks, for example: an octopus and a squid both have beaks, some turtles and cetaceans have beaks. Errors of this type occur because people reverse a premise.^{[6]} In this case, "All birds have beaks" is converted to "All beaked animals are birds." The reversed premise is plausible because few people are aware of any instances of *beaked creatures* besides birds—but this premise is not the one that was given. In this way, the deductive fallacy is formed by points that may individually appear logical, but when placed together are shown to be incorrect.

Main article: Non sequitur (literary device) |

See also: Derailment (thought disorder) |

In everyday speech, a non sequitur is a statement in which the final part is totally unrelated to the first part, for example:

Life is life and fun is fun, but it's all so quiet when the goldfish die.

—West with the Night, Beryl Markham^{[7]}