Skip to content

Commit

Permalink
src/sage/schemes/hyperelliptic_curves/monsky_washnitzer.py: Docstring…
Browse files Browse the repository at this point in the history
… cosmetics
  • Loading branch information
Matthias Koeppe committed Oct 1, 2023
1 parent 869d776 commit 1b873b9
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/sage/schemes/hyperelliptic_curves/monsky_washnitzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -684,11 +684,11 @@ def transpose_list(input):


def helper_matrix(Q):
"""
r"""
Compute the (constant) matrix used to calculate the linear
combinations of the `d(x^i y^j)` needed to eliminate the
negative powers of `y` in the cohomology (i.e. in
reduce_negative()).
negative powers of `y` in the cohomology (i.e., in
:func:`reduce_negative`).
INPUT:
Expand Down Expand Up @@ -722,14 +722,14 @@ def helper_matrix(Q):

def lift(x):
r"""
Try to call ``x.lift()``, presumably from the `p`-adics to ``ZZ``.
Try to call ``x.lift()``, presumably from the `p`-adics to `\ZZ`.
If this fails, it assumes the input is a power series, and tries to
lift it to a power series over ``QQ``.
lift it to a power series over `\QQ`.
This function is just a very kludgy solution to the problem of
trying to make the reduction code (below) work over both Zp and
Zp[[t]].
trying to make the reduction code (below) work over both `\ZZ_p` and
`\ZZ_p[[t]]`.
EXAMPLES::
Expand Down Expand Up @@ -763,7 +763,7 @@ def reduce_negative(Q, p, coeffs, offset, exact_form=None):
- ``Q`` -- cubic polynomial
- ``coeffs`` -- list of length 3 lists. The
`i^{th}` list [a, b, c] represents
`i`-th list ``[a, b, c]`` represents
`y^{2(i - offset)} (a + bx + cx^2) dx/y`.
- ``offset`` -- nonnegative integer
Expand Down Expand Up @@ -866,7 +866,7 @@ def reduce_positive(Q, p, coeffs, offset, exact_form=None):
- ``Q`` -- cubic polynomial
- ``coeffs`` -- list of length 3 lists. The
`i^{th}` list [a, b, c] represents
`i`-th list [a, b, c] represents
`y^{2(i - offset)} (a + bx + cx^2) dx/y`.
- ``offset`` -- nonnegative integer
Expand Down Expand Up @@ -960,7 +960,7 @@ def reduce_zero(Q, coeffs, offset, exact_form=None):
- ``Q`` -- cubic polynomial
- ``coeffs`` -- list of length 3 lists. The
`i^{th}` list [a, b, c] represents
`i`-th list [a, b, c] represents
`y^{2(i - offset)} (a + bx + cx^2) dx/y`.
- ``offset`` -- nonnegative integer
Expand Down Expand Up @@ -1012,7 +1012,7 @@ def reduce_all(Q, p, coeffs, offset, compute_exact_form=False):
- ``Q`` -- cubic polynomial
- ``coeffs`` -- list of length 3 lists. The
`i^{th}` list [a, b, c] represents
`i`-th list [a, b, c] represents
`y^{2(i - offset)} (a + bx + cx^2) dx/y`.
- ``offset`` -- nonnegative integer
Expand Down Expand Up @@ -1088,7 +1088,7 @@ def frobenius_expansion_by_newton(Q, p, M):
coefficient ring of `Q`.)
`F_0` and `F_1` are computed in the
SpecialCubicQuotientRing associated to `Q`, so all powers
:class:`SpecialCubicQuotientRing` associated to `Q`, so all powers
of `x^j` for `j \geq 3` are reduced to powers of
`T`.
Expand All @@ -1106,7 +1106,7 @@ def frobenius_expansion_by_newton(Q, p, M):
OUTPUT:
- ``F0, F1`` -- elements of
SpecialCubicQuotientRing(Q), as described above
``SpecialCubicQuotientRing(Q)``, as described above
- ``r`` -- non-negative integer, as described above
Expand Down Expand Up @@ -1261,7 +1261,7 @@ def frobenius_expansion_by_series(Q, p, M):
and `R` is the coefficient ring of `Q`.)
`F_0` and `F_1` are computed in the
SpecialCubicQuotientRing associated to `Q`, so all powers
:class:`SpecialCubicQuotientRing` associated to `Q`, so all powers
of `x^j` for `j \geq 3` are reduced to powers of
`T`.
Expand Down Expand Up @@ -1294,7 +1294,7 @@ def frobenius_expansion_by_series(Q, p, M):
OUTPUT:
- ``F0, F1`` -- elements of
SpecialCubicQuotientRing(Q), as described above
``SpecialCubicQuotientRing(Q)``, as described above
- ``r`` -- non-negative integer, as described above
Expand Down

0 comments on commit 1b873b9

Please sign in to comment.