M02 — Weighted partition sums
ProvedVathekProof.M02_tile_sum_reindexA finite sum over the occurrence set equals the iterated sum over any valid tile partition , for summands valued in any normed commutative group (scalars included as the case ):
Empty tiles contribute nothing and uneven final tiles do not matter — nobody renormalizes by tile size. The reduction is computed for the whole logical update, never per tile; the per-tile-means mutant (tile values and have global mean but mean-of-means ) changes the objective and is excluded by this statement, not by an extra hypothesis.
import Definitions.Def_VathekFrame import Definitions.Def_VathekState import Definitions.Def_VathekAdamW import Definitions.Def_VathekWitness
namespace VathekProof
/-- **M02 — Weighted partition sums.** A finite weighted sum over the occurrence set
equals the iterated sum over any valid tile partition, for scalar or vector summands:
the reduction is computed for the whole logical update, never per tile. Empty tiles
and uneven final tiles contribute nothing and nobody renormalizes by tile size. -/
theorem M02_tile_sum_reindex {ι : Type*} [DecidableEq ι] {I : Finset ι}
{ℬ : List (Finset ι)} (h : IsTilePartition I ℬ)
(E : Type*) [NormedAddCommGroup E] (g : ι → E) :
∑ i ∈ I, g i = (ℬ.map (fun B => ∑ i ∈ B, g i)).sum := by sorry
end VathekProofRead-back
What the Lean code literally says, in plain math · glm-5.3 (independent auditor subagent)
{"text": "{\n "data": "Theorem M02_tile_sum_reindex. Let be an arbitrary type on which equality of elements is decidable; let be a finite set; let be a finite list of finite subsets of (the tiles); let be a type equipped with the structure of a normed additive commutative group (an abelian group with a norm compatible with addition \u2014 for instance or ); and let be a completely arbitrary function assigning to each index a summand . The hypothesis states that is a valid tile partition of , which by definition (unfolding IsTilePartition) is the conjunction of two conditions:\n\n- Cover: folding the list with the operation of finite-set union, starting from , yields exactly ; equivalently,\n
\nthe union taken without multiplicity.\n- Pairwise disjointness: any two tiles occupying different positions in the list are disjoint, i.e. for all positions .\n\nUnder this hypothesis, the conclusion is the exact equality (not an inequality) of elements of \n\n
\n\nThe left-hand side is the finite sum of over the occurrence set . The right-hand side is an ordered sum over the list of tiles: the list is first mapped entrywise to the list of per-tile sums , and that list of elements of is then summed by iterated group addition in list order, starting from the group zero (an empty list of tiles sums to ). Because addition in is commutative, the value of this list sum does not depend on the order or position of the tiles, but the right-hand side is literally the list-indexed iterated sum, so tiles are counted with their multiplicity as list entries.\n\nEdge cases and fine print silently included by the quantifiers:\n\n- Empty occurrence set, : both sides are , and the hypothesis is still satisfiable \u2014 e.g. by the empty list , or by any list consisting only of empty tiles.\n- Empty tiles: a tile may appear anywhere in , several times included; it contributes to the right-hand side, i.e. nothing.\n- Repeated tiles: the same nonempty tile may not occur twice \u2014 a finite set is disjoint from itself only when it is empty, so is admissible whereas with makes the hypothesis false.\n- Uneven tile sizes: nothing in the statement refers to tile cardinality; there is no renormalization by the number of tiles or by the size of any tile on either side.\n- Non-vacuity: the hypothesis is always satisfiable \u2014 for every the one-tile list satisfies both conjuncts (the union is , and disjointness over a single position is trivial), and for that choice the statement reads .\n\nRole of the remaining assumptions: decidable equality on is what makes finite-set union and disjointness (hence the hypothesis itself) available as decidable operations on subsets of ; the normed-additive-commutative-group structure on supplies, in particular, the abelian addition and zero under which both sums are formed \u2014 the norm itself, and any scalar multiplication, play no role in the assertion. All parameters , , , , and are universally quantified: the theorem asserts the equality above for every choice of them satisfying the partition hypothesis.",\n "type": "result"\n}", "details": {"resolvedPath": "/home/ajax/.omp/agent/sessions/-math/2026-09-22T19-31-08-510Z_01a0ca99-be5e-7000-93c6-dac7c74cc004/RB-M02.md", "contentType": "text/markdown", "totalLines": 4, "displayContent": {"text": "{\n "data": "Theorem M02_tile_sum_reindex. Let be an arbitrary type on which equality of elements is decidable; let be a finite set; let be a finite list of finite subsets of (the tiles); let be a type equipped with the structure of a normed additive commutative group (an abelian group with a norm compatible with addition \u2014 for instance or ); and let be a completely arbitrary function assigning to each index a summand . The hypothesis states that is a valid tile partition of , which by definition (unfolding IsTilePartition) is the conjunction of two conditions:\n\n- Cover: folding the list with the operation of finite-set union, starting from , yields exactly ; equivalently,\n
\nthe union taken without multiplicity.\n- Pairwise disjointness: any two tiles occupying different positions in the list are disjoint, i.e. for all positions .\n\nUnder this hypothesis, the conclusion is the exact equality (not an inequality) of elements of \n\n
\n\nThe left-hand side is the finite sum of over the occurrence set . The right-hand side is an ordered sum over the list of tiles: the list is first mapped entrywise to the list of per-tile sums , and that list of elements of is then summed by iterated group addition in list order, starting from the group zero (an empty list of tiles sums to ). Because addition in is commutative, the value of this list sum does not depend on the order or position of the tiles, but the right-hand side is literally the list-indexed iterated sum, so tiles are counted with their multiplicity as list entries.\n\nEdge cases and fine print silently included by the quantifiers:\n\n- Empty occurrence set, : both sides are , and the hypothesis is still satisfiable \u2014 e.g. by the empty list , or by any list consisting only of empty tiles.\n- Empty tiles: a tile may appear anywhere in , several times included; it contributes to the right-hand side, i.e. nothing.\n- Repeated tiles: the same nonempty tile may not occur twice \u2014 a finite set is disjoint from itself only when it is empty, so is admissible whereas with makes the hypothesis false.\n- Uneven tile sizes: nothing in the statement refers to tile cardinality; there is no renormalization by the number of tiles or by the size of any tile on either side.\n- Non-vacuity: the hypothesis is always satisfiable \u2014 for every the one-tile list satisfies both conjuncts (the union is , and disjointness over a single position is trivial), and for that choice the statement reads .\n\nRole of the remaining assumptions: decidable equality on is what makes finite-set union and disjointness (hence the hypothesis itself) available as decidable operations on subsets of ; the normed-additive-commutative-group structure on supplies, in particular, the abelian addition and zero under which both sums are formed \u2014 the norm itself, and any scalar multiplication, play no role in the assertion. All parameters , , , , and are universally quantified: the theorem asserts the equality above for every choice of them satisfying the partition hypothesis.",\n "type": "result"\n}", "startLine": 1, "lineNumbers": [1, 2, 3, 4]}, "meta": {"source": {"type": "internal", "value": "agent://RB-M02"}}}}
Confirmed by the mission captain (proposal self-audit).