Executable invariants of permutation triples #
The canonical cycle data of a permutation triple is executable using
Equiv.Perm.computedCycleType, whose finite search lists one length at the least element of each
cycle. This file gives executable cycle counts, Euler characteristic, genus, order triple, and
geometry type, each identified with its canonical mathematical counterpart. Fixed points are
included, and the empty multiset has least common multiple one, so the order computation also
applies in degree zero.
The genus computation preserves the canonical truncation on disconnected triples. Its geometric
interpretation still requires connectedness; in particular the empty triple has computed genus
one. The definitions are exposed so ordinary importing modules can reduce them with kernel
decide, as well as evaluating them with #eval.
Computations can use the definitions in this file, while mathematical statements continue to use
PermutationTriple.cycleCounts, PermutationTriple.eulerChar, PermutationTriple.genus,
PermutationTriple.orderTriple, and PermutationTriple.geometryType.
Main declarations #
TauCeti.PermutationTriple.computedCycleCounts: the cardinalities of the three full cycle decompositions.TauCeti.PermutationTriple.computedEulerChar: the Euler characteristic computed from the cardinalities of the three executable cycle decompositions.TauCeti.PermutationTriple.computedGenus: the genus computed fromcomputedEulerChar.TauCeti.PermutationTriple.computedOrderTriple: the least common multiples of the three executable cycle decompositions.TauCeti.PermutationTriple.computedGeometryType: the exact rational trichotomy computed fromcomputedOrderTriple.
References #
- S. K. Lando and A. K. Zvonkin, Graphs on Surfaces and Their Applications, §1.5.
The executable cycle counts agree with the canonical cycle counts.
The Euler characteristic of a permutation triple, computed from its executable cycle decompositions.
Equations
- t.computedEulerChar = ↑(t.σ0.computedCycleType.card + t.σ1.computedCycleType.card + t.σinf.computedCycleType.card) - ↑n
Instances For
The executable Euler characteristic agrees with the canonical Euler characteristic.
The genus of a permutation triple, computed from its executable Euler characteristic. As for
PermutationTriple.genus, this has its geometric meaning when the triple is connected.
Equations
- t.computedGenus = ((2 - t.computedEulerChar) / 2).toNat
Instances For
The executable genus agrees with the canonical genus.
The ordered triple of component orders, computed as the least common multiples of the three executable cycle decompositions.
Equations
Instances For
The executable order triple agrees with the canonical order triple.
The spherical, Euclidean, or hyperbolic geometry type computed from the executable order
triple by exact comparison in ℚ.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The executable geometry type agrees with the canonical geometry type.
Small computations #
The examples include an empty triple and a disconnected triple, whose computed genus records the canonical truncation, and connected Euclidean and hyperbolic triples.