/-
Copyright (c) 2017 Mario Carneiro. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Mario Carneiro
-/
module
public import Mathlib.Algebra.Group.Equiv.Defs
public import Mathlib.Data.Fintype.Defs
/-!
# Finite types with addition/multiplications
This file contains basic results and instances for finite types that have an
addition/multiplication operator.
## Main results
* `Fintype.decidableEqMulEquivFintype`: `MulEquiv`s on finite types have decidable equality
-/
public section
assert_not_exists MonoidWithZero MulAction
open Function
universe u v
variable {α β : Type*}
namespace Fintype
section BundledHoms
@[to_additive]
instance decidableEqMulEquivFintype {α β : Type*} [DecidableEq β] [Fintype α] [Mul α] [Mul β] :
DecidableEq (α ≃* β) :=
fun a b => decidable_of_iff ((a : α → β) = b) (Injective.eq_iff DFunLike.coe_injective)
end BundledHoms
end Fintype
¤ Dauer der Verarbeitung: 0.11 Sekunden
¤
*© Formatika GbR, Deutschland