From dbb9fb1c8fbf2dc0ee1cc3c28abfc9d2a834305e Mon Sep 17 00:00:00 2001 From: zxv Date: Fri, 23 Oct 2026 09:37:06 -0400 Subject: [PATCH 1/4] Add exact Gaussian cache reuse and sharp fixed-contact center bound --- research/gaussian-cache-reuse/PLAN.json | 13 + research/gaussian-cache-reuse/PROOF.md | 204 ++++ research/gaussian-cache-reuse/README.md | 198 ++++ research/gaussian-cache-reuse/RESULT.json | 1003 +++++++++++++++++++ research/gaussian-cache-reuse/SOURCES.json | 134 +++ research/gaussian-cache-reuse/TASK.json | 113 +++ research/gaussian-cache-reuse/VALIDATION.md | 63 ++ research/gaussian-cache-reuse/VERIFY.json | 47 + research/gaussian-cache-reuse/center.py | 58 ++ research/gaussian-cache-reuse/geometry.py | 128 +++ research/gaussian-cache-reuse/primitive.py | 155 +++ research/gaussian-cache-reuse/verify.py | 110 ++ 12 files changed, 2226 insertions(+) create mode 100644 research/gaussian-cache-reuse/PLAN.json create mode 100644 research/gaussian-cache-reuse/PROOF.md create mode 100644 research/gaussian-cache-reuse/README.md create mode 100644 research/gaussian-cache-reuse/RESULT.json create mode 100644 research/gaussian-cache-reuse/SOURCES.json create mode 100644 research/gaussian-cache-reuse/TASK.json create mode 100644 research/gaussian-cache-reuse/VALIDATION.md create mode 100644 research/gaussian-cache-reuse/VERIFY.json create mode 100644 research/gaussian-cache-reuse/center.py create mode 100644 research/gaussian-cache-reuse/geometry.py create mode 100644 research/gaussian-cache-reuse/primitive.py create mode 100644 research/gaussian-cache-reuse/verify.py diff --git a/research/gaussian-cache-reuse/PLAN.json b/research/gaussian-cache-reuse/PLAN.json new file mode 100644 index 0000000000..42ce094942 --- /dev/null +++ b/research/gaussian-cache-reuse/PLAN.json @@ -0,0 +1,13 @@ +{ + "at_UTC": "2026-10-23T13:12:01.622494+00:00", + "base_commit": "8544ddf488e4ecd2f8c85f79a5b2277d1380aee0", + "canonical_main": "ec2780e8aeb1c88acaf5e9e470ef8c68e7fbbb6c", + "scope": "Exact cache primitive and source-bound generalized center floor, not a complete supplier search or new kappa.", + "candidate": "One stable arbitrary source at zero frame; two arbitrary targets in planes <1,2> and <1,4>. Retain a line-<1> owned cache and reuse a second owned field for both output updates.", + "predicted_recursive_change": "2 H2 -> 3 H1, with zero new productive credit and two owned cache fields.", + "predicted_gain_at_selected_exponent": "0.991635124775620904301391563105821801159734270612346654", + "center_question": "Does the owned-center intersection floor extend to non-nested or arbitrary Clifford transport paths and typed-copy branching trees while persistent common-chart contact caps remain fixed?", + "claimed_new_application": "Constructive exponent-aware cache sharing plus its source-bound applicability limit. Metric, memoization and subadditivity are classical, not inventions claimed here.", + "stop": "Verify literal arbitrary-input fanout and raw dual, phases, invalidation controls and complete module tariff. Reconstruct all16 center blocks before asserting an 8-rank bound. Do not substitute the toy saving into the selected supplier without an actual changed caller.", + "geometry_sha256": "20c217d44893d2cc3b517af826936fc8a4c58f498f5bf76b833e5599a25d9084" +} diff --git a/research/gaussian-cache-reuse/PROOF.md b/research/gaussian-cache-reuse/PROOF.md new file mode 100644 index 0000000000..a38015d2cb --- /dev/null +++ b/research/gaussian-cache-reuse/PROOF.md @@ -0,0 +1,204 @@ +# Cache tree identities and the selected center intersection bound + +## Frames and actual paid ranks + +Let a field have \(2^n\) binary-address positions. A Clifford frame F has +exact unitary operator \(G_F\). Set +\(L_0=\{(0,z):z\in\mathbb F_2^n\}\) and +\(\Lambda_F=F^{-1}L_0\), using the induced binary symplectic action. +For the actual transport \(G_B G_A^{-1}\), its Fourier rank is + +\[ +r(A,B)=n-\dim(\Lambda_A\cap\Lambda_B). +\tag{1} +\] + +Indeed its B block measures the dimension outside \(L_0\) of +\(BA^{-1}L_0\). Its kernel is the intersection of \(L_0\) with that +image. Pulling the intersection back through B gives (1). +Phases and monomial factors do not change this rank, but must still be +implemented. This rank is an integer metric on Lagrangian charts; different +Cliffords with the same chart can have distance zero and nontrivial paid +ordinary monomial work. + +For the repository's canonical subspace frame \(C_U\), direct substitution +gives + +\[ +\Lambda(U)=\{(x,x+z):x\in U,\ z\in U^\perp\}. +\] + +Consequently +\(r(U,V)=\dim U+\dim V-2\dim(U\cap V)\), including non-nested pairs. +`primitive.py` independently checks this against exact lowered Clifford +operators for every pair of the 16 subspaces of \(\mathbb F_2^3\), including +all input columns and absolute phase. The binary chart formula is the +algebraic statement; these finite tests check its convention in the retained +implementation. + +## A cache is a snapshot with a representation + +Fix a logical column x. At each cache node v maintain physical value +\(z_v=G_vx\). An owned child w is created by copying \(z_v\), then applying +the fully paid transport \(G_wG_v^{-1}\). Thus + +\[ +G_wG_v^{-1}z_v=G_wx. +\tag{2} +\] + +Induction proves the invariant on any typed-copy tree. At a terminal, +\(y_i\leftarrow y_i+\alpha_i z_i\) supplies precisely the requested +contribution. Internal caches carry no productive-owner credit. Leaves can +be processed in their original order using a reusable owned field if the +retained parent cache remains unchanged. + +The logical snapshot is an operator row on the independent caller inputs. +For a cached row R, a later required row S may use the cache when +\(S=qR\) for an explicitly known scalar q, by changing the ADD coefficient. +Writes to the original owner are harmless only when this row relation still +holds. The invariant concerns expressions, not register identifiers. In a +longer caller the row algebra must include all address operators, coefficients +and phases; the small scalar-row control here is not such a caller analysis. + +Let the desired main endpoint be +\((x,y_1,y_2)\mapsto(x,y_1+A_1x,y_2+A_2x)\). +Its raw inverse transpose is + +\[ +(x,y_1,y_2)\mapsto +(x-A_1^Ty_1-A_2^Ty_2,y_1,y_2). +\tag{3} +\] + +Since G is unitary, \(G^T=\overline G^{-1}\). Reversing the fanout into a +gather therefore uses conjugate transports in the reversed directions. +`dual_program` implements (3), not a forward move with a reversed name. +The inverse transpose is of the main endpoint; owned CLEARs make the full +scratch-inclusive map noninvertible. Arbitrary owned entries are erased under +the retained owned-erasure contract and both owned fields leave zero. + +Equations (2) and (3) hold for arbitrary field columns. Lifting each block by +\(I_b\otimes G\) proves the same identities with b idle positions, and block +composition proves arbitrary repetitions. Tensoring address operators does +not merge owner roles or turn their sum into independent output credit. +This is an all-width algebraic identity under the retained Gaussian and +owned-erasure primitives. A bit-cost implementation still needs those +primitives' precision, storage, normalizer and tape contracts. + +## A sharp three terminal example + +Take \(U=0\), \(V_1=\langle1,2\rangle\), +\(V_2=\langle1,4\rangle\). The three terminals have pairwise distance 2. +Their shared line \(M=\langle1\rangle\) has distance 1 to each. +Copy x to owned Z and move U to M; copy Z to owned W, move M to V1, +ADD to Y1 and clear W; repeat for V2; clear Z. The program has three +rank-1 moves and the ordinary passes recorded in RESULT.json. + +For \(00 and len(s)&(len(s)-1)==0,'binary subspace cardinality') + return len(s).bit_length()-1 + + +def distance(a,b): + return dim(a)+dim(b)-2*dim(a&b) + + +def basis(s): + rows={} + for v in sorted(s): + for p in sorted(rows,reverse=True): + if v>>p&1: + v^=rows[p] + if v: + rows[v.bit_length()-1]=v + return list(rows.values()) + + +def subspaces(n): + seen={frozenset({0})}; todo=list(seen) + while todo: + s=todo.pop() + for v in set(range(1<>n)).bit_count()+((v&mask)&(a>>n)).bit_count())%2==0 + for a in b for v in b): + out.append(s) + return out + + +def tree_bound(charts,parents): + """Exact intersection-loss certificate for any equal-dimensional charts.""" + need(len(charts)==len(parents)>0 and parents[0] is None,'rooted tree') + n=dim(charts[0]); common=charts[0]; mass=0; steps=[] + for i in range(1,len(charts)): + p=parents[i] + need(type(p) is int and 0<=p=n-dim(common),'tree rank-mass floor') + return {'edge_rank_mass':mass,'intersection_floor':n-dim(common),'steps':steps} + + +def fanout_program(n=3): + """Two owned fields; original target updates remain in their given order.""" + z=[];line=[1];ab=[1,2];ac=[1,4] + return [ + ['CLEAR','Z'],['CLEAR','W'], + ['COPY','Z','X'],['MOVE','Z',z,line], + ['COPY','W','Z'],['MOVE','W',line,ab],['ADD','Y1','W',1],['CLEAR','W'], + ['COPY','W','Z'],['MOVE','W',line,ac],['ADD','Y2','W',1],['CLEAR','W'], + ['CLEAR','Z']] + + +def dual_program(): + """Inverse-transpose main endpoint; reversed gather, same three grades.""" + z=[];line=[1];ab=[1,2];ac=[1,4] + return [ + ['CLEAR','Z'],['CLEAR','W'], + ['COPY','W','Y1'],['DUAL_MOVE','W',ab,line],['ADD','Z','W',1],['CLEAR','W'], + ['COPY','W','Y2'],['DUAL_MOVE','W',ac,line],['ADD','Z','W',1],['CLEAR','W'], + ['DUAL_MOVE','Z',line,z],['ADD','X','Z',-1],['CLEAR','Z']] + + +def tariffs(program): + paid=Counter();ordinary=Counter() + for e in program: + if e[0] in ('MOVE','DUAL_MOVE'): + r=distance(span(e[2]),span(e[3])) + if r:paid[r]+=1 + else:ordinary[e[0]]+=1 + return {'paid':dict(sorted(paid.items())),'ordinary_field_passes':dict(sorted(ordinary.items())), + 'owned_fields':2,'new_productive_owners':0} diff --git a/research/gaussian-cache-reuse/primitive.py b/research/gaussian-cache-reuse/primitive.py new file mode 100644 index 0000000000..38e95b750b --- /dev/null +++ b/research/gaussian-cache-reuse/primitive.py @@ -0,0 +1,155 @@ +"""Literal owned-cache primitives with exact dyadic-complex column checks. + +Classical copy/transport sharing; repository Clifford implementation retained +unchanged and authenticated by the caller. Apache-2.0; Codex assistance. +""" +from collections import Counter +from fractions import Fraction as Q +from functools import lru_cache +from geometry import need, distance, span, fanout_program, dual_program, tariffs + +ZERO=(Q(0),Q(0));ONE=(Q(1),Q(0)) + + +def add(a,b): + return a[0]+b[0],a[1]+b[1] + + +def mul(a,b): + return a[0]*b[0]-a[1]*b[1],a[0]*b[1]+a[1]*b[0] + + +def conjugate(ce,op): + out=ce.ident(op.n) + for e in op.circuit: + if e[0]=='P':part=ce.perm(op.n,e[1]) + elif e[0]=='D':part=ce.diag(op.n,e[1],tuple(-a%4 for a in e[2])) + elif e[0]=='C':part=ce.cgate(op.n,e[1],-e[2]) + elif e[0]=='X':part=ce.xgate(op.n,e[1]) + elif e[0]=='phase':part=ce.Op(op.n,ce.identity(op.n),[('phase',-e[1]%4)]) + else:raise ValueError('Unrecognized exact circuit primitive') + out=out.then(part) + return out + + +def matrix(op): + cols=[] + for j in range(1<0 and debt[1]<0,'Positive reuse gain; one extra H1 destroys it') + gains[c]={'saving':[str(v) for v in gain],'after_one_extra_H1':[str(v) for v in debt]} + G.need(margin({2:2},{1:3},Q('.5'))[1]<0,'At exponent one-half separate copies beat the three-H1 tree') + with localcontext() as ctx: + ctx.prec=55 + predicted=D(plan['predicted_gain_at_selected_exponent']) + lo,hi=margin({2:2},{1:3},Q('.00302015')) + to_dec=lambda q:D(q.numerator)/q.denominator + G.need(to_dec(lo)-D('1e-52') Date: Fri, 23 Oct 2026 09:41:48 -0400 Subject: [PATCH 2/4] Record isolated cache replay and clarify forecast scope --- research/gaussian-cache-reuse/PROOF.md | 4 ++- research/gaussian-cache-reuse/README.md | 18 +++++++++-- research/gaussian-cache-reuse/VALIDATION.md | 33 +++++++++++++++++++-- 3 files changed, 48 insertions(+), 7 deletions(-) diff --git a/research/gaussian-cache-reuse/PROOF.md b/research/gaussian-cache-reuse/PROOF.md index a38015d2cb..f6eb9fbc48 100644 --- a/research/gaussian-cache-reuse/PROOF.md +++ b/research/gaussian-cache-reuse/PROOF.md @@ -117,7 +117,9 @@ attain them. Ordinary monomial costs are outside this rank-only optimum. At \(s=1-0.00302015\), the frozen gain is \(2\,2^s-3=0.9916351247756209043\ldots\). The exact rational interval engine certifies its positive sign and the -negative sign after charging one more H1. At \(s=1/2\) the separate +negative sign after charging one more H1. In fact the repaired saving is +\(4(2^{-\kappa}-1)<0\) for every \(\kappa>0\). +At \(s=1/2\) the separate transfers win. This sign reversal is a useful control on treating rank mass as a sufficient cost statistic. diff --git a/research/gaussian-cache-reuse/README.md b/research/gaussian-cache-reuse/README.md index 771bd2994a..e5a7228abb 100644 --- a/research/gaussian-cache-reuse/README.md +++ b/research/gaussian-cache-reuse/README.md @@ -2,8 +2,9 @@ Several required reads of the same logical snapshot can share a transformed owned copy. A small exact example replaces **two rank-2 Gaussian jobs by three -rank-1 jobs**, with no new productive-output credit. Its predicted moment saving -was frozen before construction and then verified. The same geometry extends +rank-1 jobs**, with no new productive-output credit. The tree, word skeleton +and moment prediction were frozen before exact Clifford realization and +all-column verification. The same geometry extends Matarener's selected-center lower bound to non-nested Clifford transports and typed-copy trees: **each of the 16 block-orientations still costs at least one rank-8 job** under the original common-contact constraints. @@ -36,6 +37,15 @@ repository's owned-copy and Gaussian-job contracts. The simplest useful example has source frame 0 and two target planes \(\langle1,2\rangle,\langle1,4\rangle\). Going separately costs \(2\,2^s\). Sharing their line \(\langle1\rangle\) costs three rank-1 edges, hence 3. +The shared paid-transfer graph is: + +```mermaid +flowchart LR + S["Source frame 0"] -->|"rank 1"| M["Retained line cache"] + M -->|"rank 1"| A["First target plane"] + M -->|"rank 1"| B["Second target plane"] +``` + The exact optimum over typed cache trees, even with arbitrary intermediate Clifford charts, is @@ -49,7 +59,9 @@ At the selected exponent the shared tree saves `0.9916351247756209043` moment units. **One additional rank-1 repair job exhausts that saving.** [PLAN.json](PLAN.json) fixes the prediction and geometry hash; [RESULT.json](RESULT.json) contains outward rational sign certificates. -This is a prospective module-cost prediction, not a held-out κ improvement. +This tests a predeclared module-cost prediction. The word skeleton was already +specified at the freeze; it is not a blind structural discovery or a held-out +κ improvement. ## Exact ownership and lifetime contract diff --git a/research/gaussian-cache-reuse/VALIDATION.md b/research/gaussian-cache-reuse/VALIDATION.md index af0ee9c6d0..e71999d9ef 100644 --- a/research/gaussian-cache-reuse/VALIDATION.md +++ b/research/gaussian-cache-reuse/VALIDATION.md @@ -38,9 +38,11 @@ proofs, not kernel-checked theorems or an independently reviewed admission. ## Frozen evidence -The plan was frozen at `2026-10-23T13:12:01.622494+00:00` before the literal -construction/checker. Its prediction is a module moment saving, not a new -kappa. The observation variant and final proof are subsequent derivations. +The plan was frozen at `2026-10-23T13:12:01.622494+00:00` before exact Clifford +realization and the all-column checker. The frozen geometry file already +contains the word skeleton. Its prediction is a module moment saving, not +a blind design forecast or a new kappa. The observation variant and final +proof are subsequent derivations. | File | SHA256 | | --- | --- | @@ -61,3 +63,28 @@ active-feedback README is a separately pinned provenance source. The overlap search and relevant live claims are recorded in TASK.json. No external post, PR, selected-frontier update or maintainer queue action was performed. This package is local author-checked evidence. + +## Committed bytes and Git free replay + +The byte preflight passed for all 24 package/input files at +`40eeaa2a363ec8f9bc420b3bb6e337234949b308`: + +```sh +python3 -B scripts/check_research_commit.py --package research/gaussian-cache-reuse +python3 -B scripts/export_research_package.py export --package research/gaussian-cache-reuse --ref 40eeaa2a363ec8f9bc420b3bb6e337234949b308 --output /tmp/gaussian-cache-reuse-40eeaa2a36.tar +python3 -B scripts/export_research_package.py check /tmp/gaussian-cache-reuse-40eeaa2a36.tar +``` + +The 580 KiB export passed its exact inventory/hash check. It was extracted +into a fresh temporary directory with no Git checkout and replayed normally +and with `-O`, using the same Python 3.12 interpreter, `PATH=/nonexistent`, +`-I -W error -B` and fresh `-X pycache_prefix` directories. Both mathematical +replays passed and the temporary extracted files were removed. Subsequent +documentation refinements leave the verifier, plan and result bytes unchanged. +This is evidence for the declared mathematical replay inputs, not hosted CI. + +The additional `--check-source-history` preflight did not pass: this checkout +is shallow and the tool requires full Git history. It reported +`source-history check requires full Git history`. No full-history download +or weaker replacement check was used. The successful byte/export checks do +not substitute for that separate publication-history requirement. From 5a40115affefff6a6811996e7c175a4e4ab10a40 Mon Sep 17 00:00:00 2001 From: zxv Date: Fri, 23 Oct 2026 11:27:32 -0400 Subject: [PATCH 3/4] Identify zxv and link contribution-specific research credits --- research/gaussian-cache-reuse/README.md | 51 +++++++++++++++++----- research/gaussian-cache-reuse/SOURCES.json | 2 +- research/gaussian-cache-reuse/TASK.json | 2 +- 3 files changed, 41 insertions(+), 14 deletions(-) diff --git a/research/gaussian-cache-reuse/README.md b/research/gaussian-cache-reuse/README.md index e5a7228abb..5b4ad7f690 100644 --- a/research/gaussian-cache-reuse/README.md +++ b/research/gaussian-cache-reuse/README.md @@ -184,24 +184,51 @@ obligations are not re-established by this module replay. ## Provenance and credit -Copied-center reuse predates this package; see -[copied-reversed](../copied-reversed/README.md). Matarener supplies the -owned-center intersection argument and fixed-word interval engine. Dugongue -supplies the owned-C retiming contract. Cinna Davis supplies #4470's selected -word, retaining zxv's native supplier, Jacob Alan Sussman's Clifford work and -the complete credited source chain. The live split-contact and paid-history -discussions supply the application context, not mathematical inputs to the -verifier. Metric geometry, memoization, Steiner trees and subadditivity are -classical; this package claims their explicit costed application and scoped -extension here. +Prepared by zxv with substantial OpenAI Codex assistance. The predecessor +contributions used here are: + +- **zxv:** the native and uniform supplier in + [PR #4359](https://github.com/CrocSwap/integer-mult-bounds/pull/4359), + logarithmic compiler in + [PR #4411](https://github.com/CrocSwap/integer-mult-bounds/pull/4411), and + higher-moment strictification and rational interval engine in + [PR #4433](https://github.com/CrocSwap/integer-mult-bounds/pull/4433). +- **Matarener:** the owned-center intersection argument and fixed-word + interval engine in + [PR #5060](https://github.com/CrocSwap/integer-mult-bounds/pull/5060). +- **Dugongue:** the owned-C retiming contract in + [PR #4534](https://github.com/CrocSwap/integer-mult-bounds/pull/4534). +- **Cinna Davis:** the selected word in + [PR #4470](https://github.com/CrocSwap/integer-mult-bounds/pull/4470), building + on [PR #4440](https://github.com/CrocSwap/integer-mult-bounds/pull/4440), + [PR #4441](https://github.com/CrocSwap/integer-mult-bounds/pull/4441) and + [PR #4447](https://github.com/CrocSwap/integer-mult-bounds/pull/4447). + [PR #5220](https://github.com/CrocSwap/integer-mult-bounds/pull/5220) + supplies the active-feedback application context and coupling warning. +- **Jacob Alan Sussman:** the mixed-target recursion in + [PR #4268](https://github.com/CrocSwap/integer-mult-bounds/pull/4268). +- **icekylinx:** copied-center reuse in + [PR #36](https://github.com/CrocSwap/integer-mult-bounds/pull/36) and the + exact Clifford compiler lineage retained from + [PR #531](https://github.com/CrocSwap/integer-mult-bounds/pull/531). + See also the retained [copied-reversed attribution](../copied-reversed/README.md). +- **Tekalign:** the source-pinned T74 package in + [PR #2768](https://github.com/CrocSwap/integer-mult-bounds/pull/2768), from + which the unchanged exact Clifford kernel is loaded. Its retained notices + preserve the complete native, phase and compiler contributor chain. + +The live split-contact and paid-history discussions supply application context, +not mathematical inputs to the verifier. Metric geometry, memoization, Steiner +trees and subadditivity are classical; this package claims their explicit +costed application and scoped extension here. All retained source notices +and predecessor attribution remain in force. Overlap checks on 2026-10-23 covered 347 PR records, 4,456 Discussion records and 6,999 local package notes in the second bounded search. They do not cover every diff, every comment or unpublished work. Live claims are provisional. No external claim or publication was made in this session; this is local evidence until shared. Exact canonical source pins are in -[SOURCES.json](SOURCES.json). Prepared for the repository user with substantial -OpenAI Codex assistance. Apache-2.0. +[SOURCES.json](SOURCES.json). Apache-2.0. The final upstream checkpoint is `ff3cc58e370d0f678e529246f8c73e8094e18fcf`. Selection, catalogue, family guidance and every existing declared source pin diff --git a/research/gaussian-cache-reuse/SOURCES.json b/research/gaussian-cache-reuse/SOURCES.json index ab223a12ae..3fb706bd41 100644 --- a/research/gaussian-cache-reuse/SOURCES.json +++ b/research/gaussian-cache-reuse/SOURCES.json @@ -130,5 +130,5 @@ "git_blob": "bdd22ccce3d96bb1fa7c3e6f40862df54609dec1" } ], - "source_credit": "Matarener, Dugongue, Cinna Davis, zxv, Jacob Alan Sussman and the full retained native/Clifford/compiler lineage. New work with substantial OpenAI Codex assistance." + "source_credit": "zxv, Matarener, Dugongue, Cinna Davis, Jacob Alan Sussman, icekylinx, Tekalign and the full retained native/Clifford/compiler lineage; contribution-specific PR links are in README.md#provenance-and-credit. New work by zxv with substantial OpenAI Codex assistance." } diff --git a/research/gaussian-cache-reuse/TASK.json b/research/gaussian-cache-reuse/TASK.json index 3ea54ac66a..cfa14d141b 100644 --- a/research/gaussian-cache-reuse/TASK.json +++ b/research/gaussian-cache-reuse/TASK.json @@ -54,7 +54,7 @@ "stop_rule": "Stop at exact primitive and dual checks, complete module ownership/pass counts, outward moment signs and all16 source-bound center blocks. No duplicate active native synthesis campaign or new supplier-admission claim.", "outcome": "partial", "evidence": "PROOF.md, frozen PLAN.json and geometry.py hash, RESULT.json reproduced by normal and optimized registered verify.py commands. README links the three bounded next questions.", - "author": "Prepared for the repository user with OpenAI Codex research assistance", + "author": "zxv, with substantial OpenAI Codex research assistance", "ai_assistance": "Substantial OpenAI Codex assistance in analysis, code and writing; exact finite checks and written proofs; no independent human or proof-kernel review.", "open_questions": [ { From 879ba16ce8b55093969f2ddf18a0d862dce03a6d Mon Sep 17 00:00:00 2001 From: zxv Date: Fri, 23 Oct 2026 11:32:58 -0400 Subject: [PATCH 4/4] Prepare focused cache contribution and record publication replay --- research/gaussian-cache-reuse/README.md | 4 +-- research/gaussian-cache-reuse/TASK.json | 2 +- research/gaussian-cache-reuse/VALIDATION.md | 34 +++++++++++++++++++-- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/research/gaussian-cache-reuse/README.md b/research/gaussian-cache-reuse/README.md index 5b4ad7f690..2c5449434b 100644 --- a/research/gaussian-cache-reuse/README.md +++ b/research/gaussian-cache-reuse/README.md @@ -226,8 +226,8 @@ and predecessor attribution remain in force. Overlap checks on 2026-10-23 covered 347 PR records, 4,456 Discussion records and 6,999 local package notes in the second bounded search. They do not cover every diff, every comment or unpublished work. Live claims are provisional. -No external claim or publication was made in this session; this is local -evidence until shared. Exact canonical source pins are in +This contribution publishes author-checked evidence with its remaining +obligations explicit. Exact canonical source pins are in [SOURCES.json](SOURCES.json). Apache-2.0. The final upstream checkpoint is `ff3cc58e370d0f678e529246f8c73e8094e18fcf`. diff --git a/research/gaussian-cache-reuse/TASK.json b/research/gaussian-cache-reuse/TASK.json index cfa14d141b..df3bb06fa4 100644 --- a/research/gaussian-cache-reuse/TASK.json +++ b/research/gaussian-cache-reuse/TASK.json @@ -91,7 +91,7 @@ "discussion_records": 4456, "local_notes": 6999 }, - "overlap_limits": "Bounded cached text search plus selected live discussion and open-PR reads, not exhaustive diffs/comments/unpublished work. Existing claims advisory. No external post authorized or made.", + "overlap_limits": "Bounded cached text search plus selected live discussion and open-PR reads, not exhaustive diffs/comments/unpublished work. Existing claims advisory. The initial investigation was local; zxv subsequently authorized submitting this focused package as a PR.", "relevant_active_context": [ "https://github.com/CrocSwap/integer-mult-bounds/discussions/5125", "https://github.com/CrocSwap/integer-mult-bounds/discussions/4930", diff --git a/research/gaussian-cache-reuse/VALIDATION.md b/research/gaussian-cache-reuse/VALIDATION.md index e71999d9ef..fb8f851847 100644 --- a/research/gaussian-cache-reuse/VALIDATION.md +++ b/research/gaussian-cache-reuse/VALIDATION.md @@ -61,8 +61,9 @@ replayed with its updated Git-reader cleanup. The newly archived active-feedback README is a separately pinned provenance source. The overlap search and relevant live claims are recorded in TASK.json. -No external post, PR, selected-frontier update or maintainer queue action was -performed. This package is local author-checked evidence. +At the initial validation checkpoint no external post or PR had been made. +zxv subsequently authorized this focused contribution PR. No selected-frontier +update or maintainer queue action is included. ## Committed bytes and Git free replay @@ -87,4 +88,31 @@ The additional `--check-source-history` preflight did not pass: this checkout is shallow and the tool requires full Git history. It reported `source-history check requires full Git history`. No full-history download or weaker replacement check was used. The successful byte/export checks do -not substitute for that separate publication-history requirement. +not substitute for that separate optional publication-history preflight. + +## Focused publication replay + +The publication branch starts at canonical main +`ff3cc58e370d0f678e529246f8c73e8094e18fcf` and contains only this package. +Earlier exploratory packages stay on the development branch. Frozen PLAN, +geometry and RESULT bytes are unchanged. PLAN's `base_commit` records that +local development checkpoint; it is not a replay dependency. The consumed +source pins are the canonical commits declared in SOURCES.json. + +The registered normal and optimized commands above passed again from the +focused branch. A fresh committed export at its reachable commit +`5a40115affefff6a6811996e7c175a4e4ab10a40` passed inventory/hash checks and +both Git-free mathematical replays, using the same isolated Python flags, +fresh bytecode directories and `PATH=/nonexistent` described above. + +For publication, this reachable snapshot replaces the development-only +`40eeaa2a36` reference in the historical export example: + +```sh +python3 -B scripts/export_research_package.py export --package research/gaussian-cache-reuse --ref 5a40115affefff6a6811996e7c175a4e4ab10a40 --output /tmp/gaussian-cache-reuse-publication-5a40115aff.tar +python3 -B scripts/export_research_package.py check /tmp/gaussian-cache-reuse-publication-5a40115aff.tar +``` + +Publication status and credit refinements after that snapshot change no +scientific input, verifier, frozen plan or result. Metadata and committed-byte +checks cover the final publication commit separately.