Skip to content

Factorization and factor #2818

@mechvel

Description

@mechvel

This is about lib-2.3 and Data.Nat.Primality.Factorisation.

It is more classical to
(1) call it Factorization - with z instead of s
(2) record PrimeFactorisation --> record Factorization
(factorization is always to primes, and again z),
(3) factorise --> factor.

For example, see these names in the "Axiom" book by Jenks and Sutor. I believe the same it is in textbooks on computer algebra.

Another (great) point remains that it is desirable to replace the ad hoc definitions of GCD and Factorization with the general definitions
with introducing their instances for Nat and Integer.

The DoCon-A library release candidate 3.2-rc4 includes such a treating of GCD and Factorization:
http://www.botik.ru/pub/local/Mechveliani/docon-A/
(GCDSemiring, GCDDomain, FactorizationSemiring, UFD ...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions