lemmacubic_cube_row_twist (S : FinsetEisenstein) (hS : ∀ b ∈S,primary b)
(u : Eisenstein→ℂ) (w c t s : Eisenstein) :
cubicRowEnergy S u (w*s*t^2*c^3) =
cubicRowEnergy S (fun b => u b * cubicSymbol b (w*t^2*c^3)) s :=by
proof · 6
lines
unfold cubicRowEnergy
congr 2
apply Finset.sum_congr rfl
intro b hb
rw [show w*s*t^2*c^3 = (w*t^2*c^3)*s by ring,cubicSymbol_mul_upper (hS b hb)]
ring
lemmacubic_cube_row_twist_conj (S : FinsetEisenstein) (hS : ∀ b ∈S,primary b)
(u : Eisenstein→ℂ) (w c t s : Eisenstein) :
cubicRowEnergy S u (w*t*s^2*c^3) =
cubicRowEnergy S (fun b => star (u b * cubicSymbol b (w*t*c^3))) s :=by
proof · 10
lines
unfold cubicRowEnergy
havehe : (∑ b ∈S, u b * cubicSymbol b (w*t*s^2*c^3)) =
star (∑ b ∈S, star (u b * cubicSymbol b (w*t*c^3)) * cubicSymbol b s) :=by
rw [star_sum]
apply Finset.sum_congr rfl
intro b hb
rw [star_mul,star_star,show w*t*s^2*c^3 = (w*t*c^3)*s^2by ring,
cubicSymbol_mul_upper (hS b hb),cubicSymbol_pow_upper (hS b hb),cubicSymbol_sq_eq_star (hS b hb)]
ring
rw [he,norm_star]
lemmacubic_twist_energy_le (S : FinsetEisenstein) (hS : ∀ b ∈S,primary b)
(u : Eisenstein→ℂ) (m : Eisenstein) :
∑ b ∈S, ‖u b * cubicSymbol b m‖^2≤∑ b ∈S, ‖u b‖^2:=by
proof · 5
lines
apply Finset.sum_le_sum
intro b hb
rw [norm_mul,mul_pow]
exact mul_le_of_le_one_right (sq_nonneg _) (by
simpa using pow_le_pow_left₀ (_root_.norm_nonneg _) (norm_cubicSymbol_le_one (hS b hb) m) 2)
lemmacubic_cube_box_bound (S : FinsetEisenstein) (hS : ∀ b ∈S,primary b)
(u : Eisenstein→ℂ) (w c t : Eisenstein) (YK : ℝ) (hK : 0≤K)
(hop : ∀v : Eisenstein→ℂ, ∑ s ∈ squarefreePrimaryBall Y,
cubicRowEnergy S v s ≤K * ∑ b ∈S, ‖v b‖^2) :
(∑ s ∈ squarefreePrimaryBall Y, cubicRowEnergy S u (w*s*t^2*c^3)) +
(∑ s ∈ squarefreePrimaryBall Y, cubicRowEnergy S u (w*t*s^2*c^3)) ≤2*K*∑ b ∈S, ‖u b‖^2:=by
proof · 8
lines
simp_rw [cubic_cube_row_twist S hS u w c t,
cubic_cube_row_twist_conj S hS u w c t]
have h1 := (hop (fun b => u b * cubicSymbol b (w*t^2*c^3))).trans
(mul_le_mul_of_nonneg_left (cubic_twist_energy_le S hS u _) hK)
have h2 := hop (fun b => star (u b * cubicSymbol b (w*t*c^3)))
simp only [norm_star] at h2
have h2 := h2.trans (mul_le_mul_of_nonneg_left (cubic_twist_energy_le S hS u _) hK)
linarith
(nonzeroNormBall 9).sigma fun _w =>
(nonzeroNormBall (X^(1/3:ℝ))).sigma fun c =>
(squarefreePrimaryBall (X^(1/3:ℝ)/norm c)).sigma fun t =>
squarefreePrimaryBall (X / ((norm t)^2*(norm c)^3))
lemmacube_parameter_bounds {Xa b c : ℝ} (hX : 0≤X) (_ : 1≤ a) (hb : 1≤ b)
(hc : 1≤ c) (hab : b ≤ a) (hprod : a*b^2*c^3≤X) :
c ≤X^(1/3:ℝ) ∧ b ≤X^(1/3:ℝ)/c ∧ a ≤X/(b^2*c^3) :=by
proof · 14
lines
havehc0 : 0 < c := lt_of_lt_of_le zero_lt_one hc
havehb0 : 0 < b := lt_of_lt_of_le zero_lt_one hb
havehd : 0 < b^2*c^3:=by positivity
havehbc : (b*c)^3≤X:=bycalc
_ = b*b^2*c^3:=by ring
_ ≤ a*b^2*c^3:=by gcongr
_ ≤X:= hprod
havehrt : b*c ≤X^(1/3:ℝ) :=by
rw [one_div]
apply (Real.le_rpow_inv_iff_of_pos (bypositivity : 0≤ b*c) hX (bynorm_num : (0:ℝ)<3)).mpr
simpa only [show (3:ℝ) = (3:ℕ) by norm_num,Real.rpow_natCast] using hbc
exact ⟨(le_mul_of_one_le_left hc0.le hb).trans hrt,
(le_div_iff₀ hc0).mpr hrt,(le_div_iff₀ hd).mpr (by simpa [mul_assoc] using hprod)⟩
lemmacubic_full_cube_sum_le {X : ℝ} (hX : 1≤X)
(S : FinsetEisenstein) (u : Eisenstein→ℂ) :
∑ m ∈ nonzeroNormBall X, cubicRowEnergy S u m ≤∑ w ∈ nonzeroNormBall 9, ∑ c ∈ nonzeroNormBall (X^(1/3:ℝ)),
∑ t ∈ squarefreePrimaryBall (X^(1/3:ℝ)/norm c),
((∑ s ∈ squarefreePrimaryBall (X/((norm t)^2*(norm c)^3)),
cubicRowEnergy S u (w*s*t^2*c^3)) +
(∑ s ∈ squarefreePrimaryBall (X/((norm t)^2*(norm c)^3)),
cubicRowEnergy S u (w*t*s^2*c^3))) :=by
proof · 15
lines
let f := cubicRowEnergy S u
letI:= cubeIndices Xhave hn (m : Eisenstein) : 0≤ f m := cubicRowEnergy_nonneg S u m
have h1 :=Finset.sum_le_sum_of_subset_of_nonneg
(nonzero_ball_subset_cube_images hX) (fun m _ _ => hn m)
haveh2 : ∑ m ∈I.image cubeMap₁ ∪I.image cubeMap₂, f m ≤
(∑ m ∈I.image cubeMap₁, f m) + (∑ m ∈I.image cubeMap₂, f m) :=by
rw [←Finset.sum_union_inter]
exact le_add_of_nonneg_right (Finset.sum_nonneg (fun m _ => hn m))
have h3 := add_le_add
(Finset.sum_image_le_of_nonneg (s :=I) (g := cubeMap₁) (fun m _ => hn m))
(Finset.sum_image_le_of_nonneg (s :=I) (g := cubeMap₂) (fun m _ => hn m))
apply (h1.trans h2).trans
convert h3 using1
simp only [I,cubeIndices,Finset.sum_sigma,cubeMap₁,cubeMap₂,Finset.sum_add_distrib,f]
theoremcubic_full_cube_bound {X : ℝ} (hX : 1≤X)
(S : FinsetEisenstein) (hS : ∀ b ∈S,primary b) (u : Eisenstein→ℂ)
(K : ℝ→ℝ) (hK : ∀Y, 0≤KY)
(hop : ∀ (Y : ℝ) (v : Eisenstein→ℂ),
∑ s ∈ squarefreePrimaryBall Y, cubicRowEnergy S v s ≤KY * ∑ b ∈S, ‖v b‖^2) :
∑ m ∈ nonzeroNormBall X, cubicRowEnergy S u m ≤2 * ((nonzeroNormBall 9).card : ℝ) *
(∑ c ∈ nonzeroNormBall (X^(1/3:ℝ)),
∑ t ∈ squarefreePrimaryBall (X^(1/3:ℝ)/norm c),
K (X/((norm t)^2*(norm c)^3))) * ∑ b ∈S, ‖u b‖^2:=by
proof · 8
lines
apply (cubic_full_cube_sum_le hX S u).trans
have hb :=Finset.sum_le_sum (s := nonzeroNormBall 9) (fun w _ =>Finset.sum_le_sum (s := nonzeroNormBall (X^(1/3:ℝ))) (fun c _ =>Finset.sum_le_sum (s := squarefreePrimaryBall (X^(1/3:ℝ)/norm c)) (fun t _ =>
cubic_cube_box_bound S hS u w c t (X/((norm t)^2*(norm c)^3)) _ (hK _) (hop _))))
convert hb using1
simp only [←Finset.mul_sum,←Finset.sum_mul,Finset.sum_const, nsmul_eq_mul]
ring