Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for GF(23) but not GF(24)

sage: K = GF(8,'a')
sage: for x in K:
....:     x == K(x._gap_()),
True True True True True True True True

sage: K = GF(16,'a')
sage: for x in K:
....:     x == K(x._gap_()), 
True True True True True
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime subfield

I opened the http://trac.sagemath.org/ticket/18048 for that issue.

Vincent

click to hide/show revision 2
No.2 Revision

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for GF(23) but not GF(24)

sage: K = GF(8,'a')
sage: for x in K:
....:     print x == K(x._gap_()),
True True True True True True True True

sage: K = GF(16,'a')
sage: for x in K:
....:     print x == K(x._gap_()), 
True True True True True
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime subfield

I opened the http://trac.sagemath.org/ticket/18048 for that issue.

Vincent

click to hide/show revision 3
No.3 Revision

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for GF(23) but not GF(24)

sage: K = GF(8,'a')
sage: for x in K:
....:     print x == K(x._gap_()),
True True True True True True True True

sage: K = GF(16,'a')
sage: for x in K:
....:     print x == K(x._gap_()), 
True True True True True
Traceback (most recent call last):
...
TypeError: unable to coerce from a finite field other than the prime subfield

I opened the http://trac.sagemath.org/ticket/18048trac ticket #18048 for that issue.

Vincent