chore(tests/lean/run/match2): missing test

This commit is contained in:
Leonardo de Moura 2016-08-21 15:48:17 -07:00
parent 2d90c73546
commit 6aa2ab6538

View file

@ -0,0 +1,7 @@
inductive imf (f : nat → nat) : nat → Type
| mk1 : ∀ (a : nat), imf (f a)
| mk2 : imf (f 0 + 1)
definition inv_2 (f : nat → nat) : ∀ (b : nat), imf f b → {x : nat \ x > b} →nat
| .(f a) (imf.mk1 .f a) x := a
| .(f 0 + 1) (imf.mk2 .f) x := subtype.elt_of x