Documentation

PlanarRooks.Finsupp

Finite support functions #

This module is almost exactly the same as Mathlib.Data.Finsupp.Defs but uses Fintype instead of Finite to make certain equivalences computable.

def equivFunOnFinite {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] :
(α →₀ M) (αM)
Equations
  • equivFunOnFinite = { toFun := DFunLike.coe, invFun := fun (f : αM) => { support := {x : α | f x 0}, toFun := f, mem_support_toFun := }, left_inv := , right_inv := }
Instances For
    @[simp]
    theorem equivFunOnFinite_symm_apply_support {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] (f : αM) :
    (equivFunOnFinite.symm f).support = {x : α | f x 0}
    @[simp]
    theorem equivFunOnFinite_apply {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] (a✝ : α →₀ M) (a : α) :
    equivFunOnFinite a✝ a = a✝ a
    @[simp]
    theorem equivFunOnFinite_symm_apply_apply {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] (f : αM) (a✝ : α) :
    (equivFunOnFinite.symm f) a✝ = f a✝
    @[simp]
    theorem equivFunOnFinite_symm_coe {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] (f : α →₀ M) :
    @[simp]
    theorem coe_equivFunOnFinite_symm {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] (f : αM) :
    @[simp]
    theorem equivFunOnFinite_single {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] [DecidableEq α] (x : α) (m : M) :
    @[simp]
    theorem equivFunOnFinite_symm_single {α : Type u_1} {M : Type u_2} [Fintype α] [DecidableEq M] [Zero M] [DecidableEq α] (x : α) (m : M) :