#18595: Big Oh terms and equality
--------------------------------------------+------------------------
       Reporter:  behackl                   |        Owner:
           Type:  defect                    |       Status:  new
       Priority:  major                     |    Milestone:  sage-6.8
      Component:  commutative algebra       |   Resolution:
       Keywords:  powerseries, asymptotics  |    Merged in:
        Authors:                            |    Reviewers:
Report Upstream:  N/A                       |  Work issues:
         Branch:                            |       Commit:
   Dependencies:                            |     Stopgaps:
--------------------------------------------+------------------------

Comment (by nbruin):

 Replying to [comment:5 behackl]:
 > And finally: what about the following:
 > {{{
 > sage: O(x) == O(x^2)
 > True
 > }}}
 > Does this equality make sense to you?

 Yes: the two "intervals" (neighbourhoods is perhaps a better term)
 overlap, so they could be representing the same element.

 The advantage of this lax form of equality is that if you do computations
 with sufficient precision to tell all distinct elements you'll encounter
 apart, then you can use the conventional algorithms to arrive at an
 answer. That means that you can for instance do linear algebra with power
 series using normal tools, provided you start with enough precision. This
 works fairly well in practice and you'll usually discover a catastrophic
 loss of precision by not having any terms left. Of course, for serious
 applications you do have to use proper numerical methods anyway, but then
 you won't be using equality tests anyway.

--
Ticket URL: <http://trac.sagemath.org/ticket/18595#comment:6>
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 http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to