Structured proof · Unit 148
lemma Filling.tsum_le_of_colouring
What it saysFor a type \alpha, a finite type \iota, a set A\subseteq\alpha (implicit), an additive group \beta,f:\alpha\to\beta^{\iota}, subgroups K,K' of \beta (implicit) with [K':K\cap K']=
relIndex(K,K')\ne0 (k), f(a)_i\in K' for a\in A and all i (h), weights w and x\in[0,\infty]: if every nonempty B\subseteq A whose elements have f(a)_i-f(b)_i\in K for all a,b\in B and i has \sum_B w\le x (the premise), then \sum_A w\le relIndex(K,K')^{|\iota|}\cdot x.The argument in briefColour a\in A by the classes of f(a)_i in K'/(K\cap K').
K'/(K\cap K') is finite (its index is nonzero).
Apply
tsum_le_of_encard_range_lewith the colouring a\mapsto (class of f(a)_i){}_i \in(K'/(K\cap K'))^{\iota}; the number of colours is at most the cardinality of this finite set.Uses
Filling.unit 148,tsum_le_of_encard_range_le encard_le_cardThat cardinality is
relIndex(K,K')^{|\iota|}, and equal colours mean f(a)_i-f(b)_i\in K for every i.Uses
funext_iff,QuotientAddGroup.eq_iff_sub_mem