Next Article in Journal
Revisiting the Valuable Roles of Global Financial Assets for International Stock Markets: Quantile Coherence and Causality-in-Quantiles Approaches
Next Article in Special Issue
COVID-19 Mortality Prediction Using Machine Learning-Integrated Random Forest Algorithm under Varying Patient Frailty
Previous Article in Journal
Power Spectral Density Analysis of Nanowire-Anchored Fluctuating Microbead Reveals a Double Lorentzian Distribution
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On the Loop Homology of a Certain Complex of RNA Structures

by
Thomas J. X. Li
1,†,‡ and
Christian M. Reidys
1,2,*,†,‡
1
Biocomplexity Institute and Initiative, University of Virginia, Charlottesville, VA 22904-4298, USA
2
Mathematics Department, University of Virginia, Charlottesville, VA 22904-4137, USA
*
Author to whom correspondence should be addressed.
Physical Address: Biocomplexity Institute, Town Center Four, 994 Research Park Boulevard, Charlottesville, VA 22911, USA.
Mailing Address: Biocomplexity Institute, P.O. Box 400298, Charlottesville, VA 22904-4298, USA.
Mathematics 2021, 9(15), 1749; https://doi.org/10.3390/math9151749
Submission received: 15 June 2021 / Revised: 8 July 2021 / Accepted: 21 July 2021 / Published: 24 July 2021
(This article belongs to the Special Issue Discrete and Algebraic Mathematical Biology)

Abstract

:
In this paper, we establish a topological framework of τ -structures to quantify the evolutionary transitions between two RNA sequence–structure pairs. τ -structures developed here consist of a pair of RNA secondary structures together with a non-crossing partial matching between the two backbones. The loop complex of a τ -structure captures the intersections of loops in both secondary structures. We compute the loop homology of τ -structures. We show that only the zeroth, first and second homology groups are free. In particular, we prove that the rank of the second homology group equals the number γ of certain arc-components in a τ -structure and that the rank of the first homology is given by γ χ + 1 , where χ is the Euler characteristic of the loop complex.

1. Introduction

Ribonucleic acid (RNA) is a biomolecule that folds into a helical configuration of its primary sequence by forming hydrogen bonds between pairs of nucleotides. The most prominent class of coarse-grained structures are the RNA secondary structures [1,2]. These are contact structures that can be represented as diagrams where vertices are nucleotides and arcs are base pairs drawn in the upper half-plane. As a secondary structure can be uniquely decomposed into loops, the free energy of a structure is calculated as the sum of the energy of its individual loops [3]. The loop-based energy models for RNA secondary structure prediction have played an important role in unveiling the various regulatory functions of RNA [4].
RNA molecules evolve under selection pressures on both sequence and structure. One prominent example are RNA riboswitches [5], which is a class of RNA molecules that can express two alternative secondary structures, each of which appears in a specific biophysical context. In order to analyze riboswitch sequences, Huang et al. developed a Boltzmann sampler of sequences that are simultaneously compatible with a pair of structures, i.e., a bi-secondary structure, based on the loop energy model [6]. The time complexity of computing such bi-compatible sequences turns out be intimately related to the number of so called exposed nucleotides, i.e., the number of vertices shared by multiple loops appearing in the algorithm. In some sense, finding bi-compatible sequences is easy if the intersection of such loops is small and becomes difficult when the intersection is large. In order to address the complexity problem, Bura et al. studied the simplicial homology of the loop complex (derived from the intersections of loops) of a bi-secondary structure [7,8]. Subsequently, they introduced the weighted homology of bi-structures, in which simplices are endowed with specific weights allowing the expression of the size of the loop intersections [9].
The aforementioned work focuses on the structural transition without changing the underlying sequence. However, selection pressures act on both sequence and structure, resulting in the simultaneous change of genotypes and phenotypes. This motivates the study of the evolutionary transition between two distinct sequence–structure pairs. In what follows, we take the first step by, analogous to [7,8], computing the simplicial homology of their loop complex.
In this paper we study triples, ( S , T , ϕ ) , consisting of an ordered pair of RNA secondary structures, ( S , T ) , [1,2,10,11,12,13] together with a non-crossing partial matching, ϕ , between the two backbones. We shall denote such a triple a transition structure or τ-structure and note that the mapping ϕ relates homologous bases between two underlying RNA sequences.
The topological framework of τ -structures developed here is designed to quantify the probability of evolutionary transitions between RNA sequence-structure pairs subject to specific sequence constraints. In an algorithmic guise, τ -structures play a central role in solving the following computational problem: Given two arbitrary RNA secondary structures, determine a pair of specifically related sequences that minimizes the total free energies of the two sequence–structure pairs. Our main objective is to compute the simplicial homology of the loop complex of a τ -structure. In order to state our main theorem, we next introduce the notions of ϕ -crossing and arc-component.
Two arcs ( i 1 , i 2 ) and ( j 1 , j 2 ) are ϕ -crossing, i.e., if either one of the following is the case:
(1)
Both i 1 and i 2 are incident to ϕ -arcs such that ϕ ( i 1 ) < j 1 < ϕ ( i 2 ) < j 2 or j 1 < ϕ ( i 1 ) < j 2 < ϕ ( i 2 ) , or;
(2)
Both j 1 and j 2 are incident to ϕ -arcs such that i 1 < ϕ 1 ( j 1 ) < i 2 < ϕ 1 ( j 2 ) or ϕ 1 ( j 1 ) < i 1 < ϕ 1 ( j 2 ) < i 2 .
ϕ -crossing induces an equivalence relation for which nontrivial equivalence classes are called arc-components. An arc-component is of type 1 if both endpoints of any arc are incident to ϕ -arcs.
We shall prove the following main result.
Main Theorem.
Let I = ( S , T , ϕ ) be a τ-structure and H n ( I ) the n-th homology group of its loop complex, K ( I ) . Then, the following is the case:
H 3 ( I ) = 0 , H 2 ( I ) k = 1 γ Z , H 1 ( I ) k = 1 γ χ + 1 Z ,
where γ denotes the number of arc-components of type 1 and χ the Euler characteristic of K ( I ) .
Our framework generalizes the work of [7,8] on bi-structures. Bi-structures can be viewed as particular τ -structures, namely those over two identical sequences. The loop complex of a bi-structure exhibits only a nontrivial zeroth and second homology, the latter being freely generated by crossing components [7,8]. On the algorithmic side, τ -structures play a similar role as bi-structures in [6] where a Boltzmann sampler of sequences that are simultaneously compatible with two structures is presented.
The loop complex of τ -structures exhibits a variety of new features. First it has in general a nontrivial first homology group. Secondly, it features two types of arc-components: Those of type 1, which correspond to spheres, and arc-components of type 2, which correspond to surfaces with a nontrivial boundary (see Section 7).
In order to prove the main theorem, we first establish basic properties of the loop complex X = K ( I ) . Secondly, we manipulate X by means of simplicial collapses and then dissect K 1 , which is a certain sub-complex of dimension one. As a result, we derive X ˜ 2 , which is a specific X-sub-complex, and we organize it into its crossing components. We note that X ˜ 2 is not unique, as its construction depends on certain choices. We then proceed with a combinatorial analysis of X ˜ 2 -crossing components, which lays the foundation for proving that their geometric realizations are either spheres or surfaces with boundary.
The combinatorics of crossing components, specifically Lemma 6, further controls the manner crossing components are glued and this observation facilitates to prove the main result in two stages. First, by computing the homology of components in isolation and, secondly, by computing the homology of the loop complex by Mayer–Vietoris sequences. Several of our arguments are reminiscent of ideas of classical facts, for instance the Jordan curve theorem in the proof of Lemma 7.
The paper is organized as follows: In Section 2, we recall the definitions of RNA secondary structures, bi-structures and their loop complexes. In Section 3, we introduce τ -structures and present some basic facts of their loop complexes. In Section 4, we simplify the loop complex in multiple rounds via simplicial collapses and topological stratification. In Section 5, we investigate the combinatorics of crossing components in the simplified complex. We then compute the homology of components in Section 6 and integrate this information in order to obtain the homology of τ -structures in Section 7. Finally we discuss our results in Section 8.

2. Secondary Structures, Bi-Structures and the Loop Complex

An RNA secondary structure encapsulates the nucleotide interactions within a single RNA sequence. It can be represented as a diagram, which consists of a labeled graph over the vertex set [ n ] : = { 1 , , n } for which the vertices are arranged in a horizontal line and arcs are drawn in the upper half-plane. Each vertex corresponds to a nucleotide in the primary sequence and each arc, which is denoted by ( i , j ) , represents the base pairing between the i-th and j-th nucleotides in the RNA structure. Two arcs ( i 1 , j 1 ) and ( i 2 , j 2 ) are crossing if i 1 < i 2 < j 1 < j 2 . An RNA secondary structure is defined as a diagram satisfying the following three conditions [1,2]: (1) if ( i , j ) is an arc, then j i 2 ; (2) any two arcs do not have a common vertex; (3) any two arcs are non-crossing.
Given a secondary structure S, the set [ 1 , n ] : = { 1 , , n } is called the backbone and an interval  [ i , j ] [ 1 , n ] denotes the set of consecutive vertices { i , i + 1 , , j 1 , j } . A vertex k is covered by an arc ( i , j ) if i k j and there exists no other arc ( p , q ) such that i < p < k < q < j . The set of vertices covered by an arc ( i , j ) is called a loop, s, and we refer to ( i , j ) as the covering arc of s. We shall equip each diagram with two “formal” vertices at positions 0 and n + 1 together with the arc ( 0 , n + 1 ) , which we call the rainbow. Its associated distinguished loop is called the exterior loop. Each loop, s, can be represented as a disjoint union of intervals on the backbone of S, s = k = 1 l [ i k , j k ] , such that ( i 1 , j l ) and ( j k , i k + 1 ) for 1 k l 1 form arcs and any other vertices in s are unpaired. By construction, a diagram S is in one-to-one correspondence with its set of arcs as well as its set of loops { s i } i .
Let X be a collection of finite sets. A subset { X 0 , X 1 , , X d } X is defined to be a d-simplex of X if the set intersection k = 0 d X k . Let K d ( X ) be the set of all d-simplices of X . The nerve of X is a simplicial complex given by K ( X ) = d = 0 K d ( X ) 2 X .
The nerve formed by the collection { s i } i of S-loops is referred to as the loop complex K ( S ) of a secondary structure S. The fact that secondary structures correspond to non-crossing diagrams immediately implies that the loop complex of a secondary structure is a tree.
Let S and T be two secondary structures. The pair of secondary structures S and T over [ n ] , R = ( S , T ) , is called a bi-structure. We represent a bi-structure as a diagram on a horizontal backbone with the S-arcs drawn in the upper and the T-arcs drawn in the lower half plane. The nerve formed by S-loops and T-loops of a bi-structure, R, is called the loop complex, K ( R ) .
In bi-structures [7], two arcs α , α are equivalent if there exists a sequence of arcs α 1 = α , α 2 , , α l = α such that two consecutive arcs α k and α k + 1 are crossing for 1 k l 1 . A crossing component of R = ( S , T ) is an equivalence class that contains at least two crossing arcs.
The loop complex of a bi-structure has a nontrivial zeroth and second homology group. In particular, the first homology H 1 ( R ) is zero and the second homology H 2 ( R ) is free and its rank equals the number of crossing components of the bi-structure R [8].

