Theorems · Definition · combinatorics
Fin.insertNth
{n : ℕ} →
{α : Fin (n + 1) → Sort u_1} → (i : Fin (n + 1)) → α i → ((j : Fin n) → α (i.succAbove j)) → (j : Fin (n + 1)) → α jInsert an element into a tuple at a given position. For i = 0 see Fin.cons,
for i = Fin.last n see Fin.snoc. See also Fin.succAboveCases for a version elaborated
as an eliminator.
- Defined in
- Mathlib.Data.Fin.Tuple.Basic
- Cited by
- 95 results in Mathlib
- Foundations
- Depth 31 from the axioms, rests on 264 definitions · uses propext
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites2
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Fin.succAbovestatement and proof · cited by 249
- Fin.succAboveCasesproof · cited by 9
Cited by99
Results whose statement or proof uses this declaration.
- Fin.insertNth_apply_samestatement · cited by 30
- Fin.insertNth_apply_succAbovestatement · cited by 23
- finSuccEquiv'proof · cited by 20
- Fin.insertNthEquivproof · cited by 14
- Fin.insertNth_eq_iffstatement and proof · cited by 6
- Fin.insertNth_last'statement · cited by 6
- Fin.removeNth_insertNthstatement · cited by 5
- Fin.insertNth_removeNthstatement · cited by 5
- Fin.insertNth_zero'statement · cited by 5
- Fin.insertNth_binopstatement · cited by 4
- MultilinearMap.curryMidproof · cited by 4
- BoxIntegral.Box.mapsTo_insertNth_face_Iccstatement · cited by 3