Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Abstract simplicial complex object in Wolfram Language
Contributed by: Naman T.
SimplicialHomology is a Wolfram language paclet (package) for constructing, manipulating, and analysing abstract simplicial complexes. It provides tools for computing simplicial homology, performing common topological constructions, and studying combinatorial invariants of finite simplicial complexes. So far, Mathematica lacked in-built or third party support for simplicial homology or discrete topology in general. Primarily, that motivated the development of this package. I have largely taken both inspiration and reference from the implementation of simplicial complexes in sagemath (Python).
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Taggar/SimplicialHomology"]
To load the code after installation, evaluate this code:
Needs["Taggar`SimplicialHomology`"]
Construct a simplicial complex from a given list of simplices as facets:
| In[1]:= |
| Out[1]= |
Obtain information about the complex by clicking on + or viewing its properties:
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
Construct a complex from one of the named examples:
| In[4]:= |
| Out[4]= |
Calculate its homology groups:
| In[5]:= |
| Out[5]= |
Construct a random simplicial complex on 12 vertices and of dimension 4:
| In[6]:= |
| Out[6]= |
Calculate the reduced homology of a space:
| In[7]:= |
| Out[7]= |
Or relative homology:
| In[8]:= |
| Out[8]= |
Or cohomology:
| In[9]:= |
| Out[9]= |
Check whether two simplicial complexes are isomorphic:
| In[10]:= | ![]() |
| Out[10]= |
Get the associated chain complex of a simplicial complex:
| In[11]:= |
| Out[11]= |
Obtain the boundary matrices:
| In[12]:= |
| Out[12]= |
Find the automorphism group of a simplicial complex:
| In[13]:= |
| Out[13]= |
Verify that it is isomorphic to AlternatingGroup[5]:
| In[14]:= |
| Out[14]= |
Construct cones or suspensions of complexes:
| In[15]:= |
| Out[15]= |
| In[16]:= |
| Out[16]= |
| In[17]:= |
| Out[17]= |
Construct the stars of links of simplices:
| In[18]:= |
| Out[18]= |
| In[19]:= |
| Out[19]= |
| In[20]:= |
| Out[20]= |
Collect facets of all 180 abstract simplicial complexes made up of upto 5 vertices:
| In[21]:= |
| Out[22]= |
Create simplicial complexes out of them:
| In[23]:= |
Perform analysis on them:
| In[24]:= |
| Out[24]= | ![]() |
Find out the most common homology group:
| In[25]:= |
| Out[25]= |
Wolfram Language Version 15