All Exercises
#23 Distributivity of And over Or
live.lean-lang.org
Pure Lean 4 · No Mathlib
EasyLogic

23. Distributivity of And over Or

Prove the distributive law of conjunction over disjunction: `P ∧ (Q ∨ R)` holds if and only if either `P ∧ Q` or `P ∧ R` holds.

Target Theorem
theorem and_or_distrib (P Q R : Prop) : P ∧ (Q ∨ R) ↔ (P ∧ Q) ∨ (P ∧ R)
Hints (0/3)

Stuck? Reveal hints one step at a time without spoiling the full proof.

Symbols:
Initializing Lean 4 editor…
Infoview & Diagnosticsline 1idle
Write your proof above and click Submit Proof (or open in live.lean-lang.org).