Documentation

TauCeti.LinearAlgebra.LinearIndependent.MonoidHom

Consequences of Dedekind's independence of characters #

Distinct monoid homomorphisms from a monoid G into a domain M are linearly independent over M; that is Dedekind's theorem, Mathlib's linearIndependent_monoidHom. This file records three consequences of it.

The first is a count. When G is finite, the homomorphisms are linearly independent vectors of the M-module G → M of rank #G, so there are only finitely many of them, and at most #G. Applied to both sides of a pairing between two finite groups that is nondegenerate on each side, it shows that the two groups have the same order; this is how the degree of a Kummer extension is computed.

The second is the two-term consequence that character computations reach for: if a + b = c + d pointwise for monoid homomorphisms a b c d : G →* M, then {a, b} and {c, d} are the same unordered pair. It is the step that turns "the character values of an induced representation depend only on the orbit of the inducing character" into a parametrization by that orbit.

The hypothesis (2 : M) ≠ 0 cannot be dropped: over a field of characteristic two a + a = 0 for every a, so any two homomorphisms a and c whatsoever satisfy a + a = c + c. That degenerate case is exactly the third disjunct of Mathlib's Finsupp.single_add_single_eq_single_add_single, on which the proof runs.

The third is the version for sets: a finite set of homomorphisms is determined by its pointwise sum. This is what makes the trace of a character over its Galois orbit determine the orbit.

Main results #

instance TauCeti.finite_monoidHom (G : Type u_1) (M : Type u_2) [MulOneClass G] [Finite G] [CommRing M] [IsDomain M] :
Finite (G →* M)

A finite monoid has only finitely many homomorphisms into a domain: they are linearly independent in the finite free module G → M.

theorem TauCeti.natCard_monoidHom_le (G : Type u_1) (M : Type u_2) [MulOneClass G] [Finite G] [CommRing M] [IsDomain M] :

Dedekind's bound. A finite monoid G has at most #G homomorphisms into a domain M, since they are linearly independent in the M-module G → M of rank #G.

theorem MonoidHom.eq_and_eq_or_eq_and_eq_of_add_eq_add {G : Type u_1} {M : Type u_2} [MulOneClass G] [CommRing M] [IsDomain M] {a b c d : G →* M} (h2 : 2 ≠ 0) (h : ∀ (g : G), a g + b g = c g + d g) :
a = c ∧ b = d ∨ a = d ∧ b = c

A sum of two monoid homomorphisms into a domain determines the unordered pair of its summands. The four homomorphisms are linearly independent unless they coincide in pairs, so the only relation a + b = c + d can express is a matching of {a, b} with {c, d}.

The hypothesis (2 : M) ≠ 0 rules out the characteristic-two degeneracy a + a = 0 = c + c.

theorem MonoidHom.finset_eq_of_forall_sum_apply_eq {G : Type u_1} {M : Type u_2} [MulOneClass G] [CommRing M] [IsDomain M] {s t : Finset (G →* M)} (h : ∀ (g : G), ∑ a ∈ s, a g = ∑ a ∈ t, a g) :
s = t

A sum of distinct monoid homomorphisms into a domain determines its summands. Two finite sets of homomorphisms with the same pointwise sum are equal, since the homomorphisms are linearly independent.