3. Some Basic Facts

Let S and T be two secondary structures over [ n ] and [ m ] , respectively. We shall refer to their backbones as [ n ] S = { 1 S , 2 S , , n S } and [ m ] T = { 1 T , 2 T , , m T } . We refer to the pair ( i , ϕ ( i ) ) as a ϕ-arc between i [ n ] S and ϕ ( i ) [ m ] T . Two ϕ -arcs ( i 1 , ϕ ( i 1 ) ) and ( i 2 , ϕ ( i 2 ) ) are crossing if i 1 < i 2 and ϕ ( i 1 ) > ϕ ( i 2 ) .
Definition 1.
A τ -structure I is a triple ( S , T , ϕ ) consisting of an ordered pair of secondary structures, ( S , T ) , together with a partial matching ϕ between their vertex sets [ n ] S and [ m ] T such that any two ϕ-arcs are non-crossing.
In analogy to the case of bi-structures, we shall represent the diagram of a τ -structure as a labeled graph over two horizontal backbones in which S-arcs are drawn in the upper halfplane and T-arcs are drawn in the lower halfplane with the edges drawn in between the two backbones representing ϕ (see Figure 1).
A bi-structure corresponds to a particular τ -structure having two backbones of the same length and ϕ being the identity map.
The partial matching ϕ induces an equivalence relation ∼ on the set of vertices of the two backbones by identifying for each pair ( i , ϕ ( i ) ) the vertices i and ϕ ( i ) . The ϕ -arcs then correspond one-to-one to nontrivial equivalence classes of size two. This equivalence relation gives rise to the definition of a loop in a τ -structure.
Definition 2.
Given a S-vertex or T-vertex v [ n ] S [ m ] T , anI-vertex, v ¯ , is an equivalence class induced by v, i.e., v ¯ [ n ] S [ m ] T / . Given an S-loop s, the S ¯ -loop s ¯ is the set of equivalence classes induced by the set of s-vertices. Similarly, we define the T ¯ -loop. AnI-loopis defined to be either an S ¯ -loop or a T ¯ -loop.
Now we are in position to introduce the loop complex of a τ -structure.
Definition 3.
The nerve formed by I-loops is called the loop complex K ( I ) = d = 0 K d ( I ) , where K d ( I ) denotes the set of d-simplices, i.e., the non-empty intersections of d distinct loops. H n ( I ) shall denote the n-th homology group of the loop complex of I.
Let us proceed by collecting some basic properties of the loop complex.
Proposition 1.
Let I = ( S , T , ϕ ) be a τ-structure and v 1 , v 2 be two distinct S-vertices. Then v ¯ 1 v ¯ 2 . In particular there exists a bijection between vertices in an S-loop s and vertices in the corresponding S ¯ -loop s ¯ .
Proof. 
By definition, any two ϕ -arcs in the partial matching ϕ do not share common endpoints. Thus, ϕ maps v 1 and v 2 to different T-vertices. Therefore the equivalence classes v ¯ 1 and v ¯ 2 are different. □
Proposition 2.
Let I = ( S , T , ϕ ) be a τ-structure and s ¯ 1 , s ¯ 2 , s ¯ 3 be three different S ¯ -loops. Then, it follows that:
(1)
either s ¯ 1 s ¯ 2 = or | s ¯ 1 s ¯ 2 | = 2 ;
(2)
s ¯ 1 s ¯ 2 s ¯ 3 = .
Proof. 
For the secondary structure S, any two S-loops s 1 and s 2 either have trivial intersection or intersect at two endpoints of one arc, i.e., either s 1 s 2 = or | s 1 s 2 | = 2 . Proposition 1 guarantees that | s ¯ 1 s ¯ 2 | = | s 1 s 2 | , whence assertion ( 1 ) . Any S-vertex is contained in at most two distinct S-loops. Thus s 1 s 2 s 3 = . By Proposition 1, s ¯ 1 s ¯ 2 s ¯ 3 = . □
By abuse of notation, we refer to S ¯ -loops and T ¯ -loops s ¯ , t ¯ simply as S-loops and T-loops s , t , respectively.
Proposition 3.
Let I be a τ-structure with loop complex K ( I ) . Then, any 2-simplex σ K 2 ( I ) has the form { s 1 , s 2 , t 1 } or { t 1 , t 2 , s 1 } , where s 1 , s 2 are S-loops and t 1 , t 2 are T-loops.
Proof. 
By construction, the three loops in a 2-simplex σ have a non-empty intersection. In view of Proposition 2, not all three loops are from the same secondary structure. Therefore, σ is of the form { s 1 , s 2 , t 1 } or { t 1 , t 2 , s 1 } . □
A 1-simplex σ = { r 1 , r 2 } K ( I ) is called pure if both r 1 and r 2 belong to the same secondary structure and mixed. Proposition 3 shows that any 2-simplex contains exactly one pure edge and two mixed edges.
Proposition 4.
Let I be a τ-structure with loop complex K ( I ) . Then, any 3-simplex σ K 3 ( I ) has the form { s 1 , s 2 , t 1 , t 2 } , where s 1 , s 2 are S-loops and t 1 , t 2 are T-loops.
Proof. 
Suppose that σ = { r 1 , r 2 , r 3 , r 4 } . As a face of σ , { r 1 , r 2 , r 3 } K 2 ( I ) . By Proposition 3, we can w.l.o.g. set that r 1 = s 1 , r 2 = s 2 and r 3 = t 1 . Similarly, the face { r 1 , r 2 , r 4 } K 2 ( I ) implies that r 4 is necessarily a T-loop, i.e., r 4 = t 2 . □
Definition 4.
Given a simplex σ K ( I ) , a face ω σ is called σ -free if, for any simplex σ 1 K ( I ) containing ω, σ 1 is a face of σ. Clearly, σ is maximal in K ( I ) . Moreover, σ is the unique maximal simplex that contains ω.
Proposition 5.
Let I be a τ-structure with loop complex K ( I ) . Then, any 3-simplex σ K 3 ( I ) contains a σ-free, mixed 1-face ω.
Proof. 
Let σ = { s 1 , s 2 , t 1 , t 2 } . Suppose that the covering arcs of the loops s 1 , s 2 , t 1 , t 2 are ( i 0 , i 3 ) , ( i 1 , i 2 ) , ( j 0 , j 3 ) and ( j 1 , j 2 ) , respectively, and that we have the distinguished ϕ -arc ( i 1 , j 1 ) with ϕ ( i 1 ) = j 1 . Then, the loops s 1 , s 2 , t 1 , t 2 intersect at the equivalence class of i 1 ¯ = j 1 ¯ and by w.l.o.g. we may assume i 0 < i 1 < i 2 < i 3 and j 0 < j 1 < j 2 < j 3 (see Figure 2).
We shall prove the proposition by contradiction. Suppose that none of the mixed 1-faces of σ are free, we consider the two particular mixed edges ω 1 = { s 1 , t 2 } and ω 2 = { s 2 , t 1 } . By assumption, there exist 2-simplices Δ 1 and Δ 2 , such that ω 1 Δ 1 and ω 2 Δ 2 , neither of which are faces of σ .
In view of { s 1 , t 2 } Δ 1 , it follows from Proposition 3 that Δ 1 is of the form { s 1 , t 2 , s } or { s 1 , t 2 , t } . By w.l.o.g. we set Δ 1 = { s 1 , t 2 , t } . Since Δ 1 ¬ σ , we have t t 1 . By construction, s 1 t 2 t . It implies that there exists an I-vertex i ¯ = j ¯ s 1 t 2 t , which corresponds to a ϕ -arc ( i , j ) . As i 1 ¯ s 1 s 2 t 1 t 2 and i ¯ s 1 t 2 t , the ϕ -arc ( i , j ) is distinct from ( i 1 , j 1 ) . Since ω 1 = { s 1 , t 2 } Δ 1 , the ϕ -arc ( i , j ) connects two intervals [ i 0 , i 1 ) S [ i 2 , i 3 ] S and ( j 1 , j 2 ] T , i.e., i [ i 0 , i 1 ) S [ i 2 , i 3 ] S and j ( j 1 , j 2 ] T . Note that if i [ i 0 , i 1 ) S , then i < i 1 and j > j 1 , i.e., the ϕ -arcs ( i , j ) and ( i 1 , j 1 ) are crossing, which is a contradiction. Hence, we derive that the ϕ -arc ( i , j ) connects [ i 2 , i 3 ] S and ( j 1 , j 2 ] T (see Figure 2).
Similarly, Δ 2 corresponds to a ϕ -arc ( i , j ) distinct from ( i 1 , j 1 ) . Since ω 2 Δ 2 , it follows that the ϕ -arc ( i , j ) connects two intervals ( i 1 , i 2 ] S and [ j 2 , j 3 ] T (see Figure 2). In view of i < i and j > j , the ϕ -arcs ( i , j ) and ( i , j ) are crossing, which contradicts the fact that ϕ -arcs are non-crossing.
Accordingly, the non-crossing property of ϕ -arcs implies that either one, { s 1 , t 2 } or { s 2 , t 1 } , is σ -free. □
Proposition 6.
Given a loop complex K ( I ) , then any 3-simplex σ K 3 ( I ) contains at least two σ-free 2-faces.
Proof. 
By Proposition 5, σ contains at least one σ -free mixed edge ω . Let Δ 1 and Δ 2 denote the 2-faces of σ containing ω . Suppose that there exists a simplex σ 1 satisfying Δ 1 σ 1 and σ 1 ¬ σ . Then σ 1 also contains ω , which contradicts ω being σ -free. Therefore, Δ 1 is σ -free and, analogously, we derive that Δ 2 is σ -free. □
Proposition 7.
Let I be a τ-structure with loop complex K ( I ) . Then H 0 ( I ) Z and H d ( I ) = 0 for d 4 .
Proof. 
By assumption, ϕ induces at least one ϕ -arc, which in turn gives rise to at least a 1-simplex connecting an S-loop and a T-loop. Therefore, K ( I ) is path-connected and H 0 ( I ) Z . By the pigeonhole principle, for any set of d + 1 I-loops with d 4 , at least three belong to the same secondary structure. By Proposition 2, these three loops intersect trivially. Thus, for d 4 , the intersection of any d + 1 loops is trivial. As a result, K ( I ) does not contain simplices of dimension four or higher. Therefore, K d ( I ) = and H d ( I ) = 0 for d 4 . □

