Operations on fractional ideals #
Two facts about Mathlib's FractionalIdeal.ringEquivOfRingEquiv, the transport of fractional
ideals along a ring equivalence f : R ≃+* R' extended to fraction rings, and two facts about
scaling a fractional ideal by a unit: the principal fractional ideal of a unit is a unit, and
scaling by a unit is cancelled by scaling by its inverse.
Main results #
FractionalIdeal.canonicalEquiv_eq_ringEquivOfRingEquiv: the canonical equivalence between the fractional ideals of two fraction rings ofRis transport along the identity.FractionalIdeal.ringEquivOfRingEquiv_coeIdeal: transport sends the fractional ideal of an idealIto that ofIdeal.map f I.FractionalIdeal.isUnit_spanSingleton: the principal fractional ideal of a unit is a unit.FractionalIdeal.spanSingleton_inv_mul_cancel_left: scaling by a unit and then by its inverse returns the fractional ideal.
The canonical equivalence between the fractional ideals of two fraction fields of R is
transport along the identity ring equivalence. This lets a change of fraction field and a transport
along a ring equivalence be composed by FractionalIdeal.ringEquivOfRingEquiv_trans_apply.
Transport of a coeIdeal along FractionalIdeal.ringEquivOfRingEquiv f is the coeIdeal of
the pushforward ideal Ideal.map f. This is the fraction-field shadow of Ideal.map.
The principal fractional ideal generated by a unit is a unit.
Scaling a fractional ideal by a unit and then by its inverse returns the ideal.