Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #19946: rewrite and improve explaination of 1b62954
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Jan 26, 2016
1 parent 7918417 commit 1471336
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/sage/rings/asymptotic/term_monoid.py
Original file line number Diff line number Diff line change
Expand Up @@ -3318,16 +3318,22 @@ def rpow(self, base):
sage: _.parent()
Exact Term Monoid QQ^n * n^SR with coefficients in Symbolic Ring
Above, we get ``QQ^n * n^SR`` since
::
Above, we get ``QQ^n * n^SR``. The reason is the following:
Since $n = 1_{SR} \cdot (1_{\QQ})^n \cdot n^{1_{\QQ}}$, we have
sage: (n^SR(1)).parent()
Exact Term Monoid QQ^n * n^SR with coefficients in Symbolic Ring
.. MATH::
and that is because of ::
2^n = (2_{\QQ})^{1_{SR} \cdot (1_{\QQ})^n \cdot n^{1_{\QQ}}}
= \left( (2_{\QQ})^n \cdot n^{0_{\QQ}} \right)^{1_{SR}}
= \left((2_{\QQ})^{1_{SR}}\right)^n \cdot n^{0_{\QQ} 1_{SR}}
= (2_{\QQ})^n \cdot n^{0_{SR}}
sage: (QQ(2)^SR(1)).parent(), (QQ(1)*SR(1)).parent()
where ::
sage: (QQ(2)^SR(1)).parent(), (QQ(0)*SR(1)).parent()
(Rational Field, Symbolic Ring)
was used.
"""
P = self.parent()

Expand Down

0 comments on commit 1471336

Please sign in to comment.