The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V05. Groups

Mathlib.Algebra.GroupWithZero.Units.Fintype

9 declarations. Mathlib docs · Source

instance UnitsInt.fintype E0 #

Fintype ℤˣ

theorem UnitsInt.univ E0 #

Finset.univ = {1, -1}

theorem Fintype.card_units_int E0 #

Fintype.card ℤˣ = 2

instance instFintypeUnitsOfDecidableEq E0 #

{α : Type u_1} → [inst : Monoid α] → [Fintype α] → [DecidableEq α] → Fintype αˣ

instance instFiniteUnits E0 #

∀ {α : Type u_1} [inst : Monoid α] [Finite α], Finite αˣ

theorem Nat.card_units E1 #

∀ (α : Type u_1) [inst : GroupWithZero α], Nat.card αˣ = Nat.card α - 1

theorem Nat.card_eq_card_units_add_one E1 #

∀ (α : Type u_1) [inst : GroupWithZero α] [Finite α], Nat.card α = Nat.card αˣ + 1

theorem Fintype.card_units E3 #

∀ (α : Type u_1) [inst : GroupWithZero α] [inst_1 : Fintype α] [inst_2 : DecidableEq α],
  Fintype.card αˣ = Fintype.card α - 1

theorem Fintype.card_eq_card_units_add_one E1 #

∀ (α : Type u_1) [inst : GroupWithZero α] [inst_1 : Fintype α] [inst_2 : DecidableEq α],
  Fintype.card α = Fintype.card αˣ + 1