AFTD Auto-Formalizing Theoretical Domains

geometric_thermo_missed_error

def

For dimension N, parameter q, and probe set F : Finset ℕ, the worst-case missed error geometric_thermo_missed_error N q F is the supremum over all x ∈ stdSimplex ℝ (Fin N) and all y ∈ stdSimplex ℝ (Fin N) satisfying Antitone (fun i : Fin N => y i / geometric_gibbs N q i) of geometric_thermo_probe_error N q (Finset.Ioo 0 N) x y - geometric_thermo_probe_error N q F x y.

Statement

noncomputable def geometric_thermo_missed_error (N : ℕ) (q : ℝ) (F : Finset ℕ) : ℝ
Defined in
arXiv:2610.35433
Verified
27 Nov 2026
Axioms
none listed
Built on 4
  • geometric_thermo_probe_errorFor dimension N, parameter q, probe set F : Finset ℕ, and population vectors x, y : Fin N → ℝ, the detected probe error…
  • geometric_gibbsFor parameter 0 < q < 1 and dimension N, the geometric Gibbs distribution g_i is (1-q) * q^i / (1-q^N) for i ∈ Fin N.
  • LinearOrder.toTotalPreorderEvery LinearOrder is a TotalPreorder.
  • TotalPreorderA total preorder: a preorder where ≤ is total (complete). This is weaker than LinearOrder — it does NOT require antisymmetry or…
Used by 1
  • geometric_thermo_minimax_errorFor dimension N, budget m : ℕ, and parameter q : ℝ, the minimax missed error geometric_thermo_minimax_error N m q is the infimum of…

Read back from the Lean

The declaration defines geometric_thermo_missed_error (N : ℕ) (q : ℝ) (F : Finset ℕ) : ℝ as the supremum (⨆) over: 1. all probability vectors x in the standard simplex stdSimplex ℝ (Fin N), and 2. all probability vectors y in stdSimplex ℝ (Fin N) such that the ratio i ↦ y i / geometric_gibbs N q i is antitone (monotonically non-increasing) with respect to the index i : Fin N, of the difference: geometric_thermo_probe_error N q (Finset.Ioo 0 N) x y - geometric_thermo_probe_error N q F x y, where Finset.Ioo 0 N is the set of integers {j ∈ ℕ | 0 < j < N} (i.e. {1, ..., N - 1}).

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

/-- Worst-case missed conversion error for probe set F. -/
noncomputable def geometric_thermo_missed_error (N : ℕ) (q : ℝ) (F : Finset ℕ) : ℝ := ⨆ (x ∈ stdSimplex ℝ (Fin N)) (y ∈ {v ∈ stdSimplex ℝ (Fin N) | Antitone (fun i : Fin N => v i / geometric_gibbs N q i)}), (geometric_thermo_probe_error N q (Finset.Ioo 0 N) x y - geometric_thermo_probe_error N q F x y)
See it in the graphDiscuss this resultChallenge it