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

Commit

Permalink
rst fixes in schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Jul 12, 2022
1 parent 625ac58 commit 7b1b937
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 31 deletions.
2 changes: 1 addition & 1 deletion src/sage/schemes/curves/zariski_vankampen.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def geometric_basis(G, E, p):
- ``G`` -- the graph of the bounded regions of a Voronoi Diagram
- ``E`` -- the subgraph of ``G`` formed by the edges that touch an unbounded
region
region
- ``p`` -- a vertex of ``E``
Expand Down
2 changes: 1 addition & 1 deletion src/sage/schemes/cyclic_covers/cycliccover_finite_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@ def _reduce_vector_vertical_plain(G, s0, s, k=1):
OUTPUT:
- a vector -- `H \in W_{-1, r*(s - k) + s0}` such that
`G y^{-(r*s + s0)} dx \cong H y^{-(r*(s -k) + s0)} dx`
`G y^{-(r*s + s0)} dx \cong H y^{-(r*(s -k) + s0)} dx`
"""
if self._verbose > 2:
print(
Expand Down
2 changes: 1 addition & 1 deletion src/sage/schemes/elliptic_curves/ell_number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def _scale_by_units(self):
A model for this elliptic curve, optimally scaled with respect
to scaling by units, with respect to the logarithmic embedding
of |c4|^(1/4)+|c6|^(1/6). No scaling by roots of unity is
of `|c4|^(1/4)+|c6|^(1/6)`. No scaling by roots of unity is
carried out, so there is no change when the unit rank is 0.
EXAMPLES::
Expand Down
8 changes: 5 additions & 3 deletions src/sage/schemes/elliptic_curves/ell_rational_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -6417,10 +6417,12 @@ def S_integral_points_with_bounded_mw_coeffs():
Return the set of S-integers x which are x-coordinates of
points on the curve which are linear combinations of the
generators (basis and torsion points) with coefficients
bounded by `H_q`. The bound `H_q` will be computed at
runtime.
bounded by `H_q`.
The bound `H_q` will be computed at runtime.
(Modified version of integral_points_with_bounded_mw_coeffs() in
integral_points() )
integral_points())
.. TODO::
Expand Down
9 changes: 6 additions & 3 deletions src/sage/schemes/elliptic_curves/gal_reps_number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,11 +570,14 @@ def primes_iter():
L = [2] + L
return L


def _exceptionals(E, L, patience=1000):
r"""
Determine which primes in L are exceptional for E, using Proposition 19
of Section 2.8 of Serre's ``Propriétés Galoisiennes des Points d'Ordre
Fini des Courbes Elliptiques'' [Ser1972]_.
Determine which primes in L are exceptional for E.
This is done using Proposition 19 of Section 2.8 of Serre's
*Propriétés Galoisiennes des Points d'Ordre Fini des Courbes Elliptiques*
[Ser1972]_.
INPUT:
Expand Down
2 changes: 1 addition & 1 deletion src/sage/schemes/elliptic_curves/isogeny_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def __iter__(self):

def __getitem__(self, i):
"""
Return the `i`th curve in the class.
Return the `i` th curve in the class.
EXAMPLES::
Expand Down
13 changes: 5 additions & 8 deletions src/sage/schemes/elliptic_curves/padics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1646,24 +1646,22 @@ def matrix_of_frobenius(self, p, prec=20, check=False, check_hypotheses=True, al

return frob_p.change_ring(Zp(p, prec))


def _brent(F, p, N):
r"""
This is an internal function; it is used by padic_sigma().
`F` is a assumed to be a power series over
`R = \ZZ/p^{N-1}\ZZ`.
`F` is a assumed to be a power series over `R = \ZZ/p^{N-1}\ZZ`.
It solves the differential equation `G'(t)/G(t) = F(t)`
using Brent's algorithm, with initial condition `G(0) = 1`.
It is assumed that the solution `G` has
`p`-integral coefficients.
It is assumed that the solution `G` has `p`-integral coefficients.
More precisely, suppose that `f(t)` is a power series with
genuine `p`-adic coefficients, and suppose that
`g(t)` is an exact solution to `g'(t)/g(t) = f(t)`.
Let `I` be the ideal
`(p^N, p^{N-1} t, \ldots,
p t^{N-1}, t^N)`. The input
`(p^N, p^{N-1} t, \ldots, p t^{N-1}, t^N)`. The input
`F(t)` should be a finite-precision approximation to
`f(t)`, in the sense that `\int (F - f) dt` should
lie in `I`. Then the function returns a series
Expand All @@ -1673,8 +1671,7 @@ def _brent(F, p, N):
some log-log factors.
For more information, and a proof of the precision guarantees, see
Lemma 4 in "Efficient Computation of p-adic Heights" (David
Harvey).
Lemma 4 in "Efficient Computation of p-adic Heights" (David Harvey).
AUTHORS:
Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/elliptic_curves/period_lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ def __init__(self, E, embedding=None):
- use the built-in coercion to `\RR` for `K=\QQ`;
- use the first embedding into `\RR` given by
``K.embeddings(RealField())``, if there are any;
``K.embeddings(RealField())``, if there are any;
- use the first embedding into `\CC` given by
``K.embeddings(ComplexField())``, if `K` is totally complex.
``K.embeddings(ComplexField())``, if `K` is totally complex.
.. NOTE::
Expand Down
23 changes: 12 additions & 11 deletions src/sage/schemes/riemann_surfaces/riemann_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1558,17 +1558,18 @@ def _bounding_data(self, differentials):
the list corresponds to an element of ``differentials``. Introducing the
notation ``RBzg = PolynomialRing(self._R, ['z','g'])`` and
``CCzg = PolynomialRing(self._CC, ['z','g'])``, we have that:
- ``g`` is the full rational function in ``self._R.fraction_field()``
giving the differential,
- ``dgdz`` is the derivative of ``g`` with respect to ``self._R.gen(0)``,
written in terms of ``self._R.gen(0)`` and ``g``, hence laying in
``RBzg``,
- ``F`` is the minimal polynomial of ``g`` over ``self._R.gen(0)``,
laying in the polynomial ring ``CCzg``,
- ``a0_info`` is a tuple ``(lc, roots)`` where ``lc`` and ``roots`` are
the leading coefficient and roots of the polynomial in ``CCzg.gen(0)``
that is the coefficient of the term of ``F`` of highest degree in
``CCzg.gen(1)``.
- ``g`` is the full rational function in ``self._R.fraction_field()``
giving the differential,
- ``dgdz`` is the derivative of ``g`` with respect to ``self._R.gen(0)``
, written in terms of ``self._R.gen(0)`` and ``g``, hence laying in
``RBzg``,
- ``F`` is the minimal polynomial of ``g`` over ``self._R.gen(0)``,
laying in the polynomial ring ``CCzg``,
- ``a0_info`` is a tuple ``(lc, roots)`` where ``lc`` and ``roots`` are
the leading coefficient and roots of the polynomial in ``CCzg.gen(0)``
that is the coefficient of the term of ``F`` of highest degree in
``CCzg.gen(1)``.
EXAMPLES::
Expand Down

0 comments on commit 7b1b937

Please sign in to comment.