-
Notifications
You must be signed in to change notification settings - Fork 251
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
Definition of irreducibility #2140
Comments
I would say that units are not irreducible. For these kinds of things lately, I am a great fan of looking at what mathlib says, https://leanprover-community.github.io/mathlib4_docs/Mathlib/Algebra/Prime/Defs.html#Irreducible, |
I wasn't even aware that there is a debate to be had here, all text books I looked at agree on this, units and zero are never irreducible. |
If one wants a consistent theory of factorization in rings, allowing non-domains, it is common to have a definition that implies that 0 is irreducible in domains. |
Agree with following mathlib. |
Related to #2094 |
At the moment, the
*_poly_is_irreducible
functions over finite fields say that constant polynomials are irreducibleBefore I try to fix this, I wanted to ask what the convention is that flint follows. Surely units should not be irreducible, but what about the zero polynomial?
The text was updated successfully, but these errors were encountered: