Direct, contrapositive, induction, contradiction, counting, and inequalities.
Formalizes foundational deductive proof paradigms: (1) Direct Proof: assumes premise \(P\) and applies definitions/axioms to derive \(Q\); (2) Proof by Contraposition: establishes \(\neg Q \implies \neg P\), logically equivalent to \(P \implies Q\); (3) Proof by Contradiction: assumes \(P \land \neg Q\) and derives a logical absurdity \(\bot\) (e.g., Hippasus proof that \(\sqrt{2} \notin \mathbb{Q}\)); (4) Mathematical Induction: proves base case \(P(0)\) and inductive step \(\forall k, P(k) \implies P(k+1)\).
Opening locally on file:///? Browsers block backend API calls on local files. Paste your free Gemini API key below to run AI proofs directly in your browser!
Assume P is true, then through a logical sequence of steps, show Q must also be true.
"P ⟹ Q" is logically equivalent to "¬Q ⟹ ¬P". Sometimes proving the contrapositive is easier.
Assume ¬P is true, then derive a contradiction. Therefore P must be true.
Formal deductive verification rendered with KaTeX typesetting.
Consulting multi-tier mathematical engine...
1. Base Case (\(n = 1\)):
For \(n = 1\), the Left-Hand Side (LHS) is \(1\).
The Right-Hand Side (RHS) is \(\frac{1(1+1)}{2} = \frac{2}{2} = 1\).
Since \(\text{LHS} = \text{RHS} = 1\), \(P(1)\) holds.
2. Inductive Hypothesis:
Assume that the statement \(P(k)\) is true for some positive integer \(k \ge 1\):
$$ 1 + 2 + 3 + \dots + k = \frac{k(k+1)}{2} $$
3. Inductive Step (\(n = k+1\)):
We must prove that \(P(k+1)\) holds, namely:
$$ 1 + 2 + \dots + k + (k+1) = \frac{(k+1)(k+2)}{2} $$
Substituting our hypothesis:
$$ \text{LHS} = \left(\sum_{i=1}^k i\right) + (k+1) = \frac{k(k+1)}{2} + (k+1) $$
Factoring out \((k+1)\):
$$ = (k+1) \left( \frac{k}{2} + 1 \right) = (k+1) \left( \frac{k+2}{2} \right) = \frac{(k+1)(k+2)}{2} $$
This matches the RHS for \(n = k+1\). Thus, \(P(k) \implies P(k+1)\).