2015-11-20 17:03:17 -08:00
|
|
|
-- definition id {A : Type} (a : A) := a
|
2015-03-25 18:22:20 -07:00
|
|
|
|
|
|
|
example (a b c : nat) : id a = id b → a = b :=
|
|
|
|
begin
|
|
|
|
intro H,
|
2015-03-27 17:26:06 -07:00
|
|
|
fold [id a, id b],
|
2015-03-25 18:22:20 -07:00
|
|
|
assumption
|
|
|
|
end
|
|
|
|
|
|
|
|
example (a b c : nat) : id a = id b → a = b :=
|
|
|
|
begin
|
|
|
|
intro H,
|
|
|
|
fold (id a),
|
|
|
|
fold (id b),
|
|
|
|
assumption
|
|
|
|
end
|