Phases of Muoncompanion
Section SD · Volatility: same-time and temporal
Proved in Lean
Lemma SD.17 (Encoding of retained pairings)
For \(a_1,a_2\ge0\) there is a bijection between the retained pairings of the word \(\mathsf W_{a_1,a_2}\) in Definition SD.4 and \(\mathcal T_{a_1,a_2}\). Under it the vertex classes are the fibres of the contour \(c\) on \(\{0,\dots,2k-1\}\): the polygon vertex \(\mathsf e_r\) lies in the class of \(c(2r)\) and \(\mathsf l_r\) in the class of \(c(2r-1)\). Consequently, for the class \(V\) of a tree vertex \(x\): \(p_V=\deg x\) if \(x\) is external; \(S_V=\{r:c(2r-1)=x\}\) if \(x\) is latent, the labels \(l_r\) being the corner labels; \(\mathsf e_0\in V\) if and only if \(x\) is the root; and \(\mathsf e_{2a_1+1}\in V\) if and only if \(x\) is the \(G\)-vertex.
Proof.
From pairings to trees. Let \((\pi,\pi')\) be retained, with quotient map \(\phi\) and quotient \(T\). Since \(T\) is connected with \(k\) edges and \(k+1\) vertices, it is a tree. Then \(W=(\phi(0),\dots,\phi(2k))\) is a closed walk in \(T\): each polygon step is mapped to the quotient edge of its matched pair, and every quotient edge is the image of exactly two steps. By Lemma SD.16, \(W\) is the contour of \(T\) rooted at \(\phi(0)\) with children ordered by first visits. The classes are type-homogeneous, since matched \(z\)-edges identify output vertices with output vertices and latent vertices with latent vertices, and likewise for \(w\)-edges; this types \(T\), with root of type \(\mathrm o\). At a latent visit \(W_{2r-1}\) the walk arrives along step \(2r-1\) and leaves along step \(2r\), whose external endpoints \(\mathsf e_{r-1},\mathsf e_r\) have opposite types. So at every latent vertex consecutive corners pass between neighbours of opposite types, which in contour order is the cyclic alternation required. Thus \(T\in\mathcal T_{a_1,a_2}\).
From trees to pairings. Let \(T\in\mathcal T_{a_1,a_2}\) have contour \(c\), and pair two polygon steps if and only if they traverse the same tree edge. The external endpoint of step \(t\) is at the even one of the positions \(t-1,t\). It has type \(\mathrm o\) in \(T\) exactly when that position is divisible by \(4\), which is exactly when the polygon edge is a \(z\)-edge. So paired steps are of the same kind, and the pairing is a pair \((\pi,\pi')\). Paired steps traverse their edge in opposite directions, so the identifications made by the pairing only identify positions with equal \(c\)-values. Hence \(c\) factors through the quotient. The quotient is connected with \(k\) edges, so it has at most \(k+1\) classes, and it maps onto the \(k+1\) vertices of \(T\). Thus it has exactly \(k+1\) classes, the pairing is retained, and its classes are the fibres of \(c\).
Bijection and class data. In both directions the matched pairs are the pairs of steps over the same edge, and an ordered tree is determined by its contour, so the two maps are mutually inverse. An external vertex \(x\) is visited at exactly \(\deg x\) even times in \(\{0,\dots,2k-1\}\): a non-root vertex with \(m\) children has \(m+1=\deg x\) visits, and the root with \(m=\deg x\) children has \(m+1\) visits, one of which is the final time \(2k\). The remaining assertions are the definitions of the corner labels and of the \(G\)-vertex.

Uses

Used by

Lean

Proved in Lean
Muon.Volatility.lem_app_vol_closed_encoding_i
Muon.Volatility.lem_app_vol_closed_encoding_ii
Muon.Volatility.TypedOrdTree
Muon.Volatility.TypedTrees
Muon.Volatility.VType
Muon.Volatility.CyclicAlt
Muon.Volatility.treePos
Muon.Volatility.ClassFibreMap
Muon.Volatility.PlaneTree.childCount
Muon.Volatility.PlaneTree.degAt