Edgar Costa
Edgar Costa
@fredrik-johansson would it be okay to change the definition of square free?
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, as they need to...
You could also have asserts with different levels. `ASSERT`, `ASSERT1`, etc.. Ordered from cheap/important to expensive/stringent
Overall it looks okay. There is a bunch of commented code that could be removed. I would also suggest add more tests, in particular some harder tests.
We also discussed this in the last workshop, but I didn't get into it
Can someone point me to some the advantages of doxygen? (I am just curious, I am sure @alexjbest told me a about them, but I have forgotten)
I do not think that `arb_hypgeom_pfq` should be automatically canceling pairs. That is a function with a single purpose; the user has the freedom to call it as they wish,...
I fixed your links. abs2 is trivial once one has hypot2 https://github.com/flintlib/flint/blob/9e0d010b96b58ecbb088083f595f8dc75e056d80/src/acb.h#L449-L452 and for hypot2 we just need to remove: https://github.com/flintlib/flint/blob/9e0d010b96b58ecbb088083f595f8dc75e056d80/src/arb/hypot.c#L33
This seems to be the same issue as #1120 and #1122.
That or just say it doesn't double roots over the complex numbers