Mathlib Map

Theorems · Theorem

List.getD_eq_getElem

∀ {α : Type u} (l : List α) (d : α) {n : ℕ} (hn : n < l.length), l.getD n d = l[n]
Defined in
Mathlib.Data.List.GetD
Cited by
10 results in Mathlib
Foundations
Depth 43 from the axioms · uses propext, Classical.choice, Quot.sound

Around this declaration

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

Cites0

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

Nothing in Mathlib beyond the foundations.

Cited by10

Results whose statement or proof uses this declaration.