A convex gradient · interactive companion
A cell, in pictures.
One permutation gives a circle of strands, a necklace of sets, and a graph whose edges fit together into cycles. Change the cell and follow the same labels through all three.
A window lists σ(1), …, σ(n), using each label from 1 to n once. A fixed label is a coloop: its strand makes a full turn. Start with the running example, or enter any window on 1–9 labels.
The boundary and its crossing graph
Each strand joins a filled entry to an open exit on the circle of 5n positions; positions increase clockwise from the top. Two strands give an arrow p → q when their endpoints alternate in the order entry p, entry q, exit p, exit q, the crossing convention of §2 used in Proposition 10. Read the crossing definition.
Read one pair of strands
Follow the four endpoints clockwise to distinguish a crossing, an aligned pair, and the two misalignment classes Mis↑↓ and Mis↓↑. These are the pair classes in Galashin’s Figure 5, used in equation (22) of the paper and in the proof of Proposition 10; the chosen labels are ordered p < q. Read the pair predicates.
The same necklace, as sets and arcs
Row Ir records a set of labels; the next row removes r and inserts σ(r), returning to I1 after the last step. Equation (21), used in Proposition 10, says that label x belongs precisely to the rows on the half-open arc (σ−1(x), x], with a coloop taking the entire circle. Read the necklace recursion.
A crossing becomes a column
Each crossing gets one column index j, ordered first by its tail and then by its head. The dot marks the geometric crossing of its two strands; this same order identifies the columns of M and B in Proposition 10. Read the column map.
Row differences turn exponents into incidence
M records the necklace exponents, D subtracts each row from the next, and P moves row σ−1(x) into row x. Proposition 10 is PDM = B: the result is −1 at each edge’s tail and +1 at its head, checked below at every entry. Read the row-difference identity.
Every edge, once around a cycle
Proposition 15 partitions the crossing edges into simple cycles of winding one: the clockwise label advances sum to n in each cycle. One such partition is drawn here, with every edge used once; its closed cycles also display the equal in- and out-degrees of Proposition 16. Read the partition statement and degree balance.
Angles on the running example
For σ = (3,5,1,2,4), place label j at the circle angle 2θj, fixing θ1 = 0. Equations (7)–(8) define the lifted gap δe = θq − θp + π[q < p] and admissibility: every gap lies between 0 and π. Read the cycle gap sum.
Negative terms, nonnegative cycle sums
Along a direction h in radians, each edge contributes cot(δe)(hq − hp)2 to the Hessian’s quadratic form hTHh. Some terms can be negative; on the admissible chamber, Lemma 25 makes each winding-one cycle sum nonnegative, yielding Proposition 26. Read the Hessian statement.
Find the angles again
Set y = G(θ), where G = B log sin δ, and start from θ/π = (0, 0.2, 0.4, 0.6, 0.8) on the same slice θ1 = 0. Corollary 31 characterizes the inverse by a unique minimizer; these twelve damped Newton steps illustrate the recovery numerically, with no claim of guaranteed convergence. Read the variational inverse.