lean2/tests/lean/run/contra1.lean
2015-11-20 16:46:10 -08:00

16 lines
346 B
Text

open nat
example (a b : nat) (h : false) : a = b :=
by contradiction
example : ∀ (a b : nat), false → a = b :=
by contradiction
example : ∀ (a b : nat), (0:nat) = 1 → a = b :=
by contradiction
example : ∀ (a b : nat), id false → a = b :=
by contradiction
example : ∀ (a b : nat), id ((0:nat) = 1) → a = b :=
by contradiction