4. From X to X ˜ 2

We now begin computing the homology of the loop complex of a τ -structure. Directly constructing its discrete Morse function [14,15] or gradient vector field seems rather involved. We shall take a slightly different approach along the lines of discrete Morse theory. We shall simplify the loop complex in multiple rounds and render it amendable to its homological analysis. One of these simplifications is obtained via elementary collapses, which is a reduction introduced by J.H.C. Whitehead [16]. These collapses can be understood in terms of non-critical points of the Morse function.

4.1. Simplicial Collapses

The notion of elementary collapse is closely related to the freeness of a simplex. Given a complex K, let σ be a maximal simplex and Δ be a σ -free face with codimension 1. The removal of σ and Δ constitutes elementary collapse [16,17] and gives rise to a new complex K { σ , Δ } . We say that K simplicial collapses to a sub-complex K , which is denoted by K K if there is a sequence of complexes K 0 = K , K 1 , , K q = K such that K i is obtained from K i 1 via an elementary collapse. Clearly, K and K are homotopy equivalent.
In the following, we shall employ simplicial collapses in order to reduce the loop complex in two steps: first, eliminating all tetrahedra and then removing triangles possessing a free edge.
Step 1: Given a 3-simplex σ 1 = { s 1 , s 2 , t 1 , t 2 } , Proposition 5 guarantees that σ 1 always has a free mixed edge ω and two free triangles Δ 1 , Δ 1 containing ω . The triple ( ω , Δ 1 , Δ 1 ) is called a σ 1 -butterfly. In analogy to the analysis in case of bi-structures [7], we perform the butterfly removal on the loop complex. Specifically, the simplicial collapse consists of two elementary collapses with respect to ( σ 1 , Δ 1 ) and ( Δ 1 , ω ) and provides us a sub-complex K 1 = K ( I ) { σ 1 , Δ 1 , Δ 1 , ω } , which is homotopy equivalent to K ( I ) .
We observe that K 1 is again the loop complex of a τ -structure I 1 = ( S 1 , T 1 , ϕ 1 ) obtained by splicing vertices in I as follows: For any I-vertex q s 1 s 2 t 1 t 2 , suppose that q is the equivalence class of an S-vertex i and a T-vertex j. Then, there is a ϕ -arc connecting i and j, i.e., ϕ ( i ) = j . We now splice i into two consecutive vertices i 1 , i 2 and splice j into two consecutive vertices j 1 , j 2 . The ϕ -arc ϕ ( i ) = j is replaced with two new ϕ -arcs ϕ 1 ( i 1 ) = j 1 and ϕ 1 ( i 2 ) = j 2 . The arcs are connected in a manner such that the mixed edge ω is not formed in K 1 . In the case of ω = { s 1 , t 2 } , we depict the resulting τ -structure I 1 in Figure 3 and note that all other cases are treated similarly. Furthermore, we remove any other ϕ -arcs that give rise to Δ 1 , Δ 1 or ω . It is straightforward to verify that the loop complex of I 1 is exactly K 1 .
By iteratively eliminating all 3-simplices, σ and the associated σ -butterflies, we derive a sequence of sub-complexes K 0 = K ( I ) , K 1 , , K q = X such that X does not contain any 3-simplices. Accordingly, we obtain a sequence of τ -structures I 0 = I , I 1 , , I q = I by splicing the corresponding vertices of σ such that the loop complex of I j is given by K j . It is clear that the sub-complex X satisfies the following property.
Lemma 1.
Let K ( I ) be the loop complex of a τ-structure I and X be the complex obtained by removing from K ( I ) all 3-simplices σ and the associated σ-butterflies. Then the following is the case:
(1
X is the complex of a τ-structure I such that each ϕ-arc is incident to at most one arc;
(2
X is a sub-complex of K ( I ) such that the 0-th skeleton X ( 0 ) = K ( I ) ( 0 ) and X does not contain any 3-simplices;
(3
H n ( X ) H n ( I ) , for n 0 .
A complex possessing the properties of Lemma 1 is called lean. As an immediate consequence we obtain the following.
Corollary 1.
Let I be a τ-structure, then H 3 ( I ) = 0 .
Proof. 
In view of Proposition 1, as a sub-complex of K ( I ) , X does not contain any 3-simplices. For X holds ker 3 = 0 , whence H 3 ( I ) H 3 ( X ) = 0 . □
Step 2: Suppose that Δ 1 is a 2-simplex in X having a free 1-face ω 1 . By collapsing ( Δ 1 , ω 1 ) , we obtain a sub-complex X 1 = X { Δ 1 , ω 1 } . By successively deleting 2-simplices ω together with τ -free edges, we derive a sequence of sub-complexes X 0 = X , X 1 , , X m = X ˜ such that each 2-simplex of X ˜ does not contain any free 1-face.
Proposition 8.
Let X ˜ be a complex obtained from X by iteratively removing all 2-simplices ω together with τ-free 1-face. Then, the following is the case:
(1)
X ˜ is a sub-complex of X such that the 0-th skeleton X ˜ ( 0 ) = X ( 0 ) and each 2-simplex of X ˜ does not have a free 1-face;
(2)
For n 0 , we have H n ( X ˜ ) H n ( X ) .
Figure 4 displays the simplicial collapse from X to X ˜ .
Remark 1.
The sub-complex X ˜ is not unique. By construction, X ˜ depends on the particular sequence of the simplicial collapses, as well as which free face of a simplex is being removed (see Figure 5)
Lemma 1 guarantees that X ˜ is derived from a lean complex.
Lemma 2.
Let X ˜ be the sub-complex derived from a lean complex, then the following is the case:
(1)
For any 2-simplex Δ = { s 1 , s 2 , t 1 } X ˜ , holds s 1 s 2 t 1 = { i ¯ } , i.e., any 2-simplex Δ corresponds to the ϕ-arc, ( i , ϕ ( i ) ) ;
(2)
Any pure 1-simplex ω of X ˜ is either maximal or contained in exactly two 2- simplices Δ , Δ . In the latter case, ω is associated with an arc ( i , i ) in I, such that vertices i , i are incident to ϕ-arcs ( i , j ) and ( i , j ) , respectively.
Proof. 
For any Δ = { s 1 , s 2 , t 1 } X ˜ , we have | s 1 s 2 t 1 | | s 1 s 2 | = 2 . By construction, in X ˜ , ω is not Δ -free, whence there exists another 2-simplex Δ = { s 1 , s 2 , t 1 } Δ containing ω . Lemma 1 guarantees that X ˜ does not contain any 3-simplices, i.e., we have the following.
( s 1 s 2 t 1 ) ( s 1 s 2 t 1 ) = s 1 s 2 t 1 t 1 = .
Therefore, sets s 1 s 2 t 1 and s 1 s 2 t 1 are disjoint and both have cardinality 1, whence assertion (1) follows. Let s 1 s 2 t 1 = { i ¯ } , then Δ is in one-to-one correspondence with the vertex i as well as its induced ϕ -arc ( i , ϕ ( i ) ) in I.
Suppose the pure 1-simplex ω is not maximal, then there exists at least one 2-simplex Δ having ω as a face. Since we work in the complex X ˜ , ω cannot be Δ -free, whence there exists another 2-simplex Δ containing ω . Assertion (1) then implies that Δ and Δ are the only such 2-simplices, which completes the proof. □

4.2. Topological Stratification

We shall next show that the complex X ˜ is topologically stratified and decomposes into two sub-complexes X ˜ 2 and K 1 , where X ˜ 2 is induced by all X ˜ -2-simplices and K 1 by all 1-simplices of X ˜ X ˜ 2 (see Figure 6)
Proposition 9.
We have H 2 ( X ˜ ) H 2 ( X ˜ 2 ) and H 1 ( X ˜ ) H 1 ( X ˜ 2 ) i = 1 k Z , where the non-negative integer k depends on K 1 and X ˜ 2 K 1 .
Proof. 
By construction, X ˜ 2 is a sub-complex of X ˜ . We have the short exact sequence of chain complexes 0 C * ( X ˜ 2 ) i C * ( X ˜ ) j C * ( X ˜ , X ˜ 2 ) 0 , which induces the long exact sequence.
H n + 1 ( X ˜ , X ˜ 2 ) H n ( X ˜ 2 ) i * H n ( X ˜ ) j * H n ( X ˜ , X ˜ 2 ) .
By construction, X ˜ does not have any 3-simplices, which implies that C 3 ( X ˜ , X ˜ 2 ) = 0 . Since X ˜ 2 contains all 2-simplices in X ˜ , we have C 2 ( X ˜ , X ˜ 2 ) = 0 . Then we derive H 3 ( X ˜ , X ˜ 2 ) = H 2 ( X ˜ , X ˜ 2 ) = 0 . In view of the long exact sequence, we have the following:
0 = H 3 ( X ˜ , X ˜ 2 ) H 2 ( X ˜ 2 ) i * H 2 ( X ˜ ) j * H 2 ( X ˜ , X ˜ 2 ) = 0 ,
in other words, H 2 ( X ˜ ) H 2 ( X ˜ 2 ) . For n = 1 , the long exact sequence reads as follows:
0 = H 2 ( X ˜ , X ˜ 2 ) H 1 ( X ˜ 2 ) i * H 1 ( X ˜ ) j * H 1 ( X ˜ , X ˜ 2 ) ,
which induces the following exact sequence.
0 H 1 ( X ˜ 2 ) i * H 1 ( X ˜ ) j * Im j * r 0 .
The relative homology C 1 ( X ˜ , X ˜ 2 ) is freely generated by the 1-simplices in X ˜ X ˜ 2 . By definition, we have H 1 ( X ˜ , X ˜ 2 ) = ker ( ¯ 1 ) / Im ( ¯ 2 ) , where C 2 ( X ˜ , X ˜ 2 ) ¯ 2 C 1 ( X ˜ , X ˜ 2 ) ¯ 1 C 0 ( X ˜ , X ˜ 2 ) . In view of Im ( ¯ 2 ) = 0 , H 1 ( X ˜ , X ˜ 2 ) ker ( ¯ 1 ) and H 1 ( X ˜ , X ˜ 2 ) is free. As a subgroup of the free group H 1 ( X ˜ , X ˜ 2 ) , Im j * is free and thus projective. Then, the short exact sequence is split exact and the following is the case:
H 1 ( X ˜ ) H 1 ( X ˜ 2 ) Im j * H 1 ( X ˜ 2 ) i = 1 k Z ,
where the non-negative integer k = rnk ( Im j * ) depends on K 1 and X ˜ 2 K 1 . □
Proposition 9 shows that the sub-complex K 1 gives rise to only free generators in the first homology of X ˜ .

5. Some Combinatorics of Crossing Components

In order to compute the homology of X ˜ , we introduce an equivalence relation partitioning the set of 2-simplices. To this end, we observe that 2-simplices of X ˜ appear in pairs: Given a 2-simplex Δ with pure edge, ω , Lemma 2 guarantees that there exists a unique 2-simplex Δ such that Δ Δ = ω . Each pair ( Δ , Δ ) is associated with a unique arc ( i 1 , i 2 ) and i 1 and i 2 are incident to the ϕ -arcs, ( i 1 , ϕ ( i 1 ) ) and ( i 2 , ϕ ( i 2 ) ) . We refer to ( Δ , Δ ) together with their pure and ϕ -arcs as a couple.
Two couples ( Δ 1 , Δ 1 ) and ( Δ 2 , Δ 2 ) are ϕ-crossing if their corresponding arcs ( i 1 , i 2 ) and ( j 1 , j 2 ) are ϕ -crossing, i.e., if either the following is the case:
(1)
Both i 1 and i 2 are incident to ϕ -arcs such that ϕ ( i 1 ) < j 1 < ϕ ( i 2 ) < j 2 or j 1 < ϕ ( i 1 ) < j 2 < ϕ ( i 2 ) , or;
(2)
Both j 1 and j 2 are incident to ϕ -arcs such that i 1 < ϕ 1 ( j 1 ) < i 2 < ϕ 1 ( j 2 ) or ϕ 1 ( j 1 ) < i 1 < ϕ 1 ( j 2 ) < i 2 .
This notion induces an equivalence relation ϕ on all X ˜ -couples to be the transitive closure with respect to ϕ -crossing. Two couples ( Δ 1 , Δ 1 ) and ( Δ k , Δ k ) are ϕ -equivalent, denoted by ( Δ 1 , Δ 1 ) ϕ ( Δ k , Δ k ) , if there exists a sequence of pairs ( Δ 1 , Δ 1 ) , ( Δ 2 , Δ 2 ) , , ( Δ k , Δ k ) , such that ( Δ i , Δ i ) and ( Δ i + 1 , Δ i + 1 ) are ϕ -crossing for 1 i k 1 . The relation ϕ partitions the set of X ˜ -pairs into equivalence classes, [ ( Δ 1 , Δ 1 ) ] . A ϕ-crossing component or component, C, of X ˜ is the set of 2-simplices contained in an equivalence class [ ( Δ , Δ ) ] . By construction, the set of all 2-simplices in X ˜ is partitioned into components, C, and each component C induces a X ˜ -sub-complex. By the abuse of notation, we shall denote a component as well as its induced X ˜ -sub-complex by C. We refer to the ϕ -arcs of a component C as C-ϕ-arcs.
Suppose that ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) , where i 1 < i 2 < < i l and ϕ ( i k ) = j k are C- ϕ -arcs. These partition the two backbones into blocks, the outer block β 1 = [ 1 , i 1 ) S ( i l , n ] S [ 1 , j 1 ) T ( j l , m ] T and the inner blocks β r = ( i r 1 , i r ) S ( j r 1 , j r ) T , 2 r l . A block, β , contains a couple ( Δ , Δ ) if all endpoints of ϕ -arcs associated with ( Δ , Δ ) are contained in β and the component C 1 if β contains all C 1 -couples.
Figure 7 demonstrates a decomposition of X ˜ into components. In this example, the complex K ( I ) does not a priori contain any free 1-face, whence K ( I ) = X ˜ . It is straightforward to verify that X ˜ features the five components:
C 1 = { { 2 , 3 , 8 } , { 2 , 3 , 7 } , { 2 , 7 , 8 } , { 3 , 7 , 8 } } , C 2 = { { 2 , 4 , 9 } , { 2 , 4 , 10 } , { 2 , 9 , 10 } , { 4 , 9 , 10 } } , C 3 = { { 1 , 5 , 9 } , { 1 , 5 , 11 } , { 1 , 9 , 11 } , { 5 , 9 , 11 } } , C 4 = { { 1 , 6 , 7 } , { 1 , 6 , 12 } , { 1 , 7 , 12 } , { 6 , 7 , 12 } } , C 5 = { { 2 , 7 , 9 } , { 1 , 7 , 9 } } .
The ϕ -arcs of C 5 induce the outer block [ 1 , 5 ) S ( 19 , 22 ] S [ 1 , 5 ) T ( 18 , 21 ] T and the inner block ( 7 , 17 ) S ( 7 , 16 ) T . The components C 1 , C 4 are contained in the outer and C 2 , C 3 in the inner block, respectively.
Lemma 3.
Let C be a X ˜ -component with blocks β 1 , β 2 , , β l . Then, for any other component C 1 C , there exists a unique block, β k , that contains C 1 .
Proof. 
Suppose that C- ϕ -arcs are given by ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) , where i 1 < i 2 < < i l and ϕ ( i k ) = j k .
Claim: Given a C 1 -couple ( Δ , Δ ) with ϕ -arcs ( i , j ) and ( i , j ) , then there exists a block β k that contains both ( i , j ) and ( i , j ) .
Firstly, both endpoints i , j are contained in the same C-block otherwise ( i , j ) would cross a C- ϕ -arc. Suppose ( i , j ) and ( i , j ) are contained in different C-blocks. Since C and C 1 are distinct components, C-couples and C 1 -couples are mutually non-crossing. As a result, C 1 partitions the C-couples into to two non-empty subsets, one contained in ( i , i ) S ( j , j ) T and the other in [ 1 , i ) S ( i , n ] S [ 1 , j ) T ( j , m ] T . By construction, any couple contained in the former subset and any pair in the latter are non-crossing, which is impossible since C is a component.
It follows that there exists a C-block β k that contains both ( i , j ) and ( i , j ) .
Any C 1 -couple ( Δ 1 , Δ 1 ) that crosses ( Δ , Δ ) has at least one ϕ -arc contained in β k . By the above argument, both of its ϕ -arcs are then contained in β k , i.e., β k contains ( Δ 1 , Δ 1 ) . Since C 1 is a component this implies that any C 1 -couple is contained in β k . □
Lemma 3 gives rise to a relation over the set of X ˜ -components as follows: C 1 C 2 if all C 1 - ϕ -arcs are contained in an inner block of C 2 . In view of Lemma 3, we can verify that the relation ≺ is a well-defined partial order. In Figure 7, C 2 C 5 , C 3 C 5 and C 1 , C 4 , C 5 are maximal.
We next identify how two 2-simplices that share a mixed edge affect the location of couples along the two backbones. This reflects the planarity of τ -structures and has important consequences for how components are glued in the loop complex.
Lemma 4.
Let Δ and Δ 1 be X ˜ -2-simplices that share the mixed edge, ω, and that correspond to the ϕ-arcs ( i , j ) and ( i 1 , j 1 ) , where i < i 1 . Then any couple ( Δ 2 , Δ 2 ) where { Δ 2 , Δ 2 } { Δ , Δ 1 } = is contained in either
( i , i 1 ) S ( j , j 1 ) T or [ 1 , i ) S ( i 1 , n ] S [ 1 , j ) T ( j 1 , m ] T .
Proof. 
Without loss of generality we may assume that ( Δ 2 , Δ 2 ) features the S-arc ( i 2 , i 2 ) . Let ω = { s , t } , since Δ Δ 1 = ω , by construction i , i 1 s and j , j 1 t . In case one of the vertices, i 2 , i 2 is contained in ( i , i 1 ) S and the other is contained in [ 1 , i ) S ( i 1 , n ] S , the arc ( i 2 , i 2 ) organizes i , i 1 into distinct S-loops (see Figure 8), which is a contradiction. Thus, i 2 , i 2 are contained in ( i , i 1 ) S or [ 1 , i ) S ( i 1 , n ] S , i.e., the ϕ -arcs associated with ( Δ 2 , Δ 2 ) are contained in ( i , i 1 ) S ( j , j 1 ) T or [ 1 , i ) S ( i 1 , n ] S [ 1 , j ) T ( j 1 , m ] T . □
Lemma 5.
Let C be a X ˜ -component. Then for any 2-simplex Δ C and any 1-face ω, there exists at most one 2-simplex Δ 1 C such that Δ Δ 1 = ω .
Proof. 
Clearly, the statement holds when ω is pure. For mixed ω , by w.l.o.g. let Δ = { s 1 , s 2 , t }   ω = { s 2 , t } and assume the S-loop s 2 corresponds to the arc ( i , i ) where i < i .
Suppose there exist distinct 2-simplices Δ 1 , Δ 2 C having ω as a 1-face. We shall denote the Δ , Δ 1 and Δ 2 - ϕ -arcs by ( i , j ) , ( i 1 , j 1 ) , ( i 2 , j 2 ) , respectively. Without loss of generality, we may assume that i < i 1 < i 2 . Since any ϕ -arcs are non-crossing, we have j < j 1 < j 2 .
We now apply Lemma 4: Since Δ Δ 2 = ω , the couple ( Δ 1 , Δ 1 ) is contained in ( i , i 2 ) S ( j , j 2 ) T or [ 1 , i ) S ( i 2 , n ] S [ 1 , j ) T ( j 2 , m ] T . Since i < i 1 < i 2 , ( Δ 1 , Δ 1 ) is contained in ( i , i 2 ) S ( j , j 2 ) T .
In view of ( Δ , Δ ) and ( Δ 1 , Δ 1 ) belonging to C, there exists a sequence of pairs ( α 1 , α 1 ) = ( Δ 1 , Δ 1 ) , ( α 2 , α 2 ) , , ( α k , α k ) = ( Δ , Δ ) such that ( α i , α i ) and ( α i + 1 , α i + 1 ) are crossing.
Lemma 4 applies to any couple ( α i , α i ) , locating it in ( i , i 2 ) S ( j , j 2 ) T or [ 1 , i ) S ( i 2 , n ] S [ 1 , j ) T ( j 2 , m ] T . In addition, since ( α 2 , α 2 ) and ( Δ 1 , Δ 1 ) are crossing, ( α 2 , α 2 ) is contained in ( i , i 2 ) S ( j , j 2 ) T , as is ( α 1 , α 1 ) = ( Δ 1 , Δ 1 ) . Analogously, it follows that ( α k , α k ) = ( Δ , Δ ) is contained in ( i , i 2 ) S ( j , j 2 ) T , which is, by construction, impossible.
Accordingly, there exists at most one 2-simplex Δ 1 C such that Δ Δ 1 = ω . □
Let C be a component and ω a C-1-face. Lemma 5 implies that ω is contained in either one or two C-2-simplices. We call a 1-face ω that is contained in a unique C-2-simplex C-free. Furthermore we call a component C complete if, for any of its 1-faces ω , there exist exactly two 2-simplices Δ , Δ C such that Δ Δ = ω and incomplete, otherwise.
Let C be a component with ϕ -arcs ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) , where i 1 < i 2 < < i l and ϕ ( i k ) = j k . Let Δ 1 , Δ 2 , , Δ l denote the 2-simplices associated with the ϕ -arcs ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) , respectively. Suppose that C- ϕ -arcs partition the two backbones into the sequence of blocks β 1 , β 2 , , β l ordered from left to right and where β 1 = [ 1 , i 1 ) S ( i l , n ] S [ 1 , j 1 ) T ( j l , m ] T = ( i l , i 1 ) S ( j l , j 1 ) T denotes the outer-block. Let ω k and ω k denote the mixed 1-faces of Δ k that are associated with β k and β k + 1 , respectively. We call the mixed edges ω 1 and ω l associated with the outer block the C-boundary. Note that ω 1 and ω l coincide if and only if Δ 1 and Δ l share a common mixed edge.
The next lemma constitutes a key observation which facilitates the computation of the homology of τ -structures via the Mayer–Vietoris sequence, see Theorem 2.
Lemma 6.
Let C be an X ˜ -component having boundary ω 1 and ω l , and let C 1 be an X ˜ -component with the property C 1 C . Suppose that ω is a 1-simplex shared by C and C 1 , then ω = ω 1 or ω = ω l .
Proof. 
Let Δ 1 , Δ 2 , , Δ l denote the 2-simplices of C associated with the ϕ -arcs ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) , ordered from left to right. Suppose that Δ 0 C 1 and Δ k C share a common mixed edge ω and have the ϕ -arcs ( i 0 , j 0 ) and ( i k , j k ) , respectively. In view of C 1 C , C 1 is contained in the outer C-block and we may by w.l.o.g. assume that i 0 < i 1 .
The fact Δ 0 Δ k = ω , now organizes C relative to Δ k in a particular fashion, see Figure 9. Employing Lemma 4 we obtain that, except of ( Δ k , Δ k ) , all C-couples partition into the following.
A 1 ( i 0 , i k ) S ( j 0 , j k ) T and A 2 [ 1 , i 0 ) S ( i k , n ] S [ 1 , j 0 ) T ( j k , m ] T .
Now we use the fact that that C is a component: Firstly, any A 1 -couple and any A 2 -couple are by construction non-crossing. Secondly, by construction, ( Δ k , Δ k ) is crossing into either only one A 1 or A 2 , which implies that either one, A 1 or A 2 , is trivial.
Suppose A 1 = . Then all C- ϕ -arcs are contained in [ i k , n ] which implies Δ k = Δ 1 . In case A 2 = , all C- ϕ -arcs are contained in ( i 0 , i k ] which implies Δ k = Δ l . Therefore, for the shared 1-edge, ω , holds ω = ω 1 or ω = ω l . □

