Documentation

Atlas.EllipticCurves.code.IdealNorm

noncomputable def IdealNorm.idealNorm {𝒪 : Type u_1} [CommRing 𝒪] (𝔞 : Ideal 𝒪) :

The (absolute) norm of an ideal 𝔞 of 𝒪, defined as the cardinality of the quotient 𝒪 / 𝔞.

Instances For
    theorem IdealNorm.idealNorm_eq_card_quotient {𝒪 : Type u_1} [CommRing 𝒪] (𝔞 : Ideal 𝒪) :
    idealNorm 𝔞 = Nat.card (𝒪 𝔞)

    The ideal norm equals the cardinality of the quotient ring 𝒪 / 𝔞.

    theorem IdealNorm.idealNorm_top {𝒪 : Type u_1} [CommRing 𝒪] :

    The norm of the unit ideal is 1.

    theorem IdealNorm.idealNorm_bot {𝒪 : Type u_1} [CommRing 𝒪] [Infinite 𝒪] :

    For an infinite ring 𝒪, the norm of the zero ideal is 0.

    theorem IdealNorm.idealNorm_pos {𝒪 : Type u_2} [CommRing 𝒪] [IsDomain 𝒪] [Module.Free 𝒪] [Module.Finite 𝒪] (𝔞 : Ideal 𝒪) (h : 𝔞 ) :
    0 < idealNorm 𝔞

    For a nonzero ideal 𝔞 in an integral domain that is a finite free -module, the ideal norm is strictly positive.

    theorem IdealNorm.idealNorm_eq_absNorm {𝒪 : Type u_2} [CommRing 𝒪] [Nontrivial 𝒪] [IsDedekindDomain 𝒪] [Module.Free 𝒪] (𝔞 : Ideal 𝒪) :

    For a nontrivial Dedekind domain 𝒪 that is a free -module, the Mathlib absolute norm Ideal.absNorm agrees with the cardinality-based idealNorm.