Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, R):
TESTS::

sage: V = lie_conformal_algebras.N2(QQ)
sage: TestSuite(V).run()
sage: TestSuite(V).run() # long time (:issue:`39569`)
"""
n2dict = {('L', 'L'): {0: {('L', 1): 1},
1: {('L', 0): 2},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,13 +400,13 @@
(0, 0, 0, 0, 0)
sage: A4.<t1, t2, t3, t4> = OrderedHyperplaneArrangements(QQ)
sage: H = A4(hyperplane_arrangements.braid(4))
sage: G4 = H.projective_fundamental_group(); G4.sorted_presentation()
sage: G4 = H.projective_fundamental_group(); G4.sorted_presentation() # long time (:issue:`39569`)
Finitely presented group
< x0, x1, x2, x3, x4 | x4^-1*x3^-1*x2^-1*x3*x4*x0*x2*x0^-1,
x4^-1*x2^-1*x4*x2, x4^-1*x1^-1*x0^-1*x1*x4*x0,
x4^-1*x1^-1*x0^-1*x4*x0*x1,
x3^-1*x2^-1*x1^-1*x0^-1*x3*x0*x1*x2, x3^-1*x1^-1*x3*x1 >
sage: G4.abelian_invariants()
sage: G4.abelian_invariants() # long time (:issue:`39569`)
(0, 0, 0, 0, 0)

sage: # needs sirocco
Expand Down Expand Up @@ -494,7 +494,7 @@
1: [x3], 2: [x4], 3: [x1], 4: [x2], 5: [x0]}
sage: A4.<t1, t2, t3, t4> = OrderedHyperplaneArrangements(QQ)
sage: H = A4(hyperplane_arrangements.braid(4))
sage: H.projective_meridians()

Check warning on line 497 in src/sage/geometry/hyperplane_arrangement/ordered_arrangement.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.12, all)

Warning: slow doctest:

slow doctest:: Test ran for 5.57s cpu, 4.12s wall Check ran for 0.00s cpu, 0.00s wall

Check warning on line 497 in src/sage/geometry/hyperplane_arrangement/ordered_arrangement.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.12, all, editable)

Warning: slow doctest:

slow doctest:: Test ran for 5.10s cpu, 3.73s wall Check ran for 0.00s cpu, 0.00s wall
{0: [x2^-1*x0^-1*x4^-1*x3^-1*x1^-1], 1: [x3],
2: [x4], 3: [x0], 4: [x2], 5: [x1]}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def corneil_habib_paul_tedder_algorithm(G):
....: 3, 4, 0.2)
sage: recreate_decomposition(10, corneil_habib_paul_tedder_algorithm,
....: 4, 5, 0.2)
sage: recreate_decomposition(3, corneil_habib_paul_tedder_algorithm,
sage: recreate_decomposition(3, corneil_habib_paul_tedder_algorithm, # long time (:issue:`39569`)
....: 6, 5, 0.2)

sage: H = Graph('Hv|mmjz', format='graph6')
Expand Down
2 changes: 1 addition & 1 deletion src/sage/graphs/independent_sets.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ cdef class IndependentSets:
....: IS2.extend(map(Set, list(G.subgraph_search_iterator(Graph(n), induced=True, return_graphs=False))))
....: if len(IS) != len(set(IS2)):
....: raise ValueError("something goes wrong")
sage: for i in range(5): # needs sage.modules
sage: for i in range(5): # needs sage.modules, long time (:issue:`39569`)
....: check_with_subgraph_search(graphs.RandomGNP(11, .3))

Empty graph::
Expand Down
2 changes: 1 addition & 1 deletion src/sage/interfaces/maxima_abstract.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
EXAMPLES::

# The output is kind of random
sage: sorted(maxima._commands(verbose=False))
sage: sorted(maxima._commands(verbose=False)) # long time (:issue:`39569`)

Check warning on line 307 in src/sage/interfaces/maxima_abstract.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.12, new)

Warning: slow doctest:

slow doctest:: Test ran for 30.32s cpu, 33.11s wall Check ran for 0.00s cpu, 0.00s wall

Check warning on line 307 in src/sage/interfaces/maxima_abstract.py

View workflow job for this annotation

GitHub Actions / test-long (src/sage/[g-o]*)

Warning: slow doctest:

slow doctest:: Test ran for 39.45s cpu, 32.55s wall Check ran for 0.00s cpu, 0.00s wall
[...
'display',
...
Expand Down Expand Up @@ -337,7 +337,7 @@

EXAMPLES::

sage: t = maxima._tab_completion(verbose=False)

Check warning on line 340 in src/sage/interfaces/maxima_abstract.py

View workflow job for this annotation

GitHub Actions / Conda (macos, Python 3.11, all)

Warning: slow doctest:

slow doctest:: Test ran for 16.70s cpu, 17.20s wall Check ran for 0.00s cpu, 0.00s wall

Check warning on line 340 in src/sage/interfaces/maxima_abstract.py

View workflow job for this annotation

GitHub Actions / Conda (macos, Python 3.12, all)

Warning: slow doctest:

slow doctest:: Test ran for 17.04s cpu, 18.60s wall Check ran for 0.00s cpu, 0.00s wall

Check warning on line 340 in src/sage/interfaces/maxima_abstract.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.12, all)

Warning: slow doctest:

slow doctest:: Test ran for 20.68s cpu, 20.72s wall Check ran for 0.00s cpu, 0.00s wall

Check warning on line 340 in src/sage/interfaces/maxima_abstract.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.11, all)

Warning: slow doctest:

slow doctest:: Test ran for 20.37s cpu, 20.36s wall Check ran for 0.00s cpu, 0.00s wall

Check warning on line 340 in src/sage/interfaces/maxima_abstract.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.12, all, editable)

Warning: slow doctest:

slow doctest:: Test ran for 20.29s cpu, 20.28s wall Check ran for 0.00s cpu, 0.00s wall
sage: 'gcd' in t
True
sage: len(t) # random output
Expand Down
1 change: 1 addition & 0 deletions src/sage/libs/singular/polynomial.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ cdef int singular_polynomial_cmp(poly *p, poly *q, ring *r) noexcept:

::

sage: # long time (:issue:`39569`)
sage: R.<x,y> = Integers(10)[]
sage: l = [i*x+j*y+k for i in range(10) for j in range(10) for k in range(10)]
sage: l.sort()
Expand Down
1 change: 1 addition & 0 deletions src/sage/modular/modform/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -2760,6 +2760,7 @@ def _pow_int(self, n):

Testing modular forms of nontrivial character::

sage: # long time (:issue:`39569`)
sage: F = ModularForms(DirichletGroup(17).0^2, 2).2
sage: F3 = F^3; F3
q^3 + (-3*zeta8^2 + 6)*q^4 + (-12*zeta8^2 + 3*zeta8 + 18)*q^5 + O(q^6)
Expand Down
2 changes: 2 additions & 0 deletions src/sage/rings/function_field/khuri_makdisi.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -820,6 +820,7 @@ cdef class KhuriMakdisi_small(KhuriMakdisi_base):

Check that :issue:`40237` is fixed::

sage: # long time (:issue:`39569`)
sage: K = GF(2)
sage: F.<x> = FunctionField(K)
sage: t = polygen(F)
Expand Down Expand Up @@ -873,6 +874,7 @@ cdef class KhuriMakdisi_small(KhuriMakdisi_base):

Check that :issue:`39148` is fixed::

sage: # long time (:issue:`39569`)
sage: k.<x> = FunctionField(GF(17)); t = polygen(k)
sage: F.<y> = k.extension(t^4 + (14*x + 14)*t^3 + 9*t^2 + (10*x^2 + 15*x + 8)*t
....: + 7*x^3 + 15*x^2 + 6*x + 16)
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/number_field/number_field_element.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ cdef class NumberFieldElement(NumberFieldElement_base):

Check that :issue:`15276` is fixed::

sage: for n in range(2,20): # needs sage.libs.gap
sage: for n in range(2,20): # needs sage.libs.gap, long time (:issue:`39569`)
....: K = CyclotomicField(n)
....: assert K(gap(K.gen())) == K.gen(), "n = {}".format(n)
....: assert K(gap(K.one())) == K.one(), "n = {}".format(n)
Expand Down
2 changes: 2 additions & 0 deletions src/sage/rings/semirings/tropical_mpolynomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,12 +543,13 @@

A subdivision with many faces, not all of which are triangles::

sage: # long time (:issue:`39569`)
sage: T = TropicalSemiring(QQ)
sage: R.<x,y> = PolynomialRing(T)
sage: p3 = (R(8) + R(4)*x + R(2)*y + R(1)*x^2 + x*y + R(1)*y^2
....: + R(2)*x^3 + x^2*y + x*y^2 + R(4)*y^3 + R(8)*x^4
....: + R(4)*x^3*y + x^2*y^2 + R(2)*x*y^3 + y^4)
sage: pc = p3.dual_subdivision(); pc

Check warning on line 552 in src/sage/rings/semirings/tropical_mpolynomial.py

View workflow job for this annotation

GitHub Actions / test-long (src/sage/[p-z]*)

Warning: slow doctest:

slow doctest:: Test ran for 30.12s cpu, 29.41s wall Check ran for 0.00s cpu, 0.00s wall
Polyhedral complex with 10 maximal cells
sage: [p.Vrepresentation() for p in pc.maximal_cells_sorted()]
[(A vertex at (0, 0), A vertex at (0, 1), A vertex at (1, 0)),
Expand Down Expand Up @@ -578,6 +579,7 @@

Dual subdivision of a tropical surface::

sage: # long time (:issue:`39569`)
sage: T = TropicalSemiring(QQ)
sage: R.<x,y,z> = PolynomialRing(T)
sage: p1 = x + y + z + x^2 + R(1)
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/semirings/tropical_variety.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@
sage: T = TropicalSemiring(QQ)
sage: R.<a,b,c,d> = PolynomialRing(T)
sage: f = R.random_element()
sage: vec = f.tropical_variety().weight_vectors()[2].values()
sage: vec = f.tropical_variety().weight_vectors()[2].values() # long time (:issue:`39569`)
sage: all(a == vector([0,0,0,0]) for a in [sum(lst) for lst in vec]) # not tested (:issue:`39663`)
True
"""
Expand Down Expand Up @@ -1615,7 +1615,7 @@
sage: p3 = (R(8) + R(4)*x + R(2)*y + R(1)*x^2 + x*y + R(1)*y^2
....: + R(2)*x^3 + x^2*y + x*y^2 + R(4)*y^3 + R(8)*x^4
....: + R(4)*x^3*y + x^2*y^2 + R(2)*x*y^3 + y^4)
sage: p3.tropical_variety().plot() # long time

