Documentation

LeanPool.LeanModularForms.Modularforms.Equivs

Equivs #

Negation as an equivalence ℤ ≃ ℤ.

Equations
Instances For

    The successor map as an equivalence ℤ ≃ ℤ.

    Equations
    Instances For
      def swap {α : Type u_1} :
      (Fin 2α)Fin 2α

      Swaps the two entries of a length-2 vector.

      Equations
      Instances For
        @[simp]
        theorem swap_apply {α : Type u_1} (b : Fin 2α) :
        swap b = ![b 1, b 0]
        theorem swap_involutive {α : Type u_1} (b : Fin 2α) :
        swap (swap b) = b
        def swapEquiv {α : Type u_1} :
        (Fin 2α) (Fin 2α)

        Swapping the two entries of a length-2 vector as an equivalence.

        Equations
        Instances For