Mathlib Map

Theorems · Definition · combinatorics

List.Vector.cons

{α : Type u_1} → {n : ℕ} → α → List.Vector α n → List.Vector α n.succ

If 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.

Cited by105

Results whose statement or proof uses this declaration.