You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to Will Sawin for pointing out that both Claude and I missed
division by the product of degrees in the constant!
---------
Co-authored-by: Paul Lezeau <[email protected]>
{n : ZMod p | ∃ f ∈ polys, (f.map (Int.castRingHom (ZMod p))).eval n = 0}.ncard
43
+
{n : ZMod p | ∃ f ∈ polys, (f.map (Int.castRingHom (ZMod p))).eval n = 0}.ncard
44
44
45
-
/-- The Bateman-Horn constant of a set of polynomials `S`. This is defined as the infinite product over all primes:
46
-
$$\prod_p (1 - \frac{1}{p}) ^ {|S|} (1 - \frac{\omega_p(S)}{p}$$ where $\omega_p(S)}{p}$ is the number of residue classes mod $p$ where at least one polynomial in $S$ vanishes. -/
45
+
/-- The product of degrees of polynomials in a finite set. -/
46
+
defDegreesProduct (polys : Finset ℤ[X]) : ℕ :=
47
+
polys.prod (fun f => f.natDegree)
48
+
49
+
/-- The Bateman-Horn constant of a set of polynomials `S`. This is defined as the infinite product over all primes:
where $D = \prod_{f \in S} \deg(f)$ is the product of degrees and $\omega_p(S)$ is the number of residue classes mod $p$ where at least one polynomial in $S$ vanishes. -/
0 commit comments