Theorems · Definition
List.getI
{α : Type u_1} → [Inhabited α] → List α → ℕ → α"Inhabited" get function: returns default instead of none in the case
that the index is out of bounds.
- Defined in
- Mathlib.Data.List.Defs
- Cited by
- 17 results in Mathlib
- Foundations
- Depth 38 from the axioms · uses propext
- Assumes
- Inhabited
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 by18
Results whose statement or proof uses this declaration.
- Turing.ListBlank.nthproof · cited by 17
- Turing.ListBlank.nth_mkstatement · cited by 3
- List.getI_eq_getElem?_getDstatement · cited by 3
- Turing.ListBlank.extproof · cited by 3
- List.getI_eq_defaultstatement · cited by 2
- List.getI_eq_getElemstatement · cited by 2
- List.getD_default_eq_getIstatement · cited by 1
- List.getI_appendstatement · cited by 1
- List.getI_zero_eq_headIstatement and proof · cited by 1
- Turing.TM2to1.tr_respects_aux₂proof · cited by 1
- Nat.testBit_eq_inthstatement and proof · cited by 0
- List.getI_append_rightstatement · cited by 0