Mathlib Map

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.

Cited by0

Results whose statement or proof uses this declaration.

Nothing cites this yet.