6. The Homology of Components

In order to compute the homology of τ -structures, we shall first compute the homology of components separately and then integrate this information via the Mayer–Vietoris sequence [18,19]. To this end we adopt a topological perspective of crossing components, taking a closer look at the manifold formed by 2-simplices of a component obtained via gluing along their edges.
Given a component C, two couples ( Δ 1 , Δ 1 ) 1 ( Δ k , Δ k ) if there exists a sequence of pairs ( Δ 1 , Δ 1 ) , ( Δ 2 , Δ 2 ) , , ( Δ k , Δ k ) such that ( Δ i , Δ i ) and ( Δ i + 1 , Δ i + 1 ) share at least one 1-face for 1 i k 1 . Clearly, 1 is an equivalence relation and partitions all pairs in C into equivalence classes D 1 , D 2 , , D k , which we refer to as C-ribbons.
Lemma 7.
The geometric realization of a complete X ˜ -component, C is a sphere.
Proof. 
Suppose that 1 partitions all C-pairs into the ribbons D 1 , D 2 , , D k .
Claim 1: The geometric realization of a ribbon, D i , is a surface without boundary.
Since C is complete, for each 2-simplex Δ D i and its 1-face ω , there exists a unique 2-simplex Δ 1 C such that Δ Δ 1 = ω . By construction, Δ 1 is further contained in D i . This implies that the geometric realization of D i is a compact and connected 2-manifold, i.e., a surface without boundary.
Let T D i denote the D i -sub-complex consisting of all pure edges for which its loops are T-loops. We shall employ T D i in order to relate the crossing relation with 1 .
Claim 2: T D i is connected, i.e., T D i is a subtree of T.
Suppose that T D i contains at least two connected components T 1 and T 2 . Let D denote the subset of 2-simplices of D i containing at least one T 1 -vertex. Since all 2-simplices of D are incident to the connected component T 1 , the complex formed by D is connected. D does not contain any T 2 -vertices, since otherwise there would, by construction of D , exist a pure edge connecting a T 1 -vertex and a T 2 -vertex, which contradicts the assumption that T D i is disconnected. Thus, D is a connected, which is a proper subset of D i , and its geometric realization is a surface having boundary B, see Figure 10.
The set of 2-simplices containing a fixed T 1 -vertex, t, forms a neighborhood of t in the D i -induced surface, whence any T 1 -vertex is contained in the interior of D . Consequently, the boundary does not contain any T 1 -vertex. From this, we conclude that the boundary, being a cycle, consists of only S-loops. This, however, is impossible since the complex of a secondary structure S is a tree.
Claim 3:C consists of a unique ribbon.
Suppose that C contains at least two ribbons D 1 and D 2 . Since C is a component, there exists a couple ( Δ , Δ ) in D 1 and ( Δ 0 , Δ 0 ) not contained in D 1 , such that ( Δ , Δ ) and ( Δ 0 , Δ 0 ) are crossing.
Without loss of generality, we may consider Δ = { s 1 , s 2 , t 1 } , Δ = { s 1 , s 2 , t 2 } , Δ 0 = { t 1 , t 2 , s 1 } and Δ 0 = { t 1 , t 2 , s 2 } , see Figure 11. Since ( Δ , Δ ) and ( Δ 0 , Δ 0 ) are crossing, the T-loops t 1 , t 2 are on the path connecting T-loops t 1 and t 2 in the complex of the secondary structure T.
By Claim 2, T D 1 is connected and thus t 1 , t 2 T D 1 implies that { t 1 , t 2 } T D 1 . Claim 1 guarantees that each 1-face of D 1 is not D 1 -free, whence there exist two D 1 -2-simplices having the face { t 1 , t 2 } . However, ( Δ 0 , Δ 0 ) is the unique couple, for which the 2-simplices Δ 0 , Δ 0 both contain the pure 1-simplex { t 1 , t 2 } . As a result the fact that D 1 is a surface without boundary guarantees that ( Δ 0 , Δ 0 ) is contained in D 1 , which is a contradiction.
Therefore C is organized as a single ribbon, for which its geometric realization is a surface without boundary. We shall proceed by computing its Euler characteristic χ .
Suppose that C contains n pairs ( Δ , Δ ) . Then the complex C features 2 n 2-simplices and 3 n 1-simplices. Claim 2 stipulates the connectivity of S C and T C , whence both S C and T C are connected subsets of trees and as such trees themselves. We shall use this in order to count 0-simplices as follows: each pair ( Δ , Δ ) corresponds to one pure 1-simplex in S C or T C . Thus S C and T C contain n 1-simplices, which implies that C contains n + ( 1 + 1 ) 0-simplices. From this, it follows χ = 2 and C is homeomorphic to a sphere. □
Remark 2.
The key in the proof is to show that the projection of D i onto each secondary structure, T D i , is connected. If T D i is disconnected, then we can construct a cycle separating different connected components and consisting of only S-loops, resulting in a contradiction. The proof is reminiscent of the Jordan curve theorem in the plane [20,21].
While any complete component is organized as a distinguished ribbon, an incomplete component can consist of multiple ribbons. In Figure 12, the two couples ( { 2 , 5 , 6 } , { 4 , 5 , 6 } ) and ( { 1 , 3 , 5 } , { 1 , 3 , 6 } ) form an incomplete component, which contains two ribbons and each of which are a couple.
Lemma 8.
Given an incomplete X ˜ -component C, having the ribbons D 1 , D 2 , , D k . Then, for each D i , there exists some 1-face ω D i that is D i -free.
Proof. 
Suppose there exists a ribbon D i , in which each 1-face ω D i is not D i -free. Lemma 5 guarantees that there exist exactly two 2-simplices Δ , Δ D i such that Δ Δ = ω . Using the argument of Claim 2 of Lemma 7, we can conclude that T D i is connected.
C consists of at least two distinct ribbons since otherwise C = D i contains no C-free 1-face, which contradicts the assumption that C is incomplete. Thus there exist a couple ( Δ , Δ ) D i and ( Δ 0 , Δ 0 ) D i , such that ( Δ , Δ ) and ( Δ 0 , Δ 0 ) are crossing. In analogy to Claim 3 of Lemma 7, we can conclude that both Δ 0 and Δ 0 are contained in D i , which is impossible.
Therefore there exists a 1-face ω D i that is D i -free. □
Theorem 1.
Let C be a component of X ˜ . Then the following is the case:
H 2 ( C ) Z i f C i s c o m p l e t e 0 i f C i s i n c o m p l e t e
and the following is also the case:
H 1 ( C ) 0 i f C i s c o m p l e t e k = 1 r Z i f C i s i n c o m p l e t e ,
where the non-negative integer r depends on C. Furthermore, a complete component, H 2 ( C ) is freely generated by the sum of all C-2-simplices.
Proof. 
In case C is complete, by Lemma 7, C is homeomorphic to a sphere, whence H 2 ( C ) Z and H 1 ( C ) 0 . Clearly, H 2 ( C ) is freely generated by the sum of 2-simplices of C.
In case C is incomplete, suppose that D 1 , D 2 , , D k are the C-ribbons. In the following, we prove Equations (1) and (2) by induction on the number k of ribbons.
For k = 1 , C is a ribbon and, as such, is connected. Since C is incomplete, it contains by Lemma 8 at least one C-free 1-face. This implies that the geometric realization of C is a surface with boundary. Therefore H 2 ( C ) 0 and H 1 ( C ) is free.
For the induction step, we shall combine ribbons in order to compute the homology of an incomplete component. In view of the fact that C is the union of the sub-complexes D k and D = j < k D j , we have the following inclusion maps:
Mathematics 09 01749 i001
Each inclusion map induces a chain map on the corresponding simplicial chain groups and a homomorphism between the corresponding homology groups.
Mathematics 09 01749 i002
Accordingly, we obtain the Mayer–Vietoris sequence
H n ( D k D ) Φ H n ( D k ) H n ( D ) Ψ H n ( C ) H n 1 ( D k D )
where Φ = i * j * , Ψ = h * l * and is the connecting homomorphism given by the zig-zag lemma (see [22,23] for more details).
By Lemma 8, D k contains at least one D k -free 1-face, whence its geometric realization of D k is a surface with boundary. As a result, H 2 ( D k ) 0 and H 1 ( D k ) is free.
From the definition of ribbon follows, that the intersection D k D j of any two ribbons cannot contain any 2-simplices. Furthermore, D k D j does not contain any 1-simplices, whence D k D j contains only 0-simplices.
In view of D k ( j < k D j ) = j < k ( D k D j ) , we conclude that D k D consists of only 0-simplices. Therefore, H 2 ( D k D ) H 1 ( D k D ) 0 and H 0 ( D k D ) are free.
In case of n = 2 , the Mayer–Vietoris sequence reads as follows.
0 = H 2 ( D k D ) Φ H 2 ( D k ) H 2 ( D ) Ψ H 2 ( C ) H 1 ( D k D ) = 0 .
Thus, Ψ is an isomorphism.
H 2 ( C ) H 2 ( D k ) H 2 ( D ) .
By induction hypothesis, we have H 2 ( D ) 0 and due to the fact that D k contains a free D k -1-face, H 2 ( D k ) 0 . Accordingly, we obtain H 2 ( C ) 0 .
In case of n = 1 , we observe the following:
0 = H 1 ( D k D ) Φ H 1 ( D k ) H 1 ( D ) Ψ H 1 ( C ) H 0 ( D k D )
which gives rise to the following exact sequence.
0 Φ H 1 ( D k ) H 1 ( D ) Ψ H 1 ( C ) Im r 0 .
As a subgroup of the free group H 0 ( D k D ) , Im is free and thus projective. As a result, the short exact sequence is split exact and the following:
H 1 ( C ) H 1 ( D k ) H 1 ( D ) Im
holds. Since both H 1 ( D k ) and H 1 ( D ) are free, we conclude that H 1 ( C ) is free, which completes the proof. □
Theorem 1 shows that, while the complete components contribute only to the second homology, the incomplete components provide generators of the first homology. In terms of discrete Morse theory, each complete component contains a critical point of dimension 2 and each incomplete component can feature multiple critical points of dimension 1.

