Download data/lean/OAI/NumberTheory/Jacobsthal/Analysis/NormalizedCollisionSmallness.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Jacobsthal/Analysis/NormalizedCollisionSmallness.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/Jacobsthal/Analysis/NormalizedCollisionSmallness.lean
-
curl -L -o NormalizedCollisionSmallness.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Jacobsthal/Analysis/NormalizedCollisionSmallness.lean
2.16 kB
| import Mathlib | |
| import OAI.NumberTheory.Jacobsthal.Estimates.UniformCollisionError | |
| namespace OAI | |
| namespace Erdos970 | |
| section | |
| namespace ErdosLineCollision | |
| theorem normalized_collision_bound (I K C n R N L : β) | |
| (hK0 : 0 β€ K) (hC : 0 β€ C) (hn : 0 < n) (hN : 0 < N) (hL : 0 < L) | |
| (hcollision : I^2 β€ K*(C*N^2+I)) (hthin : K β€ n*R/L^6) (hI : I β€ n*N) : | |
| (I/(n*N))^2 β€ C*R/(n*L^6)+R/(N*L^6) := by | |
| have hup : I^2 β€ (n*R/L^6)*(C*N^2+n*N) := by | |
| calc | |
| _ β€ K*(C*N^2+I) := hcollision | |
| _ β€ K*(C*N^2+n*N) := mul_le_mul_of_nonneg_left (add_le_add le_rfl hI) hK0 | |
| _ β€ _ := mul_le_mul_of_nonneg_right hthin (by positivity) | |
| rw [div_pow] | |
| calc | |
| _ β€ ((n*R/L^6)*(C*N^2+n*N))/(n*N)^2 := | |
| div_le_div_of_nonneg_right hup (sq_nonneg _) | |
| _ = _ := by field_simp | |
| end ErdosLineCollision | |
| end | |
| section | |
| open Filter | |
| open scoped Topology | |
| namespace ErdosSourceCollision | |
| open ErdosLineCollision | |
| theorem uniform_normalized_collision (C eta eps : β) (hC : 0 β€ C) (heta : 0 < eta) (heps : 0 < eps) : | |
| βαΆ z : β in atTop, 1 < z β§ β inc K R N n : β, | |
| 1 < R β R β€ z^((1 : β)/100) β z^((93 : β)/100) β€ N β | |
| eta*R/(4*Real.log R) β€ n β 0 β€ K β | |
| inc^2 β€ K*(C*N^2+inc) β K β€ n*R/(Real.log z)^6 β inc β€ n*N β | |
| inc β€ eps*n*N := by | |
| filter_upwards [uniform_collision_error C eta eps hC heta heps] with z hz | |
| refine β¨hz.1,?_β© | |
| intro inc K R N n hR hRz hN hcount hK hcoll hthin hI | |
| have hz0 : 0 < z := by linarith [hz.1] | |
| have hR0 : 0 < R := by linarith | |
| have hlogR : 0 < Real.log R := Real.log_pos hR | |
| have hn : 0 < n := (div_pos (mul_pos heta hR0) (mul_pos (by norm_num) hlogR)).trans_le hcount | |
| have hNp : 0 < N := (Real.rpow_pos_of_pos hz0 _).trans_le hN | |
| have hL : 0 < Real.log z := by linarith [hz.2.1] | |
| have hsq := (normalized_collision_bound inc K C n R N (Real.log z) hK hC hn hNp hL hcoll hthin hI).trans | |
| (hz.2.2 R N n hR hRz hN hcount) | |
| have hratio : inc/(n*N) β€ eps := by nlinarith [sq_nonneg (inc/(n*N)-eps)] | |
| have hh := (div_le_iffβ (mul_pos hn hNp)).mp hratio | |
| nlinarith | |
| end ErdosSourceCollision | |
| end | |
| end Erdos970 | |
| end OAI | |