Buckets:
| import OAI.NumberTheory.TwoPointCorrelations.HalaszHyperbola | |
| import Mathlib.Algebra.BigOperators.Group.Finset.Sigma | |
| namespace OAI | |
| /-! Row decomposition of the finite positive hyperbola. -/ | |
| namespace TwoPointCorrelations | |
| open Finset | |
| theorem halasz_hyperbola_rows (F : ℕ → ℕ → ℂ) (N : ℕ) : | |
| (∑ p ∈ halaszHyperbola N, F p.1 p.2) = | |
| ∑ d ∈ Icc 1 N, ∑ m ∈ Icc 1 (N / d), F d m := by | |
| classical | |
| simp only [halaszHyperbola, sum_filter, Finset.product_eq_sprod] | |
| rw [sum_product (Icc 1 N) (Icc 1 N) | |
| (fun p : ℕ × ℕ => if p.1 * p.2 ≤ N then F p.1 p.2 else 0)] | |
| apply sum_congr rfl | |
| intro d hd | |
| rw [← sum_filter] | |
| apply sum_congr ?_ (fun _ _ => rfl) | |
| ext m | |
| have hdpos := (mem_Icc.mp hd).1 | |
| simp only [mem_filter, mem_Icc] | |
| constructor | |
| · rintro ⟨⟨hm, _⟩, hprod⟩ | |
| refine ⟨hm, (Nat.le_div_iff_mul_le hdpos).mpr ?_⟩ | |
| simpa only [Nat.mul_comm] using hprod | |
| · rintro ⟨hm, hquot⟩ | |
| refine ⟨⟨hm, hquot.trans (Nat.div_le_self N d)⟩, ?_⟩ | |
| simpa only [Nat.mul_comm] using (Nat.le_div_iff_mul_le hdpos).mp hquot | |
| end TwoPointCorrelations | |
| end OAI | |
Xet Storage Details
- Size:
- 1.13 kB
- Xet hash:
- 203b48670a8389c86bfe8583620447f7557dbcde6bde9098a20ef23d06b71e8b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.