lean2/tests/lean/j6.lean
Leonardo de Moura b7b868de85 fix(library/elaborator): bug reported by Jeremy Avigad
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-02-10 14:01:22 -08:00

8 lines
234 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

theorem symm_iff (p q : Bool) (H : p ↔ q) : (q ↔ p)
:= symm H
theorem or_imp (p q : Bool) : (p q) ↔ (¬ p → q)
:= let H1 := symm_iff _ _ (imp_or (¬ p) q) in
let H2 := not_not_eq p in
let H3 := subst H1 H2 in
H3