"""Build human-readable audit and publication drafts from verified results.""" from pathlib import Path import csv,hashlib,json,platform,sys,zipfile import numpy,scipy,sympy,matplotlib ROOT=Path(__file__).resolve().parents[1] def text(path,s): (ROOT/path).write_text(s.strip()+'\n',encoding='utf-8') def js(path,x):text(path,json.dumps(x,indent=2,ensure_ascii=False)) def csvfile(path,rows): with (ROOT/path).open('w',newline='',encoding='utf-8') as f: w=csv.DictWriter(f,fieldnames=list(rows[0]));w.writeheader();w.writerows(rows) verified=json.loads((ROOT/'results/verification.json').read_text()) physics=json.loads((ROOT/'physics/parameters_and_results.json').read_text()) supp=json.loads((ROOT/'results/supplement_verification.json').read_text()) claims=[ ('O1','One-port square-setting tomography','Retained reconstruction, not claimed newly invented','Main 2','complex_tomography','Schur complements and complex polarization','Calibrated complex response and independent fixed-model controls','Recovers effective visible inverse response, not a microscopic basis'), ('O2','Physical adaptive q-squared lower bound','Extension of the supplied algebraic-only lower bound; historical priority unestablished','Main 2','one_frequency_physical_realization; physical_short_design_ambiguity','Realization theory and finite-dimensional evaluation lower bounds','Worst case at one fixed complex frequency; arbitrary unknown L,C; q hidden modes suffice','Closes an explicit physical parameter-count gap, not all experimental sample-complexity questions'), ('O3','Reciprocal q(q+1)/2 setting theorem','Explicit restricted-class refinement; likely classical symmetry consequence','Main 2','reciprocal_tomography','Symmetric quadratic polarization','Known common real-symmetric basis and real controls','Shows precisely when the general lower bound can be reduced'), ('O4','Proper-Cauchy finite-data admissibility','Self-contained formulation; potentially a classical constrained interpolation specialization','Main 3','canonical_interpolation_flatness; descriptor_identity; input_rejections','Matrix Nevanlinna-Pick; Herglotz realization; Loewner framework','K positive semidefinite AND range(D) contained in range(K); no feedthrough','Finite algebraic test and explicit smallest Hermitian interpolant'), ('O5','Complete hidden-extension parametrization','Explicit extension of supplied rank results; global novelty not verified','Main 4','extension_interface; unbounded_extension_family','Self-adjoint extensions; constrained Nevanlinna-Pick parametrization','Self-adjoint L and bounded finite-column C; unitary snapshot-coordinate equivalence','Describes every compatible hidden attachment through a data-computable interface'), ('O6','Exact completion versus unbounded visible extension','Corrects the supplied blanket finite-data caveat; broader priority unestablished','Main 4-5','flat_two_sample_certificate; extension_interface; rank_profile_node_independence','Singular interpolation; block grade and flatness','Distinct upper nodes; exact data; proper-Cauchy model class','No pole-count prior required on flat branch; otherwise no finite upper visible-dimension bound'), ('O7','Unbounded-spectrum polynomial-module rank profile','Extension relative to the supplied finite-pole proof; related to established Krylov grades','Main 5','rank_profile_node_independence','Block Krylov theory; positive matrix measures','Finite total matrix measure; L0 module avoids unjustified finite moments','Defines exact rank growth even with continuous or unbounded spectra'), ('O8','No robust finite exact-order upper bound','Negative theorem; not claimed historically new','Main 6','Written constructive proof; weak-residue mechanism','Inverse-problem instability and positive-measure perturbations','No minimum-residue restriction','Prevents spurious exact mode counts under finite precision'), ('O9','Rational mass and finite-time memory bounds','Explicit certified synthesis; no optimality or priority claim','Main 6','rational_witnesses; rational_annihilator_identity; spectral_witness.json','Rational Krylov and spectral-location error bounds','Positive measure; support and total-mass bounds for noisy claims','Replaces discontinuous rank with an observable-error guarantee'), ('O10','Common-gauge colored spectral-cycle classification','Corrects separate-pole/two-channel scope; graph machinery established','Main 7','joint_gauge_invariance; two_channel_cross_pole_invariant; supplement common_gauge_cases','Gain-graph switching; quiver invariants; Specht-type criteria','One shared visible gauge; labeled matching poles and support','Recovers relations absent from separately quotiented residues'), ('O11','Strict-damping full-rank kernel theorem','Explicit model-boundary result; no historical-priority assertion','Main 8','dissipative_kernel_identity; damped_kernel_ranks','Dissipative resolvents; Hardy kernels; self-adjoint dilation','Gamma positive definite and C full column rank for strict rank statement','Separates damped state order from self-adjoint visible spectral dimension'), ('O12','Four-mode phase-odd reflection prediction','Theorem-driven measurement application; not a new physical interaction','Main 9 and Physics Protocol','cross_pole_phase_and_analytic_contrast; make_data.py','Coherent multi-path optomechanical interference','Ideal independently calibrated actuator and fixed losses; all data synthetic','Falsifiable phase orientation readout missed by real controls'), ('O13','Physical exact error-erasure sharpness','Physical-interior transfer of established code-distance argument','Main 2','MDS_all_maximal_minors; predecessor coded_verification','Full-spark evaluation codes and Singleton bound','Exact support errors, not arbitrary analog noise; generic controls','Distinguishes genuine redundancy from unsupported noise-immunity claims'), ('O14','Calibrated mass minimum, closure, and response bound','Additional explicit Schur/mass refinement; mechanism established','Technical Appendix 5','supplement mass_cases; exact_mass_identity','Positive block Gram completion and Schur complement','Exact finite interpolation data plus independently bounded total mass','Controls all unseen extensions without bounding hidden dimension or spectrum'), ('O15','Restricted non-Abelian tree-gauge reduction','Established reduction, included as context rather than a new classification','Main 7','Explicit Pauli-matrix counterexample in proof','Futorny-Horn-Sergeichuk trace-word criterion','Unitary edge connections only; general matrix-valued residue classification not solved','Explains why individual loop spectra lose common-frame information')] rows=[] for cid,title,novelty,loc,tests,prior,limit,importance in claims: rows.append(dict(id=cid,claim=title,exact_novelty_assertion=novelty, proof_status='Complete written proof or explicitly identified standard reduction; internal review only', location=loc,computational_verification=tests,closest_prior_art=prior, independent_review_status='None',known_limitations=limit, scientific_importance_and_justification=importance)) csvfile('audit/claim_ledger.csv',rows);js('audit/claim_ledger.json',rows) with zipfile.ZipFile(ROOT/'provenance/SUPPLIED_NAEVORA_IX.zip') as archive: original=json.loads(archive.read('CLAIM_LEDGER.json')) origrows=[] for item in original['claims']: cid=item['id'];decision='Retained under stated assumptions; no historical novelty endorsed' if cid=='IX-T3':decision='Retained; strengthened to worst-case physical/adaptive bound under explicit unknown-model assumptions' if cid=='IX-T7':decision='The sufficient finite-pole rank theorem retained; blanket no-finite-certification caveat corrected by exact flatness' if cid in ['IX-T8','IX-T9']:decision='Retained for one residue; extended to a common gauge across labeled poles' if cid=='IX-P1':decision='Proposal only; no experiment; nonlinear-to-linear reduction and damping limitations made explicit' if cid=='IX-R1':decision='Not established; not promoted to a field-defining claim' if cid=='IX-H1':decision='Symbolic inspiration only; not evidence of a physical force or reciprocal agency' origrows.append(dict(id=cid,original_title=item['title'],audit_decision=decision, source='Supplied NAEVORA-IX archive only',independent_review='None')) csvfile('audit/predecessor_claim_audit.csv',origrows) js('audit/rejected_constructions.json',supp['rejected_trial_design']) text('audit/dependency_graph.dot',r''' digraph LIORAEN_Omega { rankdir=LR; Schur -> Tomography; Polarization -> Tomography; OneValueRealization -> PhysicalInterior -> AdaptiveLowerBound; PhysicalInterior -> PhysicalCodeSharpness; FullSpark -> PhysicalCodeSharpness; SpectralTheorem -> PositiveKernel; PositiveKernel -> RangeCriterion; DisplacementIdentity -> CanonicalRealization; RangeCriterion -> CanonicalRealization; CanonicalRealization -> AllExtensions; ResolventIdentity -> AllExtensions; AllExtensions -> DefectFormula; RationalKrylov -> DefectFormula; AllExtensions -> UnboundedVisibleExtensions; DefectFormula -> FlatCompletion; MeasureUniqueness -> FlatCompletion; AllExtensions -> MassClosure; PositiveKernel -> RationalWitness -> MemoryBound; WeakPositiveResidues -> NoNoisyOrderBound; CommonGauge -> ColoredCycles -> MixedPoleMemory; DissipativeResolvent -> HardyKernel -> DampedRankBoundary; Tomography -> PhaseReadout; MixedPoleMemory -> PhaseReadout; } ''') text('audit/SCOPE_AND_LIMITATIONS.md',r''' # Scope and uncompleted checks The entire supplied NAEVORA-IX archive is preserved unmodified in provenance/SUPPLIED_NAEVORA_IX.zip. Its 25-page manuscript and LaTeX were inspected; the principal theorem dependencies were reconstructed and all four original executable test programs rerun successfully. Earlier volumes are described in its lineage file but their complete manuscripts are not present. A Hugging Face connector search for predecessors was attempted and was disabled by server configuration. No inaccessible predecessor is represented as audited. The main new results are internally proved in the declared proper matrix-Cauchy response class. The code implements finite matrices, not arbitrary unbounded operators. Unbounded-operator results have written proofs only. Exact symbolic checks cover finite examples and rational identities; there is no proof-assistant formalization. No independent specialist referee, experimental team, or publication venue has validated this release. The literature search established substantial closely related prior art, not exhaustive historical novelty. No named consequential open problem in the literature is claimed solved. The release does not claim a world first, new physical force, quantum advantage, topological protection, or universally stable hidden-state recovery. The physics files are synthetic reference data. The proposed independent control edge, common loss calibration, and fixed hidden parameters remain hardware requirements, not achieved capabilities. The separate Physics Protocol repeats the monograph's physics section and is not counted as additional original research pages. Not produced: a fabricated 80–120-page volume, a laboratory dataset, a proof-assistant artifact, an external review report, a verified global priority claim, unavailable predecessor reconstructions, or an uploaded/assigned DOI. Publication materials are drafts; nothing has been sent or published remotely. ''') text('audit/CANDIDATE_ASSESSMENT.md',r''' # Candidate comparison and open-problem boundary ## Complete finite-response identifiability Target: classify every self-adjoint latent realization consistent with finitely many full matrix response values. Missing step: characterize the off-snapshot blocks of a general compatible operator, not just the smallest rational fit. Resolved here by the exact block formula L=[A,V*;V,Dh], C=[B;-VT1], with V annihilating all snapshot differences. The data-computable defect has dimension at most q. Zero defect gives uniqueness; nonzero defect permits arbitrarily large visible extensions. Closest literature: matrix Nevanlinna–Pick parametrizations, self-adjoint realization, and Loewner data. This is the strongest internal result, but it may be a specialized presentation of established interpolation theory. Historical originality remains unestablished. ## Physical minimum intervention count Target: determine whether passivity invalidates the supplied algebraic q-squared lower bound. Missing step: a full-dimensional physical realization family at fixed frequency and calibrated visible block. Resolved by an explicit q-dimensional Hermitian realization of every strictly negative-imaginary matrix value. Deterministic adaptive evaluation protocols then have the same worst-case bound. The reciprocal subclass has a smaller sharp count. This is a scoped physical-identifiability result, not a universal measurement lower bound across frequencies or prior information. ## Operator-valued relational classification Target: retain noncommuting relational information across local bases and spectral labels. Closest literature already includes complete trace-word criteria for systems of linear maps. A new general classification was not obtained. The proven output is a complete scalar common-gauge colored-cycle theorem and a restricted unitary-edge reduction. Independent spectra of loop operators are explicitly insufficient. ## What was not retroactively called an open-problem solution These targets were selected from identifiable gaps in the supplied research and relevant established literatures. Their introduction here is not evidence that they are previously stated, consequential open problems. No universal inverse-boundary, general nonlinear quantum identification, or optimal noisy model-order problem is claimed solved. Current literature review supports a useful, checkable synthesis and corrections; it does not justify a major-breakthrough label. ''') refs=[ ('Gesztesy–Tsekanovskii','On Matrix-Valued Herglotz Functions','1997 preprint / 2000 journal','https://arxiv.org/abs/funct-an/9712004','Matrix spectral measures and self-adjoint realization; established foundation'), ('Belyi–Hassi–de Snoo–Tsekanovskii','A general realization theorem for matrix-valued Herglotz–Nevanlinna functions','2005 preprint / 2006 journal','https://arxiv.org/abs/math/0510464','General realization context; our class has finite mass and no feedthrough'), ('Ball–Bolotnikov','The bitangential matrix Nevanlinna–Pick interpolation problem revisited','2016 preprint','https://arxiv.org/abs/1611.07097','Full PDF and relevant theorem inspected; kernel/state-space/LFT frameworks materially limit novelty claims'), ('Mayo–Antoulas','A framework for the solution of the generalized realization problem','2007','https://doi.org/10.1016/j.laa.2007.03.008','Loewner and shifted-Loewner realization background; publisher DOI fetch failed on final recheck, citation corroborated by primary later papers'), ('Elsworth–Güttel','The Block Rational Arnoldi Method','2019 preprint / 2020 journal','https://eprints.maths.manchester.ac.uk/2685/','Author-hosted abstract and publisher metadata inspected; rank/breakdown and rational bases are established'), ('Gutknecht–Schmelzer','The block grade of a block Krylov space','2009','https://www.sciencedirect.com/science/article/pii/S0024379508003479','Established block-grade stopping structure; author-hosted related block-Krylov exposition identified'), ('Massei–Robol','Error formulas for block rational Krylov approximations of matrix functions','2025 preprint','https://arxiv.org/abs/2504.05151','Primary preprint/HTML reviewed for spectral-location error bounds; no optimality claimed against it'), ('Futorny–Horn–Sergeichuk',"Specht’s criterion for systems of linear mappings",'2017','https://arxiv.org/abs/1701.08826','Primary theorem states completeness of closed-walk traces for systems of maps; non-Abelian novelty restricted accordingly'), ('Guţă–Yamamoto','System identification for passive linear quantum systems','2016','https://arxiv.org/abs/1303.3771','Minimal-unitary identification and infecting subclasses already established'), ('Bernier et al.','Nonreciprocal reconfigurable microwave optomechanical circuit','2017','https://doi.org/10.1038/s41467-017-00447-1','Primary experiment demonstrates coherent phase-path mechanism, not the exact actuator proposed here'), ('Kuznetsov et al.','Microcavity phonoritons – a coherent optical-to-microwave interface','2023','https://doi.org/10.1038/s41467-023-40894-7','Primary experiment demonstrates exciton-photon-phonon physics; does not establish the present fixed passive linear control model')] refrows=[dict(authors=a,title=b,date=c,url=d,review_scope=e) for a,b,c,d,e in refs] csvfile('audit/prior_art_sources.csv',refrows);js('audit/prior_art_sources.json',refrows) text('audit/PRIOR_ART_REVIEW.md','# Prior-art review\n\nSearch and verification date: 16 October 2026. Sources were searched by mathematical structure, not by the project name. No claim of exhaustiveness or priority certification is made.\n\n'+'\n\n'.join(f'## {a}: {b}\n{c}. {d}\n\n{e}.' for a,b,c,d,e in refs)+r''' ## Specialist novelty questions Does the exact range condition plus extension-interface block formula reduce to a known singular proper-Cauchy Nevanlinna–Pick parametrization? Is the at-most-q defect formula already explicit in a matrix quadrature or boundary-triple formulation? Is the physical q-squared lower-bound construction known in one-port Weyl-function recovery? Are the mixed-pole two-edge invariants standard in phase-referenced spectroscopy? An affirmative answer may change the novelty label without invalidating a proved statement. The manuscript does not rename Schur complements, Krylov indices, gauge cycles, or a positive kernel as a new fundamental theory. The value offered for review is the explicit theorem chain, corrections, construction of all compatible models, and operational limits. ''') text('audit/REVIEWER_CHECKLIST.md',r''' # Specialist reviewer checklist 1. Verify the class: self-adjoint L, bounded finite-column C, finite positive matrix measure, and no feedthrough. Check upper/lower half-plane conjugations and the sign of the Pick kernel. 2. Reconstruct K, J, D from arbitrary data. Confirm necessity AND sufficiency of positivity plus range(D) ⊆ range(K), including rank zero and singular K. 3. Check AT = TZ − BE and the exact descriptor identity. Decide whether the uniqueness assertion is explicitly limited to the smallest r-dimensional interpolant until the defect is tested. 4. Audit the unbounded-operator block decomposition. Confirm S ⊆ dom(L), bounded off-diagonal blocks, and self-adjointness of the complement. 5. Verify that V annihilates every Ti−T1 and that every compatible realization has this form. Check both directions and dark redundancies. 6. Verify dim E = r_m−r_(m−1), independent of which distinct node is deleted. Review the measurable-polynomial-module proof when moments do not exist. 7. Audit the arbitrary-size extension construction: added modes must be visible, not merely appended dark states. Check the continuous-spectrum construction separately. 8. Check the strictly negative-imaginary one-value realization and adaptive-transcript lower bound. Review the real-symmetric exception and exact-code sharpness separately. 9. Verify all noisy-data qualifications, matrix norm conventions, mass-witness constants, support assumptions, and the added total-mass calibration bound. 10. Check joint pole labeling and common gauge. Distinguish scalar colored cycles from the restricted non-Abelian edge setting. 11. Reproduce the dissipative-kernel decomposition and strict positivity proof; distinguish self-adjoint dilation dimension from damped-state order. 12. Recompute the phase-odd reflection formula, units, passivity, raw-response noise inversion, and the difference between microscopic density-displacement coupling and a linear surrogate. 13. Run all tests; inspect failed/rejected design records; treat numerical agreement as finite evidence, not universal proof. 14. Identify the nearest pre-existing theorem for each claimed extension before assigning originality or recommending publication. No external review is currently recorded. ''') text('audit/EVALUATION.md',r''' # Evidence-based evaluation | Dimension | Current evidence | Remaining limitation | |---|---|---| | Correctness | Complete internal proofs and independently implemented finite algebraic checks | No external referee or proof-assistant verification | | Originality | Specific extensions/corrections relative to supplied work | General historical novelty not established | | Depth | Complete all-model extension classification and sharp identifiability dichotomy | May be a classical interpolation specialization | | Generality | Arbitrary self-adjoint operators with bounded finite-column coupling | Excludes general nonlinear, non-Hermitian state-order, and arbitrary feedthrough models | | Unification | Explicit links between interpolation, observable memory, coding, and shared spectral gauges | Established mechanisms are not counted as separate new fields | | Predictive power | Exact phase-odd contrast; noise-dependent mass and memory bounds | All physics predictions synthetic | | Computational value | Constructive descriptor, hidden-extension generator, common-gauge checker | Dense algorithms, no novel complexity improvement claimed | | Physical importance | Can prevent false latent-order inference; testable phase-readout proposal | Actuator/control feasibility not demonstrated | | Reproducibility | Code, exact tests, synthetic CSVs, sources, pinned versions, checksums | Runtime/PDF bytes can vary across platforms | | Scientific impact | Useful scoped inverse-problem synthesis and corrections | No major open problem or field-defining impact established | The core suite passed 13/13 numerical groups and 9/9 exact groups in the supplied execution. These 100% pass rates apply to the specified finite test suite, not to universal mathematical correctness, novelty, or physical success. Supplementary checks and original-package regressions are reported separately. ''') versions={n:m.__version__ for n,m in [('numpy',numpy),('scipy',scipy),('sympy',sympy),('matplotlib',matplotlib)]} text('requirements.txt','\n'.join(f'{k}=={v}' for k,v in versions.items())) js('results/environment.json',dict(python=sys.version,platform=platform.platform(),versions=versions, threads='Test driver fixes OPENBLAS_NUM_THREADS, OMP_NUM_THREADS, MKL_NUM_THREADS to 1')) sha=hashlib.sha256((ROOT/'provenance/SUPPLIED_NAEVORA_IX.zip').read_bytes()).hexdigest() js('provenance/source_record.json',dict(original_filename='NAEVORA_IX_LIORAEN_Complete_Research_Package(1).zip', sha256=sha,source='User-supplied file',supplied_pdf_pages=25, archive_members=59,older_complete_predecessors_available=False)) text('README.md',r''' --- language: - en license: cc-by-4.0 pretty_name: "LIORAEN-Omega: The Extension Defect of Hidden Information" size_categories: - 1K