Pure Lean 4 · No Mathlib
EasyLogic
1. Modus Ponens
Given a proof `hp` of `P` and an implication `hpq : P → Q`, construct a proof of `Q`. In Lean 4, implications are functions: applying `hpq` to `hp` produces a proof of `Q`.
Target Theorem
theorem modus_ponens (P Q : Prop) (hp : P) (hpq : P → Q) : QHints (0/2)
Stuck? Reveal hints one step at a time without spoiling the full proof.
Symbols:
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).