Integral points in real-radius boxes #
Coordinates are integers; membership in the locus is tested after casting to rational numbers.
The definition works for real radii, including the boundary B = 1 in CCDN Theorem 3.
InBox x B states that every coordinate of x has absolute value at most B; for points of
ℤⁿ it is membership in the finite box integerBox n B (mem_integerBox). The counted sets
are typically zero loci zeroLocus f of rational polynomials.
Integer points of affine n-space, as vectors Fin n → ℤ.
Equations
- CCDN.IntPoint n = (Fin n → ℤ)
Instances For
Rational points of affine n-space, as vectors Fin n → ℚ.
Equations
- CCDN.RatPoint n = (Fin n → ℚ)
Instances For
The integer point x, regarded as a rational point by casting each coordinate.
Equations
- CCDN.rationalPoint x i = ↑(x i)
Instances For
The finite box of integer points of ℤⁿ all of whose coordinates have absolute value at
most the real radius B.
Equations
- CCDN.integerBox n B = Fintype.piFinset fun (x : Fin n) => Finset.Icc (-⌊B⌋) ⌊B⌋
Instances For
An integer point lies in integerBox n B exactly when all its coordinates have absolute value
at most B.
The integer points of absolute value at most B whose rational image lies in the set X.
Equations
- CCDN.integralPoints X B = {x ∈ CCDN.integerBox n B | CCDN.rationalPoint x ∈ X}
Instances For
The number of integer points with all coordinates of absolute value at most B whose rational
image lies in the set X.
Equations
- CCDN.count X B = (CCDN.integralPoints X B).card
Instances For
The rational zeros of a polynomial with rational coefficients.
Equations
- CCDN.zeroLocus f = {x : CCDN.RatPoint n | (MvPolynomial.eval x) f = 0}