In traditional logic, a contradiction involves a proposition conflicting either with itself or established fact. It is often used as a tool to detect disingenuous beliefs and bias. Illustrating a general tendency in applied logic. The law of noncontradiction states that "It is impossible that the same thing can at the same time both belong and not belong to the same object and in the same respect." In modern formal logic and type theory, the term is mainly used instead for a single proposition, often denoted by the falsum symbol ⊥; a proposition is a contradiction if false can be derived from it, using the rules of the logic. It is a proposition that is unconditionally false (i.e., a self-contradictory proposition). This can be generalized to a collection of propositions, which is then said to "contain" a contradiction.
History By creation of a paradox, Plato's Euthydemus dialogue demonstrates the need for the notion of contradiction. In the ensuing dialogue, Dionysodorus denies the existence of "contradiction", all the while that Socrates is contradicting him:
... I in my astonishment said: What do you mean Dionysodorus? I have often heard, and have been amazed to hear, this thesis of yours, which is maintained and employed by the disciples of Protagoras and others before them, and which to me appears to be quite wonderful, and suicidal as well as destructive, and I think that I am most likely to hear the truth about it from you. The dictum is that there is no such thing as a falsehood; a man must either say what is true or say nothing. Is not that your position? Indeed, Dionysodorus agrees that "there is no such thing as false opinion ... there is no such thing as ignorance", and demands of Socrates to "Refute me." Socrates responds "But how can I refute you, if, as you say, to tell a falsehood is impossible?".
In formal logic
In classical logic, particularly in propositional and first-order logic, a proposition φ is a contradiction if and only if φ⊢⊥. Since for contradictory φ it is true that ⊢φ→ψ for all ψ (because ⊥⊢ψ), one may prove any proposition from a set of axioms which contains contradictions. This is called the "principle of explosion", or "ex falso quodlibet" ("from falsity, anything follows"). In a complete logic, a formula is contradictory if and only if it is unsatisfiable.
Proof by contradiction
For a set of consistent premises Σ and a proposition φ, it is true in classical logic that Σ⊢φ (i.e., Σ proves φ) if and only if Σ∪{¬φ}⊢⊥ (i.e., Σ and ¬φ leads to a contradiction). Therefore, a proof that Σ∪{¬φ}⊢⊥ also proves that φ is true under the premises Σ. The use of this fact forms the basis of a proof technique called proof by contradiction, which mathematicians use extensively to establish the validity of a wide range of theorems. This applies only in a logic where the law of excluded middle A∨¬A is accepted as an axiom. Proof of contradiction is best executed under the circumstances that, under a set of consistent premises Σ, the proposition φ is impossible to prove, or the contradiction is easier to prove. A common example is the proof that √2 is irrational. Trying to prove this directly is extremely difficult, but assuming that it is rational creates a contradiction that is easy to prove (see "Proof using Reciprocals" under Square root of 2). Using proof by contradiction in other circumstances could be inefficient or not possible at all. Using minimal logic, a logic with similar axioms to classical logic but without ex falso quodlibet and proof by contradiction, we can investigate the axiomatic strength and properties of various rules that treat contradiction by considering theorems of classical logic that are not theorems of minimal logic. Each of these extensions leads to an intermediate logic:
Double-negation elimination (DNE) is the strongest principle, axiomatized ¬¬A⟹A, and when it is added to minimal logic yields classical logic. Ex falso quodlibet (EFQ), axiomatized ⊥⟹A, licenses many consequences of negations, but typically does not help to infer propositions that do not involve absurdity from consistent propositions that do. When added to minimal logic, EFQ yields intuitionistic logic. EFQ is equivalent to ex contradiction quodlibet, axiomatized A∧¬A⟹B, over minimal logic. Peirce's rule (PR) is an axiom ((A⟹B)⟹A)⟹A that captures proof by contradiction without explicitly referring to absurdity. Minimal logic + PR + EFQ yields classical logic. The Gödel-Dummett (GD) axiom A⟹B∨B⟹A, whose most simple reading is that there is a linear order on truth values. Minimal logic + GD yields Gödel-Dummett logic. Peirce's rule entails but is not entailed by GD over minimal logic. Law of the excluded middle (LEM), axiomatised A∨¬A, is the most often cited formulation of the principle of bivalence, but in the absence of EFQ it does not yield full classical logic. Minimal logic + LEM + EFQ yields classical logic. PR entails but is not entailed by LEM in minimal logic. If the formula B in Peirce's rule is restricted to absurdity, giving the axiom schema (¬A⟹A)⟹A, the scheme is equivalent to LEM over minimal logic. Weak law of the excluded middle (WLEM) is axiomatised ¬A∨¬¬A and yields a system where disjunction behaves more like in classical logic than intuitionistic logic, i.e. the disjunction and existence properties don't hold, but where use of non-intuitionistic reasoning is marked by occurrences of double-negation in the conclusion. LEM entails but is not entailed by WLEM in minimal logic. WLEM is equivalent to the instance of De Morgan's law that distributes negation over conjunction: ¬(A∧B)⟺(¬A)∨(¬B).
Symbolic representation In mathematics, the symbol used to represent a contradiction within a proof varies. Some symbols that may be used to represent a contradiction include ↯, Opq, ⇒⇐, ⊥, ↔ / , and ※; in any symbolism, a contradiction may be substituted for the truth value "false", as symbolized, for instance, by "0" (as is common in Boolean algebra). It is not uncommon to see Q.E.D., or some of its variants, immediately after a contradiction symbol. In fact, this often occurs in a proof by contradiction to indicate that the original assumption was proved false—and hence that its negation must be true.
The notion of contradiction in an axiomatic system and a proof of its consistency In general, a consistency proof requires the following two things:
… excerpt ends here. Continue reading the full article.

