OAI/NumberTheory/EgyptianFractions/RandomProductFourier.lean
4 declarations, 0 contain sorry, 0 declared as axioms
- lemma
OAI.Problem337.sum_fiber_card_mulline 11Source documentation
Regroup a finite sum by the fibers of a map, with explicit fiber cardinalities.
lemma sum_fiber_card_mul {ι κ : Type*} [Fintype ι] [Fintype κ] [DecidableEq κ] (f : ι → κ) (g : κ → ℂ) : (∑ r : κ, ((Finset.univ.filter (fun a : ι => f a = r)).card : ℂ) * g r) = ∑ a : ι, g (f a) := by … - lemma
OAI.Problem337.primeProductModMass_averageline 30Source documentation
The mass function of a prime product is the pushforward of uniform counting.
lemma primeProductModMass_average (P : Finset ℕ) (s q : ℕ) [NeZero q] (g : ZMod q → ℂ) : (∑ r : ZMod q, (primeProductModMass P s q r : ℂ) * g r) = (∑ a : Fin s → ↥P, g ((∏ i, (a i : ℕ)) : ZMod q)) / (P.card : ℂ)^s := by …Mentions: OAI.Problem337.primeProductModMass
- lemma
OAI.Problem337.primeProductModMass_double_averageline 39Source documentation
Two independent prime products correspond to the product of their residue masses.
lemma primeProductModMass_double_average (P : Finset ℕ) (s q : ℕ) [NeZero q] (g : ZMod q → ZMod q → ℂ) : (∑ x : ZMod q, ∑ y : ZMod q, (primeProductModMass P s q x : ℂ) * (primeProductModMass P s q y : ℂ) * g x y) = (∑ a : Fin s → ↥P, ∑ b : Fin s → ↥P, g ((∏ i, (a i : ℕ)) : ZMod q) ((∏ i, (b i : ℕ)) : ZMod q)) / ((P.card : ℂ)^s)^2 := by …Mentions: OAI.Problem337.primeProductModMass
- theorem
OAI.Problem337.prime_product_bilinear_average_boundline 55Source documentation
Exponential cancellation for two independent uniform prime products whenever all attainable integer products are smaller than the modulus. Repetitions among sampled primes are permitted.
theorem prime_product_bilinear_average_bound (P : Finset ℕ) (hP : ∀ p ∈ P, Nat.Prime p) (hne : P.Nonempty) (s q : ℕ) [NeZero q] (hsmall : ∀ a : Fin s → ↥P, (∏ i, (a i : ℕ)) < q) (c : (ZMod q)ˣ) : ‖(∑ a : Fin s → ↥P, ∑ b : Fin s → ↥P, ZMod.stdAddChar ((c : ZMod q) * ((∏ i, (a i : ℕ)) : ZMod q) * ((∏ i, (b i : ℕ)) : ZMod q))) / ((P.card : ℂ)^s)^2‖ ≤ Real.sqrt (q : ℝ) * ((s.factorial : ℝ) / (P.card : ℝ)^s) := by …