TheoremBase

The iterated operation along [n] is the last value of a map into X; over a finite set it is the neutral element or an iterated operation along [#A] through a bijection; sums and products in a commutative ring are the instance with + and the multiplication.

Proof

Each result cited is universally quantified over the data in its own statement. No choice is used.

Value rule. If g:B→Cg:B\to C is a map and u∈Bu\in B, then g(u)∈Cg(u)\in C: indeed u∈B=dom⁡gu\in B=\operatorname{dom}g by Functions, Values of a Function, and Functions from One Class to Another §map, so (u,g(u))∈g(u,g(u))\in g by Functions, Values of a Function, and Functions from One Class to Another §value, whence g(u)∈ran⁡gg(u)\in\operatorname{ran}g by Relations, Domain, Range, Inverse and Composition §range and Class Abstraction: the Class of All Sets Satisfying a Predicative Formula §abstraction, and ran⁡g⊆C\operatorname{ran}g\subseteq C by Functions, Values of a Function, and Functions from One Class to Another §map.

Clause iterated. Let n∈Nn\in\mathbb{N} and a:[n]→Xa:[n]\to X. By Iterated Operations: Finite Sums and Finite Products §iterated, ∗k=1nak=s(n)\mathop{\ast}\limits_{k=1}^{n}a_{k}=s(n), where s:[n]→Xs:[n]\to X is the map of Iterating a Binary Operation along a Finite List §existence for ∗\ast and aa, unique by that clause, and n∈[n]n\in[n], as in Iterated Operations: Finite Sums and Finite Products §iterated. Hence ∗k=1nak=s(n)∈X\mathop{\ast}\limits_{k=1}^{n}a_{k}=s(n)\in X by the value rule.

Clause finite. Let ∗\ast be associative and commutative, let AA be a finite set and f:A→Xf:A\to X a map, and let A≠∅A\neq\emptyset or let ∗\ast have a neutral element ee.

If A=∅A=\emptyset, then ∗\ast has a neutral element ee by hypothesis, ∗x∈Af(x)=e\mathop{\ast}\limits_{x\in A}f(x)=e by Sums and Products over a Finite Set and over an Interval §empty, and e∈Xe\in X by Associative and Commutative Binary Operations, and Neutral Elements §neutral.

If A≠∅A\neq\emptyset, let n=#An=\#A be as in The Number of Elements of a Finite Set §cardinality; then n∈Nn\in\mathbb{N} by The Iterated Operation over a Finite Set Does Not Depend on the Enumeration §nonempty, and by The Number of Elements of a Finite Set §cardinality there is a bijection φ\varphi from [n][n] onto AA; fix one. By Injective, Surjective and Bijective Functions between Classes §bijective, φ\varphi is a map φ:[n]→A\varphi:[n]\to A. As f:A→Xf:A\to X is a map, Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §composition shows that the composition f∘φf\circ\varphi is a map f∘φ:[n]→Xf\circ\varphi:[n]\to X with (f∘φ)(k)=f(φ(k))(f\circ\varphi)(k)=f(\varphi(k)) for every k∈[n]k\in[n]; in particular f(φ(k))∈Xf(\varphi(k))\in X for every k∈[n]k\in[n], by the value rule. The map k↦f(φ(k))k\mapsto f(\varphi(k)) on [n][n] of Iterated Operations: Finite Sums and Finite Products §iterated is a function with domain [n][n] and value f(φ(k))f(\varphi(k)) at every k∈[n]k\in[n], and so is f∘φf\circ\varphi, by Functions, Values of a Function, and Functions from One Class to Another §map; hence the two are equal by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §equality. Let a=f∘φa=f\circ\varphi, with ak=a(k)a_{k}=a(k) for k∈[n]k\in[n]. By Sums and Products over a Finite Set and over an Interval §operation and Iterated Operations: Finite Sums and Finite Products §iterated,

∗x∈Af(x)=∗k=1nf(φ(k))=∗k=1nak,\mathop{\ast}\limits_{x\in A}f(x)=\mathop{\ast}\limits_{k=1}^{n}f(\varphi(k))=\mathop{\ast}\limits_{k=1}^{n}a_{k},

which lies in XX by the clause iterated, applied to nn and aa.

Clauses finite-sums and segment-sums. Let AA be a finite set, f:A→Rf:A\to R a map, n∈Nn\in\mathbb{N} and a:[n]→Ra:[n]\to R a map. By the framing of Commutative Rings §ring, RR is a set and ++ and ⋅\cdot are binary operations on RR, and by Commutative Rings, Fields and Ordered Fields: Standard Notation §rings they are associative and commutative with neutral elements 00 and 11. By Commutative Rings, Fields and Ordered Fields: Standard Notation §rings, ∑x∈Af(x)\sum_{x\in A}f(x) and ∏x∈Af(x)\prod_{x\in A}f(x) are the iterated operations over AA of Sums and Products over a Finite Set and over an Interval §operation and Sums and Products over a Finite Set and over an Interval §empty for ∗\ast equal to ++ and to ⋅\cdot, respectively, where by Sums and Products over a Finite Set and over an Interval §subsets, as ++ and ⋅\cdot have neutral elements, the iterated operation over AA of ff is that of the restriction f∣Af|_{A}. Here f∣A=ff|_{A}=f: by Functions, Values of a Function, and Functions from One Class to Another §map, ff is a function with dom⁡f=A\operatorname{dom}f=A, so by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §restriction f∣Af|_{A} is a function with dom⁡(f∣A)=A∩A=A\operatorname{dom}(f|_{A})=A\cap A=A and (f∣A)(u)=f(u)(f|_{A})(u)=f(u) for every u∈Au\in A, and f∣A=ff|_{A}=f by Basic Properties of Functions: Equality, Composition, Identity, Inverse and Restriction §equality. So ∑x∈Af(x)\sum_{x\in A}f(x) and ∏x∈Af(x)\prod_{x\in A}f(x) are the iterated operations over AA of the map f:A→Rf:A\to R itself. By Iterated Operations: Finite Sums and Finite Products §sums, ∑k=1nak\sum_{k=1}^{n}a_{k} and ∏k=1nak\prod_{k=1}^{n}a_{k} are the iterated operations along [n][n] for ∗\ast equal to ++ and to ⋅\cdot, respectively. Hence the clause finite, applied with X=RX=R, once with ∗=+\ast=+ and e=0e=0 and once with ∗=⋅\ast=\cdot and e=1e=1, gives ∑x∈Af(x)∈R\sum_{x\in A}f(x)\in R and ∏x∈Af(x)∈R\prod_{x\in A}f(x)\in R, which is the clause finite-sums; and the clause iterated, applied with X=RX=R, once with ∗=+\ast=+ and once with ∗=⋅\ast=\cdot, gives ∑k=1nak∈R\sum_{k=1}^{n}a_{k}\in R and ∏k=1nak∈R\prod_{k=1}^{n}a_{k}\in R, which is the clause segment-sums.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…