lean4-htt/old_tests/tests/lean/1334a.lean
2018-04-10 12:56:55 -07:00

12 lines
199 B
Text

inductive nlist : Type
| atom : nlist
| mk : list nlist → nlist
open nlist list
def fn : nlist → nlist
| (mk l) := mk []
| _ := atom
#check fn.equations._eqn_1
#check fn.equations._eqn_2