Skip to content

Commit b681fb0

Browse files
refactor: restore named squeeze waypoints in headline theorem
Revert the h_lo/h_hi/h_res inlining in flowerDimension — the named intermediates are Mathlib-shaped and match the Route B squeeze narrative advertised in module docs.
1 parent 1df0eaf commit b681fb0

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

FdFormal/FlowerDimension.lean

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,20 @@ theorem flowerDimension (u v : ℕ) (hu : 1 < u) (huv : u ≤ v) :
171171
(ne_of_gt (pow_pos hw_pos g)),
172172
log_pow] at h_log
173173
linarith
174+
-- Both bounds → 0
175+
have h_lo : Tendsto (fun g : ℕ ↦ log c₁ / (↑g * log (↑u : ℝ)))
176+
atTop (nhds 0) :=
177+
h_denom.const_div_atTop _
178+
have h_hi : Tendsto (fun g : ℕ ↦ log 2 / (↑g * log (↑u : ℝ)))
179+
atTop (nhds 0) :=
180+
h_denom.const_div_atTop _
181+
-- Squeeze: residual → 0
174182
have h_res : Tendsto
175183
(fun g : ℕ ↦
176184
(log ↑(flowerVertCount u v g) - ↑g * log ↑(u + v)) /
177185
(↑g * log (↑u : ℝ)))
178186
atTop (nhds 0) :=
179-
(h_denom.const_div_atTop _).squeeze' (h_denom.const_div_atTop _)
180-
h_res_lower h_res_upper
187+
h_lo.squeeze' h_hi h_res_lower h_res_upper
181188
-- Step 5: residual + constant → 0 + constant = constant
182189
have h_sum := h_res.add
183190
(tendsto_const_nhds (x := log (↑(u + v) : ℝ) / log (↑u : ℝ)))

0 commit comments

Comments
 (0)