Jump to content

Logical proof: Difference between revisions

From Wikibase
No edit summary
 
Line 1: Line 1:
Logical proof is the process of applying [[logic]] to prove whether a statement is true or false.
[[Category:Logic]]
Logical proof is the process of applying [[logic]] to prove whether a [[statement]] is true or false.<ref>{{#cite:Q1846}}</ref>


== Direct proof ==
== Direct proof ==

Latest revision as of 13:04, 8 November 2026

Languages: English · français · Esperanto

Logical proof is the process of applying logic to prove whether a statement is true or false.[1]

Direct proof

Direct proof consists of identifying a set of true premises, and derive the conclusion based on logical combination and manipulation of those premises. It is the formal equivalent of an argument.

To prove $Q$, identify true statement(s) $P$ as premises, then prove $P \implies Q$.

In formal language:

$$ P \land (P \implies Q) \implies Q $$

Proof by contrapositive

To prove $P \implies Q$, prove $\neg Q \implies \neg P$.

In formal language:

$$ (P \implies Q) \iff (\neg Q \implies \neg P) $$

Proof by contradiction

To prove $P$, prove $(\neg P \implies Q) \land \neg Q$

In formal language:

$$ ((\neg P \implies Q) \land \neg Q ) \implies P $$

Disproof by counter-example

Any number of examples cannot suffice as logical proof. However, a counter-example is adequate to prove that a general statement is not true.

Proof by case

To prove $Q$, proves that at least one of $\{P_1,P_2,...,P_n\}$ is true, and $\forall k \in \{1,2,...,n\}, P_k \implies Q$

In formal language: $$ (S=P_1 \cup P_2 \cup ... \cup P_n) \land (\forall k \in \{1,2,...,n\}, P_k \implies Q) \implies Q $$

Natural-formal language translation via equivalent statements

The first and highly essential step of constructing formal logic proofs is the translation of natural language statements into formal language.

Sometimes, this requires first rewriting a statement $P$ with equivalent statement $Q$ where $P \iff Q$.