lean2/tests/lean/hott/contra1.hlean

17 lines
347 B
Text
Raw Normal View History

2015-12-09 05:11:11 +00:00
open eq
example (a b : nat) (h : empty) : a = b :=
by contradiction
example : ∀ (a b : nat), empty → a = b :=
by contradiction
2015-12-09 05:11:11 +00:00
example : ∀ (a b : nat), 0 = 1 :> → a = b :=
by contradiction
example : ∀ (a b : nat), id empty → a = b :=
by contradiction
2015-12-09 05:11:11 +00:00
example : ∀ (a b : nat), id (0 = 1 :> ) → a = b :=
by contradiction