TheoremBase

Recursion follows from the uniqueness of the recursively defined partial results. Homomorphism, splitting (by induction on m), reordering and termwise combination follow by induction from it. Reordering goes through an auxiliary rule that moves any single term to the end.

Proof

Each result cited below is universally quantified over the data in its own statement, and is applied to the data named where it is cited.

For a map aa from a set containing [p][p] to XX, ∗k=1pak\mathop{\ast}\limits_{k=1}^{p}a_{k} is the iterated operation of a∣[p]a|_{[p]} by Iterated Operations: Finite Sums and Finite Products §restriction; this is how the induction hypotheses below are applied to restrictions. Each induction runs over the set of those n∈Nn\in\mathbb{N} (or m∈Nm\in\mathbb{N}) for which the claim in question holds for all data of the stated kind, and concludes by induction from 11 on N\mathbb{N}, The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §induction.

Recursion. Let p∈Np\in\mathbb{N}, let a:[p]→Xa:[p]\to X, and let s:[p]→Xs:[p]\to X be the map of Iterating a Binary Operation along a Finite List §existence for aa, so that ∗k=1pak=s(p)\mathop{\ast}\limits_{k=1}^{p}a_{k}=s(p) by Iterated Operations: Finite Sums and Finite Products §iterated. Let q∈[p]q\in[p]. Then [q]⊆[p][q]\subseteq[p] by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §inclusion, and s∣[q]s|_{[q]} satisfies s(1)=a1s(1)=a_{1} and s(k+1)=s(k)∗ak+1s(k+1)=s(k)\ast a_{k+1} for every k∈[q]k\in[q] with k<qk<q, since such kk satisfy k<pk<p. By the uniqueness in Iterating a Binary Operation along a Finite List §existence for a∣[q]a|_{[q]}, s∣[q]s|_{[q]} is the map for a∣[q]a|_{[q]}, so ∗k=1qak=s(q)\mathop{\ast}\limits_{k=1}^{q}a_{k}=s(q). Taking p=np=n and q=1q=1, which lies in [n][n] since 1≤n1\le n, gives ∗k=11ak=s(1)=a1\mathop{\ast}\limits_{k=1}^{1}a_{k}=s(1)=a_{1} for every a:[n]→Xa:[n]\to X. Taking p=n+1p=n+1 and q=nq=n, which lies in [n+1][n+1] since n<n+1n<n+1, gives for every a:[n+1]→Xa:[n+1]\to X

∗k=1n+1ak=s(n+1)=s(n)∗an+1=(∗k=1nak)∗an+1.\mathop{\ast}\limits_{k=1}^{n+1}a_{k}=s(n+1)=s(n)\ast a_{n+1}=\Big(\mathop{\ast}\limits_{k=1}^{n}a_{k}\Big)\ast a_{n+1}.

Homomorphism. We induct on nn. For n=1n=1 both sides equal φ(a1)\varphi(a_{1}), by the recursion clause for ∗\ast on XX and for ⋄\diamond on YY. If the claim holds for nn and a:[n+1]→Xa:[n+1]\to X, then by the recursion clause, applied to ∗\ast on XX and, in the last step, to ⋄\diamond on YY, the hypothesis on φ\varphi and the induction hypothesis for a∣[n]a|_{[n]},

φ(∗k=1n+1ak)=φ(∗k=1nak)⋄φ(an+1)=(⋄k=1nφ(ak))⋄φ(an+1)=⋄k=1n+1φ(ak).\varphi\Big(\mathop{\ast}\limits_{k=1}^{n+1}a_{k}\Big)=\varphi\Big(\mathop{\ast}\limits_{k=1}^{n}a_{k}\Big)\diamond\varphi(a_{n+1})=\Big(\mathop{\diamond}\limits_{k=1}^{n}\varphi(a_{k})\Big)\diamond\varphi(a_{n+1})=\mathop{\diamond}\limits_{k=1}^{n+1}\varphi(a_{k}).

Splitting. Fix nn and induct on mm; for a:[n+m]→Xa:[n+m]\to X and j∈[m]j\in[m] we have n+j∈[n+m]n+j\in[n+m] by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §shift and Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §split (here 1≤n+11\le n+1, and j+n=n+jj+n=n+j). For m=1m=1, the recursion clause gives ∗j=11an+j=an+1\mathop{\ast}\limits_{j=1}^{1}a_{n+j}=a_{n+1} and ∗k=1n+1ak=(∗k=1nak)∗an+1\mathop{\ast}\limits_{k=1}^{n+1}a_{k}=\Big(\mathop{\ast}\limits_{k=1}^{n}a_{k}\Big)\ast a_{n+1}. If the claim holds for mm and a:[n+(m+1)]→Xa:[n+(m+1)]\to X, where n+(m+1)=(n+m)+1n+(m+1)=(n+m)+1 by associativity of addition, written n+m+1n+m+1, write P=∗k=1nakP=\mathop{\ast}\limits_{k=1}^{n}a_{k} and Q=∗j=1man+jQ=\mathop{\ast}\limits_{j=1}^{m}a_{n+j}. By the recursion clause, the induction hypothesis for a∣[n+m]a|_{[n+m]}, associativity, and the recursion clause for the map j↦an+jj\mapsto a_{n+j} on [m+1][m+1],

