Minimization_on_Relation_Equivalent_to_Minimization_on_Function
Provedcomputabilityprimitive-recursive-functionsproofwiki
Let be a -ary relation on . Then the function defined as where is the minimization operation on is equivalent to minimization on a total function.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem Minimization_on_Relation_Equivalent_to_Minimization_on_Function (R : ℕ → ℕ → Prop) [DecidableRel R] (f : ℕ → ℕ → ℕ) (hf : ∀ a b, R a b ↔ f a b = 0) : ∀ a, (∃ b, R a b ∧ ∀ c, c < b → ¬R a c) ↔ (∃ b, f a b = 0 ∧ ∀ c, c < b → f a c ≠ 0) := by sorry
Source