AFTD Auto-Formalizing Theoretical Domains

thermomajorization_witness_value

def

For dimension n, weight function q on probe ranks, and triple t = (a,j,b), the witness value is the expected missed error of the witness pair (witness_x n a j b, witness_y n j).

Statement

noncomputable def thermomajorization_witness_value (n : ℕ) (q : Finset.Ioo 0 n → ℝ) (t : ℕ × ℕ × ℕ) : ℝ
Source
step towards thermomajorization_random_single_probe_sharp_witness_family
Verified
22 Nov 2026
Axioms
none listed
Built on 3
  • thermomajorization_witness_xFor dimension n and integers a < j < b ≤ n, the thermomajorization witness vector x is defined by x_i = d₁ * 1_{i < a} + d₂ * 1_{i < b}…
  • thermomajorization_witness_yFor dimension n and rank j, the thermomajorization witness vector y is the uniform distribution on the prefix of length j: y_i = 1 / j for…
  • thermomajorization_expected_missed_errorFor dimension n : ℕ, a function q : Finset.Ioo 0 n → ℝ on the subtype of probe ranks, and population vectors x, y : Fin n → ℝ, the…

Lean source view module on GitHub

/-- The expected missed error at the witness pair indexed by a triple (a,j,b); notation helper for the finite-maximum over the witness family. -/
noncomputable def thermomajorization_witness_value (n : ℕ) (q : Finset.Ioo 0 n → ℝ) (t : ℕ × ℕ × ℕ) : ℝ := thermomajorization_expected_missed_error n q (thermomajorization_witness_x n t.1 t.2.1 t.2.2) (thermomajorization_witness_y n t.2.1)
See it in the graphDiscuss this resultChallenge it