Documentation

HexGraphIso.Nauty.Spec.FiniteRenaming

theorem Hex.GraphIso.Nauty.Renaming.surjective {n : Nat} (σ : Renaming n) (v : Fin n) :
∃ (i : Fin n), σ.toFun ↑i = ↑v

Restricting an injective, range-preserving renaming to the finite vertex range gives a surjection of that range.

The finite permutation underlying a vertex renaming. This conversion is used in proofs connecting shared stabilizers to native graph adjacency.

Equations
Instances For
    @[simp]
    theorem Hex.GraphIso.Nauty.Renaming.get_toPerm {n : Nat} (σ : Renaming n) (v : Fin n) :
    ↑(σ.toPerm.get v) = σ.toFun ↑v
    theorem Hex.GraphIso.Nauty.Renaming.map_toPerm {n : Nat} (σ : Renaming n) (lab : Array Nat) (h : ∀ (i : Nat), i < lab.size → lab[i]! < n) :

    On valid label entries, the standard extension of the finite permutation is exactly the original renaming.