Theorems · Theorem · logic and foundations
Primrec.cond
∀ {α : Type u_1} {σ : Type u_3} [inst : Primcodable α] [inst_1 : Primcodable σ] {c : α → Bool} {f g : α → σ},
Primrec c → Primrec f → Primrec g → Primrec fun a => bif c a then f a else g a- Defined in
- Mathlib.Computability.Primrec.Basic
- Cited by
- 7 results in Mathlib
- Foundations
- Depth 81 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- PrimcodablePrimcodable
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites9
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Primcodablestatement and proof · cited by 325
- Primrecstatement and proof · cited by 141
- Encodable.encodeproof · cited by 118
- Primrec.compproof · cited by 80
- Primrec.fstproof · cited by 58
- Primrec.of_eqproof · cited by 50
- Primrec.to₂proof · cited by 37
- Primrec.encode_iffproof · cited by 18
- Primrec.nat_casesOnproof · cited by 6
Cited by7
Results whose statement or proof uses this declaration.
- Primrec.iteproof · cited by 9
- Primrec.list_findIdxproof · cited by 3
- Primrec.dom_boolproof · cited by 3
- Primrec.dom_bool₂proof · cited by 2
- Primrec.sumCasesOnproof · cited by 1
- Primrec.listLookupproof · cited by 1
- Nat.Partrec.Code.primrec_recOn'proof · cited by 1