Theorems · Theorem · logic and foundations
Primrec.option_casesOn
∀ {α : Type u_1} {β : Type u_2} {σ : Type u_3} [inst : Primcodable α] [inst_1 : Primcodable β] [inst_2 : Primcodable σ]
{o : α → Option β} {f : α → σ} {g : α → β → σ},
Primrec o → Primrec f → Primrec₂ g → Primrec fun a => Option.casesOn (o a) (f a) (g a)- Defined in
- Mathlib.Computability.Primrec.Basic
- Cited by
- 5 results in Mathlib
- Foundations
- Depth 81 from the axioms · uses propext, Classical.choice, Quot.sound
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites21
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Primcodablestatement and proof · cited by 325
- add_tsub_cancel_rightproof · cited by 172
- Primrecstatement and proof · cited by 141
- Encodable.encodeproof · cited by 118
- Primrec₂statement and proof · cited by 93
- Primrec.compproof · cited by 80
- Encodable.decodeproof · cited by 77
- Primrec.fstproof · cited by 58
- Primrec.of_eqproof · cited by 50
- Primrec.to₂proof · cited by 37
- Encodable.encodekproof · cited by 27
- Option.bind_congr'proof · cited by 23
Cited by5
Results whose statement or proof uses this declaration.
- Primrec.option_bindproof · cited by 8
- Primrec.optionToListproof · cited by 2
- Primrec.option_getDproof · cited by 2
- Primrec.option_isSomeproof · cited by 1
- Primrec.option_orElseproof · cited by 1