PGM success bound for the PAC hard ensemble
ProvedQAlgorithms.Arunachalam.pgm_pac_hard_ensembleFix integers , and and a real . Let be a matrix of rank with whose codewords satisfy for (the generator matrix of a code with ). On the points let and for , and for let and . Assume . Put
Then the success probability of the pretty good measurement for satisfies
Since the PGM is optimal for this ensemble, the bound shows that copies are needed to identify with constant probability; it is the core of Theorem 7.5.6.
Formalization Note The points enter only as orthonormal labels, so is the basis vector of . with , (pseudo-inverse square root). The hypotheses , , and the code parameters are those of the surrounding proof (Theorem 7.5.1 with , ).
import Definitions.Def_QAlgorithms_Defs_LearningHardInstances set_option autoImplicit false
namespace QAlgorithms.Arunachalam
open QAlgorithms.Learning
/-- Arunachalam p.176–177, Lemma 7.5.7, in the setting of the proof of Theorem 7.5.6:
`ε ∈ (0, 1/20)`; `D(s₀) = 1 − 20ε`, `D(s_i) = 20ε/d` for `i ∈ [d]`; `M ∈ F₂^{d×k}` is the rank-`k`
generator matrix of a `[d, k, r]₂` code with `k ≥ d/4` and distance `r ≥ d/8`; `c^x(s₀) = 0`,
`c^x(s_i) = (Mx)_i`; `1 ≤ T ≤ d/(20e³ε)` and `d ≥ 10` (the hypotheses of Theorem 7.5.1 with
`m = d`, `β = 20ε`). For every `x ∈ {0,1}^k` let `|ψ_x⟩ = ∑_{i ∈ {0,…,d}} √D(s_i) |s_i, c^x(s_i)⟩`
and `E = {(2^{−k}, |ψ_x⟩^{⊗T}) : x ∈ {0,1}^k}`. Then
`P^PGM(E) ≤ (4e / 2^{d/4 + Tε}) e^{8800T²ε²/d + 4√(5Tdε)}`. -/
theorem pgm_pac_hard_ensemble {d k T : ℕ} {ε : ℝ} (hd : 10 ≤ d) (hε : 0 < ε) (hε' : ε < 1 / 20)
(M : Matrix (Fin d) (Fin k) (ZMod 2)) (hM : M.rank = k) (hkd : k ≤ d) (hdk : d ≤ 4 * k)
(hdist : ∀ x y : Fin k → ZMod 2, x ≠ y →
(d : ℝ) / 8 ≤ (hammingDist (M.mulVec x) (M.mulVec y) : ℝ))
(hT : 1 ≤ T) (hTd : (T : ℝ) ≤ (d : ℝ) / (20 * Real.exp 3 * ε)) :
pgmSuccess (fun _ : Fin k → ZMod 2 => ((2 : ℝ) ^ k)⁻¹)
(fun x => tensorPow T (exampleState (pacHardConcept M x) (pacHardDist d ε))) ≤
4 * Real.exp 1 / (2 : ℝ) ^ ((d : ℝ) / 4 + (T : ℝ) * ε) *
Real.exp (8800 * (T : ℝ) ^ 2 * ε ^ 2 / (d : ℝ) +
4 * Real.sqrt (5 * (T : ℝ) * (d : ℝ) * ε)) := by
sorry
end QAlgorithms.Arunachalam
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and , and let be a matrix over . Assume:
- and ;
- has rank over , and ;
- for all distinct in , the Hamming distance between the codewords and is at least ;
- and .
For , define the following objects on the index set :
- the concept has and iff , for ;
- the distribution has and for ;
- is the vector on with amplitude at and at ;
- , with amplitude at .
The conclusion bounds the "pretty good measurement" success quantity for the ensemble with uniform prior . Set and . Let be obtained by applying to the eigenvalues of ; zero eigenvalues are sent to , by the convention . The success quantity is
The theorem states
where is a real power.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.