Check warning on line 1618 in src/sage/rings/semirings/tropical_variety.py

View workflow job for this annotation

GitHub Actions / test-long (src/sage/[p-z]*)

Warning: slow doctest:

slow doctest:: Test ran for 36.04s cpu, 35.96s wall Check ran for 0.00s cpu, 0.00s wall
Graphics object consisting of 23 graphics primitives

.. PLOT::
Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/curves/plane_curve_arrangement.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@ def fundamental_group(self, simplified=True, vertical=True,
sage: A.meridians(simplified=False, vertical=False)
{0: [x2, x3], 1: [x1], 2: [x0], 3: [x3^-1*x2^-1*x1^-1*x0^-1]}
sage: A = H(x * y^2 + x + y, y + x -1, x, y)
sage: G = A.fundamental_group()
sage: G.sorted_presentation()
sage: G = A.fundamental_group() # long time (:issue:`39569`)
sage: G.sorted_presentation() # long time (:issue:`39569`)
Finitely presented group
< x0, x1, x2, x3 | x3^-1*x2^-1*x3*x2, x3^-1*x1^-1*x3*x1,
x3^-1*x0^-1*x3*x0, x2^-1*x1^-1*x2*x1,
Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/curves/projective_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@
sage: set_verbose(-1)
sage: P.<x,y,z> = ProjectiveSpace(QQ, 2)
sage: C = Curve([(x^2 + y^2 - y*z - 2*z^2)*(y*z - x^2 + 2*z^2)*z + y^5], P)
sage: C.ordinary_model() # long time (5 seconds)

Check warning on line 1403 in src/sage/schemes/curves/projective_curve.py

View workflow job for this annotation

GitHub Actions / Conda (ubuntu, Python 3.12, new)

Warning: slow doctest:

slow doctest:: Test ran for 133.73s cpu, 135.45s wall Check ran for 0.01s cpu, 0.00s wall

Check warning on line 1403 in src/sage/schemes/curves/projective_curve.py

View workflow job for this annotation

GitHub Actions / test-long (src/sage/[p-z]*)

Warning: slow doctest:

slow doctest:: Test ran for 150.70s cpu, 151.51s wall Check ran for 0.00s cpu, 0.00s wall
Scheme morphism:
From: Projective Plane Curve over Number Field in a
with defining polynomial y^2 - 2 defined
Expand Down Expand Up @@ -1804,8 +1804,8 @@
sage: C = P.curve(z^2*y^3 - z*(33*x*z+2*x^2+8*z^2)*y^2
....: + (21*z^2+21*x*z-x^2)*(z^2+11*x*z-x^2)*y
....: + (x-18*z)*(z^2+11*x*z-x^2)^2)
sage: G0 = C.fundamental_group() # needs sirocco
sage: G.is_isomorphic(G0) # needs sirocco
sage: G0 = C.fundamental_group() # needs sirocco, long time (:issue:`39569`)
sage: G.is_isomorphic(G0) # needs sirocco, long time (:issue:`39569`)
True
sage: C = P.curve(z)
sage: C.fundamental_group() # needs sirocco
Expand Down
4 changes: 2 additions & 2 deletions src/sage/schemes/elliptic_curves/ell_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -2116,7 +2116,7 @@ def isogenies_degree(self, n, *, _intermediate=False):
::

sage: E = EllipticCurve(GF(next_prime(2^32)), j=1728)
sage: sorted([phi.codomain().j_invariant() for phi in E.isogenies_degree(11 * 17 * 19^2)])
sage: sorted([phi.codomain().j_invariant() for phi in E.isogenies_degree(11 * 17 * 19^2)]) # long time (:issue:`39569`)
[1348157279, 1348157279, 1713365879, 1713365879, 3153894341, 3153894341,
3225140514, 3225140514, 3673460198, 3673460198, 3994312564, 3994312564]
sage: it = E.isogenies_degree(2^2); it
Expand Down Expand Up @@ -2187,7 +2187,7 @@ def isogenies_degree(self, n, *, _intermediate=False):
To: Elliptic Curve defined by y^2 = x^3 + 4294967267*x + 112 over Finite Field of size 4294967311]
sage: all(isog.domain() is E for isog in _)
True
sage: all(isog.domain() is E for isog in E.isogenies_degree(2^5, _intermediate=True))
sage: all(isog.domain() is E for isog in E.isogenies_degree(2^5, _intermediate=True)) # long time (:issue:`39569`)
True