7. The Main Theorem

In this section, we compute the homology of a τ -structure. The key tool here is the Mayer–Vietoris sequence, which allows us to connect and compose the homology data of the sub-complexes.
A certain ordering by which the components are glued in combination with Lemma 6 are critical for the application of the Mayer–Vietoris sequence, since they constitute the determinants of how components intersect.
Theorem 2.
Let X ˜ be the complex obtained from the loop complex of a τ-structure I. Then, H 1 ( X ˜ ) is free and the following is the case:
H 2 ( X ˜ ) i = 1 M Z ,
where M denotes the number of complete X ˜ -components. Furthermore, H 2 ( X ˜ ) is freely generated by { c i } i M , where c i denotes the sum of 2-simplices contained in a complete component, C i .
Proof. 
Let X ˜ 2 be the X ˜ -sub-complex induced by the X ˜ -2-simplices. Suppose that X ˜ 2 is partitioned into j components C 1 , , C j . The set { C i } and any of its subsets are partially ordered and, by recursively removing maximal components, we can obtain a “descending” sequence ( C i 1 , , C i j ) such that the following obtains.
C i h C i k for h < k .
This sequence gives rise to a sequence of sub-complexes, ( Y 0 , Y 1 , , Y j ) obtained by recursively adding a component as follows: Y 0 = and Y k = Y k 1 C i k . By construction, we have Y j = X ˜ 2 = i = 1 j C i .
We next prove by induction on the number of components, k, that H 1 ( Y k ) is free and H 2 ( Y k ) i = 1 M k Z , where M k denotes the number of complete components in C i 1 , , C i k .
For the induction basis k = 1 , Y 1 = C i 1 itself is a component and its homology has been computed in Theorem 1. Clearly, when C i 1 is complete, H 2 ( Y 1 ) is freely generated by the sum of 2-simplices of C i 1 .
For the induction step we consider Y k as the union of two sub-complexes C i k and Y k 1 and shall combine C i k and Y k 1 by means of the Mayer–Vietoris sequence as follows.
H n ( C i k Y k 1 ) H n ( C i k ) H n ( Y k 1 ) H n ( Y k ) H n 1 ( C i k Y k 1 )
By construction, C i h C i k for any h < k , which enables the application of Lemma 6. We accordingly conclude that the 1-skeleton of C i k C i h is contained in { ω 1 , ω l } .
In view of C j ( i < j C i ) = i < j ( C i C j ) , for any i and j, we derive that the 1-skeleton of C i k Y k 1 is contained in { ω 1 , ω l } . This severely constrains C i k Y k 1 , which consists of 0-simplices and at most two 1-simplices.
As a result, H 2 ( C i k Y k 1 ) H 1 ( C i k Y k 1 ) 0 and H 0 ( C i k Y k 1 ) are free.
In case n = 2 , we have the following.
0 = H 2 ( C i k Y k 1 ) Φ H 2 ( C i k ) H 2 ( Y k 1 ) Φ H 2 ( Y k ) H 1 ( C i k Y k 1 ) = 0 .
Thus, Ψ is an isomorphism and H 2 ( Y k ) H 2 ( C i k ) H 2 ( Y k 1 ) . By induction hypothesis, H 2 ( Y k 1 ) k = 1 M k 1 Z , where M k 1 denotes the number of complete components in C i 1 , , C i k 1 . Due to Theorem 1, H 2 ( C i k ) Z in case of C i k being complete and H 2 ( C i k ) 0 in case of C i k being incomplete. Thus, we can conclude by induction
H 2 ( Y k ) i = 1 M k Z .
Clearly, H 2 ( Y k ) is freely generated by { c i h } h M k , where c i h is given by the sum of 2-simplices of the i h -th complete component.
In case n = 1 , we have the following.
0 = H 1 ( C i k Y k 1 ) Φ H 1 ( C i k ) H 1 ( Y k 1 ) Ψ H 1 ( Y k ) H 0 ( C i k Y k 1 )
and the following short exact sequence follows.
0 Φ H 1 ( C i k ) H 1 ( Y k 1 ) Ψ H 1 ( Y k ) Im 0 .
As a subgroup of the free group H 0 ( C i k Y k 1 ) , Im is free and thus projective. Then the short exact sequence is split exact and the following is the case.
H 1 ( Y k ) H 1 ( C i k ) H 1 ( Y k 1 ) Im .
Since both H 1 ( C i k ) and H 1 ( Y k 1 ) are free, we can conclude that H 1 ( Y k ) is free.
Therefore it follows by induction that H 1 ( X ˜ 2 ) = H 1 ( Y j ) is free and H 2 ( X ˜ 2 ) = H 2 ( Y j ) i = 1 M Z , where M denotes the number of complete components in C 1 , , C j .
In view of Proposition 9, we have the following:
H 2 ( X ˜ ) H 2 ( X ˜ 2 ) i = 1 M Z
and H 1 ( X ˜ ) H 1 ( X ˜ 2 ) i = 1 k Z is free, which completes the proof. □
The transitive closure with respect to ϕ -crossing produces an equivalence relation, i.e., ( i 1 , i 2 ) ϕ ( j 1 , j 2 ) , if there exists a sequence of arcs such as the following:
α 1 = ( i 1 , i 2 ) , α 2 , , α l = ( j 1 , j 2 )
such that two consecutive arcs α k and α k + 1 are ϕ -crossing for 1 k l 1 .
An arc-component, A, is an ϕ -equivalence class of arcs such that A contains at least two arcs. A is of type 1 if both endpoints of any of its arcs are incident to ϕ -arcs and of type 2, otherwise.
Suppose that ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) , where i 1 < i 2 < < i l and ϕ ( i k ) = j k are ϕ -arcs associated with A. These partition the two backbones into blocks: the outer block β 1 = [ 1 , i 1 ) S ( i l , n ] S [ 1 , j 1 ) T ( j l , m ] T = ( i l , i 1 ) S ( j l , j 1 ) T and the inner blocks β r = ( i r 1 , i r ) S ( j r 1 , j r ) T , 2 r l .
Lemma 9.
In I , let A be an arc-component of type 1 with blocks β 1 , β 2 , , β l . Then, for any arc ( i , i ) A , there exists a unique block, β k , that contains i and i .
Proof. 
Without loss of generality, we may assume that ( i , i ) is an S-arc. Since each ϕ -arc is incident to at most one arc due to Lemma 1, ( i , i ) is not incident to any ϕ -arc associated with A and thus its endpoints are contained in A-blocks.
By construction, any T-arc of A, ( j p , j q ) and ( i , i ) are non-crossing, since otherwise ( i , i ) would belong to the arc-component A. Accordingly, ϕ 1 ( j p ) and ϕ 1 ( j q ) are either contained in the interval ( i , i ) S or [ 1 , i ) S ( i , n ] S and we can conclude that A-arcs contained in either Y 0 ( i , i ) S or Y 1 [ 1 , i ) S ( i , n ] S .
Suppose that i and i are contained in different blocks, then Y 0 and Y 1 are nontrivial. By construction, any Y 0 -arc and any Y 1 -arc are non-crossing, which is impossible since A is an arc-component. As a result i and i are contained in a single A-block. □
Remark 3.
Lemma 9 is the “arc”-analogue of Lemma 3 for arc-components of type 1. Note that the statement does not hold for arc-components of type 2.
Given an arc-component A of type 1 in the interaction structure I , each ϕ -arc is associated with exactly one 2-simplex, as Lemma 1 guarantees that each ϕ -arc is incident to at most one arc. Let Δ 1 , Δ 2 , , Δ l denote the 2-simplices associated with the ϕ -arcs ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) , respectively. Let ω k and ω k denote the mixed 1-faces of Δ k that are associated with β k and β k + 1 , respectively.
Lemma 10.
Let A be an I -arc-component of type 1 with blocks β 1 , β 2 , , β l . Let Δ 1 , Δ 2 , , Δ l denote the 2-simplices associated with A and ω k and ω k be the mixed 1-faces of Δ k that are associated with β k and β k + 1 , respectively. Then ω k = ω k + 1 for 1 k l 1 and ω l = ω 1 .
Proof. 
Let ( i 1 , j 1 ) , ( i 2 , j 2 ) , , ( i l , j l ) denote the ϕ -arcs associated with A ordered from left to right. It suffices to prove ω 1 = ω 2 . Set ω 1 = { s , t } , where s and t are S-loops and T-loops associated with β 2 . Clearly, i 1 s and j 1 t .
By Lemma 9, any I -arc is either contained in β 2 or its complement. This guarantees that i 1 and i 2 belong to the same S-loop s and, furthermore, that j 1 and j 2 belong to the same T-loop t.
As a result the 2-simplex Δ 2 associated with ( i 2 , j 2 ) contains { s , t } as a mixed face, i.e., ω 1 = ω 2 . □
Now we are in position to prove the Main Theorem.
Proof of the Main Theorem. 
The triviality of the third homology group, H 3 ( I ) , follows from Corollary 1. In view of Lemma 1, Proposition 8 and Theorem 2, we have the following:
H 2 ( I ) H 2 ( X ˜ ) k = 1 M Z ,
where M denotes the number of complete X ˜ -components.
First we observe that any σ -butterfly removal does not change the crossing status of any two arcs. Thus, there is a natural bijection between the set of I-arc-components and that of I -arc-components. Moreover, each I-arc-component of type 1 corresponds to an I -arc-component of type 1.
It suffices to show that when passing from the complex X = K ( I ) to X ˜ , the number of I -arc-components of type 1 equals the number M of complete X ˜ -components.
Claim: there exists a bijection between the set of I -arc-components of type 1 and that of complete components of X ˜ .
Given an I -arc-component of type 1, A, let C denote the set of couples ( Δ , Δ ) associated with arcs of A. In view of Lemma 10, any 1-simplex that appears as a face in C-couples is shared by at least two 2-simplices. As a result, C does not contain any free 1-simplex and passing from X to X ˜ , simplicial collapses do not affect C-2-simplices.
Consequently, all C-couples in I simply persist when passing to X ˜ , where C itself becomes a X ˜ -component. Lemma 10 further guarantees that C does not contain any free 1-face, whence Lemma 8 implies that C is complete.
Accordingly, the Ansatz Φ ( A ) = C produces a well-defined mapping between I arc-components of type 1 and complete X ˜ -components.
Φ is, by construction, injective since the mapping constitutes a mere reinterpretation of an arc-component of type 1.
In order to establish surjectivity, let C 1 be a complete X ˜ -component. C 1 induces a distinguished, unique set of I -arcs, A 1 . By construction, any two A 1 -arcs α 1 , α 2 A 1 satisfy α 1 ϕ α 2 , whence A 1 is contained in a nontrivial and distinguished arc-component A .
We proceed by proving that A 1 = A is an arc-component of type 1. Suppose A 1 A , then there exist an arc ( i , i ) A A 1 and ( j , j ) A 1 such that ( i , i ) and ( j , j ) are ϕ -crossing. Note that ( j , j ) is associated to a C 1 -couple ( Δ j , Δ j ) . Let { s , s } be the pure edge associated with ( i , i ) . We showed in the proof of Lemma 7, that S C 1 is connected.
Since ( i , i ) and ( j , j ) are ϕ -crossing, the S-loops s 1 , s 2 are vertices of Δ j , Δ j from which follows that both s and s are on a path of two S-loops in C 1 . Accordingly { s , s } is contained in S C 1 . Lemma 7 guarantees that C 1 is a sphere, whence there exists a C 1 -couple ( Δ 0 , Δ 0 ) for which { s , s } is a pure face. As a result we obtain ( i , i ) A 1 , which is a contradiction from which A = A 1 follows.
By Lemma 2, both endpoints of an A 1 -arc are incident to ϕ -arcs, whence A 1 is an arc-component of type 1 and Φ ( A 1 ) = C 1 , whence Φ is surjective and, thus, bijective.
Therefore γ = M and H 2 ( I ) k = 1 γ Z .
The Euler characteristic χ of K ( I ) can be expressed as the alternating sum of ranks of its homology groups, i.e., χ = rnk ( H 0 ( I ) ) rnk ( H 1 ( I ) ) + rnk ( H 2 ( I ) ) rnk ( H 3 ( I ) ) , whence rnk ( H 1 ( I ) ) = γ χ + 1 . Theorem 2 shows that H 1 ( I ) H 1 ( X ˜ ) is free, from which we can conclude H 1 ( I ) k = 1 γ χ + 1 Z . □

