OAI/NumberTheory/Ostmann/Construction/IntegerIntervalDistribution.lean
6 declarations, 0 contain sorry, 0 declared as axioms
Elementary interval distribution for the external integer giant
- theorem
OAI.Ostmann.integer_interval_residue_errorline 16 - theorem
OAI.Ostmann.real_interval_residue_errorline 46 - theorem
OAI.Ostmann.integer_log_interval_residue_errorline 70Source documentation
The logarithmic integer coordinate has main density
exp(t)/q. Multiplication by its original normalization costs exactly the same factor on the uniform absolute error.theorem integer_log_interval_residue_error (q a : ℕ) (hq : 0 < q) (s t G : ℝ) (hst : s ≤ t) : |Real.exp (-G) * (((Finset.Ioc ⌊Real.exp s⌋₊ ⌊Real.exp t⌋₊).filter fun n => Nat.ModEq q n a).card : ℝ) - Real.exp (-G) * ((Real.exp t - Real.exp s) / q)| ≤ 2 * Real.exp (-G) := by … - def
OAI.Ostmann.integerLogDensityline 80 - theorem
OAI.Ostmann.integerLogDensity_integralline 83 - theorem
OAI.Ostmann.integer_log_density_errorline 100Source documentation
The external integer coordinate has the claimed real log density, with an explicit absolute error uniform in every residue class.
theorem integer_log_density_error (q a : ℕ) (hq : 0 < q) (s t G : ℝ) (hst : s ≤ t) : |Real.exp (-G) * (((Finset.Ioc ⌊Real.exp s⌋₊ ⌊Real.exp t⌋₊).filter fun n => Nat.ModEq q n a).card : ℝ) - ∫ y in Set.Ioc s t, integerLogDensity q G y| ≤ 2 * Real.exp (-G) := by …Mentions: OAI.Ostmann.integerLogDensity