∗k=1n+m+1ak=(∗k=1n+mak)∗an+m+1=(P∗Q)∗an+m+1=P∗(Q∗an+m+1)=P∗(∗j=1m+1an+j).\mathop{\ast}\limits_{k=1}^{n+m+1}a_{k}=\Big(\mathop{\ast}\limits_{k=1}^{n+m}a_{k}\Big)\ast a_{n+m+1}=(P\ast Q)\ast a_{n+m+1}=P\ast(Q\ast a_{n+m+1})=P\ast\Big(\mathop{\ast}\limits_{j=1}^{m+1}a_{n+j}\Big).

Moving one term to the end. Let ∗\ast be associative and commutative. For c:[n+1]→Xc:[n+1]\to X and j∈[n+1]j\in[n+1] let c(j):[n]→Xc^{(j)}:[n]\to X be given by ck(j)=ckc^{(j)}_{k}=c_{k} for k<jk<j and ck(j)=ck+1c^{(j)}_{k}=c_{k+1} for the other k∈[n]k\in[n], those with k≥jk\ge j by totality of the order; this is a map by Maps Defined by Cases §cases with P(k)P(k) the property k<jk<j, both values lying in XX because k∈[n]⊆[n+1]k\in[n]\subseteq[n+1] and k+1∈[n+1]k+1\in[n+1] for k∈[n]k\in[n], by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §inclusion, Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §segment and the compatibility of addition with the order (The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §laws). We show by induction on nn that

∗k=1n+1ck=(∗k=1nck(j))∗cj.(†)\mathop{\ast}\limits_{k=1}^{n+1}c_{k}=\Big(\mathop{\ast}\limits_{k=1}^{n}c^{(j)}_{k}\Big)\ast c_{j}.\qquad(\dagger)

If j=n+1j=n+1, then c(j)=c∣[n]c^{(j)}=c|_{[n]} and (†)(\dagger) is the recursion clause; this covers j=2j=2 when n=1n=1. For n=1n=1 and j=1j=1, c1(1)=c2c^{(1)}_{1}=c_{2} and c1∗c2=c2∗c1c_{1}\ast c_{2}=c_{2}\ast c_{1} by commutativity. Suppose (†)(\dagger) holds for nn, and let c:[n+2]→Xc:[n+2]\to X and j∈[n+1]j\in[n+1] (the case j=n+2j=n+2 being done). Put d=c∣[n+1]d=c|_{[n+1]}. Then c(j)∣[n]=d(j)c^{(j)}|_{[n]}=d^{(j)} and cn+1(j)=cn+2c^{(j)}_{n+1}=c_{n+2}, because n+1≥jn+1\ge j. Writing D=∗k=1ndk(j)D=\mathop{\ast}\limits_{k=1}^{n}d^{(j)}_{k}, the recursion clause, the induction hypothesis for dd (note dj=cjd_{j}=c_{j}), then associativity and commutativity, then associativity again, and finally the recursion clause for c(j)c^{(j)} on [n+1][n+1] give

∗k=1n+2ck=(∗k=1n+1ck)∗cn+2=(D∗cj)∗cn+2=D∗(cn+2∗cj)=(D∗cn+2)∗cj=(∗k=1n+1ck(j))∗cj.\mathop{\ast}\limits_{k=1}^{n+2}c_{k}=\Big(\mathop{\ast}\limits_{k=1}^{n+1}c_{k}\Big)\ast c_{n+2}=(D\ast c_{j})\ast c_{n+2}=D\ast(c_{n+2}\ast c_{j})=(D\ast c_{n+2})\ast c_{j}=\Big(\mathop{\ast}\limits_{k=1}^{n+1}c^{(j)}_{k}\Big)\ast c_{j}.