8. Discussion

In this paper we computed the simplicial homology of τ -structures. τ -structures represent a meaningful generalization of bi-structures [7,8] as they allow us to study transitions between sequence–structure pairs where the underlying sequences differ in specific manners. Bi-structures would only facilitate the analysis of such pairs, where the underlying sequences are equal. Intuitively, the free energy of such sequence–structure pairs, which is a quantity that is straightforward to compute, characterizes the probability of finding such a pair of sequences in the course of evolution.
We are currently extending the results of this paper by computing the weighted homology of τ -structures over a discrete valuation ring, R. This entails the study of weighted complexes in which simplices are endowed with weights [9,24,25]. These weighted complexes feature a new boundary map, n v : C n , R ( X ) C n 1 , R ( X ) , where C n , R ( X ) denotes the free R-module generated by all n-simplices contained in X. n v is given by the following.
n v ( σ ) = i = 0 n v ( σ ^ i ) v ( σ ) · ( 1 ) i σ ^ i .
As it is the case for bi-structures [9], the weighted homology plays a crucial role in the Boltzmann sampling of sequence–structure pairs that minimize the free energy of the τ -structure.
Our approach differs from the purely algebraic proofs for the simplicial loop homology of bi-structures [8]. In the case of bi-structures, the computation for the second homology employs the fact that their first homology group is trivial. This allows us to understand the second homology group via a long exact sequence of relative homology groups. However, for τ -structures, the first homology is, in general, nontrivial and therefore requires a different approach.
We first reduce the loop complex K ( I ) to the sub-complex X ˜ via simplicial collapses, retaining the homology of the original space. We then dissect a certain 1-dimensional sub-complex in Proposition 9 and then decompose X ˜ into components based on the ϕ -crossing of couples. This decomposition allows us to identify different generators of the homology, with incomplete and complete components contributing to the first and second homologies, respectively. Finally, we compute the homology of X ˜ by gluing components in a particular manner. This makes use of the planarity of τ -structures in Lemma 6 and assures that we encounter particularly simple intersections, when applying the Mayer–Vietoris sequence. It is worth pointing out that in the proof of Theorem 2 the particular ordering in which the components are glued is crucial.
In view of Proposition 9, Theorems 1 and 2, the generators of the first homology of the loop complex originate from the combining of the sub-complex K 1 , incomplete components and the gluing of different components. The detailed descriptions of all these generators are a work in progress and here we restrict ourselves to using the Euler characteristic to express the rank of the first homology group. Only complete crossing components contribute to the second homology and their geometric realizations are spheres. We provide a combinatorial characterization of the generators in I in terms of arc-components of type 1.
As for applications of this framework, we currently employ τ -structures to investigate the evolutionary trajectories of viruses, such as flus and the Coronavirus. Specifically, we compute the loop homology of evolutionary transitions to gain deeper insight into sequence-structure-function relationships of the virus.

