(a) four-cycle packet identity
   max deviation 1.790180836524724e-15
   S M S = (3, 2, 1, 0) (should be (a j)(b i)), M S = (3, 2, 0, 1) , S M = (2, 3, 1, 0)
(b) leaf lemma in every irreducible representation of S_3
   min eigenvalue / (p+q) over 20000 trials: -2.6491333290754837e-15
   det(M) - u^2(ell - x) = 0
   v^T adj(M) v - x = 0
   (1,1) M (1,1)^T - x = 0
(c) two-edge exchange inequality
   min eigenvalue: -3.950832716537178e-16
(d) global estimate |V+h|^2 - sum d_i >= 0
   min slack over 100000 random boundary instances: 2.4448604165625488e-05
   min slack found by optimisation: 6.612866268535998e-32
(e) cycle packet identity, odd and even lengths
   k=5: SM is the oriented k-cycle: True;  S M S^-1 = (0, 2, 1, 4, 3)
   k=6: SM is the oriented k-cycle: True;  S M S^-1 = (5, 2, 1, 4, 3, 0)
   k=7: SM is the oriented k-cycle: True;  S M S^-1 = (0, 2, 1, 4, 3, 6, 5)
   k=8: SM is the oriented k-cycle: True;  S M S^-1 = (7, 2, 1, 4, 3, 6, 5, 0)
