Lemma 9: rotationally invariant density half-to-half bounds
OpenQAlgorithms.Papers.Independent.Intake100.P61.rotationalDensity_half_tailsLet and let be a measurable probability density on whose law is invariant under for every real orthogonal . Write and in -coordinate halves. For with , put . Then
The final two bounds are supporting conclusions displayed in the proof. The literal real symmetry is retained; no implication from the physical passive unitary twirl is asserted. The density condition excludes atoms at the all-zero pair.
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P61
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal Topology
namespace QAlgorithms.Papers.Independent.Intake100.P61
attribute [local instance] Classical.propDecidable Classical.decEq
-- The frozen frequency formula specializes exactly to the source alphabet Fin (2 ^ d).
open QAlgorithms.Papers.Independent.Advance50.P30 (empiricalFrequency)
/-- PDF p.22, Lemma 9 (E14–E16), including supporting E18–E19.
Q is an actual probability density. The coefficient in E16 is 9/2;
the erroneous intermediate E17 is not assumed. -/
theorem rotationalDensity_half_tails
(n : ℕ) (hn : 0 < n)
(q : ((Fin (4 * n) → ℝ) × (Fin (4 * n) → ℝ)) → ℝ≥0∞)
(hq : Measurable q) [IsProbabilityMeasure (pairDensityLaw n q)]
(hinv : ∀ O : Matrix.unitaryGroup (Fin (4 * n)) ℝ,
Measure.map (transposeRotation O) (pairDensityLaw n q) = pairDensityLaw n q)
(epsilon : ℝ) (heps : 0 < epsilon) (heps1 : epsilon < 1)
(hregime : Real.log (2 / epsilon) / (2 * n) ≤ 0.05) :
let law := pairDensityLaw n q
let t := Real.sqrt (Real.log (2 / epsilon) / (2 * n))
let first := fun v : Fin (4 * n) → ℝ => firstCoordinates (2 * n) v
let second := fun v : Fin (4 * n) → ℝ => v - first v
law {v | vectorSquare (second v.1) ≥ (1 + 5 * t) * vectorSquare (first v.1)} ≤
ENNReal.ofReal epsilon ∧
law {v | vectorSquare (second v.2) ≥ (1 + 5 * t) * vectorSquare (first v.2)} ≤
ENNReal.ofReal epsilon ∧
law {v | realDot (second v.1) (second v.2) ≤ realDot (first v.1) (first v.2) -
(9 / 2 : ℝ) * t * (vectorSquare (first v.1) + vectorSquare (first v.2))} ≤
ENNReal.ofReal (2 * epsilon) ∧
law {v | vectorSquare (second v.1) ≤ (1 - 4 * t) * vectorSquare (first v.1)} ≤
ENNReal.ofReal epsilon ∧
law {v | vectorSquare (second v.2) ≤ (1 - 4 * t) * vectorSquare (first v.2)} ≤
ENNReal.ofReal epsilon := by sorry
end QAlgorithms.Papers.Independent.Intake100.P61
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let be a positive natural number and let be measurable. Suppose that is a probability measure and that, for every real orthogonal matrix , its pushforward under equals . Let satisfy , and set . For , let retain its first coordinates and zero the rest, let , and write and . Then all five bounds hold:
The inequalities defining the events include equality, and the measure bounds are interpreted in the extended nonnegative reals. No pointwise nonzero condition is imposed on either vector. The parameter assumptions cannot be satisfied for .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.