Documentation

TauCeti.NumberTheory.QuadraticOrder.Product

Congruence subalgebras of a product ring #

For a commutative ring R and s : R, the subalgebra productSubalgebra s of R × R consists of the pairs whose difference is divisible by s. It is generated by (s, 0) and is the image of QuadraticAlgebra R 0 s under evaluation at the roots s and 0. This evaluation is injective when s is left-regular, giving the basis (1, 1), (s, 0). The subalgebra is a finite R-module; over ℤ, Mathlib's PID instance supplies freeness.

The conductor of (s, 0) in R × R is the product of the two ideals generated by s. This also characterizes the ideals of the full product ring that lie in the congruence subalgebra. Units are exactly the contained pairs of units. Over ℤ there are four when s divides 2 and two otherwise; modulus 1 gives the full product ring.

The product subalgebra with coordinates congruent modulo s.

Instances For
    @[simp]
    theorem TauCeti.QuadraticOrder.mem_productSubalgebra {R : Type u_1} [CommRing R] (s : R) (z : R × R) :
    z ∈ productSubalgebra s ↔ s ∣ z.1 - z.2

    Membership is divisibility of the difference of the two coordinates.

    Evaluation of the quadratic model at the roots s and 0.

    Instances For
      @[simp]
      theorem TauCeti.QuadraticOrder.productLift_apply {R : Type u_1} [CommRing R] (s : R) (z : QuadraticAlgebra R 0 s) :
      (productLift s) z = (z.re + s * z.im, z.re)

      The evaluation map in coordinates.

      The quadratic model maps onto the congruence subalgebra.

      The congruence subalgebra is generated by (s, 0).

      A left-regular congruence modulus makes the evaluation map injective.

      The congruence subalgebra is a finite module.

      The quadratic model is isomorphic to the congruence product subalgebra.

      Instances For
        @[simp]

        The equivalence retains the evaluated pair.

        noncomputable def TauCeti.QuadraticOrder.productBasis {R : Type u_1} [CommRing R] (s : R) (hs : IsLeftRegular s) :

        The basis consists of the diagonal unit and (s, 0).

        Instances For
          @[simp]
          theorem TauCeti.QuadraticOrder.coe_productBasis_zero {R : Type u_1} [CommRing R] (s : R) (hs : IsLeftRegular s) :
          ↑((productBasis s hs) 0) = (1, 1)

          The first basis vector is the diagonal unit.

          @[simp]
          theorem TauCeti.QuadraticOrder.coe_productBasis_one {R : Type u_1} [CommRing R] (s : R) (hs : IsLeftRegular s) :
          ↑((productBasis s hs) 1) = (s, 0)

          The second basis vector is (s, 0).

          The conductor is the product of the two principal ideals generated by s.

          @[simp]

          The full product algebra is the congruence subalgebra of modulus one.

          @[simp]
          theorem TauCeti.QuadraticOrder.isUnit_productSubalgebra_iff {R : Type u_1} [CommRing R] (s : R) (z : ↥(productSubalgebra s)) :
          IsUnit z ↔ IsUnit (↑z).1 ∧ IsUnit (↑z).2

          Units of the congruence subalgebra are exactly the pairs of units it contains.

          An ideal of the full product ring lies in the congruence subalgebra exactly when both its coordinates are divisible by the modulus.

          Unless the modulus divides two, every unit is the diagonal unit or its negative.

          An integer congruence subalgebra has four units when its modulus divides two, and two otherwise.