Reordering. We induct on nn. For n=1n=1, [1]={1}[1]=\{1\} by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §segment, so σ(1)=1\sigma(1)=1. Suppose the claim holds for nn, and let a:[n+1]→Xa:[n+1]\to X, σ:[n+1]→[n+1]\sigma:[n+1]\to[n+1] be a bijection, and j=σ−1(n+1)j=\sigma^{-1}(n+1). Let ρ:[n]→[n+1]\rho:[n]\to[n+1] be given by ρ(k)=k\rho(k)=k for k<jk<j and ρ(k)=k+1\rho(k)=k+1 for the other k∈[n]k\in[n], those with k≥jk\ge j by totality of the order, which is a well-order and hence a total order by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §order and Well-Orders on a Set §well-order (if k≤jk\le j but not k<jk<j, then k=jk=j by Arithmetic and Order of the Natural Numbers §partial-order); this is a map by Maps Defined by Cases §cases with P(k)P(k) the property k<jk<j, as k∈[n+1]k\in[n+1] and k+1∈[n+1]k+1\in[n+1] for every k∈[n]k\in[n]. Then ρ\rho is injective: it is clearly injective on {k∈[n]:k<j}\{k\in[n]:k<j\} and on {k∈[n]:k≥j}\{k\in[n]:k\ge j\}, and ρ(k)=k<j≤l<l+1=ρ(l)\rho(k)=k<j\le l<l+1=\rho(l) whenever k<j≤lk<j\le l, where l<l+1l<l+1 by Arithmetic and Order of the Natural Numbers §successor, so ρ(k)<ρ(l)\rho(k)<\rho(l) by Arithmetic and Order of the Natural Numbers §partial-order. Its image is [n+1]∖{j}[n+1]\setminus\{j\}: jj is not a value, and every i∈[n+1]i\in[n+1] with i≠ji\ne j is a value. If i<ji<j, then i<n+1i<n+1 by Arithmetic and Order of the Natural Numbers §partial-order, as j≤n+1j\le n+1; hence i≤ni\le n, since otherwise n<i<n+1n<i<n+1 by Arithmetic and Order of the Natural Numbers §trichotomy, contradicting Arithmetic and Order of the Natural Numbers §successor; so i∈[n]i\in[n] and i=ρ(i)i=\rho(i). If i>ji>j, then i≠1i\neq1, because 1≤j1\le j as 11 is the least natural number by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §order, and j<1≤jj<1\le j is impossible by Arithmetic and Order of the Natural Numbers §partial-order and Arithmetic and Order of the Natural Numbers §trichotomy; so i=l+1i=l+1 for some l∈Nl\in\mathbb{N} by Arithmetic and Order of the Natural Numbers §predecessor, with j≤l≤nj\le l\le n and i=ρ(l)i=\rho(l); here j≤lj\le l, since otherwise l<j<l+1l<j<l+1 by trichotomy, contradicting Arithmetic and Order of the Natural Numbers §successor, and l≤nl\le n, since l+1=i≤n+1l+1=i\le n+1 and addition is compatible with the order by The Natural Numbers and the Natural Numbers with Zero: Arithmetic, Order, Induction and Recursion §laws. Since σ\sigma maps [n+1]∖{j}[n+1]\setminus\{j\} bijectively onto [n+1]∖{n+1}=[n][n+1]\setminus\{n+1\}=[n] (by Intervals of Natural Numbers: Initial Segments, Adding One Element, Splitting and Shifting §successor), τ=σ∘ρ\tau=\sigma\circ\rho is a bijection [n]→[n][n]\to[n]. For b=a∘σb=a\circ\sigma, i.e. bk=aσ(k)b_{k}=a_{\sigma(k)}, we have bk(j)=aτ(k)b^{(j)}_{k}=a_{\tau(k)} for k∈[n]k\in[n] and bj=an+1b_{j}=a_{n+1}. By (†)(\dagger), the induction hypothesis for a∣[n]a|_{[n]} and τ\tau, and the recursion clause,

∗k=1n+1aσ(k)=(∗k=1naτ(k))∗an+1=(∗k=1nak)∗an+1=∗k=1n+1ak.\mathop{\ast}\limits_{k=1}^{n+1}a_{\sigma(k)}=\Big(\mathop{\ast}\limits_{k=1}^{n}a_{\tau(k)}\Big)\ast a_{n+1}=\Big(\mathop{\ast}\limits_{k=1}^{n}a_{k}\Big)\ast a_{n+1}=\mathop{\ast}\limits_{k=1}^{n+1}a_{k}.

Termwise. We induct on nn. For n=1n=1 both sides equal a1∗b1a_{1}\ast b_{1}. If the claim holds for nn and a,b:[n+1]→Xa,b:[n+1]\to X, write A=∗k=1nakA=\mathop{\ast}\limits_{k=1}^{n}a_{k} and B=∗k=1nbkB=\mathop{\ast}\limits_{k=1}^{n}b_{k}. By the recursion clause and the induction hypothesis the left side for n+1n+1 is (A∗B)∗(an+1∗bn+1)(A\ast B)\ast(a_{n+1}\ast b_{n+1}). By associativity and commutativity this equals

A∗((B∗an+1)∗bn+1)=A∗((an+1∗B)∗bn+1)=A∗(an+1∗(B∗bn+1))=(A∗an+1)∗(B∗bn+1),A\ast\big((B\ast a_{n+1})\ast b_{n+1}\big)=A\ast\big((a_{n+1}\ast B)\ast b_{n+1}\big)=A\ast\big(a_{n+1}\ast(B\ast b_{n+1})\big)=(A\ast a_{n+1})\ast(B\ast b_{n+1}),

which is the right side for n+1n+1 by the recursion clause.

Citations

Loading…

Dependencies

Uses0

Loading…

Comments

Log in to comment.

Loading…