Rational homology of simplicial complexes
DefinitionFinite abstract simplicial complex#✓fully proved
A finite family \(K\) of finite subsets of \(\mathbb{N}\) is a simplicial complex when it is closed under taking subsets: for every \(\sigma \in K\) and every \(\tau \subseteq \sigma\), we have \(\tau \in K\).
DefinitionFaces with a given number of vertices#✓fully proved
For a finite family \(K\) of finite subsets of \(\mathbb{N}\) and \(k \in \mathbb{N}\), the faces of \(K\) with \(k\) vertices are the members \(\sigma \in K\) with exactly \(k\) elements (the faces of dimension \(k - 1\)).
Used by 2
DefinitionSimplicial boundary matrix#✓fully proved
For a finite family \(K\) of finite subsets of \(\mathbb{N}\) and \(k \in \mathbb{N}\), the boundary matrix \(\partial_k\) of \(K\) is the matrix over \(\mathbb{Q}\) whose rows are indexed by the faces of \(K\) with \(k\) vertices and whose columns are indexed by the faces of \(K\) with \(k + 1\) vertices; its entry at \((\tau, \sigma)\) is \((-1)^i\) when \(\tau\) is obtained from \(\sigma\) by removing its \(i\)-th smallest vertex, counting from \(i = 0\), and \(0\) otherwise.
It represents the boundary map from the faces with \(k + 1\) vertices to the faces with \(k\) vertices. For \(k = 0\) it is the augmentation: every vertex has entry \(1\) in the row of the empty face.
def boundaryMatrix (K : Finset (Finset ℕ)) (k : ℕ) :
Matrix (facesOfCard K k) (facesOfCard K (k + 1)) ℚ :=
fun τ σ => ∑ v ∈ σ.1, if σ.1.erase v = τ.1 then (-1) ^ (σ.1.filter (· < v)).card else 0
def facesOfCard (K : Finset (Finset ℕ)) (k : ℕ) : Finset (Finset ℕ) :=
K.filter fun σ => σ.card = k
WantedExt/Combinatorics/RationalSimplicialHomologyShared.lean:44
Uses 1 · Used by 1
DefinitionReduced rational Betti numbers#✓fully proved
For a finite family \(K\) of finite subsets of \(\mathbb{N}\) and \(k \in \mathbb{N}\), let \(f_k\) be the number of faces of \(K\) with \(k\) vertices and let \(\partial_k\) be the boundary matrix of \(K\) from the faces with \(k + 1\) vertices to the faces with \(k\) vertices. The reduced Betti number of \(K\) indexed by \(k\) is the integer \(f_k - \operatorname{rank} \partial_{k-1} - \operatorname{rank} \partial_k\), with ranks over \(\mathbb{Q}\), where the term \(\operatorname{rank} \partial_{k-1}\) is omitted when \(k = 0\).
When \(K\) is a simplicial complex this is \(\dim_{\mathbb{Q}} \tilde H_{k-1}(K; \mathbb{Q})\), the reduced rational homology in degree \(k - 1\), indexed by the number \(k\) of vertices of its faces.
noncomputable def reducedBetti (K : Finset (Finset ℕ)) (k : ℕ) : ℤ :=
((facesOfCard K k).card : ℤ) - (if k = 0 then 0 else ((boundaryMatrix K (k - 1)).rank : ℤ)) -
(boundaryMatrix K k).rank
def facesOfCard (K : Finset (Finset ℕ)) (k : ℕ) : Finset (Finset ℕ) :=
K.filter fun σ => σ.card = k
WantedExt/Combinatorics/RationalSimplicialHomologyShared.lean:44
def boundaryMatrix (K : Finset (Finset ℕ)) (k : ℕ) :
Matrix (facesOfCard K k) (facesOfCard K (k + 1)) ℚ :=
fun τ σ => ∑ v ∈ σ.1, if σ.1.erase v = τ.1 then (-1) ^ (σ.1.filter (· < v)).card else 0
WantedExt/Combinatorics/RationalSimplicialHomologyShared.lean:50
Uses 2 · Used by 2
DefinitionRationally acyclic complexes#✓fully proved
A finite family \(K\) of finite subsets of \(\mathbb{N}\) is rationally acyclic when its reduced Betti number indexed by \(k\) is \(0\) for every \(k \in \mathbb{N}\).
For a simplicial complex this says that all reduced rational homology of \(K\) vanishes. The void complex is acyclic; the complex \(\{\emptyset\}\) is not, since \(\tilde H_{-1}(\{\emptyset\}; \mathbb{Q}) = \mathbb{Q}\).
def IsRationallyAcyclic (K : Finset (Finset ℕ)) : Prop :=
∀ k, reducedBetti K k = 0
noncomputable def reducedBetti (K : Finset (Finset ℕ)) (k : ℕ) : ℤ :=
((facesOfCard K k).card : ℤ) - (if k = 0 then 0 else ((boundaryMatrix K (k - 1)).rank : ℤ)) -
(boundaryMatrix K k).rank
WantedExt/Combinatorics/RationalSimplicialHomologyShared.lean:58
Uses 1 · Used by 1
DefinitionLink#✓fully proved
For a finite family \(K\) of finite subsets of \(\mathbb{N}\) and a finite set \(F \subseteq \mathbb{N}\), the link of \(F\) in \(K\) is \(\operatorname{link}_K(F) = \{G \in K \mid G \cap F = \emptyset,\ G \cup F \in K\}\).
DefinitionLargest face size#✓fully proved
For a finite family \(K\) of finite subsets of \(\mathbb{N}\), the largest face size of \(K\) is the maximum number of elements of a member of \(K\), and \(0\) when \(K\) is empty.
For a nonempty simplicial complex it is \(\dim K + 1\); it is \(0\) for both the void complex \(\emptyset\) and \(\{\emptyset\}\).
def topCard (K : Finset (Finset ℕ)) : ℕ :=
K.sup Finset.card
Used by 1
DefinitionFacet#✓fully proved
For a finite family \(K\) of finite subsets of \(\mathbb{N}\), a finite set \(F \subseteq \mathbb{N}\) is a facet of \(K\) when \(F \in K\) and \(F\) is maximal under inclusion in \(K\): every \(G \in K\) with \(F \subseteq G\) equals \(F\).
Used by 2
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.