Documentation

HexPermGroupMathlib.Perm

@[instance_reducible]

Mathlib's group structure uses the computational permutation operations, including the same left-recursive natural power implementation.

Equations
  • One or more equations did not get rendered due to their size.
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]

      Executable permutations and Mathlib permutations, with the same multiplication order and left action on the declared domain.

      Equations
      Instances For
        @[simp]
        @[simp]
        theorem Hex.Perm.ofEquiv_mul {n : ℕ} (p q : Equiv.Perm (Fin n)) :
        ofEquiv (p * q) = (ofEquiv p).comp (ofEquiv q)
        @[simp]
        @[simp]
        theorem Hex.Perm.toEquiv_pow {n : ℕ} (p : Perm n) (k : ℕ) :
        (p.pow k).toEquiv = p.toEquiv ^ k