Documentation

TauCeti.NumberTheory.BinaryQuadraticForm.Ideal.Change

Form ideals under proper changes of variables #

For the left action γ • f = f ∘ γ⁻¹, write γ = !![p,q;r,s] and β = (-b + √D)/2. The transformed ideal is the original ideal multiplied by star (a s + r β) / a. This factor has norm a'/a, where a' is the transformed leading coefficient. The two basis-vector identities require a nonzero original leading coefficient and also cover square discriminants and a zero transformed leading coefficient. The norm formula holds even when the original leading coefficient is zero, when both sides vanish. Positivity of the norm is equivalent to positivity of a * a', the comparison needed for the oriented narrow class. The canonical norm statements use QuadraticAlgebra.norm; the existing algebra-norm bridge also simplifies Algebra.norm expressions. The factor is nonzero whenever the original leading coefficient is nonzero, at any quadratic parameter. The native fractional-ideal statements use the nonsquare hypothesis.

Conversely, a positive-norm homothety between the fractional ideals of positive-leading forms gives a proper equivalence, for either sign of nonsquare discriminant (exists_smul_eq_of_fractionalIdeal_eq_of_norm_pos). The orientation of their two ideal bases determines the sign of the integral change-of-basis determinant, independently of any Picard-class construction.

References #

The ideal-scaling factor for the left proper-equivalence action, defined using the rational inverse of the leading coefficient at any discriminant.

Instances For
    @[simp]
    theorem TauCeti.BinaryQuadraticForm.idealChangeFactor_mul_first (f : BinaryQuadraticForm ℤ) (D : ℤ) (hf : f.discrim = D) (ha : f.a ≠ 0) (γ : Matrix.SpecialLinearGroup (Fin 2) ℤ) :
    f.idealChangeFactor D γ * (↑(↑γ 1 1) * ↑f.a + ↑(↑γ 1 0) * f.idealGenerator D) = ↑(γ • f).a

    Scaling the first changed basis vector gives the new leading coefficient.

    @[simp]
    theorem TauCeti.BinaryQuadraticForm.idealChangeFactor_mul_second (f : BinaryQuadraticForm ℤ) (D : ℤ) (hf : f.discrim = D) (ha : f.a ≠ 0) (γ : Matrix.SpecialLinearGroup (Fin 2) ℤ) :
    f.idealChangeFactor D γ * (↑(↑γ 0 1) * ↑f.a + ↑(↑γ 0 0) * f.idealGenerator D) = (γ • f).idealGenerator D

    Scaling the second changed basis vector gives the new second ideal generator.

    @[simp]

    The scaling factor has norm equal to the ratio of leading coefficients, including a zero original leading coefficient, when both sides vanish.

    The change factor has positive norm exactly when the old and new leading coefficients have positive product.

    The change factor is nonzero when the original leading coefficient is nonzero, for every quadratic parameter.

    Properly equivalent forms have fractional ideals differing by the explicit principal factor.

    The native invertible form ideals differ by the explicit proper-change principal factor.

    The orientation of a pair of ideal elements #

    Positive-leading forms with homothetic ideals are properly equivalent when the scaling factor has positive norm. This applies to either sign of nonsquare discriminant.