lean2/tests/lean/run/empty_eq.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

13 lines
217 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
| [none]
print definition case0