The version of Fin.snoc for the fixed type. #
Main Definitions #
- A
FirstOrder.ZFC.FixedSnoc.fixedSnocdefines the version of Fin.snoc for the fixed type V.
Main Statements #
- A
FirstOrder.ZFC.FixedSnoc.snoc_convproves the relationship between Fin.snoc and fixedSnoc. FirstOrder.ZFC.FixedSnoc.snoc_lastandFirstOrder.ZFC.FixedSnoc.snoc_initare to compute the values of fixedSnoc
Implimentation notes #
- Many theorems that make simp work better are proved.
@[simp]
Rewrite castAdd by using castAdd with one castSucc.
ofNat written by using Fin.last and castAdd.
@[simp]
Describes the cancellation of fixedSnoc and castSucc with Sum.elim.
@[simp]
fixedSnoc^3 ... 0 = a over Fin (0 + 3).
@[simp]
fixedSnoc^3 ... 1 = b over Fin (0 + 3).
@[simp]
fixedSnoc^3 ... 2 = c over Fin (0 + 3).