Lemmas on Fin and Fin-indexed tuples #
We define operations on Fin and Fin-indexed tuples that are needed for Starlib.
Version of funext_iff for dependent functions f : (x : α) → β x and
g : (x : α') → β' x.
Alias of the reverse direction of funext_heq_iff.
Version of funext_iff for dependent functions f : (x : α) → β x and
g : (x : α') → β' x.
Version of funext₂_iff for heterogeneous equality.
Alias of the reverse direction of funext₂_heq_iff.
Version of funext₂_iff for heterogeneous equality.
Heterogeneous equality on Fin.induction
Fin.induction on m + n for i ≤ m steps is equivalent to Fin.induction on m for i
steps.
Fin.induction on m + n for m + i steps is equivalent to Fin.induction on n on i
steps on the result of Fin.induction on m.
Version of Fin.addCases that splits the motive into two dependent vectors α and β, and
the return type is Fin.append α β.