7db84c7036
The commit also fixes vector to use the new definition.
11 lines
199 B
Text
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
|