Theorems · Definition
Option.iget
Deprecated since 2026-01-05Mathlib marks this declaration as deprecated.
{α : Type u_1} → [Inhabited α] → Option α → αInhabited get function. Returns a if the input is some a, otherwise returns default.
- Defined in
- Mathlib.Data.Option.Defs
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 5 from the axioms · uses no axioms
- 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 by5
Results whose statement or proof uses this declaration.
- Option.getD_default_eq_igetstatement · cited by 0
- Option.iget_memstatement and proof · cited by 0
- Option.iget_of_memstatement and proof · cited by 0
- Option.iget_somestatement · cited by 0
- Primrec.option_igetstatement · cited by 0