Download data/lean/OAI/NumberTheory/PowerFree/Model.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PowerFree/Model.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/NumberTheory/PowerFree/Model.lean
-
curl -L -o Model.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/NumberTheory/PowerFree/Model.lean
1.14 kB
| import Mathlib | |
| namespace OAI | |
| open Filter Asymptotics | |
| open scoped Topology | |
| namespace QuarticPowerFree | |
| def PowerFree (k : β) (a : β€) : Prop := | |
| β p : β, p.Prime β Β¬ (p : β€) ^ k β£ a | |
| def rho (f : Polynomial β€) (q : β) : β := | |
| ((Finset.range q).filter fun a : β => (q : β€) β£ f.eval (a : β€)).card | |
| noncomputable def count (f : Polynomial β€) (k : β) (X : β) : β := by | |
| classical | |
| exact ((Finset.Icc 1 βXββ).filter fun n : β => PowerFree k (f.eval (n : β€))).card | |
| def LocallyAdmissible (f : Polynomial β€) (k : β) : Prop := | |
| β p : β, p.Prime β rho f (p ^ k) < p ^ k | |
| noncomputable def localFactor (f : Polynomial β€) (k : β) (p : Nat.Primes) : β := | |
| 1 - (rho f (p.val ^ k) : β) / (p.val : β) ^ k | |
| noncomputable def densityConstant (f : Polynomial β€) (k : β) : β := | |
| β' p : Nat.Primes, localFactor f k p | |
| def DensityStatement (f : Polynomial β€) (k : β) : Prop := | |
| Multipliable (localFactor f k) β§ | |
| 0 < densityConstant f k β§ | |
| (fun X : β => (count f k X : β) - densityConstant f k * X) =o[atTop] | |
| (fun X : β => X) | |
| end QuarticPowerFree | |
| end OAI | |