1 | initial version |

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for $GF(2^3)$ but not $GF(2^4)$

```
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

2 | No.2 Revision |

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for $GF(2^3)$ but not $GF(2^4)$

```
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

3 | No.3 Revision |

Hello,

Indeed there is a bug in Sage/GAP code conversion. It works for $GF(2^3)$ but not $GF(2^4)$

```
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~~trac ticket #18048 for that issue.

Vincent

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.