Theorems · Definition · combinatorics
List.Vector.cons
{α : Type u_1} → {n : ℕ} → α → List.Vector α n → List.Vector α n.succIf a : α and l : Vector α n, then cons a l, is the vector of length n + 1
whose first element is a and with l as the rest of the list.
- Defined in
- Mathlib.Data.Vector.Defs
- Cited by
- 90 results in Mathlib
- Foundations
- Depth 12 from the axioms · uses no axioms
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites1
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- List.Vectorstatement and proof · cited by 270
Cited by105
Results whose statement or proof uses this declaration.
- List.Vector.snocproof · cited by 30
- List.Vector.head_consstatement and proof · cited by 25
- List.Vector.tail_consstatement and proof · cited by 16
- List.Vector.mapAccumr₂_snocproof · cited by 12
- List.Vector.mapAccumr_snocproof · cited by 11
- List.Vector.inductionOnstatement and proof · cited by 10
- List.Vector.toList_consstatement and proof · cited by 9
- Nat.Primrec'.comp₂proof · cited by 8
- List.Vector.cons_head_tailstatement and proof · cited by 7
- List.Vector.inductionOn₂statement and proof · cited by 7
- List.Vector.map_snocproof · cited by 7
- List.Vector.map_consstatement and proof · cited by 6