lean4-htt/tests/lean/1334a.lean
2017-03-09 18:41:19 -08: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