Documentation

CslibFrontier.Foundations.Data.Fin.AddFlip

Appending tuples in the other order #

finAddFlip : Fin (m + n) ≃ Fin (n + m) exchanges the two blocks of indices. Reading the tuple Fin.append v u through it gives Fin.append u v: swapping the blocks of indices undoes swapping the tuples.

Main results #

theorem Fin.append_comp_finAddFlip {α : Type u_1} {m n : ℕ} (u : Fin m → α) (v : Fin n → α) :

Reading Fin.append v u through finAddFlip gives Fin.append u v.