AplK/test_minimal_model.py

23 lines
949 B
Python

from sage.all import *
load('aplK.py')
load('minimalModel.py')
#######################################################
# TESTS
#S1 = simplicial_complexes.Sphere(3)
#S2 = simplicial_complexes.Sphere(3)
#S = S1.wedge(S2, is_mutable=False)
#S = simplicial_complexes.KleinBottle().suspension()
#S.set_immutable()
S = simplicial_complexes.K3Surface()
#print("Complejo simplicial")
#print(S.facets())
#######################################################
#S = simplicial_complexes.ComplexProjectivePlane()
#######################################################
# S = simplicial_complexes.BrucknerGrunbaumSphere()
#######################################################
# S = simplicial_complexes.ProjectivePlane().wedge(simplicial_complexes.Sphere(2), is_mutable=False)
#######################################################
[sullivan_model, model_morphism, cohomology_correspondence] = minimal_model(S, max_depth=10, max_dim=5)
print(sullivan_model)