File size: 1,139 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | 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
|