Elements of the Henselization that come from the uncompleted ring¶
AUTHORS:
- Julian Rüth (2016-11-15): initial version
-
class
henselization.sage.rings.padics.henselization.base_element.BaseElement_Field(parent, base, valuation, x)¶ Bases:
henselization.sage.rings.padics.henselization.base_element.BaseElement_base,henselization.sage.rings.padics.henselization.henselization_element.HenselizationElement_FieldAn element of
Henselization_Fieldwhich is in one of its uncompletedbasefields.EXAMPLES:
sage: from henselization import * sage: K = QQ.henselization(2) sage: K(0) 0
-
class
henselization.sage.rings.padics.henselization.base_element.BaseElement_Ring(parent, base, valuation, x)¶ Bases:
henselization.sage.rings.padics.henselization.base_element.BaseElement_base,henselization.sage.rings.padics.henselization.henselization_element.HenselizationElement_RingAn element of
Henselization_Ringwhich is in one of its uncompletedbasefields.EXAMPLES:
sage: from henselization import * sage: R = ZZ.henselization(2) sage: x = R(0); x 0
TESTS:
sage: from sage.rings.padics.henselization.base_element import BaseElement_Ring sage: isinstance(R(0), BaseElement_Ring) True
-
class
henselization.sage.rings.padics.henselization.base_element.BaseElement_base(parent, base, valuation, x)¶ Bases:
henselization.sage.rings.padics.henselization.henselization_element.HenselizationElement_baseAbstract base class for elements of
Henselization_basewhich are in one of its uncompletedbasefields.EXAMPLES:
sage: from henselization import * sage: K = QQ.henselization(2) sage: x = K(0); x 0
-
approximation(precision=None)¶ Return an approximation to this element which is know to differ from the actual element by at most
precision.EXAMPLES:
sage: from henselization import * sage: K = QQ.henselization(2) sage: R.<x> = K[] sage: L = K.extension(x^2 + x + 1) sage: L.gen().approximation(123) x
-
matrix(base=None)¶ Return the matrix of this element over
base.EXAMPLES:
sage: from henselization import * sage: K = QQ.henselization(2) sage: R.<x> = K[] sage: L = K.extension(x^2 + x + 1) sage: L.gen().matrix(base=K) [ 0 1] [-1 -1]
-
reduction()¶ Return the reduction of this element modulo the elements of positive
valuation().EXAMPLES:
sage: from henselization import * sage: K = QQ.henselization(2) sage: x = K(4) sage: x.reduction() 0
-
simplify(error=None, force=False)¶ Return a simplified version of this element.
Produce an element which differs from this element by an element of valuation strictly greater than the valuation of this element (or strictly greater than
errorif set.)EXAMPLES:
sage: from henselization import * sage: K = QQ.henselization(2) sage: K(1025).simplify(force=True) 1
-