lean2/tests/lean/run/empty_match_bug.lean
Leonardo de Moura 7db84c7036 refactor(library/data): replace 'fin' with Haitao's 'less_than'
The commit also fixes vector to use the new definition.
2015-06-05 10:33:19 -07:00

11 lines
199 B
Text

open nat
inductive fin : nat → Type :=
| fz : Π n, fin (succ n)
| fs : Π {n}, fin n → fin (succ n)
open fin
definition case0 {C : fin zero → Type} (f : fin zero) : C f :=
match f with
end