Elementary facts about N used below — transitivity and totality of ≤; that k≤n implies k≤S(n) and S(k)≤S(n); that l<S(m) implies l≤m; that m<S(m); and that every natural number l with 1<l is the successor of a natural number — are those of Order on the Natural Numbers and Properties of the Order on the Natural Numbers, together with the Peano structure of Natural Numbers, in which the successor map S is injective.
Claim 1. The values of gj avoid j. If k<j then gj(k)=k=j. If j≤k then j≤k<S(k)=gj(k), so again gj(k)=j.
Injectivity. Let k,k′∈[n] with gj(k)=gj(k′). If k<j and k′<j then k=gj(k)=gj(k′)=k′. If j≤k and j≤k′ then S(k)=S(k′), so k=k′ by injectivity of S. If k<j≤k′ then gj(k)=k<j≤k′<S(k′)=gj(k′), contradicting equality; the remaining mixed case is symmetric.
Surjectivity onto the complement of j. Let l∈[S(n)] with l=j; by totality, either l<j or j<l. If l<j then, since j≤S(n), transitivity gives l<S(n) and hence l≤n, so l∈[n] and gj(l)=l. If j<l then 1≤j<l, so 1<l and l=S(k) for some natural number k; from S(k)=l≤S(n) we get k≤n, so k∈[n], and from j<S(k) we get j≤k, so gj(k)=S(k)=l.
Claims 2 and 3. We prove claim 2. Claim 3 is obtained by the same argument with the addition of K replaced by its multiplication: the only properties of the operation used are commutativity and associativity, which hold for both operations of a field, and the recursion identity of claim 1 of Properties of Finite Sums, whose counterpart for products is claim 1 of Properties of Finite Products.
We argue by induction on n, using the induction principle for the natural numbers. Let P be the set of natural numbers n such that the identity of claim 2 holds for every map a:[S(n)]→K and every j∈[S(n)].
Base. Let n=1, so that [S(1)] consists of 1 and S(1), and [1] consists of 1 alone. If j=S(1) then 1<j, so gj(1)=1, and both sides equal a1+aS(1) by claim 1 of Properties of Finite Sums. If j=1 then j≤1, so gj(1)=S(1), the right-hand side is aS(1)+a1 and the left-hand side is a1+aS(1); these agree by commutativity of addition. Hence 1∈P.
Step. Suppose n∈P, and let a:[S(S(n))]→K and j∈[S(S(n))] be given; write gj for the gap map from [S(n)] to [S(S(n))] and b for the restriction of a to [S(n)]. By claim 1 of Properties of Finite Sums,
k=1∑S(S(n))ak=(k=1∑S(n)bk)+aS(S(n)).(i)
Suppose first that j=S(S(n)). For every k∈[S(n)] we have k≤S(n)<S(S(n))=j, so gj(k)=k and agj(k)=bk. Hence the right-hand side of claim 2 equals the right-hand side of (i), as required.
Suppose now that j=S(S(n)), so that j<S(S(n)) and therefore j∈[S(n)]. Let hj:[n]→[S(n)] be the gap map formed at level n for this same j. For k∈[n] the defining case distinction for gj and for hj is the same, so gj(k)=hj(k)∈[S(n)] and hence agj(k)=bhj(k). Also j≤S(n) gives gj(S(n))=S(S(n)).
By the induction hypothesis applied to b and j,
k=1∑S(n)bk=(k=1∑nbhj(k))+bj=(k=1∑nagj(k))+aj,
and by claim 1 of Properties of Finite Sums applied to the family k↦agj(k) on [S(n)],
k=1∑S(n)agj(k)=(k=1∑nagj(k))+agj(S(n))=(k=1∑nagj(k))+aS(S(n)).
Substituting the first of these into (i) and regrouping by commutativity and associativity of addition,
k=1∑S(S(n))ak=((k=1∑nagj(k))+aS(S(n)))+aj=(k=1∑S(n)agj(k))+aj,
which is the identity of claim 2 at level S(n). Hence S(n)∈P, and by induction P contains every natural number.