Theorems · Definition
List.headI
{α : Type u_1} → [Inhabited α] → List α → αThe head of a list, or the default element of the type is the list is nil.
- Defined in
- Mathlib.Data.List.Defs
- Cited by
- 42 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 by44
Results whose statement or proof uses this declaration.
- Turing.ListBlank.headproof · cited by 27
- Turing.ToPartrec.Code.cons_evalstatement and proof · cited by 4
- Turing.ToPartrec.Code.nil_evalproof · cited by 4
- Turing.TM2to1.trInitproof · cited by 3
- Turing.TM2to1.trCfg_initproof · cited by 2
- Turing.ToPartrec.Code.case_evalstatement and proof · cited by 2
- Turing.ToPartrec.Code.head_evalstatement and proof · cited by 2
- Turing.ToPartrec.Code.succ_evalstatement and proof · cited by 2
- Turing.PartrecToTM2.trNormal_respectsproof · cited by 2
- Turing.ToPartrec.code_is_okproof · cited by 2
- Turing.ToPartrec.cont_eval_fixproof · cited by 2
- Turing.ToPartrec.stepNormal_thenproof · cited by 2