The following curve has no degree-`53` isogenies, so the code is quick::
Expand Down
2 changes: 2 additions & 0 deletions src/sage/schemes/elliptic_curves/ell_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2476,6 +2476,8 @@ def multiplication_by_m(self, m, x_only=False):
sage: assert(E(eval(f,P)) == 2*P)

The following test shows that :issue:`6413` is fixed for elliptic curves over finite fields::

sage: # long time (:issue:`39569`)
sage: p = 7
sage: K.<a> = GF(p^2)
sage: E = EllipticCurve(K, [a + 3, 5 - a])
Expand Down
6 changes: 3 additions & 3 deletions src/sage/schemes/elliptic_curves/hom_composite.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@
sage: phis = hom_composite._compute_factored_isogeny_prime_power(P,l,n)
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=0) # long time -- about 10s
True
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=0.1)
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=0.1) # long time (:issue:`39569`)
True
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=0.5)
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=0.5) # long time (:issue:`39569`)
True
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=0.9)
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=0.9) # long time (:issue:`39569`)
True
sage: phis == hom_composite._compute_factored_isogeny_prime_power(P,l,n, split=1)

Check warning on line 203 in src/sage/schemes/elliptic_curves/hom_composite.py

View workflow job for this annotation

GitHub Actions / Conda (macos, Python 3.11, all)

Warning: slow doctest:

slow doctest:: Test ran for 12.34s cpu, 15.74s wall Check ran for 0.00s cpu, 0.00s wall

Check warning on line 203 in src/sage/schemes/elliptic_curves/hom_composite.py

View workflow job for this annotation

GitHub Actions / Conda (macos, Python 3.12, all)

Warning: slow doctest:

slow doctest:: Test ran for 12.27s cpu, 15.73s wall Check ran for 0.00s cpu, 0.00s wall
True
"""
def rec(Q, k):
Expand Down
2 changes: 1 addition & 1 deletion src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -13221,7 +13221,7 @@ cdef class Expression(Expression_abc):
answer::

sage: f = ln(1+4/5*sin(x))
sage: integrate(f, x, -3.1415, 3.1415) # random
sage: integrate(f, x, -3.1415, 3.1415) # random, long time (:issue:`39569`)
integrate(log(4/5*sin(x) + 1), x, -3.14150000000000,
3.14150000000000)
sage: # needs sage.libs.giac
Expand Down
Loading