Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add # long time to topology #37483

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions src/sage/topology/moment_angle_complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def components(self):
sage: product_of_spheres = S3.product(S3)
sage: Z.cohomology()
{0: 0, 1: 0, 2: 0, 3: Z x Z, 4: 0, 5: 0, 6: Z}
sage: Z.cohomology() == product_of_spheres.cohomology()
sage: Z.cohomology() == product_of_spheres.cohomology() # long time
True
"""
return self._components
Expand Down Expand Up @@ -592,7 +592,7 @@ def homology(self, dim=None, base_ring=ZZ, cohomology=False,

sage: Z = MomentAngleComplex([[0,1,2,3,4,5], [0,1,2,3,4,6],
....: [0,1,2,3,5,7], [0,1,2,3,6,8,9]])
sage: Z.homology()
sage: Z.homology() # long time
{0: 0,
1: 0,
2: 0,
Expand Down Expand Up @@ -664,7 +664,7 @@ def cohomology(self, dim=None, base_ring=ZZ, algorithm='pari',
sage: product_of_spheres = S3.product(S3)
sage: Z.cohomology()
{0: 0, 1: 0, 2: 0, 3: Z x Z, 4: 0, 5: 0, 6: Z}
sage: Z.cohomology() == product_of_spheres.cohomology()
sage: Z.cohomology() == product_of_spheres.cohomology() # long time
True
"""
return self.homology(dim=dim, cohomology=True, base_ring=base_ring,
Expand Down Expand Up @@ -718,7 +718,7 @@ def euler_characteristic(self):
sage: X = SimplicialComplex([[0,1,2,3,4,5], [0,1,2,3,4,6],
....: [0,1,2,3,5,7], [0,1,2,3,6,8,9]])
sage: M = MomentAngleComplex(X)
sage: M.euler_characteristic()
sage: M.euler_characteristic() # long time
0
sage: Z = MomentAngleComplex([[0,1,2,3,4]])
sage: Z.euler_characteristic()
Expand Down
4 changes: 2 additions & 2 deletions src/sage/topology/simplicial_complex.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ class SimplicialComplex(Parent, GenericCellComplex):

sage: l = designs.ProjectiveGeometryDesign(2, 1, GF(4,name='a')) # needs sage.rings.finite_rings
sage: f = lambda S: not any(len(set(S).intersection(x))>2 for x in l)
sage: SimplicialComplex(from_characteristic_function=(f, l.ground_set())) # needs sage.rings.finite_rings
sage: SimplicialComplex(from_characteristic_function=(f, l.ground_set())) # needs sage.rings.finite_rings, long time
Simplicial complex with 21 vertices and 168 facets

TESTS:
Expand Down Expand Up @@ -4776,7 +4776,7 @@ def is_partitionable(self, certificate=False,

Shellable complexes are partitionable::

sage: # needs sage.numerical.mip
sage: # needs sage.numerical.mip, long time
sage: X = SimplicialComplex([[1,3,5], [1,3,6], [1,4,5], [1,4,6],
....: [2,3,5], [2,3,6], [2,4,5]])
sage: X.is_partitionable()
Expand Down
Loading