Documentation

TauCeti.NumberTheory.QuadraticOrder.Split.Basic

Square-discriminant quadratic orders #

For a nonzero integer s, the canonical order of discriminant s² is isomorphic to {(x, y) : ℤ × ℤ | s ∣ x - y}. The isomorphism agrees with the rational splitting at the two roots s and -s, so it identifies the actual embedded orders.

This transfers the congruence product order's unit count to the canonical order. At discriminant one the order is the full integer product, with four units.

References #

noncomputable def TauCeti.QuadraticOrder.equivProductOfSq (s : ℤ) (hs : s ≠ 0) :

The canonical order of nonzero square discriminant is the integer congruence product order.

Instances For
    noncomputable def TauCeti.QuadraticOrder.algEquivProdOfIntSq (s : ℤ) (hs : s ≠ 0) :

    The rational quadratic algebra of a nonzero integer square splits at its two roots.

    Instances For
      @[simp]
      theorem TauCeti.QuadraticOrder.algEquivProdOfIntSq_apply (s : ℤ) (hs : s ≠ 0) (z : QuadraticAlgebra ℚ (↑(s ^ 2)) 0) :
      (algEquivProdOfIntSq s hs) z = (z.re + ↑s * z.im, z.re - ↑s * z.im)

      The rational splitting evaluates at the opposite integer roots.

      @[simp]
      theorem TauCeti.QuadraticOrder.coe_equivProductOfSq_apply (s : ℤ) (hs : s ≠ 0) (z : QuadraticAlgebra ℤ ((s ^ 2 - (s ^ 2) ^ 2) / 4) (s ^ 2)) :
      ↑((equivProductOfSq s hs) ((equivToSubalgebra (s ^ 2) ⋯) z)) = (z.re + ((s ^ 2 - s) / 2 + s) * z.im, z.re + (s ^ 2 - s) / 2 * z.im)

      The order isomorphism evaluates the shifted integral generator in both coordinates.

      theorem TauCeti.QuadraticOrder.equivProductOfSq_commutes (s : ℤ) (hs : s ≠ 0) (z : ↥(toSubalgebra (s ^ 2) ⋯)) :
      (algEquivProdOfIntSq s hs) ↑z = (↑(↑((equivProductOfSq s hs) z)).1, ↑(↑((equivProductOfSq s hs) z)).2)

      The order isomorphism agrees with the rational splitting on its embedded elements.

      The rational splitting identifies the embedded canonical order with the embedded congruence product order.

      The unit group of the square-discriminant order has cardinality four when s ∣ 2, and two otherwise.

      At discriminant one the canonical order is the full integer product.

      Instances For
        @[simp]

        The rational coordinates of the discriminant-one order equivalence evaluate at both roots.