thermomajorization_witness_y
def
For 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 i < j, and 0 otherwise.
Statement
noncomputable def thermomajorization_witness_y (n : ℕ) (j : ℕ) : Fin n → ℝ
- Defined in
- OP-2138
- Verified
- 22 Nov 2026
- Axioms
- none listed
- Used by 4
- thermomajorization_witness_valueFor 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…
- thermomajorization_random_single_probe_sharp_witness_family_two_levelFor dimension n = 2 and any probability distribution q ∈ stdSimplex ℝ (Finset.Ioo 0 2), there exist integers a, j, b with a < j ∧ j < b ∧…
- thermomajorization_witness_y_mem_antitone_stdSimplexFor any dimension n and rank 0 < j ≤ n, the thermomajorization candidate vector witness_y n j is a nonincreasing probability vector in the…
- thermomajorization_expected_missed_error_le_worst_errorFor any dimension n, function q : Finset.Ioo 0 n → ℝ, and candidate parameters a < j < b ≤ n, the expected missed error…
Read back from the Lean
The definition thermomajorization_witness_y takes two natural numbers n and j, and produces a function from Fin n to ℝ (a real vector of dimension n). For each index i : Fin n, the function evaluates to (1 : ℝ) / (j : ℝ) if (i : ℕ) < j, and 0 otherwise.
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
/-- Thermomajorization candidate witness vector y for rank j <= n. -/ noncomputable def thermomajorization_witness_y (n : ℕ) (j : ℕ) : Fin n → ℝ := fun i => if (i : ℕ) < j then (1 : ℝ) / (j : ℝ) else 0