OAI/NumberTheory/JointDickman/Arithmetic/PrimeCountChernoff.lean
3 declarations, 0 contain sorry, 0 declared as axioms
Exponential bounds for counts in a selected prime subset
- theorem
OAI.JointDickman.bernoulliSubsetMass_restricted_count_expline 13Source documentation
The exact generating function for the count in Q.
theorem bernoulliSubsetMass_restricted_count_exp (P Q : Finset ℕ) (q : ℕ → ℝ) (s : ℝ) : (∑ S ∈ P.powerset, bernoulliSubsetMass P q S * Real.exp (s * (S ∩ Q).card)) = ∏ p ∈ P ∩ Q, (1 - q p + q p * Real.exp s) := by …Mentions: OAI.JointDickman.bernoulliSubsetMass
- theorem
OAI.JointDickman.bernoulliSubsetMass_restricted_count_exp_boundline 34 - theorem
OAI.JointDickman.bernoulliSubsetMass_restricted_count_tailline 53Source documentation
Both upper and lower tails are covered by the signed threshold
s*r ≤ s*count; no asymptotic or distributional premise is hidden here.theorem bernoulliSubsetMass_restricted_count_tail (P Q : Finset ℕ) (q : ℕ → ℝ) (s r : ℝ) (hq : ∀ p ∈ P, 0 ≤ q p ∧ q p ≤ 1) : (∑ S ∈ P.powerset, if s * r ≤ s * (S ∩ Q).card then bernoulliSubsetMass P q S else 0) ≤ Real.exp (-s * r + (Real.exp s - 1) * ∑ p ∈ P ∩ Q, q p) := by …Mentions: OAI.JointDickman.bernoulliSubsetMass