"""Build v3 standalone manuscript from retained v2 foundation and v3 evidence.""" from pathlib import Path import json ROOT=Path(__file__).resolve().parents[1] s=(ROOT/'history/v2/MANUSCRIPT.md').read_text() r=json.loads((ROOT/'results_v3/innovation_report.json').read_text());q=json.loads((ROOT/'results_v3/queries_report.json').read_text()) status=json.loads((ROOT/'STATUS.json').read_text()) s=s.replace('date: "19 September 2026 | Research reference release 2.0.0"','date: "19 September 2026 | Research reference release 3.0.0"') s=s.replace('subtitle: "Residual-Corrected Persistent World Memory for Unified Neural Graphics"','subtitle: "Certified Innovation Rendering: Persistent Evidence That Removes Physical Sampling Work"') start=s.index('# 1. Abstract');end=s.index('# 2. Central scientific claim') s=s[:start]+r'''# 1. Abstract AUREOLE-R v3 develops **Certified Innovation Rendering**: persistent world memory stores exact physical response together with the domain in which that response remains valid. Verified contributions are removed from the stochastic residual; a neural prior represents only the unresolved complement. This strengthens v2's fallible-memory control variates, which preserved expected linear output but could suffer severe variance after stale-memory sampling. We prove a common covariance contraction. For an arbitrary frozen vector control and proposal $q$, replacing a set of proposal mass $a$ by its exact current contributions and renormalizing the remaining proposal gives $\Sigma'\preceq(1-a)\Sigma$. The result holds simultaneously for all positive-semidefinite metrics on linear task readouts. A causal sequential estimator assimilates each physical observation only after forming its current correction. Conservative geometric certificates determine the lifetime and spatial reach of exact facts. In a finite deterministic domain, physical query count is bounded by initial unknown terms, newly introduced terms and certificate invalidations, rather than necessarily by the number of displayed frames. A new twelve-scene held-out study measures 98.40% lower conditional expected linear-RGB MSE during smooth motion than a global cache that resets on every geometry change (95% scene-bootstrap interval 98.12--98.75%). The new method uses 1.203 rather than 2.000 queries per receiver in that phase. It does not outperform that reset baseline after large jumps: the observed 0.15% regression has an interval spanning zero. Certificate construction and dense bookkeeping also make the current CPU implementation slower than the v2 contradiction guard. On eight additional scenes, a frozen coarse state serves a finer receiver grid, five prescribed times and three known appearance readouts with 76.85% fewer physical queries than fresh shared visibility, including all initialization. The final linear outputs match an independent exact reference in the executed float64 tests; no invalid certificate is accepted in the supported studies. This is spatial visibility refinement and known-time relighting, not general learned SR or frame generation. The package retains the full original architecture, fifteen earlier scoped results, trained 3,217-parameter prior, original negative evidence and raw experiments. It adds six proved propositions, sixteen executable tests and two new protocols. Classical control variates, visibility caches and kinetic certificates are acknowledged antecedents. The contribution candidate is their explicit validity-and-estimation contract, with falsifiable evidence for work reduction. General transport, cheap production certificates, joint SR/RR/FG, calibrated neural uncertainty and GPU superiority remain open. Scientific maturity is subjectively estimated at 68%; this is a meaningful executable research advance, not 100% completion of unified real-time neural graphics. **Keywords:** certified innovation rendering; persistent world inference; visibility certificates; neural rendering; physical residual correction; covariance contraction; active sampling; world-space memory; query closure; temporal coherence; renderer co-design. ''' +s[end:] # New claims are placed before the retained broad architecture. loc=s.index('# 3. ') s=s[:loc]+r'''## 2.1 What v3 changes The most defensible advance is operational: **valid scene evidence deletes physical sampling work**. A record's age does not make it reliable. Its geometric validity domain does. One clearance certificate can support relighting, nearby spatial queries and known intermediate times; unresolved terms retain properly weighted physical correction. The neural prior can be poor without breaking the estimator identity, while a false certificate can break it immediately. Sections 4--19 retain the broad world-state theory and all earlier proofs. Section 19.9 gives the six new complete arguments. Sections 29.7--29.9 report the new experiments and adverse findings. Historical v1/v2 numbers are explicitly labeled. The original SR/RR/FG ambition is preserved as a research objective, not represented as an executed integrated system. ''' +s[loc:] loc=s.index('# 4. Formal problem statement') s=s[:loc]+r'''## 3.1 Closest antecedents for the v3 mechanism Adaptive Quantization Visibility Caching [R19] and Progressive Visibility Caching [R20] already cache and share visibility queries. Kinetic data structures [R21] provide an established certificate-based view of moving geometry. Adaptive primary-space control variates [R22] already combine approximate integration with unbiased residual sampling. The 2026 3D transport embedding [R10] is a substantially broader learned scene representation than this small direct-light implementation. Accordingly, neither world memory, geometric certificates, exact visibility reuse, neural residual correction, nor event-driven work reduction is claimed as a standalone invention. C1--C6 make a particular combination explicit and auditable: geometric validity licenses zero residual support; support removal contracts covariance for a shared linear readout; sequential acquisition consolidates evidence without reusing a draw in its own prediction. Novelty beyond this synthesis remains uncertain. Existing world-space visibility and transport caches must be strong baselines in a production evaluation. The v3 search read primary author pages for [R19--R20] and the primary abstract for [R22]. The large [R19] PDF could not be fetched; [R21] was available only through publisher/government-index search metadata. These access limits are recorded in references.json. The new proofs are self-contained and do not depend on uninspected arguments in those papers. ''' +s[loc:] # Embed the full new mathematical document, converting it to subordinate sections. proof=(ROOT/'docs/INNOVATION_THEORY.md').read_text();proof=proof[proof.index('All propositions'):] proof=proof.replace('\n## ','\n### ') loc=s.index('# 20. Complexity') s=s[:loc]+'## 19.9 Certified Innovation Rendering: six new results\n\n'+proof+'\n\n'+s[loc:] loc=s.index('# 21. GPU implementation') s=s[:loc]+r'''## 20.2 Executed v3 costs and the certificate bottleneck The v3 dense memory holds 2,048 receiver addresses, 36 emitters, float32 Boolean evidence, float64 clearance and float64 ledger stamps. It uses 1,524,672 bytes including endpoint and geometry arrays, versus 589,824 bytes for v2's value/epoch tables. The added state is useful provenance, but it is not free compression. A direct 1080p dense extrapolation of the evidence arrays alone would approach 1.5 GB; sparse allocation is mandatory before game integration. During smooth motion, median measured batch time is approximately 1.88 ms for sequential certificates, 1.97 ms for global-reset elimination, 1.30 ms for certificate iid sampling and 1.18 ms for the v2 guard. These batches contain only 320 receivers. The reported times include certificate construction and validation but exclude common neural-prior preparation, analytic coefficient preparation and exact-reference auditing. They are not end-to-end frame times. The release establishes query and error reductions, not a general speedup. Certificate creation is a central unresolved cost. The reference evaluates minimum distance to a segment for all three spheres. A hardware shadow ray normally need not return such a margin and can terminate early. General triangle geometry requires conservative BVH distance bounds, primitive distance computation, changed-object dependency tests or another validated adapter. Treating the certificate as free would make the proposed architecture's economics misleading. A useful deployment test is $C_{\mathrm{validation}}+C_{\mathrm{new\ queries}}+C_{\mathrm{decode}}