Buckets:
| import Mathlib.Analysis.SpecificLimits.Basic | |
| import OAI.Analysis.Laughlin.Spin.Highest2 | |
| namespace OAI | |
| namespace Laughlin.Spin | |
| open scoped Topology | |
| open Filter | |
| theorem spin_fraction_sub_tendsto (B S : ℕ → ℕ) (b : ℝ) | |
| (hB : Tendsto B atTop atTop) (hS : Tendsto S atTop atTop) | |
| (hfrac : Tendsto (fun n => (B n : ℝ)/(S n : ℝ)) atTop (𝓝 b)) (k : ℕ) : | |
| Tendsto (fun n => ((B n-k : ℕ) : ℝ)/(S n : ℝ)) atTop (𝓝 b) := by | |
| have hi := (tendsto_inv_atTop_nhds_zero_nat (𝕜 := ℝ)).comp hS | |
| have ht := hfrac.sub (hi.const_mul (k : ℝ)) | |
| have he : (fun n => (B n : ℝ)/(S n : ℝ)-(k : ℝ)*(S n : ℝ)⁻¹) =ᶠ[atTop] | |
| (fun n => ((B n-k : ℕ) : ℝ)/(S n : ℝ)) := by | |
| filter_upwards [hB.eventually (eventually_ge_atTop k)] with n hn | |
| rw [Nat.cast_sub hn] | |
| ring | |
| simpa using ht.congr' he | |
| theorem first_spin_fraction_tendsto (A B : ℕ → ℕ) (b : ℝ) | |
| (hA : Tendsto A atTop atTop) | |
| (hfrac : Tendsto (fun n => (B n : ℝ)/((A n : ℝ)+B n)) atTop (𝓝 b)) : | |
| Tendsto (fun n => (A n : ℝ)/((A n : ℝ)+B n)) atTop (𝓝 (1-b)) := by | |
| have ht := (tendsto_const_nhds (x := (1 : ℝ))).sub hfrac | |
| apply ht.congr' | |
| filter_upwards [hA.eventually (eventually_ge_atTop 1)] with n hn | |
| have hp : (0 : ℝ) < (A n : ℝ)+B n := by | |
| have h : (0 : ℝ) < A n := by exact_mod_cast (show 0 < A n by omega) | |
| positivity | |
| field_simp | |
| ring | |
| theorem ladder_ratio_tendsto (A B : ℕ → ℕ) (b : ℝ) | |
| (hA : Tendsto A atTop atTop) (hB : Tendsto B atTop atTop) | |
| (hb : b < 1) | |
| (hfrac : Tendsto (fun n => (B n : ℝ)/((A n : ℝ)+B n)) atTop (𝓝 b)) | |
| (p k : ℕ) : | |
| Tendsto (fun n => ladder (B n) k / ladder (A n) p) atTop | |
| (𝓝 (Real.sqrt ((((k : ℝ)+1)*b)/(((p : ℝ)+1)*(1-b))))) := by | |
| have hS : Tendsto (fun n => A n+B n) atTop atTop := | |
| tendsto_atTop_mono (fun n => Nat.le_add_right (A n) (B n)) hA | |
| have hb' : Tendsto (fun n => ((B n-k : ℕ) : ℝ)/((A n : ℝ)+B n)) atTop (𝓝 b) := by | |
| simpa only [Nat.cast_add] using spin_fraction_sub_tendsto B (fun n => A n+B n) b hB hS | |
| (by simpa only [Nat.cast_add] using hfrac) k | |
| have ha' : Tendsto (fun n => ((A n-p : ℕ) : ℝ)/((A n : ℝ)+B n)) atTop (𝓝 (1-b)) := by | |
| simpa only [Nat.cast_add] using spin_fraction_sub_tendsto A (fun n => A n+B n) (1-b) hA hS | |
| (by simpa only [Nat.cast_add] using first_spin_fraction_tendsto A B b hA hfrac) p | |
| have hnz : ((p : ℝ)+1)*(1-b) ≠ 0 := by positivity | |
| have ht := ((hb'.const_mul ((k : ℝ)+1)).div (ha'.const_mul ((p : ℝ)+1)) hnz).sqrt | |
| apply ht.congr' | |
| filter_upwards [hA.eventually (eventually_ge_atTop 1)] with n hn | |
| have hp : (0 : ℝ) < (A n : ℝ)+B n := by | |
| have h : (0 : ℝ) < A n := by exact_mod_cast (show 0 < A n by omega) | |
| positivity | |
| have he : (((k : ℝ)+1)*(((B n-k : ℕ) : ℝ)/((A n : ℝ)+B n))) / | |
| (((p : ℝ)+1)*(((A n-p : ℕ) : ℝ)/((A n : ℝ)+B n))) = | |
| (((k : ℝ)+1)*((B n-k : ℕ) : ℝ))/(((p : ℝ)+1)*((A n-p : ℕ) : ℝ)) := by | |
| field_simp | |
| simp only [Pi.div_apply] | |
| rw [he,Real.sqrt_div (by positivity)] | |
| rfl | |
| end Laughlin.Spin | |
| end OAI | |
Xet Storage Details
- Size:
- 3.11 kB
- Xet hash:
- b402334a0ec25454dab5c39e84f73c7dd82737e96fc2577b2f6ad9c545536ac7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.