Lagrange's theorem on the order of a subgroup
ProvedFamousTheorems.card_subgroup_dvd_cardcombinatoricsmathlib
The order of a subgroup divides the order of the group.
The cosets of partition and each has exactly elements, so .
It is the first structural theorem of group theory and the source of most elementary counting arguments about groups: that the order of an element divides the order of the group, that groups of prime order are cyclic, and — applied to — Euler's and Fermat's theorems in number theory.
Formalization note. Nat.card returns for infinite types, and divisibility by holds
only for , so the statement is the intended one in the finite case and vacuous otherwise.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem card_subgroup_dvd_card : ∀ {α : Type*} [Group α] (s : Subgroup α),
Nat.card s ∣ Nat.card α := by sorry
end FamousTheoremsSource
One of Freek Wiedijk's "100 theorems"; formalized in Mathlib. Proof here reduces to the corresponding Mathlib result.