usuniete zbedne komunikaty
This commit is contained in:
parent
1f66cae85d
commit
5e738d441d
@ -34265,4 +34265,607 @@ A.diffn().is_regular_on_U0() True
|
|||||||
[0] d[x] + [0] d[y] + V((2*a*x^21 + 2*x^15 + (a + 1)*x^13 + 2*a*x^12) dy) + dV(0)
|
[0] d[x] + [0] d[y] + V((2*a*x^21 + 2*x^15 + (a + 1)*x^13 + 2*a*x^12) dy) + dV(0)
|
||||||
[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[17D[0mf[0;38;5;16;48;5;152m[[0;32m1[0;38;5;16;48;5;152m][0m[K[?7h[0m[?12l[?25h[?25l[?7l[2D[0;32m2[C[?7h[0m[?12l[?25h[?25l[?7l[3D[0m[K[?7h[0m[?12l[?25h[?25l[?7l[0mF.cardinality[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[15D[0ma[Cnth_root[0;38;5;16;48;5;152m([0mp[0;38;5;16;48;5;152m)[0m[K[?7h[0m[?12l[?25h[?25l[?7l[13D[0momega.car[Cier[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[10D[0m = a*omega[?7h[0m[?12l[?25h[?25l[?7l[10D[0m.cartier[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[10D[0m = (C.x)^(-[0;32m1[0m)*C.dx[?7h[0m[?12l[?25h[?25l[?7l[23D[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[0m[K[?7h[0m[?12l[?25h[?25l[?7l[17D[0mmult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[56D[0mfct = C.y[0m[K[?7h[0m[?12l[?25h[?25l[?7l[9D[0mC =[Csuperelliptic[0;38;5;16;48;5;152m([0mx^[0;32m3[0m - x, m[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[29D[0mfct[C= C.y[0m[K[?7h[0m[?12l[?25h[?25l[?7l[15D[0m[J[0;32msage: [0mfct = C.y[15D[0m
|
[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[17D[0mf[0;38;5;16;48;5;152m[[0;32m1[0;38;5;16;48;5;152m][0m[K[?7h[0m[?12l[?25h[?25l[?7l[2D[0;32m2[C[?7h[0m[?12l[?25h[?25l[?7l[3D[0m[K[?7h[0m[?12l[?25h[?25l[?7l[0mF.cardinality[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[15D[0ma[Cnth_root[0;38;5;16;48;5;152m([0mp[0;38;5;16;48;5;152m)[0m[K[?7h[0m[?12l[?25h[?25l[?7l[13D[0momega.car[Cier[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[10D[0m = a*omega[?7h[0m[?12l[?25h[?25l[?7l[10D[0m.cartier[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[10D[0m = (C.x)^(-[0;32m1[0m)*C.dx[?7h[0m[?12l[?25h[?25l[?7l[23D[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[0m[K[?7h[0m[?12l[?25h[?25l[?7l[17D[0mmult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[56D[0mfct = C.y[0m[K[?7h[0m[?12l[?25h[?25l[?7l[9D[0mC =[Csuperelliptic[0;38;5;16;48;5;152m([0mx^[0;32m3[0m - x, m[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[29D[0mfct[C= C.y[0m[K[?7h[0m[?12l[?25h[?25l[?7l[15D[0m[J[0;32msage: [0mfct = C.y[15D[0m
|
||||||
[J[?7h[0m[?12l[?25h[?2004l[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mfct = C.y[?7h[0m[?12l[?25h[?25l[?7l[9D[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[17D[0mf[0;38;5;16;48;5;152m[[0;32m1[0;38;5;16;48;5;152m][0m[K[?7h[0m[?12l[?25h[?25l[?7l[4D[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[17D[0mfct = C.y[0m[K[?7h[0m[?12l[?25h[?25l[?7l[9D[0m[K[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mmult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[62D[0m[J[0;32msage: [0mmult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn()[62D[0m
|
[J[?7h[0m[?12l[?25h[?2004l[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mfct = C.y[?7h[0m[?12l[?25h[?25l[?7l[9D[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[17D[0mf[0;38;5;16;48;5;152m[[0;32m1[0;38;5;16;48;5;152m][0m[K[?7h[0m[?12l[?25h[?25l[?7l[4D[0mload[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[17D[0mfct = C.y[0m[K[?7h[0m[?12l[?25h[?25l[?7l[9D[0m[K[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mmult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[62D[0m[J[0;32msage: [0mmult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn()[62D[0m
|
||||||
[J[?7h[0m[?12l[?25h[?2004l
|
[J[?7h[0m[?12l[?25h[?2004l[0m[?7h[0;31m[0m[0mTrue
|
||||||
|
[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mq[?7h[0m[?12l[?25h[?25l[?7l[0mu[?7h[0m[?12l[?25h[?25l[?7l[0mi[?7h[0m[?12l[?25h[?25l[?7l[0mt[?7h[0m[?12l[?25h[?25l[?7l[0m([?7h[0m[?12l[?25h[?25l[?7l[0;38;5;16;48;5;152m()[?7h[0m[?12l[?25h[?25l[?7l[12D[0m[J[0;32msage: [0mquit()[12D[0m
|
||||||
|
[J[?7h[0m[?12l[?25h[?2004l[23;0t]0;~/Research/2021 De Rham/DeRhamComputation/sage[01;34m~/Research/2021 De Rham/DeRhamComputation/sage[00m$ cd ..
|
||||||
|
]0;~/Research/2021 De Rham/DeRhamComputation[01;34m~/Research/2021 De Rham/DeRhamComputation[00m$ git add -u
|
||||||
|
]0;~/Research/2021 De Rham/DeRhamComputation[01;34m~/Research/2021 De Rham/DeRhamComputation[00m$ git commit -m "naprawione[Ky brak (1/p)-liniowosci cartiera)[K"
|
||||||
|
[master 1f66cae] naprawiony brak (1/p)-liniowosci cartiera
|
||||||
|
6 files changed, 2428 insertions(+), 13 deletions(-)
|
||||||
|
]0;~/Research/2021 De Rham/DeRhamComputation[01;34m~/Research/2021 De Rham/DeRhamComputation[00m$ git push
|
||||||
|
Username for 'https://git.wmi.amu.edu.pl': jgarnek
|
||||||
|
Password for 'https://jgarnek@git.wmi.amu.edu.pl':
|
||||||
|
Enumerating objects: 23, done.
|
||||||
|
Counting objects: 4% (1/23)
Counting objects: 8% (2/23)
Counting objects: 13% (3/23)
Counting objects: 17% (4/23)
Counting objects: 21% (5/23)
Counting objects: 26% (6/23)
Counting objects: 30% (7/23)
Counting objects: 34% (8/23)
Counting objects: 39% (9/23)
Counting objects: 43% (10/23)
Counting objects: 47% (11/23)
Counting objects: 52% (12/23)
Counting objects: 56% (13/23)
Counting objects: 60% (14/23)
Counting objects: 65% (15/23)
Counting objects: 69% (16/23)
Counting objects: 73% (17/23)
Counting objects: 78% (18/23)
Counting objects: 82% (19/23)
Counting objects: 86% (20/23)
Counting objects: 91% (21/23)
Counting objects: 95% (22/23)
Counting objects: 100% (23/23)
Counting objects: 100% (23/23), done.
|
||||||
|
Delta compression using up to 4 threads
|
||||||
|
Compressing objects: 8% (1/12)
Compressing objects: 16% (2/12)
Compressing objects: 25% (3/12)
Compressing objects: 33% (4/12)
Compressing objects: 41% (5/12)
Compressing objects: 50% (6/12)
Compressing objects: 58% (7/12)
Compressing objects: 66% (8/12)
Compressing objects: 75% (9/12)
Compressing objects: 83% (10/12)
Compressing objects: 91% (11/12)
Compressing objects: 100% (12/12)
Compressing objects: 100% (12/12), done.
|
||||||
|
Writing objects: 8% (1/12)
Writing objects: 16% (2/12)
Writing objects: 25% (3/12)
Writing objects: 33% (4/12)
Writing objects: 41% (5/12)
Writing objects: 50% (6/12)
Writing objects: 58% (7/12)
Writing objects: 66% (8/12)
Writing objects: 75% (9/12)
Writing objects: 83% (10/12)
Writing objects: 91% (11/12)
Writing objects: 100% (12/12)
Writing objects: 100% (12/12), 14.29 KiB | 232.00 KiB/s, done.
|
||||||
|
Total 12 (delta 11), reused 0 (delta 0)
|
||||||
|
remote: . Processing 1 references[K
|
||||||
|
remote: Processed 1 references in total[K
|
||||||
|
To https://git.wmi.amu.edu.pl/jgarnek/DeRhamComputation.git
|
||||||
|
a5c2ce2..1f66cae master -> master
|
||||||
|
]0;~/Research/2021 De Rham/DeRhamComputation[01;34m~/Research/2021 De Rham/DeRhamComputation[00m$ s[Kcd sage
|
||||||
|
]0;~/Research/2021 De Rham/DeRhamComputation/sage[01;34m~/Research/2021 De Rham/DeRhamComputation/sage[00m$ sage
|
||||||
|
┌────────────────────────────────────────────────────────────────────┐
|
||||||
|
│ SageMath version 9.8, Release Date: 2023-02-11 │
|
||||||
|
│ Create a "Sage Worksheet" file for the notebook interface. │
|
||||||
|
│ Enhanced for CoCalc. │
|
||||||
|
│ Using Python 3.11.1. Type "help()" for help. │
|
||||||
|
└────────────────────────────────────────────────────────────────────┘
|
||||||
|
[22;0t]0;IPython: DeRhamComputation/sage[6n[?2004h[?1l[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0ml[0;38;5;241moad('init.sage')[16D[?7h[0m[?12l[?25h[?25l[?7l[0mo[?7h[0m[?12l[?25h[?25l[?7l[0mad[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[23D[0m[J[0;32msage: [0mload([0;33m'init.sage'[0m)[23D[0m
|
||||||
|
[J[?7h[0m[?12l[?25h[?2004lTrue
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^9 + 2*x^3 + (a + 1)*x + 2*a) dy) + dV(0)
|
||||||
|
True
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^12 + 2*x^6 + (a + 1)*x^4 + 2*a*x^3) dy) + dV(0)
|
||||||
|
True
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^15 + 2*x^9 + (a + 1)*x^7 + 2*a*x^6) dy) + dV(0)
|
||||||
|
True
|
||||||
|
^C[0;31m---------------------------------------------------------------------------[0m
|
||||||
|
[0;31mKeyboardInterrupt[0m Traceback (most recent call last)
|
||||||
|
File [0;32m<string>:59[0m, in [0;36m__mul__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:260[0m, in [0;36mreduction[0;34m(C, g)[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/arith/misc.py:2021[0m, in [0;36mxgcd[0;34m(a, b)[0m
|
||||||
|
[1;32m 2020[0m [38;5;28;01mtry[39;00m:
|
||||||
|
[0;32m-> 2021[0m [38;5;28;01mreturn[39;00m [43ma[49m[38;5;241;43m.[39;49m[43mxgcd[49m[43m([49m[43mb[49m[43m)[49m
|
||||||
|
[1;32m 2022[0m [38;5;28;01mexcept[39;00m [38;5;167;01mAttributeError[39;00m:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:4497[0m, in [0;36msage.structure.element.coerce_binop.new_method[0;34m()[0m
|
||||||
|
[1;32m 4496[0m if have_same_parent(self, other):
|
||||||
|
[0;32m-> 4497[0m return method(self, other, *args, **kwargs)
|
||||||
|
[1;32m 4498[0m else:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:8931[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial.xgcd[0;34m()[0m
|
||||||
|
[1;32m 8930[0m if hasattr(self.base_ring(), '_xgcd_univariate_polynomial'):
|
||||||
|
[0;32m-> 8931[0m return self.base_ring()._xgcd_univariate_polynomial(self, other)
|
||||||
|
[1;32m 8932[0m else:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/categories/fields.py:373[0m, in [0;36mFields.ParentMethods._xgcd_univariate_polynomial[0;34m(self, a, b)[0m
|
||||||
|
[1;32m 372[0m [38;5;28;01mwhile[39;00m v3:
|
||||||
|
[0;32m--> 373[0m q, r [38;5;241m=[39m [43md[49m[38;5;241;43m.[39;49m[43mquo_rem[49m[43m([49m[43mv3[49m[43m)[49m
|
||||||
|
[1;32m 374[0m (u, d, v1, v3) [38;5;241m=[39m (v1, v3, u [38;5;241m-[39m v1[38;5;241m*[39mq, r)
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:4497[0m, in [0;36msage.structure.element.coerce_binop.new_method[0;34m()[0m
|
||||||
|
[1;32m 4496[0m if have_same_parent(self, other):
|
||||||
|
[0;32m-> 4497[0m return method(self, other, *args, **kwargs)
|
||||||
|
[1;32m 4498[0m else:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:11734[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial_generic_dense.quo_rem[0;34m()[0m
|
||||||
|
[1;32m 11733[0m for k from m-n >= k >= 0:
|
||||||
|
[0;32m> 11734[0m q = x[n+k-1] * inv
|
||||||
|
[1;32m 11735[0m for j from n+k-2 >= j >= k:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:1513[0m, in [0;36msage.structure.element.Element.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1512[0m if HAVE_SAME_PARENT(cl):
|
||||||
|
[0;32m-> 1513[0m return (<Element>left)._mul_(right)
|
||||||
|
[1;32m 1514[0m if BOTH_ARE_ELEMENT(cl):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:670[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement._mul_[0;34m()[0m
|
||||||
|
[1;32m 669[0m d2 = snum.gcd(rden)
|
||||||
|
[0;32m--> 670[0m if not d1.is_unit():
|
||||||
|
[1;32m 671[0m rnum = rnum // d1
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:5544[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial.is_unit[0;34m()[0m
|
||||||
|
[1;32m 5543[0m return self._parent._base.zero().is_unit()
|
||||||
|
[0;32m-> 5544[0m return self.get_unsafe(0).is_unit()
|
||||||
|
[1;32m 5545[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_zz_pex.pyx:180[0m, in [0;36msage.rings.polynomial.polynomial_zz_pex.Polynomial_ZZ_pEX.get_unsafe[0;34m()[0m
|
||||||
|
[1;32m 179[0m cdef ZZ_pE_c c_pE = ZZ_pEX_coeff(self.x, i)
|
||||||
|
[0;32m--> 180[0m return self._parent._base(ZZ_pE_c_to_list(c_pE))
|
||||||
|
[1;32m 181[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/parent.pyx:896[0m, in [0;36msage.structure.parent.Parent.__call__[0;34m()[0m
|
||||||
|
[1;32m 895[0m if no_extra_args:
|
||||||
|
[0;32m--> 896[0m return mor._call_(x)
|
||||||
|
[1;32m 897[0m else:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce_maps.pyx:156[0m, in [0;36msage.structure.coerce_maps.DefaultConvertMap_unique._call_[0;34m()[0m
|
||||||
|
[1;32m 155[0m try:
|
||||||
|
[0;32m--> 156[0m return C._element_constructor(x)
|
||||||
|
[1;32m 157[0m except Exception:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/finite_rings/finite_field_givaro.py:230[0m, in [0;36mFiniteField_givaro._element_constructor_[0;34m(self, e)[0m
|
||||||
|
[1;32m 228[0m [38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39m_cache[38;5;241m.[39mrandom_element()
|
||||||
|
[0;32m--> 230[0m [38;5;28;01mdef[39;00m [38;5;21m_element_constructor_[39m([38;5;28mself[39m, e):
|
||||||
|
[1;32m 231[0m [38;5;250m [39m[38;5;124;03m"""[39;00m
|
||||||
|
[1;32m 232[0m [38;5;124;03m Coerces several data types to ``self``.[39;00m
|
||||||
|
[1;32m 233[0m
|
||||||
|
[0;32m (...)[0m
|
||||||
|
[1;32m 369[0m [38;5;124;03m 2*a4^3 + 2*a4^2 + 1[39;00m
|
||||||
|
[1;32m 370[0m [38;5;124;03m """[39;00m
|
||||||
|
|
||||||
|
File [0;32msrc/cysignals/signals.pyx:310[0m, in [0;36mcysignals.signals.python_check_interrupt[0;34m()[0m
|
||||||
|
|
||||||
|
[0;31mKeyboardInterrupt[0m:
|
||||||
|
|
||||||
|
During handling of the above exception, another exception occurred:
|
||||||
|
|
||||||
|
[0;31mAttributeError[0m Traceback (most recent call last)
|
||||||
|
Cell [0;32mIn [1], line 1[0m
|
||||||
|
[0;32m----> 1[0m [43mload[49m[43m([49m[38;5;124;43m'[39;49m[38;5;124;43minit.sage[39;49m[38;5;124;43m'[39;49m[43m)[49m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/misc/persist.pyx:175[0m, in [0;36msage.misc.persist.load[0;34m()[0m
|
||||||
|
[1;32m 173[0m
|
||||||
|
[1;32m 174[0m if sage.repl.load.is_loadable_filename(filename):
|
||||||
|
[0;32m--> 175[0m sage.repl.load.load(filename, globals())
|
||||||
|
[1;32m 176[0m return
|
||||||
|
[1;32m 177[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/repl/load.py:272[0m, in [0;36mload[0;34m(filename, globals, attach)[0m
|
||||||
|
[1;32m 270[0m add_attached_file(fpath)
|
||||||
|
[1;32m 271[0m [38;5;28;01mwith[39;00m [38;5;28mopen[39m(fpath) [38;5;28;01mas[39;00m f:
|
||||||
|
[0;32m--> 272[0m [43mexec[49m[43m([49m[43mpreparse_file[49m[43m([49m[43mf[49m[38;5;241;43m.[39;49m[43mread[49m[43m([49m[43m)[49m[43m)[49m[43m [49m[38;5;241;43m+[39;49m[43m [49m[38;5;124;43m"[39;49m[38;5;130;43;01m\n[39;49;00m[38;5;124;43m"[39;49m[43m,[49m[43m [49m[38;5;28;43mglobals[39;49m[43m)[49m
|
||||||
|
[1;32m 273[0m [38;5;28;01melif[39;00m ext [38;5;241m==[39m [38;5;124m'[39m[38;5;124m.spyx[39m[38;5;124m'[39m [38;5;129;01mor[39;00m ext [38;5;241m==[39m [38;5;124m'[39m[38;5;124m.pyx[39m[38;5;124m'[39m:
|
||||||
|
[1;32m 274[0m [38;5;28;01mif[39;00m attach:
|
||||||
|
|
||||||
|
File [0;32m<string>:32[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/misc/persist.pyx:175[0m, in [0;36msage.misc.persist.load[0;34m()[0m
|
||||||
|
[1;32m 173[0m
|
||||||
|
[1;32m 174[0m if sage.repl.load.is_loadable_filename(filename):
|
||||||
|
[0;32m--> 175[0m sage.repl.load.load(filename, globals())
|
||||||
|
[1;32m 176[0m return
|
||||||
|
[1;32m 177[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/repl/load.py:272[0m, in [0;36mload[0;34m(filename, globals, attach)[0m
|
||||||
|
[1;32m 270[0m add_attached_file(fpath)
|
||||||
|
[1;32m 271[0m [38;5;28;01mwith[39;00m [38;5;28mopen[39m(fpath) [38;5;28;01mas[39;00m f:
|
||||||
|
[0;32m--> 272[0m exec(preparse_file(f[38;5;241m.[39mread()) [38;5;241m+[39m [38;5;124m"[39m[38;5;130;01m\n[39;00m[38;5;124m"[39m, [38;5;28mglobals[39m)
|
||||||
|
[1;32m 273[0m [38;5;28;01melif[39;00m ext [38;5;241m==[39m [38;5;124m'[39m[38;5;124m.spyx[39m[38;5;124m'[39m [38;5;129;01mor[39;00m ext [38;5;241m==[39m [38;5;124m'[39m[38;5;124m.pyx[39m[38;5;124m'[39m:
|
||||||
|
[1;32m 274[0m [38;5;28;01mif[39;00m attach:
|
||||||
|
|
||||||
|
File [0;32m<string>:30[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:82[0m, in [0;36mregular_drw_form[0;34m(omega)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:99[0m, in [0;36mdiffn[0;34m(self, dy_w)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:73[0m, in [0;36mdiffn[0;34m(self, dy_w)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:177[0m, in [0;36mdy_w[0;34m(C)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:149[0m, in [0;36mauxilliary_derivative[0;34m(P)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:55[0m, in [0;36m__rmul__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/integer.pyx:1961[0m, in [0;36msage.rings.integer.Integer.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1959[0m return y
|
||||||
|
[1;32m 1960[0m
|
||||||
|
[0;32m-> 1961[0m return coercion_model.bin_op(left, right, operator.mul)
|
||||||
|
[1;32m 1962[0m
|
||||||
|
[1;32m 1963[0m cpdef _mul_(self, right):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1242[0m, in [0;36msage.structure.coerce.CoercionModel.bin_op[0;34m()[0m
|
||||||
|
[1;32m 1240[0m mul_method = getattr(y, '__r%s__'%op_name, None)
|
||||||
|
[1;32m 1241[0m if mul_method is not None:
|
||||||
|
[0;32m-> 1242[0m res = mul_method(x)
|
||||||
|
[1;32m 1243[0m if res is not None and res is not NotImplemented:
|
||||||
|
[1;32m 1244[0m return res
|
||||||
|
|
||||||
|
File [0;32m<string>:55[0m, in [0;36m__rmul__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/integer.pyx:1961[0m, in [0;36msage.rings.integer.Integer.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1959[0m return y
|
||||||
|
[1;32m 1960[0m
|
||||||
|
[0;32m-> 1961[0m return coercion_model.bin_op(left, right, operator.mul)
|
||||||
|
[1;32m 1962[0m
|
||||||
|
[1;32m 1963[0m cpdef _mul_(self, right):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1242[0m, in [0;36msage.structure.coerce.CoercionModel.bin_op[0;34m()[0m
|
||||||
|
[1;32m 1240[0m mul_method = getattr(y, '__r%s__'%op_name, None)
|
||||||
|
[1;32m 1241[0m if mul_method is not None:
|
||||||
|
[0;32m-> 1242[0m res = mul_method(x)
|
||||||
|
[1;32m 1243[0m if res is not None and res is not NotImplemented:
|
||||||
|
[1;32m 1244[0m return res
|
||||||
|
|
||||||
|
File [0;32m<string>:55[0m, in [0;36m__rmul__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/integer.pyx:1961[0m, in [0;36msage.rings.integer.Integer.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1959[0m return y
|
||||||
|
[1;32m 1960[0m
|
||||||
|
[0;32m-> 1961[0m return coercion_model.bin_op(left, right, operator.mul)
|
||||||
|
[1;32m 1962[0m
|
||||||
|
[1;32m 1963[0m cpdef _mul_(self, right):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1242[0m, in [0;36msage.structure.coerce.CoercionModel.bin_op[0;34m()[0m
|
||||||
|
[1;32m 1240[0m mul_method = getattr(y, '__r%s__'%op_name, None)
|
||||||
|
[1;32m 1241[0m if mul_method is not None:
|
||||||
|
[0;32m-> 1242[0m res = mul_method(x)
|
||||||
|
[1;32m 1243[0m if res is not None and res is not NotImplemented:
|
||||||
|
[1;32m 1244[0m return res
|
||||||
|
|
||||||
|
File [0;32m<string>:55[0m, in [0;36m__rmul__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:84[0m, in [0;36m__add__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:65[0m, in [0;36m__mul__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:63[0m, in [0;36m__mul__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
[0;31mAttributeError[0m: 'superelliptic_function' object has no attribute 'form'
|
||||||
|
[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[6D[0;32msage: [0;38;5;28;1mfor[0m b [0;38;5;129;1min[0m C1.de_rham_basis():[0m
|
||||||
|
[0;32m....: [0m [0;38;5;28mprint[0;38;5;16;48;5;152m([0mmult_by_p(b.omega0).regular_form()[0;38;5;16;48;5;152m)[51D[51C[?7h[0m[?12l[?25h[?25l[?7l[51D[0;32m....: [0m [0;38;5;28mprint[0m(mult_by_p(b.omega0).regular_form())[0m
|
||||||
|
[0;32m....: [6D[10C[?7h[0m[?12l[?25h[?25l[?7l[2A[10D[0m[J[0;32msage: [0;38;5;28;1mfor[0m b [0;38;5;129;1min[0m C1.de_rham_basis():[0m
|
||||||
|
[0;32m....: [0m [0;38;5;28mprint[0m(mult_by_p(b.omega0).regular_form())[0m
|
||||||
|
[0;32m....: [6D[0m
|
||||||
|
[J[?7h[0m[?12l[?25h[?2004l^C[0;31m---------------------------------------------------------------------------[0m
|
||||||
|
[0;31mKeyboardInterrupt[0m Traceback (most recent call last)
|
||||||
|
Cell [0;32mIn [2], line 1[0m
|
||||||
|
[0;32m----> 1[0m [38;5;28;01mfor[39;00m b [38;5;129;01min[39;00m [43mC1[49m[38;5;241;43m.[39;49m[43mde_rham_basis[49m[43m([49m[43m)[49m:
|
||||||
|
[1;32m 2[0m [38;5;28mprint[39m(mult_by_p(b[38;5;241m.[39momega0)[38;5;241m.[39mregular_form())
|
||||||
|
|
||||||
|
File [0;32m<string>:123[0m, in [0;36mde_rham_basis[0;34m(self)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:105[0m, in [0;36mbasis_de_rham_degrees[0;34m(self)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:5[0m, in [0;36m__init__[0;34m(self, C, omega, fct)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:28[0m, in [0;36m__sub__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:7[0m, in [0;36m__init__[0;34m(self, C, g)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:296[0m, in [0;36mreduction_form[0;34m(C, g)[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:1515[0m, in [0;36msage.structure.element.Element.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1513[0m return (<Element>left)._mul_(right)
|
||||||
|
[1;32m 1514[0m if BOTH_ARE_ELEMENT(cl):
|
||||||
|
[0;32m-> 1515[0m return coercion_model.bin_op(left, right, mul)
|
||||||
|
[1;32m 1516[0m
|
||||||
|
[1;32m 1517[0m cdef long value
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1200[0m, in [0;36msage.structure.coerce.CoercionModel.bin_op[0;34m()[0m
|
||||||
|
[1;32m 1198[0m # Now coerce to a common parent and do the operation there
|
||||||
|
[1;32m 1199[0m try:
|
||||||
|
[0;32m-> 1200[0m xy = self.canonical_coercion(x, y)
|
||||||
|
[1;32m 1201[0m except TypeError:
|
||||||
|
[1;32m 1202[0m self._record_exception()
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1315[0m, in [0;36msage.structure.coerce.CoercionModel.canonical_coercion[0;34m()[0m
|
||||||
|
[1;32m 1313[0m x_elt = x
|
||||||
|
[1;32m 1314[0m if y_map is not None:
|
||||||
|
[0;32m-> 1315[0m y_elt = (<Map>y_map)._call_(y)
|
||||||
|
[1;32m 1316[0m else:
|
||||||
|
[1;32m 1317[0m y_elt = y
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce_maps.pyx:432[0m, in [0;36msage.structure.coerce_maps.CallableConvertMap._call_[0;34m()[0m
|
||||||
|
[1;32m 430[0m y = self._func(C, x)
|
||||||
|
[1;32m 431[0m else:
|
||||||
|
[0;32m--> 432[0m y = self._func(x)
|
||||||
|
[1;32m 433[0m except Exception:
|
||||||
|
[1;32m 434[0m if print_warnings:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field.py:324[0m, in [0;36mFractionField_generic._coerce_map_from_.<locals>.wrapper[0;34m(x)[0m
|
||||||
|
[1;32m 323[0m [38;5;28;01mdef[39;00m [38;5;21mwrapper[39m(x):
|
||||||
|
[0;32m--> 324[0m [38;5;28;01mreturn[39;00m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43m_element_class[49m[43m([49m[38;5;28;43mself[39;49m[43m,[49m[43m [49m[43mx[49m[38;5;241;43m.[39;49m[43mnumerator[49m[43m([49m[43m)[49m[43m,[49m[43m [49m[43mx[49m[38;5;241;43m.[39;49m[43mdenominator[49m[43m([49m[43m)[49m[43m)[49m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:1167[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement_1poly_field.__init__[0;34m()[0m
|
||||||
|
[1;32m 1165[0m 1/2/x
|
||||||
|
[1;32m 1166[0m """
|
||||||
|
[0;32m-> 1167[0m FractionFieldElement.__init__(self, parent, numerator, denominator,
|
||||||
|
[1;32m 1168[0m coerce, reduce)
|
||||||
|
[1;32m 1169[0m if not reduce:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:121[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement.__init__[0;34m()[0m
|
||||||
|
[1;32m 119[0m if reduce and parent.is_exact():
|
||||||
|
[1;32m 120[0m try:
|
||||||
|
[0;32m--> 121[0m self.reduce()
|
||||||
|
[1;32m 122[0m except ArithmeticError:
|
||||||
|
[1;32m 123[0m pass
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:1239[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement_1poly_field.reduce[0;34m()[0m
|
||||||
|
[1;32m 1237[0m if self._is_reduced:
|
||||||
|
[1;32m 1238[0m return
|
||||||
|
[0;32m-> 1239[0m super(self.__class__, self).reduce()
|
||||||
|
[1;32m 1240[0m self.normalize_leading_coefficients()
|
||||||
|
[1;32m 1241[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:164[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement.reduce[0;34m()[0m
|
||||||
|
[1;32m 162[0m return codomain.coerce(nnum/nden)
|
||||||
|
[1;32m 163[0m
|
||||||
|
[0;32m--> 164[0m cpdef reduce(self):
|
||||||
|
[1;32m 165[0m """
|
||||||
|
[1;32m 166[0m Reduce this fraction.
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:210[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement.reduce[0;34m()[0m
|
||||||
|
[1;32m 208[0m if not self.__denominator.is_one() and self.__denominator.is_unit():
|
||||||
|
[1;32m 209[0m try:
|
||||||
|
[0;32m--> 210[0m inv = self.__denominator.inverse_of_unit()
|
||||||
|
[1;32m 211[0m except Exception:
|
||||||
|
[1;32m 212[0m pass
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:1524[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial.inverse_of_unit[0;34m()[0m
|
||||||
|
[1;32m 1522[0m else:
|
||||||
|
[1;32m 1523[0m cst = self.get_unsafe(0)
|
||||||
|
[0;32m-> 1524[0m inv = cst.inverse_of_unit()
|
||||||
|
[1;32m 1525[0m return self._parent([inv])
|
||||||
|
[1;32m 1526[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/categories/fields.py:817[0m, in [0;36mFields.ElementMethods.inverse_of_unit[0;34m(self)[0m
|
||||||
|
[1;32m 787[0m [38;5;28;01mdef[39;00m [38;5;21minverse_of_unit[39m([38;5;28mself[39m):
|
||||||
|
[1;32m 788[0m [38;5;250m [39m[38;5;124mr[39m[38;5;124;03m"""[39;00m
|
||||||
|
[1;32m 789[0m [38;5;124;03m Return the inverse of this element.[39;00m
|
||||||
|
[1;32m 790[0m
|
||||||
|
[0;32m (...)[0m
|
||||||
|
[1;32m 815[0m [38;5;124;03m +infinity[39;00m
|
||||||
|
[1;32m 816[0m [38;5;124;03m """[39;00m
|
||||||
|
[0;32m--> 817[0m [38;5;28;01mreturn[39;00m [38;5;241;43m~[39;49m[38;5;28;43mself[39;49m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:934[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement.__invert__[0;34m()[0m
|
||||||
|
[1;32m 932[0m if self.is_zero():
|
||||||
|
[1;32m 933[0m raise ZeroDivisionError("Cannot invert 0")
|
||||||
|
[0;32m--> 934[0m return self.__class__(self._parent,
|
||||||
|
[1;32m 935[0m self.__denominator, self.__numerator, coerce=False, reduce=False)
|
||||||
|
[1;32m 936[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:1170[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement_1poly_field.__init__[0;34m()[0m
|
||||||
|
[1;32m 1168[0m coerce, reduce)
|
||||||
|
[1;32m 1169[0m if not reduce:
|
||||||
|
[0;32m-> 1170[0m self.normalize_leading_coefficients()
|
||||||
|
[1;32m 1171[0m
|
||||||
|
[1;32m 1172[0m cdef normalize_leading_coefficients(self):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:1177[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement_1poly_field.normalize_leading_coefficients[0;34m()[0m
|
||||||
|
[1;32m 1175[0m """
|
||||||
|
[1;32m 1176[0m invlc = ~self.__denominator.leading_coefficient()
|
||||||
|
[0;32m-> 1177[0m self.__denominator = self.__denominator.monic()
|
||||||
|
[1;32m 1178[0m self.__numerator *= invlc
|
||||||
|
[1;32m 1179[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:5724[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial.monic[0;34m()[0m
|
||||||
|
[1;32m 5722[0m - Naqi Jaffery (2006-01-24): examples
|
||||||
|
[1;32m 5723[0m """
|
||||||
|
[0;32m-> 5724[0m if self.is_monic():
|
||||||
|
[1;32m 5725[0m return self
|
||||||
|
[1;32m 5726[0m a = ~self.leading_coefficient()
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:5497[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial.is_monic[0;34m()[0m
|
||||||
|
[1;32m 5495[0m - Naqi Jaffery (2006-01-24): examples
|
||||||
|
[1;32m 5496[0m """
|
||||||
|
[0;32m-> 5497[0m return not self.is_zero() and self[self.degree()] == 1
|
||||||
|
[1;32m 5498[0m
|
||||||
|
[1;32m 5499[0m def is_unit(self):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:1111[0m, in [0;36msage.structure.element.Element.__richcmp__[0;34m()[0m
|
||||||
|
[1;32m 1109[0m return (<Element>self)._richcmp_(other, op)
|
||||||
|
[1;32m 1110[0m else:
|
||||||
|
[0;32m-> 1111[0m return coercion_model.richcmp(self, other, op)
|
||||||
|
[1;32m 1112[0m
|
||||||
|
[1;32m 1113[0m cpdef _richcmp_(left, right, int op):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1973[0m, in [0;36msage.structure.coerce.CoercionModel.richcmp[0;34m()[0m
|
||||||
|
[1;32m 1971[0m # Coerce to a common parent
|
||||||
|
[1;32m 1972[0m try:
|
||||||
|
[0;32m-> 1973[0m x, y = self.canonical_coercion(x, y)
|
||||||
|
[1;32m 1974[0m except (TypeError, NotImplementedError):
|
||||||
|
[1;32m 1975[0m pass
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1315[0m, in [0;36msage.structure.coerce.CoercionModel.canonical_coercion[0;34m()[0m
|
||||||
|
[1;32m 1313[0m x_elt = x
|
||||||
|
[1;32m 1314[0m if y_map is not None:
|
||||||
|
[0;32m-> 1315[0m y_elt = (<Map>y_map)._call_(y)
|
||||||
|
[1;32m 1316[0m else:
|
||||||
|
[1;32m 1317[0m y_elt = y
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce_maps.pyx:156[0m, in [0;36msage.structure.coerce_maps.DefaultConvertMap_unique._call_[0;34m()[0m
|
||||||
|
[1;32m 154[0m cdef Parent C = self._codomain
|
||||||
|
[1;32m 155[0m try:
|
||||||
|
[0;32m--> 156[0m return C._element_constructor(x)
|
||||||
|
[1;32m 157[0m except Exception:
|
||||||
|
[1;32m 158[0m if print_warnings:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/finite_rings/finite_field_givaro.py:230[0m, in [0;36mFiniteField_givaro._element_constructor_[0;34m(self, e)[0m
|
||||||
|
[1;32m 212[0m [38;5;250m [39m[38;5;124;03m"""[39;00m
|
||||||
|
[1;32m 213[0m [38;5;124;03m Return a random element of ``self``.[39;00m
|
||||||
|
[1;32m 214[0m
|
||||||
|
[0;32m (...)[0m
|
||||||
|
[1;32m 226[0m [38;5;124;03m True[39;00m
|
||||||
|
[1;32m 227[0m [38;5;124;03m """[39;00m
|
||||||
|
[1;32m 228[0m [38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39m_cache[38;5;241m.[39mrandom_element()
|
||||||
|
[0;32m--> 230[0m [38;5;28;01mdef[39;00m [38;5;21m_element_constructor_[39m([38;5;28mself[39m, e):
|
||||||
|
[1;32m 231[0m [38;5;250m [39m[38;5;124;03m"""[39;00m
|
||||||
|
[1;32m 232[0m [38;5;124;03m Coerces several data types to ``self``.[39;00m
|
||||||
|
[1;32m 233[0m
|
||||||
|
[0;32m (...)[0m
|
||||||
|
[1;32m 369[0m [38;5;124;03m 2*a4^3 + 2*a4^2 + 1[39;00m
|
||||||
|
[1;32m 370[0m [38;5;124;03m """[39;00m
|
||||||
|
[1;32m 371[0m [38;5;28;01mreturn[39;00m [38;5;28mself[39m[38;5;241m.[39m_cache[38;5;241m.[39melement_from_data(e)
|
||||||
|
|
||||||
|
File [0;32msrc/cysignals/signals.pyx:310[0m, in [0;36mcysignals.signals.python_check_interrupt[0;34m()[0m
|
||||||
|
|
||||||
|
[0;31mKeyboardInterrupt[0m:
|
||||||
|
[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[6D[0;32msage: [0;38;5;28;1mfor[0m b [0;38;5;129;1min[0m C1.de_rham_basis():[0m
|
||||||
|
[0;32m....: [0m [0;38;5;28mprint[0;38;5;16;48;5;152m([0mmult_by_p(b.omega0).regular_form()[0;38;5;16;48;5;152m)[51D[51C[?7h[0m[?12l[?25h[?25l[?7l[51D[0;32m....: [0m [0;38;5;28mprint[0m(mult_by_p(b.omega0).regular_form())[0m
|
||||||
|
[0;32m....: [6D[10C[?7h[0m[?12l[?25h[?25l[?7l[2A[10D[0m[J[0;32msage: [0;38;5;28;1mfor[0m b [0;38;5;129;1min[0m C1.de_rham_basis():[0m
|
||||||
|
[0;32m....: [0m [0;38;5;28mprint[0m(mult_by_p(b.omega0).regular_form())[0m
|
||||||
|
[0;32m....: [6D[0m
|
||||||
|
[J[?7h[0m[?12l[?25h[?2004lTrue
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^9 + 2*x^3 + (a + 1)*x + 2*a) dy) + dV(0)
|
||||||
|
True
|
||||||
|
^C[0;31m---------------------------------------------------------------------------[0m
|
||||||
|
[0;31mKeyboardInterrupt[0m Traceback (most recent call last)
|
||||||
|
Cell [0;32mIn [3], line 2[0m
|
||||||
|
[1;32m 1[0m [38;5;28;01mfor[39;00m b [38;5;129;01min[39;00m C1[38;5;241m.[39mde_rham_basis():
|
||||||
|
[0;32m----> 2[0m [38;5;28mprint[39m([43mmult_by_p[49m[43m([49m[43mb[49m[38;5;241;43m.[39;49m[43momega0[49m[43m)[49m[38;5;241;43m.[39;49m[43mregular_form[49m[43m([49m[43m)[49m)
|
||||||
|
|
||||||
|
File [0;32m<string>:82[0m, in [0;36mregular_drw_form[0;34m(omega)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:73[0m, in [0;36mdiffn[0;34m(self, dy_w)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:177[0m, in [0;36mdy_w[0;34m(C)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:149[0m, in [0;36mauxilliary_derivative[0;34m(P)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:149[0m, in [0;36mauxilliary_derivative[0;34m(P)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:149[0m, in [0;36mauxilliary_derivative[0;34m(P)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:147[0m, in [0;36mauxilliary_derivative[0;34m(P)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:35[0m, in [0;36m__sub__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:32[0m, in [0;36m__add__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:39[0m, in [0;36m__add__[0;34m(self, other)[0m
|
||||||
|
|
||||||
|
File [0;32m<string>:260[0m, in [0;36mreduction[0;34m(C, g)[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/arith/misc.py:2021[0m, in [0;36mxgcd[0;34m(a, b)[0m
|
||||||
|
[1;32m 1933[0m [38;5;250m[39m[38;5;124mr[39m[38;5;124;03m"""[39;00m
|
||||||
|
[1;32m 1934[0m [38;5;124;03mReturn a triple ``(g,s,t)`` such that `g = s\cdot a+t\cdot b = \gcd(a,b)`.[39;00m
|
||||||
|
[1;32m 1935[0m
|
||||||
|
[0;32m (...)[0m
|
||||||
|
[1;32m 2018[0m [38;5;124;03m (1, 7*a^2/b^2, (((-h)*a)/b^2)*y + 1/b)[39;00m
|
||||||
|
[1;32m 2019[0m [38;5;124;03m"""[39;00m
|
||||||
|
[1;32m 2020[0m [38;5;28;01mtry[39;00m:
|
||||||
|
[0;32m-> 2021[0m [38;5;28;01mreturn[39;00m [43ma[49m[38;5;241;43m.[39;49m[43mxgcd[49m[43m([49m[43mb[49m[43m)[49m
|
||||||
|
[1;32m 2022[0m [38;5;28;01mexcept[39;00m [38;5;167;01mAttributeError[39;00m:
|
||||||
|
[1;32m 2023[0m a [38;5;241m=[39m py_scalar_to_element(a)
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:4497[0m, in [0;36msage.structure.element.coerce_binop.new_method[0;34m()[0m
|
||||||
|
[1;32m 4495[0m def new_method(self, other, *args, **kwargs):
|
||||||
|
[1;32m 4496[0m if have_same_parent(self, other):
|
||||||
|
[0;32m-> 4497[0m return method(self, other, *args, **kwargs)
|
||||||
|
[1;32m 4498[0m else:
|
||||||
|
[1;32m 4499[0m a, b = coercion_model.canonical_coercion(self, other)
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:8931[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial.xgcd[0;34m()[0m
|
||||||
|
[1;32m 8929[0m """
|
||||||
|
[1;32m 8930[0m if hasattr(self.base_ring(), '_xgcd_univariate_polynomial'):
|
||||||
|
[0;32m-> 8931[0m return self.base_ring()._xgcd_univariate_polynomial(self, other)
|
||||||
|
[1;32m 8932[0m else:
|
||||||
|
[1;32m 8933[0m raise NotImplementedError("%s does not provide an xgcd implementation for univariate polynomials"%self.base_ring())
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/categories/fields.py:378[0m, in [0;36mFields.ParentMethods._xgcd_univariate_polynomial[0;34m(self, a, b)[0m
|
||||||
|
[1;32m 376[0m [38;5;28;01mif[39;00m d:
|
||||||
|
[1;32m 377[0m c [38;5;241m=[39m [38;5;241m~[39md[38;5;241m.[39mleading_coefficient()
|
||||||
|
[0;32m--> 378[0m d, u, v [38;5;241m=[39m [43mc[49m[38;5;241;43m*[39;49m[43md[49m, c[38;5;241m*[39mu, c[38;5;241m*[39mv
|
||||||
|
[1;32m 379[0m [38;5;28;01mreturn[39;00m d, u, v
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:1515[0m, in [0;36msage.structure.element.Element.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1513[0m return (<Element>left)._mul_(right)
|
||||||
|
[1;32m 1514[0m if BOTH_ARE_ELEMENT(cl):
|
||||||
|
[0;32m-> 1515[0m return coercion_model.bin_op(left, right, mul)
|
||||||
|
[1;32m 1516[0m
|
||||||
|
[1;32m 1517[0m cdef long value
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1194[0m, in [0;36msage.structure.coerce.CoercionModel.bin_op[0;34m()[0m
|
||||||
|
[1;32m 1192[0m if action is not None:
|
||||||
|
[1;32m 1193[0m if (<Action>action)._is_left:
|
||||||
|
[0;32m-> 1194[0m return (<Action>action)._act_(x, y)
|
||||||
|
[1;32m 1195[0m else:
|
||||||
|
[1;32m 1196[0m return (<Action>action)._act_(y, x)
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce_actions.pyx:612[0m, in [0;36msage.structure.coerce_actions.LeftModuleAction._act_[0;34m()[0m
|
||||||
|
[1;32m 610[0m if self.extended_base is not None:
|
||||||
|
[1;32m 611[0m a = <ModuleElement?>self.extended_base(a)
|
||||||
|
[0;32m--> 612[0m return (<ModuleElement>a)._rmul_(<Element>g) # g * a
|
||||||
|
[1;32m 613[0m
|
||||||
|
[1;32m 614[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_element.pyx:11518[0m, in [0;36msage.rings.polynomial.polynomial_element.Polynomial_generic_dense._rmul_[0;34m()[0m
|
||||||
|
[1;32m 11516[0m if c._parent is not (<Element>self.__coeffs[0])._parent:
|
||||||
|
[1;32m 11517[0m c = (<Element>self.__coeffs[0])._parent.coerce(c)
|
||||||
|
[0;32m> 11518[0m v = [c * a for a in self.__coeffs]
|
||||||
|
[1;32m 11519[0m cdef Polynomial_generic_dense res = self._new_c(v, self._parent)
|
||||||
|
[1;32m 11520[0m #if not v[len(v)-1]:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:1513[0m, in [0;36msage.structure.element.Element.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1511[0m cdef int cl = classify_elements(left, right)
|
||||||
|
[1;32m 1512[0m if HAVE_SAME_PARENT(cl):
|
||||||
|
[0;32m-> 1513[0m return (<Element>left)._mul_(right)
|
||||||
|
[1;32m 1514[0m if BOTH_ARE_ELEMENT(cl):
|
||||||
|
[1;32m 1515[0m return coercion_model.bin_op(left, right, mul)
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:686[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement._mul_[0;34m()[0m
|
||||||
|
[1;32m 684[0m except NotImplementedError:
|
||||||
|
[1;32m 685[0m pass
|
||||||
|
[0;32m--> 686[0m return self.__class__(self._parent, tnum, tden,
|
||||||
|
[1;32m 687[0m coerce=False, reduce=False)
|
||||||
|
[1;32m 688[0m except AttributeError:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:1170[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement_1poly_field.__init__[0;34m()[0m
|
||||||
|
[1;32m 1168[0m coerce, reduce)
|
||||||
|
[1;32m 1169[0m if not reduce:
|
||||||
|
[0;32m-> 1170[0m self.normalize_leading_coefficients()
|
||||||
|
[1;32m 1171[0m
|
||||||
|
[1;32m 1172[0m cdef normalize_leading_coefficients(self):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/fraction_field_element.pyx:1178[0m, in [0;36msage.rings.fraction_field_element.FractionFieldElement_1poly_field.normalize_leading_coefficients[0;34m()[0m
|
||||||
|
[1;32m 1176[0m invlc = ~self.__denominator.leading_coefficient()
|
||||||
|
[1;32m 1177[0m self.__denominator = self.__denominator.monic()
|
||||||
|
[0;32m-> 1178[0m self.__numerator *= invlc
|
||||||
|
[1;32m 1179[0m
|
||||||
|
[1;32m 1180[0m def is_integral(self):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/element.pyx:1515[0m, in [0;36msage.structure.element.Element.__mul__[0;34m()[0m
|
||||||
|
[1;32m 1513[0m return (<Element>left)._mul_(right)
|
||||||
|
[1;32m 1514[0m if BOTH_ARE_ELEMENT(cl):
|
||||||
|
[0;32m-> 1515[0m return coercion_model.bin_op(left, right, mul)
|
||||||
|
[1;32m 1516[0m
|
||||||
|
[1;32m 1517[0m cdef long value
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce.pyx:1196[0m, in [0;36msage.structure.coerce.CoercionModel.bin_op[0;34m()[0m
|
||||||
|
[1;32m 1194[0m return (<Action>action)._act_(x, y)
|
||||||
|
[1;32m 1195[0m else:
|
||||||
|
[0;32m-> 1196[0m return (<Action>action)._act_(y, x)
|
||||||
|
[1;32m 1197[0m
|
||||||
|
[1;32m 1198[0m # Now coerce to a common parent and do the operation there
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/structure/coerce_actions.pyx:645[0m, in [0;36msage.structure.coerce_actions.RightModuleAction._act_[0;34m()[0m
|
||||||
|
[1;32m 643[0m if self.extended_base is not None:
|
||||||
|
[1;32m 644[0m a = <ModuleElement?>self.extended_base(a)
|
||||||
|
[0;32m--> 645[0m return (<ModuleElement>a)._lmul_(<Element>g) # a * g
|
||||||
|
[1;32m 646[0m
|
||||||
|
[1;32m 647[0m
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/rings/polynomial/polynomial_zz_pex.pyx:221[0m, in [0;36msage.rings.polynomial.polynomial_zz_pex.Polynomial_ZZ_pEX._lmul_[0;34m()[0m
|
||||||
|
[1;32m 219[0m r._parent = (<Polynomial_template>self)._parent
|
||||||
|
[1;32m 220[0m r._cparent = (<Polynomial_template>self)._cparent
|
||||||
|
[0;32m--> 221[0m d = self._parent._modulus.ZZ_pE(list(left.polynomial()))
|
||||||
|
[1;32m 222[0m ZZ_pEX_mul_ZZ_pE(r.x, self.x, d.x)
|
||||||
|
[1;32m 223[0m return r
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/libs/ntl/ntl_ZZ_pEContext.pyx:154[0m, in [0;36msage.libs.ntl.ntl_ZZ_pEContext.ntl_ZZ_pEContext_class.ZZ_pE[0;34m()[0m
|
||||||
|
[1;32m 152[0m """
|
||||||
|
[1;32m 153[0m from .ntl_ZZ_pE import ntl_ZZ_pE
|
||||||
|
[0;32m--> 154[0m return ntl_ZZ_pE(v,modulus=self)
|
||||||
|
[1;32m 155[0m
|
||||||
|
[1;32m 156[0m def ZZ_pEX(self, v = None):
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/libs/ntl/ntl_ZZ_pE.pyx:117[0m, in [0;36msage.libs.ntl.ntl_ZZ_pE.ntl_ZZ_pE.__init__[0;34m()[0m
|
||||||
|
[1;32m 115[0m self.x = ZZ_pX_to_ZZ_pE((<ntl_ZZ_pX>v).x)
|
||||||
|
[1;32m 116[0m elif isinstance(v, (list, tuple)):
|
||||||
|
[0;32m--> 117[0m tmp_zzpx = <ntl_ZZ_pX>ntl_ZZ_pX(v, self.c.pc)
|
||||||
|
[1;32m 118[0m self.c.restore_c() # allocating tmp_zzpx can change the current modulus trac #25790
|
||||||
|
[1;32m 119[0m self.x = ZZ_pX_to_ZZ_pE(tmp_zzpx.x)
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/libs/ntl/ntl_ZZ_pX.pyx:108[0m, in [0;36msage.libs.ntl.ntl_ZZ_pX.ntl_ZZ_pX.__init__[0;34m()[0m
|
||||||
|
[1;32m 106[0m for i, x in enumerate(v):
|
||||||
|
[1;32m 107[0m if not isinstance(x, ntl_ZZ_p):
|
||||||
|
[0;32m--> 108[0m cc = ntl_ZZ_p(x, self.c)
|
||||||
|
[1;32m 109[0m self.c.restore_c()
|
||||||
|
[1;32m 110[0m else:
|
||||||
|
|
||||||
|
File [0;32m/ext/sage/9.8/src/sage/libs/ntl/ntl_ZZ_p.pyx:131[0m, in [0;36msage.libs.ntl.ntl_ZZ_p.ntl_ZZ_p.__init__[0;34m()[0m
|
||||||
|
[1;32m 129[0m ZZ_p_div(self.x, ZZ_to_ZZ_p(num), ZZ_to_ZZ_p(den))
|
||||||
|
[1;32m 130[0m else:
|
||||||
|
[0;32m--> 131[0m str_v = str(v) # can cause modulus to change trac #25790
|
||||||
|
[1;32m 132[0m self.c.restore_c()
|
||||||
|
[1;32m 133[0m ccreadstr(self.x, str_v)
|
||||||
|
|
||||||
|
File [0;32msrc/cysignals/signals.pyx:310[0m, in [0;36mcysignals.signals.python_check_interrupt[0;34m()[0m
|
||||||
|
|
||||||
|
[0;31mKeyboardInterrupt[0m:
|
||||||
|
[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0ml[0;38;5;241moad('init.sage')[16D[?7h[0m[?12l[?25h[?25l[?7l[0mo[?7h[0m[?12l[?25h[?25l[?7l[0mad[0;38;5;16;48;5;152m([0;33m'init.sage'[0;38;5;16;48;5;152m)[?7h[0m[?12l[?25h[?25l[?7l[23D[0m[J[0;32msage: [0mload([0;33m'init.sage'[0m)[23D[0m
|
||||||
|
[J[?7h[0m[?12l[?25h[?2004l[0] d[x] + [0] d[y] + V((2*a*x^9 + 2*x^3 + (a + 1)*x + 2*a) dy) + dV(0)
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^12 + 2*x^6 + (a + 1)*x^4 + 2*a*x^3) dy) + dV(0)
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^15 + 2*x^9 + (a + 1)*x^7 + 2*a*x^6) dy) + dV(0)
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^18 + 2*x^12 + (a + 1)*x^10 + 2*a*x^9) dy) + dV(0)
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^30 + 2*x^24 + (a + 1)*x^22 + 2*a*x^21 + (a + 1)*x^12 + a*x^6 + (a + 2)*x^4 + (a + 1)*x^3) dy) + dV(0)
|
||||||
|
[0] d[x] + [0] d[y] + V((a*x^27 + x^21 + (2*a + 2)*x^19 + a*x^18 + (2*a + 2)*x^9 + 2*a*x^3 + (2*a + 1)*x + 2*a + 2) dy) + dV(0)
|
||||||
|
[0] d[x] + [0] d[y] + V((0) dy) + dV(0)
|
||||||
|
[0] d[x] + [0] d[y] + V((2*a*x^21 + 2*x^15 + (a + 1)*x^13 + 2*a*x^12) dy) + dV(0)
|
||||||
|
[6n[?2004h[?25l[0m[?7l[0m[J[0;32msage: [6D[6C[?7h[0m[?12l[?25h[?25l[?7l[?7h[0m[?12l[?25h[?25l[?7l[0mq[?7h[0m[?12l[?25h
|
@ -73,22 +73,15 @@ class superelliptic_regular_drw_form:
|
|||||||
return "[" + str(self.dx) + "] d[x] + [" + str(self.dy) + "] d[y] + V(" + str(self.omega) + ") + dV(" + str(self.h2) + ")"
|
return "[" + str(self.dx) + "] d[x] + [" + str(self.dy) + "] d[y] + V(" + str(self.omega) + ") + dV(" + str(self.h2) + ")"
|
||||||
|
|
||||||
def regular_drw_form(omega):
|
def regular_drw_form(omega):
|
||||||
print(omega.frobenius().is_regular_on_U0())
|
|
||||||
C = omega.curve
|
C = omega.curve
|
||||||
p = C.characteristic
|
p = C.characteristic
|
||||||
omega_aux = omega.r()
|
omega_aux = omega.r()
|
||||||
omega_aux = omega_aux.regular_form()
|
omega_aux = omega_aux.regular_form()
|
||||||
aux = omega - omega_aux.dx.teichmuller()*C.x.teichmuller().diffn() - omega_aux.dy.teichmuller()*C.y.teichmuller().diffn()
|
aux = omega - omega_aux.dx.teichmuller()*C.x.teichmuller().diffn() - omega_aux.dy.teichmuller()*C.y.teichmuller().diffn()
|
||||||
print("aux == omega", aux == omega)
|
|
||||||
aux1 = aux.omega
|
aux1 = aux.omega
|
||||||
aux.omega, fct = decomposition_omega0_hpdh(aux.omega)
|
aux.omega, fct = decomposition_omega0_hpdh(aux.omega)
|
||||||
print('aux.omega, fct', aux.omega, fct, aux1.cartier() == fct.diffn(), aux1.verschiebung() == mult_by_p(fct.diffn()))
|
|
||||||
print('mult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn()', mult_by_p(fct.diffn()) == (fct^p).verschiebung().diffn())
|
|
||||||
aux.h2 += fct^p
|
aux.h2 += fct^p
|
||||||
print(aux.omega.is_regular_on_U0(), aux.frobenius().is_regular_on_U0())
|
|
||||||
print('aux - omega', aux - omega)
|
|
||||||
aux.h2, A = decomposition_g0_pth_power(aux.h2)
|
aux.h2, A = decomposition_g0_pth_power(aux.h2)
|
||||||
print('A.diffn().is_regular_on_U0()', A.diffn().is_regular_on_U0())
|
|
||||||
aux.omega += (A.diffn()).inv_cartier()
|
aux.omega += (A.diffn()).inv_cartier()
|
||||||
result = superelliptic_regular_drw_form(omega_aux.dx, omega_aux.dy, aux.omega.regular_form(), aux.h2)
|
result = superelliptic_regular_drw_form(omega_aux.dx, omega_aux.dy, aux.omega.regular_form(), aux.h2)
|
||||||
return result
|
return result
|
||||||
|
Loading…
Reference in New Issue
Block a user