Documentation

CslibFrontier.Computability.Complexity.Problems.Graph.RotationSystem.PermutationCycles

Listed cycles of a finite permutation #

The edge indexed by i joins i to f i. The actual two-incidence vertex rotation and its two opposite face directions retain singleton loops and parallel positions. These graphs provide finite Boolean face potentials through the existing incidence lifting theorem; they are auxiliary listed graphs, not a replacement CSP or plane-map model.

One actual listed edge from each index to its image under the finite permutation.

Instances For

    Edge positions are exactly the original permutation indices.

    Instances For

      Original index/end coordinates on the actual graph.

      Instances For
        @[simp]

        The first end has name i, the second name f i, including fixed-point loops.

        @[simp]

        Reversal keeps its original edge position.

        Index a vertex's outgoing and incoming incidences, in that order.

        Instances For

          Every listed vertex has exactly the two indexed incidences of its permutation cycle.

          Instances For

            Exact directed vertex splice, in the original edge/end coordinates.

            The two face directions follow f and its inverse separately.

            All endpoints are actual declared permutation indices.

            Each permutation-cycle component has equally many vertices and indexed edges, and its two face directions are distinct. The universal matrix Euler bound supplies equality. Fixed points produce ordinary sphere loops; the empty permutation graph has no components.

            The complete face classes are the two oriented copies of the original permutation orbits, including fixed points.

            theorem Cslib.Complexity.Graph.RotationSystem.exists_potential_of_cycleSum_zero {n : ℕ} (f : Equiv.Perm (Fin n)) (x : Fin n → Bool) (h : ∀ (i : Fin n), (∑ j : Fin n, if f.SameCycle i j then x j else 0) = 0) :
            ∃ (p : Fin n → Bool), ∀ (i : Fin n), x i = (p i ^^ p (f i))

            A Boolean labeling with zero sum on every full finite permutation orbit is a difference of a Boolean potential at consecutive points. The proof constructs actual listed cycle graphs and discharges their numerical genus internally before invoking existing incidence lifting.