§8.7 — a -approximation distinguishes from
ProvedCosDensity.distinguishcommunication-complexitycosine-similaritylower-boundp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1streaming
Let , , and . Then . Consequently, if and , every -approximation of is strictly smaller than every -approximation of .
With and (bounds (37)–(38)), a -approximation of determines .
Differences from the source:
- generalization: the two cases z_q = 0, 1 of M_p(P(z, q)) with ratio φ_p → arbitrary values M₀ ≤ X₀ and M₁ ≥ X₁ with φ X₀ ≤ X₁; reason: the paper's moments are an instance
- reading: can be used to distinguish the two cases → the approximation intervals are strictly separated: Y₀ < Y₁; reason: separation is what distinguishing means
Preamble
import Mathlib import Definitions.Def_CosDensity_Stream
Formal statement
namespace CosDensity
/-- **Distinguishing the two cases** (§8.7). Q. Zhang, *Frequency Moments Beyond Equality:
Streaming Cosine Density Moments*, arXiv:2609.06925 (held version, sha256 f4d4df22…), §8.7, p.36
(pdf_page 37): "Consequently, for any ϵ_p ∈ (0, (φ_p − 1)/(φ_p + 1)), a (1 + ϵ_p)-approximation to
M_p(P(z, q)) can be used to distinguish the two cases z_q = 0 and z_q = 1."
Let `0 < X₀`, `φ > 1`, `φ X₀ ≤ X₁` and `0 < ε < (φ − 1)/(φ + 1)`. Then `(1 + ε) X₀ < (1 − ε) X₁`,
and every `(1+ε)`-approximation of a value `M₀ ∈ [0, X₀]` is strictly smaller than every
`(1+ε)`-approximation of a value `M₁ ≥ X₁`.
**Formalization Note.** The paper's instance is `X₀ = V₀(q) + κ_p ν Q^p` (the bound (37) for
`z_q = 0`) and `X₁ = V₀(q) + κ_p Q^p` (the bound (38) for `z_q = 1`), with `φ = φ_p`. -/
theorem distinguish (X₀ X₁ φ ε : ℝ) (hX₀ : 0 < X₀) (hφ : 1 < φ) (hX : φ * X₀ ≤ X₁)
(hε0 : 0 < ε) (hε : ε < (φ - 1) / (φ + 1)) :
(1 + ε) * X₀ < (1 - ε) * X₁ ∧
∀ M₀ M₁ Y₀ Y₁ : ℝ, 0 ≤ M₀ → M₀ ≤ X₀ → X₁ ≤ M₁ →
IsApprox ε M₀ Y₀ → IsApprox ε M₁ Y₁ → Y₀ < Y₁ := by sorry
end CosDensity
Source
Q. Zhang, Frequency Moments Beyond Equality: Streaming Cosine Density Moments, arXiv:2609.06925 (held version, sha256 f4d4df22…), §8.7, p.36 (pdf_page 37)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.