Download data/lean/OAI/NumberTheory/Jacobsthal/Probability/FullBoxVarianceGeometry.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.24 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Jacobsthal/Probability/FullBoxVarianceGeometry.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/Jacobsthal/Probability/FullBoxVarianceGeometry.lean
-
curl -L -o FullBoxVarianceGeometry.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/Jacobsthal/Probability/FullBoxVarianceGeometry.lean
2.24 kB
| import OAI.NumberTheory.Jacobsthal.Partitions.FullBoxTotalLength | |
| namespace OAI | |
| namespace Erdos970 | |
| open scoped _root_.Erdos970 | |
| section | |
| namespace ErdosVarianceWeighted | |
| open NumberTheoryLean FinitePathGeometry PrimeHistories PrimeBinMembership StrongReferenceTransport SafeSubsetBoxGeometry | |
| ErdosCofactorChoices ErdosSubsetWord SingletonBinSelection LogarithmicBinScale | |
| theorem product_le_Y_of_length (w a : β) (hw : 1 < w) (ha : 0 β€ a) (Y d : β) | |
| (hY : 0 < Y) (hd : 0 < d) (hlen : a β€ Real.log ((Y : β)/(d : β))/Real.log w) : d β€ Y := by | |
| have hdR : (0 : β) < d := by exact_mod_cast hd | |
| have hYR : (0 : β) < Y := by exact_mod_cast hY | |
| have hh : w^a β€ (Y : β)/(d : β) := (Real.le_logb_iff_rpow_le hw (div_pos hYR hdR)).mp hlen | |
| have hratio : 1 β€ (Y : β)/(d : β) := (Real.one_le_rpow hw.le ha).trans hh | |
| have hreal := (le_div_iffβ hdR).mp hratio | |
| have hdle : (d : β) β€ Y := by simpa only [one_mul] using hreal | |
| exact_mod_cast hdle | |
| theorem full_box_variance_fibres {w top xi B C K a : β} | |
| (hw : 1 < w) (htop : w < top) (hxi : 0 < xi) (hC : 0 β€ C) (ha0 : 0 β€ a) | |
| (hcomp : Real.log B β€ 2*Real.log w) (Y : β) (hY : 0 < Y) (z : Node) | |
| (hroot : z.gap = Real.log (Y : β)/Real.log w-a+2) | |
| (hs : Valid z.side z.ratio) (hz : Consistent z) (hg : StrongState z) | |
| (hclosed : z.closed = true) (hcap : w^z.cutoff = top) | |
| (m : Fin (binCount w top xi) β β) (hanchor : SafeAnchor hw htop hxi C B K z m) | |
| (i : Fin (binCount w top xi)) (hi : m i = 1) : | |
| β f β selections (globalBins w top xi) (eraseMultiplicity m i),Squarefree (selectionProduct f) β§ | |
| (β t β (selectionProduct f).primeFactors,w < (t : β)) β§ | |
| (β p β globalBins w top xi i,(selectionProduct f).Coprime p β§ | |
| 3*a/4 β€ Real.log ((Y : β)/((p : β)*selectionProduct f))/Real.log w) := by | |
| intro f hf | |
| have harith := erased_cofactor_arithmetic hw htop hxi m i f hf | |
| have hlen := erased_cofactor_all_lengths hw htop hxi hC hcomp Y hY z hroot hs hz hg hclosed hcap m hanchor i hi f hf | |
| refine β¨harith.1,harith.2.1,?_β© | |
| intro p hp | |
| exact β¨harith.2.2 p hp,(by linarith : 3*a/4 β€ a).trans (hlen p hp)β© | |
| end ErdosVarianceWeighted | |
| end | |
| end Erdos970 | |
| end OAI | |