Download data/lean/OAI/Combinatorics/MatrixRemoval/Asymptotics.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.63 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/MatrixRemoval/Asymptotics.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Combinatorics/MatrixRemoval/Asymptotics.lean
-
curl -L -o Asymptotics.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Combinatorics/MatrixRemoval/Asymptotics.lean
2.63 kB
| import Mathlib | |
| namespace OAI | |
| /-! | |
| Analytic conclusion of the ordered-matrix construction. | |
| The polynomial/geometric comparison uses | |
| `tendsto_pow_const_div_const_pow_of_one_lt`. | |
| -/ | |
| noncomputable section | |
| namespace Problem348 | |
| open Filter | |
| open scoped Topology | |
| /-- Exponential decay beats the inverse-polynomial distance parameter. -/ | |
| theorem exists_depth_polynomial_decay (c C : β) (hc : 0 < c) : | |
| β h : β, 1 β€ h β§ | |
| (1 / ((386 * (h : β) + 2) ^ 2)) * (1 / ((2 : β) ^ h)) < | |
| c * Real.rpow (1 / ((386 * (h : β) + 2) ^ 2)) C := by | |
| obtain β¨k, hkβ© := exists_nat_ge C | |
| have ht := (tendsto_pow_const_div_const_pow_of_one_lt (2 * k) | |
| (by norm_num : (1 : β) < 2)).const_mul ((388 : β) ^ (2 * k)) | |
| have hev : βαΆ h : β in atTop, | |
| (388 : β) ^ (2 * k) * ((h : β) ^ (2 * k) / (2 : β) ^ h) < c := by | |
| exact ht.eventually (gt_mem_nhds (by simpa using hc)) | |
| obtain β¨h, hh, hsmallβ© := (eventually_ge_atTop 1 |>.and hev).exists | |
| refine β¨h, hh, ?_β© | |
| have hhR : (1 : β) β€ h := by exact_mod_cast hh | |
| have hd : 0 < 386 * (h : β) + 2 := by positivity | |
| have hd1 : (1 : β) < 386 * (h : β) + 2 := by linarith | |
| have htwo : 0 < (2 : β) ^ h := by positivity | |
| have hpoly : (386 * (h : β) + 2) ^ (2 * k) β€ | |
| (388 : β) ^ (2 * k) * (h : β) ^ (2 * k) := by | |
| rw [β mul_pow] | |
| exact pow_le_pow_leftβ hd.le (by linarith) _ | |
| have hratio : (386 * (h : β) + 2) ^ (2 * k) / (2 : β) ^ h < c := by | |
| calc | |
| _ β€ ((388 : β) ^ (2 * k) * (h : β) ^ (2 * k)) / (2 : β) ^ h := | |
| div_le_div_of_nonneg_right hpoly htwo.le | |
| _ = (388 : β) ^ (2 * k) * ((h : β) ^ (2 * k) / (2 : β) ^ h) := by ring | |
| _ < c := hsmall | |
| have hepspos : 0 < 1 / ((386 * (h : β) + 2) ^ 2) := by positivity | |
| have hepsle : 1 / ((386 * (h : β) + 2) ^ 2) β€ 1 := by | |
| apply (div_le_one (by positivity)).2 | |
| nlinarith | |
| have hexponent : (1 / ((386 * (h : β) + 2) ^ 2)) ^ k β€ | |
| Real.rpow (1 / ((386 * (h : β) + 2) ^ 2)) C := by | |
| simpa using Real.rpow_le_rpow_of_exponent_ge hepspos hepsle hk | |
| have hsmall' : 1 / ((2 : β) ^ h) < | |
| c * (1 / ((386 * (h : β) + 2) ^ 2)) ^ k := by | |
| rw [div_pow, one_pow, β pow_mul, mul_one_div] | |
| apply (lt_div_iffβ (pow_pos hd (2 * k))).2 | |
| simpa [div_eq_mul_inv, mul_comm] using hratio | |
| calc | |
| _ β€ 1 / ((2 : β) ^ h) := by | |
| exact mul_le_of_le_one_left (by positivity) hepsle | |
| _ < c * (1 / ((386 * (h : β) + 2) ^ 2)) ^ k := hsmall' | |
| _ β€ c * Real.rpow (1 / ((386 * (h : β) + 2) ^ 2)) C := | |
| mul_le_mul_of_nonneg_left hexponent hc.le | |
| end Problem348 | |
| end | |
| end OAI | |