Documentation

LeanPool.CCDN.Determinant.ProjectiveReduction

Projective reduction of primitive integer points, and the affine coordinate charts determined by their finite-field residue points.

@[reducible, inline]

The projective space ℙⁿ(𝔽_p) over the prime field 𝔽_p.

Equations
Instances For
    theorem CCDN.primitive_mod_ne_zero {n p : β„•} [Fact (Nat.Prime p)] (z : IntPoint n) (hz : Finset.univ.gcd z = 1) :
    (fun (i : Fin n) => ↑(z i)) β‰  0

    A primitive integer vector has nonzero reduction modulo every prime.

    The reduction modulo p of a primitive integer point, as a point of ℙⁿ(𝔽_p).

    Equations
    Instances For
      noncomputable def CCDN.projectiveResiduePivot {n p : β„•} [Fact (Nat.Prime p)] (r : ProjectiveResidueSpace n p) :
      Fin (n + 1)

      A coordinate index at which the chosen representative of a point of ℙⁿ(𝔽_p) is nonzero.

      Equations
      Instances For

        The representative of r is nonzero at the coordinate projectiveResiduePivot r.

        noncomputable def CCDN.projectiveResidueChartLift {n p : β„•} [Fact (Nat.Prime p)] (r : ProjectiveResidueSpace n p) :
        Fin n β†’ β„€

        Integer lifts of the affine coordinates of a point r of ℙⁿ(𝔽_p) in the chart where its pivot coordinate projectiveResiduePivot r is moved to the front and set to 1.

        Equations
        Instances For

          Modulo p, projectiveResidueChartLift r gives the coordinates of r divided by its pivot coordinate, with the pivot coordinate swapped to the front.

          The selected affine chart recovers the representative normalized by its pivot coordinate.

          Within a fixed pivot chart, affine residue coordinates determine the projective point.

          Reduction determines both a unit coordinate and all affine congruences; these are derived from equality of projective residue points.

          Homogeneous equations remain zero at the projective reduction.

          The integer chart representative of a projective residue zero satisfies the reduced affine equation.