AFTD Auto-Formalizing Theoretical Domains

thermomajorization_probe_gap_error

def

For natural numbers a, b, and j, the thermomajorization probe gap error thermomajorization_probe_gap_error a b j is defined as ((j - a : ℝ) * (b - j : ℝ)) / ((j : ℝ) * (b - a : ℝ)).

Statement

noncomputable def thermomajorization_probe_gap_error (a b j : ℕ) : ℝ
Defined in
arXiv:2610.35433
Verified
16 Nov 2026
Axioms
none listed
Used by 2

Read back from the Lean

thermomajorization_probe_gap_error is a function taking three natural numbers a, b, and j, and returning the real number ((j - a : ℝ) * (b - j : ℝ)) / ((j : ℝ) * (b - a : ℝ)), where the subtractions, multiplications, and division are performed in ℝ with the natural numbers coerced to real numbers.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The sharp missed error (j - a)(b - j) / (j(b - a)) for an unprobed rank j between adjacent probed ranks a and b. -/
noncomputable def thermomajorization_probe_gap_error (a b j : ℕ) : ℝ := ((j - a : ℝ) * (b - j : ℝ)) / ((j : ℝ) * (b - a : ℝ))
See it in the graphDiscuss this resultChallenge it