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 $g_0 g_1 \cdots g_{n-1}$ of a finite list in a monoid, by recursion, with the empty product ($n = 0$) equal to the identity
- Semigroup and monoid
- The principle of mathematical induction
- The symmetric group $\operatorname{Sym}(X)$: the bijections of a set $X$ under composition
- The natural numbers $\mathbb{N}$ (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 $\mathbb{N}$ the order is membership: $m < n \iff m \in n$
- Discreteness: $\sigma(n)$ is the immediate successor
- Every nonzero natural number is a successor
- Trichotomy of the order on $\mathbb{N}$
Used by
- For n≥2, the sum of all n-th roots of unity is zero Corollary
- A finite sum in a commutative monoid indexed by an arbitrary finite set Definition
- For every n ∈ ℕ there are n consecutive composite integers: with N := ∏_j<n(j+2), each of N+2, …, N+n+1 is composite Example
- Finite commutative-monoid sums are invariant under bijective reindexing, split over disjoint unions, and satisfy the finite Fubini rule Lemma
- Finite sums re-indexed along an injection, with a zero term deleted, and concatenated; and the closure properties of linear independence: an independent list is injective and never 0_V, its sublists are independent, a list is independent exactly when it is injective with linearly independent image, and every subset of a linearly independent set is linearly independent Lemma
- For a finite pairwise-coprime list of positive integers, the product divides every common multiple, and each initial product is coprime to every remaining modulus Lemma
- The binomial theorem over the complex field Lemma
- The Cauchy product of two absolutely convergent complex series converges absolutely to the product of their sums Lemma
- Chinese remainder theorem for a finite pairwise-coprime list: simultaneous residues determine one class modulo the product, and the resulting bijection preserves addition and multiplication Theorem
- Euclid's theorem: for every n ∈ ℕ and every list p : n → ℤ of primes there is a prime not among p₀, …, pₙ₋₁; consequently the set of primes is not finite Theorem
- ℍ is a division ring that is not commutative, hence not a field: q⁻¹ = bar q / N(q) for q ≠ 0, while ij = k and ji = -k Theorem
- The fundamental theorem of arithmetic: every integer n ≥ 1 is a product of primes, and the factorisation is unique up to order — if ∏_i<r pᵢ = ∏_j<s qⱼ with every pᵢ and qⱼ prime, then r = s and qᵢ = p_π(i) for some π ∈ Sym(r) Theorem
- Wilson's theorem: for every prime p, (p-1)!≡-1pmod p Theorem
Dependency tree · next 3 levels
Direct dependencies and their dependencies through the next three levels: 45 results over 20 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.
Sources
- Associative property (Wikipedia) (standard reference, not scraped)
- Monoid (Wikipedia) (standard reference, not scraped)
- N. Bourbaki, Algebra I, Ch. I §1.3 (associativity theorem) (standard reference, not scraped)