lean4-htt/tests/lean/run/1739.lean
Leonardo de Moura 91f4fd9507 fix(library/equations_compiler/elim_match): undo bcf44f7
See issue #1739

Main problem with this commit: the counter-examples for non-exhaustive matches will be
cryptic when using nested inductive types.
2017-07-07 09:16:07 -07:00

7 lines
136 B
Text

inductive type
| bool : type
| fn : list type → type → type
def f : type → nat
| (type.bool) := 0
| (type.fn args rt) := 1