Theorems · Theorem · logic and foundations
Computable.cond
∀ {α : Type u_1} {σ : Type u_4} [inst : Primcodable α] [inst_1 : Primcodable σ] {c : α → Bool} {f g : α → σ},
Computable c → Computable f → Computable g → Computable fun a => bif c a then f a else g a- Defined in
- Mathlib.Computability.Partrec
- Cited by
- 4 results in Mathlib
- Foundations
- Depth 91 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
- Encodable.encodeproof · cited by 118
- Computablestatement and proof · cited by 80
- Computable.compproof · cited by 31
- Computable.to₂proof · cited by 17
- Computable.fstproof · cited by 15
- Computable.of_eqproof · cited by 9
- Computable.encode_iffproof · cited by 6
- Computable.nat_casesOnproof · cited by 3
Cited by4
Results whose statement or proof uses this declaration.
- Computable.sumCasesOnproof · cited by 5
- Partrec.condproof · cited by 3
- Nat.Partrec.Code.computable_recOnproof · cited by 0
- ComputablePred.iteproof · cited by 0