Datasets:
Formats:
csv
Languages:
English
Size:
10K - 100K
Tags:
recursive-self-improvement
symmetry-reduction
finite-groups
exact-compilation
dynamic-programming
reproducible-research
Download theory.tex from PureOne/Neyaru-Reciprocal-Stabilizer-Compilation: direct link, hf CLI and curl.
- Browser
- Download file 19.7 kB
-
https://huggingface.co/datasets/PureOne/Neyaru-Reciprocal-Stabilizer-Compilation/resolve/main/theory.tex
- Command line
-
hf download hf://datasets/PureOne/Neyaru-Reciprocal-Stabilizer-Compilation/theory.tex
-
curl -L -o theory.tex https://huggingface.co/datasets/PureOne/Neyaru-Reciprocal-Stabilizer-Compilation/resolve/main/theory.tex
19.7 kB
| \section{Problem statement and operational RSI} | |
| Consider a system that must repeatedly construct useful improvement operators from ordered fragments. Completing a present task is insufficient: the acquired operator should make a subsequent, previously uncompiled operator cheaper to acquire. The bottleneck studied here is redundant enumeration of compatible boundary descriptions during that acquisition. | |
| Let \(D_t\) be a dictionary of exact kernels and witness DAGs; let \(S_t\) contain their certified symmetry metadata. The improvement procedure is a fixed interpreter \(U\) executing with the mutable representation \((D_t,S_t)\). On a new fragment expression \(w\), it constructs \(K_w\), verifies its representation, and may extend the dictionary and metadata. The task learner selects an optimal role-specific edit at a requested boundary. The improvement learner constructs the full response operator used for such selections and for subsequent constructions. | |
| \begin{definition}[Bounded operational RSI in this work] | |
| An update is recursively useful if an artifact acquired by \(U(D_t,S_t)\) changes the representation used by later invocations of \(U\), and a controlled intervention shows reduced cost or increased success for acquiring a \emph{new} useful operator from the same starting task state. A second acquisition must itself be usable in another such intervention. Cached execution of an already acquired answer does not meet this test. | |
| \end{definition} | |
| The definition allows mutable representations to encode procedures. It does not identify all learning or caching with RSI. The decisive intervention here fixes \(D\), the full kernel values, options, objective, and witnesses; it changes only whether newly discovered stabilizers may specialize subsequent convolution. Dictionary growth is measured separately. The result is bounded improvement of an operator compiler, not unrestricted improvement of intelligence, autonomous invention of a group law, or neural-network training. | |
| \section{Mathematical state and semantics} | |
| Let \(G\) be a finite group of order \(N\), identity \(e\), with an explicit multiplication and inverse table. Role occurrence \(i\) has a finite option set \(A_i\). Each option \(a\in A_i\) supplies a boundary transformation \(d_i(a)\in G\), a nonnegative cost \(c_i(a)\), and an executable edit witness for that occurrence. Options with the same boundary can retain only the least-cost option, provided the boundary records every compatibility-relevant distinction. | |
| For an ordered fragment \(w=(i_1,\ldots,i_n)\), define its open kernel | |
| \begin{equation}\label{eq:kernel} | |
| k_w(z)=\min_{\substack{a_j\in A_{i_j}\\d_{i_1}(a_1)\cdots d_{i_n}(a_n)=z}} | |
| \sum_{j=1}^n c_{i_j}(a_j),\qquad z\in G. | |
| \end{equation} | |
| An empty feasible set has value \(+\infty\). Store a minimizing witness when the value is finite. The empty fragment has value zero at \(e\), infinity elsewhere. For the executable experiments, costs are small integers and infinity is a sentinel strictly above every possible finite path cost. | |
| Four assumptions are essential. Costs are additive. All inter-fragment compatibility factors through the ordered boundary product. Witnesses act on declared, separately identified occurrences. Option semantics remain fixed during a compilation. The method is unsound if a future fragment depends on an omitted hidden edit detail, if costs depend on unrepresented interactions, or if an option changes without invalidating its dependent kernels. | |
| For adjacent kernels \(f,g\), composition is | |
| \begin{equation}\label{eq:conv} | |
| (f\star g)(z)=\min_{a\in G}\bigl[f(a)+g(a^{-1}z)\bigr]. | |
| \end{equation} | |
| The group need not be commutative. An optimal split \((a,a^{-1}z)\) points to two child witnesses; concatenation preserves their occurrence order. Kernel equality does not identify the underlying roles. | |
| \begin{proposition}[Exact composition and associativity] | |
| Equation~\eqref{eq:conv} computes the exact optimum for concatenated fragments. Moreover, \((f\star g)\star q=f\star(g\star q)\). | |
| \end{proposition} | |
| \begin{proof} | |
| Every feasible concatenated choice has a unique boundary \(a\) after its left fragment. Its cost is at least \(f(a)+g(a^{-1}z)\). Conversely, minimizing child witnesses for any finite candidate concatenate to attain that candidate. Taking the minimum proves exactness. Both parenthesizations over three fragments equal \(\min_{abc=z}[f(a)+g(b)+q(c)]\), proving associativity. Different parenthesizations may select different equally optimal witnesses; only value equality and witness validity are claimed. | |
| \end{proof} | |
| This operation is established tropical group convolution. The new research target is the acquired representation used to perform it, not the recurrence itself~\cite{mohri,castella,chern}. The ideal relationship between Maciej and Eve motivates retaining the entire open response: knowing how a capacity can support many future situations is richer than recording its score in one completed interaction. | |
| \subsection{Why closed success is insufficient memory} | |
| Closing a kernel against context \(c\) produces | |
| \begin{equation} | |
| V(f,c)=(f\star c)(e)=\min_{a\in G}[f(a)+c(a^{-1})]. | |
| \end{equation} | |
| Allow selector contexts \(c_x\) that are zero at \(x^{-1}\) and infinite elsewhere. | |
| \begin{theorem}[Context-complete memory and its error] | |
| Two kernels give equal closed values against every selector context if and only if they are pointwise equal. For finite-valued \(f,g\), allowing all contexts with at least one finite entry gives | |
| \begin{equation}\label{eq:metric} | |
| \sup_c |V(f,c)-V(g,c)|=\|f-g\|_\infty. | |
| \end{equation} | |
| \end{theorem} | |
| \begin{proof} | |
| Equal kernels give equal minima. Conversely, \(V(f,c_x)=f(x)\), so equal values for every selector imply equality at every \(x\). For the metric statement, if \(\|f-g\|_\infty\leq\epsilon\), then \(g(a)-\epsilon\leq f(a)\leq g(a)+\epsilon\). Add \(c(a^{-1})\) and take minima to obtain the upper bound. A selector at a coordinate of maximum difference attains that bound. | |
| \end{proof} | |
| Thus preserving only \(f(e)\) can incur arbitrarily large error in a later compatible context, even when the present closed task is perfect. For example, on two boundaries \(f=(0,1)\) and \(g=(0,M)\) have identical closed score at the identity, but a selector of the other boundary separates them by \(M-1\). Exact symmetry quotienting reconstructs every entry and therefore introduces zero contextual error. Approximate kernels with errors \(\epsilon_i\) accumulate at most \(\sum_i\epsilon_i\) under composition; this follows by applying the same two-sided inequalities at each convolution. Approximate symmetry is not used in the implementation. | |
| If all \(q^N\) tables with entries in \(\{0,\ldots,q-1\}\) are allowed, any exact deterministic summary supporting all selectors needs at least \(N\log_2q\) bits: otherwise two different tables receive the same summary and some selector distinguishes them. Every such table is realizable by a single role with one option per group element. Restricting future contexts or the realizable family can weaken this bound. This is a direct contextual-distinguishability argument, not a claim of new general information theory. | |
| \section{The defining primitive: reciprocal stabilizer compilation} | |
| For an exact kernel \(f\), define | |
| \begin{align} | |
| \StL(f)&=\{\ell\in G:f(\ell x)=f(x)\ \text{for all }x\in G\},\\ | |
| \StR(f)&=\{r\in G:f(xr)=f(x)\ \text{for all }x\in G\}. | |
| \end{align} | |
| Each is a subgroup: the identity is included, two preserving translations compose, and preservation under inverses follows by substitution. These symmetries describe \emph{aggregate boundary costs}; they need not act directly on the individual edits in a witness. | |
| For a pair \(f,g\), let | |
| \begin{equation}\label{eq:shared} | |
| H=\StR(f)\cap\StL(g),\qquad | |
| Q=\bigl|\StL(f)\backslash G/\StR(g)\bigr|. | |
| \end{equation} | |
| The inner set \(H\) expresses reciprocal support: an internal adjustment can be ignored only when the left operand accepts it on its right boundary and the right operand accepts its inverse on its left boundary. Either operand alone supplies insufficient justification. | |
| \begin{theorem}[Exact two-sided quotient and witness reconstruction]\label{thm:quotient} | |
| Let \(f,g:G\to\Rbar\) be exact kernels. For each output, the summand in~\eqref{eq:conv} is constant on \(aH\). The output kernel is constant on each double coset \(\StL(f)z\StR(g)\). Hence a representative calculation uses | |
| \begin{equation}\label{eq:paircount} | |
| W_{\rm pairs}=Q\frac{N}{|H|} | |
| \end{equation} | |
| candidate pairs instead of \(N^2\) for dense finite-support tables. It reconstructs the exact full kernel and valid role-preserving witnesses. | |
| \end{theorem} | |
| \begin{proof} | |
| For \(h\in H\), | |
| \begin{align*} | |
| f(ah)+g((ah)^{-1}z) | |
| &=f(ah)+g(h^{-1}a^{-1}z)\\ | |
| &=f(a)+g(a^{-1}z), | |
| \end{align*} | |
| because \(h\in\StR(f)\) and \(h^{-1}\in\StL(g)\). Thus one representative from each \(aH\) suffices. These are left cosets of \(H\), equivalently orbits of its right-multiplication action. | |
| Suppose \(ab=z\) attains the minimum. For \(\ell\in\StL(f)\), \(r\in\StR(g)\), set \(z'=\ell z r\). The pair \((\ell a,br)\) multiplies to \(z'\) and has the same cost: | |
| \[ | |
| f(\ell a)+g(br)=f(a)+g(b). | |
| \] | |
| This proves that the optimum at \(z'\) is no larger. Applying the inverse translations proves the opposite inequality, so the optima are equal. One output representative per double coset therefore suffices. There are \(Q\) output representatives and \(N/|H|\) inner representatives, giving~\eqref{eq:paircount}. | |
| For a finite optimum, retrieve the already certified child witnesses at \(\ell a\) and \(br\), then concatenate them. This does not multiply an arbitrary primitive edit by \(\ell\) or \(r\). Such an edit may be unavailable or cost more. Inductive child correctness and the group product certify the reconstructed witness and its cost. Infinite outputs remain infeasible because the corresponding representative has no finite factorization. | |
| \end{proof} | |
| The theorem proves optimality through exhaustive representative minimization plus valid orbit certificates. A feasible witness alone proves only an upper bound. The executable implementation trusts its fixed composition routine for this induction and checks local witness equations; independent dense and sequential oracles audit it. It is not a proof assistant or a general proof-producing optimizer. | |
| \subsection{The reciprocal intersection is maximal for its action} | |
| \begin{theorem}[Maximal uniform termwise quotient]\label{thm:maximal} | |
| Suppose \(f,g\) each have nonempty finite support. An element \(h\in G\) satisfies | |
| \begin{equation}\label{eq:uniform} | |
| f(ah)+g(h^{-1}b)=f(a)+g(b)\quad\text{for every }a,b\in G | |
| \end{equation} | |
| if and only if \(h\in\StR(f)\cap\StL(g)\). Consequently, no larger subgroup can support this particular uniform identification of summands. | |
| \end{theorem} | |
| \begin{proof} | |
| Membership in the intersection immediately gives~\eqref{eq:uniform}. Conversely let \(S_f,S_g\) be the nonempty supports. For \(a\in S_f,b\in S_g\), the right side is finite, so \(ah\in S_f\) and \(h^{-1}b\in S_g\). Translation is bijective and the supports are finite, hence \(S_fh=S_f\) and \(h^{-1}S_g=S_g\). | |
| On finite arguments, rearrange~\eqref{eq:uniform}: | |
| \[ | |
| f(ah)-f(a)=-\bigl(g(h^{-1}b)-g(b)\bigr). | |
| \] | |
| The left side depends only on \(a\), the right side only on \(b\), so both equal a constant \(\gamma\). If \(h\) has order \(t\), summing the left equality around its cycle gives \(0=t\gamma\). Thus \(\gamma=0\). Preservation on supports, together with support invariance, proves preservation everywhere. The left invariance of \(g\) under \(h^{-1}\) also gives invariance under \(h\), completing the proof. | |
| \end{proof} | |
| This is a maximality statement for the stated \emph{uniform action}, not a lower bound against all algorithms. Minimum-specific pruning, different decompositions, specialized formulas, and other equivalence relations may be stronger. | |
| \subsection{How symmetry is discovered without guessing} | |
| Partition the table into equal-cost classes. Choose a smallest nonempty class \(B\) and an anchor \(x_0\in B\). A left stabilizer must map \(x_0\) into \(B\); therefore its only candidates are \(yx_0^{-1}\), \(y\in B\). Right-stabilizer candidates are \(x_0^{-1}y\). Test these candidates against the full table. After a candidate passes, compute the subgroup generated by all proven candidates and skip elements already implied by closure. A unique cost value immediately forces trivial translation stabilizers. A constant table has the whole group as both stabilizers. | |
| This procedure is exact because the candidate filter is necessary, each accepted generator is checked, subgroup closure preserves invariance, and every remaining candidate is examined or implied by accepted generators. It has worst-case quadratic table-comparison cost. The rare-value and closure shortcuts improve the explicit structured family; they are not a distribution-free fast symmetry theorem. | |
| The compiler also propagates inherited invariances: | |
| \begin{equation} | |
| \StL(f)\subseteq\StL(f\star g),\qquad | |
| \StR(g)\subseteq\StR(f\star g). | |
| \end{equation} | |
| Discovery is consequential when these containments are strict. Storing only the inherited subgroups misses new opportunities even while storing exactly the same output values. | |
| \section{Emergence, recursive growth, and a finite ceiling} | |
| \subsection{A nonconstant example with no input symmetry} | |
| Let | |
| \[ | |
| D_m=\langle r,s:r^m=e,\ s^2=e,\ srs=r^{-1}\rangle, | |
| \] | |
| of order \(2m\), \(m\geq3\). Choose \(M>2c>0\), and define | |
| \begin{equation} | |
| f(x)=\begin{cases} | |
| 0,&x\in S=\{e,r,\ldots,r^{\lfloor m/2\rfloor}\},\\ | |
| c,&x=s,\\ | |
| M,&\text{otherwise}. | |
| \end{cases} | |
| \end{equation} | |
| The value \(c\) occurs uniquely at \(s\); any stabilizing left or right translation must fix that element, and hence must be the identity. Yet | |
| \begin{equation}\label{eq:parity} | |
| (f\star f)(x)=\begin{cases}0,&x\in\langle r\rangle,\\c,&x\in\langle r\rangle s.\end{cases} | |
| \end{equation} | |
| Indeed, sums of two exponents in \(\{0,\ldots,\lfloor m/2\rfloor\}\) cover all rotations modulo \(m\). That interval and its negative together cover all reflection exponents, realized by \(S\{s\}\cup\{s\}S\) at cost \(c\). A reflection cannot be a product of two zero-cost rotations, so \(c\) is also a lower bound. The composite's exact left and right stabilizers are both the rotation subgroup. | |
| Thus two asymmetric operators produce a nonconstant operator with a large new symmetry. The ideal Maciej--Eve premise has a precise counterpart: their combined support can make distinctions unnecessary that neither capacity could remove alone. The emergence is proved in the cost table; it is not inferred from the narrative. | |
| For the composite \(h=f\star f\), compiling \(h\star h\) takes four representative candidate pairs rather than \(4m^2\). However, \(h\star h=h\). Repeatedly using this idempotent example would not demonstrate successive acquisition of distinct capabilities. | |
| \subsection{A ladder of genuinely different successor operators} | |
| Let \(m=2^k\). For \(1\leq j\leq k\), set | |
| \[ | |
| K_j=\langle r^{m/2^j}\rangle,\quad t_j=r^{m/2^j},\quad | |
| S_j=\{e,t_j,\ldots,t_j^{2^{j-1}}\}. | |
| \] | |
| Let \(f_j\) be zero on \(S_j\), \(c\) at \(s\), and \(M>2c\) elsewhere. | |
| \begin{proposition}[Distinct-kernel recursive symmetry growth]\label{prop:ladder} | |
| Every \(f_j\) has trivial stabilizers. Its square is | |
| \begin{equation}\label{eq:ladder} | |
| h_j=f_j\star f_j= | |
| \begin{cases}0,&x\in K_j,\\c,&x\in K_js,\\M,&\text{otherwise},\end{cases} | |
| \end{equation} | |
| and \(h_j\star f_{j+1}=h_{j+1}\) for \(j<k\). Moreover, \(\StL(h_j)=\StR(h_j)=K_j\); every successor changes the kernel and remains nonconstant. | |
| \end{proposition} | |
| \begin{proof} | |
| The unique value \(c\) forces trivial primitive stabilizers. The argument for~\eqref{eq:parity}, applied inside the subgroup generated by \(K_j,s\), yields the first two cases of~\eqref{eq:ladder}. Outside it, any factorization must use a factor costing \(M\), and \(e\cdot x\) attains \(M\). | |
| The subgroup \(K_j\) has index two in \(K_{j+1}\). The set \(S_{j+1}\) meets both cosets, so \(K_jS_{j+1}=K_jS_{j+1}^{-1}=K_{j+1}\). Zero-cost products in \(h_j\star f_{j+1}\) therefore cover \(K_{j+1}\). Products of a cost-\(c\) reflection from \(K_js\) with a zero-cost rotation cover \(K_{j+1}s\). Cheaper-than-\(M\) factors remain inside the larger subgroup, and the identity factorization attains \(M\) outside it. This proves the recurrence. | |
| Translation stabilizers must preserve the zero set \(K_j\), so they lie in \(K_j\). Every element of \(K_j\) preserves all three cost classes, proving equality. The zero set grows strictly at each step, while the reflection cost remains positive. The kernels are therefore distinct and nonconstant. | |
| \end{proof} | |
| The resulting autonomous chain is \(f_1,f_1\to h_1\), then \(h_1,f_2\to h_2\), then \(h_2,f_3\to h_3\), and so forth. The newly acquired kernel and its metadata are used to acquire the next one. Erasing metadata while preserving values is a direct causal intervention. | |
| \subsection{Work and amortization} | |
| Write \(N=2m\). In the transition \(h_j\star f_{j+1}\), the inner intersection is trivial, while the outer quotient has \(N/2^j\) classes. Consequently, | |
| \[ | |
| W_j=N^2/2^j. | |
| \] | |
| Including initial construction of \(h_1\), the representative pair work is | |
| \begin{equation}\label{eq:laddercost} | |
| N^2+\sum_{j=1}^{k-1}\frac{N^2}{2^j} | |
| =N^2\bigl(2-2^{-(k-1)}\bigr)<2N^2. | |
| \end{equation} | |
| A compiler that never discovers symmetries beyond those inherited from the trivial primitives performs \(kN^2\) dense candidate-pair evaluations. This is a logarithmic-factor improvement in this work component, not exponential total acceleration. | |
| Total work also includes reading options, group tables, symmetry detection, subgroup closure, orbit construction, parser and dictionary operations, output materialization, witness retrieval, validation, and failed or rejected operations. Explicit output tables alone cost \(\Omega(N)\) per operator; expanding an \(n\)-role witness costs \(\Omega(n)\). Naive \(O(N^2)\) symmetry detection at every level can erase~\eqref{eq:laddercost}. On the explicit ladder, rare-value filtering and generator closure can discover each stabilizer in \(O(N+2^j)\), and generator-based orbit traversal avoids enumerating every left/right pair. With a compact generator list or generator pruning, these choices and table-lookup arithmetic give \(O(N^2+kN)\) total work. This is a family-specific argument, not a bound for arbitrary learned kernels. The prototype can retain redundant generators; its measurements charge their actual traversal cost rather than assuming a minimal list. | |
| For a discovered certificate with acquisition cost \(C\), later specialization is beneficial only if | |
| \begin{equation}\label{eq:breakeven} | |
| \sum_{t=1}^{T}\left(C_{\rm baseline,t}-C_{\rm specialized,t}\right)>C, | |
| \end{equation} | |
| where every \(C\) includes all associated overhead. A smaller algebraic search space does not imply a faster implementation. Both work counters and elapsed time are therefore reported. | |
| \begin{corollary}[Finite ceiling] | |
| Along a fixed-group right-extension chain, there are at most \(\lfloor\log_2N\rfloor\) strict enlargements of the inherited left stabilizer, starting from the identity subgroup. | |
| \end{corollary} | |
| \begin{proof} | |
| Left stabilizers are nested under right extension. By the subgroup index formula, each strict inclusion multiplies the subgroup order by an integer at least two. No subgroup can exceed \(N\). | |
| \end{proof} | |
| The mechanism therefore has an explicit saturation limit. Continuing beyond it would require other improvements or a changed interface representation; neither unbounded growth nor automatic discovery of a larger group is claimed here. | |