Author Contributions

Conceptualization, T.J.X.L. and C.M.R.; Investigation, T.J.X.L. and C.M.R.; Writing—original draft, T.J.X.L. and C.M.R. Both authors have contributed equally to this work. Both authors have read and agreed to the possible publication of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

We gratefully acknowledge the comments and discussions from Andrei Bura, Qijun He and Fenix Huang.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Waterman, M. Secondary Structure of Single-Stranded Nucleic Acids. In Studies on Foundations and Combinatorics, Advances in Mathematics Supplementary Studies; Rota, G.C., Ed.; Academic Press: New York, NY, USA, 1978; Volume 1, pp. 167–212. [Google Scholar]
  2. Smith, T.F.; Waterman, M.S. RNA secondary structure. Math. Biol. 1978, 42, 31–49. [Google Scholar]
  3. Zuker, M.; Stiegler, P. Optimal computer folding of large RNA sequences using thermodynamics and auxiliary information. Nucleic Acids Res. 1981, 9, 133–148. [Google Scholar] [CrossRef] [PubMed]
  4. Eddy, S.R. Non-coding RNA genes and the modern RNA world. Nat. Rev. Genet. 2001, 2, 919–929. [Google Scholar] [CrossRef] [PubMed]
  5. Breaker, R.R. Riboswitches and the RNA World. Cold Spring Harb. Perspect. Biol. 2012, 4, a003566. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Huang, F.W.D.; Barrett, C.; Reidys, C.M. The energy-spectrum of bicompatible sequences. arXiv 2021, arXiv:1910.00190v1. [Google Scholar]
  7. Bura, A.C.; He, Q.; Reidys, C.M. Loop homology of bi-secondary structures. Discret. Math. 2021, 344, 112371. [Google Scholar] [CrossRef]
  8. Bura, A.C.; He, Q.; Reidys, C.M. Loop Homology of Bi-secondary Structures II. arXiv 2019, arXiv:1909.01222. [Google Scholar]
  9. Bura, A.; He, Q.; Reidys, C. Weighted Homology of Bi-Structures over Certain Discrete Valuation Rings. Mathematics 2021, 9, 744. [Google Scholar] [CrossRef]
  10. Waterman, M. Combinatorics of RNA Hairpins and Cloverleaves. Stud. Appl. Math. 1979, 60, 91–98. [Google Scholar] [CrossRef]
  11. Howell, J.; Smith, T.; Waterman, M. Computation of Generating Functions for Biological Molecules. SIAM J. Appl. Math. 1980, 39, 119–133. [Google Scholar] [CrossRef] [Green Version]
  12. Schmitt, W.; Waterman, M. Linear trees and RNA secondary structure. Disc. Appl. Math. 1994, 51, 317–323. [Google Scholar] [CrossRef]
  13. Penner, R.; Waterman, M. Spaces of RNA secondary structures. Adv. Math. 1993, 217, 31–49. [Google Scholar] [CrossRef] [Green Version]
  14. Forman, R. A user’s guide to discrete Morse theory. Éminaire Lotharingien De Combinatoire 2002, 48, B48c. [Google Scholar]
  15. Forman, R. Morse Theory for Cell Complexes. Adv. Math. 1998, 134, 90–145. [Google Scholar] [CrossRef] [Green Version]
  16. Whitehead, J.H.C. Simplicial Spaces, Nuclei and m-Groups. Proc. Lond. Math. Soc. 1939, s2, 243–327. [Google Scholar] [CrossRef]
  17. Cohen, M.M. A Course in Simple-Homotopy Theory; Graduate Texts in Mathematics; Springer: New York, NY, USA, 1973. [Google Scholar]
  18. Mayer, W. Über abstrakte Topologie. Mon. Für Math. Und Phys. 1929, 36, 1–42. [Google Scholar] [CrossRef]
  19. Vietoris, L. Über die Homologiegruppen der Vereinigung zweier Komplexe. Mon. Für Math. Und Phys. 1930, 37, 159–162. [Google Scholar] [CrossRef]
  20. Jordan, C. Cours D’analyse de l’École Polytechnique; Gauthier-Villars: Paris, France, 1893. [Google Scholar]
  21. Thomassen, C. The Jordan-Schönflies theorem and the classification of surfaces. Am. Math. Mon. 1992, 99, 116–130. [Google Scholar]
  22. Fulton, W. Algebraic Topology: A First Course; Graduate Texts in Mathematics; Springer: New York, NY, USA, 1995. [Google Scholar]
  23. Hatcher, A. Algebraic Topology; Cambridge University Press: Cambridge, UK, 2005. [Google Scholar]
  24. Dawson, R.J.M. Homology of weighted simplicial complexes. Cah. Topol. Géométrie Différentielle Catégoriques 1990, 31, 229–243. [Google Scholar]
  25. Ren, S.; Wu, C.; Wu, J. Weighted persistent homology. Rocky Mt. J. Math. 2018, 48, 2661–2687. [Google Scholar] [CrossRef] [Green Version]
