Documentation

LeanPool.PolyaEnumerationTheorem.ReductionToFin

Reduction to Fin #

If we have a bijection XFin n, then the number of distinct colorings of X with colors in Y under the group action of G on X is equal to the number of distinct colorings of Fin n with colors in Y under the induced group action of G on Fin n. This allows us to use Fin n instead of more complex types when working with numbers of distinct colorings.

@[implicit_reducible]

Given a bijection enum.equiv : XFin enum.card and a group action of G on X, construct a group action of G on Fin enum.card with g • i ↦ enum.equiv (g • (enum.equiv⁻¹ i)).

Equations
  • One or more equations did not get rendered due to their size.

A bijection between the distinct colorings of X with colors in Y under the group action of G on X and the distinct colorings of Fin enum.card with colors in Y under the induced group action of G on Fin enum.card.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[implicit_reducible]

    An instance of Fintype for the distinct colorings of Fin enum.card with colors in Y under the induced group action of G on Fin enum.card. Required by numDistinctColorings_eq_numDistinctColorings_of_Fin.

    Equations
    • One or more equations did not get rendered due to their size.

    The number of distinct colorings of X with colors in Y under the group action of G on X is equal to the number of distinct colorings of Fin enum.card with colors in Y under the induced group action of G on Fin enum.card.