Skip to content

Commit 71db259

Browse files
authored
chore: adjust the constants in the blueprint to the formalization (#473)
Also optimize a tiny bit one argument, giving very slightly better constants in the end. And fix the hyperlinks in the pdf file of the blueprint.
1 parent a2d6dcd commit 71db259

21 files changed

+294
-273
lines changed

Carleson/Antichain/AntichainOperator.lean

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ lemma M14_bound (hg : MemLp g 2 volume) :
231231
rw [show (2 : ℝ≥0∞) = (2 : ℝ≥0) by rfl, ← ENNReal.coe_pow, ENNReal.coe_le_coe]
232232
exact C2_0_6_q₆_le a4
233233

234-
/-- Constant appearing in Lemma 6.1.4. -/
234+
/-- Constant appearing in Lemma 6.1.4.
235+
Has value `2 ^ (117 * a ^ 3)` in the blueprint. -/
235236
irreducible_def C6_1_4 (a : ℕ) : ℝ≥0 := 2 ^ ((𝕔 + 5 + 𝕔 / 8) * a ^ 3)
236237

237238
lemma le_C6_1_4 (a4 : 4 ≤ a) :
@@ -314,30 +315,30 @@ lemma dens1_antichain (h𝔄 : IsAntichain (· ≤ ·) 𝔄) (hf : Measurable f)
314315
grw [← ENNReal.rpow_le_rpow_iff (show (0 : ℝ) < (2 : ℕ) by norm_num),
315316
ENNReal.rpow_natCast, ENNReal.rpow_natCast, dens1_antichain_sq h𝔄 hg hgG]
316317

317-
/-- The constant appearing in Proposition 2.0.3. -/
318-
def C2_0_3 (a : ℕ) (q : ℝ≥0) : ℝ≥0 := 2 ^ ((𝕔 + 8 + 𝕔 / 8) * a ^ 3) / (q - 1)
318+
/-- The constant appearing in Proposition 2.0.3.
319+
Has value `2 ^ (117 * a ^ 3)` in the blueprint. -/
320+
def C2_0_3 (a : ℕ) (q : ℝ≥0) : ℝ≥0 := 2 ^ ((𝕔 + 5 + 𝕔 / 8) * a ^ 3) / (q - 1)
319321

320322
variable (X) in
321323
omit [TileStructure Q D κ S o] in
322324
private lemma ineq_aux_2_0_3 :
323325
((2 ^ ((𝕔 + 5 + 𝕔 / 8 : ℕ) * a ^ 3) : ℝ≥0) : ℝ≥0∞) ^ (q - 1) *
324-
(((2 ^ ((𝕔 + 8) * a ^ 3) : ℝ≥0) : ℝ≥0∞) * (nnq - 1)⁻¹) ^ (2 - q) ≤
325-
(2 ^ ((𝕔 + 8 + 𝕔 / 8 : ℕ) * a ^ 3) / (nnq - 1) : ℝ≥0) := by
326+
(((2 ^ ((𝕔 + 3) * a ^ 3) : ℝ≥0) : ℝ≥0∞) * (nnq - 1)⁻¹) ^ (2 - q) ≤
327+
(2 ^ ((𝕔 + 5 + 𝕔 / 8 : ℕ) * a ^ 3) / (nnq - 1) : ℝ≥0) := by
326328
have hq1 : 0 ≤ q - 1 := sub_nonneg.mpr (NNReal.coe_le_coe.mpr (nnq_mem_Ioc X).1.le)
327329
have hq2 : 02 - q := sub_nonneg.mpr (NNReal.coe_le_coe.mpr (nnq_mem_Ioc X).2)
328330
have h21 : (2 : ℝ) - 1 = 1 := by norm_num
329331
calc
330332
_ = ((2 ^ ((𝕔 + 5 + 𝕔 / 8 : ℕ) * a ^ 3) : ℝ≥0) : ℝ≥0∞) ^ (q - 1) *
331-
(((2 ^ ((𝕔 + 8 + 0) * a ^ 3) : ℝ≥0) : ℝ≥0∞)) ^ (2 - q) * (nnq - 1)⁻¹ ^ (2 - q) := by
333+
(((2 ^ ((𝕔 + 3 + 0) * a ^ 3) : ℝ≥0) : ℝ≥0∞)) ^ (2 - q) * (nnq - 1)⁻¹ ^ (2 - q) := by
332334
rw [ENNReal.mul_rpow_of_nonneg _ _ hq2]; ring
333-
_ ≤ ((2 ^ ((𝕔 + 8 + 𝕔 / 8 : ℕ) * a ^ 3) : ℝ≥0) : ℝ≥0∞) ^ (q - 1) *
334-
(((2 ^ ((𝕔 + 8 + 𝕔 / 8 : ℕ) * a ^ 3) : ℝ≥0) : ℝ≥0∞)) ^ (2 - q) * (nnq - 1)⁻¹ := by
335+
_ ≤ ((2 ^ ((𝕔 + 5 + 𝕔 / 8 : ℕ) * a ^ 3) : ℝ≥0) : ℝ≥0∞) ^ (q - 1) *
336+
(((2 ^ ((𝕔 + 5 + 𝕔 / 8 : ℕ) * a ^ 3) : ℝ≥0) : ℝ≥0∞)) ^ (2 - q) * (nnq - 1)⁻¹ := by
335337
have h11 : (1 + 1 : ℝ≥0) = 2 := by norm_num
336338
gcongr
337339
· norm_num
338340
· norm_num
339341
· norm_num
340-
· simp
341342
· refine ENNReal.rpow_le_self_of_one_le ?_ (by linarith)
342343
rw [one_le_coe_iff, one_le_inv₀ (tsub_pos_iff_lt.mpr (nnq_mem_Ioc X).1), tsub_le_iff_right,
343344
h11]; exact (nnq_mem_Ioc X).2
@@ -369,8 +370,7 @@ theorem antichain_operator (h𝔄 : IsAntichain (· ≤ ·) 𝔄) (hf : Measurab
369370
simp only [hq2, h21, one_div, sub_self, ENNReal.rpow_zero, mul_one]
370371
apply (dens1_antichain h𝔄 hf hf1 hg hg1).trans
371372
gcongr
372-
simp only [C2_0_3, hnnq2, h21', div_one, C6_1_4]
373-
gcongr <;> norm_num
373+
simp only [C6_1_4, C2_0_3, hnnq2, h21', div_one, le_refl]
374374
· have hq2' : 0 < 2 - q :=
375375
sub_pos.mpr (lt_of_le_of_ne (NNReal.coe_le_coe.mpr (nnq_mem_Ioc X).2) hq2)
376376
-- Take the (2-q)-th power of 6.1.11

Carleson/Antichain/Basic.lean

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ lemma tile_disjointness {𝔄 : Set (𝔓 X)} (h𝔄 : IsAntichain (· ≤ ·) (
8787

8888
open ENNReal Metric NNReal Real
8989

90-
/-- Constant appearing in Lemma 6.1.2. -/
91-
noncomputable def C6_1_2 (a : ℕ) : ℕ := 2 ^ ((𝕔 + 7) * a ^ 3)
90+
/-- Constant appearing in Lemma 6.1.2.
91+
Has value `2 ^ (102 * a ^ 3)` in the blueprint. -/
92+
noncomputable def C6_1_2 (a : ℕ) : ℕ := 2 ^ ((𝕔 + 2) * a ^ 3)
9293

9394
lemma C6_1_2_ne_zero (a : ℕ) : (C6_1_2 a : ℝ≥0∞) ≠ 0 := by rw [C6_1_2]; positivity
9495

@@ -212,13 +213,9 @@ lemma maximal_bound_antichain {𝔄 : Set (𝔓 X)} (h𝔄 : IsAntichain (· ≤
212213
· gcongr
213214
rw [C6_1_2, add_comm (5 * a), add_assoc]; norm_cast
214215
apply pow_le_pow_right₀ one_le_two
215-
calc
216-
_ ≤ (𝕔 + 1) * a ^ 3 + 6 * a ^ 3:= by
217-
rw [add_le_add_iff_left]
218-
ring_nf
219-
gcongr
220-
exact le_self_pow₀ (by linarith [four_le_a X]) (by omega)
221-
_ = (𝕔 + 7) * a ^ 3 := by ring
216+
ring_nf
217+
suffices 6 * a ≤ a ^ 3 by omega
218+
linarith [sixteen_times_le_cube (four_le_a X)]
222219
· exact lt_of_le_of_lt hdist_cp
223220
(mul_lt_mul_of_nonneg_of_pos (by linarith) (le_refl _) (by linarith) hDpow_pos)
224221
_ ≤ C6_1_2 a * MB volume 𝔄 𝔠 (8 * D ^ 𝔰 ·) f x := by
@@ -232,8 +229,8 @@ lemma maximal_bound_antichain {𝔄 : Set (𝔓 X)} (h𝔄 : IsAntichain (· ≤
232229
simp [h0]
233230

234231
/-- Constant appearing in Lemma 6.1.3.
235-
Note: the proof shows that `111` can be replaced by `108`. -/
236-
noncomputable def C6_1_3 (a : ℕ) (q : ℝ≥0) : ℝ≥0 := 2 ^ ((𝕔 + 8) * a ^ 3) * (q - 1)⁻¹
232+
Has value `2 ^ (103 * a ^ 3)` in the blueprint. -/
233+
noncomputable def C6_1_3 (a : ℕ) (q : ℝ≥0) : ℝ≥0 := 2 ^ ((𝕔 + 3) * a ^ 3) * (q - 1)⁻¹
237234

238235
-- Namespace for auxiliaries used in the proof of Lemma 6.1.3.
239236
namespace Lemma6_1_3
@@ -411,8 +408,8 @@ lemma const_check : C6_1_2 a * C2_0_6 (defaultA a) (p X).toNNReal 2 ≤ C6_1_3 a
411408
_ = (2 * q - 1) * (q - 1)⁻¹ := by field_simp [hqiq]
412409
_ ≤ _ := by gcongr; linarith only [q_mem_Ioc X |>.2]
413410
calc
414-
_ ≤ 2 ^ ((𝕔 + 7) * a ^ 3) * (2 ^ (2 * a + 4) * (q - 1)⁻¹) := by simp [C6_1_2, hc_le]
415-
_ ≤ 2 ^ ((𝕔 + 8) * a ^ 3) * (q - 1)⁻¹ := by
411+
_ ≤ 2 ^ ((𝕔 + 2) * a ^ 3) * (2 ^ (2 * a + 4) * (q - 1)⁻¹) := by simp [C6_1_2, hc_le]
412+
_ ≤ 2 ^ ((𝕔 + 3) * a ^ 3) * (q - 1)⁻¹ := by
416413
rw [← mul_assoc, ← pow_add]
417414
gcongr
418415
· norm_num

0 commit comments

Comments
 (0)