The areas / V04. Order and lattices
Mathlib.Order.Setoid.Partition.Card
1 declarations. Mathlib docs · Source
Cardinality of parts of partitions
Setoid.IsPartition.ncard_eq_finsumon an ambient finite type, the cardinal of a set is the sum of the cardinalities of its trace on the parts of the partition
theorem Setoid.IsPartition.ncard_eq_finsum E1 #
∀ {α : Type u_1} {P : Set (Set α)},
Setoid.IsPartition P →
∀ (s : Set α), autoParam s.Finite Setoid.IsPartition.ncard_eq_finsum._auto_1 → s.ncard = ∑ᶠ (t : ↑P), (s ∩ ↑t).ncard
Given a partition of the ambient type, the cardinal of a finite set
is the finsum of the cardinalities of its traces on the parts of the partition