lean2/tests/lean/770.hlean
2015-12-09 12:36:11 -08:00

20 lines
464 B
Text
Raw Permalink 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.

open nat unit equiv eq
definition code : → Type₀
| code 0 0 := unit
| code (succ n) 0 := empty
| code 0 (succ m) := empty
| code (succ n) (succ m) := code n m
definition refl : Πn, code n n
| refl 0 := star
| refl (succ n) := refl n
definition encode (n m : ) : (n = m) ≃ code n m :=
equiv.MK (λp, p ▸ refl n)
(match n m with
| 0 0 := sorry
end)
sorry
sorry