Documentation

HexPermGroup.Order

structure Hex.PermGroup.Bijection (α β : Type) :

Mutually inverse maps, without a dependency on Mathlib's Equiv.

  • toFun : α → β

    The forward map.

  • invFun : β → α

    The inverse map.

  • left_inv (x : α) : self.invFun (self.toFun x) = x

    Inverting the forward map recovers its input.

  • right_inv (y : β) : self.toFun (self.invFun y) = y

    Applying the forward map after its inverse recovers its input.

Instances For
    Equations
    Instances For
      def Hex.PermGroup.Bijection.trans {α β γ : Type} (f : Bijection α β) (g : Bijection β γ) :
      Bijection α γ
      Equations
      Instances For
        def Hex.PermGroup.Bijection.prod {α β γ δ : Type} (f : Bijection α β) (g : Bijection γ δ) :
        Bijection (α × γ) (β × δ)
        Equations
        Instances For

          Mixed-radix encoding of a pair of finite indices.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Hex.PermGroup.HasOrder {n : Nat} (S : Array (Perm n)) (N : Nat) :

            The subgroup generated by S has exactly N elements: its elements admit mutually inverse ranking and unranking maps to Fin N.

            Equations
            Instances For