|
Download arithmetic_appendix.md from PureOne/neriu-positive-gaussian-recovery-final: direct link, hf CLI and curl.
- Browser
- Download file 16.9 kB
-
https://huggingface.co/datasets/PureOne/neriu-positive-gaussian-recovery-final/resolve/main/arithmetic_appendix.md
- Command line
-
hf download hf://datasets/PureOne/neriu-positive-gaussian-recovery-final/arithmetic_appendix.md
-
curl -L -o arithmetic_appendix.md https://huggingface.co/datasets/PureOne/neriu-positive-gaussian-recovery-final/resolve/main/arithmetic_appendix.md
16.9 kB
| # Arithmetic appendix: from prime ranks to binary Gaussian coefficient codes | |
| This appendix gives self-contained proofs of the arithmetic results used in | |
| the final release. The starting prime-rank construction is a classical exact | |
| encoding. The subsequent binary Gaussian results concern universal algebraic | |
| payloads and formal polynomial coefficients. They are independent of the | |
| continuous Gaussian recovery theorem in the main text. | |
| ## A. The original prime-rank encoding | |
| Let `b=(b_1,...,b_l)` be a byte sequence, so `0<=b_i<=255`, and let `p_i` be | |
| the increasing primes. Set | |
| \[ | |
| r_i=p_i^{b_i+1},\qquad N=\prod_{i=1}^{\ell}r_i. | |
| \tag{A1} | |
| \] | |
| For `A=Q[t]`, take the free bimodules `A^(r_i)` with their standard left and | |
| right actions. The relative tensor product of the associated functors | |
| `A^(r_i) tensor_Q (-)` is the functor `A^N tensor_Q (-)`: tensoring free | |
| modules over `A` multiplies their ranks. Commutativity of `A` permits the | |
| usual interchange of the factors. | |
| **Proposition A1.** For known length `l`, the composite rank determines every | |
| byte by | |
| \[ | |
| b_i=\nu_{p_i}(N)-1. | |
| \tag{A2} | |
| \] | |
| **Proof.** Distinct primes contribute independently in the unique prime | |
| factorization of the positive integer `N`. Equation (A1) gives precisely | |
| exponent `b_i+1` at `p_i`, proving (A2). QED. | |
| The monad and bimodule presentation does not add a new uniqueness theorem to | |
| prime factorization. It realizes this classical arithmetic code as a rank | |
| invariant. The supplied 76-byte example has composite rank of bit length | |
| 47,552; the release verifies its byte-for-byte round trip. Text contained in | |
| a payload is data, not mathematical evidence for the assertions it expresses. | |
| ## B. A sharp binary Gaussian placement theorem | |
| Consider the Gaussian cardinal interpolant on the grid `{0,1}^d`. Write its | |
| kernel parameter as `0<q<1`; on one axis its Gram matrix is | |
| \[ | |
| G=\begin{pmatrix}1&q\\q&1\end{pmatrix}. | |
| \] | |
| An integer pilot coordinate at zero or one is cardinal, annihilating half the | |
| tensor weights. A pilot that separates all algebraic payloads must therefore | |
| be exterior in every coordinate. Reflection about `1/2` reduces its coordinates | |
| to `y_j=1+r_j`, with integer offsets `r_j>=1`. | |
| Multiplying the one-axis kernel evaluation row by `G^(-1)` gives | |
| \[ | |
| w_0(1+r;q)=q^{r^2}U_0(r;q),\qquad | |
| w_1(1+r;q)=q^{r^2}U_1(r;q), | |
| \] | |
| where | |
| \[ | |
| U_0(r;q)=-q\sum_{a=0}^{r-1}q^{2a},\qquad | |
| U_1(r;q)=\sum_{a=0}^{r}q^{2a}. | |
| \tag{B1} | |
| \] | |
| Put `R=sum r_j` and `N=2^d`. Each normalized tensor weight is reciprocal: | |
| \[ | |
| q^{2R}U_b(q^{-1})=U_b(q). | |
| \] | |
| The space of reciprocal polynomials of ambient degree `2R` has dimension | |
| `R+1`. If `q` is transcendental, evaluation identifies linear relations over | |
| the algebraic numbers with polynomial coefficient relations. | |
| **Theorem A2.** Universal separation of all algebraic payload vectors by one | |
| integer Gaussian pilot requires | |
| \[ | |
| \boxed{R\ge 2^d-1.} | |
| \tag{B2} | |
| \] | |
| The bound is attained by offsets `(1,2,4,...,2^(d-1))`. It is the exact minimum | |
| sum of distances to the cube. It does not assert Euclidean or maximum-coordinate | |
| optimality, or optimality for a fixed finite payload alphabet. | |
| **Proof of attainment.** Define the monic characters | |
| \[ | |
| \chi_{-1}=0,\quad\chi_0=1,\quad\chi_1=X, | |
| \quad\chi_{a+1}=X\chi_a-\chi_{a-1}. | |
| \] | |
| At `X=q+q^(-1)`, | |
| \[ | |
| \chi_a(X)=q^{-a}+q^{-a+2}+\cdots+q^a, | |
| \] | |
| so `U_0=-q^r chi_(r-1)` and `U_1=q^r chi_r`. At each dyadic doubling step, | |
| the character polynomial map is | |
| \[ | |
| (A_0,A_1)\longmapsto-\chi_{n-1}A_0+\chi_nA_1, | |
| \qquad \deg A_0,\deg A_1<n. | |
| \tag{B3} | |
| \] | |
| It is an integer isomorphism onto polynomials of degree less than `2n`. | |
| Indeed its inverse on `chi_k`, `0<=k<=2n-1`, is | |
| | k | A₀ | A₁ | | |
| |---|---|---| | |
| | `0<=k<=n-2` | `-chi_(n-1-k)` | `-chi_(n-2-k)` | | |
| | `k=n-1` | `-1` | `0` | | |
| | `k=n` | `0` | `1` | | |
| | `n+1<=k<=2n-1` | `chi_(k-n-1)` | `chi_(k-n)` | | |
| The formulas follow from the recurrence, equivalently from the product | |
| identities for consecutive characters. Iterating (B3) gives an integer basis | |
| of all polynomials of degree at most `N-1`. Multiplication by `q^(N-1)` gives | |
| an integer basis of every reciprocal polynomial of ambient degree `2N-2`. | |
| This proves attainment and the stronger integral statement. QED. | |
| In particular the dyadic coefficient encoder is unimodular, so it has an | |
| inverse over every commutative coefficient ring. This is a **polynomial-valued | |
| or coefficient-array** assertion. Substituting one finite-field scalar for | |
| `q` cannot inject an arbitrary vector of `N>1` field symbols into that scalar. | |
| ## C. Exact transform, stability, and its observation model | |
| Write `R=N-1`. A reciprocal polynomial `p(q)` is determined by its low | |
| coefficients `a_0,...,a_R`. If | |
| \[ | |
| p(q)=q^R\sum_{k=0}^{R}c_k\chi_k(q+q^{-1}), | |
| \] | |
| then, with out-of-range entries zero, | |
| \[ | |
| c_k=a_{R-k}-a_{R-k-2},\qquad | |
| a_j=c_{R-j}+a_{j-2}. | |
| \tag{C1} | |
| \] | |
| The inverse of (B3) on character coefficients is | |
| \[ | |
| (A_0)_j=-c_{n-1-j}+c_{n+1+j},\qquad | |
| (A_1)_j=c_{n+j}-c_{n-2-j},\quad0\le j<n. | |
| \tag{C2} | |
| \] | |
| Thus recursive encoding and decoding cost `O(N log N)` additions and | |
| subtractions. This counts arithmetic operations; operand bitlength remains | |
| relevant to machine time. | |
| **Proposition A3.** For `d>=1`, the inverse dyadic transform in low-coefficient | |
| coordinates has entries in `{0,+-1,+-2}` and exact induced infinity norm | |
| \[ | |
| \boxed{\|T^{-1}\|_\infty=N-1.} | |
| \tag{C3} | |
| \] | |
| **Proof.** A single input character follows a fixed recursive payload path | |
| through (C2) as zero or one signed character. Hence the character-basis inverse | |
| entries are `0,+-1`. Each inverse row has just one character parity and at | |
| most `N/2` entries. Conversion (C1) takes successive differences along that | |
| parity. The resulting absolute row sum is at most | |
| `1+2(N/2-1)=N-1`, and entries have magnitude at most two. Equality is attained | |
| by the payload path with first bit zero and all later bits one: its character | |
| inverse coefficients alternate `+1,-1` along their parity. Induction in (C2) | |
| sends that sequence to its negative reverse followed by itself, preserving | |
| alternation. QED. | |
| Consequently low-coefficient noise of size at most `delta` produces payload | |
| error at most `(N-1)delta`; the constant is sharp. Integer coefficient noise | |
| strictly smaller than `1/2` is removed by rounding before inversion. | |
| These are coefficient-observation guarantees. They do not recover formal | |
| coefficients from one approximate real Gaussian amplitude. At optimal dyadic | |
| placement the coefficient code is the entire reciprocal lattice and contains | |
| the center monomial `q^(N-1)`. Its coefficient Hamming distance is one, so it | |
| cannot correct an arbitrary corrupted coefficient or an erased center | |
| coefficient for unrestricted payloads. The center monomial also makes the | |
| strict rounding threshold `1/2` optimal. | |
| ## D. Exact integral cores for all sharp tuples | |
| For any positive offset tuple at sharp total cost `R=2^d-1`, define | |
| \[ | |
| T_{\mathbf r}:\mathbb Z^{2^d}\longrightarrow P_R, | |
| \quad e_b\longmapsto | |
| \prod_j(-\chi_{r_j-1})^{1-b_j}\chi_{r_j}^{b_j}, | |
| \qquad P_R=\mathbb Z[X]_{\le R}. | |
| \tag{D1} | |
| \] | |
| Every separating tuple obeys | |
| \[ | |
| \sum_{j\in J}r_j\ge2^{|J|}-1 | |
| \tag{D2} | |
| \] | |
| for each coordinate subset `J`: a dependency on `J` remains one after | |
| multiplication by a fixed nonzero complement factor. The dimension of the | |
| subfamily's polynomial space proves (D2). In particular every offset is at | |
| most `n=2^(d-1)`. Repeated offsets also give duplicate tensor columns. Neither | |
| distinctness nor (D2) is sufficient: `(1,2,5,7)` satisfies them but is singular. | |
| Remove an offset `r`. Put `S=2n-1-r`, `delta=n-r`, and let `V subset P_S` be | |
| the lattice of prior character products. If those products are dependent, the | |
| full tuple is dependent. Otherwise `Q=P_S/V` has rank `delta`. | |
| **Theorem A4.** With `P_-1=0`, the full integral cokernel is | |
| \[ | |
| \boxed{\operatorname{coker}T_{\mathbf r} | |
| \cong(Q\oplus Q)/ | |
| \{([\chi_rC],[\chi_{r-1}C]):C\in P_{2\delta-1}\}.} | |
| \tag{D3} | |
| \] | |
| **Proof.** For `S>=r-1`, the sequence | |
| \[ | |
| 0\longrightarrow P_{S-r} | |
| \xrightarrow{C\mapsto(\chi_rC,\chi_{r-1}C)}P_S\oplus P_S | |
| \xrightarrow{(A,B)\mapsto-\chi_{r-1}A+\chi_rB}P_{S+r} | |
| \longrightarrow0 | |
| \tag{D4} | |
| \] | |
| is exact over the integers. Formula (B3) proves surjectivity at `S=r-1`. | |
| Monicity of `chi_r` then supplies every higher degree successively. Consecutive | |
| characters are coprime; monic division proves the displayed integral kernel. | |
| The full tensor image is the image of `V directsum V`. Taking this quotient | |
| in (D4), and using `S-r=2delta-1`, proves (D3). QED. | |
| There is a further parity reduction. The prior lattice is graded by even and | |
| odd characters, so `Q=Q^0 directsum Q^1`. For `d>=2`, | |
| \[ | |
| \operatorname{rank}Q^0=\lceil\delta/2\rceil, | |
| \qquad\operatorname{rank}Q^1=\lfloor\delta/2\rfloor. | |
| \] | |
| For each `e=0,1`, let `H_e` be the quotient of | |
| `Q^(r+e) directsum Q^(r-1+e)` by the relations in (D3) with `C` of parity | |
| `e`; superscripts are modulo two. Then | |
| \[ | |
| \operatorname{coker}T_{\mathbf r}\cong H_0\oplus H_1. | |
| \tag{D5} | |
| \] | |
| Each relation space and target free quotient has rank `delta`. Thus if `Q` | |
| is torsion free, the complete Smith problem reduces to two `delta` by `delta` | |
| integer matrices `B_0,B_1`, and the full cokernel is their direct sum. If `Q` | |
| has torsion, and each free-part matrix has nonzero determinant, the exact | |
| arithmetic statement is instead | |
| \[ | |
| 0\longrightarrow\operatorname{Tor}(Q)\longrightarrow H_e | |
| \longrightarrow\operatorname{coker}\overline B_e\longrightarrow0. | |
| \tag{D6} | |
| \] | |
| The extensions need not split. Indeed the relation image has zero intersection | |
| with target torsion because its projection to the free part is injective. | |
| This proves (D6), including the order formula | |
| \[ | |
| |\operatorname{coker}T_{\mathbf r}|= | |
| |\operatorname{Tor}(Q)|^2 | |
| |\det\overline B_0\det\overline B_1|. | |
| \tag{D7} | |
| \] | |
| When `r=n`, there are no relations. Appending that maximal dyadic offset | |
| duplicates the entire prior cokernel, including every Smith factor. | |
| ## E. A closed three-minor criterion at defect one | |
| Take `m>=1` prefix offsets with sum `n=2^m`, and append `r=n-1`. The full | |
| tuple has sharp total cost `2n-1`. Set `k=n/2`. The prior even character block | |
| `E` is `(k+1)` by `k`, with rows `e_0,...,e_k` indexed by | |
| `chi_0,chi_2,...,chi_n`. The prior odd block `O` is `k` by `k`. Define | |
| \[ | |
| D=\det O,\qquad | |
| D_1=\det\begin{pmatrix}e_0\\\vdots\\e_{k-2}\\e_k\end{pmatrix}, | |
| \qquad | |
| D_2=\det\begin{pmatrix}e_0\\\vdots\\e_{k-2}\\e_k-e_{k-1}\end{pmatrix}. | |
| \] | |
| For `k=1` the first `k-1` rows are absent. | |
| **Theorem A5.** Including singular prefixes, | |
| \[ | |
| \boxed{|\det T|=D^2|D_1D_2|.} | |
| \tag{E1} | |
| \] | |
| Its full even and odd blocks have absolute determinants `|DD_2|` and `|DD_1|`. | |
| Thus separation in this whole regime is equivalent to nonvanishing of three | |
| determinants of order one quarter the full encoder size. | |
| **Proof.** If a prior parity block is deficient, the full encoder is deficient, | |
| and both sides of (E1) vanish. Otherwise set | |
| \[ | |
| \Delta_j=(-1)^j\det(E\text{ with row }j\text{ deleted}), | |
| \qquad g=\gcd_j\Delta_j>0. | |
| \] | |
| The even quotient has rank one, torsion order `g`, and primitive free quotient | |
| functional `(Delta_0,...,Delta_k)/g`. The odd quotient has order `|D|`. | |
| The two relation polynomials in (D3) are `chi_0,chi_1`; recurrence gives the | |
| two scalar free core values | |
| \[ | |
| \Delta_{k-1}/g,\qquad(\Delta_k+\Delta_{k-1})/g. | |
| \] | |
| Each parity target has prior torsion order `|D|g`. Equations (D5)–(D7) | |
| therefore give parity determinant magnitudes | |
| `|D Delta_(k-1)|` and `|D(Delta_k+Delta_(k-1))|`. Linearity in the last row | |
| identifies their cofactor magnitudes with `|D_1|,|D_2|`, proving (E1). QED. | |
| When `D=+-1` and `g=1`, the full integral cokernel simplifies to | |
| \[ | |
| \mathbb Z/|\Delta_{k-1}|\mathbb Z | |
| \ \oplus\ | |
| \mathbb Z/|\Delta_k+\Delta_{k-1}|\mathbb Z. | |
| \tag{E2} | |
| \] | |
| Both integers are nonzero in the separating case; an order-one summand is zero. | |
| This is a direct-sum description, before the elementary conversion to Smith | |
| invariant factors. | |
| ## F. Why optimal placement does not force integral invertibility | |
| One explicit core suffices. The six-dimensional offsets | |
| \[ | |
| (2,3,4,9,15,30) | |
| \] | |
| sum to 63, the sharp minimum. The prior lattice for `(2,3,4,9,15)` has a | |
| 32-by-32 minor of determinant `-1` after deleting half-coefficient rows 30 and | |
| 33. Its quotient is free of rank two. The exact reduced matrix from (D3) is | |
| \[ | |
| \begin{pmatrix} | |
| 0&-3&0&1\\-1&0&0&0\\2&0&-3&0\\0&-1&0&1 | |
| \end{pmatrix},\qquad\det=6. | |
| \] | |
| For an explicit quotient certificate, write `c_j` for the coefficient of | |
| `chi_j` in a degree-at-most-33 polynomial. Two quotient coordinates are | |
| \[ | |
| \begin{aligned} | |
| \pi_1(c)={}&c_3-2c_5+c_7+2c_{11}-4c_{13}+5c_{15}-4c_{17} | |
| +c_{19}+2c_{29}-5c_{31}+4c_{33},\\ | |
| \pi_2(c)={}&c_0-c_4+c_6-2c_{12}+3c_{14}-3c_{16}+2c_{18} | |
| -c_{24}+c_{26}-c_{30}+c_{32}. | |
| \end{aligned} | |
| \] | |
| They annihilate the prior products. The unit minor makes them an integral | |
| quotient basis, and the fusion identity | |
| `chi_a chi_b=sum_(j=0)^min(a,b) chi_(a+b-2j)` gives the displayed matrix on | |
| `C=chi_0,...,chi_3`. These are finite integer identities, also checked by | |
| the release code. | |
| The full half-coefficient determinant is `-6`; hence its cokernel is cyclic of | |
| order six. The polynomial readout separates algebraic payloads at a | |
| transcendental `q`, while its coefficient map is singular in characteristics | |
| two and three. Iterating maximal-offset peeling gives, for every `d>=6`, the | |
| optimal tuples | |
| \[ | |
| (2,3,4,9,15,30,64,128,\ldots,2^{d-1}) | |
| \] | |
| with the trailing block empty at `d=6`, and exact cokernel | |
| \[ | |
| (\mathbb Z/6\mathbb Z)^{\oplus2^{d-6}}. | |
| \tag{F1} | |
| \] | |
| No classification of all optimal offset lists follows. Dyadic minimizers are | |
| not unique, and arbitrary full-rank minimizers need not be unimodular. | |
| The exact core and defect-one criteria are the proved substitutes for a | |
| closed combinatorial classification. | |
| ## G. Earlier arithmetic directions and their boundaries | |
| The earlier branches explored separate theories. They are not hypotheses or | |
| lemmas of the current Gaussian recovery foundation. The following ledger | |
| records their mathematical scope; their longer independent proofs are not | |
| needed for Theorems A1–A5 above. | |
| | Branch | Proved direction | Boundary | | |
| |---|---|---| | |
| | I | For finitely generated modules over a Dedekind domain, rank, all local torsion tails, and the positive-rank Steinitz class give a complete isomorphism signature. All unital natural-number semiring characters are rank or one local tail character. | Those numerical characters cannot distinguish the class-group fibers. The classification ingredients are classical. | | |
| | II | A finite one-parameter barcode has a unique tensor root when it exists. Root degrees are exactly divisors of its rank-valuation gcd satisfying its real-power threshold. Every numeric initial segment of a divisor set is realized on three points. | This is finite-chain, pointwise tensor arithmetic; it is not a general multiparameter persistence classification. | | |
| | III | Suitable pinned monic polynomials over an odd finite field give canonical integer graph point clouds with trivial Euclidean symmetry and distinct congruence classes. | The graph lifting, coefficient pins, and degree-divisor hypotheses matter; arbitrary finite-field graphs are not rigid. | | |
| | IV | Rational Gaussian centers can be separated on algebraic payloads by a suitable additional algebraic pilot via exponential linear independence. The finite-field phase matrix is a diagonal gauge of a payload-blind base matrix under the stated integer-lift convention. | Exact transcendence does not provide numerical conditioning, and spectra of that gauge matrix erase the payload. | | |
| | V | A constructive integer pilot on an equal-sided finite box gives a split integer polynomial-coefficient map with sum of exterior offsets of order the number of grid sites, at fixed axis length. | The observation is a formal coefficient array. The construction is not a noise guarantee for one approximate scalar Gaussian amplitude. | | |
| ## H. Release verification and significance | |
| Run | |
| ```text | |
| python3 code/verify_arithmetic_release.py | |
| ``` | |
| from the release directory. Every import is local to this release and only | |
| the Python standard library is required. The aggregate reports **1,059 exact | |
| assertions**: 694 dyadic-transform checks, 189 integral-core checks, 164 | |
| parity/defect-one checks, and 12 original prime-rank checks. The defect-one | |
| formula is tested on all 42 nondecreasing positive prefixes through `m=4`, | |
| including singular cases. Additional selected examples exercise prior torsion | |
| and finite-characteristic defects; their counts are verification evidence, | |
| not a novelty rating. | |
| Prime factorization, free-module ranks, Chebyshev and representation-ring | |
| identities, integer polynomial pencils, parity grading, and Smith theory are | |
| classical. This appendix derives specific Gaussian hardware consequences. | |
| Publication priority has not been established, and no claim of resolving a | |
| major open problem follows from these exact encodings or certificates. | |