AFTD Auto-Formalizing Theoretical Domains

thermomajorization_random_probe_worst_error

def

For dimension n : ℕ and a function q : Finset.Ioo 0 n → ℝ on the subtype of probe ranks, the worst-case expected missed conversion error thermomajorization_random_probe_worst_error n q is ⨆ (x ∈ {v | v ∈ stdSimplex ℝ (Fin n) ∧ Antitone v}) (y ∈ {v | v ∈ stdSimplex ℝ (Fin n) ∧ Antitone v}), thermomajorization_expected_missed_error n q x y.

Statement

noncomputable def thermomajorization_random_probe_worst_error
    (n : ℕ) (q : Finset.Ioo 0 n → ℝ) : ℝ
Defined in
OP-2138
Verified
22 Nov 2026
Axioms
none listed
Built on 3
Used by 2

Read back from the Lean

thermomajorization_random_probe_worst_error is a noncomputable definition that takes a natural number n and a function q : Finset.Ioo 0 n → ℝ (assigning a real number to each natural number k with 0 < k < n), and defines a real number as the supremum over all pairs of vectors x, y : Fin n → ℝ such that both x and y belong to the standard simplex stdSimplex ℝ (Fin n) and both x and y are Antitone (monotonically non-increasing), of thermomajorization_expected_missed_error n q x y.

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 expected missed conversion error under random single probe distribution q. -/
noncomputable def thermomajorization_random_probe_worst_error
    (n : ℕ) (q : Finset.Ioo 0 n → ℝ) : ℝ :=
  ⨆ (x ∈ {v | v ∈ stdSimplex ℝ (Fin n) ∧ Antitone v})
    (y ∈ {v | v ∈ stdSimplex ℝ (Fin n) ∧ Antitone v}),
    thermomajorization_expected_missed_error n q x y
See it in the graphDiscuss this resultChallenge it