English

Annotating Simplices with a Homology Basis and Its Applications

Computational Geometry 2012-05-22 v3 Data Structures and Algorithms

Abstract

Let KK be a simplicial complex and gg the rank of its pp-th homology group Hp(K)H_p(K) defined with Z2Z_2 coefficients. We show that we can compute a basis HH of Hp(K)H_p(K) and annotate each pp-simplex of KK with a binary vector of length gg with the following property: the annotations, summed over all pp-simplices in any pp-cycle zz, provide the coordinate vector of the homology class [z][z] in the basis HH. The basis and the annotations for all simplices can be computed in O(nω)O(n^{\omega}) time, where nn is the size of KK and ω<2.376\omega<2.376 is a quantity so that two n×nn\times n matrices can be multiplied in O(nω)O(n^{\omega}) time. The pre-computation of annotations permits answering queries about the independence or the triviality of pp-cycles efficiently. Using annotations of edges in 2-complexes, we derive better algorithms for computing optimal basis and optimal homologous cycles in 1-dimensional homology. Specifically, for computing an optimal basis of H1(K)H_1(K), we improve the time complexity known for the problem from O(n4)O(n^4) to O(nω+n2gω1)O(n^{\omega}+n^2g^{\omega-1}). Here nn denotes the size of the 2-skeleton of KK and gg the rank of H1(K)H_1(K). Computing an optimal cycle homologous to a given 1-cycle is NP-hard even for surfaces and an algorithm taking 2O(g)nlogn2^{O(g)}n\log n time is known for surfaces. We extend this algorithm to work with arbitrary 2-complexes in O(nω)+2O(g)n2lognO(n^{\omega})+2^{O(g)}n^2\log n time using annotations.

Cite

@article{arxiv.1107.3793,
  title  = {Annotating Simplices with a Homology Basis and Its Applications},
  author = {Oleksiy Busaryev and Sergio Cabello and Chao Chen and Tamal K. Dey and Yusu Wang},
  journal= {arXiv preprint arXiv:1107.3793},
  year   = {2012}
}
R2 v1 2026-06-21T18:39:01.534Z