Theorems · Theorem · logic and foundations
Computable.find
∀ {α : Type u_1} [inst : Primcodable α] {P : α → ℕ → Prop} [inst_1 : DecidableRel P],
(ComputablePred fun p => P p.1 p.2) → ∀ (hP_ex : ∀ (x : α), ∃ n, P x n), Computable fun x => Nat.find ⋯If P is computable, and if for every x there exists an n such that P x n holds,
then the function mapping x to the minimal such n (using Nat.find) is computable.
This formally bridges Partrec.rfind with total unbounded search.
- Defined in
- Mathlib.Computability.RE
- Cited by
- 0 results in Mathlib
- Foundations
- Depth 91 from the axioms · uses propext, Classical.choice, Quot.sound
- Assumes
- PrimcodableDecidableRel
Around this declaration
Dashed lines are statement dependencies; solid lines are citations in proofs.
Cites11
Mathlib declarations this one mentions in its statement or cites explicitly in its proof. Plumbing is filtered out.
- Primcodablestatement and proof · cited by 325
- Nat.findstatement and proof · cited by 139
- Part.someproof · cited by 111
- Computablestatement · cited by 80
- Partrecproof · cited by 48
- ComputablePredstatement and proof · cited by 17
- Nat.rfindproof · cited by 17
- Computable.partrecproof · cited by 5
- Partrec.rfindproof · cited by 4
- ComputablePred.decideproof · cited by 3
- Partrec.of_eq_totproof · cited by 2
Cited by0
Results whose statement or proof uses this declaration.
Nothing cites this yet.