CollapsedNerve

org.appliedtopology.tda4j.sset.CollapsedNerve
See theCollapsedNerve companion object
open class CollapsedNerve(val rewriting: RewritingSystem)

The nerve of a monoid collapsed by Brown's collapsing scheme ("The geometry of rewriting systems", 1992): a discrete Morse matching on the bar complex from a complete rewriting system, leaving one critical cell per Anick chain -- n + 1 cells in dimension n for Z/4 where the bar complex has 3^n. The critical cells, with the Morse boundary (morseBoundary), form a chain complex with the same homology; lift maps them back to bar cycles.

Filtered by a chain of subgroups that the rewriting system respects, the collapse keeps the barcode (persistentHomology); RewritingSystem.refining builds such a system.

Attributes

Companion
object
Experimental
true
Source
CollapsedNerve.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def barBoundary(s: NerveSimplex): Map[NerveSimplex, Long]

The normalized bar boundary with integer coefficients.

The normalized bar boundary with integer coefficients.

Attributes

Source
CollapsedNerve.scala
def criticalCells(n: Int): IndexedSeq[NerveSimplex]

The critical cells of dimension n (the Anick chains), generated directly from the rewriting system, without visiting the bar complex.

The critical cells of dimension n (the Anick chains), generated directly from the rewriting system, without visiting the bar complex.

Attributes

Source
CollapsedNerve.scala
def lift(c: NerveSimplex): Map[NerveSimplex, Long]

The bar chain ι(c) of the critical cell c: c plus collapsible cells, with ∂ι(c) = ι(morseBoundary(c)), so ι maps cycles of the collapsed complex to cycles of the bar complex. Computed only when asked for.

The bar chain ι(c) of the critical cell c: c plus collapsible cells, with ∂ι(c) = ι(morseBoundary(c)), so ι maps cycles of the collapsed complex to cycles of the bar complex. Computed only when asked for.

Attributes

Source
CollapsedNerve.scala

The boundary of the critical cell c in the collapsed complex: critical cells with integer coefficients.

The boundary of the critical cell c in the collapsed complex: critical cells with integer coefficients.

Attributes

Source
CollapsedNerve.scala
def persistentHomology(chain: Seq[Set[Int]], maxDegree: Int, prime: Int): PersistenceDiagram[NerveSimplex]

The persistent homology over F_p of the nerve filtered by chain, in degrees 0..maxDegree, computed on the collapsed complex: the same barcode as the bar complex's, with each representative lifted (lift) to a cycle of the bar complex made of simplices present at the bar's birth.

The persistent homology over F_p of the nerve filtered by chain, in degrees 0..maxDegree, computed on the collapsed complex: the same barcode as the bar complex's, with each representative lifted (lift) to a cycle of the bar complex made of simplices present at the bar's birth.

Attributes

Source
CollapsedNerve.scala

How many redundant cells the flow has visited so far (the memo of morseBoundary): the part of the bar complex the collapse actually touches.

How many redundant cells the flow has visited so far (the memo of morseBoundary): the part of the bar complex the collapse actually touches.

Attributes

Source
CollapsedNerve.scala

Brown's classification. [x_1|...|x_n] (entries read as normal forms) is essential up to i when x_1 is a letter and each x_{j+1} is the shortest word making x_j x_{j+1} reducible. At the first j where that fails: if x_j x_{j+1} is irreducible the cell is collapsible (partner: merge them); otherwise a proper prefix u of x_{j+1} already makes it reducible and the cell is redundant (partner: split x_{j+1} = u v). A first entry longer than a letter is split after its first letter. Essential throughout: critical.

Brown's classification. [x_1|...|x_n] (entries read as normal forms) is essential up to i when x_1 is a letter and each x_{j+1} is the shortest word making x_j x_{j+1} reducible. At the first j where that fails: if x_j x_{j+1} is irreducible the cell is collapsible (partner: merge them); otherwise a proper prefix u of x_{j+1} already makes it reducible and the cell is redundant (partner: split x_{j+1} = u v). A first entry longer than a letter is split after its first letter. Essential throughout: critical.

Attributes

Source
CollapsedNerve.scala
def stream(chain: Seq[Set[Int]], maxDegree: Int): StratifiedCellStream[NerveSimplex, Double]

The critical cells of dimension 0..maxDegree + 1 inside the chain's last subgroup, filtered by chain (a cell enters with the first subgroup containing its entries), as a stream for the chunks engine or the Persistence verb, with collapsedCellInstance in scope (import collapsed.given). The rewriting system must respect the chain (checked), or the collapse would match cells of two levels and give a wrong barcode.

The critical cells of dimension 0..maxDegree + 1 inside the chain's last subgroup, filtered by chain (a cell enters with the first subgroup containing its entries), as a stream for the chunks engine or the Persistence verb, with collapsedCellInstance in scope (import collapsed.given). The rewriting system must respect the chain (checked), or the collapse would match cells of two levels and give a wrong barcode.

Attributes

Source
CollapsedNerve.scala

Concrete fields

val nerve: Nerve

Attributes

Source
CollapsedNerve.scala

Givens

Givens

The collapsed complex as cells: dim, and morseBoundary as the boundary. A member, like a simplicial set's cellInstance: bring it into scope (import collapsed.given) to run an engine on stream.

The collapsed complex as cells: dim, and morseBoundary as the boundary. A member, like a simplicial set's cellInstance: bring it into scope (import collapsed.given) to run an engine on stream.

Attributes

Source
CollapsedNerve.scala