ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 22 Oct 2021 11:54:39 +0200FractionFieldElement works incorrectly over large fieldshttps://ask.sagemath.org/question/59419/fractionfieldelement-works-incorrectly-over-large-fields/ The code below returns a*b/a instead of b if characteristic of field is large. How can I bypass this limitation?
A=PolynomialRing(GF(2^31-1),['a','b'])
x, y = A.gens()[0], A.gens()[1]
print(x*y/x)Wed, 20 Oct 2021 20:08:59 +0200https://ask.sagemath.org/question/59419/fractionfieldelement-works-incorrectly-over-large-fields/Comment by Alex Karenin for <p>The code below returns a*b/a instead of b if characteristic of field is large. How can I bypass this limitation?</p>
<pre><code>A=PolynomialRing(GF(2^31-1),['a','b'])
x, y = A.gens()[0], A.gens()[1]
print(x*y/x)
</code></pre>
https://ask.sagemath.org/question/59419/fractionfieldelement-works-incorrectly-over-large-fields/?comment=59445#post-id-59445That's my suspition as well. Is there I can do anything about this issue? I'd like to be able to handle 63 bit numbers.Fri, 22 Oct 2021 11:54:39 +0200https://ask.sagemath.org/question/59419/fractionfieldelement-works-incorrectly-over-large-fields/?comment=59445#post-id-59445Comment by FrédéricC for <p>The code below returns a*b/a instead of b if characteristic of field is large. How can I bypass this limitation?</p>
<pre><code>A=PolynomialRing(GF(2^31-1),['a','b'])
x, y = A.gens()[0], A.gens()[1]
print(x*y/x)
</code></pre>
https://ask.sagemath.org/question/59419/fractionfieldelement-works-incorrectly-over-large-fields/?comment=59426#post-id-59426Well, maybe because
NotImplementedError: Division of multivariate polynomials over prime fields with characteristic > 2^29 is not implemented.Thu, 21 Oct 2021 14:28:08 +0200https://ask.sagemath.org/question/59419/fractionfieldelement-works-incorrectly-over-large-fields/?comment=59426#post-id-59426