4 Growth of the hidden class with depth
4.1 Definitions for the growth conditions
For a finite family \(f = (f_1, \dots , f_r)\) of self-maps and a word \(u = (i_1, \dots , i_k) \in [r]^k\), the associated map is \(f_u = f_{i_k} \circ \cdots \circ f_{i_1}\) (the first letter acts first); \(f_{\emptyset } = \mathrm{id}\). In Lean: ‘wordOf f [] = id‘ and ‘wordOf f (i :: u) = wordOf f u ∘ f i‘.
\(f_\emptyset = \mathrm{id}\).
\(f_{(i, u)} = f_u \circ f_i\).
\(f_{(i,u)}(x) = f_u(f_i(x))\).
For a layerwise Lipschitz constant \(\Lambda \ge 0\) and \(m \ge 0\), the geometric sum \(S_m(\Lambda ) := \sum _{i=0}^{m-1} \Lambda ^i\) (so \(S_0 = 0\), \(S_1 = 1\)) of ‘prop:implementation‘(b); it is the amplification factor of the covering envelope ‘prop:envelope‘.
\(S_0(\Lambda ) = 0\).
\(S_1(\Lambda ) = 1\).
As a real number, \(S_m(\Lambda ) = \sum _{i{\lt}m} \Lambda ^i\).
For probes \(P = (p_j)_{j \in J}\) (\(J\) finite) the evaluation map is \(\mathrm{ev}_P : (\mathcal X^{\mathcal X}, d_\infty ) \to (\mathcal X^J, d_{\max })\), \(\mathrm{ev}_P(f) = (f(p_j))_{j \in J}\), where \(\mathcal X^J\) carries the sup-metric.
For a monoid homomorphism \(\alpha : H \to \mathcal X^{\mathcal X}\) (i.e. \(\alpha (gh) = \alpha (g) \circ \alpha (h)\) and \(\alpha (e) = \mathrm{id}\)), the orbit map is \(g \mapsto \alpha (g) \in \mathcal X^{\mathcal X}\).
\(\alpha (e) = \mathrm{id}\).
\(\alpha (gh) = \alpha (g) \circ \alpha (h)\).
The memory length of P1’: \(m(\varepsilon ) := L + \bigl\lceil \log _{1/c}\bigl(2\, \mathrm{diam}(K)/\varepsilon \bigr) \bigr\rceil \) (a natural number; the ceiling of a non-positive real is \(0\)).
The memory state space \(X = E^{\mathbb N}\) (the paper’s \(\ell _\infty (E)\); we allow all sequences since the bounded metric below is finite anyway).
\(X = E^{\mathbb N}\) is nonempty (it contains \(0\)).
If \(a \le b + c\) in \([0,\infty ]\) then \(\min \{ 1,a\} \le \min \{ 1,b\} + \min \{ 1,c\} \).
If \(b, c \le 1\) this is \(a \le b + c\); otherwise the right side is at least \(1\).
The bounded sup metric on \(X = E^{\mathbb N}\): \(d_X(x,y) = \sup _{j} \min \{ 1, \| x_j - y_j\| _E\} \). It is a pseudo-emetric (indeed a metric with values in \([0,1]\)).
\(d_X(x,y) = \sup _j \min \{ 1, \| x_j - y_j\| _E\} \).
\(d_X(x,y) \le 1\).
The reset map \(r(x) = 0\).
The writer \(g_u(x_0, x_1, \dots ) = (u, x_0, x_1, \dots )\).
\(r(x)_j = 0\).
\(g_u(x)_0 = u\).
\(g_u(x)_{i+1} = x_i\).
The expander \(A(x_0, x_1, \dots ) = (\lambda x_0, \lambda x_1, \dots )\).
\(A(x)_j = \lambda x_j\).
The hidden-layer class \(F = \{ r, A\} \cup \{ g_u : u \in G\} \).
For \(u = (u_0, \dots , u_{k-1}) \in E^k\) the word \(w_u = A \circ g_{u_{k-1}} \circ A \circ g_{u_{k-2}} \circ \cdots \circ A \circ g_{u_0} \circ r\) (so \(u_0\) is written first and \(u_{k-1}\) last). In Lean it is defined by recursion on \(k\): \(w_{()} = r\) and \(w_{(u, a)} = A \circ g_a \circ w_u\).
\(w_{()} = r\).
\(w_u = A \circ g_{u_k} \circ w_{u|_{k}}\) for \(u \in E^{k+1}\).
\(W_k = \{ w_u : u \in G^k\} \).
4.2 Basic facts on covering and packing numbers (Appendix A, incl. lem:probes-packing)
(Sub-multiplicativity.) Let \(F, G \subseteq \mathcal X^{\mathcal X}\) and suppose every \(f \in F\) is \(\lambda \)-Lipschitz. Then for all \(\varepsilon , \delta \ge 0\),
(This is the paper’s \(N(FG, \varepsilon + \delta ) \le N(F, \varepsilon /\rho ) N(G, \delta /\lambda )\) with \(\rho = 1\), since right composition is \(1\)-Lipschitz for \(d_\infty \); we write \(\lambda \delta \) in place of \(\delta /\lambda \) to avoid dividing by \(\lambda = 0\).)
Take an \(\varepsilon \)-cover \(C_F\) of \(F\) and a \(\delta \)-cover \(C_G\) of \(G\) of minimal cardinality. For \(f \in F\), \(g \in G\) pick \(f' \in C_F\), \(g' \in C_G\) with \(d_\infty (f,f') \le \varepsilon \), \(d_\infty (g,g') \le \delta \); then \(d_\infty (f \circ g, f' \circ g') \le d_\infty (f \circ g, f \circ g') + d_\infty (f \circ g', f' \circ g') \le \lambda \delta + \varepsilon \), so \(C_F \circ C_G\) (of cardinality \(\le |C_F|\, |C_G|\)) is a cover of \(F \circ G\).
The evaluation map \(\mathrm{ev}_P\) is \(1\)-Lipschitz from \(d_\infty \) to the sup-metric on \(\mathcal X^J\).
\(\max _j d(f(p_j), g(p_j)) \le \sup _x d(f(x), g(x))\).
(Probes and packing.) Let \(A \subseteq (\mathcal X^{\mathcal X}, d_\infty )\), let \(P\) be a finite family of probes and let \(T \subseteq \mathrm{ev}_P(A)\) be \(\delta \)-separated: \(d_{\max }(y,z) \ge \delta \) for all distinct \(y, z \in T\). Then for every \(\varepsilon \) with \(2\varepsilon {\lt} \delta \), \(|T| \le N^{\mathrm{ext}}(A, d_\infty , \varepsilon )\).
\(T\) is \(2\varepsilon \)-separated (strictly), so \(|T| \le M(\mathrm{ev}_P(A), 2\varepsilon ) \le M(A, 2\varepsilon ) \le N^{\mathrm{ext}}(A, \varepsilon )\) by the Lipschitz embedding lemma (with \(K = 1\)) and the packing–covering comparison.
Under the hypotheses of the previous lemma, also \(|T| \le N(A, d_\infty , \varepsilon )\) (internal covering number).
(Indexed form of ‘lem:probes-packing‘.) Let \((g_i)_{i \in I}\) be a family of maps in \(A \subseteq (\mathcal X^{\mathcal X}, d_\infty )\) and \(P\) a finite family of probes such that \(d_{\max }(\mathrm{ev}_P(g_i), \mathrm{ev}_P(g_j)) \ge \delta {\gt} 0\) for all \(i \ne j\). Then \(|I| \le N^{\mathrm{ext}}(A, d_\infty , \varepsilon )\) whenever \(2\varepsilon {\lt} \delta \).
The map \(i \mapsto \mathrm{ev}_P(g_i)\) is injective (distinct indices have evaluations at distance \(\ge \delta {\gt} 0\)), and its range is a \(\delta \)-separated subset of \(\mathrm{ev}_P(A)\); apply ‘lem:probes-packing‘.
4.3 Tools not printed in the manuscript: compact Arzelà–Ascoli for self-maps (formerly App. P of the ICLR draft; kept in the library, see comparator/README.md)
If \(\mathcal X\) is complete then \((\mathcal X^{\mathcal X}, d_\infty )\) is complete (uniform limits of Cauchy sequences). This is Mathlib’s instance on ‘X →ᵤ X‘.
(Metric modulus criterion.) Let \((\mathcal X, d)\) be a totally bounded (pseudo)metric space. If \(H \subseteq \mathcal X^{\mathcal X}\) has a common modulus of continuity, namely there is \(\omega : \mathbb R \to \mathbb R\) with \(\omega (r) \to 0\) as \(r \downarrow 0\) (for every \(\varepsilon {\gt} 0\) there is \(r {\gt} 0\) with \(\omega (t) \le \varepsilon \) for \(0 \le t \le r\)) and
then \(H\) is totally bounded in \(d_\infty \).
Fix \(\eta {\gt} 0\) (below the prescribed radius). Choose \(\rho {\gt} 0\) with \(\omega (t) \le \eta /4\) for \(t \le \rho \), a finite \(\rho \)-net \(P\) and a finite \(\eta /4\)-net \(Q\) of \(\mathcal X\). To \(f \in H\) assign the map \(P \to Q\), \(p \mapsto q(f(p))\) with \(d(f(p), q(f(p))) {\lt} \eta /4\). There are finitely many assignments; choose one representative \(g \in H\) for each occurring assignment. If \(f\) and \(g\) have the same assignment then for every \(x\), picking \(p \in P\) with \(d(x,p) {\lt} \rho \), \(d(f(x), g(x)) \le d(f(x), f(p)) + d(f(p), q(f(p))) + d(q(g(p)), g(p)) + d(g(p), g(x)) \le \eta \). Thus the representatives form a finite \(\eta \)-net of \(H\) for \(d_\infty \).
(Modulus extraction on compact domains.) Let \((\mathcal X,d)\) be compact and \(H \subseteq \mathcal X^{\mathcal X}\) equicontinuous. Then \(H\) admits a common monotone modulus of continuity \(\omega \) with \(\omega (r) \to 0\) as \(r \downarrow 0\) and \(d(f(x), f(y)) \le \omega (d(x,y))\) for all \(f \in H\), \(x, y \in \mathcal X\). In particular ‘thm:maa‘ applies.
Set \(\omega (r) := \sup \{ d(f(x), f(y)) : f \in H,\ d(x,y) \le r\} \) (bounded by \(\mathrm{diam}\, \mathcal X\), and \(0\) for \(r {\lt} 0\)). It is monotone, and uniform equicontinuity (equicontinuity on a compact space) gives \(\omega (r) \le \varepsilon \) for \(r \le \delta /2\).
(Forward direction of ‘thm:caa‘.) If \(\mathcal X\) is compact and \(H \subseteq \mathcal X^{\mathcal X}\) is equicontinuous, then \(H\) is totally bounded in \(d_\infty \).
Extract a common modulus (‘lem:oaa‘) and apply the modulus criterion (‘thm:maa‘); a compact space is totally bounded.
(Converse direction of ‘thm:caa‘.) If \(H \subseteq C(\mathcal X, \mathcal X)\) is totally bounded in \(d_\infty \) then \(H\) is equicontinuous. (Continuity of the members of \(H\) is needed; compactness of \(\mathcal X\) is not.)
Fix \(x_0\) and \(\varepsilon {\gt} 0\), and take a finite \(\varepsilon /3\)-net \(t \subseteq H\). Each \(g \in t\) is continuous at \(x_0\), so for \(x\) near \(x_0\) we have \(d(g(x_0), g(x)) {\lt} \varepsilon /3\) for all \(g \in t\) simultaneously. For \(f \in H\) choose \(g \in t\) with \(d_\infty (f,g) {\lt} \varepsilon /3\); then \(d(f(x_0), f(x)) \le d(f(x_0), g(x_0)) + d(g(x_0), g(x)) + d(g(x), f(x)) {\lt} \varepsilon \).
(Compact Arzelà–Ascoli for self-maps.) Let \((\mathcal X, d)\) be a compact (pseudo)metric space and let \(H \subseteq C(\mathcal X, \mathcal X)\). Then \(H\) is totally bounded in \(d_\infty \) if and only if \(H\) is equicontinuous.
(Consequence of ‘thm:caa‘.) If \(\mathcal X\) is compact and \(H \subseteq \mathcal X^{\mathcal X}\) is equicontinuous, then the closure of \(H\) in \((\mathcal X^{\mathcal X}, d_\infty )\) is compact.
\((\mathcal X^{\mathcal X}, d_\infty )\) is complete since \(\mathcal X\) is compact (hence complete), and the closure of a totally bounded set in a complete space is compact.
(Saturation for compact equicontinuous semigroups.) Let \((\mathcal X, d)\) be compact and \(F \subseteq \mathcal X^{\mathcal X}\). If the generated semigroup \(\langle F \rangle \) is equicontinuous, then for every \(\varepsilon {\gt} 0\) and every \(k\)
In particular the covering number of the word ball does not grow with the depth \(k\).
\(B(k,F) \subseteq \langle F \rangle \subseteq \overline{\langle F\rangle }\) and the external covering number is monotone in the set; the closure is totally bounded by ‘thm:caa‘, so its covering number is finite.
(Internal version of ‘cor:aa-semigroup-saturation‘.) Under the same hypotheses, for every \(\varepsilon {\gt} 0\) and every \(k\), \(N\bigl(B(k,F), d_\infty , \varepsilon \bigr) \le N\bigl(\overline{\langle F\rangle }^{d_\infty }, d_\infty , \varepsilon /2\bigr) {\lt} \infty \) (internal covering numbers are not monotone in the set, whence the loss of a factor \(2\) in the radius).
Mathlib’s ‘coveringNumber_subset_le‘ for the inclusion, and finiteness of the internal covering number of a totally bounded set.
4.4 Saturation: equicontinuous semigroups and contraction to an invariant set (Appendix F.1, P1, P1’)
\(f \in B(k,F)\) if and only if \(f \in F^l\) for some \(l \le k\).
Induction on \(k\) using \(B(k+1,F) = B(k,F) \cup F^{k+1}\).
Every word of length \(n + L\) factors as \(w = w_2 \circ w_1\) with \(w_2 \in F^n\) and \(w_1 \in F^L\).
Induction on \(n\): for \(n = 0\) take \(w_2 = \mathrm{id}\); for \(w = a \circ b\) with \(a \in F\), \(b \in F^{n+L}\), factor \(b = b_2 \circ b_1\) and take \(w_2 = a \circ b_2\).
If \(f(A) \subseteq A\) for every \(f \in F\), then \(w(a) \in A\) for every word \(w \in F^m\) and every \(a \in A\).
Induction on \(m\).
If every \(f \in F\) is \(c\)-Lipschitz then every word \(w \in F^m\) is \(c^m\)-Lipschitz.
Induction on \(m\); Lipschitz constants multiply under composition.
If the generators are non-expanding (\(1\)-Lipschitz) then every element of \(B(k,F)\) is non-expanding.
Induction on \(k\); \(\mathrm{id}\) is \(1\)-Lipschitz and \(1 \cdot 1 = 1\).
If the generators are non-expanding then the whole semigroup \(\langle F \rangle \) is non-expanding: \(\mathrm{lip}\, F \le 1\) implies \(\mathrm{lip}\, \langle F \rangle \le 1\).
\(\langle F \rangle = \bigcup _k B(k,F)\).
(P1: equicontinuous semigroup on a compact domain saturates, hypothesis 1.) Assume \(\mathcal X\) is compact and the semigroup \(\langle F \rangle \) is precompact (totally bounded) in \(d_\infty \). Then, with \(G := \overline{\langle F\rangle }^{d_\infty }\), for all \(\varepsilon {\gt} 0\) and all \(k\),
hence no dependence on \(k\). (Compactness of \(\mathcal X\) is not needed for this hypothesis.)
\(B(k,F) \subseteq G\) and monotonicity of the external covering number; \(G\) is totally bounded as the closure of a totally bounded set, so its covering number is finite.
(P1, hypothesis 2a.) Assume \(\mathcal X\) is compact and the semigroup \(\langle F \rangle \) is equicontinuous. Then for all \(\varepsilon {\gt} 0\) and all \(k\), \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \le N^{\mathrm{ext}}(\overline{\langle F\rangle }, d_\infty , \varepsilon ) {\lt} \infty \).
(P1, hypothesis 2b.) Assume \(\mathcal X\) is compact and the semigroup \(\langle F \rangle \) is uniformly Lipschitz: every \(g \in \langle F \rangle \) is \(K\)-Lipschitz for a common \(K\). Then for all \(\varepsilon {\gt} 0\) and all \(k\), \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \le N^{\mathrm{ext}}(\overline{\langle F\rangle }, d_\infty , \varepsilon ) {\lt} \infty \).
(P1, hypothesis 2c.) Assume \(\mathcal X\) is compact and the generators are non-expanding: \(\mathrm{lip}\, F \le 1\). Then for all \(\varepsilon {\gt} 0\) and all \(k\), \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \le N^{\mathrm{ext}}(\overline{\langle F\rangle }, d_\infty , \varepsilon ) {\lt} \infty \).
If \(0 {\lt} c {\lt} 1\), \(\varepsilon {\gt} 0\) and \(m(\varepsilon ) \le n + L\) then \(c^n \, \mathrm{diam}(K) \le \varepsilon /2\).
If \(\mathrm{diam}(K) = 0\) this is trivial. Otherwise \(\log _{1/c}(2\, \mathrm{diam}(K)/\varepsilon ) \le \lceil \cdot \rceil \le n\), i.e. \(2\, \mathrm{diam}(K)/\varepsilon \le (1/c)^n\), which rearranges to the claim.
(Long words are almost constant.) Under the hypotheses of ‘cond:p1-ucont‘, for every word \(w \in F^l\) with \(l \ge m(\varepsilon )\) and all \(x, y \in \mathcal X\),
In particular \(d_\infty (w, \mathrm{const}_{w(a_0)}) \le \varepsilon /2\) for every \(a_0\).
Write \(l = n + L\) and \(w = w_2 \circ w_1\) with \(w_2 \in F^n\) (\(c^n\)-Lipschitz) and \(w_1 \in F^L\) (with values in \(K\)). Then \(d(w(x), w(y)) \le c^n d(w_1(x), w_1(y)) \le c^n \mathrm{diam}(K) \le \varepsilon /2\).
(Long words.) Under the hypotheses of ‘cond:p1-ucont‘, the set of all words of length \(\ge m(\varepsilon )\) satisfies
Indeed each such word \(w\) is \(\varepsilon /2\)-close to the constant map \(\mathrm{const}_{w(a_0)}\) with \(w(a_0) \in A\), so the constant maps at the points of an \(\varepsilon /2\)-net of \(A\) form an \(\varepsilon \)-cover.
Take a minimal \(\varepsilon /2\)-cover \(C\) of \(A\); for a long word \(w\) pick \(q \in C\) with \(d(w(a_0), q) \le \varepsilon /2\); then \(d(w(x), q) \le d(w(x), w(a_0)) + d(w(a_0), q) \le \varepsilon \) for every \(x\), so \(\{ \mathrm{const}_q : q \in C\} \) is an \(\varepsilon \)-cover.
(Short words; subadditivity over finitely many sets.) For a finite family \((A_i)_{i \in s}\), \(N^{\mathrm{ext}}\bigl(\bigcup _{i \in s} A_i, \varepsilon \bigr) \le \sum _{i \in s} N^{\mathrm{ext}}(A_i, \varepsilon )\). Applied to \(A_l = F^l\), \(l {\lt} m(\varepsilon )\), this covers the short words.
Induction on the finite index set using ‘lem:subadditivity‘.
(P1’: contraction to a compact invariant set.) Assume
(uniform contraction) every \(f \in F\) is \(c\)-Lipschitz with \(0 {\lt} c {\lt} 1\);
(invariant set) there is a nonempty \(F\)-invariant set \(A \subseteq \mathcal X\) (\(f(A) \subseteq A\) for all \(f \in F\));
(bounded absorbing set) there are \(L \in \mathbb N\) and a bounded set \(K \subseteq \mathcal X\) with \(f(\mathcal X) \subseteq K\) for every word \(f \in F^L\) of length \(L\).
Then for every \(\varepsilon {\gt} 0\), with \(m(\varepsilon ) := L + \lceil \log _{1/c}(2\, \mathrm{diam}(K)/\varepsilon ) \rceil \), for every \(k \ge 0\),
In particular the right-hand side is independent of \(k\). (This generalizes the paper, which assumes \(A\) compact, \(K\) compact and \(k \ge m(\varepsilon )\): the proof uses of \(A\) only that it is nonempty and invariant, of \(K\) only its boundedness, and the bound holds for every \(k\). The right-hand side is finite whenever each \(N^{\mathrm{ext}}(F^l, d_\infty , \varepsilon )\), \(l {\lt} m(\varepsilon )\), is finite, which the paper does not assume.)
\(B(k,F) \subseteq \bigcup _{l \ge m(\varepsilon )} F^l \cup \bigcup _{l {\lt} m(\varepsilon )} F^l\); apply monotonicity, subadditivity, ‘lem:p1ucont-long-words‘ and ‘lem:p1ucont-short-words‘.
4.5 Polynomial growth under nilpotent control (Appendix F.2, P2)
Let \(\alpha : H \to \mathcal X^{\mathcal X}\) be a homomorphism, assume the length \(g \mapsto d_H(e,g)\) is subadditive, \(d_H(e, gh) \le d_H(e,g) + d_H(e,h)\), and let \(S \subseteq H\) satisfy \(d_H(e,s) \le R_S\) for all \(s \in S\) and \(F \subseteq \alpha (S)\). Then for every \(k\),
Induction on \(k\). For \(k = 0\), \(\mathrm{id} = \alpha (e)\) and \(e \in \overline B_H(e,0)\). For \(k+1\): an element of \(B(k,F)\) lies in \(\alpha (\overline B_H(e,kR_S)) \subseteq \alpha (\overline B_H(e,(k+1)R_S))\); an element \(\alpha (s) \circ \alpha (h)\) with \(s \in S\), \(d_H(e,h) \le kR_S\) equals \(\alpha (sh)\) and \(d_H(e, sh) \le d_H(e,s) + d_H(e,h) \le R_S + kR_S\).
If the orbit map is \(L_\alpha \)-Lipschitz, \(d_\infty (\alpha (g), \alpha (h)) \le L_\alpha d_H(g,h)\), then for every \(B \subseteq H\) and \(\delta \ge 0\),
This is the Lipschitz embedding lemma ‘lem:lipschitz-embedding‘.
Under the hypotheses of ‘lem:p2-wordball-subset-ball‘ and ‘lem:p2-transfer‘, for every \(k\) and \(\delta \ge 0\),
Monotonicity of the external covering number in the set, then ‘lem:p2-transfer‘.
For \(\varepsilon , L_\alpha {\gt} 0\), \(R_S \ge 0\), \(k \ge 0\) and \(D \ge 0\),
With \(M = \max (1, R_S L_\alpha )\) we have \(1 \le M\) and \(R_S L_\alpha \le M\), so \(1 + (R_S L_\alpha )(k/\varepsilon ) \le M + M (k/\varepsilon ) = M(1 + k/\varepsilon )\); raise to the power \(D \ge 0\) and use \((ab)^D = a^D b^D\).
(P2: nilpotent control grows polynomially.) Let \((H, d_H)\) be a group with a pseudo-emetric, identity \(e\), and assume the length \(g \mapsto d_H(e,g)\) is subadditive: \(d_H(e,gh) \le d_H(e,g) + d_H(e,h)\). Assume its balls have polynomial entropy of degree \(D \ge 0\): there is \(1 \le C_H {\lt} \infty \) such that for all \(R \ge 0\) and \(\delta {\gt} 0\),
Suppose \(H\) acts on \(\mathcal X\) through a homomorphism \(\alpha : H \to \mathcal X^{\mathcal X}\), that there is a bounded set \(S \subseteq H\) (\(d_H(e,s) \le R_S\) for \(s \in S\)) with \(F \subseteq \alpha (S)\), and that the orbit map is Lipschitz in the uniform metric: \(d_\infty (\alpha (g), \alpha (h)) \le L_\alpha d_H(g,h)\) with \(0 {\lt} L_\alpha {\lt} \infty \). Then with
one has, for every \(\varepsilon {\gt} 0\) and every \(k \ge 0\),
(In Lean the ball-entropy hypothesis and the conclusion are stated in \([0,\infty ]\) as \(N \le \operatorname {ofReal}(\cdots )\), which in particular asserts finiteness; the bound holds for \(k = 0\) as well.)
Put \(\delta := \varepsilon / L_\alpha \), so \(L_\alpha \delta = \varepsilon \). By ‘lem:p2-transfer-wordball‘, \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \le N^{\mathrm{ext}}(\overline B_H(e, kR_S), d_H, \delta ) \le C_H (1 + kR_S/\delta )^D\), and ‘lem:p2-poly-factor‘ bounds the last factor by \(\max (1, R_S L_\alpha )^D (1 + k/\varepsilon )^D\).
(Real-valued form of P2.) Under the hypotheses of ‘cond:p2-nilp‘, for every \(\varepsilon {\gt} 0\) and \(k \ge 0\), \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \le C_H \max (1, R_S L_\alpha )^D (1 + k/\varepsilon )^D\) as real numbers (the covering number being finite).
Take \(C = C_H \max (1, R_S L_\alpha )^D\) and apply ‘cond:p2-nilp‘; a quantity bounded by \(\operatorname {ofReal}(b)\) is finite and has real part \(\le b\).
(Diameter envelope.) Under the hypotheses of ‘lem:p2-wordball-subset-ball‘ and with the orbit map \(L_\alpha \)-Lipschitz, for all \(f, g \in B(k,F)\),
i.e. \(\mathrm{diam}_\infty B(k,F) \le 2L_\alpha R_S k\) (and a fortiori \(D_k(S) \le 2 L_\alpha R_S k\) for every sample \(S\)).
Write \(f = \alpha (a)\), \(g = \alpha (b)\) with \(d_H(e,a), d_H(e,b) \le kR_S\) (‘lem:p2-wordball-subset-ball‘). Then \(d_\infty (\alpha (a), \alpha (b)) \le L_\alpha d_H(a,b) \le L_\alpha (d_H(a,e) + d_H(e,b)) \le 2 L_\alpha R_S k\).
On a bounded state space, \(d(x,y) \le D_{\mathcal X}\) for all \(x, y \in \mathcal X\), every pair of self-maps satisfies \(d_\infty (f,g) \le D_{\mathcal X}\); in particular \(\mathrm{diam}_\infty B(k,F) \le \mathrm{diam}(\mathcal X)\) for every \(k\).
\(\sup _x d(f(x), g(x)) \le D_{\mathcal X}\) termwise.
4.6 Exponential growth: free semigroups and ping–pong coding (Appendix F.3, E1, E1’, E2)
If \(w \in F^m\) and \(g \in F\) then \(w \circ g \in F^{m+1}\): the words of length \(m\) are also closed under right composition with generators.
Induction on \(m\): \(\mathrm{id} \circ g = g \circ \mathrm{id}\), and \((a \circ b) \circ g = a \circ (b \circ g)\).
\(f_u \in F^{|u|}\) where \(F = \{ f_1, \dots , f_r\} \).
Induction on \(u\) using the previous lemma.
\(F^m \subseteq B(m,F)\).
If \(|u| \le k\) then \(f_u \in B(k,F)\) where \(F = \{ f_1, \dots , f_r\} \).
Let \(f = (f_1,\dots ,f_r)\) and let \(P\) be a finite family of probes such that the evaluations \(\mathrm{ev}_P(f_u)\), \(u \in [r]^k\), are pairwise at sup-distance \(\ge \delta {\gt} 0\). Then \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \ge r^k\) for every \(\varepsilon \) with \(2\varepsilon {\lt} \delta \).
Index the words of length \(k\) by \([r]^{[k]}\) (‘List.ofFn‘), which has \(r^k\) elements, and apply ‘lem:probes-packing-family‘.
(E1: free semigroup with one-point uniform separation.) Let \(F = \{ f_1, \dots , f_r\} \), \(r \ge 2\), and suppose there are a base point \(x_* \in \mathcal X\) and \(\delta {\gt} 0\) such that for every \(k\) and all distinct words \(u \ne v \in [r]^k\),
Then for every \(k\) and every \(\varepsilon {\lt} \delta /2\), \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \ge r^k\). (The paper’s hypothesis (1), that \(u \mapsto f_u\) is injective on \([r]^k\), follows from the separation hypothesis since \(\delta {\gt} 0\), so it is omitted; the hypothesis \(r \ge 2\) is not used in the proof.)
Apply ‘lem:pow-le-covering-of-probes‘ with the single probe \(x_*\).
(E1’: equal-length coding.) Let \(F = \{ f_1, \dots , f_r\} \), \(r \ge 2\), and suppose there are \(x_* \in \mathcal X\) and \(\delta {\gt} 0\) with \(d(f_u(x_*), f_v(x_*)) \ge \delta \) for all distinct \(u, v \in [r]^k\) and all \(k\). Then \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \ge r^k\) for all \(k\) and all \(\varepsilon {\lt} \delta /2\). (This generalizes the paper, which assumes in addition that the generators are isometries, that \(d_\infty \) is finite on \(\langle F\rangle \) and that \(u \mapsto f_u\) is injective on \([r]^k\): none of these is needed for the lower bound, which follows from ‘cond:e1-free-iso‘ in one line; the isometry hypothesis only serves, in the paper, to make the covering numbers meaningful.)
If \(A \subseteq \mathcal X\) satisfies \(f_i(A) \subseteq A\) for all \(i\), then \(f_u(A) \subseteq A\) for every word \(u\).
Induction on \(u\).
(Probe construction for E2.) Under the hypotheses of ‘cond:e2-pingpong‘, for every word \(u\) there is a point \(x_u \in Q = \{ q\} \cup \bigcup _j V_j\) with \(f_u(x_u) = q\) and \(f_v(x_u) \in A = \{ a_1, \dots , a_r\} \) for every word \(v \ne u\) of the same length.
Induction on \(u\), building the probe backwards. For \(u = \emptyset \) take \(x = q\). For \(u = (i, u')\) with probe \(x'\) of \(u'\), pick \(x \in V_i\) with \(f_i(x) = x'\) (coding core). Then \(f_u(x) = f_{u'}(x') = q\). If \(v = (j, v') \ne u\): when \(j = i\), \(v' \ne u'\) and \(f_v(x) = f_{v'}(x') \in A\) by induction; when \(j \ne i\), \(x \in U_i\) lies outside \(U_j\) (chambers are disjoint), so \(f_j(x) = a_j \in A\) (reset) and \(f_{v'}(a_j) \in A\) (invariance of \(A\)).
(E2: ping–pong coding.) Let \(F = \{ f_1, \dots , f_r\} \), \(r \ge 2\), and suppose there are sets \(V_i \subseteq U_i \subseteq \mathcal X\), anchors \(a_1, \dots , a_r \in \mathcal X\), a marker \(q \in \mathcal X\) and a constant \(\alpha {\gt} 0\) such that, with \(A = \{ a_1, \dots , a_r\} \) and \(Q = \{ q\} \cup \bigcup _j V_j\):
(disjoint chambers) \(U_i \cap U_j = \emptyset \) for \(i \ne j\);
(coding cores) \(Q \subseteq f_i(V_i)\) for every \(i\);
(reset) \(f_i(x) = a_i\) for \(x \notin U_i\), and \(f_i(A) \subseteq A\);
(marker separation) \(d(q, a_i) \ge \alpha \) for every \(i\).
Then (a) \(N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \ge r^k\) for every \(k\) and every \(\varepsilon {\lt} \alpha /2\), and (b) \(u \mapsto f_u\) is injective on \([r]^k\) for every \(k\). (This generalizes the paper, which assumes in (1) a uniform separation \(d(U_i, U_j) \ge \Delta {\gt} 0\) and additionally \(V_i \ne \emptyset \): the proof uses of (1) only the disjointness of the chambers, and \(V_i \ne \emptyset \) follows from (2) since \(q \in f_i(V_i)\); the hypothesis \(r \ge 2\) is not used.)
Choose the probes \(x_u\) of ‘lem:e2-probe‘. For (a), use the \(r^k\) probes \(P = (x_v)_{v \in [r]^k}\): for \(u \ne w\) in \([r]^k\) the evaluations differ at the coordinate \(w\), where \(f_u(x_w) \in A\) and \(f_w(x_w) = q\), so they are at distance \(\ge \alpha \); conclude by ‘lem:pow-le-covering-of-probes‘. For (b), if \(f_u = f_v\) with \(u \ne v\) of the same length then \(q = f_u(x_u) = f_v(x_u) \in A\), contradicting \(\alpha {\gt} 0\).
4.7 Memory-preserving expansion: super- and double-exponential growth (Appendix F.4, E3)
\(w_u \in B(2k+1, F)\) for every \(u \in G^k\).
Induction on \(k\): \(r \in F \subseteq B(1,F)\), and \(A, g_{u_k} \in F\) add two letters.
\(W_k \subseteq B(2k+1, F)\).
(E3 (i).) For every \(x \in X\), \(w_u(x) = (\lambda u_{k-1}, \lambda ^2 u_{k-2}, \dots , \lambda ^k u_0, 0, 0, \dots )\): coordinate \(j {\lt} k\) of \(w_u(x)\) is \(\lambda ^{j+1} u_{k-1-j}\) and the coordinates \(j \ge k\) vanish. In particular \(w_u\) is a constant map.
Induction on \(k\). For \(k+1\): coordinate \(0\) of \(A(g_a(y))\) is \(\lambda a\) with \(a = u_k\), and coordinate \(j+1\) is \(\lambda y_j\) where \(y = w_{u|_k}(x)\); apply the induction hypothesis to \(y\).
\(w_u\) is constant: \(w_u(x) = w_u(y)\) for all \(x, y\).
For \(\lambda \ne 0\) the map \(u \mapsto w_u\) is injective on \(E^k\).
Coordinate \(k-1-i\) of \(w_u(0)\) is \(\lambda ^{k-i} u_i\), and \(\lambda ^{k-i} \ne 0\).
If \(f : \mathbb N \to [0,\infty ]\) vanishes on \(j \ge k\) then \(\sup _{j \in \mathbb N} f(j) = \max _{j {\lt} k} f(j)\).
(E3 (ii).) For \(u, v \in E^k\), \(d_\infty (w_u, w_v) = \max _{0 \le j {\lt} k} \min \{ 1, \lambda ^{j+1} \| u_{k-1-j} - v_{k-1-j}\| _E\} \) (the paper’s \(\max _{1 \le j \le k} \min \{ 1, \lambda ^{k-j+1}\| u_j - v_j\| \} \) after reindexing).
Both maps are constant, so \(d_\infty (w_u,w_v) = d_X(w_u(0), w_v(0))\); the coordinates \(j \ge k\) of both vanish and coordinate \(j {\lt} k\) contributes \(\min \{ 1, \| \lambda ^{j+1}(u_{k-1-j} - v_{k-1-j})\| \} \).
The same identity for the extended distance of \((\mathcal X^{\mathcal X}, d_\infty )\).
(E3 (iii), upper bound.) For every \(\varepsilon \ge 0\) (and \(\lambda \ne 0\)),
Take minimal \(\varepsilon /\lambda ^{j+1}\)-covers \(C_j\) of \(G\). For \(u \in G^k\) choose \(c_i \in C_{k-1-i}\) with \(\| u_i - c_i\| \le \varepsilon /\lambda ^{k-i}\); then by (ii) \(d_\infty (w_u, w_c) \le \max _j \lambda ^{j+1} \| u_{k-1-j} - c_{k-1-j}\| \le \varepsilon \). So \(w(\prod _i C_{k-1-i})\) is an \(\varepsilon \)-cover of \(W_k\) of cardinality \(\le \prod _j |C_j|\).
(Product packing.) Let \(2\varepsilon {\lt} 1\), \(\lambda \ne 0\), and let \(P_j \subseteq G\) be \(2\varepsilon /\lambda ^{j+1}\)-separated (\(0 \le j {\lt} k\)). Then \(\prod _j |P_j| \le M(W_k, d_\infty , 2\varepsilon )\).
The set \(w(\prod _i P_{k-1-i}) \subseteq W_k\) is \(2\varepsilon \)-separated: if \(u \ne v\) then \(u_i \ne v_i\) for some \(i\), and with \(j = k-1-i\) the \(j\)-th term of (ii) is \(\min \{ 1, \lambda ^{j+1}\| u_i - v_i\| \} {\gt} \min \{ 1, 2\varepsilon \} = 2\varepsilon \). Since \(w\) is injective its cardinality is \(\prod _i |P_{k-1-i}| = \prod _j |P_j|\).
In \(\mathbb N \cup \{ \infty \} \), a finite product of suprema over nonempty index types is the supremum of the products: \(\prod _{i \in s} \sup _{a \in A_i} g_i(a) = \sup _{x \in \prod _i A_i} \prod _{i \in s} g_i(x_i)\).
Induction on \(s\), distributing multiplication over suprema (‘ENat.mul_iSup‘, ‘ENat.iSup_mul‘) and identifying pairs \((a, x)\) with the update \(x[i := a]\).
(E3 (iii), lower bound.) For every \(0 \le \varepsilon {\lt} 1/2\) (and \(\lambda \ne 0\)),
Each packing number is a supremum over separated subsets of \(G\); by ‘lem:enat-prod-isup‘ the product is the supremum over families \((P_j)_j\) of \(\prod _j |P_j|\), which is bounded by \(M(W_k, 2\varepsilon ) \le N^{\mathrm{ext}}(W_k, \varepsilon )\) by ‘lem:e3-prod-packing-family‘ and ‘lem:packing-covering‘.
\(N^{\mathrm{ext}}(W_k, d_\infty , \varepsilon ) \le N^{\mathrm{ext}}(B(2k+1,F), d_\infty , \varepsilon )\) (monotonicity of the external covering number under \(W_k \subseteq B(2k+1,F)\)).
(E3: memory-preserving expansion grows super- or double-exponentially.) Let \(E\) be a normed space, \(G \subseteq E\), \(\lambda {\gt} 1\), \(X = E^{\mathbb N}\) with the bounded sup metric, \(F = \{ r, A\} \cup \{ g_u : u \in G\} \) and \(W_k = \{ w_u : u \in G^k\} \subseteq B(2k+1, F)\). Then (i) each \(w_u\) is the constant map with value \((\lambda u_{k-1}, \dots , \lambda ^k u_0, 0, \dots )\) (‘cond:e3-i‘), (ii) \(d_\infty (w_u, w_v) = \max _{j{\lt}k} \min \{ 1, \lambda ^{j+1}\| u_{k-1-j} - v_{k-1-j}\| \} \) (‘cond:e3-ii‘), and (iii) for every \(0 {\lt} \varepsilon {\lt} 1/2\),
Consequently \(N^{\mathrm{ext}}(B(2k+1,F), d_\infty , \varepsilon ) \ge N^{\mathrm{ext}}(W_k, d_\infty , \varepsilon )\).
For finite nonzero \(n_i \in \mathbb N \cup \{ \infty \} \), \(\log \prod _i n_i = \sum _i \log n_i\) (with the coercion to \([0,\infty ]\) and ‘toReal‘).
If \(G \ne \emptyset \) and all \(N^{\mathrm{ext}}(G, \varepsilon /\lambda ^{j+1})\) are finite, then \(\log N^{\mathrm{ext}}(W_k, \varepsilon ) \le \sum _{j{\lt}k} \log N^{\mathrm{ext}}(G, \varepsilon /\lambda ^{j+1})\).
Take logarithms in ‘cond:e3-iii-upper‘; all quantities are finite and positive since \(G\) (hence \(W_k\)) is nonempty.
If \(G \ne \emptyset \), \(\varepsilon {\lt} 1/2\), all \(M(G, 2\varepsilon /\lambda ^{j+1})\) and \(N^{\mathrm{ext}}(W_k, \varepsilon )\) are finite, then \(\sum _{j{\lt}k} \log M(G, 2\varepsilon /\lambda ^{j+1}) \le \log N^{\mathrm{ext}}(W_k, \varepsilon )\).
Take logarithms in ‘cond:e3-iii-lower‘.
\(\sum _{j{\lt}k} \log \bigl(\lambda ^{j+1}/a\bigr) = \frac{k(k+1)}{2}\log \lambda - k \log a\) for \(a, \lambda {\gt} 0\).
Induction on \(k\) using \(\log (\lambda ^{j+1}/a) = (j+1)\log \lambda - \log a\).
If \(0 \le a {\lt} \lambda \delta _0\) and \(\lambda {\gt} 1\) then \(a/\lambda ^{j+1} {\lt} \delta _0\) for every \(j\).
If \(c_- \log (1/\delta ) \le \log M(G, \delta )\) for all small \(\delta {\gt} 0\) with \(c_- {\gt} 0\), then \(G \ne \emptyset \).
Otherwise \(M(G, \delta ) = 0\) and \(\log 0 = 0 {\lt} c_- \log (1/\delta )\) for \(\delta = \min \{ \delta _0/2, 1/2\} \).
(Upper bound in sum form.) Suppose \(N^{\mathrm{ext}}(G,\delta ) {\lt} \infty \) for all \(\delta {\gt} 0\), \(G \ne \emptyset \), and \(\log N^{\mathrm{ext}}(G, \delta ) \le \varphi (\delta )\) for \(0 {\lt} \delta {\lt} \delta _0\). If \(0 {\lt} \varepsilon {\lt} \lambda \delta _0\) then \(\log N^{\mathrm{ext}}(W_k, \varepsilon ) \le \sum _{j{\lt}k} \varphi (\varepsilon /\lambda ^{j+1})\) for every \(k\).
All radii \(\varepsilon /\lambda ^{j+1} \le \varepsilon /\lambda {\lt} \delta _0\), so ‘lem:e3-log-covering-le-sum‘ and the hypothesis apply termwise.
If \(N^{\mathrm{ext}}(G,\delta ) {\lt} \infty \) for all \(\delta {\gt} 0\) then \(N^{\mathrm{ext}}(W_k, \varepsilon ) {\lt} \infty \) for all \(\varepsilon {\gt} 0\).
(Lower bound in sum form.) Suppose \(N^{\mathrm{ext}}(G,\delta ) {\lt} \infty \) for all \(\delta {\gt} 0\), \(G \ne \emptyset \), and \(\varphi (\delta ) \le \log M(G, \delta )\) for \(0 {\lt} \delta {\lt} \delta _0\). If \(0 {\lt} \varepsilon {\lt} 1/2\) and \(2\varepsilon {\lt} \lambda \delta _0\) then \(\sum _{j{\lt}k} \varphi (2\varepsilon /\lambda ^{j+1}) \le \log N^{\mathrm{ext}}(W_k, \varepsilon )\) for every \(k\).
All radii \(2\varepsilon /\lambda ^{j+1} \le 2\varepsilon /\lambda {\lt} \delta _0\); the packing numbers are finite since \(M(G, 2\delta ) \le N^{\mathrm{ext}}(G, \delta )\); apply ‘lem:e3-sum-log-packing-le‘ and the hypothesis termwise.
(Super-exponential regime.) Assume there are \(c_-, c_+, \delta _0 {\gt} 0\) with \(c_- \log (1/\delta ) \le \log M(G, \delta )\) and \(\log N^{\mathrm{ext}}(G, \delta ) \le c_+ \log (1/\delta )\) for all \(0 {\lt} \delta {\lt} \delta _0\), and that \(N^{\mathrm{ext}}(G, \delta ) {\lt} \infty \) for all \(\delta {\gt} 0\) (automatic for compact \(G\)). Then for every fixed \(\varepsilon \) with \(0 {\lt} \varepsilon {\lt} 1/2\) and \(\varepsilon {\lt} \lambda \delta _0/2\) there are \(C_1, C_2 {\gt} 0\) and \(k_0\) such that \(C_1 k^2 \le \log N^{\mathrm{ext}}(W_k, d_\infty , \varepsilon ) \le C_2 k^2\) for all \(k \ge k_0\). (The smallness condition \(\varepsilon {\lt} \lambda \delta _0/2\) makes every radius \(2\varepsilon /\lambda ^{j+1} \le 2\varepsilon /\lambda \) fall below \(\delta _0\); it cannot be replaced by "large \(k\)" since the \(j = 0\) radius does not shrink with \(k\).)
By the sum forms of (iii) and the entropy hypotheses,
and \(\sum _{j{\lt}k} \log (\lambda ^{j+1}/a) = \frac{k(k+1)}{2}\log \lambda + k\log (1/a)\). For \(k \ge 1\) and \(a \le 1\) this is between \(\frac{\log \lambda }{2} k^2\) and \((\log \lambda + \log (1/a)) k^2\); take \(C_1 = c_- \log \lambda / 2\), \(C_2 = c_+(\log \lambda - \log \varepsilon )\), \(k_0 = 1\).
\(\sum _{j{\lt}k} (a/\lambda ^{j+1})^{-p} = a^{-p} \sum _{j{\lt}k} (\lambda ^p)^{j+1}\) for \(a, \lambda {\gt} 0\).
Termwise: \((a/\lambda ^{j+1})^{-p} = (\lambda ^{j+1})^p / a^p = a^{-p} (\lambda ^p)^{j+1}\).
For \(q {\gt} 1\) and \(k \ge 1\): \(q^k \le \sum _{j{\lt}k} q^{j+1} \le \frac{q}{q-1} q^k\).
The lower bound is the last term; the upper bound is the geometric sum formula \(q(q^k - 1)/(q-1)\).
If \(c_- \delta ^{-p} \le \log M(G, \delta )\) for all small \(\delta {\gt} 0\) with \(c_- {\gt} 0\), then \(G \ne \emptyset \).
Otherwise \(M(G, \delta ) = 0\) and \(\log 0 = 0 {\lt} c_- \delta ^{-p}\) for \(\delta = \delta _0/2\).
(Double-exponential regime.) Assume there are \(p, c_-, c_+, \delta _0 {\gt} 0\) with \(c_- \delta ^{-p} \le \log M(G, \delta )\) and \(\log N^{\mathrm{ext}}(G, \delta ) \le c_+ \delta ^{-p}\) for all \(0 {\lt} \delta {\lt} \delta _0\), and that \(N^{\mathrm{ext}}(G, \delta ) {\lt} \infty \) for all \(\delta {\gt} 0\). Then for every fixed \(\varepsilon \) with \(0 {\lt} \varepsilon {\lt} 1/2\) and \(\varepsilon {\lt} \lambda \delta _0/2\) there are \(C_1, C_2 {\gt} 0\) and \(k_0\) such that \(C_1 \lambda ^{pk} \le \log N^{\mathrm{ext}}(W_k, d_\infty , \varepsilon ) \le C_2 \lambda ^{pk}\) for all \(k \ge k_0\).
By the sum forms of (iii), with \(q = \lambda ^p {\gt} 1\),
and \(q^k \le \sum _{j{\lt}k} q^{j+1} \le \frac{q}{q-1} q^k\) for \(k \ge 1\); take \(C_1 = c_-(2\varepsilon )^{-p}\), \(C_2 = c_+ \varepsilon ^{-p} q/(q-1)\), \(k_0 = 1\).
4.8 The layerwise covering envelope and the reachable radius (Appendix G, prop:envelope, cor:envelope-profiles, lem:reachable-radius)
\(S_{m+1}(\Lambda ) = 1 + \Lambda \, S_m(\Lambda )\).
\(m \mapsto S_m(\Lambda )\) is nondecreasing.
\(S_m(\Lambda ) \ge 1\) for \(m \ge 1\).
\(S_m(\Lambda ) {\gt} 0\) for \(m \ge 1\).
With \(\Lambda _+ := \max \{ 1, \Lambda \} \), \(S_k(\Lambda ) \le k\, \Lambda _+^k\) (since \(\Lambda ^i \le \Lambda _+^k\) for \(i {\lt} k\)).
If all layers of \(u\) lie in \(F\) then \(f_u \in F^{|u|}\).
Every \(g \in F^m\) is \(f_u\) for a list \(u\) of elements of \(F\) with \(|u| = m\).
\(B(k, \emptyset ) = \{ \mathrm{id}\} \).
If \(N {\lt} \infty \) then \(1 + kN {\lt} \infty \) (in \(\mathbb N \cup \{ \infty \} \)).
For natural numbers \(k, N\): \(\log (1 + kN) \le \log (k+1) + \log N\) (with \(\log 0 = 0\)): \(1 + kN \le (k+1)N\) when \(N \ge 1\), and \(\log 1 = 0\) when \(N = 0\).
If \(A \le 1 + kN\) in \(\mathbb N \cup \{ \infty \} \) with \(N {\lt} \infty \), then \(\log A \le \log (k+1) + \log N\) (as real numbers, with \(\log \infty = \log 0 = 0\)).
(Uniform form of the telescoping estimate ‘lem:impl-word-error‘.) If every \(f \in F\) is \(\Lambda \)-Lipschitz and \(d_\infty (f, \tilde f) \le \delta \) for \(f \in F\), then \(d_\infty (f_u, \tilde f_u) \le \delta \sum _{i{\lt}|u|} \Lambda ^i\) for every list \(u\) of layers in \(F\).
(Covering the words of length \(m\).) If every \(f \in F\) is \(\Lambda \)-Lipschitz then for every \(\varepsilon \ge 0\) and \(m \ge 0\),
The \(M^m\) compositions \(c_{i_m} \circ \cdots \circ c_{i_1}\) of the centres of an \(\varepsilon /S_m(\Lambda )\)-cover \(\{ c_1, \dots , c_M\} \) of \(F\) form an \(\varepsilon \)-cover of \(F^m\) by the telescoping estimate.
Take a minimal \(\varepsilon /S_m\)-cover \(C\) of \(F\) and choose for each \(f \in F\) a centre \(\tilde f \in C\) with \(d_\infty (f, \tilde f) \le \varepsilon /S_m\). For a word \(f_u \in F^m\), \(\tilde f_u \in C^m\) and \(d_\infty (f_u, \tilde f_u) \le (\varepsilon /S_m)\sum _{i{\lt}m}\Lambda ^i = \varepsilon \); hence \(C^m\) is an \(\varepsilon \)-cover of \(F^m\) with \(|C^m| \le |C|^m\).
(First inequality of ‘prop:envelope‘.) If every \(f \in F\) is \(\Lambda \)-Lipschitz then for every \(k \ge 0\) and \(\varepsilon \ge 0\),
\(B(k,F) = \{ \mathrm{id}\} \cup \bigcup _{m=1}^k F^m\); subadditivity of the external covering number under unions and ‘lem:envelope-words‘. Induction on \(k\) with \(B(k+1,F) = B(k,F) \cup F^{k+1}\).
(Second inequality of ‘prop:envelope‘.) For every \(k \ge 0\) and \(\varepsilon \ge 0\),
because \(S_m(\Lambda ) \le S_k(\Lambda )\) for \(m \le k\), covering numbers are nonincreasing in the radius, and \(N^m \le N^k\) for \(N \ge 1\) (or \(N = 0\), \(m, k \ge 1\)).
(Simplified envelope.) If every \(f \in F\) is \(\Lambda \)-Lipschitz then for every \(k \ge 0\) and \(\varepsilon \ge 0\),
(Covering envelope, ‘prop:envelope‘ restated.) Let \(F \subseteq \mathcal X^{\mathcal X}\) consist of \(\Lambda \)-Lipschitz maps, \(\Lambda \ge 0\), and \(S_m(\Lambda ) = \sum _{i=0}^{m-1}\Lambda ^i\). For every \(k \ge 0\) and \(\varepsilon \ge 0\),
The centres of the covers of \(F\) need not belong to \(F\) nor be Lipschitz; only the Lipschitz constant of the maps in \(F\) is used. (In Lean \(\varepsilon /S_0 = 0\) and the statement holds for \(k = 0\) as well.)
If \(N^{\mathrm{ext}}(F, \varepsilon /S_k(\Lambda )) {\lt} \infty \) then \(N^{\mathrm{ext}}(B(k,F), \varepsilon ) {\lt} \infty \).
(Logarithmic form of the envelope.) If every \(f \in F\) is \(\Lambda \)-Lipschitz, \(k \ge 1\) and \(N := N^{\mathrm{ext}}(F, \varepsilon /S_k(\Lambda )) {\lt} \infty \), then \(\log N^{\mathrm{ext}}(B(k,F), \varepsilon ) \le \log (k+1) + k\log N\) (using \(1 + kN^k \le (k+1)N^k\) for \(N \ge 1\); for \(N = 0\) both sides are \(\ge 0 = \log 1\)).
(Parametric layers, entropy form of ‘cor:envelope-profiles‘(a).) Let every \(f \in F\) be \(\Lambda \)-Lipschitz and suppose \(N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) {\lt} \infty \) and \(\log N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) \le p\log (C/\varepsilon )\) for all \(0 {\lt} \varepsilon \le C\), with \(p \ge 0\). Then for \(k \ge 1\) and \(0 {\lt} \varepsilon \le C\),
Apply the logarithmic envelope at the radius \(\varepsilon /S_k(\Lambda ) \le \varepsilon \le C\) and the hypothesis on \(F\) there; \(\log \bigl(C/(\varepsilon /S_k)\bigr) = \log (C/\varepsilon ) + \log S_k\).
(Nonparametric layers, entropy form of ‘cor:envelope-profiles‘(b).) Let every \(f \in F\) be \(\Lambda \)-Lipschitz and suppose \(N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) {\lt} \infty \) and \(\log N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) \le c\, \varepsilon ^{-q}\) for all \(\varepsilon {\gt} 0\), with \(c \ge 0\). Then for \(k \ge 1\) and \(\varepsilon {\gt} 0\),
Apply the logarithmic envelope at the radius \(\varepsilon /S_k(\Lambda )\) and the hypothesis on \(F\) there; \((\varepsilon /S_k)^{-q} = S_k^q\varepsilon ^{-q}\).
(Transfer to the empirical metric.) If every \(f \in F\) is \(\Lambda \)-Lipschitz and \(N^{\mathrm{ext}}(F, d_\infty , \varepsilon /(2S_k(\Lambda ))) {\lt} \infty \), then \(\log N(B(k,F), d_S, \varepsilon ) \le \log N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon /2)\) for every sample \(S\) (‘lem:covering-empSpace-le-external-unifMaps‘).
(Profiles from the envelope: parametric layers, ‘cor:envelope-profiles‘(a).) Let every \(f \in F\) be \(\Lambda \)-Lipschitz, let \(\overline D {\gt} 0\), \(C \ge \overline D\), \(p \ge 0\), and suppose \(N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) {\lt} \infty \) and \(\log N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) \le p\log (C/\varepsilon )\) for all \(0 {\lt} \varepsilon \le C\). If \(D_k(S) \le \overline D\) then, for \(k \ge 1\), with \(\Lambda _+ := \max \{ 1,\Lambda \} \),
(The paper has \(C\) in place of \(2C\): the factor \(2\) is the price of comparing the internal covering number in \(d_S\) defining \(\mathsf V_k(S)\) with the external one in \(d_\infty \), ‘lem:covering-empSpace-le-external-unifMaps‘.)
Pointwise, for \(0 {\lt} \varepsilon \le \overline D\): \(\log N(B(k,F), d_S, \varepsilon ) \le \log N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon /2) \le \log (k+1) + kp[\log (2C/\varepsilon ) + \log S_k]\), with \(\log (2C/\varepsilon ) = \log (2C/\overline D) + \log (\overline D/\varepsilon )\) and \(\log S_k \le \log k + k\log \Lambda _+\); take square roots termwise and integrate, using \(\int _0^{\overline D}\sqrt{\log (\overline D/\varepsilon )} \, d\varepsilon = \tfrac {\sqrt\pi }{2}\overline D\).
(Profiles from the envelope: nonparametric layers, ‘cor:envelope-profiles‘(b).) Let every \(f \in F\) be \(\Lambda \)-Lipschitz, let \(\overline D {\gt} 0\), \(c \ge 0\), \(0 {\lt} q {\lt} 2\), and suppose \(N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) {\lt} \infty \) and \(\log N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) \le c\, \varepsilon ^{-q}\) for all \(\varepsilon {\gt} 0\). If \(D_k(S) \le \overline D\) then, for \(k \ge 1\),
(The paper has \(S_k(\Lambda )^{q/2}\) in place of \((2S_k(\Lambda ))^{q/2}\): the factor \(2\) is the price of comparing the internal covering number in \(d_S\) with the external one in \(d_\infty \).)
Pointwise, \(\log N(B(k,F), d_S, \varepsilon ) \le \log N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon /2) \le \log (k+1) + kc\, (2S_k)^q\varepsilon ^{-q}\), so \(\sqrt{\log N} \le \sqrt{\log (k+1)} + \sqrt{kc}(2S_k)^{q/2}\varepsilon ^{-q/2}\); integrate, using \(\int _0^{\overline D}\varepsilon ^{-q/2}\, d\varepsilon = \overline D^{1-q/2}/(1-q/2)\) for \(q {\lt} 2\).
(Profiles from the envelope, ‘cor:envelope-profiles‘.) Let every \(f \in F\) be \(\Lambda \)-Lipschitz, \(\overline D {\gt} 0\), \(k \ge 1\) and \(D_k(S) \le \overline D\).
(Parametric layers.) If \(N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) {\lt} \infty \) and \(\log N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) \le p\log (C/\varepsilon )\) for all \(0 {\lt} \varepsilon \le C\), with \(p \ge 0\) and \(C \ge \overline D\), then for \(0 {\lt} \varepsilon \le \overline D\), \(\log N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \le \log (k+1) + kp[\log (C/\varepsilon ) + \log S_k(\Lambda )]\), and \(\mathsf V_k(S) \le \overline D\bigl(\sqrt{\log (k+1)} + \sqrt{kp\log k} + k\sqrt{p\log \Lambda _+} + \sqrt{kp}\, (\sqrt{\log (2C/\overline D)} + \sqrt\pi /2)\bigr)\).
(Nonparametric layers.) If \(N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) {\lt} \infty \) and \(\log N^{\mathrm{ext}}(F, d_\infty , \varepsilon ) \le c\, \varepsilon ^{-q}\) for all \(\varepsilon {\gt} 0\), with \(c \ge 0\) and \(0 {\lt} q {\lt} 2\), then for \(\varepsilon {\gt} 0\), \(\log N^{\mathrm{ext}}(B(k,F), d_\infty , \varepsilon ) \le \log (k+1) + kc\, S_k(\Lambda )^q\varepsilon ^{-q}\), and \(\mathsf V_k(S) \le \overline D\sqrt{\log (k+1)} + \sqrt{kc}\, (2S_k(\Lambda ))^{q/2}\, \overline D^{\, 1-q/2}/(1-q/2)\).
See ‘cor:envelope-profiles-a‘ and ‘cor:envelope-profiles-b‘ for the factors \(2\).
(Reachable radius, unified form.) Let every \(f \in F\) be \(\Lambda \)-Lipschitz, \(x_0 \in \mathcal X\), \(c \ge 0\) with \(d(f(x_0), x_0) \le c\) for all \(f \in F\), and \(R \ge 0\). Then every \(g \in B(k,F)\) maps \(B(x_0, R)\) into \(B\bigl(x_0, \Lambda _+^kR + c\, S_k(\Lambda )\bigr)\), \(\Lambda _+ := \max \{ 1,\Lambda \} \): for \(d(x,x_0) \le \rho \), \(d(f(x), x_0) \le d(f(x), f(x_0)) + d(f(x_0), x_0) \le \Lambda \rho + c\); iterate.
(Reachable radius, \(\Lambda \ge 1\).) Under the hypotheses of ‘lem:reachable-radius-core‘, if \(\Lambda \ge 1\) then every \(g \in B(k,F)\) maps \(B(x_0,R)\) into \(B\bigl(x_0, \Lambda ^kR + c\, S_k(\Lambda )\bigr)\).
(Reachable radius, \(\Lambda \le 1\).) Under the hypotheses of ‘lem:reachable-radius-core‘, if \(\Lambda \le 1\) then every \(g \in B(k,F)\) maps \(B(x_0,R)\) into \(B\bigl(x_0, R + c\, S_k(\Lambda )\bigr)\).
If \(d(f(x_i), g(x_i)) \le D\) for every sample point, with \(D \ge 0\), then \(d_S(f,g) \le D\).
(Diameter of the reachable states.) Under the hypotheses of ‘lem:reachable-radius-core‘, if the sample lies in \(B(x_0, R)\) then \(D_k(S) \le 2\bigl(\Lambda _+^kR + c\, S_k(\Lambda )\bigr)\): bounded in \(k\) if \(\Lambda {\lt} 1\), at most linear if \(\Lambda = 1\), at most exponential if \(\Lambda {\gt} 1\).
\(d(f(x_i), g(x_i)) \le d(f(x_i), x_0) + d(x_0, g(x_i)) \le 2\rho \) for \(f, g \in B(k,F)\); take the supremum.
(Reachable radius.) Let every \(f \in F\) be \(\Lambda \)-Lipschitz, \(x_0 \in \mathcal X\), \(R \ge 0\), and suppose \(d(f(x_0), x_0) \le c\) for all \(f \in F\) (with \(c \ge 0\)). Then every \(g \in B(k,F)\) maps the ball \(B(x_0,R)\) into \(B\bigl(x_0, \Lambda ^kR + c\, S_k(\Lambda )\bigr)\) when \(\Lambda \ge 1\), and into \(B\bigl(x_0, R + c\, S_k(\Lambda )\bigr)\) when \(\Lambda \le 1\). Consequently, if \(S \subset B(x_0,R)\), then \(D_k(S) \le 2\bigl(\Lambda _+^kR + c\, S_k(\Lambda )\bigr)\) with \(\Lambda _+ = \max \{ 1,\Lambda \} \): bounded in \(k\) if \(\Lambda {\lt} 1\), at most linear if \(\Lambda = 1\), and at most exponential if \(\Lambda {\gt} 1\).