Equations
- Lilac.Fun.Vec A n = (Fin n → A)
Instances For
Equations
- Lilac.Fun.Vec.cons head tail = Fin.cases head tail
Instances For
def
Lilac.Fun.Vec.induction
{A : Sort u1}
{motive : (n : Nat) → Vec A n → Sort u2}
(nil : motive 0 nil)
(cons : {n : Nat} → (hd : A) → {tl : Vec A n} → motive n tl → motive (n + 1) (cons hd tl))
{n : Nat}
(v : Vec A n)
:
motive n v
Equations
- One or more equations did not get rendered due to their size.
- Lilac.Fun.Vec.induction nil cons v = cast ⋯ nil