#20181: number_field_elements_from_algebraics should create embedded number
field
elements
---------------------------------+------------------------
Reporter: mkoeppe | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-7.1
Component: number fields | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
---------------------------------+------------------------
Description changed by mkoeppe:
Old description:
> This is a follow-up on #17830 and #18819.
>
> #17830 made this possible:
> {{{
> sage: x = polygen(ZZ)
> sage: K.<cbrt2> = NumberField(x^3 - 2,
> embedding=AA.polynomial_root(x^3-2, RIF(0,3)))
> sage: 6064/4813 < cbrt2 < 90325/71691
> True
> }}}
>
> But if one uses `number_field_elements_from_algebraics`, one gets only
> non-embedded number field elements:
> {{{
> sage: cbrt2 =
> number_field_elements_from_algebraics(AA.polynomial_root(x^3-2,
> RIF(0,3)))
> sage: 6064/4813 < cbrt2 < 90325/71691
> False
> }}}
>
> It would be nice to have `number_field_elements_from_algebraics`
> construct embedded ones, either by default, or by some option.
New description:
This is a follow-up on #17830 and #18819.
#17830 made this possible:
{{{
sage: x = polygen(ZZ)
sage: K.<cbrt2> = NumberField(x^3 - 2, embedding=AA.polynomial_root(x^3-2,
RIF(0,3)))
sage: 6064/4813 < cbrt2 < 90325/71691
True
}}}
But if one uses `number_field_elements_from_algebraics`, one gets only
non-embedded number field elements:
{{{
sage: x = polygen(ZZ)
sage: K, cbrt2, hom =
number_field_elements_from_algebraics(AA.polynomial_root(x^3-2, RIF(0,3)))
sage: 6064/4813 < cbrt2 < 90325/71691
False
}}}
It would be nice to have `number_field_elements_from_algebraics` construct
embedded ones, either by default, or by some option.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/20181#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.