OAI/NumberTheory/TwoPointCorrelations/ResidueBox.lean
9 declarations, 0 contain sorry, 0 declared as axioms
Exact residue laws for one interval and three independent intervals. The box discrepancy is derived by tensoring the one-dimensional count, without estimating each individual three-dimensional residue atom.
- lemma
OAI.TwoPointCorrelations.finiteTotalVariation_productline 15Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:15 (same declaration text).
- def
OAI.TwoPointCorrelations.uniformZModLawline 44Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:44 (same declaration text).
- def
OAI.TwoPointCorrelations.intervalResidueLawline 49Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:49 (same declaration text).
- lemma
OAI.TwoPointCorrelations.intervalResidueLaw_totalVariationline 55Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:55 (same declaration text).
- lemma
OAI.TwoPointCorrelations.intervalResidueLaw_averageline 62Source documentation
The residue mass is the exact pushforward of uniform interval sampling.
Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:62 (same declaration text).
lemma intervalResidueLaw_average {D : ℕ} [NeZero D] (A : ZMod D) (N : ℕ) (hN : 0 < N) (f : ZMod D → ℝ) : (intervalResidueLaw A N hN).average f = (∑ j ∈ range N, f (A + (j : ZMod D))) / N := by … - def
OAI.TwoPointCorrelations.residueCubeLawline 76Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:76 (same declaration text).
- def
OAI.TwoPointCorrelations.uniformResidueCubeLawline 82Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:82 (same declaration text).
- theorem
OAI.TwoPointCorrelations.residueCube_totalVariationline 86Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:86 (same declaration text).
- theorem
OAI.TwoPointCorrelations.residueCube_probability_discrepancyline 110Source documentation
Any simultaneous collection of congruence conditions has the same
3D/Nbox error; the number of allowed residue vectors is irrelevant.Also declared: OAI/NumberTheory/TwoPoint/Bounds/ResidueBox.lean:110 (same declaration text).
theorem residueCube_probability_discrepancy {D : ℕ} [NeZero D] (A : ZMod D × ZMod D × ZMod D) (N : ℕ) (hN : 0 < N) (E : (ZMod D × ZMod D × ZMod D) → Prop) : |(residueCubeLaw A N hN).probability E - (uniformResidueCubeLaw D).probability E| ≤ 3 * D / (N : ℝ) := by …Mentions: OAI.TwoPointCorrelations.residueCubeLaw, OAI.TwoPointCorrelations.uniformResidueCubeLaw