How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Generalised associativity: in a monoid the product of a finite list does not depend on the bracketing, and in a commutative monoid it does not depend on the order of the factors either
Statement
Let be a monoid and let , with finite products as in The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity.
-
Splitting law. For all ,
-
Regrouping law (bracketing does not matter). Let satisfy and for every , and for each let be the unique natural number with . Put , the product of the -th block of consecutive factors. Then for every ,
In words: cut the list into consecutive blocks in any way whatever, multiply out each block, and multiply the results in order; the answer is the product of the whole list.
-
Commutative case (order does not matter). Suppose in addition that is commutative. Let and let be a permutation of the von Neumann natural (The symmetric group : the bijections of a set under composition). Let be any family with for every . Then
Facts & Assumptions
Given: A monoid , a family , and the products of The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity, which satisfy and for every family , and whose value depends only on .
Induction on (The principle of mathematical induction).
The monoid laws: is associative and is a two-sided identity (Semigroup and monoid).
Addition on : and , so in particular (Addition of natural numbers); addition is commutative and associative (Addition is commutative, Addition is associative) and cancellative (Addition is cancellative).
Order on : means for some , and means with (Order on the natural numbers); and (Order is compatible with addition); exactly one of , , holds (Trichotomy of the order on ); (Discreteness: is the immediate successor); and every is a successor (Every nonzero natural number is a successor).
On the order is membership: , so ; and ; and (On the order is membership: , The natural numbers (von Neumann)).
A permutation of is a bijection ; bijections are injective and surjective, and composites of injections are injective (The symmetric group : the bijections of a set under composition, Injection, surjection, bijection).
Proof
Splitting law, base : the left side is , and the right side is ; so the two agree, for every .
Splitting law, inductive hypothesis: fix and assume for every and every family .
Write , a family , so that and .
In claim 2 the natural exists because , and it is unique by cancellation, so is well defined for every and is a family.
Regrouping law, base : the left side is and the right side is .
Regrouping law, inductive hypothesis: assume for this .
Commutative case, base : both products are empty, hence both equal .
Commutative case, inductive hypothesis: fix and assume that for every family , every and every family with for , one has .
Successor step, the data. Let and let satisfy for every . Put , so , that is , and let be the natural with ; then .
The skip map. Define by when and when ; the two clauses are exhaustive and mutually exclusive by trichotomy, so is a function. It is injective: two arguments below with equal images are equal; two arguments at least have equal images only if their successors agree, hence only if they agree; and if then .
Splitting law, successor step: , so ; applying the hypothesis and then associativity, this equals , which is the claim at .
maps into , and onto it. If then and . If then with , so , and gives by compatibility of the order with adding . Conversely let with . If then , so and . If then , so for some ; from we get , and from we get , so with .
By induction the splitting law holds for all ; this is claim 1.
The reduced permutation. Set restricted to . By step 2.2 it maps into , and since is a bijection of with , that image set is ; the same step gives surjectivity onto it, and is injective as a composite of injections. So .
Regrouping law, successor step: by the hypothesis, and the splitting law with and turns the right-hand side into . By induction claim 2 holds for every .
Splitting the permuted product. By step 1.9 and the splitting law, ; and since , a second application of the splitting law to the family gives .
Recognising the shorter permuted product. Let . For one has , and for one has ; so the splitting law at , gives . Moreover for every , by step 2.2 and step 3.2.
Moving the removed factor to the end. , and is commutative, so , using commutativity to exchange with the block to its right and associativity to regroup.
Applying the hypothesis. The family satisfies for with , so the inductive hypothesis gives ; combining with steps 4.2, 5.1 and 4.3, , which is the claim at .
By induction claim 3 holds for every ; with claims 1 and 2 already established, the theorem is proved.
Remarks
-
What "does not depend on the bracketing" means here, exactly. The library introduces no formal syntax of bracketed expressions, so the claim is made in the equivalent working form of claim 2: any way of cutting the list into consecutive blocks, multiplying each block out, and multiplying the block values in order returns the same element. Every bracketing of is obtained by iterating that cut, so claim 2 is what is used whenever one drops brackets in a long product.
-
The order of the factors is a separate question from the bracketing. Claim 2 holds in any monoid and never moves a factor past another; claim 3 does move factors, and is false without commutativity. In the two transpositions and already give ( is a group under composition, and it is non-abelian whenever has at least three distinct elements).
-
The empty product carries the induction. Both inductions start at with the value ; contains , so this is a real base case and not a degenerate convention.
Depends on
The product of a finite list in a monoid, by recursion, with the empty product () equal to the identity
Semigroup and monoid
The principle of mathematical induction
The symmetric group : the bijections of a set under composition
The natural numbers (von Neumann)
Order on the natural numbers
Addition of natural numbers
Injection, surjection, bijection
Addition is commutative
Addition is associative
Addition is cancellative
Order is compatible with addition
On the order is membership:
Discreteness: is the immediate successor
Every nonzero natural number is a successor
Trichotomy of the order on