AFTD Auto-Formalizing Theoretical Domains

scalar_repair_certificate

def

The scalar repair progress certificate K_f(H) for activation budget f and memory weight H is (1 + H) * (f + (2f - 1)H) / (f(f + H)).

Statement

noncomputable def scalar_repair_certificate (f H : ℝ) : ℝ
Defined in
arXiv:2611.06076:978
Verified
08 Nov 2026
Axioms
none listed
Used by 3

Read back from the Lean

Given two real numbers $f$ and $H$, scalar_repair_certificate f H is defined as the real number $\frac{(1 + H)(f + (2f - 1)H)}{f(f + H)}$ (evaluating to $0$ if $f(f + H) = 0$ by Lean's convention for division by zero).

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

/-- Scalar repair certificate K_f(H). -/
noncomputable def scalar_repair_certificate (f H : ℝ) : ℝ :=
  (1 + H) * (f + (2 * f - 1) * H) / (f * (f + H))
See it in the graphDiscuss this resultChallenge it