Figure 1. A τ -structure.
Figure 1. A τ -structure.
Mathematics 09 01749 g001
Figure 2. Any 3-simplex contains a free mixed 1-face. The loops s 1 , s 2 , t 1 , t 2 have the covering arcs ( i 0 , i 3 ) , ( i 1 , i 2 ) , ( j 0 , j 3 ) and ( j 1 , j 2 ) , respectively. In view of the ϕ -arc ( i 1 , j 1 ) , the covering arcs form a 3-simplex σ = { s 1 , s 2 , t 1 , t 2 } . If the mixed edges { s 1 , t 2 } and { s 2 , t 1 } were not σ -free, then there would exist two ϕ -arcs ( i , j ) and ( i , j ) , which are crossing.
Figure 2. Any 3-simplex contains a free mixed 1-face. The loops s 1 , s 2 , t 1 , t 2 have the covering arcs ( i 0 , i 3 ) , ( i 1 , i 2 ) , ( j 0 , j 3 ) and ( j 1 , j 2 ) , respectively. In view of the ϕ -arc ( i 1 , j 1 ) , the covering arcs form a 3-simplex σ = { s 1 , s 2 , t 1 , t 2 } . If the mixed edges { s 1 , t 2 } and { s 2 , t 1 } were not σ -free, then there would exist two ϕ -arcs ( i , j ) and ( i , j ) , which are crossing.
Mathematics 09 01749 g002
Figure 3. The σ 1 -butterfly removal. The simplicial collapse of the butterfly ( ω , Δ 1 , Δ 1 ) corresponds to splicing vertices in the τ -structure. Here, σ 1 = { s 1 , s 2 , t 1 , t 2 } , Δ 1 = { s 1 , t 1 , t 2 } , Δ 1 = { s 1 , s 2 , t 2 } and ω = { s 1 , t 2 } . The vertex i is split into two consecutive vertices i 1 , i 2 and j is split into two consecutive vertices j 1 , j 2 . The ϕ -arc ϕ ( i ) = j is replaced with two new ϕ -arcs ϕ 1 ( i 1 ) = j 1 and ϕ 1 ( i 2 ) = j 2 . Depending on the situation, the arcs are connected in a manner such that the loop s 1 and the loop t 2 do not intersect.
Figure 3. The σ 1 -butterfly removal. The simplicial collapse of the butterfly ( ω , Δ 1 , Δ 1 ) corresponds to splicing vertices in the τ -structure. Here, σ 1 = { s 1 , s 2 , t 1 , t 2 } , Δ 1 = { s 1 , t 1 , t 2 } , Δ 1 = { s 1 , s 2 , t 2 } and ω = { s 1 , t 2 } . The vertex i is split into two consecutive vertices i 1 , i 2 and j is split into two consecutive vertices j 1 , j 2 . The ϕ -arc ϕ ( i ) = j is replaced with two new ϕ -arcs ϕ 1 ( i 1 ) = j 1 and ϕ 1 ( i 2 ) = j 2 . Depending on the situation, the arcs are connected in a manner such that the loop s 1 and the loop t 2 do not intersect.
Mathematics 09 01749 g003
Figure 4. Simplicial collapse. LHS: A τ -structure I in which each ϕ -arc is incident to at most one arc. RHS: X, the complex of I and X ˜ . The underlying sequence of elementary collapses that generates X ˜ is given by ( { 1 , 5 , 11 } , { 1 , 11 } ) , ( { 5 , 9 , 11 } , { 9 , 11 } ) , ( { 1 , 5 , 9 } , { 1 , 5 } ) , ( { 1 , 7 , 9 } , { 1 , 9 } ) , ( { 2 , 7 , 9 } , { 7 , 9 } ) and ( { 2 , 4 , 9 } , { 2 , 9 } ) . The distinguished empty tetrahedron (darker gray level and dashed lines) cannot be eliminated by simplicial collapses.
Figure 4. Simplicial collapse. LHS: A τ -structure I in which each ϕ -arc is incident to at most one arc. RHS: X, the complex of I and X ˜ . The underlying sequence of elementary collapses that generates X ˜ is given by ( { 1 , 5 , 11 } , { 1 , 11 } ) , ( { 5 , 9 , 11 } , { 9 , 11 } ) , ( { 1 , 5 , 9 } , { 1 , 5 } ) , ( { 1 , 7 , 9 } , { 1 , 9 } ) , ( { 2 , 7 , 9 } , { 7 , 9 } ) and ( { 2 , 4 , 9 } , { 2 , 9 } ) . The distinguished empty tetrahedron (darker gray level and dashed lines) cannot be eliminated by simplicial collapses.
Mathematics 09 01749 g004
Figure 5. X ˜ is not unique. Performing the following sequence of elementary collapses on the complex X and is displayed in Figure 4; ( { 2 , 4 , 9 } , { 4 , 9 } ) , ( { 2 , 7 , 9 } , { 2 , 9 } ) , ( { 1 , 7 , 9 } , { 7 , 9 } ) , ( { 1 , 5 , 9 } , { 1 , 9 } ) , ( { 1 , 5 , 11 } , { 1 , 11 } ) and ( { 5 , 9 , 11 } , { 5 , 9 } ) produces a different X ˜ .
Figure 5. X ˜ is not unique. Performing the following sequence of elementary collapses on the complex X and is displayed in Figure 4; ( { 2 , 4 , 9 } , { 4 , 9 } ) , ( { 2 , 7 , 9 } , { 2 , 9 } ) , ( { 1 , 7 , 9 } , { 7 , 9 } ) , ( { 1 , 5 , 9 } , { 1 , 9 } ) , ( { 1 , 5 , 11 } , { 1 , 11 } ) and ( { 5 , 9 , 11 } , { 5 , 9 } ) produces a different X ˜ .
Mathematics 09 01749 g005
Figure 6. Topological stratification. X ˜ stratifies into a sub-complex X ˜ 2 induced by all 2-simplices and K 1 induced by the remaining 1-simplices.
Figure 6. Topological stratification. X ˜ stratifies into a sub-complex X ˜ 2 induced by all 2-simplices and K 1 induced by the remaining 1-simplices.
Mathematics 09 01749 g006
Figure 7. Components. LHS: A τ -structure I with labeled loops. RHS: The complex K ( I ) of I embedded in the Euclidean space R 3 . Note that K ( I ) is identical to X ˜ . The 2-simplices in K ( I ) are partitioned into five components. The insert (RHS) depicts the component in green, which is an empty tetrahedron.
Figure 7. Components. LHS: A τ -structure I with labeled loops. RHS: The complex K ( I ) of I embedded in the Euclidean space R 3 . Note that K ( I ) is identical to X ˜ . The 2-simplices in K ( I ) are partitioned into five components. The insert (RHS) depicts the component in green, which is an empty tetrahedron.
Mathematics 09 01749 g007
Figure 8. The planarity of a τ -structure. Triangles Δ and Δ 1 share the mixed edge, ω = { s , t } and correspond to the ϕ -arcs ( i , j ) and ( i 1 , j 1 ) . If an S-arc ( i 2 , i 2 ) has its endpoints contained in ( i , i 1 ) S and [ 1 , i ) S ( i 1 , n ] S , then i , i 1 belong to distinct S-loops, which is a contradiction.
Figure 8. The planarity of a τ -structure. Triangles Δ and Δ 1 share the mixed edge, ω = { s , t } and correspond to the ϕ -arcs ( i , j ) and ( i 1 , j 1 ) . If an S-arc ( i 2 , i 2 ) has its endpoints contained in ( i , i 1 ) S and [ 1 , i ) S ( i 1 , n ] S , then i , i 1 belong to distinct S-loops, which is a contradiction.
Mathematics 09 01749 g008
Figure 9. The fact Δ 0 Δ k = ω organizes C-couples into two subsets A 1 ( i 0 , i k ) S ( j 0 , j k ) T and A 2 [ 1 , i 0 ) S ( i k , n ] S [ 1 , j 0 ) T ( j k , m ] T , marked by dashed parallelograms.
Figure 9. The fact Δ 0 Δ k = ω organizes C-couples into two subsets A 1 ( i 0 , i k ) S ( j 0 , j k ) T and A 2 [ 1 , i 0 ) S ( i k , n ] S [ 1 , j 0 ) T ( j k , m ] T , marked by dashed parallelograms.
Mathematics 09 01749 g009
Figure 10. The boundary of D . The trees T 1 and T 2 (blue) represent the two connected components of T D i . The sub-complex D is formed by 2-simplices of D i containing at least one T 1 -vertex. Then the boundary B of D (red) consists of only S-loops.
Figure 10. The boundary of D . The trees T 1 and T 2 (blue) represent the two connected components of T D i . The sub-complex D is formed by 2-simplices of D i containing at least one T 1 -vertex. Then the boundary B of D (red) consists of only S-loops.
Mathematics 09 01749 g010
Figure 11. A couple ( Δ , Δ ) D 1 and ( Δ 0 , Δ 0 ) D 1 that are crossing, where Δ = { s 1 , s 2 , t 1 } , Δ = { s 1 , s 2 , t 2 } , Δ 0 = { t 1 , t 2 , s 1 } and Δ 0 = { t 1 , t 2 , s 2 } .
Figure 11. A couple ( Δ , Δ ) D 1 and ( Δ 0 , Δ 0 ) D 1 that are crossing, where Δ = { s 1 , s 2 , t 1 } , Δ = { s 1 , s 2 , t 2 } , Δ 0 = { t 1 , t 2 , s 1 } and Δ 0 = { t 1 , t 2 , s 2 } .
Mathematics 09 01749 g011
Figure 12. LHS: A τ -structure having an incomplete component (colored in blue and with its loops labeled by numbers and its 2-simplices labeled by triangles). RHS: The complex induced by the incomplete component indicates that it contains two ribbons.
Figure 12. LHS: A τ -structure having an incomplete component (colored in blue and with its loops labeled by numbers and its 2-simplices labeled by triangles). RHS: The complex induced by the incomplete component indicates that it contains two ribbons.
Mathematics 09 01749 g012
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Li, T.J.X.; Reidys, C.M. On the Loop Homology of a Certain Complex of RNA Structures. Mathematics 2021, 9, 1749. https://doi.org/10.3390/math9151749

AMA Style

Li TJX, Reidys CM. On the Loop Homology of a Certain Complex of RNA Structures. Mathematics. 2021; 9(15):1749. https://doi.org/10.3390/math9151749

Chicago/Turabian Style

Li, Thomas J. X., and Christian M. Reidys. 2021. "On the Loop Homology of a Certain Complex of RNA Structures" Mathematics 9, no. 15: 1749. https://doi.org/10.3390/math9151749

APA Style

Li, T. J. X., & Reidys, C. M. (2021). On the Loop Homology of a Certain Complex of RNA Structures. Mathematics, 9(15), 1749. https://doi.org/10.3390/math9151749

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop