AbstractAlgebra.jl
AbstractAlgebra.jl copied to clipboard
Documentation of "Canonicalisation"
I had to read the paragraph of Canonicalisation several times to understand what it does. Can we improve this?
Here's a suggestion. Consider the associates relation ∼ on R, i.e. x ∼ y iff there is a unit u such that y = xu^{-1}. We fix a system ℛ of representatives. Given an element x ∈ R, its canonical unit is the unit u such that xu^{-1} ∈ ℛ.
For a field we would fix ℛ = {0,1} (and then the canonical unit of any non-zero u is u), for ℤ we take ℛ = ℕ, for K[X] we take monic polynomials and 0, for Gaussian integers the first quadrant, etc.
Oh, I mentioned this long ago in #552 but forgot about it again...