-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fundamental theorem of arithmetic #2059
Labels
Comments
I've managed to prove the existence of factorizations, however the proof does not compute efficiently. This means you cannot do say
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We should prove the fundamental theorem of arithmetic for
nat
andIsPrime
. The basic statement says that any givennat
has a factorisation and any two factorisations are unique up to a permutation of factors. There is also a generalisation to unique factorisation domains with a possible semiring variant.Another way to modify the statement for
nat
is to force uniqueness by enforcing an order of the prime factors of a given factorisation. Then the fundamental theorem of arithmetic essentially says that the type of factorisations of anat
is contractible.In our calculations in homotopy theory, it's not apparent how useful this theorem actually is given that we can always manually factor a concrete number. So I wouldn't say this issue is a top priority.
One place to draw inspiration from is the following: https://github.com/coq-contribs/fundamental-arithmetics/blob/master/primes.v
The text was updated successfully, but these errors were encountered: