Commit 2023-08-02 23:55 68a37cd3

View on Github →

feat(NumberTheory.NumberField.Units): add torsion subgroup (#5748) We define the torsion subgroup of the units of a number field and prove some results about it, mostly: it is finite, cyclic and an unit is torsion iff its value is 1 at all infinite places. Some results linking to rootsOfUnity are also proved. This PR also includes a direct coercion from (𝓞 K)ˣ to K that is very convenient, although I am not sure it's done properly.

Estimated changes