Documentation

HexPermGroupTheory.Perm.Basic

def Hex.Perm.toEquiv {n : ℕ} (p : Perm n) :
Fin n ≃ Fin n

The equivalence of Fin n given by a forward permutation: p.get one way, p.inv.get the other.

Equations
Instances For
    @[simp]
    theorem Hex.Perm.toEquiv_apply {n : ℕ} (p : Perm n) (i : Fin n) :
    p.toEquiv i = p.get i
    def Hex.Perm.ofEquiv {n : ℕ} (e : Fin n ≃ Fin n) :

    The forward permutation with the same action as an equivalence of Fin n.

    Equations
    Instances For
      @[simp]
      theorem Hex.Perm.get_ofEquiv {n : ℕ} (e : Fin n ≃ Fin n) (i : Fin n) :
      (ofEquiv e).get i = e i
      @[simp]
      theorem Hex.Perm.ofEquiv_toEquiv {n : ℕ} (p : Perm n) :
      @[simp]
      theorem Hex.Perm.toEquiv_ofEquiv {n : ℕ} (e : Equiv.Perm (Fin n)) :
      @[simp]
      theorem Hex.Perm.toEquiv_id {n : ℕ} :
      @[simp]
      theorem Hex.Perm.toEquiv_comp {n : ℕ} (p q : Perm n) :
      @[simp]
      @[simp]
      @[simp]
      theorem Hex.Perm.ofEquiv_mul {n : ℕ} (p q : Equiv.Perm (Fin n)) :
      ofEquiv (p * q) = (ofEquiv p).comp (ofEquiv q)
      @[simp]

      A Mathlib permutation from literal images, with the Hex identity fallback.

      Equations
      Instances For