Mathlib Map

Theorems · Theorem · combinatorics

List.Vector.head_cons

∀ {α : Type u_1} {n : ℕ} (a : α) (v : List.Vector α n), (a ::ᵥ v).head = a

The head of a vector obtained by prepending is the element prepended.

Defined in
Mathlib.Data.Vector.Defs
Cited by
25 results in Mathlib
Foundations
Depth 13 from the axioms · uses no axioms

Around this declaration

Dashed lines are statement dependencies; solid lines are citations in proofs.

Cites3

Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.

Cited by25

Results whose statement or proof uses this declaration.