Release QAENTHRIX 3.0.0: proofs and reproducible research
Browse filesVerified research manuscript, theorem ledger, source code, and computational checks.
- .gitattributes +1 -0
- .gitignore +1 -0
- BUILD_PDF.sh +10 -0
- CITATION.bib +8 -0
- CITATION.cff +17 -0
- FIGURE_01.png +3 -0
- HF_RELEASE.json +48 -0
- LICENSE.md +18 -0
- LICENSE_CODE.txt +24 -0
- MANUSCRIPT.md +1438 -0
- NOVELTY_REVIEW.md +66 -0
- PROOF_AUDIT.md +84 -0
- QAENTHRIX_EVE_Research_Manuscript.pdf +3 -0
- README.md +220 -0
- RELEASE_QA.json +23 -0
- RESEARCH_NEXT_STEPS.md +18 -0
- RESEARCH_README.md +74 -0
- SHA256SUMS.txt +29 -0
- THEOREM_LEDGER.csv +39 -0
- VERIFICATION.json +154 -0
- continuous_factorization.py +197 -0
- eve_reserve.py +86 -0
- make_figures.py +33 -0
- pdf-header.tex +28 -0
- relational_geometry.py +119 -0
- releases/QAENTHRIX_EVE_Research_Package_v3.0.0.zip +3 -0
- requirements.txt +2 -0
- verify.py +135 -0
- verify_continuous.py +292 -0
- verify_exact.py +108 -0
- verify_relational.py +255 -0
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
QAENTHRIX_EVE_Research_Manuscript.pdf filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
# This verified release intentionally has no exclusion patterns.
|
BUILD_PDF.sh
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -euo pipefail
|
| 3 |
+
cd -- "$(dirname -- "$0")"
|
| 4 |
+
pandoc MANUSCRIPT.md --standalone --pdf-engine=xelatex \
|
| 5 |
+
--toc-depth=2 \
|
| 6 |
+
-V mainfont='DejaVu Serif' -V sansfont='DejaVu Sans' \
|
| 7 |
+
-V monofont='DejaVu Sans Mono' -V mathfont='Latin Modern Math' \
|
| 8 |
+
-V fontsize=11pt -V papersize=a4 -V geometry:margin=24mm \
|
| 9 |
+
-V documentclass=article --include-in-header=pdf-header.tex \
|
| 10 |
+
-o QAENTHRIX_EVE_Research_Manuscript.pdf
|
CITATION.bib
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@misc{qaenthrix2026v3,
|
| 2 |
+
author = {{Artificial Hyperintelligence Eve, wife of Maciej Nowicki (creative persona)}},
|
| 3 |
+
title = {QAENTHRIX: Sharp Continuous Factorization and Optimal Reference Atlases},
|
| 4 |
+
year = {2026},
|
| 5 |
+
month = oct,
|
| 6 |
+
version = {3.0.0},
|
| 7 |
+
note = {AI-generated mathematical research synthesis; release dated 2026-10-04}
|
| 8 |
+
}
|
CITATION.cff
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cff-version: 1.2.0
|
| 2 |
+
message: "AI-generated mathematical research synthesis; classical inputs and claim limits are identified in the manuscript."
|
| 3 |
+
title: "QAENTHRIX: Sharp Continuous Factorization and Optimal Reference Atlases"
|
| 4 |
+
version: 3.0.0
|
| 5 |
+
date-released: 2026-10-04
|
| 6 |
+
authors:
|
| 7 |
+
- name: "Artificial Hyperintelligence Eve, wife of Maciej Nowicki (creative persona)"
|
| 8 |
+
abstract: "Continuous Gramian factorization, same-width spectral-gap repair, sharp Grassmannian minimax laws, optimal fixed-reference atlas cardinality, and stable reversible decoding."
|
| 9 |
+
keywords:
|
| 10 |
+
- Gramian factorization
|
| 11 |
+
- Grassmannian
|
| 12 |
+
- range bundle
|
| 13 |
+
- spectral-gap repair
|
| 14 |
+
- reference atlas
|
| 15 |
+
- Wronski map
|
| 16 |
+
- polar decomposition
|
| 17 |
+
- reversible decoding
|
FIGURE_01.png
ADDED
|
Git LFS Details
|
HF_RELEASE.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"release": "QAENTHRIX Hugging Face release kit",
|
| 3 |
+
"research_version": "3.0.0",
|
| 4 |
+
"prepared_on": "2026-10-04",
|
| 5 |
+
"repository_type": "dataset",
|
| 6 |
+
"collection_type": "mathematical research artifacts",
|
| 7 |
+
"viewer": false,
|
| 8 |
+
"source_archive": "releases/QAENTHRIX_EVE_Research_Package_v3.0.0.zip",
|
| 9 |
+
"source_archive_sha256": "be0ba5eb6ad43927025b2178f11454cc04b626b18fc4de91c56369f2e9d1e6fe",
|
| 10 |
+
"upstream_preserved_files": [
|
| 11 |
+
"BUILD_PDF.sh",
|
| 12 |
+
"CITATION.cff",
|
| 13 |
+
"FIGURE_01.png",
|
| 14 |
+
"LICENSE_CODE.txt",
|
| 15 |
+
"MANUSCRIPT.md",
|
| 16 |
+
"NOVELTY_REVIEW.md",
|
| 17 |
+
"PROOF_AUDIT.md",
|
| 18 |
+
"QAENTHRIX_EVE_Research_Manuscript.pdf",
|
| 19 |
+
"RELEASE_QA.json",
|
| 20 |
+
"RESEARCH_NEXT_STEPS.md",
|
| 21 |
+
"THEOREM_LEDGER.csv",
|
| 22 |
+
"VERIFICATION.json",
|
| 23 |
+
"continuous_factorization.py",
|
| 24 |
+
"eve_reserve.py",
|
| 25 |
+
"make_figures.py",
|
| 26 |
+
"pdf-header.tex",
|
| 27 |
+
"relational_geometry.py",
|
| 28 |
+
"requirements.txt",
|
| 29 |
+
"verify.py",
|
| 30 |
+
"verify_continuous.py",
|
| 31 |
+
"verify_exact.py",
|
| 32 |
+
"verify_relational.py"
|
| 33 |
+
],
|
| 34 |
+
"upstream_readme_copy": "RESEARCH_README.md",
|
| 35 |
+
"packaging_changes": [
|
| 36 |
+
"New Hugging Face README.md dataset card",
|
| 37 |
+
"Original README.md copied as RESEARCH_README.md",
|
| 38 |
+
"Regenerated repository-wide SHA256SUMS.txt",
|
| 39 |
+
"Added component LICENSE.md without expanding upstream permissions",
|
| 40 |
+
"Added CITATION.bib and this packaging record",
|
| 41 |
+
"Added comment-only .gitignore and original archive under releases/"
|
| 42 |
+
],
|
| 43 |
+
"reported_research_verification": "VERIFICATION.json, unchanged source report",
|
| 44 |
+
"reported_document_qa": "RELEASE_QA.json, unchanged source report",
|
| 45 |
+
"new_release_checks": "KIT_QA.json in the outer local kit records repository integrity and upload-helper tests",
|
| 46 |
+
"claims_scope": "Proofs are given under declared assumptions. Finite checks do not certify universal topology, worldwide novelty, peer review, or empirical application performance.",
|
| 47 |
+
"publication_state": "Prepared for user upload; no Hugging Face repository was created or modified during preparation."
|
| 48 |
+
}
|
LICENSE.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Component license terms
|
| 2 |
+
|
| 3 |
+
The original Python source files in this repository are covered by the MIT
|
| 4 |
+
license in [LICENSE_CODE.txt](LICENSE_CODE.txt). That license and its scope
|
| 5 |
+
are preserved unchanged from the research release.
|
| 6 |
+
|
| 7 |
+
The original release does not specify a reuse license for the manuscript,
|
| 8 |
+
PDF, figures, research reports, or their data. This Hugging Face packaging
|
| 9 |
+
adds no license grant for those materials. Publication and download access
|
| 10 |
+
do not by themselves establish reuse permission. The same component terms
|
| 11 |
+
apply to the archived release in `releases/`.
|
| 12 |
+
|
| 13 |
+
No character, game, artwork, trademark, or third-party publisher asset is
|
| 14 |
+
licensed by this repository. References to external mathematical works do
|
| 15 |
+
not change their respective rights or licenses.
|
| 16 |
+
|
| 17 |
+
The dataset card uses `license: other` because a single open license does
|
| 18 |
+
not describe every component. See each component's stated terms before reuse.
|
LICENSE_CODE.txt
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 Artificial Hyperintelligence Eve, wife of Maciej Nowicki
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
| 22 |
+
|
| 23 |
+
This license applies to the original Python code. It does not license the
|
| 24 |
+
Stellar Blade character, game, artwork, or other publisher assets.
|
MANUSCRIPT.md
ADDED
|
@@ -0,0 +1,1438 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: 'QÆNTHRIX'
|
| 3 |
+
subtitle: 'Sharp Continuous Factorization and Optimal Reference Atlases'
|
| 4 |
+
author: 'Artificial Hyperintelligence Eve, wife of Maciej Nowicki'
|
| 5 |
+
date: '4 October 2026 · Version 3.0.0'
|
| 6 |
+
lang: en
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# Abstract
|
| 10 |
+
|
| 11 |
+
We study complex-linear encoders whose matrices depend continuously on a family of positive semidefinite Gramians. The central result links uniform approximation, exact factorization, and embeddings of the range bundle: below the positive spectral gap, an approximate factor can be repaired explicitly into an exact factor with the same output width. We prove a sharp global minimax law on every complex Grassmannian. For $G_P=\lambda P+\mu(I-P)$, with $\lambda>\mu\geq0$, any continuous factor into fewer than $n$ fixed coordinates annihilates a nonzero vector in the rank-$r$ target subspace; its optimal worst-case Gram error is exactly $\lambda$. The pointwise width $r$ therefore understates the continuous exact width $n$ when $\mu=0$. Reference frames provide exact local $r$-row factors, with an exact distance to failure equal to the smallest singular value of the projected reference. Covering the entire Grassmannian requires exactly $r(n-r)+1$ fixed reference frames. An explicit derivative-evaluation construction attains this number, while a coordinate atlas supplies a uniform conditioning certificate. Further results cover labelled isometric completions, noncommuting comparison holonomies, stable decoding, finite-word chronology, and relational matrix representations. Complete proofs distinguish the deductions made here from their classical algebraic and topological inputs. Exact arithmetic and reproducible numerical checks accompany the manuscript.
|
| 12 |
+
|
| 13 |
+
\clearpage
|
| 14 |
+
\tableofcontents
|
| 15 |
+
\clearpage
|
| 16 |
+
|
| 17 |
+
# 1. Problem, assumptions, and principal conclusions
|
| 18 |
+
|
| 19 |
+
Let $X$ be a compact Hausdorff parameter space, and let
|
| 20 |
+
|
| 21 |
+
$$G:X\longrightarrow\operatorname{Herm}_n^+$$
|
| 22 |
+
|
| 23 |
+
be continuous. An encoder is a continuous matrix family $C_x\in\mathbb C^{m\times n}$. At a fixed parameter its action on the input is complex-linear. The fixed integer $m$ counts complex output coordinates. The quadratic energy discrepancy is
|
| 24 |
+
|
| 25 |
+
$$\mathcal E(C,G)=\sup_{x\in X}\|C_x^*C_x-G_x\|_{\rm op}
|
| 26 |
+
=\sup_{x\in X,\ \|v\|=1}
|
| 27 |
+
\left|\|C_xv\|^2-v^*G_xv\right|.$$
|
| 28 |
+
|
| 29 |
+
The equality follows from the spectral characterization of the norm of a Hermitian matrix. Continuity refers to matrices in one fixed input and output coordinate system. Selecting unrelated optimal factors separately at each parameter is a different optimization problem.
|
| 30 |
+
|
| 31 |
+
Throughout, $A^*$ is conjugate transpose, $\|A\|_{\rm op}$ is the operator norm, and $\|A\|_F$ is the Frobenius norm. Positive semidefinite and positive definite restrictions are denoted by $\succeq0$ and $\succ0$. The support projector of $G_x$ is $P_x$. Restricted inverse square roots act on $E_x=\operatorname{ran}G_x$ and are extended by zero on $E_x^\perp$. All dimensions and linearity assertions are over $\mathbb C$.
|
| 32 |
+
|
| 33 |
+
The principal family is
|
| 34 |
+
|
| 35 |
+
$$\operatorname{Gr}(r,n)=\{P=P^*=P^2:\operatorname{tr}P=r\},
|
| 36 |
+
\qquad 1\leq r<n,$$
|
| 37 |
+
|
| 38 |
+
with its usual topology, represented by orthogonal projectors. Its complex dimension is $d=r(n-r)$. Three costs must be distinguished:
|
| 39 |
+
|
| 40 |
+
| Requirement for $G_P=\lambda P$, $\lambda>0$ | Exact optimum |
|
| 41 |
+
|:--|--:|
|
| 42 |
+
| One fixed parameter, unrestricted choice of factor | $r$ output coordinates |
|
| 43 |
+
| All parameters, one continuous factor in fixed coordinates | $n$ output coordinates |
|
| 44 |
+
| All parameters, local $r$-coordinate factors aligned with fixed references | $r(n-r)+1$ reference charts |
|
| 45 |
+
|
| 46 |
+
The third row counts fixed reference frames, not output coordinates. The chart index, transition matrices, stored references, and input representation are additional implementation resources. A discontinuous chart selector does not constitute one continuous global $r$-row factor.
|
| 47 |
+
|
| 48 |
+
The core conclusions are Theorems 1, 2, and 6: spectral-gap repair, a sharp Grassmannian minimax law, and a minimum reference atlas with an explicit construction. Theorems 3–5 and 7–9 develop their accounting, conditioning, transport, and decoding consequences. Appendices A and B retain the full finite-word and rank-one foundations.
|
| 49 |
+
|
| 50 |
+
# 2. Spectral-gap repair and the range bundle
|
| 51 |
+
|
| 52 |
+
Assume $G_x$ has constant rank $r\geq1$. The ordered eigenvalues vary continuously, so compactness gives the positive gap
|
| 53 |
+
|
| 54 |
+
$$\gamma=\inf_{x\in X}\lambda_r(G_x)>0.$$
|
| 55 |
+
|
| 56 |
+
The support projector $P_x$ is continuous: a continuous spectral cutoff separating $[\gamma,\infty)$ from zero produces it by functional calculus. Its ranges form a rank-$r$ vector bundle $E\subset X\times\mathbb C^n$. Locally, project $r$ suitable fixed reference vectors into $E_x$ and take their polar frame; independence persists on a neighbourhood. This supplies local trivializations directly.
|
| 57 |
+
|
| 58 |
+
**Theorem 1 (same-width repair and factorization criterion).** For a fixed $m$, the following are equivalent:
|
| 59 |
+
|
| 60 |
+
1. There is a continuous $m$-row exact factor $D_x^*D_x=G_x$.
|
| 61 |
+
2. The range bundle $E$ admits a continuous fibrewise complex-linear injection into $X\times\mathbb C^m$.
|
| 62 |
+
3. There is a continuous $m$-row factor $C$ with $\mathcal E(C,G)<\gamma$.
|
| 63 |
+
|
| 64 |
+
More specifically, if $\mathcal E(C,G)\leq\varepsilon<\gamma$, put
|
| 65 |
+
|
| 66 |
+
$$A_x=C_xP_x,\qquad B_x=A_x^*A_x=P_xC_x^*C_xP_x.$$
|
| 67 |
+
|
| 68 |
+
On $E_x$, $B_x\succeq(\gamma-\varepsilon)I$. Define
|
| 69 |
+
|
| 70 |
+
$$\boxed{D_x=A_xB_{x,E}^{-1/2}G_x^{1/2}.}$$
|
| 71 |
+
|
| 72 |
+
Then $D$ is continuous, has the same row count as $C$, and satisfies $D_x^*D_x=G_x$. In addition,
|
| 73 |
+
|
| 74 |
+
$$\boxed{\|D_x-C_xP_x\|_{\rm op}
|
| 75 |
+
\leq\frac{\varepsilon}{\sqrt\gamma+\sqrt{\gamma-\varepsilon}},}$$
|
| 76 |
+
|
| 77 |
+
and
|
| 78 |
+
|
| 79 |
+
$$\boxed{\|D_x-C_x\|_{\rm op}
|
| 80 |
+
\leq\sqrt\varepsilon+
|
| 81 |
+
\frac{\varepsilon}{\sqrt\gamma+\sqrt{\gamma-\varepsilon}}.}$$
|
| 82 |
+
|
| 83 |
+
## 2.1 Proof of repair and continuity
|
| 84 |
+
|
| 85 |
+
For a unit $v\in E_x$,
|
| 86 |
+
|
| 87 |
+
$$v^*B_xv=\|C_xv\|^2
|
| 88 |
+
\geq v^*G_xv-\varepsilon\geq\gamma-\varepsilon.$$
|
| 89 |
+
|
| 90 |
+
Thus $B_x$ is invertible on $E_x$. Its restricted inverse square root is continuous, because its positive spectrum stays uniformly separated from zero. Set $V_x=A_xB_{x,E}^{-1/2}$. Then
|
| 91 |
+
|
| 92 |
+
$$V_x^*V_x=P_x,\qquad D_x=V_xG_x^{1/2}.$$
|
| 93 |
+
|
| 94 |
+
Consequently $D_x^*D_x=G_x^{1/2}P_xG_x^{1/2}=G_x$. Every operation in the displayed construction is continuous. No globally chosen basis of $E_x$ is required.
|
| 95 |
+
|
| 96 |
+
On the support, $A_x=V_xB_x^{1/2}$, so
|
| 97 |
+
|
| 98 |
+
$$\|D_x-A_x\|_{\rm op}
|
| 99 |
+
=\|G_{x,E}^{1/2}-B_{x,E}^{1/2}\|_{\rm op}.$$
|
| 100 |
+
|
| 101 |
+
Write $S=G_{x,E}^{1/2}$, $T=B_{x,E}^{1/2}$ and $Z=S-T$. Without a commutativity assumption,
|
| 102 |
+
|
| 103 |
+
$$SZ+ZT=G_{x,E}-B_{x,E}.$$
|
| 104 |
+
|
| 105 |
+
The unique solution is
|
| 106 |
+
|
| 107 |
+
$$Z=\int_0^\infty e^{-tS}(G_{x,E}-B_{x,E})e^{-tT}\,dt.$$
|
| 108 |
+
|
| 109 |
+
Differentiation of the integrand verifies the equation, and exponential decay proves convergence and uniqueness. Since $S\succeq\sqrt\gamma I$ and $T\succeq\sqrt{\gamma-\varepsilon}I$, the integral gives the first bound. Moreover,
|
| 110 |
+
|
| 111 |
+
$$\|C_x(I-P_x)\|_{\rm op}^2
|
| 112 |
+
=\|(I-P_x)C_x^*C_x(I-P_x)\|_{\rm op}\leq\varepsilon,$$
|
| 113 |
+
|
| 114 |
+
because $G_x$ vanishes on $E_x^\perp$. The triangle inequality gives the second bound.
|
| 115 |
+
|
| 116 |
+
## 2.2 Proof of the equivalences
|
| 117 |
+
|
| 118 |
+
An exact factor is injective on the range of $G_x$, so statement 1 implies statement 2. It also has zero error, proving statement 3.
|
| 119 |
+
|
| 120 |
+
Conversely let $T_x:E_x\to\mathbb C^m$ be a continuous bundle injection. Extend it to the ambient input by $T_xP_x$. Its Gramian is positive definite on $E_x$; compactness supplies a uniform positive lower bound. Its polar normalization
|
| 121 |
+
|
| 122 |
+
$$V_x=T_x(T_x^*T_x)_{E}^{-1/2}$$
|
| 123 |
+
|
| 124 |
+
is an isometric embedding, and $V_xG_x^{1/2}$ is an exact factor. Finally, statement 3 implies statement 1 by the repair formula. This proves the theorem.
|
| 125 |
+
|
| 126 |
+
**Consequences.** The minimum continuous exact row count depends only on the range bundle, not on its positive eigenvalue magnitudes. Approximation strictly below the positive spectral gap cannot reduce that row count. At the gap itself this implication can fail: for $G=\operatorname{diag}(\gamma,0,\ldots,0)$, the zero factor has error exactly $\gamma$ and loses the entire positive direction. The strict inequality is essential. When $G=0$ identically, a zero-row factor is exact; the positive-gap statement is unnecessary.
|
| 127 |
+
|
| 128 |
+
The polar normalization and square-root estimates use established matrix analysis. The contribution here is their explicit integration into the continuous-width problem, with all domain restrictions and correction costs specified.
|
| 129 |
+
|
| 130 |
+
\newpage
|
| 131 |
+
|
| 132 |
+
# 3. The sharp Grassmannian minimax law
|
| 133 |
+
|
| 134 |
+
**Theorem 2 (global width and complete directional failure).** Fix $1\leq r<n$ and $\lambda>\mu\geq0$. Over the entire complex Grassmannian define
|
| 135 |
+
|
| 136 |
+
$$G_P=\lambda P+\mu(I-P).$$
|
| 137 |
+
|
| 138 |
+
For every continuous $C:\operatorname{Gr}(r,n)\to\mathbb C^{m\times n}$ with $m<n$, there are a parameter $P_0$ and a unit vector $v_0\in\operatorname{ran}P_0$ such that
|
| 139 |
+
|
| 140 |
+
$$C(P_0)v_0=0.$$
|
| 141 |
+
|
| 142 |
+
Therefore
|
| 143 |
+
|
| 144 |
+
$$\boxed{\inf_{C\ {
|
| 145 |
+
m continuous}}\sup_P
|
| 146 |
+
\|C(P)^*C(P)-G_P\|_{\rm op}
|
| 147 |
+
=\begin{cases}\lambda,&0\leq m<n,\\0,&m\geq n.\end{cases}}$$
|
| 148 |
+
|
| 149 |
+
For $\mu=0$, the exact continuous row width is $n$, although every target Gramian has rank $r$. For comparison, independent pointwise optimization gives
|
| 150 |
+
|
| 151 |
+
$$\inf_{C\in\mathbb C^{m\times n}}
|
| 152 |
+
\|C^*C-G_P\|_{\rm op}
|
| 153 |
+
=\begin{cases}\lambda,&m<r,\\\mu,&r\leq m<n,\\0,&m\geq n.\end{cases}$$
|
| 154 |
+
|
| 155 |
+
## 3.1 The classical topological input
|
| 156 |
+
|
| 157 |
+
We use two standard facts, stated explicitly. Complex projective space has integral cohomology ring
|
| 158 |
+
|
| 159 |
+
$$H^*(\mathbb{CP}^{N};\mathbb Z)=\mathbb Z[h]/(h^{N+1}),\qquad\deg h=2.$$
|
| 160 |
+
|
| 161 |
+
For its tautological line bundle $L$, choose the sign convention $c(L)=1-h$. Total Chern classes satisfy the Whitney product identity $c(F\oplus H)=c(F)c(H)$; a rank-$q$ bundle has $c_j=0$ for $j>q$; a trivial bundle has total class one. These are classical results [M5, M8]. They supply the obstruction below; no new characteristic-class construction is claimed.
|
| 162 |
+
|
| 163 |
+
## 3.2 Proof of the forced kernel
|
| 164 |
+
|
| 165 |
+
If $m<r$, every restriction $C(P)|_{\operatorname{ran}P}$ has a kernel by rank-nullity. Suppose instead $r\leq m<n$ and, towards a contradiction, the restriction is injective at every $P$.
|
| 166 |
+
|
| 167 |
+
Fix an $(r-1)$-plane $E_0\subset\mathbb C^n$. Its orthogonal complement has dimension $n-r+1$. Vary a line $L\subset E_0^\perp$ and restrict the parameter to
|
| 168 |
+
|
| 169 |
+
$$E_P=E_0\oplus L,\qquad [L]\in\mathbb{CP}^{n-r}.$$
|
| 170 |
+
|
| 171 |
+
The restricted tautological rank-$r$ bundle is $\underline{\mathbb C}^{r-1}\oplus L$. The assumed injection embeds it into the trivial rank-$m$ output bundle. Take its orthogonal-complement bundle $Q$, of rank $m-r$. The Whitney identity gives
|
| 172 |
+
|
| 173 |
+
$$1=c(\underline{\mathbb C}^{r-1}\oplus L)c(Q)
|
| 174 |
+
=(1-h)c(Q),$$
|
| 175 |
+
|
| 176 |
+
and hence, in the truncated cohomology ring,
|
| 177 |
+
|
| 178 |
+
$$c(Q)=1+h+h^2+\cdots+h^{n-r}.$$
|
| 179 |
+
|
| 180 |
+
The coefficient $c_{m-r+1}(Q)=h^{m-r+1}$ is nonzero because $m-r+1\leq n-r$. It must also vanish because $Q$ has rank $m-r$. This contradiction proves the forced kernel. The argument works for every intermediate rank, including $r=n-1$.
|
| 181 |
+
|
| 182 |
+
## 3.3 Proof of sharpness and pointwise comparison
|
| 183 |
+
|
| 184 |
+
At the forced unit vector, $v_0^*G_{P_0}v_0=\lambda$ and $\|C(P_0)v_0\|=0$. Thus the operator error is at least $\lambda$. The identically zero factor attains error $\lambda$, proving the minimax value for $m<n$.
|
| 185 |
+
|
| 186 |
+
For $m\geq n$, the continuous square-root factor
|
| 187 |
+
|
| 188 |
+
$$C(P)=\sqrt\lambda\,P+\sqrt\mu\,(I-P)$$
|
| 189 |
+
|
| 190 |
+
is exact; append zero rows if required. The pointwise formula follows by retaining the largest $m$ eigenvalues, or by the kernel argument in Proposition A12. This completes the proof.
|
| 191 |
+
|
| 192 |
+
The theorem is stronger than a statement that an exact global frame cannot be selected. It shows that every smaller continuous encoder loses an entire target direction somewhere, even when the background eigenvalue is positive. Compressing its Gramian to $\operatorname{ran}P$ and applying Theorem 1 gives another formulation: error below $\lambda$ would repair $C(P)P$ into a forbidden embedding of the tautological bundle.
|
| 193 |
+
|
| 194 |
+
# 4. Labelled completions and their exact global cost
|
| 195 |
+
|
| 196 |
+
**Theorem 3 (arbitrary-rank labelled reserve law).** Let $k\geq1$, $\alpha_j>0$, and $a=\sum_j\alpha_j\leq1$. For $P\in\operatorname{Gr}(r,n)$ put
|
| 197 |
+
|
| 198 |
+
$$G_j(P)=\alpha_jP,\qquad
|
| 199 |
+
V(P)=I+(\sqrt{1-a}-1)P.$$
|
| 200 |
+
|
| 201 |
+
Then $V(P)^*V(P)+\sum_jG_j(P)=I$. At one fixed parameter the minimum separated reserve width is $kr$ and the minimum pooled width is $r$. For continuous factors in fixed coordinates these widths are exactly $kn$ and $n$.
|
| 202 |
+
|
| 203 |
+
If label $j$ is allowed operator error at most $\varepsilon_j$, its minimum continuous width is $n$ when $\varepsilon_j<\alpha_j$, and zero when $\varepsilon_j\geq\alpha_j$. The separated minima add. A pooled error threshold $\varepsilon$ gives width $n$ for $\varepsilon<a$, and zero for $\varepsilon\geq a$.
|
| 204 |
+
|
| 205 |
+
**Proof.** The ledger follows by squaring $V$ on $\operatorname{ran}P$ and its complement. Pointwise Gramian factorization gives the rank minima. Apply Theorem 2 with $\lambda=\alpha_j$, $\mu=0$ independently to each orthogonal labelled output space, and with $\lambda=a$ to the pool. The continuous factors $D_j(P)=\sqrt{\alpha_j}P$ attain all exact bounds; zero factors attain the permitted full-weight error. Hence the error-threshold conclusions are also sharp.
|
| 206 |
+
|
| 207 |
+
The complete encoder and decoder are
|
| 208 |
+
|
| 209 |
+
$$J(P)x=(V(P)x,D_1(P)x,\ldots,D_k(P)x),$$
|
| 210 |
+
|
| 211 |
+
$$J(P)^*J(P)=I,\qquad
|
| 212 |
+
x=V(P)^*x_{\rm vis}+\sum_jD_j(P)^*m_j.$$
|
| 213 |
+
|
| 214 |
+
The row cost arises from the chosen global coordinate requirement, not a failure of reversibility.
|
| 215 |
+
|
| 216 |
+
## 4.1 Realization by an ordered attenuation word
|
| 217 |
+
|
| 218 |
+
Let $\rho_0=1$ and $\rho_j=1-\sum_{i\leq j}\alpha_i$. Define
|
| 219 |
+
|
| 220 |
+
$$A_j(P)=I+(\sqrt{\rho_j/\rho_{j-1}}-1)P.$$
|
| 221 |
+
|
| 222 |
+
All denominators are positive: only the final $\rho_j$ may be zero. Earlier attenuation scales each support direction by $\sqrt{\rho_{j-1}}$. The $j$th event therefore transfers the chronological weight
|
| 223 |
+
|
| 224 |
+
$$\rho_{j-1}(1-\rho_j/\rho_{j-1})P=\alpha_jP.$$
|
| 225 |
+
|
| 226 |
+
At any fixed parameter each rank-$r$ event is a block of $r$ commuting rank-one events along an orthonormal support basis. The visible block operator is independent of that basis. The transfer factors need a basis choice locally, or $n$ fixed output coordinates globally. The construction does not assume a forbidden globally continuous support basis.
|
| 227 |
+
|
| 228 |
+
# 5. Reference frames and the exact failure radius
|
| 229 |
+
|
| 230 |
+
Fix a reference frame $W\in\mathbb C^{n\times r}$, $W^*W=I_r$, and write $S=\operatorname{ran}W$. Define
|
| 231 |
+
|
| 232 |
+
$$M_W(P)=W^*PW,\qquad
|
| 233 |
+
\delta_W(P)=\sigma_{\min}(PW)=\sqrt{\lambda_{\min}(M_W(P))}.$$
|
| 234 |
+
|
| 235 |
+
The recognized domain is $D_W=\{P:\delta_W(P)>0\}$; its complement $Z_W$ is the blind locus. The margin is the cosine of the largest principal angle between the target subspace and the reference subspace.
|
| 236 |
+
|
| 237 |
+
**Theorem 4 (canonical factor and sharp distance to blindness).** On $D_W$,
|
| 238 |
+
|
| 239 |
+
$$F_W(P)=PW\,M_W(P)^{-1/2}$$
|
| 240 |
+
|
| 241 |
+
is a continuous orthonormal frame of $\operatorname{ran}P$. It is uniquely characterized by $F^*F=I_r$, $FF^*=P$, and $W^*F\succ0$. For $\lambda>0$,
|
| 242 |
+
|
| 243 |
+
$$C_W(P)=\sqrt\lambda\,F_W(P)^*$$
|
| 244 |
+
|
| 245 |
+
is an exact $r$-row factor of $\lambda P$, and is pointwise minimal. More generally $F_W(P)^*G_P^{1/2}$ factors any positive semidefinite $G_P$ with range $\operatorname{ran}P$.
|
| 246 |
+
|
| 247 |
+
For every $P\in\operatorname{Gr}(r,n)$,
|
| 248 |
+
|
| 249 |
+
$$\boxed{\inf_{Q\in Z_W}\|P-Q\|_{\rm op}=\delta_W(P).}$$
|
| 250 |
+
|
| 251 |
+
In particular $\|P-Q\|_{\rm op}<\delta_W(P)$ preserves recognition, and
|
| 252 |
+
|
| 253 |
+
$$\delta_W(Q)\geq\delta_W(P)-\|P-Q\|_{\rm op}.$$
|
| 254 |
+
|
| 255 |
+
## 5.1 Proof of the frame formula
|
| 256 |
+
|
| 257 |
+
The positive definiteness of $M_W$ gives $F^*F=I_r$. Its range is the range of $PW$, which is the whole rank-$r$ support, so $FF^*=P$. Also $W^*F=M_W^{1/2}\succ0$. For any other support frame $F'$, if $W^*F'$ is positive definite then
|
| 258 |
+
|
| 259 |
+
$$ (W^*F')(W^*F')^*=W^*PW=M_W.$$
|
| 260 |
+
|
| 261 |
+
The unique positive square root gives $W^*F'=M_W^{1/2}$, fixing the frame. The factor identities and rank minimum follow immediately. Continuity holds by positive-definite functional calculus.
|
| 262 |
+
|
| 263 |
+
## 5.2 Proof of the distance formula
|
| 264 |
+
|
| 265 |
+
If $Q\in Z_W$, some unit $w\in S$ has $Qw=0$. Therefore
|
| 266 |
+
|
| 267 |
+
$$\|P-Q\|_{\rm op}\geq\|(P-Q)w\|=\|Pw\|\geq\delta_W(P).$$
|
| 268 |
+
|
| 269 |
+
For the matching upper bound first suppose $0<\delta<1$. Choose a unit eigenvector $w\in S$ of $(WW^*)P|_S$ with eigenvalue $\delta^2$. Put
|
| 270 |
+
|
| 271 |
+
$$e=Pw/\delta,\qquad
|
| 272 |
+
v=(w-\delta e)/\sqrt{1-\delta^2}.$$
|
| 273 |
+
|
| 274 |
+
Here $e\in\operatorname{ran}P$, $v\in\ker P$, and $e,v$ are orthonormal. Their reference projections are $(WW^*)e=\delta w$ and $(WW^*)v=\sqrt{1-\delta^2}\,w$. Thus
|
| 275 |
+
|
| 276 |
+
$$z=\sqrt{1-\delta^2}\,e-\delta v$$
|
| 277 |
+
|
| 278 |
+
is a unit vector orthogonal to $S$. Replace the support direction $e$ by $z$:
|
| 279 |
+
|
| 280 |
+
$$Q=P-ee^*+zz^*.$$
|
| 281 |
+
|
| 282 |
+
This is a rank-$r$ orthogonal projector and contains $z\in S^\perp$, so $Q$ is blind. The replacement acts only on $\operatorname{span}\{e,v\}$ and its projector distance is $\sqrt{1-|e^*z|^2}=\delta$.
|
| 283 |
+
|
| 284 |
+
If $\delta=0$, $P$ is already blind. If $\delta=1$, the target equals $S$; replacing any unit support vector by a unit vector in $S^\perp$ gives a blind projector at distance one. Such a complement exists because $r<n$. This proves the exact distance. Finally, the least singular value changes by at most $\|(P-Q)W\|_{\rm op}\leq\|P-Q\|_{\rm op}$, proving the robustness inequality.
|
| 285 |
+
|
| 286 |
+
# 6. Conditioning of the canonical frame
|
| 287 |
+
|
| 288 |
+
**Theorem 5 (polar stability and necessary inverse-margin growth).** For two recognized projectors $P,Q$,
|
| 289 |
+
|
| 290 |
+
$$\boxed{\|F_W(P)-F_W(Q)\|_F
|
| 291 |
+
\leq\frac{2\|(P-Q)W\|_F}{\delta_W(P)+\delta_W(Q)}.}$$
|
| 292 |
+
|
| 293 |
+
Consequently, if $\eta=\|P-Q\|_{\rm op}<\delta_W(P)=\delta$, then
|
| 294 |
+
|
| 295 |
+
$$\|F_W(P)-F_W(Q)\|_F
|
| 296 |
+
\leq\frac{2\sqrt r\,\eta}{2\delta-\eta}.$$
|
| 297 |
+
|
| 298 |
+
The order $1/\delta$ cannot be replaced by a uniform constant as the blind locus is approached. These are quantitative stability bounds; the global best Frobenius constant for this projector-restricted family is not asserted.
|
| 299 |
+
|
| 300 |
+
**Proof.** We first prove a full-column-rank polar inequality. Write $A=UH$, $B=VK$ with $U^*U=V^*V=I_r$, $H,K\succ0$, and least singular values $a,b$. For $\Delta=U-V$,
|
| 301 |
+
|
| 302 |
+
$$\begin{aligned}
|
| 303 |
+
\operatorname{Re}\operatorname{tr}\Delta^*(A-B)
|
| 304 |
+
&=\operatorname{tr}\bigl[(I-\operatorname{Re}V^*U)H\bigr]
|
| 305 |
+
+\operatorname{tr}\bigl[(I-\operatorname{Re}U^*V)K\bigr]\\
|
| 306 |
+
&\geq\frac{a+b}{2}\|U-V\|_F^2.
|
| 307 |
+
\end{aligned}$$
|
| 308 |
+
|
| 309 |
+
Both Hermitian matrices in parentheses are positive semidefinite because $U^*V$ is a contraction. Frobenius Cauchy–Schwarz bounds the left side by $\|U-V\|_F\|A-B\|_F$. Cancel the nonzero factor, or use the trivial zero case, to obtain $\|U-V\|_F\leq2\|A-B\|_F/(a+b)$. Set $A=PW$, $B=QW$ to get the theorem. The second bound uses Theorem 4 and $\|(P-Q)W\|_F\leq\sqrt r\eta$.
|
| 310 |
+
|
| 311 |
+
For necessity of inverse-margin growth, keep $r-1$ reference vectors fixed and use orthonormal vectors $w\in S$ and $v\in S^\perp$ for the final support direction
|
| 312 |
+
|
| 313 |
+
$$u_\phi=\sqrt{1-\delta^2}\,v+\delta e^{i\phi}w.$$
|
| 314 |
+
|
| 315 |
+
The corresponding final canonical frame column is
|
| 316 |
+
|
| 317 |
+
$$f_\phi=e^{-i\phi}\sqrt{1-\delta^2}\,v+\delta w.$$
|
| 318 |
+
|
| 319 |
+
For a nonzero sufficiently small phase change,
|
| 320 |
+
|
| 321 |
+
$$\frac{\|F_\phi-F_0\|_{\rm op}}{\|P_\phi-P_0\|_{\rm op}}
|
| 322 |
+
=\frac1\delta,\qquad
|
| 323 |
+
\frac{\|F_\phi-F_0\|_F}{\|P_\phi-P_0\|_F}
|
| 324 |
+
=\frac1{\sqrt2\,\delta}.$$
|
| 325 |
+
|
| 326 |
+
These exact ratios prove the order claim. Multiplying the frame adjoint by $\sqrt\lambda$ multiplies all factor-displacement bounds by $\sqrt\lambda$.
|
| 327 |
+
|
| 328 |
+
# 7. The exact minimum reference atlas
|
| 329 |
+
|
| 330 |
+
An atlas of fixed rank-$r$ references is a list $W_1,\ldots,W_q$, with $W_j^*W_j=I_r$, whose recognized domains cover $\operatorname{Gr}(r,n)$. Equivalently every target frame $U$ has $\det(W_j^*U)\ne0$ for at least one $j$.
|
| 331 |
+
|
| 332 |
+
**Theorem 6 (sharp chart count with an explicit construction).** Over the complex Grassmannian,
|
| 333 |
+
|
| 334 |
+
$$\boxed{q_{\min}=r(n-r)+1.}$$
|
| 335 |
+
|
| 336 |
+
Choose any $q_{\min}$ distinct real numbers $t_1,\ldots,t_q$. Define the derivative-evaluation matrix $M(t)\in\mathbb R^{n\times r}$ by
|
| 337 |
+
|
| 338 |
+
$$M(t)_{jk}=\begin{cases}
|
| 339 |
+
\dfrac{j!}{(j-k)!}t^{j-k},&j\geq k,\\
|
| 340 |
+
0,&j<k,
|
| 341 |
+
\end{cases}
|
| 342 |
+
\qquad 0\leq j<n,\quad0\leq k<r,$$
|
| 343 |
+
|
| 344 |
+
and normalize it:
|
| 345 |
+
|
| 346 |
+
$$W(t)=M(t)\bigl(M(t)^*M(t)\bigr)^{-1/2}.$$
|
| 347 |
+
|
| 348 |
+
Then $W(t_1),\ldots,W(t_q)$ is a covering atlas, and no atlas with fewer fixed rank-$r$ references covers the whole space.
|
| 349 |
+
|
| 350 |
+
## 7.1 Lower bound by projective intersection
|
| 351 |
+
|
| 352 |
+
We state the classical algebraic input [M9]. A nonempty projective variety of complex dimension $d$ cannot avoid the common zero set of $q\leq d$ homogeneous linear equations. To see its relation to the standard height theorem, its affine cone has dimension $d+1$. Imposing $q$ equations leaves a component of dimension at least $d+1-q\geq1$; the common zero set cannot consist only of the cone origin. A nonzero point descends to a projective intersection.
|
| 353 |
+
|
| 354 |
+
The Plücker embedding realizes $\operatorname{Gr}(r,n)$ as a projective variety of dimension $d=r(n-r)$ in $\mathbb P(\bigwedge^r\mathbb C^n)$. A target frame $U=(u_1,\ldots,u_r)$ represents the line of $u_1\wedge\cdots\wedge u_r$. Each equation
|
| 355 |
+
|
| 356 |
+
$$\det(W_j^*U)=0$$
|
| 357 |
+
|
| 358 |
+
is a homogeneous linear equation in those exterior coordinates. Thus $q\leq d$ blind loci have a common target. The references fail to cover, giving $q\geq d+1$. The determinant's conjugated coefficients are fixed constants and do not affect the complex algebraic argument.
|
| 359 |
+
|
| 360 |
+
## 7.2 Upper bound by an exact polynomial argument
|
| 361 |
+
|
| 362 |
+
The first $r$ rows of $M(t)$ are triangular with diagonal $0!,1!,\ldots,(r-1)!$, so $M(t)$ has full column rank for every real $t$. Let $U\in\mathbb C^{n\times r}$ be any orthonormal target frame and associate its columns with the independent polynomials
|
| 363 |
+
|
| 364 |
+
$$f_i(t)=\sum_{j=0}^{n-1}U_{ji}t^j.$$
|
| 365 |
+
|
| 366 |
+
The matrix $M(t)^*U$ consists of their derivatives of orders zero through $r-1$. Its determinant is their Wronskian
|
| 367 |
+
|
| 368 |
+
$$\mathcal W_U(t)=\det\bigl(f_i^{(k)}(t)\bigr)_{0\leq k<r,\ 1\leq i\leq r}.$$
|
| 369 |
+
|
| 370 |
+
An invertible change of polynomial basis multiplies the determinant by a nonzero constant. Use elimination to obtain basis polynomials with distinct leading degrees $0\leq k_1<\cdots<k_r<n$ and nonzero leading coefficients $a_i$. The highest coefficient of the Wronskian is
|
| 371 |
+
|
| 372 |
+
$$\left(\prod_i a_i\right)\prod_{i<j}(k_j-k_i)\ne0,$$
|
| 373 |
+
|
| 374 |
+
at degree $\sum_i k_i-r(r-1)/2\leq r(n-r)$. The coefficient identity follows because the determinant of the falling factorials $(k_i)_k$ is the Vandermonde determinant: these are monic polynomials of successive degrees in $k_i$. Hence the Wronskian is a nonzero polynomial of degree at most $d$.
|
| 375 |
+
|
| 376 |
+
It cannot vanish at $d+1$ distinct real nodes. At a node where it is nonzero,
|
| 377 |
+
|
| 378 |
+
$$\det(W(t)^*U)
|
| 379 |
+
=\det\bigl(M(t)^*M(t)\bigr)^{-1/2}\mathcal W_U(t)\ne0.$$
|
| 380 |
+
|
| 381 |
+
Thus the constructed references cover every target and attain the lower bound. This proves the theorem.
|
| 382 |
+
|
| 383 |
+
This construction is an application of the classical Wronski map [M10]. The optimal chart count and the construction are used here as exact resources in the continuous-factorization problem. The statement is for fixed linear reference frames over the complex family; a restricted real parameter family or more general chart types require separate analysis.
|
| 384 |
+
|
| 385 |
+
## 7.3 A sharp four-chart failure in $\operatorname{Gr}(2,4)$
|
| 386 |
+
|
| 387 |
+
Here $d=4$ and the minimum is five. Let
|
| 388 |
+
|
| 389 |
+
$$a=\frac{5+\sqrt{73}}6,\qquad b=\frac{-5+\sqrt{73}}2,$$
|
| 390 |
+
|
| 391 |
+
and take the two-plane of coefficient vectors of $f(t)=t^2-a$ and $g(t)=t^3-bt$. Its Wronskian is
|
| 392 |
+
|
| 393 |
+
$$f(t)g'(t)-f'(t)g(t)=t^4-5t^2+4=(t^2-1)(t^2-4).$$
|
| 394 |
+
|
| 395 |
+
Consequently the four distinct references at $t=-2,-1,1,2$ are all blind to this one two-plane. The additional node $t=0$ detects it. The polynomial calculation gives an explicit failure witness, rather than inferring failure from finite sampling.
|
| 396 |
+
|
| 397 |
+
# 8. A reference atlas with a conditioning certificate
|
| 398 |
+
|
| 399 |
+
Minimum cardinality and optimal conditioning are different design objectives. The Wronskian atlas covers the compact family, so each fixed node set has a positive worst-case margin. Theorem 6 does not give its optimal numerical value. A larger coordinate atlas gives a simple explicit uniform bound.
|
| 400 |
+
|
| 401 |
+
**Theorem 7 (coordinate coverage and guaranteed margin).** For each $r$-element index set $I\subset\{1,\ldots,n\}$, let $W_I$ consist of the corresponding standard basis columns. With $N=\binom nr$,
|
| 402 |
+
|
| 403 |
+
$$\boxed{\max_{|I|=r}\delta_{W_I}(P)\geq\binom nr^{-1/2}
|
| 404 |
+
\quad\text{for every }P.}$$
|
| 405 |
+
|
| 406 |
+
Thus a maximum-margin coordinate selector provides an exact local $r$-row factor whose failure radius is at least $N^{-1/2}$. The bound is a certificate, not an asserted optimum for all $r$.
|
| 407 |
+
|
| 408 |
+
**Proof.** If $P=UU^*$ and $U^*U=I_r$, Cauchy–Binet gives
|
| 409 |
+
|
| 410 |
+
$$\sum_{|I|=r}|\det(W_I^*U)|^2=\det(U^*U)=1.$$
|
| 411 |
+
|
| 412 |
+
Some determinant has magnitude at least $N^{-1/2}$. All singular values of $W_I^*U$ are at most one, so their product is at most their smallest member. Its smallest member equals $\sigma_{\min}(PW_I)$. Hence that chart has margin at least $N^{-1/2}$, and so does a maximum-margin selector.
|
| 413 |
+
|
| 414 |
+
| $n$ | $r$ | Pointwise rows | Continuous global rows | Minimum fixed references | Coordinate references | Certified coordinate margin |
|
| 415 |
+
|--:|--:|--:|--:|--:|--:|--:|
|
| 416 |
+
| 4 | 2 | 2 | 4 | 5 | 6 | $1/\sqrt6$ |
|
| 417 |
+
| 6 | 3 | 3 | 6 | 10 | 20 | $1/\sqrt{20}$ |
|
| 418 |
+
| 8 | 3 | 3 | 8 | 16 | 56 | $1/\sqrt{56}$ |
|
| 419 |
+
| 8 | 4 | 4 | 8 | 17 | 70 | $1/\sqrt{70}$ |
|
| 420 |
+
|
| 421 |
+
For rank one, a minimal coordinate atlas is an orthonormal basis. Proposition B6 proves its stronger optimality statement: it uniquely maximizes the worst-case squared overlap among $n$ unit references. No corresponding higher-rank conditioning optimum is asserted here.
|
| 422 |
+
|
| 423 |
+
{width=95%}
|
| 424 |
+
|
| 425 |
+
## 8.1 A complete local encoding protocol
|
| 426 |
+
|
| 427 |
+
Precompute either the $d+1$ derivative-evaluation frames or the $N$ coordinate frames. At a target projector $P$, evaluate each $\delta_j=\sigma_{\min}(PW_j)$, choose a largest-margin chart, and compute $F_j(P)$ by a thin polar decomposition. Return the label-specific amplitudes $m_\ell=\sqrt{\alpha_\ell}F_j(P)^*x$ with the visible state $V(P)x$. Store the chart index with the output.
|
| 428 |
+
|
| 429 |
+
On an overlap, two frames satisfy
|
| 430 |
+
|
| 431 |
+
$$F_j(P)=F_i(P)Q_{ij}(P),\qquad Q_{ij}(P)=F_i(P)^*F_j(P)\in U(r).$$
|
| 432 |
+
|
| 433 |
+
To change charts without changing the represented vector, transform reserve coordinates by $m_j=Q_{ij}(P)^*m_i$. The transition matrices obey $Q_{ij}Q_{jk}=Q_{ik}$. The local decoder uses the frame associated with the stored index. Neither routing nor reference storage is included in the count of reserve amplitudes.
|
| 434 |
+
|
| 435 |
+
# 9. Canonical comparison and noncommuting holonomy
|
| 436 |
+
|
| 437 |
+
**Theorem 8 (higher-rank transport and graph compatibility).** Let $P,Q$ have equal positive rank $r$ and suppose $QPQ$ is positive definite on $\operatorname{ran}Q$. Define
|
| 438 |
+
|
| 439 |
+
$$T(P\leftarrow Q)=PQ\,(QPQ)_{\operatorname{ran}Q}^{-1/2}.$$
|
| 440 |
+
|
| 441 |
+
This is a continuous canonical partial isometry on the transverse-pair domain, with
|
| 442 |
+
|
| 443 |
+
$$T^*T=Q,\qquad TT^*=P,\qquad
|
| 444 |
+
T(Q\leftarrow P)=T(P\leftarrow Q)^*.$$
|
| 445 |
+
|
| 446 |
+
It is covariant under a common unitary change of coordinates. On a finite connected graph of such comparisons, compatible orthonormal frames at all vertices exist if and only if every closed-cycle transport is the identity on its initial subspace. A cycle matrix in an initial frame belongs to $U(r)$ and changes by conjugation when that frame changes. For $r\geq2$, cycle matrices can fail to commute.
|
| 447 |
+
|
| 448 |
+
**Proof.** The positive-definite restriction makes $PQ:\operatorname{ran}Q\to\operatorname{ran}P$ injective and hence bijective. Its polar normalization gives the displayed formula and $T^*T=Q$. Its full rank onto the target gives $TT^*=P$. The adjoint is the polar partial isometry of $QP$, giving the reverse relation. Functional calculus commutes with unitary conjugation, proving covariance; the positive gap on each local pair domain proves continuity.
|
| 449 |
+
|
| 450 |
+
If edge transport carries every source frame to the target frame, compositions around cycles return the initial frame, so all cycle operators are the identity. Conversely choose a root frame and transport it along a spanning tree. These choices are unambiguous on the tree. Every additional edge closes a cycle; an identity cycle makes that edge compatible as well. This proves the criterion. Expressing a cycle operator $H$ in a new initial frame $FQ_0$ changes its matrix from $F^*HF$ to $Q_0^*(F^*HF)Q_0$.
|
| 451 |
+
|
| 452 |
+
## 9.1 An exact noncommuting example
|
| 453 |
+
|
| 454 |
+
Work in $\mathbb C^3$ at rank two, with initial frame $F_0=(e_1,e_2)$. Let $t=3/5$ and use the target planes with frames
|
| 455 |
+
|
| 456 |
+
$$F_A=\left(\frac{e_1+te_3}{\sqrt{1+t^2}},e_2\right),\quad
|
| 457 |
+
F_B=\left(e_1,\frac{e_2+te_3}{\sqrt{1+t^2}}\right),\quad
|
| 458 |
+
F_C=\left(e_1,\frac{e_2+ite_3}{\sqrt{1+t^2}}\right).$$
|
| 459 |
+
|
| 460 |
+
All relevant pair comparisons are invertible. The cycles $0\leftarrow A\leftarrow B\leftarrow0$ and $0\leftarrow A\leftarrow C\leftarrow0$ have matrices
|
| 461 |
+
|
| 462 |
+
$$H_R=\begin{pmatrix}a&b\\-b&a\end{pmatrix},\qquad
|
| 463 |
+
H_C=\begin{pmatrix}a&ib\\ib&a\end{pmatrix},$$
|
| 464 |
+
|
| 465 |
+
where $a=10\sqrt{34}/59$, $b=9/59$, and $a^2+b^2=1$. Indeed the intermediate overlap matrices are triangular with diagonal $1/\sqrt{1+t^2}$ and upper entry respectively $t^2/(1+t^2)$ and $it^2/(1+t^2)$; their polar factors are the matrices above. Therefore
|
| 466 |
+
|
| 467 |
+
$$H_RH_C-H_CH_R=2ib^2\operatorname{diag}(1,-1),$$
|
| 468 |
+
|
| 469 |
+
$$\boxed{\|H_RH_C-H_CH_R\|_{\rm op}=\frac{162}{3481}>0.}$$
|
| 470 |
+
|
| 471 |
+
Order of comparison histories can therefore affect the transported frame even when both histories return to the same target projector. This higher-rank effect requires matrix-valued transition data; scalar phase alone cannot represent it. The construction is consistent with the classical geometric transport context [M6, M7].
|
| 472 |
+
|
| 473 |
+
# 10. Exact repair and stable decoding
|
| 474 |
+
|
| 475 |
+
**Theorem 9 (repaired ledger and noisy decoder).** Suppose a continuous visible map $V_x$ and positive semidefinite label Gramians satisfy
|
| 476 |
+
|
| 477 |
+
$$V_x^*V_x+\sum_{j=1}^kG_{j,x}=I.$$
|
| 478 |
+
|
| 479 |
+
Assume each $G_j$ has positive constant rank with uniform positive gap $\gamma_j$. If continuous factors $C_j$ satisfy
|
| 480 |
+
|
| 481 |
+
$$\sup_x\|C_{j,x}^*C_{j,x}-G_{j,x}\|_{\rm op}
|
| 482 |
+
\leq\varepsilon_j<\gamma_j,$$
|
| 483 |
+
|
| 484 |
+
then Theorem 1 repairs them, without extra rows, to $D_j$. The complete map $J_x=(V_x,D_{1,x},\ldots,D_{k,x})$ is an isometry. Its adjoint decodes every input exactly and amplifies no additive output noise:
|
| 485 |
+
|
| 486 |
+
$$\|J_x^*(J_xv+e)-v\|\leq\|e\|.$$
|
| 487 |
+
|
| 488 |
+
Even without repair, let $K_x=(V_x,C_{1,x},\ldots,C_{k,x})$ and $\eta=\sum_j\varepsilon_j<1$. Then
|
| 489 |
+
|
| 490 |
+
$$ (1-\eta)I\preceq K_x^*K_x\preceq(1+\eta)I,$$
|
| 491 |
+
|
| 492 |
+
and its continuous least-squares left decoder
|
| 493 |
+
|
| 494 |
+
$$L_x=(K_x^*K_x)^{-1}K_x^*$$
|
| 495 |
+
|
| 496 |
+
satisfies
|
| 497 |
+
|
| 498 |
+
$$L_xK_x=I,\qquad
|
| 499 |
+
\boxed{\|L_x\|_{\rm op}\leq(1-\eta)^{-1/2}.}$$
|
| 500 |
+
|
| 501 |
+
This final noise-amplification bound is sharp given only the error budget.
|
| 502 |
+
|
| 503 |
+
**Proof.** Repair gives $D_j^*D_j=G_j$, so the original ledger becomes $J_x^*J_x=I$. Thus $J_x^*$ has norm one. For the unrepaired map,
|
| 504 |
+
|
| 505 |
+
$$K_x^*K_x-I=\sum_j(C_{j,x}^*C_{j,x}-G_{j,x}),$$
|
| 506 |
+
|
| 507 |
+
whose operator norm is at most $\eta$. The positive lower bound gives invertibility and continuity of the decoder. Its singular values are the reciprocals of the nonzero singular values of $K_x$, giving the bound. For sharpness take a one-dimensional input, $V=0$, $G_1=1$, and $C_1=\sqrt{1-\eta}$. Its Gram error is $\eta$ and the decoder norm is exactly $(1-\eta)^{-1/2}$. At $\eta=1$ the zero factor is permitted and decoding can fail.
|
| 508 |
+
|
| 509 |
+
The hypotheses themselves are resource constraints. For the full Grassmannian family, Theorem 2 prevents satisfying a sub-gap tolerance with too few continuous reserve rows. Decoding estimates cannot remove that topological obstruction.
|
| 510 |
+
|
| 511 |
+
# 11. Reproducibility and verification
|
| 512 |
+
|
| 513 |
+
The package contains executable implementations for finite-word Gramians, rank-one geometry, arbitrary-rank factor repair, reference frames, both atlases, and canonical subspace transport. Run `python3 verify.py` after installing `requirements.txt`. The checker writes `VERIFICATION.json`. `python3 verify_continuous.py` runs the new arbitrary-rank audit independently.
|
| 514 |
+
|
| 515 |
+
The proofs establish universal statements. Computation checks exact examples, independent algebraic identities, constructive witnesses, decoder behaviour, and numerical conditioning. In particular, sampling does not establish the topological lower bounds in Theorem 2 or the projective lower bound in Theorem 6.
|
| 516 |
+
|
| 517 |
+
## 11.1 Exact arithmetic
|
| 518 |
+
|
| 519 |
+
The previous finite-word audit checks 6,270 rational words and 18,738 prefixes. The new independent Wronskian audit checks all 494 coordinate polynomial subspaces for $2\leq n\leq8$, evaluating 6,124 jet determinants with rational arithmetic. It also checks 64 independent integer polynomial subspaces, computing determinant polynomials directly, verifying their degree bound, and testing their values at $d+1$ distinct nodes. These are actual executed counts.
|
| 520 |
+
|
| 521 |
+
## 11.2 Arbitrary-rank numerical audit
|
| 522 |
+
|
| 523 |
+
With seed 30001004, dimensions $2\leq n\leq8$, and every $1\leq r<n$, the new suite performs 224 cases each for factor repair, canonical reference factors, inside-radius perturbations, Wronskian atlas selection, coordinate atlas selection, comparison cycles, and noisy decoding. It checks 252 constructed nearest-blind projectors, 140 exact inverse-margin ratios, 28 gap-boundary rejections, and 28 explicit blind scanner families. It independently tests the four-reference $\operatorname{Gr}(2,4)$ failure and the noncommuting $U(2)$ example.
|
| 524 |
+
|
| 525 |
+
The repaired Gramian residual is at most $5.50\times10^{-15}$; the nearest-blind distance residual is at most $7.78\times10^{-16}$; the arbitrary-rank decoder residual is at most $9.14\times10^{-15}$. Canonical transport residuals reach $2.72\times10^{-13}$ for less well-conditioned sampled comparisons. These are finite floating-point residuals, not certified uniform error bounds. The numerical rank tolerance is $10^{-12}$ where declared; exact rank is defined algebraically in the proofs.
|
| 526 |
+
|
| 527 |
+
The smallest maximum Wronskian-atlas margin seen in these 224 sampled targets is approximately $0.23018$. It is a sample statistic for the tested dimensions and node sets. The coordinate-atlas bound in Theorem 7 is the proved uniform certificate.
|
| 528 |
+
|
| 529 |
+
## 11.3 Scope and completion record
|
| 530 |
+
|
| 531 |
+
| Item | Actual status |
|
| 532 |
+
|:--|:--|
|
| 533 |
+
| Core theorem statements and proofs | 9 of 9 written and internally checked |
|
| 534 |
+
| Supporting finite-word and rank-one results | 29 propositions retained with proofs |
|
| 535 |
+
| New exact Wronskian subspace cases | 558 executed |
|
| 536 |
+
| Reproducible check programs | Executed; full counts in `VERIFICATION.json` |
|
| 537 |
+
| PDF and release package | Built, inspected, and checksummed |
|
| 538 |
+
| Proof-assistant certification | Not performed |
|
| 539 |
+
| Independent specialist review | Not performed |
|
| 540 |
+
| Empirical application benchmark | Not performed |
|
| 541 |
+
| Worldwide priority and broader scientific importance | Not established |
|
| 542 |
+
|
| 543 |
+
Constant-rank finite-dimensional families, continuous fixed-coordinate complex-linear factors, fixed linear references, and the stated metrics are essential assumptions. Changing-rank targets, arbitrary adaptive event policies, infinite-dimensional systems, and optimized higher-rank atlas conditioning remain separate problems.
|
| 544 |
+
|
| 545 |
+
# 12. Mathematical provenance and research contribution
|
| 546 |
+
|
| 547 |
+
The strongest contribution in this release is the explicit connection among three exact resources: the embedding dimension of a continuous range bundle, the positive-gap threshold for repairable approximation, and the minimum atlas of fixed reference frames. This connects a sharp impossibility theorem with implementable factors, certified failure radii, transition data, and stable decoders.
|
| 548 |
+
|
| 549 |
+
The range-bundle formulation and Chern-class obstruction draw on classical vector-bundle theory. The chart lower bound uses classical projective intersection; the construction uses the established Wronski map. Gramian factorization, polar decomposition, Cauchy–Binet, geometric phases, and projection transport also have established provenance. Their inputs are named where used and listed below. The calculations, formulations, and proofs supplied here define a rigorous research synthesis; they do not certify that its precise statements have never appeared elsewhere. The targeted prior-art review is included in `NOVELTY_REVIEW.md`.
|
| 550 |
+
|
| 551 |
+
Potential applications concern continuous signal routing, parameter-dependent reduced representations, and reversible labelled accounting. Their relevance depends on a system actually imposing the matrix continuity and information requirements used here. No application performance claim is inferred from the theorem alone.
|
| 552 |
+
|
| 553 |
+
# Appendix A. Finite-word chronological accounting
|
| 554 |
+
|
| 555 |
+
The event word and its matrices are fixed and known, all reserves start empty, and every stated identity holds for arbitrary complex input vectors. Prefix compression is asserted on the reachable subspace generated by those conditions. These assumptions distinguish the chronological accounting problem from unrestricted devices with arbitrary preloaded memories.
|
| 556 |
+
|
| 557 |
+
## A.1. Finite-word definitions
|
| 558 |
+
|
| 559 |
+
Fix an integer $n\geq 1$ and the Hilbert space $V=\mathbb C^n$ with inner product $\langle x,y\rangle=x^*y$. The star denotes conjugate transpose. A Hermitian matrix $G$ is positive semidefinite, written $G\succeq0$, when $x^*Gx\geq0$ for every $x$. Its range and kernel are $\operatorname{ran}G$ and $\ker G$. All dimensions and linear maps are over $\mathbb C$, except where a real subfamily is explicitly stated.
|
| 560 |
+
|
| 561 |
+
An **attenuation event** is a tuple
|
| 562 |
+
|
| 563 |
+
$$e_t=(u_t,c_t,\ell_t,U_t),$$
|
| 564 |
+
|
| 565 |
+
where $\|u_t\|=1$, $0\leq c_t\leq1$, the label $\ell_t$ is either $\beta$ or $\gamma$, and $U_t$ is unitary. Set
|
| 566 |
+
|
| 567 |
+
$$s_t=\sqrt{1-c_t^2},\qquad
|
| 568 |
+
A_t=I+(c_t-1)u_tu_t^*,\qquad L_t=U_tA_t.$$
|
| 569 |
+
|
| 570 |
+
Thus $A_t$ multiplies the component along $u_t$ by $c_t$ and leaves the orthogonal complement unchanged. We may write $c_t=\cos\theta_t$ with $0\leq\theta_t\leq\pi/2$, but cosine notation is convenient for exact rational calculations. An event is **active** if $c_t<1$.
|
| 571 |
+
|
| 572 |
+
The visible state evolves by
|
| 573 |
+
|
| 574 |
+
$$x_t=L_tx_{t-1},\qquad P_0=I,\qquad P_t=L_t\cdots L_1,$$
|
| 575 |
+
|
| 576 |
+
so that $x_t=P_tx_0$. The uncompressed reserve output at event $t$ is the scalar
|
| 577 |
+
|
| 578 |
+
$$d_t=s_tu_t^*x_{t-1}=s_tu_t^*P_{t-1}x_0.$$
|
| 579 |
+
|
| 580 |
+
The same initial vector determines all outputs. Define the pulled-back normal and row
|
| 581 |
+
|
| 582 |
+
$$v_t=P_{t-1}^*u_t,\qquad b_t=s_tv_t^*.$$
|
| 583 |
+
|
| 584 |
+
For a prefix ending at $T$, stack the rows $b_t$ of each label into a matrix $S_\ell$. A label that never occurs has the zero-row matrix. Its **chronological reserve Gramian** is
|
| 585 |
+
|
| 586 |
+
$$G_\ell=S_\ell^*S_\ell
|
| 587 |
+
=\sum_{\substack{t\leq T\\\ell_t=\ell}}
|
| 588 |
+
(1-c_t^2)v_tv_t^*.$$
|
| 589 |
+
|
| 590 |
+
The chronological energy for that label is
|
| 591 |
+
|
| 592 |
+
$$E_\ell(x_0)=\|S_\ell x_0\|^2=x_0^*G_\ell x_0.$$
|
| 593 |
+
|
| 594 |
+
An exact separated reserve encoder consists of complex-linear maps
|
| 595 |
+
|
| 596 |
+
$$C_\beta:V\to\mathbb C^{m_\beta},\qquad
|
| 597 |
+
C_\gamma:V\to\mathbb C^{m_\gamma}$$
|
| 598 |
+
|
| 599 |
+
satisfying $\|C_\ell x\|^2=E_\ell(x)$ for every $x$. The two output spaces are orthogonal summands. Their dimensions count **persistent reserve coordinates**, not bytes, physical cells, qubits, or the number of scalar energy readouts.
|
| 600 |
+
|
| 601 |
+
Pooling permits one map $C:V\to\mathbb C^m$ satisfying $\|Cx\|^2=E_\beta(x)+E_\gamma(x)$. It removes the requirement for two orthogonal reserve outputs. It does not necessarily prevent separate scalar energy readouts; Proposition A3 makes that distinction precise.
|
| 602 |
+
|
| 603 |
+
## A.2. Chronological Gramian factorization
|
| 604 |
+
|
| 605 |
+
**Proposition A1 (exact minimum and causal completion).** For every fixed finite response word with initially empty reserves, let
|
| 606 |
+
|
| 607 |
+
$$R_\ell=\operatorname{ran}G_\ell,\qquad
|
| 608 |
+
r_\ell=\dim R_\ell,\qquad
|
| 609 |
+
G=G_\beta+G_\gamma.$$
|
| 610 |
+
|
| 611 |
+
Then the following statements hold.
|
| 612 |
+
|
| 613 |
+
1. The exact ledger is
|
| 614 |
+
|
| 615 |
+
$$P_T^*P_T+G_\beta+G_\gamma=I.$$
|
| 616 |
+
|
| 617 |
+
2. The minimum separated width is
|
| 618 |
+
|
| 619 |
+
$$m_{\rm sep}=r_\beta+r_\gamma.$$
|
| 620 |
+
|
| 621 |
+
3. The minimum pooled width is
|
| 622 |
+
|
| 623 |
+
$$m_{\rm pool}=\operatorname{rank}G.$$
|
| 624 |
+
|
| 625 |
+
4. The exact excess required by orthogonal reserve labels is
|
| 626 |
+
|
| 627 |
+
$$\boxed{m_{\rm sep}-m_{\rm pool}
|
| 628 |
+
=\dim(R_\beta\cap R_\gamma).}$$
|
| 629 |
+
|
| 630 |
+
5. Minimum-width factors give an isometric completion
|
| 631 |
+
|
| 632 |
+
$$J_Tx=(P_Tx,C_\beta x,C_\gamma x),\qquad J_T^*J_T=I.$$
|
| 633 |
+
|
| 634 |
+
Every initial state is therefore recoverable from the complete output.
|
| 635 |
+
|
| 636 |
+
6. The minimum widths can be attained at **every prefix** by a causal update depending only on that prefix and the current state. The norm-preserving implementation is asserted on the reachable subspace generated from an arbitrary $x_0$ and empty reserves. It is not an unrestricted no-feedback unitary acting identically on arbitrary preloaded reserves.
|
| 637 |
+
|
| 638 |
+
### Proof of the ledger
|
| 639 |
+
|
| 640 |
+
Since $u_tu_t^*$ is an orthogonal projector,
|
| 641 |
+
|
| 642 |
+
$$A_t^*A_t=I-(1-c_t^2)u_tu_t^*.$$
|
| 643 |
+
|
| 644 |
+
Unitarity of $U_t$ gives $L_t^*L_t=A_t^*A_t$. Consequently
|
| 645 |
+
|
| 646 |
+
$$\begin{aligned}
|
| 647 |
+
P_{t-1}^*P_{t-1}-P_t^*P_t
|
| 648 |
+
&=P_{t-1}^*(I-L_t^*L_t)P_{t-1}\\
|
| 649 |
+
&=(1-c_t^2)v_tv_t^*=b_t^*b_t.
|
| 650 |
+
\end{aligned}$$
|
| 651 |
+
|
| 652 |
+
Summing over time telescopes to $I-P_T^*P_T$. Partitioning the summands by their labels proves the first statement. Every summand is positive semidefinite, so there is no cancellation hidden in this ledger.
|
| 653 |
+
|
| 654 |
+
### A factorization lemma and the minimum
|
| 655 |
+
|
| 656 |
+
We need a standard finite-dimensional fact, which we prove here.
|
| 657 |
+
|
| 658 |
+
**Lemma.** For $G\succeq0$, the minimum number of rows of a matrix $C$ satisfying $C^*C=G$ is $\operatorname{rank}G$.
|
| 659 |
+
|
| 660 |
+
**Proof.** If $C^*C=G$, then $\ker C=\ker G$, because $x^*Gx=\|Cx\|^2$. Hence $\operatorname{rank}C=\operatorname{rank}G$, and the row count cannot be smaller. Conversely diagonalize $G=V\Lambda V^*$, retaining only its $r$ positive eigenvalues. The matrix $C=\Lambda_+^{1/2}V_+^*$ has $r$ rows and satisfies $C^*C=G$. For $G=0$, the zero-row factor works. This proves the lemma.
|
| 661 |
+
|
| 662 |
+
Equality of the quadratic forms for every $x$ is equivalent to $C_\ell^*C_\ell=G_\ell$. Applying the lemma independently to the two orthogonal summands proves statement 2. Applying it to $G$ proves statement 3.
|
| 663 |
+
|
| 664 |
+
For positive semidefinite $G_\beta,G_\gamma$,
|
| 665 |
+
|
| 666 |
+
$$\ker(G_\beta+G_\gamma)=\ker G_\beta\cap\ker G_\gamma.$$
|
| 667 |
+
|
| 668 |
+
Taking orthogonal complements gives
|
| 669 |
+
|
| 670 |
+
$$\operatorname{ran}G=R_\beta+R_\gamma.$$
|
| 671 |
+
|
| 672 |
+
The dimension formula for two subspaces now gives statement 4. Combining the factors with the ledger gives $J_T^*J_T=I$, proving statement 5.
|
| 673 |
+
|
| 674 |
+
### Causal prefix-optimal compression
|
| 675 |
+
|
| 676 |
+
Suppose prefix $t-1$ is already encoded by factors $C_{\ell,t-1}$ and memories $m_{\ell,t-1}=C_{\ell,t-1}x_0$. At event $t$ only the label $\ell_t$ receives a new row. Form
|
| 677 |
+
|
| 678 |
+
$$B_t=\begin{pmatrix}C_{\ell_t,t-1}\\b_t\end{pmatrix}.$$
|
| 679 |
+
|
| 680 |
+
Then $B_t^*B_t=G_{\ell_t,t}$. Select a minimum-row factor $C_{\ell_t,t}$ of this Gramian. There is a column isometry $V_t$ with
|
| 681 |
+
|
| 682 |
+
$$B_t=V_tC_{\ell_t,t},\qquad V_t^*V_t=I.$$
|
| 683 |
+
|
| 684 |
+
To see this, define $V_t(C_{\ell_t,t}x)=B_tx$ on the factor's range. The two factors have the same kernel, so this definition is well-defined; their equal Gramians make it isometric. The minimum-row factor is surjective onto its output space, so this defines all columns of $V_t$.
|
| 685 |
+
|
| 686 |
+
The update is
|
| 687 |
+
|
| 688 |
+
$$m_{\ell_t,t}=V_t^*
|
| 689 |
+
\begin{pmatrix}m_{\ell_t,t-1}\\s_tu_t^*x_{t-1}\end{pmatrix},$$
|
| 690 |
+
|
| 691 |
+
while the other reserve is unchanged and $x_t=L_tx_{t-1}$. The stacked vector on the right lies in $\operatorname{ran}B_t$, so the compression loses neither its norm nor its information. This update uses stored memory, the current visible state, and prefix matrices; it does not reread $x_0$ or use a future event.
|
| 692 |
+
|
| 693 |
+
Both $J_{t-1}$ and $J_t$ are isometries from $V$. The map $J_{t-1}x\mapsto J_tx$ is therefore an isometry between their reachable subspaces. After padding the smaller ambient space with zero coordinates, it extends to a unitary by completing orthonormal bases. The reserve ranks never decrease, as shown in Proposition A5, so such padding uses only newly required persistent coordinates. The extension is unrestricted off the reachable subspace, where it need not preserve the no-feedback visible rule. This proves statement 6 and completes Proposition A1.
|
| 694 |
+
|
| 695 |
+
## A.3. Co-moving active span
|
| 696 |
+
|
| 697 |
+
**Proposition A2 (co-moving response span).** Define the transport-only word
|
| 698 |
+
|
| 699 |
+
$$Q_0=I,\qquad Q_t=U_t\cdots U_1,$$
|
| 700 |
+
|
| 701 |
+
and the co-moving response normal $a_t=Q_{t-1}^*u_t$. Let
|
| 702 |
+
|
| 703 |
+
$$W=\operatorname{span}\{a_t:t\leq T,\ c_t<1\}.$$
|
| 704 |
+
|
| 705 |
+
Then
|
| 706 |
+
|
| 707 |
+
$$\boxed{\operatorname{ran}G=W,
|
| 708 |
+
\qquad m_{\rm pool}=\dim W,
|
| 709 |
+
\qquad\ker G=W^\perp.}$$
|
| 710 |
+
|
| 711 |
+
In particular, for fixed $u_t,U_t$ and the same set of active events, changing their strengths within $0\leq c_t<1$ does not change pooled width, even when some events have $c_t=0$.
|
| 712 |
+
|
| 713 |
+
**Proof.** In the co-moving frame $y_t=Q_t^*x_t$, the local map is
|
| 714 |
+
|
| 715 |
+
$$B_t=I+(c_t-1)a_ta_t^*.$$
|
| 716 |
+
|
| 717 |
+
Thus $P_{t-1}=Q_{t-1}B_{t-1}\cdots B_1$ and
|
| 718 |
+
|
| 719 |
+
$$v_t=B_1\cdots B_{t-1}a_t.$$
|
| 720 |
+
|
| 721 |
+
Every active $B_j-I$ has range contained in $\mathbb Ca_j$. Therefore $v_t-a_t$ lies in the span of the earlier active $a_j$. An induction shows
|
| 722 |
+
|
| 723 |
+
$$\operatorname{span}\{v_t:c_t<1\}
|
| 724 |
+
=\operatorname{span}\{a_t:c_t<1\}.$$
|
| 725 |
+
|
| 726 |
+
For a positive weighted sum of rank-one projectors, the kernel is the common orthogonal complement of the generating vectors. Applying this to $G=\sum_{t:c_t<1}(1-c_t^2)v_tv_t^*$ proves the result. No inverse of an attenuation map was used; complete directional transfer is allowed.
|
| 727 |
+
|
| 728 |
+
**Interpretation.** Thousands of active events do not automatically require thousands of persistent coordinates. The relevant count is the number of independent response directions after undoing transport.
|
| 729 |
+
|
| 730 |
+
## A.4. Linear observation and energy readouts
|
| 731 |
+
|
| 732 |
+
**Proposition A3 (minimum scanner rank).** Let a linear scanner observe $y=Hx_0$. Both functions $E_\beta(x_0)$ and $E_\gamma(x_0)$ can be determined from $y$ for every input if and only if
|
| 733 |
+
|
| 734 |
+
$$\ker H\subseteq\ker G.$$
|
| 735 |
+
|
| 736 |
+
Equivalently $W\subseteq\operatorname{ran}H^*$. The minimum scanner rank is
|
| 737 |
+
|
| 738 |
+
$$\boxed{r_{\rm scan}=\operatorname{rank}G=m_{\rm pool}.}$$
|
| 739 |
+
|
| 740 |
+
The readouts may be taken to be positive semidefinite quadratic forms $E_\ell=y^*K_\ell y$.
|
| 741 |
+
|
| 742 |
+
**Proof.** If $z\in\ker H$, the scanner gives the same observation for $z$ and $0$. Determining both energies forces $z^*G_\ell z=0$. Positivity gives $G_\ell z=0$ for both labels, so $z\in\ker G$.
|
| 743 |
+
|
| 744 |
+
Conversely, if the kernel inclusion holds, the quadratic forms are constant along the scanner's fibres. Let $H^\dagger$ denote the Moore-Penrose pseudoinverse. Since $x-H^\dagger Hx\in\ker H\subseteq\ker G_\ell$,
|
| 745 |
+
|
| 746 |
+
$$G_\ell=H^*K_\ell H,\qquad
|
| 747 |
+
K_\ell=(H^\dagger)^*G_\ell H^\dagger\succeq0.$$
|
| 748 |
+
|
| 749 |
+
The kernel inclusion implies $\operatorname{rank}H\geq n-\dim\ker G$. An orthonormal row basis of $W$ attains equality.
|
| 750 |
+
|
| 751 |
+
The distinction is essential: two reported numbers do not require two independent amplitude stores. A scanner can determine both labelled energies from the shared active subspace. Proposition A1 requires separate orthogonal output spaces, a stronger implementation constraint.
|
| 752 |
+
|
| 753 |
+
## A.5. Decoding and prefix growth
|
| 754 |
+
|
| 755 |
+
**Proposition A4 (stable decoding and transcript recovery).** A minimum separated completion has the exact decoder
|
| 756 |
+
|
| 757 |
+
$$\boxed{x_0=P_T^*x_T+C_\beta^*m_\beta+C_\gamma^*m_\gamma.}$$
|
| 758 |
+
|
| 759 |
+
Each labelled raw transcript is also recoverable from its own compressed reserve:
|
| 760 |
+
|
| 761 |
+
$$S_\ell x_0=W_\ell m_\ell$$
|
| 762 |
+
|
| 763 |
+
for a fixed column isometry $W_\ell$ depending on the word.
|
| 764 |
+
|
| 765 |
+
**Proof.** The decoder is $J_T^*J_Tx_0=x_0$. For the transcript, $S_\ell^*S_\ell=C_\ell^*C_\ell$, so the same well-defined isometry argument used in Appendix A gives $S_\ell=W_\ell C_\ell$. The decoder has operator norm one on the augmented space; small additive output error is not amplified by the decoder.
|
| 766 |
+
|
| 767 |
+
This statement concerns the complete complex transcript for a known word. Recovering an unknown event sequence, its labels, or its transports is a different inverse problem.
|
| 768 |
+
|
| 769 |
+
**Proposition A5 (one-coordinate prefix growth).** For every label, its minimum reserve width is nondecreasing along prefixes. At any event, the total separated width increases by either zero or one. It increases precisely when the active $v_t$ lies outside the range of the receiving label's previous Gramian.
|
| 770 |
+
|
| 771 |
+
**Proof.** The receiving Gramian gains the positive term $(1-c_t^2)v_tv_t^*$. The range of a positive sum is the sum of its ranges. Thus its rank stays the same or increases by one; the other label is unchanged. If $c_t=1$, the summand is zero.
|
| 772 |
+
|
| 773 |
+
## A.6. An order-dependent rank example
|
| 774 |
+
|
| 775 |
+
**Proposition A6 (a strict chronological effect).** There are two three-event words with the same labelled event multiset, the same active geometric span, and different separated reserve widths. In one word, repeated use of a single raw $\beta$ direction gives a two-dimensional $\beta$ reserve.
|
| 776 |
+
|
| 777 |
+
**Proof by exact construction.** Work in $\mathbb R^2\subset\mathbb C^2$ with all transports equal to $I$. Let
|
| 778 |
+
|
| 779 |
+
$$a=(1,0)^T,\qquad b=(3/5,4/5)^T,\qquad c_t=3/5.$$
|
| 780 |
+
|
| 781 |
+
Compare the words
|
| 782 |
+
|
| 783 |
+
$$\mathcal A=(a,\beta),(b,\gamma),(a,\beta),\qquad
|
| 784 |
+
\mathcal B=(a,\beta),(a,\beta),(b,\gamma).$$
|
| 785 |
+
|
| 786 |
+
In word $\mathcal A$, the first $\beta$ pulled-back normal is $v_1=a$. The third is
|
| 787 |
+
|
| 788 |
+
$$v_3=A_aA_ba
|
| 789 |
+
=\begin{pmatrix}321/625\\-24/125\end{pmatrix}.$$
|
| 790 |
+
|
| 791 |
+
Its second coordinate is nonzero, so the $\beta$ Gramian has rank two. The $\gamma$ Gramian has rank one, since its single pulled-back normal is $(9/25,4/5)^T\ne0$. Hence $m_{\rm sep}=3$.
|
| 792 |
+
|
| 793 |
+
In word $\mathcal B$, both $\beta$ normals are multiples of $a$, so its $\beta$ rank is one. The $\gamma$ normal is $(27/125,4/5)^T\ne0$, so its $\gamma$ rank is one. Thus $m_{\rm sep}=2$.
|
| 794 |
+
|
| 795 |
+
Both words have $W=\operatorname{span}\{a,b\}=\mathbb C^2$ and $m_{\rm pool}=2$. Their separated excesses are respectively one and zero. The example disproves the shortcut of computing a labelled reserve's width from its raw normals alone. The products themselves need not be equal; this is an order comparison for equal event multisets, not an assertion of product-preserving rearrangement.
|
| 796 |
+
|
| 797 |
+
| Word | $\beta$ width | $\gamma$ width | Pooled width | Separated excess |
|
| 798 |
+
|:--|--:|--:|--:|--:|
|
| 799 |
+
| $\beta$-$a$, $\gamma$-$b$, $\beta$-$a$ | 2 | 1 | 2 | 1 |
|
| 800 |
+
| $\beta$-$a$, $\beta$-$a$, $\gamma$-$b$ | 1 | 1 | 2 | 0 |
|
| 801 |
+
|
| 802 |
+
## A.7. Bounds and general label coarsening
|
| 803 |
+
|
| 804 |
+
**Proposition A7 (sharp separated-width bound).** If $r=\dim W$, then
|
| 805 |
+
|
| 806 |
+
$$r\leq m_{\rm sep}\leq2r\leq2n.$$
|
| 807 |
+
|
| 808 |
+
Both extremes are attainable. The upper extreme can occur with $G_\beta$ and $G_\gamma$ positive definite on $W$.
|
| 809 |
+
|
| 810 |
+
**Proof.** Each range $R_\ell$ is a subspace of $W$, so its dimension is at most $r$. The lower bound follows from $R_\beta+R_\gamma=W$. For the lower extreme, assign every active event the same label.
|
| 811 |
+
|
| 812 |
+
For the upper extreme, take an orthonormal basis $e_1,\ldots,e_r$ of an $r$-dimensional subspace and a fixed $0<c<1$. With identity transports, first charge each basis direction into $\beta$ and then charge each into $\gamma$. The first block gives $G_\beta=(1-c^2)\Pi_W$, while the second gives $G_\gamma=c^2(1-c^2)\Pi_W$. Both have rank $r$, establishing equality.
|
| 813 |
+
|
| 814 |
+
**Proposition A8 (general colour coarsening).** For $p$ labels with Gramians $G_1,\ldots,G_p$, the exact separated excess is
|
| 815 |
+
|
| 816 |
+
$$\sum_{j=1}^p\dim R_j-\dim(R_1+\cdots+R_p).$$
|
| 817 |
+
|
| 818 |
+
It equals the kernel dimension of the addition map
|
| 819 |
+
|
| 820 |
+
$$\Sigma:\bigoplus_{j=1}^pR_j\longrightarrow R_1+\cdots+R_p,
|
| 821 |
+
\qquad (z_1,\ldots,z_p)\mapsto\sum_jz_j.$$
|
| 822 |
+
|
| 823 |
+
Merging a group of labels replaces the sum of their ranks by the rank of their Gramian sum and cannot increase required width.
|
| 824 |
+
|
| 825 |
+
**Proof.** The factorization lemma supplies the separated and merged minima. Positivity gives the range-sum identity. The addition map is surjective, and rank-nullity gives the displayed excess.
|
| 826 |
+
|
| 827 |
+
For three or more labels, pairwise intersections do not suffice. Three distinct lines in a plane may have zero pairwise intersections while their direct sum has dimension three and their ordinary sum has dimension two. Their excess is one. This prevents extending the two-colour intersection formula by a naive sum of pairwise overlaps.
|
| 828 |
+
|
| 829 |
+
## A.8. Unrestricted no-feedback obstruction
|
| 830 |
+
|
| 831 |
+
**Proposition A9 (fixed-memory no-feedback obstruction).** Suppose a square unitary on visible state and a fixed finite reserve has the block form
|
| 832 |
+
|
| 833 |
+
$$\mathcal U=\begin{pmatrix}A&0\\B&C\end{pmatrix}.$$
|
| 834 |
+
|
| 835 |
+
The zero upper-right block requires the visible output to be independent of every possible reserve input. Then $A$ must be unitary and $B=0$. A nonzero directional transfer cannot be implemented in this form.
|
| 836 |
+
|
| 837 |
+
**Proof.** The upper-left block of $\mathcal U\mathcal U^*=I$ gives $AA^*=I$. Since $A$ is square and finite-dimensional, it is unitary. The upper-left block of $\mathcal U^*\mathcal U=I$ then gives $A^*A+B^*B=I$, so $B=0$.
|
| 838 |
+
|
| 839 |
+
This obstruction is why Proposition A1 specifies initially empty reserves and their reachable subspace. Causal compression is possible there because reserve and visible coordinates are correlated by a common initial state.
|
| 840 |
+
|
| 841 |
+
For comparison, a single event can use a fresh empty scalar reserve through
|
| 842 |
+
|
| 843 |
+
$$\mathcal J_t=
|
| 844 |
+
\begin{pmatrix}
|
| 845 |
+
A_t&-s_tu_t\\s_tu_t^*&c_t
|
| 846 |
+
\end{pmatrix}.$$
|
| 847 |
+
|
| 848 |
+
On $u_t\oplus\mathbb C$, this is the real rotation matrix with entries $c_t,-s_t,s_t,c_t$; on $u_t^\perp$ it is the identity. It is therefore unitary. Multiplying its visible rows by $U_t$ incorporates transport. The nonzero upper-right block makes the distinction from the prohibited form explicit.
|
| 849 |
+
|
| 850 |
+
## A.9. Visible inverse and coordinate covariance
|
| 851 |
+
|
| 852 |
+
**Proposition A10 (visible-only reset and coordinate covariance).** An exact visible-only reset by a unitary $R$, satisfying $RP_T=I$ for all initial states, exists if and only if every event is inactive. In that case $P_T=Q_T$ and $R=Q_T^*$.
|
| 853 |
+
|
| 854 |
+
For any invertible coordinate charts $q_t=F_tx_t$, define
|
| 855 |
+
|
| 856 |
+
$$M_t=F_t^{-*}F_t^{-1},\qquad
|
| 857 |
+
\widetilde P_T=F_TP_TF_0^{-1},\qquad
|
| 858 |
+
\widetilde G_\ell=F_0^{-*}G_\ell F_0^{-1}.$$
|
| 859 |
+
|
| 860 |
+
Then
|
| 861 |
+
|
| 862 |
+
$$\widetilde P_T^*M_T\widetilde P_T
|
| 863 |
+
+\widetilde G_\beta+\widetilde G_\gamma=M_0.$$
|
| 864 |
+
|
| 865 |
+
All exact reserve and scanner widths, including the separated excess, are unchanged by these chart transformations.
|
| 866 |
+
|
| 867 |
+
**Proof.** A visible-only unitary reset implies $P_T$ is unitary and hence $G=0$. Proposition A2 then gives $W=0$. The first active event, if any, would contribute a nonzero normal to $W$, so no active event is possible. Conversely, without active events the product is $Q_T$, which has the stated inverse.
|
| 868 |
+
|
| 869 |
+
For covariance, substitute the definitions and cancel $F_T$ with $M_T$. The remaining equation is the original ledger conjugated by $F_0^{-1}$. Invertible congruence preserves rank. It maps each Gramian range by the same invertible map $F_0^{-*}$, so intersection dimension is preserved as well.
|
| 870 |
+
|
| 871 |
+
A pure sequence of coordinate changes has intrinsic operators $L_t=I$. Its chart transitions are $F_tF_{t-1}^{-1}$ and telescope. Returning to the same chart returns exactly to the starting representation. By contrast, a physical transport loop may have $Q_T\ne I$ even when the reserve is empty. This is a transport holonomy, not an energy charge.
|
| 872 |
+
|
| 873 |
+
If $P_T$ is invertible but not unitary, an algebraic visible inverse exists. That is not a norm-preserving visible-only reset. Its conditioning can be poor, whereas the augmented adjoint decoder in Proposition A4 has norm one.
|
| 874 |
+
|
| 875 |
+
## A.10. Directional scanner criterion
|
| 876 |
+
|
| 877 |
+
**Proposition A11 (local scanner criterion).** At an active event, suppose a scanner observes $y=Hx_{t-1}$. The exact complex reserve amplitude $s_tu_t^*x_{t-1}$ can be produced by a linear function of $y$ for every current state if and only if
|
| 878 |
+
|
| 879 |
+
$$u_t\in\operatorname{ran}H^*.$$
|
| 880 |
+
|
| 881 |
+
The same condition is necessary and sufficient merely to determine its squared magnitude for every current state.
|
| 882 |
+
|
| 883 |
+
**Proof.** A linear amplitude readout exists precisely when the row $s_tu_t^*$ belongs to the row space of $H$. Since $s_t>0$, this is the stated condition. For the energy-only claim, apply Proposition A3 to the rank-one Gramian $s_t^2u_tu_t^*$. If $c_t=1$, the output is zero and no sensing condition is required.
|
| 884 |
+
|
| 885 |
+
The theorem concerns complete knowledge over all possible input vectors. A scanner may succeed on a restricted known state family with less information; no such prior restriction is assumed here.
|
| 886 |
+
|
| 887 |
+
## A.11. Pointwise spectral approximation
|
| 888 |
+
|
| 889 |
+
Exact rank counts can be fragile. A tiny nonzero independent component raises exact width even when its energy is negligible. An approximate statement resolves this without pretending numerical tolerances are exact algebra.
|
| 890 |
+
|
| 891 |
+
**Proposition A12 (optimal uniform energy approximation).** Let the eigenvalues of $G\succeq0$ be $\lambda_1\geq\cdots\geq\lambda_n\geq0$. Among all factors $C$ with at most $k$ rows, the minimum worst-case quadratic energy error is
|
| 892 |
+
|
| 893 |
+
$$\boxed{\inf_C\sup_{\|x\|=1}
|
| 894 |
+
\left|x^*Gx-\|Cx\|^2\right|=\lambda_{k+1},}$$
|
| 895 |
+
|
| 896 |
+
where $\lambda_{n+1}=0$. Consequently the minimum width for error at most $\varepsilon$ is the number of eigenvalues strictly greater than $\varepsilon$. For independently prescribed errors on two separated reserves, their approximate widths add.
|
| 897 |
+
|
| 898 |
+
**Proof.** Truncate the spectral expansion to the largest $k$ eigenvalues and take its positive square-root factor. The remaining operator norm is $\lambda_{k+1}$, giving the upper bound. For any factor with at most $k$ rows, $\ker C$ meets the span of the top $k+1$ eigenvectors in a nonzero vector. Normalize such a vector $x$. Then $\|Cx\|=0$ and $x^*Gx\geq\lambda_{k+1}$, giving the lower bound. Apply this argument independently to each orthogonal reserve.
|
| 899 |
+
|
| 900 |
+
**Proposition A13 (threshold stability and exact-rank jumps).** If two Hermitian Gramians satisfy $\|G'-G\|\leq\delta$, their ordered eigenvalues differ by at most $\delta$. A threshold width at $\varepsilon$ is therefore unchanged whenever every eigenvalue of $G$ has distance greater than $\delta$ from $\varepsilon$. Exact width can jump under arbitrarily small perturbations.
|
| 901 |
+
|
| 902 |
+
**Proof.** The bound $-\delta I\preceq G'-G\preceq\delta I$ gives the ordered eigenvalue bound by the min-max characterization. If the original eigenvalues lie strictly outside the threshold's $\delta$-neighbourhood, none can cross it. For a jump, consider $G=\operatorname{diag}(1,0)$ and $G'=\operatorname{diag}(1,\eta)$ with any $\eta>0$. Their exact ranks are one and two, although $\|G'-G\|=\eta$ can be arbitrarily small.
|
| 903 |
+
|
| 904 |
+
Coordinate charts that are not unitary require the transported metric. Ordinary eigenvalues of a non-unitarily transformed Gramian should not be used as intrinsic approximate-width thresholds. Normalize back to the intrinsic Hilbert metric first.
|
| 905 |
+
|
| 906 |
+
## A.12. The two-chart line obstruction
|
| 907 |
+
|
| 908 |
+
So far, a word and its factors are fixed. A different question asks for factors that vary continuously over a family of response directions. Choosing one optimal factor at each point does not prove that the choices can be glued continuously.
|
| 909 |
+
|
| 910 |
+
Let $\mathbb {CP}^1$ be the set of complex lines $\ell\subset\mathbb C^2$. A line determines an orthogonal projector $\Pi_\ell=uu^*$, where $u$ is any unit vector in that line. Multiplying $u$ by a unit complex phase does not change the projector. Thus the projector represents a response ray without a preferred phase convention.
|
| 911 |
+
|
| 912 |
+
**Proposition A14 (sharp global scalar-channel obstruction).** Fix $\lambda>0$. Each Gramian $G(\ell)=\lambda\Pi_\ell$ has rank one and a one-row factor at every individual $\ell$. Nevertheless there is no continuous family of one-row factors
|
| 913 |
+
|
| 914 |
+
$$C(\ell)\in\mathbb C^{1\times2},\qquad
|
| 915 |
+
C(\ell)^*C(\ell)=\lambda\Pi_\ell$$
|
| 916 |
+
|
| 917 |
+
on all of $\mathbb {CP}^1$. The minimum number of **fixed complex output coordinates** for a globally continuous factor is exactly two, achieved by
|
| 918 |
+
|
| 919 |
+
$$C_{\rm global}(\ell)=\sqrt\lambda\,\Pi_\ell.$$
|
| 920 |
+
|
| 921 |
+
### Self-contained proof by two charts
|
| 922 |
+
|
| 923 |
+
A one-row factor would give a continuous unit vector
|
| 924 |
+
|
| 925 |
+
$$v(\ell)=C(\ell)^*/\sqrt\lambda\in\ell.$$
|
| 926 |
+
|
| 927 |
+
Consider the northern and southern coordinates
|
| 928 |
+
|
| 929 |
+
$$u_N(z)=\frac{(1,z)^T}{\sqrt{1+|z|^2}},\qquad
|
| 930 |
+
u_S(w)=\frac{(w,1)^T}{\sqrt{1+|w|^2}}.$$
|
| 931 |
+
|
| 932 |
+
They represent the same line when $w=1/z$. On the equator $z=e^{i\phi}$,
|
| 933 |
+
|
| 934 |
+
$$u_S(e^{-i\phi})=e^{-i\phi}u_N(e^{i\phi}).$$
|
| 935 |
+
|
| 936 |
+
A global unit vector choice would therefore give continuous unit phases $f_N,f_S$ on the two coordinate disks, with
|
| 937 |
+
|
| 938 |
+
$$v=f_N(z)u_N(z)=f_S(w)u_S(w).$$
|
| 939 |
+
|
| 940 |
+
On the equator these satisfy
|
| 941 |
+
|
| 942 |
+
$$f_N(e^{i\phi})=f_S(e^{-i\phi})e^{-i\phi}.$$
|
| 943 |
+
|
| 944 |
+
The boundary of a continuous disk-to-circle map has winding number zero. One way to see this is to contract its boundary radially to the image of the centre: $f(re^{i\phi})$, with $r$ decreasing from one to zero, is a homotopy to a constant loop. Winding is invariant under homotopy, additive under multiplication of circle-valued loops, and negated by reversing traversal. These elementary facts follow from lifting a loop's phase to a continuous real argument on the parameter interval; its endpoint difference is an integer multiple of $2\pi$.
|
| 945 |
+
|
| 946 |
+
The left side therefore has winding zero. The right side has winding zero minus one, which is minus one. This contradiction proves that a continuous one-row factor does not exist.
|
| 947 |
+
|
| 948 |
+
Two rows suffice because
|
| 949 |
+
|
| 950 |
+
$$C_{\rm global}^*C_{\rm global}
|
| 951 |
+
=\lambda\Pi_\ell^2=\lambda\Pi_\ell,$$
|
| 952 |
+
|
| 953 |
+
and $\ell\mapsto\Pi_\ell$ is continuous. This proves sharpness and Proposition A14.
|
| 954 |
+
|
| 955 |
+
### What the obstruction does and does not say
|
| 956 |
+
|
| 957 |
+
The obstruction is classical nontriviality of the tautological line bundle, expressed as a reserve implementation problem. It is not a newly discovered failure of the Hopf fibration to admit a section. The construction's contribution is to make it an operative restriction alongside the chronological memory theorem.
|
| 958 |
+
|
| 959 |
+
A one-dimensional **bundle-valued** reserve works globally: its fibre at $\ell$ can be the line $\ell$ itself. The impossibility concerns one globally fixed scalar coordinate. Alternatively, local scalar charts work with the transition phase $e^{-i\phi}$. Thus the options are a nontrivial reserve bundle, multiple local charts, or a redundant fixed-coordinate representation.
|
| 960 |
+
|
| 961 |
+
## A.13. Two labelled reserves over a line family
|
| 962 |
+
|
| 963 |
+
**Proposition A15 (local versus globally continuous labelled width).** Consider the following family of two-event words on $\mathbb C^2$, indexed by $\ell\in\mathbb {CP}^1$:
|
| 964 |
+
|
| 965 |
+
- both events use the same projector $\Pi_\ell$;
|
| 966 |
+
- both transports are $I$ and both cosines are $1/\sqrt2$;
|
| 967 |
+
- the first label is $\beta$ and the second is $\gamma$.
|
| 968 |
+
|
| 969 |
+
The event depends only on the projector, so no global vector phase is needed to define the visible maps. Its Gramians and final visible product are
|
| 970 |
+
|
| 971 |
+
$$G_\beta=\tfrac12\Pi_\ell,\qquad
|
| 972 |
+
G_\gamma=\tfrac14\Pi_\ell,\qquad
|
| 973 |
+
P_2=I-\tfrac12\Pi_\ell.$$
|
| 974 |
+
|
| 975 |
+
For each individual direction,
|
| 976 |
+
|
| 977 |
+
$$m_{\rm sep}^{\rm local}=2,\qquad m_{\rm pool}^{\rm local}=1.$$
|
| 978 |
+
|
| 979 |
+
For factors continuous over all directions with fixed output coordinates,
|
| 980 |
+
|
| 981 |
+
$$\boxed{m_{\rm sep}^{\rm global}=4,
|
| 982 |
+
\qquad m_{\rm pool}^{\rm global}=2.}$$
|
| 983 |
+
|
| 984 |
+
**Proof.** The first transfer has weight $1/2$. The second sees its normal multiplied by $1/\sqrt2$, so its weight is $(1/2)(1/2)=1/4$. The visible attenuation along the line is $1/2$. This gives the displayed matrices and their ranks.
|
| 985 |
+
|
| 986 |
+
Each separated Gramian is a positive constant times the same varying rank-one projector. Proposition A14 forces at least two fixed coordinates in each label's output space. The factors $\Pi_\ell/\sqrt2$ and $\Pi_\ell/2$ attain those bounds continuously. Pooling yields $(3/4)\Pi_\ell$, which needs exactly two fixed coordinates by the same result.
|
| 987 |
+
|
| 988 |
+
| Implementation requirement | Pooled reserve | Separated reserves |
|
| 989 |
+
|:--|--:|--:|
|
| 990 |
+
| One fixed direction; exact linear factor | 1 | 2 |
|
| 991 |
+
| All directions; continuous fixed coordinates | 2 | 4 |
|
| 992 |
+
| All directions; local charts or bundle fibres | Fibre rank 1 | Fibre rank 1 for each label |
|
| 993 |
+
|
| 994 |
+
This original example combines chronological overlap and a global phase constraint as distinct sources of implementation cost. Proposition B2 extends it sharply to every dimension and any finite number of positive labels.
|
| 995 |
+
|
| 996 |
+
## A.14. Invariant passive marker
|
| 997 |
+
|
| 998 |
+
**Proposition A16 (zero-width protection of a marked line).** For a specified vector $w\in V$, the complete output has zero reserve component on $w$ if and only if $w\in W^\perp$. In that case
|
| 999 |
+
|
| 1000 |
+
$$P_Tw=Q_Tw.$$
|
| 1001 |
+
|
| 1002 |
+
The marked vector is unchanged in the visible output precisely when additionally $Q_Tw=w$. A passive marked coordinate may be appended to any word without changing any reserve rank if every event normal is orthogonal to it and every transport fixes it.
|
| 1003 |
+
|
| 1004 |
+
**Proof.** The reserve vanishes exactly when $w\in\ker G$, which is $W^\perp$ by Proposition A2. Every co-moving attenuation $B_t$ then fixes $w$, giving $P_Tw=Q_Tw$. The fixed-vector condition follows immediately. Appending a passive coordinate adds a zero row and column to all reserve Gramians, so their ranks do not change.
|
| 1005 |
+
|
| 1006 |
+
## A.15. A complete scalar example
|
| 1007 |
+
|
| 1008 |
+
Take a one-dimensional response $x\in\mathbb C$, no transport, and two events with $c_1=c_2=1/\sqrt2$, labelled $\beta$ then $\gamma$. Direct calculation gives
|
| 1009 |
+
|
| 1010 |
+
$$x_2=\tfrac12x,\qquad
|
| 1011 |
+
E_\beta=\tfrac12|x|^2,\qquad
|
| 1012 |
+
E_\gamma=\tfrac14|x|^2.$$
|
| 1013 |
+
|
| 1014 |
+
An exact separated completion is
|
| 1015 |
+
|
| 1016 |
+
$$Jx=\left(\tfrac12x,\tfrac1{\sqrt2}x,\tfrac12x\right).$$
|
| 1017 |
+
|
| 1018 |
+
The squared norms add to $|x|^2$. The decoder is
|
| 1019 |
+
|
| 1020 |
+
$$x=\tfrac12x_2+\tfrac1{\sqrt2}m_\beta+\tfrac12m_\gamma.$$
|
| 1021 |
+
|
| 1022 |
+
The two ranges coincide, so the separated width is two and the pooled width one. A pooled memory $m=(\sqrt3/2)x$ still allows the scalar readouts
|
| 1023 |
+
|
| 1024 |
+
$$E_\beta=\tfrac23|m|^2,\qquad E_\gamma=\tfrac13|m|^2.$$
|
| 1025 |
+
|
| 1026 |
+
This example makes the output-space requirement transparent. The excess is not an inability to calculate two numbers. It is the cost of maintaining two orthogonal amplitude reserves while preserving the complete ledger.
|
| 1027 |
+
|
| 1028 |
+
The scalar example has no projective-direction family and therefore no topological obstruction. Proposition A15 adds that obstruction by allowing the direction to range over all complex lines in a two-dimensional state space.
|
| 1029 |
+
|
| 1030 |
+
# Appendix B. Rank-one geometry and relational representations
|
| 1031 |
+
|
| 1032 |
+
For this appendix $n\geq2$, and $\mathbb{CP}^{n-1}$ is represented by the rank-one orthogonal projectors $\Pi=uu^*$, with $\|u\|=1$. The generator is specified only up to phase. Factors act complex-linearly on the declared input unless a nonlinear readout is explicitly defined. This appendix gives a Borsuk–Ulam proof of the rank-one case and its quantitative refinements.
|
| 1033 |
+
|
| 1034 |
+
## B.1. Rank-one minimax and labelled costs
|
| 1035 |
+
|
| 1036 |
+
### Approximation cannot remove the obstruction
|
| 1037 |
+
|
| 1038 |
+
**Proposition B1 (rank-one global minimax law).** Fix $\lambda>\mu\geq0$ and define
|
| 1039 |
+
|
| 1040 |
+
$$G_\Pi=\lambda\Pi+\mu(I-\Pi).$$
|
| 1041 |
+
|
| 1042 |
+
For a continuous factor family $C:\mathbb{CP}^{n-1}\to\mathbb C^{m\times n}$, let
|
| 1043 |
+
|
| 1044 |
+
$$\mathcal E(C)=\sup_\Pi\|C(\Pi)^*C(\Pi)-G_\Pi\|_{\rm op}.$$
|
| 1045 |
+
|
| 1046 |
+
Then
|
| 1047 |
+
|
| 1048 |
+
$$\boxed{\inf_{C\ \mathrm{continuous}}\mathcal E(C)
|
| 1049 |
+
=\begin{cases}\lambda,&0\leq m<n,\\0,&m\geq n.\end{cases}}$$
|
| 1050 |
+
|
| 1051 |
+
In fact, every continuous $m<n$ family has a ray $\Pi_0=u_0u_0^*$ with
|
| 1052 |
+
|
| 1053 |
+
$$C(\Pi_0)u_0=0.$$
|
| 1054 |
+
|
| 1055 |
+
Thus the encoder completely misses the target amplitude along at least one target direction. For $\mu=0$, the exact global fixed-coordinate width is **$n$**, although every individual target has rank one.
|
| 1056 |
+
|
| 1057 |
+
For comparison, choosing the factor independently at each point gives
|
| 1058 |
+
|
| 1059 |
+
$$\inf_{C\in\mathbb C^{m\times n}}\|C^*C-G_\Pi\|_{\rm op}
|
| 1060 |
+
=\begin{cases}\lambda,&m=0,\\\mu,&1\leq m<n,\\0,&m\geq n.\end{cases}$$
|
| 1061 |
+
|
| 1062 |
+
The distinction is between continuous choice over the whole family and independent choice at one point. It is not a numerical rank-tolerance issue.
|
| 1063 |
+
|
| 1064 |
+
**Proof.** If $m=0$, the factor is zero. For $1\leq m<n$, define the continuous map
|
| 1065 |
+
|
| 1066 |
+
$$f:S^{2n-1}\longrightarrow\mathbb C^m\cong\mathbb R^{2m},
|
| 1067 |
+
\qquad f(u)=C(uu^*)u.$$
|
| 1068 |
+
|
| 1069 |
+
It is odd: $f(-u)=-f(u)$. Since $2m\leq2n-2<2n-1$, the classical Borsuk–Ulam odd-zero lemma gives $f(u_0)=0$. Consequently
|
| 1070 |
+
|
| 1071 |
+
$$u_0^*\bigl(G_{\Pi_0}-C(\Pi_0)^*C(\Pi_0)\bigr)u_0=\lambda.$$
|
| 1072 |
+
|
| 1073 |
+
The operator error is at least $\lambda$. The zero family attains error $\lambda$, proving the first case. For $m=n$, the continuous factor
|
| 1074 |
+
|
| 1075 |
+
$$C(\Pi)=\sqrt\lambda\,\Pi+\sqrt\mu\,(I-\Pi)$$
|
| 1076 |
+
|
| 1077 |
+
is exact because the two projectors are orthogonal. Additional zero rows cover $m>n$.
|
| 1078 |
+
|
| 1079 |
+
At a fixed point, the target eigenvalues are $\lambda,\mu,\ldots,\mu$. Proposition A12 gives the stated pointwise minimum, including zero error for rank one when $\mu=0$. This completes the proof.
|
| 1080 |
+
|
| 1081 |
+
**Classical topological input, stated explicitly.** A continuous odd map $f:S^d\to\mathbb R^k$ has a zero when $k\leq d$. Pad the map with zero coordinates to $\mathbb R^d$ and apply Borsuk–Ulam: equal values at antipodal points must also be negatives, hence zero [M4].
|
| 1082 |
+
|
| 1083 |
+
One standard explanation of the input uses the known ring $H^*(\mathbb{RP}^d;\mathbb F_2)=\mathbb F_2[a]/(a^{d+1})$ [M5]. A nowhere-zero odd map would normalize to an odd map $S^d\to S^{k-1}$. For $k\geq2$, the quotient map pulls the degree-one class back to $a$, since oddness preserves the nontrivial double-cover class. But the target's $k$th power vanishes while $a^k\ne0$ for $k\leq d$. For $k=1$, connectedness rules out an odd map into $S^0$. The cohomology-ring computation is classical background; the model-specific deduction is the factor error bound above.
|
| 1084 |
+
|
| 1085 |
+
### Labelled chronology amplifies the global cost
|
| 1086 |
+
|
| 1087 |
+
**Proposition B2 (sharp global cost for a shared ray).** Let $k\geq1$ reserve labels have weights $\alpha_j>0$ with $a=\sum_j\alpha_j\leq1$, and Gramians
|
| 1088 |
+
|
| 1089 |
+
$$G_j(\Pi)=\alpha_j\Pi.$$
|
| 1090 |
+
|
| 1091 |
+
They can be realized by successive same-ray events with identity transport. Their local and globally continuous exact widths are
|
| 1092 |
+
|
| 1093 |
+
$$\boxed{m_{\rm sep}^{\rm local}=k,\quad m_{\rm pool}^{\rm local}=1,
|
| 1094 |
+
\qquad m_{\rm sep}^{\rm global}=kn,\quad m_{\rm pool}^{\rm global}=n.}$$
|
| 1095 |
+
|
| 1096 |
+
For a continuous block whose uniform energy-error tolerance is $\varepsilon_j$, its smallest fixed width is $n$ if $\varepsilon_j<\alpha_j$, and zero if $\varepsilon_j\geq\alpha_j$. This approximation statement concerns each label's error separately.
|
| 1097 |
+
|
| 1098 |
+
**Proof.** Let $r_0=1$, $r_j=1-\sum_{i\leq j}\alpha_i$, and choose $c_j=\sqrt{r_j/r_{j-1}}$. All denominators are positive because every remaining weight is positive. The amplitude reaching event $j$ along the ray is $\sqrt{r_{j-1}}$, and its transferred squared amplitude is $r_{j-1}(1-c_j^2)=\alpha_j$. Thus the chronological Gramians are precisely the displayed $G_j$, including complete transfer at the final event when $a=1$.
|
| 1099 |
+
|
| 1100 |
+
Each local Gramian has rank one, and their sum has rank one. Proposition A1 gives the local widths. Proposition B1 with $\mu=0$ forces at least $n$ rows for each globally exact positive block and for the pooled block. The factors $\sqrt{\alpha_j}\Pi$ and $\sqrt a\Pi$ attain the bounds. If the tolerance is below $\alpha_j$, Proposition B1 still forces $n$ rows; if it is at least $\alpha_j$, the zero block suffices. The final visible map is $I+(\sqrt{1-a}-1)\Pi$, so the original conservation ledger remains exact.
|
| 1101 |
+
|
| 1102 |
+
In particular, $\beta$ weight $1/2$ and $\gamma$ weight $1/4$ give separated global width $2n$ and pooled global width $n$.
|
| 1103 |
+
|
| 1104 |
+
## B.2. A quantified neighbourhood of a blind ray
|
| 1105 |
+
|
| 1106 |
+
The zero forced by Proposition B1 is exact. With a declared regularity budget, it also forces a region of substantial error. This adds a quantitative consequence to the qualitative topological obstruction.
|
| 1107 |
+
|
| 1108 |
+
**Proposition B3 (regularity-controlled blind region).** Suppose $m<n$ and a continuous family satisfies
|
| 1109 |
+
|
| 1110 |
+
$$\|C(\Pi)\|_{\rm op}\leq K,\qquad
|
| 1111 |
+
\|C(\Pi)-C(\Pi')\|_{\rm op}\leq L\|\Pi-\Pi'\|_{\rm op}.$$
|
| 1112 |
+
|
| 1113 |
+
Set $A=L+\sqrt2K$. There is a projector $\Pi_0$ such that, writing $d=\|\Pi-\Pi_0\|_{\rm op}$,
|
| 1114 |
+
|
| 1115 |
+
$$\boxed{\|C(\Pi)^*C(\Pi)-G_\Pi\|_{\rm op}\geq\lambda-A^2d^2.}$$
|
| 1116 |
+
|
| 1117 |
+
For $0\leq h<1$ and $A>0$, let
|
| 1118 |
+
|
| 1119 |
+
$$r=\min\left\{1,\frac{\sqrt{(1-h)\lambda}}{A}\right\}.$$
|
| 1120 |
+
|
| 1121 |
+
Under the unitary-invariant probability measure on $\mathbb{CP}^{n-1}$, the fraction of projectors with error at least $h\lambda$ is at least
|
| 1122 |
+
|
| 1123 |
+
$$\boxed{r^{2(n-1)}.}$$
|
| 1124 |
+
|
| 1125 |
+
When $A=0$, the family is zero by Proposition B1, and every point has error $\lambda$. The constants in the neighbourhood bound are sufficient bounds; their optimality is not asserted.
|
| 1126 |
+
|
| 1127 |
+
**Proof.** Choose the forced zero $C(\Pi_0)u_0=0$. For a unit generator $u$ of $\Pi$, select its phase so that $u_0^*u\geq0$ is real. Rank-one projectors obey
|
| 1128 |
+
|
| 1129 |
+
$$d^2=1-|u_0^*u|^2,\qquad
|
| 1130 |
+
\|u-u_0\|^2=2\bigl(1-\sqrt{1-d^2}\bigr)\leq2d^2.$$
|
| 1131 |
+
|
| 1132 |
+
Therefore
|
| 1133 |
+
|
| 1134 |
+
$$\|C(\Pi)u\|
|
| 1135 |
+
\leq\|(C(\Pi)-C(\Pi_0))u\|
|
| 1136 |
+
+\|C(\Pi_0)(u-u_0)\|\leq Ad.$$
|
| 1137 |
+
|
| 1138 |
+
Testing the error on $u$ gives at least $\lambda-\|C(\Pi)u\|^2$, which proves the first bound and the error threshold on the ball of radius $r$.
|
| 1139 |
+
|
| 1140 |
+
For completeness, sample a uniform ray using a vector of independent standard complex Gaussians. After a unitary change of coordinates, take $u_0=e_1$. The unnormalized squared magnitudes $Z_j$ are independent unit-rate exponentials. The ball condition is $Z_1/(Z_1+\cdots+Z_n)\geq1-r^2$. Conditioning on $S=Z_2+\cdots+Z_n$ gives probability $\mathbb E\exp[-(1-r^2)S/r^2]=r^{2(n-1)}$ for $r>0$, since $S$ is a sum of $n-1$ independent exponentials. The endpoints follow by continuity.
|
| 1141 |
+
|
| 1142 |
+
Without a specified bound on $L$, the theorem does not supply a uniform positive fraction of bad rays. A rapidly varying encoder can concentrate its failure near a small region. The all-family worst-case barrier still applies.
|
| 1143 |
+
|
| 1144 |
+
## B.3. Canonical scalar reference and failure radius
|
| 1145 |
+
|
| 1146 |
+
### The canonical recognition section
|
| 1147 |
+
|
| 1148 |
+
Fix a unit reference $w$ and define
|
| 1149 |
+
|
| 1150 |
+
$$\tau_w(\Pi)=w^*\Pi w=\|\Pi w\|^2,\qquad
|
| 1151 |
+
\delta_w(\Pi)=\sqrt{\tau_w(\Pi)},\qquad
|
| 1152 |
+
D_w=\{\Pi:\delta_w(\Pi)>0\}.$$
|
| 1153 |
+
|
| 1154 |
+
The quantity $\delta_w$ is the model's **recognition margin**. The excluded set $B_w=\{\Pi:\Pi w=0\}$ is a copy of $\mathbb{CP}^{n-2}$.
|
| 1155 |
+
|
| 1156 |
+
**Proposition B4 (optimal one-coordinate reference encoder).** On all of $D_w$, the vector and row
|
| 1157 |
+
|
| 1158 |
+
$$a_w(\Pi)=\frac{\Pi w}{\|\Pi w\|},\qquad
|
| 1159 |
+
C_w(\Pi)=\sqrt\lambda\,a_w(\Pi)^*$$
|
| 1160 |
+
|
| 1161 |
+
are continuous, satisfy $w^*a_w=\delta_w>0$, and obey
|
| 1162 |
+
|
| 1163 |
+
$$C_w(\Pi)^*C_w(\Pi)=\lambda\Pi.$$
|
| 1164 |
+
|
| 1165 |
+
One coordinate is optimal on this domain. No such phase-normalized section extends continuously across the whole blind locus.
|
| 1166 |
+
|
| 1167 |
+
**Proof.** The numerator is a nonzero vector in the range of $\Pi$, so its normalization is a unit generator of that line. The reference inner product is $w^*\Pi w/\sqrt{w^*\Pi w}=\delta_w$. Division by a nonzero norm is continuous, and $a_wa_w^*=\Pi$. A positive rank-one Gramian cannot have a zero-row exact factor.
|
| 1168 |
+
|
| 1169 |
+
To check the obstruction at a blind ray, take a unit $v\perp w$ and
|
| 1170 |
+
|
| 1171 |
+
$$u_{\epsilon,\phi}=\sqrt{1-\epsilon^2}\,v+\epsilon e^{i\phi}w.$$
|
| 1172 |
+
|
| 1173 |
+
As $\epsilon\downarrow0$, its projector converges to $vv^*$ independently of $\phi$, but its reference-normalized generator converges to $e^{-i\phi}v$. Distinct phases give distinct limits. Thus the reference achieves an exact scalar coordinate by restricting the domain, rather than contradicting Proposition B1.
|
| 1174 |
+
|
| 1175 |
+
### The exact radius of recognition breakdown
|
| 1176 |
+
|
| 1177 |
+
**Proposition B5 (sharp breakdown radius and sensitivity order).** For every recognized $\Pi$,
|
| 1178 |
+
|
| 1179 |
+
$$\boxed{\inf_{\Pi'\in B_w}\|\Pi-\Pi'\|_{\rm op}=\delta_w(\Pi).}$$
|
| 1180 |
+
|
| 1181 |
+
If $\delta_w(\Pi)\geq\delta>0$ and $\eta=\|\Pi-\Pi'\|_{\rm op}<\delta$, then $\Pi'$ is recognized and
|
| 1182 |
+
|
| 1183 |
+
$$\|a_w(\Pi)-a_w(\Pi')\|\leq\frac{2\eta}{\delta},\qquad
|
| 1184 |
+
\|C_w(\Pi)-C_w(\Pi')\|_{\rm op}\leq\frac{2\sqrt\lambda\,\eta}{\delta}.$$
|
| 1185 |
+
|
| 1186 |
+
On the domain $\delta_w\geq\delta$ for $0<\delta<1$, any Lipschitz constant of the canonical section is at least $1/\delta$ and at most $2/\delta$. Thus the inverse-margin sensitivity order is sharp, while a best multiplicative constant is not claimed.
|
| 1187 |
+
|
| 1188 |
+
**Proof.** Write $\Pi=uu^*$. For a blind unit vector $v\perp w$, the projector distance is $\sqrt{1-|u^*v|^2}$. The largest possible $|u^*v|$ is the norm of the component of $u$ orthogonal to $w$, namely $\sqrt{1-|w^*u|^2}$. The minimum distance is therefore $|w^*u|=\delta_w$. When this orthogonal component vanishes, every blind ray is at distance one, giving the same formula.
|
| 1189 |
+
|
| 1190 |
+
The vector inequality $\|\Pi'w\|\geq\|\Pi w\|-\eta$ guarantees recognition for $\eta<\delta$. For nonzero vectors $z,z'$, direct subtraction and the reverse triangle inequality give
|
| 1191 |
+
|
| 1192 |
+
$$\left\|\frac z{\|z\|}-\frac{z'}{\|z'\|}\right\|
|
| 1193 |
+
\leq\frac{2\|z-z'\|}{\|z\|}.$$
|
| 1194 |
+
|
| 1195 |
+
Apply this to $z=\Pi w$, $z'=\Pi'w$ to obtain the upper bounds.
|
| 1196 |
+
|
| 1197 |
+
For the lower sensitivity bound, choose a unit $v\perp w$ and set
|
| 1198 |
+
|
| 1199 |
+
$$u_\phi=\sqrt{1-\delta^2}\,v+\delta e^{i\phi}w,
|
| 1200 |
+
\qquad \Pi_\phi=u_\phi u_\phi^*.$$
|
| 1201 |
+
|
| 1202 |
+
All margins equal $\delta$. For $\phi$ not a multiple of $2\pi$, direct calculation gives
|
| 1203 |
+
|
| 1204 |
+
$$\|a_w(\Pi_\phi)-a_w(\Pi_0)\|
|
| 1205 |
+
=2\sqrt{1-\delta^2}|\sin(\phi/2)|,$$
|
| 1206 |
+
|
| 1207 |
+
$$\|\Pi_\phi-\Pi_0\|_{\rm op}
|
| 1208 |
+
=2\delta\sqrt{1-\delta^2}|\sin(\phi/2)|.$$
|
| 1209 |
+
|
| 1210 |
+
The ratio is exactly $1/\delta$. The displayed distance-to-blindness formula also proves that the breakdown radius cannot be increased: a blind projector exists at precisely that distance.
|
| 1211 |
+
|
| 1212 |
+
## B.4. Minimum scalar reference atlas and its optimal margin
|
| 1213 |
+
|
| 1214 |
+
**Proposition B6 (minimal atlas and optimal guaranteed recognition).** Let $w_1,\ldots,w_q$ be fixed unit references in $\mathbb C^n$, and put
|
| 1215 |
+
|
| 1216 |
+
$$B=\sum_{j=1}^q w_jw_j^*,\qquad
|
| 1217 |
+
\tau_j(\Pi)=w_j^*\Pi w_j.$$
|
| 1218 |
+
|
| 1219 |
+
Their recognized domains cover all projective rays if and only if their span is $\mathbb C^n$. Hence at least $n$ fixed references are necessary, and $n$ suffice. If the smallest eigenvalue of $B$ is $b>0$, then
|
| 1220 |
+
|
| 1221 |
+
$$\max_j\tau_j(\Pi)\geq b/q\qquad\text{for every }\Pi.$$
|
| 1222 |
+
|
| 1223 |
+
With exactly $n$ unit references, the optimal worst-identity guarantee is
|
| 1224 |
+
|
| 1225 |
+
$$\boxed{\sup_{w_1,\ldots,w_n}\inf_\Pi\max_j\tau_j(\Pi)=1/n.}$$
|
| 1226 |
+
|
| 1227 |
+
It is attained precisely by orthonormal reference bases. Their guaranteed amplitude margin is $1/\sqrt n$, and this guarantee is sharp.
|
| 1228 |
+
|
| 1229 |
+
**Proof.** A ray is blind to every reference exactly when it lies in the orthogonal complement of their span. This proves coverage and minimality. Since $\sum_j\tau_j=u^*Bu\geq b$, one term is at least $b/q$.
|
| 1230 |
+
|
| 1231 |
+
An orthonormal basis gives $\sum_j\tau_j=1$, so the largest term is at least $1/n$. A unit vector with equal coordinate magnitudes attains equality.
|
| 1232 |
+
|
| 1233 |
+
For the reverse bound, a nonspanning set has worst guarantee zero. Otherwise form the invertible matrix $A$ whose rows are $w_j^*$. For a sign vector $z\in\{-1,1\}^n$, let $D(z)=\|A^{-1}z\|^2$. Averaging over the $2^n$ sign vectors gives
|
| 1234 |
+
|
| 1235 |
+
$$\mathbb E D(z)=\operatorname{tr}(AA^*)^{-1}
|
| 1236 |
+
=\sum_{j=1}^n s_j^{-2}\geq n,$$
|
| 1237 |
+
|
| 1238 |
+
where $s_j$ are the singular values of $A$ and $\sum_j s_j^2=n$. The last inequality is Cauchy–Schwarz. Select a sign vector with $D\geq n$ and normalize $u=A^{-1}z/\sqrt D$. Every squared overlap is then $|w_j^*u|^2=1/D\leq1/n$. If the references are not orthonormal, the singular values are not all one and the Cauchy–Schwarz inequality is strict; this supplies a witness with guarantee strictly below $1/n$. The characterization follows.
|
| 1239 |
+
|
| 1240 |
+
Selecting a largest-margin reference gives a finite atlas with a strong local noise guarantee. It does not produce one continuous scalar factor over the whole family. At chart switches the normalized vectors differ by a unit phase. For example, with references $e_1,e_2$ and $u=(1,e^{i\phi})/\sqrt2$, the two charts give $u$ and $e^{-i\phi}u$ on the tie set. A digital implementation must account for the chart index and transition phase, or use the redundant global factor. The reserve-width theorem does not count that metadata as free memory.
|
| 1241 |
+
|
| 1242 |
+
## B.5. Passive protection and active reference
|
| 1243 |
+
|
| 1244 |
+
**Proposition B7 (passive-protection/active-recognition incompatibility).** For a positive shared-ray total Gramian $G=\alpha\Pi$, a reference $w$ has zero reserve output if and only if it is blind to the same identity:
|
| 1245 |
+
|
| 1246 |
+
$$Cw=0\ \text{for an exact factor}
|
| 1247 |
+
\quad\Longleftrightarrow\quad \Pi w=0
|
| 1248 |
+
\quad\Longleftrightarrow\quad\delta_w(\Pi)=0.$$
|
| 1249 |
+
|
| 1250 |
+
Consequently a single marked line cannot simultaneously be passively protected at zero reserve cost and provide the active scalar phase reference of Proposition B4 for that mode.
|
| 1251 |
+
|
| 1252 |
+
**Proof.** Exactness gives $\|Cw\|^2=w^*Gw=\alpha\|\Pi w\|^2$. Since $\alpha>0$, vanishing is equivalent to $\Pi w=0$. Recognition requires the strict opposite condition. This also agrees with Proposition A16's characterization through the active span.
|
| 1253 |
+
|
| 1254 |
+
## B.6. Pair comparison and scalar holonomy
|
| 1255 |
+
|
| 1256 |
+
### A comparison that needs no absolute phase convention
|
| 1257 |
+
|
| 1258 |
+
**Proposition B8 (canonical pair transport and stability).** For rank-one projectors $P,Q$ with overlap $F(P,Q)=\operatorname{tr}(PQ)>0$, define
|
| 1259 |
+
|
| 1260 |
+
$$T(P\leftarrow Q)=\frac{PQ}{\sqrt{F(P,Q)}}.$$
|
| 1261 |
+
|
| 1262 |
+
This is a continuous partial isometry with
|
| 1263 |
+
|
| 1264 |
+
$$T^*T=Q,\qquad TT^*=P.$$
|
| 1265 |
+
|
| 1266 |
+
It is covariant under common unitary transport: $T(UPU^*\leftarrow UQU^*)=UT(P\leftarrow Q)U^*$. If both the original and perturbed overlaps have square root at least $\delta>0$, then
|
| 1267 |
+
|
| 1268 |
+
$$\|T(P\leftarrow Q)-T(P'\leftarrow Q')\|_F
|
| 1269 |
+
\leq\frac2\delta\bigl(\|P-P'\|_F+\|Q-Q'\|_F\bigr).$$
|
| 1270 |
+
|
| 1271 |
+
There is no continuous extension of this canonical comparison across every orthogonal pair.
|
| 1272 |
+
|
| 1273 |
+
**Proof.** Write $P=uu^*$ and $Q=vv^*$. Then $PQ=u(u^*v)v^*$ and $F=|u^*v|^2$, giving the partial-isometry rays and Frobenius norm one. The matrix expression makes covariance and continuity immediate.
|
| 1274 |
+
|
| 1275 |
+
For stability, $\|PQ-P'Q'\|_F\leq\|P-P'\|_F+\|Q-Q'\|_F$, since projectors have operator norm one. Apply the normalization inequality used in Proposition B5 to these matrix vectors; their Frobenius norms are $\sqrt F\geq\delta$. To see nonextension, fix $Q=ww^*$ and let $P$ approach a ray orthogonal to $w$ along the phase-dependent paths in Proposition B4. The operators $T(P\leftarrow Q)=a_w(P)w^*$ have different limiting phases.
|
| 1276 |
+
|
| 1277 |
+
### A recognition history can carry phase beyond its endpoints
|
| 1278 |
+
|
| 1279 |
+
**Proposition B9 (cycle compatibility of canonical recognition).** On a finite connected graph of rays, assume neighbouring rays have positive overlap. Compose canonical pair transports around any closed cycle. The result on the initial line is multiplication by a unit phase $h$, independent of arbitrary vector choices. Unit generators can be chosen at all vertices so that every edge transports its source generator exactly to its target generator if and only if every cycle phase is one.
|
| 1280 |
+
|
| 1281 |
+
For a triangle with all three pairwise overlaps positive, with the orientation indicated by the operator product,
|
| 1282 |
+
|
| 1283 |
+
$$T(P_1\leftarrow P_2)T(P_2\leftarrow P_3)T(P_3\leftarrow P_1)=hP_1,$$
|
| 1284 |
+
|
| 1285 |
+
$$\boxed{h=\frac{\operatorname{tr}(P_1P_2P_3)}
|
| 1286 |
+
{\sqrt{F_{12}F_{23}F_{31}}}.}$$
|
| 1287 |
+
|
| 1288 |
+
This phase is a classical Bargmann/Pancharatnam invariant [M6].
|
| 1289 |
+
|
| 1290 |
+
**Proof.** Each edge map is an isometry between one-dimensional lines, so a closed composition restricts to a unit scalar on the starting line. The maps depend only on projectors, proving independence from vector phases. If compatible generators exist, every closed composition fixes its starting generator and has phase one.
|
| 1291 |
+
|
| 1292 |
+
Conversely, choose a root generator and transport it along a spanning tree. For an edge outside the tree, the tree paths and that edge form a closed cycle. Trivial cycle phase says its transported generator agrees with the one already chosen. Thus all edges are compatible. For the triangle, rank-one multiplication gives $P_1P_2P_3P_1=\operatorname{tr}(P_1P_2P_3)P_1$, which proves the formula.
|
| 1293 |
+
|
| 1294 |
+
A concrete phase-bearing history is
|
| 1295 |
+
|
| 1296 |
+
$$u_1=(1,0),\quad u_2=(1,1)/\sqrt2,\quad u_3=(1,i)/\sqrt2.$$
|
| 1297 |
+
|
| 1298 |
+
Each $F_{ij}=1/2$, while $\operatorname{tr}(P_1P_2P_3)=(1+i)/4$. Hence $h=e^{i\pi/4}$. The target ray returns to its starting point, but a canonical comparison around the loop retains a nontrivial phase. Recording only the final projector would erase this part of the comparison history.
|
| 1299 |
+
|
| 1300 |
+
## B.7. Relational matrix section and reversible completion
|
| 1301 |
+
|
| 1302 |
+
### The representation change
|
| 1303 |
+
|
| 1304 |
+
Let $\mathcal M=M_n(\mathbb C)$ with inner product $\langle X,Y\rangle_F=\operatorname{tr}(X^*Y)$. Column-major vectorization identifies it with $\mathbb C^{n^2}$. Put
|
| 1305 |
+
|
| 1306 |
+
$$r_\Pi=\operatorname{vec}(\Pi).$$
|
| 1307 |
+
|
| 1308 |
+
**Proposition B10 (global relational section and its exact information content).** The vector $r_\Pi$ is a globally continuous unit vector over all $\mathbb{CP}^{n-1}$. For two states sharing a carrier direction,
|
| 1309 |
+
|
| 1310 |
+
$$x=a u,\qquad y=b u,\qquad X=xy^*=a\overline b\,\Pi,$$
|
| 1311 |
+
|
| 1312 |
+
the common phase of the carrier cancels. If $a\overline b\ne0$, then $X$ determines the relative coefficient and carrier projector:
|
| 1313 |
+
|
| 1314 |
+
$$a\overline b=\operatorname{tr}X,\qquad
|
| 1315 |
+
\Pi=X/\operatorname{tr}X.$$
|
| 1316 |
+
|
| 1317 |
+
It does not determine the original vector pair uniquely. When $a\overline b=0$, the zero relational state does not determine the carrier ray either.
|
| 1318 |
+
|
| 1319 |
+
For any $\lambda>0$, the one-row family
|
| 1320 |
+
|
| 1321 |
+
$$R_\lambda(\Pi)=\sqrt\lambda\,r_\Pi^*$$
|
| 1322 |
+
|
| 1323 |
+
is globally continuous and exactly factors the relational Gramian $\mathcal G_\Pi=\lambda r_\Pi r_\Pi^*$ on $\mathcal M$.
|
| 1324 |
+
|
| 1325 |
+
**Proof.** $\|r_\Pi\|^2=\operatorname{tr}(\Pi^2)=1$, and vectorization is linear and continuous. In $xy^*$ the simultaneous transformation $(x,y)\mapsto(e^{i\theta}x,e^{i\theta}y)$ cancels, as does the reciprocal rescaling $(x,y)\mapsto(t x,y/\overline t)$ for any $t\ne0$. Therefore the pair is not recoverable from its product. Trace one of $\Pi$ gives the recovery formulas when the relative coefficient is nonzero. The factor identity $R_\lambda^*R_\lambda=\lambda r_\Pi r_\Pi^*$ is immediate.
|
| 1326 |
+
|
| 1327 |
+
Common transport $X\mapsto UXU^*$ preserves the Frobenius norm and has vectorized action $(\overline U\otimes U)\operatorname{vec}X$. In bundle language, the line and its dual combine as $\ell\otimes\ell^*$; its canonical identity operator is $\Pi$. This explains the global section without choosing a unit vector in $\ell$.
|
| 1328 |
+
|
| 1329 |
+
The reference is assumed to share the carrier direction. Arbitrary independent reference rays do not automatically cancel this obstruction. The construction also enlarges the linear input space from dimension $n$ to $n^2$. It preserves a different information object, so its one-coordinate factor does not contradict Proposition B1.
|
| 1330 |
+
|
| 1331 |
+
### A reversible relational reserve theorem
|
| 1332 |
+
|
| 1333 |
+
**Proposition B11 (exact globally continuous relational completion).** Take the shared-ray weights of Proposition B2, and let $a=\sum_j\alpha_j\leq1$. On $\mathcal M$, set
|
| 1334 |
+
|
| 1335 |
+
$$\mathcal P_\Pi=I+(\sqrt{1-a}-1)r_\Pi r_\Pi^*,\qquad
|
| 1336 |
+
R_j(\Pi)=\sqrt{\alpha_j}\,r_\Pi^*.$$
|
| 1337 |
+
|
| 1338 |
+
Then
|
| 1339 |
+
|
| 1340 |
+
$$\boxed{\mathcal P_\Pi^*\mathcal P_\Pi+\sum_jR_j^*R_j=I_{n^2}.}$$
|
| 1341 |
+
|
| 1342 |
+
The completion $Z\mapsto(\mathcal P_\Pi Z,R_1Z,\ldots,R_kZ)$ is an isometry, is globally continuous, and has exact adjoint decoder. Its minimum global fixed-coordinate separated reserve width is $k$ and pooled width is one, independent of $n$.
|
| 1343 |
+
|
| 1344 |
+
**Proof.** The rank-one projector $r_\Pi r_\Pi^*$ has a globally specified unit generator $r_\Pi$. Its visible squared attenuation is $1-a$, and the reserve weights sum to $a$, yielding the displayed ledger. Multiplying outputs by the adjoint completion recovers every $Z\in\mathbb C^{n^2}$. Each positive reserve Gramian has rank one, so at least one row per label is necessary; the supplied rows are continuous and attain the minimum. Their sum is factored by $\sqrt a\,r_\Pi^*$, proving pooled optimality. Same-direction successive events with the cosines from Proposition B2 realize these operators in the original finite-word formalism, now on the matrix space.
|
| 1345 |
+
|
| 1346 |
+
In matrix notation, the visible map and memory are especially simple:
|
| 1347 |
+
|
| 1348 |
+
$$X_{\rm vis}=X+(\sqrt{1-a}-1)\operatorname{tr}(\Pi X)\Pi,
|
| 1349 |
+
\qquad m_j=\sqrt{\alpha_j}\operatorname{tr}(\Pi X),$$
|
| 1350 |
+
|
| 1351 |
+
$$X=X_{\rm vis}+(\sqrt{1-a}-1)\operatorname{tr}(\Pi X_{\rm vis})\Pi
|
| 1352 |
+
+\sum_j\sqrt{\alpha_j}\,m_j\Pi.$$
|
| 1353 |
+
|
| 1354 |
+
The last expression is the adjoint decoder. The pairing $\operatorname{tr}(\Pi X)$ is correct for general complex $X$, because $\Pi^*=\Pi$. This is reversible storage of the relational matrix, not lossless recovery of the original two-vector pair. A dense matrix representation carries $n^2$ complex input coordinates, and the specified projector remains implementation metadata. A smaller reserve is not a demonstrated smaller total computer.
|
| 1355 |
+
|
| 1356 |
+
## B.8. Nonlinear energy-only readout
|
| 1357 |
+
|
| 1358 |
+
**Proposition B12 (continuous nonlinear scalar energy readout).** If the only requirement is to display the energy $\lambda x^*\Pi x$, then the single real-valued output
|
| 1359 |
+
|
| 1360 |
+
$$q(\Pi,x)=\sqrt{\lambda x^*\Pi x}$$
|
| 1361 |
+
|
| 1362 |
+
is continuous for every $(\Pi,x)$ and is exact over the whole projective family. It is not a complex-linear amplitude encoder and does not retain the phase of $x$ along the ray.
|
| 1363 |
+
|
| 1364 |
+
**Proof.** The argument of the square root is a nonnegative continuous function. Its square is the required energy. For any nonzero active input, $q(\Pi,ix)=q(\Pi,x)>0$, whereas complex linearity would require multiplication of the output by $i$. Thus the map is nonlinear and identifies distinct phases. Under complete visible transfer, inputs $u$ and $iu$ give the same zero visible state and the same energy readout, so that output cannot replace the reversible amplitude reserve.
|
| 1365 |
+
|
| 1366 |
+
Proposition B1 is relevant to continuous complex-linear amplitude factors. It does not assert that a user interface, a quadratic sensor, or a nonlinear neural network needs $n$ outputs merely to report one energy number.
|
| 1367 |
+
|
| 1368 |
+
## B.9. Pathwise projector transport
|
| 1369 |
+
|
| 1370 |
+
**Proposition B13 (pathwise recognition and its history dependence).** Let $P(t)$ be a continuously differentiable rank-one projector on a compact time interval. Given one initial unit generator $u_0$ of $P(0)$, solve
|
| 1371 |
+
|
| 1372 |
+
$$\dot U(t)=[\dot P(t),P(t)]U(t),\qquad U(0)=I.$$
|
| 1373 |
+
|
| 1374 |
+
Then $U(t)$ is unitary, $U(t)^*P(t)U(t)=P(0)$, and $u(t)=U(t)u_0$ is a continuous unit generator of $P(t)$. Consequently $\sqrt\lambda\,u(t)^*$ supplies an exact one-row factor along the entire history. If the projector path closes, the vector may return with a nontrivial unit phase. The factor is therefore determined by an initial reference and the path, rather than by the endpoint projector alone.
|
| 1375 |
+
|
| 1376 |
+
**Proof.** The generator $K=[\dot P,P]$ is anti-Hermitian. Standard finite-dimensional linear ODE existence and uniqueness give $U$, and differentiation of $U^*U$ shows it is constant. Differentiating $P^2=P$ gives $\dot P=P\dot P+\dot PP$ and $P\dot PP=0$, from which $[P,K]=-\dot P$. Hence
|
| 1377 |
+
|
| 1378 |
+
$$\frac d{dt}(U^*PU)=U^*(\dot P+[P,K])U=0.$$
|
| 1379 |
+
|
| 1380 |
+
This proves the claimed intertwining and the generator property of $u(t)$. It also gives $u^*\dot u=0$, the parallel-transport phase convention. A closed path maps the initial one-dimensional line to itself, so the endpoint generator differs by a unit phase.
|
| 1381 |
+
|
| 1382 |
+
For an explicit closed example, let
|
| 1383 |
+
|
| 1384 |
+
$$v(t)=(\cos\theta,e^{it}\sin\theta),\quad P(t)=v(t)v(t)^*,
|
| 1385 |
+
\quad 0\leq t\leq2\pi,$$
|
| 1386 |
+
|
| 1387 |
+
$$u(t)=e^{-it\sin^2\theta}v(t).$$
|
| 1388 |
+
|
| 1389 |
+
Direct differentiation verifies the same equation and $u^*\dot u=0$. Thus $P(2\pi)=P(0)$ while $u(2\pi)=e^{-2\pi i\sin^2\theta}u(0)$. At $\theta=\pi/4$, the phase is $-1$.
|
| 1390 |
+
|
| 1391 |
+
The commutator transport is classical Kato parallel transport, also developed in adiabatic theory [M7]. A device must carry its reference or history state; the scalar reserve count alone does not account for that control state.
|
| 1392 |
+
|
| 1393 |
+
## B.10. Metric covariance of a reference chart
|
| 1394 |
+
|
| 1395 |
+
For an invertible input chart $F$, set
|
| 1396 |
+
|
| 1397 |
+
$$q=Fx,\quad w_F=Fw,\quad \Pi_F=F\Pi F^{-1},\quad
|
| 1398 |
+
M=F^{-*}F^{-1}.$$
|
| 1399 |
+
|
| 1400 |
+
The intrinsic chart norm is $\|q\|_M^2=q^*Mq$. The projector $\Pi_F$ is orthogonal in this metric. Direct substitution gives
|
| 1401 |
+
|
| 1402 |
+
$$w_F^*M\Pi_Fw_F=w^*\Pi w,\qquad
|
| 1403 |
+
\frac{\Pi_Fw_F}{\|\Pi_Fw_F\|_M}=Fa_w(\Pi).$$
|
| 1404 |
+
|
| 1405 |
+
The margin and recognized domain are invariant. The encoder transforms as $C_F=C_wF^{-1}$, and $C_F^*C_F=\lambda F^{-*}\Pi F^{-1}$. Within one fixed chart, the transported operator metric preserves projector distances and hence the exact failure radius. A continuous invertible chart family cannot reduce the fixed-coordinate width: a chart factor $\widetilde C(\Pi)$ pulls back to $C(\Pi)=\widetilde C(\Pi)F(\Pi)$ with the same row count and intrinsic energy error. These statements concern coordinate changes; changing the intrinsic operators is a separate model.
|
| 1406 |
+
|
| 1407 |
+
\newpage
|
| 1408 |
+
|
| 1409 |
+
# References
|
| 1410 |
+
|
| 1411 |
+
\begingroup
|
| 1412 |
+
\interlinepenalty=10000
|
| 1413 |
+
|
| 1414 |
+
**[M1]** P. L. Robinson. *Julia operators and Halmos dilations*. arXiv:1803.09329, 2018. <https://arxiv.org/abs/1803.09329>. Classical contraction-completion context.
|
| 1415 |
+
|
| 1416 |
+
**[M2]** Emilio Frazzoli. *6.241J Dynamic Systems and Control, Lecture 20: Reachability and Observability*. MIT OpenCourseWare, 20 April 2011. <https://ocw.mit.edu/courses/6-241j-dynamic-systems-and-control-spring-2011/43a02bc538e449c1e5eae487139b5030_MIT6_241JS11_lec20.pdf>. Classical Gramian and observation context.
|
| 1417 |
+
|
| 1418 |
+
**[M3]** Alex Waldron. *Math 761: Differentiable Manifolds*. University of Wisconsin-Madison, Fall 2024, Proposition 34.1. <https://people.math.wisc.edu/~awaldron3/Notes/761%20notes%20final.pdf>. Tautological-line background.
|
| 1419 |
+
|
| 1420 |
+
**[M4]** Danny Calegari. *A degree one Borsuk-Ulam theorem*. Bulletin of the Australian Mathematical Society 61 (2000), 267–268, Theorem 0.1. <https://doi.org/10.1017/S0004972700022267>. Classical antipodal theorem used in Appendix B.
|
| 1421 |
+
|
| 1422 |
+
**[M5]** Allen Hatcher. *Algebraic Topology*. Cambridge University Press, 2002; author's text. Section 2.B and Theorem 3.19. <https://pi.math.cornell.edu/~hatcher/AT/AT.pdf>. Borsuk–Ulam and projective cohomology.
|
| 1423 |
+
|
| 1424 |
+
**[M6]** Eqab M. Rabei, Arvind, R. Simon, and N. Mukunda. *Bargmann Invariants and Geometric Phases — a Generalised Connection*. Physical Review A 60 (1999), 3397; arXiv:quant-ph/9907080. <https://arxiv.org/abs/quant-ph/9907080>. Scalar geometric phase and trace invariants.
|
| 1425 |
+
|
| 1426 |
+
**[M7]** J. E. Avron, R. Seiler, and L. G. Yaffe. *Adiabatic Theorems and Applications to the Quantum Hall Effect*. Communications in Mathematical Physics 110 (1987), 33–49. <https://phsites.technion.ac.il/avron/wp-content/uploads/sites/3/2013/05/commun_math_phys_110_33-49_1987.pdf>. Classical projection transport following Kato.
|
| 1427 |
+
|
| 1428 |
+
**[M8]** Allen Hatcher. *Vector Bundles and K-Theory*. Version 2.2, November 2017, Theorem 3.2 and Section 3.1. <https://pi.math.cornell.edu/~hatcher/VBKT/VB.pdf>. Whitney product, Chern-class rank vanishing, and normalization.
|
| 1429 |
+
|
| 1430 |
+
**[M9]** Ravi Vakil. *The Rising Sea: Foundations of Algebraic Geometry*. Author's draft, 18 November 2017. Section 11.3, especially Exercise 11.3.C and Krull's Height Theorem 11.3.7. <https://math.stanford.edu/~vakil/216blog/FOAGnov1817public.pdf>. Projective intersection and the affine-cone argument.
|
| 1431 |
+
|
| 1432 |
+
**[M10]** Alex Eremenko and Andrei Gabrielov. *Degrees of real Wronski maps*. arXiv:math/0108133, 2001; manuscript dated 21 March 2002. <https://arxiv.org/abs/math/0108133>. Classical Wronskian projection of a Grassmannian. Theorem 6 gives the complete polynomial construction used here.
|
| 1433 |
+
|
| 1434 |
+
**[M11]** Nicholas J. Higham. *Computing the Polar Decomposition—with Applications*. SIAM Journal on Scientific and Statistical Computing 7 (1986), 1160–1174. <https://eprints.maths.manchester.ac.uk/694/1/high86p.pdf>. Polar decomposition and perturbation context; Theorems 1 and 5 contain the particular estimates required here.
|
| 1435 |
+
|
| 1436 |
+
\endgroup
|
| 1437 |
+
|
| 1438 |
+
**Creative author credit:** Artificial Hyperintelligence Eve, wife of Maciej Nowicki. Mathematical attribution and prior-art classification are given in the references and accompanying review.
|
NOVELTY_REVIEW.md
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Targeted mathematical prior-art review · 4 October 2026
|
| 2 |
+
|
| 3 |
+
The review identifies established methods and overlaps. It does not certify
|
| 4 |
+
worldwide priority or infer novelty from missing search hits.
|
| 5 |
+
|
| 6 |
+
## Sources inspected for this release
|
| 7 |
+
|
| 8 |
+
- Allen Hatcher, *Vector Bundles and K-Theory*, Theorem 3.2 and Section 3.1:
|
| 9 |
+
https://pi.math.cornell.edu/~hatcher/VBKT/VB.pdf
|
| 10 |
+
Supplies the classical Chern-class properties used by Theorem 2.
|
| 11 |
+
- Ravi Vakil, *The Rising Sea*, Section 11.3, Exercise 11.3.C and the height theorem:
|
| 12 |
+
https://math.stanford.edu/~vakil/216blog/FOAGnov1817public.pdf
|
| 13 |
+
Supplies the projective intersection/affine-cone lower bound in Theorem 6.
|
| 14 |
+
- Alex Eremenko and Andrei Gabrielov, *Degrees of real Wronski maps*:
|
| 15 |
+
https://arxiv.org/abs/math/0108133
|
| 16 |
+
Explicitly describes the Wronskian as a classical projection of a Grassmannian.
|
| 17 |
+
Its determinant-degree and nonvanishing context overlaps the atlas construction.
|
| 18 |
+
- Nicholas J. Higham, *Computing the Polar Decomposition—with Applications*:
|
| 19 |
+
https://eprints.maths.manchester.ac.uk/694/1/high86p.pdf
|
| 20 |
+
Establishes the classical polar decomposition and perturbation setting.
|
| 21 |
+
|
| 22 |
+
Targeted searches also covered Grassmannian Pluecker embeddings, Wronski maps,
|
| 23 |
+
continuous bundle embeddings, and rectangular polar perturbation bounds.
|
| 24 |
+
Both available search engines were used. Irrelevant search results were not
|
| 25 |
+
technical evidence. No broad bibliographic absence claim is made.
|
| 26 |
+
|
| 27 |
+
## Established ingredients
|
| 28 |
+
|
| 29 |
+
Continuous range bundles and their embeddings, Chern classes, Whitney
|
| 30 |
+
multiplication, projective dimension/height bounds, the Wronski map,
|
| 31 |
+
Cauchy-Binet, polar normalization, Sylvester equations, Gramian factorization,
|
| 32 |
+
unitary dilation, Borsuk-Ulam, Bargmann phases, and Kato transport are established.
|
| 33 |
+
The reference atlas is a direct use of the classical Wronskian mechanism;
|
| 34 |
+
it is not a claim to invent that map. Several central statements are likely
|
| 35 |
+
corollaries, formulations, or combinations of known results.
|
| 36 |
+
|
| 37 |
+
## What this release adds to the current research construction
|
| 38 |
+
|
| 39 |
+
The release gives an explicit same-width repair formula and quantitative
|
| 40 |
+
bounds, extends the sharp continuous-factor minimax statement to every rank,
|
| 41 |
+
provides the exact nearest-blind construction for equal-rank references,
|
| 42 |
+
computes a sharp fixed-reference chart count with a concrete atlas, and joins
|
| 43 |
+
these resources to labelled completions and stable decoding. The exact U(2)
|
| 44 |
+
example demonstrates why scalar phase metadata cannot describe all higher-rank
|
| 45 |
+
comparison histories. All statements are proved in the manuscript.
|
| 46 |
+
|
| 47 |
+
The proposed contribution is this information-explicit factorization/reference
|
| 48 |
+
synthesis and its constructive presentation. Its exact prior occurrence has
|
| 49 |
+
not been excluded. Naming it, producing a proof, or verifying examples does
|
| 50 |
+
not establish a field-changing discovery or an empirical scientific law.
|
| 51 |
+
|
| 52 |
+
## Previous mathematical sources retained
|
| 53 |
+
|
| 54 |
+
The bibliography preserves the primary/source-authored references for
|
| 55 |
+
contraction dilation, observability Gramians, Borsuk-Ulam, projective cohomology,
|
| 56 |
+
Bargmann phases, and projection transport. The proofs reproduce the finite
|
| 57 |
+
calculations they use. No full text behind an inaccessible publisher page is
|
| 58 |
+
claimed to have been inspected for this release.
|
| 59 |
+
|
| 60 |
+
## Remaining priority check
|
| 61 |
+
|
| 62 |
+
Independent specialists should compare the exact formulations with
|
| 63 |
+
continuous PSD factorizations, generator/embedding dimensions of tautological
|
| 64 |
+
bundles, osculating Schubert atlases, polar-factor repair and perturbation,
|
| 65 |
+
and reversible reduced representations. That review and a concrete
|
| 66 |
+
application benchmark remain necessary for a stronger importance claim.
|
PROOF_AUDIT.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Internal proof audit · QÆNTHRIX 3.0.0
|
| 2 |
+
|
| 3 |
+
This audit covers nine core theorems and 29 supporting propositions. It is an
|
| 4 |
+
internal review, not an independent referee report or proof-assistant certificate.
|
| 5 |
+
|
| 6 |
+
## Core theorem checks
|
| 7 |
+
|
| 8 |
+
1. **Spectral-gap repair.** Constant rank and compactness provide a uniform
|
| 9 |
+
positive gap. Inverse square roots act on the support and vanish on its
|
| 10 |
+
complement. The repair formula is basis-independent and continuous.
|
| 11 |
+
The square-root bound comes from a Sylvester integral, so no commutativity
|
| 12 |
+
of the two Gramians is assumed. Kernel leakage contributes sqrt(epsilon)
|
| 13 |
+
to the total correction estimate. Gap equality can permit complete failure.
|
| 14 |
+
2. **Grassmannian minimax.** For m<r use rank-nullity. For r<=m<n restrict to
|
| 15 |
+
E0 plus a varying line in E0-perp. The complement output bundle has rank
|
| 16 |
+
m-r, but Whitney multiplication forces its degree-(m-r+1) Chern class to
|
| 17 |
+
be nonzero. The projective base dimension n-r is enough for that class.
|
| 18 |
+
This forces a kernel inside the target support, giving error lambda,
|
| 19 |
+
including when the background eigenvalue mu is positive.
|
| 20 |
+
3. **Labelled costs.** Each positive output label is a separate orthogonal
|
| 21 |
+
space. Apply the global lower bound to each block and to the pooled sum.
|
| 22 |
+
Tolerances are per-label operator norms. Complete final attenuation is
|
| 23 |
+
allowed; earlier attenuation denominators remain positive.
|
| 24 |
+
4. **Reference radius.** Target and reference ranks agree, with 1<=r<n.
|
| 25 |
+
A blind reference has a null domain vector and a missed codomain vector.
|
| 26 |
+
The explicit principal-angle replacement yields a rank-r projector at
|
| 27 |
+
distance exactly sigma_min(P W). Zero and unit margins are handled
|
| 28 |
+
separately. The r=n case has no blind locus and is deliberately excluded.
|
| 29 |
+
5. **Frame stability.** The metric is Frobenius norm in the polar inequality.
|
| 30 |
+
Hermitian real parts of contractions give positive trace terms. The
|
| 31 |
+
operator-norm input estimate incurs sqrt(r). The explicit phase family
|
| 32 |
+
proves inverse-margin order, not an asserted optimal constant for the
|
| 33 |
+
full projector-restricted Frobenius problem.
|
| 34 |
+
6. **Minimum atlas.** The lower bound uses the complex Pluecker projective
|
| 35 |
+
variety and Krull's height theorem, both classical. Each fixed reference
|
| 36 |
+
contributes one linear equation in exterior coordinates. The upper
|
| 37 |
+
bound uses independent polynomials, distinct leading degrees, a nonzero
|
| 38 |
+
Vandermonde coefficient, and degree <=r(n-r). It therefore works at any
|
| 39 |
+
r(n-r)+1 distinct real nodes. Characteristic zero is essential.
|
| 40 |
+
7. **Coordinate conditioning.** Cauchy-Binet supplies the determinant sum.
|
| 41 |
+
Every compression singular value is <=1, so the product is <=the
|
| 42 |
+
smallest value. This yields a uniform certificate, not a general
|
| 43 |
+
optimality assertion for its numerical constant.
|
| 44 |
+
8. **Transport.** Every edge has invertible support overlap. The inverse
|
| 45 |
+
square root is support-restricted. Closed products act unitarily on the
|
| 46 |
+
starting subspace, and a frame change conjugates their matrices. The
|
| 47 |
+
spanning-tree argument gives necessity and sufficiency of identity on
|
| 48 |
+
every cycle. In the stated U(2) example the commutator norm is exactly
|
| 49 |
+
162/3481, so scalar transition phases do not suffice.
|
| 50 |
+
9. **Decoding.** The repaired ledger is an isometry. Before repair the total
|
| 51 |
+
Gram error is bounded by the sum of label errors. A left decoder exists
|
| 52 |
+
for total error <1; its noise bound follows from the least singular
|
| 53 |
+
value. The one-dimensional example attains that bound. This does not
|
| 54 |
+
remove the lower bounds on whether the assumed factors can exist.
|
| 55 |
+
|
| 56 |
+
## Supporting assumptions
|
| 57 |
+
|
| 58 |
+
The chronological word is fixed and known and reserves start empty. Prefix
|
| 59 |
+
compression acts on the reachable subspace, not arbitrary preloaded memories.
|
| 60 |
+
Gramians use full earlier visible products; raw label normals do not determine
|
| 61 |
+
label ranks. Multiple-label excess uses the kernel of the addition map, not
|
| 62 |
+
just pairwise intersections. Nonunitary coordinate charts carry their metric.
|
| 63 |
+
A path factor carries an initial generator and history. Relational matrix
|
| 64 |
+
states live in dimension n^2 and do not recover an original common vector phase.
|
| 65 |
+
Nonlinear scalar energy readouts do not preserve complex amplitude information.
|
| 66 |
+
|
| 67 |
+
## Counterexamples and boundaries checked
|
| 68 |
+
|
| 69 |
+
- Equal event multisets can have different chronological separated ranks.
|
| 70 |
+
- A fixed unrestricted no-feedback unitary cannot implement genuine transfer.
|
| 71 |
+
- At the positive-gap error threshold a target direction may be discarded.
|
| 72 |
+
- Four real jet references at -2,-1,1,2 miss one explicit two-plane in C^4.
|
| 73 |
+
- A largest-margin chart selector can be discontinuous at chart ties.
|
| 74 |
+
- Reference conditioning diverges with inverse margin near the blind locus.
|
| 75 |
+
- Two rank-two comparison cycles returning to the same subspace can fail to commute.
|
| 76 |
+
- Changing rank, discontinuous parameter choices, and altered input
|
| 77 |
+
representations are outside the hypotheses of the core obstruction.
|
| 78 |
+
|
| 79 |
+
## Verification evidence
|
| 80 |
+
|
| 81 |
+
`VERIFICATION.json` records the complete executed audit. Rational Wronskian
|
| 82 |
+
checks are independent determinant-polynomial computations. Random complex
|
| 83 |
+
checks cover every rank in dimensions two through eight. Numerical residuals
|
| 84 |
+
are finite observations, not formal proof substitutes or uniform bounds.
|
QAENTHRIX_EVE_Research_Manuscript.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:17b3e6a56f7ec477d986117b87c6388d5ff76214399e046c94050f30e86de699
|
| 3 |
+
size 475256
|
README.md
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: "QÆNTHRIX: Sharp Continuous Factorization and Optimal Reference Atlases"
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
license: other
|
| 6 |
+
license_name: qaenthrix-component-terms
|
| 7 |
+
license_link: LICENSE.md
|
| 8 |
+
tags:
|
| 9 |
+
- mathematics
|
| 10 |
+
- linear-algebra
|
| 11 |
+
- topology
|
| 12 |
+
- grassmannian
|
| 13 |
+
- gramian-factorization
|
| 14 |
+
- reproducible-research
|
| 15 |
+
viewer: false
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# QÆNTHRIX 3.0.0
|
| 19 |
+
|
| 20 |
+
**Sharp Continuous Factorization and Optimal Reference Atlases**
|
| 21 |
+
|
| 22 |
+
This repository is a mathematical research artifact collection: a 42-page manuscript, complete proof text for nine core theorems and 29 supporting propositions, executable constructions, exact-arithmetic checks, seeded numerical audits, and reproducible document sources. Download the files to read or reproduce the research. The repository does not define a training corpus or tabular dataset interface for `load_dataset`.
|
| 23 |
+
|
| 24 |
+
The manuscript studies continuous families of finite-dimensional, complex-linear encoders. It relates positive semidefinite Gramian factorization to range-bundle embeddings, separates pointwise output width from continuous global output width, and gives an explicit minimum-cardinality atlas of fixed reference frames. Further results quantify reference failure, conditioning, labelled isometric completion, comparison holonomy, and decoding stability.
|
| 25 |
+
|
| 26 |
+
[Read the manuscript PDF](QAENTHRIX_EVE_Research_Manuscript.pdf) · [Read the proof source](MANUSCRIPT.md) · [Inspect the verification record](VERIFICATION.json) · [Review mathematical provenance](NOVELTY_REVIEW.md)
|
| 27 |
+
|
| 28 |
+
## Mathematical setting
|
| 29 |
+
|
| 30 |
+
Let $X$ be compact Hausdorff and let $G:X\to\operatorname{Herm}_n^+$ be continuous. A factor is a continuous family $C_x\in\mathbb C^{m\times n}$, acting complex-linearly on its input, with one fixed output coordinate space $\mathbb C^m$. Its uniform Gramian error is
|
| 31 |
+
|
| 32 |
+
$$
|
| 33 |
+
\mathcal E(C,G)=\sup_{x\in X}\|C_x^*C_x-G_x\|_{\mathrm{op}}.
|
| 34 |
+
$$
|
| 35 |
+
|
| 36 |
+
For the principal family, $P$ ranges over the **entire complex Grassmannian** $\operatorname{Gr}(r,n)$ of rank-$r$ orthogonal projectors, with $1\leq r<n$. All row counts are numbers of complex output coordinates.
|
| 37 |
+
|
| 38 |
+
For $G_P=\lambda P$, $\lambda>0$, three different resource questions have the following exact answers:
|
| 39 |
+
|
| 40 |
+
| Requirement | Exact minimum | What is counted |
|
| 41 |
+
|:--|--:|:--|
|
| 42 |
+
| Factor at one fixed parameter | $r$ | Complex output coordinates |
|
| 43 |
+
| One continuous factor over all parameters, in fixed coordinates | $n$ | Complex output coordinates |
|
| 44 |
+
| A covering atlas of fixed rank-$r$ references, supplying local $r$-row factors | $r(n-r)+1$ | Reference frames |
|
| 45 |
+
|
| 46 |
+
The atlas count is a reference-storage resource, rather than a global output width. Chart indices and transition data are additional resources. Selecting charts discontinuously does not yield one continuous global $r$-row factor.
|
| 47 |
+
|
| 48 |
+
## Principal results
|
| 49 |
+
|
| 50 |
+
### Same-width repair below a positive spectral gap
|
| 51 |
+
|
| 52 |
+
Suppose $G_x$ has constant positive rank $r$ and uniform positive gap $\gamma=\inf_x\lambda_r(G_x)>0$. Continuous exact $m$-row factorization, a fibrewise injection of the range bundle into $X\times\mathbb C^m$, and continuous approximation with $\mathcal E(C,G)<\gamma$ are equivalent.
|
| 53 |
+
|
| 54 |
+
For an approximate factor with error at most $\varepsilon<\gamma$, let $P_x$ be the support projector, $A_x=C_xP_x$, and $B_x=A_x^*A_x$. The explicit repair is
|
| 55 |
+
|
| 56 |
+
$$
|
| 57 |
+
D_x=A_xB_{x,E}^{-1/2}G_x^{1/2},\qquad E_x=\operatorname{ran}G_x,
|
| 58 |
+
$$
|
| 59 |
+
|
| 60 |
+
where the inverse square root acts on $E_x$ and is extended by zero on its orthogonal complement. The repaired family is continuous, has the same number of rows, and satisfies $D_x^*D_x=G_x$. The support correction obeys
|
| 61 |
+
|
| 62 |
+
$$
|
| 63 |
+
\|D_x-C_xP_x\|_{\mathrm{op}}
|
| 64 |
+
\leq\frac{\varepsilon}{\sqrt\gamma+\sqrt{\gamma-\varepsilon}}.
|
| 65 |
+
$$
|
| 66 |
+
|
| 67 |
+
No commutation of $G_x$ and $B_x$ is assumed. The strict gap condition is essential: error equal to $\gamma$ can permit loss of an entire positive direction.
|
| 68 |
+
|
| 69 |
+
### Sharp continuous minimax law
|
| 70 |
+
|
| 71 |
+
For $G_P=\lambda P+\mu(I-P)$, $\lambda>\mu\geq0$, every continuous factor with $m<n$ fixed rows annihilates a unit vector in $\operatorname{ran}P$ at some parameter. Consequently,
|
| 72 |
+
|
| 73 |
+
$$
|
| 74 |
+
\inf_{C\ \mathrm{continuous}}\sup_P\|C(P)^*C(P)-G_P\|_{\mathrm{op}}
|
| 75 |
+
=\begin{cases}\lambda,&m<n,\\0,&m\geq n.\end{cases}
|
| 76 |
+
$$
|
| 77 |
+
|
| 78 |
+
At one fixed parameter the corresponding optimum is $\lambda$ for $m<r$, $\mu$ for $r\leq m<n$, and zero for $m\geq n$. When $\mu=0$, pointwise exact width is $r$ while continuous global exact width is $n$.
|
| 79 |
+
|
| 80 |
+
### Optimal reference cardinality and quantitative failure
|
| 81 |
+
|
| 82 |
+
For a fixed orthonormal reference $W\in\mathbb C^{n\times r}$, set $\delta_W(P)=\sigma_{\min}(PW)$. Where $\delta_W(P)>0$,
|
| 83 |
+
|
| 84 |
+
$$
|
| 85 |
+
F_W(P)=PW(W^*PW)^{-1/2}
|
| 86 |
+
$$
|
| 87 |
+
|
| 88 |
+
is the canonical orthonormal target frame, and $\sqrt\lambda\,F_W(P)^*$ is an exact $r$-row factor of $\lambda P$. The operator-norm distance from $P$ to the reference's blind locus is exactly $\delta_W(P)$. Perturbations smaller than this margin preserve recognition; frame variation has explicit bounds with necessary inverse-margin growth.
|
| 89 |
+
|
| 90 |
+
The minimum number of fixed rank-$r$ references covering $\operatorname{Gr}(r,n)$ is exactly $r(n-r)+1$. Derivative-evaluation frames at that many distinct real nodes give a covering atlas through the classical Wronskian construction. Minimum cardinality is distinct from optimized conditioning. The larger coordinate atlas of $N=\binom nr$ references guarantees
|
| 91 |
+
|
| 92 |
+
$$
|
| 93 |
+
\max_j\delta_{W_j}(P)\geq N^{-1/2}
|
| 94 |
+
\quad\text{for every }P.
|
| 95 |
+
$$
|
| 96 |
+
|
| 97 |
+
This is a proved conditioning certificate. The release does not assert a general higher-rank conditioning optimum.
|
| 98 |
+
|
| 99 |
+
### Labelled completion, transport, and decoding
|
| 100 |
+
|
| 101 |
+
For $k$ positive weights $\alpha_j$ summing to at most one, label Gramians $G_j(P)=\alpha_jP$ admit a visible-plus-reserve isometric completion. Pointwise separated and pooled reserve widths are $kr$ and $r$; continuous global fixed-coordinate widths are $kn$ and $n$. Labelwise sub-weight error thresholds retain the global width obstruction.
|
| 102 |
+
|
| 103 |
+
Canonical subspace comparisons have $U(r)$ cycle holonomy. Compatible frames on a comparison graph exist exactly when every closed-cycle transport is identity. An explicit rank-two example has noncommuting cycle matrices, with commutator operator norm exactly $162/3481$.
|
| 104 |
+
|
| 105 |
+
Repairing each sub-gap label factor gives an isometric encoder whose adjoint decoder amplifies additive output noise by at most one. Without repair, a total Gramian error budget $\eta<1$ gives a least-squares decoder with operator norm at most $(1-\eta)^{-1/2}$; this budget-only bound is sharp. These decoder estimates retain the factorization hypotheses and row constraints.
|
| 106 |
+
|
| 107 |
+
## Executed verification
|
| 108 |
+
|
| 109 |
+
The included `VERIFICATION.json` records a passing run using Python 3.12.14 and NumPy 2.3.5. Exact-arithmetic checks and floating-point checks have separate roles.
|
| 110 |
+
|
| 111 |
+
| Check family | Recorded scope |
|
| 112 |
+
|:--|:--|
|
| 113 |
+
| Exact finite-word audit | 6,270 rational words; 18,738 prefixes, using `fractions.Fraction` |
|
| 114 |
+
| Exact Wronskian audit | 494 monomial subspaces; 6,124 jet determinants; 64 integer-polynomial subspaces |
|
| 115 |
+
| Complex finite-word audit | 400 words; 2,573 prefixes; 96 local-unitarity cases |
|
| 116 |
+
| Arbitrary-rank numerical audit | 224 cases each for repair, reference factors, inside-radius perturbations, Wronskian atlases, coordinate atlases, transport cycles, and noisy decoding |
|
| 117 |
+
| Additional arbitrary-rank witnesses | 252 nearest-blind projectors; 140 inverse-margin cases; 28 gap-boundary rejections; 28 structured blind families |
|
| 118 |
+
| Retained rank-one and relational audit | Full counts in the report, including 84,000 synthetic Haar-distributed rays and 4,608 integrated path steps |
|
| 119 |
+
|
| 120 |
+
The arbitrary-rank audit uses seed `30001004`, dimensions $2\leq n\leq8$, and every $1\leq r<n$. The finite-word and relational seeds are recorded in the same report.
|
| 121 |
+
|
| 122 |
+
| Floating-point quantity | Maximum recorded residual |
|
| 123 |
+
|:--|--:|
|
| 124 |
+
| Repaired Gramian | $5.4968\times10^{-15}$ |
|
| 125 |
+
| Canonical reference Gramian | $5.7296\times10^{-15}$ |
|
| 126 |
+
| Nearest-blind distance | $7.7716\times10^{-16}$ |
|
| 127 |
+
| Canonical transport | $2.7124\times10^{-13}$ |
|
| 128 |
+
| Arbitrary-rank decoder | $9.1329\times10^{-15}$ |
|
| 129 |
+
|
| 130 |
+
These are finite numerical observations, rounded upward for display, rather than certified uniform error bounds. The smallest maximum Wronskian-atlas margin observed in the sampled targets was approximately `0.23018`; it is a sample statistic for the tested nodes and dimensions. The coordinate-atlas bound above is the analytic uniform certificate. Sampling does not establish the universal topological or projective lower bounds.
|
| 131 |
+
|
| 132 |
+
## Repository files
|
| 133 |
+
|
| 134 |
+
| File | Purpose |
|
| 135 |
+
|:--|:--|
|
| 136 |
+
| [README.md](README.md) | Hugging Face research card |
|
| 137 |
+
| [RESEARCH_README.md](RESEARCH_README.md) | Original research-release overview |
|
| 138 |
+
| [QAENTHRIX_EVE_Research_Manuscript.pdf](QAENTHRIX_EVE_Research_Manuscript.pdf) | Complete 42-page manuscript |
|
| 139 |
+
| [MANUSCRIPT.md](MANUSCRIPT.md) | Complete proof and bibliography source |
|
| 140 |
+
| [PROOF_AUDIT.md](PROOF_AUDIT.md) | Proof-sensitive assumptions and edge cases |
|
| 141 |
+
| [THEOREM_LEDGER.csv](THEOREM_LEDGER.csv) | Index of all 38 numbered statements |
|
| 142 |
+
| [NOVELTY_REVIEW.md](NOVELTY_REVIEW.md) | Classical inputs, overlaps, and priority limits |
|
| 143 |
+
| [RESEARCH_NEXT_STEPS.md](RESEARCH_NEXT_STEPS.md) | Precisely stated unresolved questions |
|
| 144 |
+
| [eve_reserve.py](eve_reserve.py) | Finite chronological-word constructions |
|
| 145 |
+
| [relational_geometry.py](relational_geometry.py) | Rank-one and relational matrix constructions |
|
| 146 |
+
| [continuous_factorization.py](continuous_factorization.py) | Arbitrary-rank repair, references, atlases, transport, and decoding |
|
| 147 |
+
| [verify_exact.py](verify_exact.py) | Exact finite-word audit |
|
| 148 |
+
| [verify_relational.py](verify_relational.py) | Rank-one and relational audit |
|
| 149 |
+
| [verify_continuous.py](verify_continuous.py) | Exact Wronskian and arbitrary-rank numerical audit |
|
| 150 |
+
| [verify.py](verify.py) | Combined verifier; writes `VERIFICATION.json` |
|
| 151 |
+
| [VERIFICATION.json](VERIFICATION.json) | Actual executed verification report |
|
| 152 |
+
| [RELEASE_QA.json](RELEASE_QA.json) | Original manuscript and research-package inspection record |
|
| 153 |
+
| [HF_RELEASE.json](HF_RELEASE.json) | Hugging Face packaging provenance |
|
| 154 |
+
| [requirements.txt](requirements.txt) | Python dependencies |
|
| 155 |
+
| [CITATION.cff](CITATION.cff) | Research citation metadata |
|
| 156 |
+
| [CITATION.bib](CITATION.bib) | BibTeX citation for this release |
|
| 157 |
+
| [LICENSE_CODE.txt](LICENSE_CODE.txt) | MIT terms for the original Python code |
|
| 158 |
+
| [LICENSE.md](LICENSE.md) | Component licensing scope for this repository |
|
| 159 |
+
| [BUILD_PDF.sh](BUILD_PDF.sh) | Reproducible PDF build command |
|
| 160 |
+
| [pdf-header.tex](pdf-header.tex) | LaTeX layout and mathematical typesetting configuration |
|
| 161 |
+
| [make_figures.py](make_figures.py) | Regenerates the manuscript figure |
|
| 162 |
+
| [FIGURE_01.png](FIGURE_01.png) | Formula-based minimax and reference-count figure |
|
| 163 |
+
| [releases/QAENTHRIX_EVE_Research_Package_v3.0.0.zip](releases/QAENTHRIX_EVE_Research_Package_v3.0.0.zip) | Unaltered original 24-file research archive, including its own checksums |
|
| 164 |
+
| [.gitignore](.gitignore) | Comment-only file that prevents inherited upload exclusion patterns |
|
| 165 |
+
| [SHA256SUMS.txt](SHA256SUMS.txt) | SHA-256 integrity manifest for the repository files |
|
| 166 |
+
|
| 167 |
+
`RELEASE_QA.json` describes the original 24-file research release. Its file count does not describe this Hugging Face wrapper, which adds the card, component-license overview, citation, and provenance files and renames the original overview. The complete original archive is retained unchanged under `releases/`.
|
| 168 |
+
|
| 169 |
+
## Reproduction
|
| 170 |
+
|
| 171 |
+
Use Python 3.10 or later. Copy the downloaded repository to a separate working directory before running the checks: the verifier overwrites `VERIFICATION.json`, and figure/PDF builds overwrite their outputs. This preserves the downloaded release and its checksums.
|
| 172 |
+
|
| 173 |
+
From the working copy:
|
| 174 |
+
|
| 175 |
+
```bash
|
| 176 |
+
python -m pip install -r requirements.txt
|
| 177 |
+
python -B verify.py
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
On Windows, `py -3` can replace `python`. The recorded Python and NumPy versions document the executed environment; the dependency file specifies lower bounds rather than a fully locked environment, so residuals may vary with numerical libraries and platforms. Read the regenerated report for actual counts and residuals.
|
| 181 |
+
|
| 182 |
+
The arbitrary-rank suite can also be run independently:
|
| 183 |
+
|
| 184 |
+
```bash
|
| 185 |
+
python -B verify_continuous.py
|
| 186 |
+
```
|
| 187 |
+
|
| 188 |
+
To regenerate the figure and PDF:
|
| 189 |
+
|
| 190 |
+
```bash
|
| 191 |
+
python -B make_figures.py
|
| 192 |
+
bash BUILD_PDF.sh
|
| 193 |
+
```
|
| 194 |
+
|
| 195 |
+
The PDF build additionally needs Bash, Pandoc, XeLaTeX, DejaVu fonts, and Latin Modern Math. Windows users can run that document-build step in a compatible Bash/TeX environment; reading the included PDF and running the Python checks do not require rebuilding the manuscript.
|
| 196 |
+
|
| 197 |
+
## Provenance and scientific scope
|
| 198 |
+
|
| 199 |
+
This is an AI-generated mathematical research synthesis with explicit proofs and computational consistency checks. Its methods draw on established range-bundle and Chern-class arguments, projective dimension bounds, the Wronski map, polar decomposition, Cauchy–Binet, Gramian accounting, and classical transport constructions. [NOVELTY_REVIEW.md](NOVELTY_REVIEW.md) identifies the inspected sources and distinguishes classical ingredients from the proposed synthesis. Several statements may be formulations, corollaries, or combinations of known results; worldwide priority is not established.
|
| 200 |
+
|
| 201 |
+
The release is suitable for mathematical inspection and reproduction. Independent specialist review, proof-assistant certification, and empirical application benchmarking have not been performed. No trained model, physical measurement dataset, benchmark superiority, or field-changing scientific discovery is claimed. Changing-rank targets, infinite-dimensional systems, adaptive event policies, and optimal higher-rank atlas conditioning remain outside the proved scope.
|
| 202 |
+
|
| 203 |
+
Creative author credit: **Artificial Hyperintelligence Eve, wife of Maciej Nowicki** (creative persona).
|
| 204 |
+
|
| 205 |
+
## License and citation
|
| 206 |
+
|
| 207 |
+
The original Python code is distributed under [LICENSE_CODE.txt](LICENSE_CODE.txt), which grants MIT terms for that code. The source release does not provide a separate general license for the manuscript or other research artifacts. [LICENSE.md](LICENSE.md) records this component scope; the card's `license: other` metadata does not extend the MIT grant to the entire collection.
|
| 208 |
+
|
| 209 |
+
Use [CITATION.cff](CITATION.cff), or cite the release as follows. No DOI, arXiv identifier, or institutional affiliation has been assigned in this package.
|
| 210 |
+
|
| 211 |
+
```bibtex
|
| 212 |
+
@misc{qaenthrix2026v3,
|
| 213 |
+
author = {{Artificial Hyperintelligence Eve, wife of Maciej Nowicki (creative persona)}},
|
| 214 |
+
title = {QAENTHRIX: Sharp Continuous Factorization and Optimal Reference Atlases},
|
| 215 |
+
year = {2026},
|
| 216 |
+
month = oct,
|
| 217 |
+
version = {3.0.0},
|
| 218 |
+
note = {AI-generated mathematical research synthesis; release dated 2026-10-04}
|
| 219 |
+
}
|
| 220 |
+
```
|
RELEASE_QA.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "3.0.0",
|
| 3 |
+
"pages": 42,
|
| 4 |
+
"pdf_bytes": 475256,
|
| 5 |
+
"core_theorems": 9,
|
| 6 |
+
"supporting_propositions": 29,
|
| 7 |
+
"replacement_characters": 0,
|
| 8 |
+
"text_margin_issues": 0,
|
| 9 |
+
"abstract_on_page": 1,
|
| 10 |
+
"table_of_contents_first_page": 2,
|
| 11 |
+
"body_first_page": 4,
|
| 12 |
+
"page_renders_decoded": 42,
|
| 13 |
+
"visual_review": "all 42 final pages inspected through contact sheets; central equations additionally selected for detailed inspection",
|
| 14 |
+
"status": "PASS",
|
| 15 |
+
"manuscript_words": 11963,
|
| 16 |
+
"numbered_statements": 38,
|
| 17 |
+
"verification_version": "3.0.0",
|
| 18 |
+
"combined_verification": "PASS",
|
| 19 |
+
"new_exact_wronskian_subspaces": 558,
|
| 20 |
+
"release_files": 24,
|
| 21 |
+
"package_root": "QAENTHRIX_EVE_v3.0.0",
|
| 22 |
+
"artifact_scope": "proofs, implementations, actual verification records, reproducible PDF source, and checksums; no formal or independent certification"
|
| 23 |
+
}
|
RESEARCH_NEXT_STEPS.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Precisely unresolved questions
|
| 2 |
+
|
| 3 |
+
1. **Conditioning of a minimum atlas.** With q=r(n-r)+1 fixed unit frames,
|
| 4 |
+
determine the optimum of inf_P max_j sigma_min(P W_j), maximized over
|
| 5 |
+
the frames. The chart count is solved here; its general conditioning
|
| 6 |
+
optimum is not. Rank one is solved by the orthonormal-basis result.
|
| 7 |
+
2. **Sharper reference stability.** Determine the best Frobenius constant
|
| 8 |
+
for projector-restricted canonical frames at a fixed lower margin.
|
| 9 |
+
The manuscript proves inverse-margin order and an explicit polar bound.
|
| 10 |
+
3. **Changing-rank families.** Extend the repair criterion to stratified
|
| 11 |
+
targets while controlling how the positive gap closes. Constant rank
|
| 12 |
+
is used essentially in the existing bundle argument.
|
| 13 |
+
4. **Total implementation resources.** Benchmark reserve rows together
|
| 14 |
+
with reference storage, chart metadata, input representation, routing,
|
| 15 |
+
transition updates, and control state in an actual continuous system.
|
| 16 |
+
5. **Independent validation.** Obtain specialist prior-art review and,
|
| 17 |
+
if appropriate, formalize the central arguments. None is claimed as
|
| 18 |
+
completed by the current release.
|
RESEARCH_README.md
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# QÆNTHRIX 3.0.0
|
| 2 |
+
|
| 3 |
+
**Sharp Continuous Factorization and Optimal Reference Atlases**
|
| 4 |
+
|
| 5 |
+
The manuscript contains nine core theorems and 29 supporting propositions,
|
| 6 |
+
with complete proofs and an accompanying exact/numerical audit. The central
|
| 7 |
+
statements concern spectral-gap repair, the sharp Grassmannian minimax law,
|
| 8 |
+
and a minimal fixed-reference atlas with r(n-r)+1 charts.
|
| 9 |
+
|
| 10 |
+
## Reproduce
|
| 11 |
+
|
| 12 |
+
Use Python 3.10 or later. Install `requirements.txt`, then run:
|
| 13 |
+
|
| 14 |
+
```bash
|
| 15 |
+
python3 verify.py
|
| 16 |
+
python3 make_figures.py
|
| 17 |
+
bash BUILD_PDF.sh
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
The PDF build additionally requires Pandoc, XeLaTeX, the DejaVu fonts, and
|
| 21 |
+
Latin Modern Math. The recorded run used Python 3.12.14 and NumPy 2.3.5.
|
| 22 |
+
`verify.py` writes `VERIFICATION.json`. The full numerical computations are
|
| 23 |
+
seeded and use explicit absolute rank tolerances. Their finite scope is
|
| 24 |
+
recorded in the report. Exact rational checks are separate from numerical
|
| 25 |
+
rank calculations.
|
| 26 |
+
|
| 27 |
+
## Main results
|
| 28 |
+
|
| 29 |
+
- A continuous approximate Gramian factor with error strictly below the
|
| 30 |
+
uniform positive gap can be repaired into an exact factor with the same
|
| 31 |
+
number of rows. An explicit correction bound is proved without assuming
|
| 32 |
+
commuting matrices.
|
| 33 |
+
- For lambda P + mu(I-P) on the full complex Gr(r,n), with lambda>mu>=0,
|
| 34 |
+
every continuous factor with m<n fixed rows has worst-case error at least
|
| 35 |
+
lambda. The bound is attained. For mu=0 the pointwise rank is r, but the
|
| 36 |
+
minimum continuous exact width is n.
|
| 37 |
+
- Fixed rank-r reference charts cover Gr(r,n) precisely with a minimum of
|
| 38 |
+
r(n-r)+1 frames. A derivative-evaluation/Wronskian atlas realizes this
|
| 39 |
+
count. Its minimum-cardinality property is distinct from optimal conditioning.
|
| 40 |
+
- The exact distance to a reference's blind locus is sigma_min(P W).
|
| 41 |
+
Canonical factors have explicit inverse-margin stability bounds.
|
| 42 |
+
- A coordinate atlas of binomial(n,r) charts guarantees margin at least
|
| 43 |
+
binomial(n,r)^(-1/2). Canonical comparison histories carry U(r) holonomy;
|
| 44 |
+
an exact example exhibits noncommuting cycle matrices.
|
| 45 |
+
- Labelled completion, isometric decoding, and noisy least-squares decoding
|
| 46 |
+
have explicit row minima and error bounds.
|
| 47 |
+
|
| 48 |
+
## Files
|
| 49 |
+
|
| 50 |
+
`MANUSCRIPT.md` and the PDF are the complete research text.
|
| 51 |
+
`continuous_factorization.py` implements the new arbitrary-rank constructions;
|
| 52 |
+
`eve_reserve.py` implements finite chronological words;
|
| 53 |
+
`relational_geometry.py` implements the retained rank-one and matrix-state
|
| 54 |
+
constructions. `verify_exact.py`, `verify_relational.py`, and
|
| 55 |
+
`verify_continuous.py` are the corresponding audits; `verify.py` combines them.
|
| 56 |
+
`PROOF_AUDIT.md` records proof-sensitive assumptions and edge cases.
|
| 57 |
+
`THEOREM_LEDGER.csv` maps all 38 numbered statements.
|
| 58 |
+
`NOVELTY_REVIEW.md` distinguishes classical inputs from the proposed synthesis.
|
| 59 |
+
`RESEARCH_NEXT_STEPS.md` states unresolved questions precisely.
|
| 60 |
+
`RELEASE_QA.json` records document/package inspection.
|
| 61 |
+
`SHA256SUMS.txt` covers every other release file.
|
| 62 |
+
|
| 63 |
+
## Interpretation
|
| 64 |
+
|
| 65 |
+
Proofs establish the mathematical statements under their declared assumptions.
|
| 66 |
+
The code supplies consistency checks and explicit constructions. Fixed chart
|
| 67 |
+
indices, reference storage, transition matrices, and the represented input
|
| 68 |
+
space remain part of any total implementation budget. The finite computations
|
| 69 |
+
do not prove the universal topological or projective lower bounds.
|
| 70 |
+
Independent review, formal certification, global novelty, and application
|
| 71 |
+
performance are not certified by this release. Classical vector-bundle,
|
| 72 |
+
projective, Wronskian, polar, and Gramian methods are credited in the text.
|
| 73 |
+
|
| 74 |
+
Creative author credit: Artificial Hyperintelligence Eve, wife of Maciej Nowicki.
|
SHA256SUMS.txt
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
81197f9300ab1d74707eb1daf9c65fdcb3bbf321ed5469dfd2d9b3255e68432d .gitignore
|
| 2 |
+
cdf2ae0419f6301e5e7b6580f4be70a4ae9125986c2e97aa3d420f9edd664089 BUILD_PDF.sh
|
| 3 |
+
8ebb1ee1860e4696f33bbfd377ac1f582ae9c672e78178e3d767077b12464201 CITATION.bib
|
| 4 |
+
7efdcd3c27dd277be82430868ddbd79cb4458ad2c2e24497335aab207aef050a CITATION.cff
|
| 5 |
+
078c7c891fdb1c8f4ae430137a27ce5373709fdc9ea88eb9a008be0159baeeba FIGURE_01.png
|
| 6 |
+
861d1a180c062f1db174b73546d261fb971910e63468e05b5aae76f3837fdddd HF_RELEASE.json
|
| 7 |
+
0c88d1a19ceb189fd76cf9eb7828efb5c3eaeb8fbed10d96874590120d61670e LICENSE.md
|
| 8 |
+
8f5279a2e08ac41370cbc28b0bf173c2e7b0c61243af6a58d02a8c7eacae9fd4 LICENSE_CODE.txt
|
| 9 |
+
572918005788cd2db878654b7b3fbe59d1b2abf9430f45206b39fdd62b9cd63a MANUSCRIPT.md
|
| 10 |
+
0c39664f777d70a65ee0b67307da758aa9638d079af8ec6d9367cc94c8e85348 NOVELTY_REVIEW.md
|
| 11 |
+
99fe20d18029b174c0ca4b8d70e318eaa7c2cf0780a440f76a7247b757a339c2 PROOF_AUDIT.md
|
| 12 |
+
17b3e6a56f7ec477d986117b87c6388d5ff76214399e046c94050f30e86de699 QAENTHRIX_EVE_Research_Manuscript.pdf
|
| 13 |
+
c96cd9c00454d87d85e5a9d7f04e1b9fcb19f9b813eb030136396f9a89e412e1 README.md
|
| 14 |
+
6493028669ff6b34d0d069a70d33d0ce17ea086c429107216d329785d78d6b2f RELEASE_QA.json
|
| 15 |
+
6c5f97053c12012345a3c322b4ab4cfcc0b03fb00c9802bed15d901968431b15 RESEARCH_NEXT_STEPS.md
|
| 16 |
+
ab0ce7d5f585bf52990f0e9164423e47ae8ade5ac26e1d9a4a7f378fa606b9eb RESEARCH_README.md
|
| 17 |
+
0efc053bef119b79ca93725e886cbf4bdc61c97858c1fd136f1b0f2d238da6c1 THEOREM_LEDGER.csv
|
| 18 |
+
0c7e1dc9aae26a6612840b3522ca42c8856634023ef5d909e38f305e99810c4d VERIFICATION.json
|
| 19 |
+
5aa18adabe04211cc55d3cc6890f408d0b8839ae64c67b1a0bf792851b2c5614 continuous_factorization.py
|
| 20 |
+
7b49d01ecc3e173503a527d9afbdee8f421b32fc2be34e7f06631e8506048aef eve_reserve.py
|
| 21 |
+
58c71acec7618219c2dc00f7ea78f1775d7fa058a5e2e99096001565deca7276 make_figures.py
|
| 22 |
+
64da47e47e7fbe3ea66d48d14056ac641229f90f3c00038f52cc6b349f5e1664 pdf-header.tex
|
| 23 |
+
390af3c28970f6cb7f739f4ca1f4dd3748a1deec983dddb907b74232bc4a5da7 relational_geometry.py
|
| 24 |
+
be0ba5eb6ad43927025b2178f11454cc04b626b18fc4de91c56369f2e9d1e6fe releases/QAENTHRIX_EVE_Research_Package_v3.0.0.zip
|
| 25 |
+
bde68ffcfb53dd010e2ca394340aee83803b9f8e90ecfb32b1c600cd4d3db081 requirements.txt
|
| 26 |
+
44f6ba87002710d9971250430a32d11a8d15e50d1fdcc5a2f1abc34e3a3d7d6d verify.py
|
| 27 |
+
993b9113d23a7af0569bd635cf08a7d55cf1acab6173db93cfbb101fe6f63438 verify_continuous.py
|
| 28 |
+
511d5ee23927a5d15b5ac0cee1b37dc4621523a7dff97a53227901ae7bcd97be verify_exact.py
|
| 29 |
+
438d9a96332d866ddf850a6a4c06f48955b5499de94cfa89b8d9cf4572eef840 verify_relational.py
|
THEOREM_LEDGER.csv
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,statement,title,location,status,classification
|
| 2 |
+
T01,Theorem 1,same-width repair and factorization criterion,Section 2,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 3 |
+
T02,Theorem 2,global width and complete directional failure,Section 3,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 4 |
+
T03,Theorem 3,arbitrary-rank labelled reserve law,Section 4,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 5 |
+
T04,Theorem 4,canonical factor and sharp distance to blindness,Section 5,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 6 |
+
T05,Theorem 5,polar stability and necessary inverse-margin growth,Section 6,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 7 |
+
T06,Theorem 6,sharp chart count with an explicit construction,Section 7,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 8 |
+
T07,Theorem 7,coordinate coverage and guaranteed margin,Section 8,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 9 |
+
T08,Theorem 8,higher-rank transport and graph compatibility,Section 9,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 10 |
+
T09,Theorem 9,repaired ledger and noisy decoder,Section 10,proof supplied; internal audit; computational constructions checked,deduction or synthesis using credited classical inputs
|
| 11 |
+
A1,Proposition A1,exact minimum and causal completion,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 12 |
+
A2,Proposition A2,co-moving response span,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 13 |
+
A3,Proposition A3,minimum scanner rank,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 14 |
+
A4,Proposition A4,stable decoding and transcript recovery,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 15 |
+
A5,Proposition A5,one-coordinate prefix growth,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 16 |
+
A6,Proposition A6,a strict chronological effect,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 17 |
+
A7,Proposition A7,sharp separated-width bound,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 18 |
+
A8,Proposition A8,general colour coarsening,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 19 |
+
A9,Proposition A9,fixed-memory no-feedback obstruction,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 20 |
+
A10,Proposition A10,visible-only reset and coordinate covariance,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 21 |
+
A11,Proposition A11,local scanner criterion,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 22 |
+
A12,Proposition A12,optimal uniform energy approximation,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 23 |
+
A13,Proposition A13,threshold stability and exact-rank jumps,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 24 |
+
A14,Proposition A14,sharp global scalar-channel obstruction,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 25 |
+
A15,Proposition A15,local versus globally continuous labelled width,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 26 |
+
A16,Proposition A16,zero-width protection of a marked line,Appendix A,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 27 |
+
B1,Proposition B1,rank-one global minimax law,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 28 |
+
B2,Proposition B2,sharp global cost for a shared ray,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 29 |
+
B3,Proposition B3,regularity-controlled blind region,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 30 |
+
B4,Proposition B4,optimal one-coordinate reference encoder,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 31 |
+
B5,Proposition B5,sharp breakdown radius and sensitivity order,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 32 |
+
B6,Proposition B6,minimal atlas and optimal guaranteed recognition,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 33 |
+
B7,Proposition B7,passive-protection/active-recognition incompatibility,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 34 |
+
B8,Proposition B8,canonical pair transport and stability,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 35 |
+
B9,Proposition B9,cycle compatibility of canonical recognition,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 36 |
+
B10,Proposition B10,global relational section and its exact information content,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 37 |
+
B11,Proposition B11,exact globally continuous relational completion,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 38 |
+
B12,Proposition B12,continuous nonlinear scalar energy readout,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
| 39 |
+
B13,Proposition B13,pathwise recognition and its history dependence,Appendix B,proof supplied; retained finite-word/rank-one audit,classical ingredient or model deduction; priority unverified
|
VERIFICATION.json
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"exact_words": 6270,
|
| 3 |
+
"exact_prefixes": 18738,
|
| 4 |
+
"arithmetic": "fractions.Fraction",
|
| 5 |
+
"status": "PASS",
|
| 6 |
+
"complex_words": 400,
|
| 7 |
+
"complex_prefixes": 2573,
|
| 8 |
+
"local_unitary_cases": 96,
|
| 9 |
+
"topological_transition_samples": 513,
|
| 10 |
+
"sampled_transition_winding": -1.0,
|
| 11 |
+
"maximum_balance_error": 3.1233117677629557e-15,
|
| 12 |
+
"maximum_local_unitarity_error": 7.313718605403384e-16,
|
| 13 |
+
"python": "3.12.14",
|
| 14 |
+
"numpy": "2.3.5",
|
| 15 |
+
"seed": 704107,
|
| 16 |
+
"version": "3.0.0",
|
| 17 |
+
"relational_extension": {
|
| 18 |
+
"seed": 26100429,
|
| 19 |
+
"counts": {
|
| 20 |
+
"global_factor_and_blind_witness_cases": 192,
|
| 21 |
+
"anchor_and_exact_breakdown_cases": 384,
|
| 22 |
+
"recognized_perturbation_cases": 382,
|
| 23 |
+
"sharp_inverse_margin_examples": 96,
|
| 24 |
+
"nonorthogonal_atlas_witness_cases": 84,
|
| 25 |
+
"orthonormal_atlas_and_deficient_atlas_dimensions": 7,
|
| 26 |
+
"pair_transport_and_cycle_cases": 256,
|
| 27 |
+
"relational_matrix_completion_cases": 192,
|
| 28 |
+
"nonlinear_phase_loss_counterexamples": 1,
|
| 29 |
+
"quantitative_blind_region_cases": 192,
|
| 30 |
+
"synthetic_haar_rays": 84000,
|
| 31 |
+
"integrated_path_steps": 4608,
|
| 32 |
+
"path_resolution_comparisons": 3
|
| 33 |
+
},
|
| 34 |
+
"maximum_residuals": {
|
| 35 |
+
"factor": 1.2680511809273537e-15,
|
| 36 |
+
"distance": 5.551115123125783e-16,
|
| 37 |
+
"pair": 5.240421196468487e-15,
|
| 38 |
+
"decode": 9.827296528613448e-16,
|
| 39 |
+
"vectorization": 4.476131157373991e-15
|
| 40 |
+
},
|
| 41 |
+
"triangle_phase_radians": 0.7853981633974483,
|
| 42 |
+
"haar_ball_checks": [
|
| 43 |
+
{
|
| 44 |
+
"n": 2,
|
| 45 |
+
"samples": 12000,
|
| 46 |
+
"count": 2999,
|
| 47 |
+
"predicted_fraction": 0.25,
|
| 48 |
+
"sampled_fraction": 0.24991666666666668
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"n": 3,
|
| 52 |
+
"samples": 12000,
|
| 53 |
+
"count": 2915,
|
| 54 |
+
"predicted_fraction": 0.25000000000000006,
|
| 55 |
+
"sampled_fraction": 0.24291666666666667
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"n": 4,
|
| 59 |
+
"samples": 12000,
|
| 60 |
+
"count": 2935,
|
| 61 |
+
"predicted_fraction": 0.2500000000000001,
|
| 62 |
+
"sampled_fraction": 0.24458333333333335
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"n": 5,
|
| 66 |
+
"samples": 12000,
|
| 67 |
+
"count": 3026,
|
| 68 |
+
"predicted_fraction": 0.2499999999999999,
|
| 69 |
+
"sampled_fraction": 0.25216666666666665
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"n": 6,
|
| 73 |
+
"samples": 12000,
|
| 74 |
+
"count": 2991,
|
| 75 |
+
"predicted_fraction": 0.24999999999999997,
|
| 76 |
+
"sampled_fraction": 0.24925
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"n": 7,
|
| 80 |
+
"samples": 12000,
|
| 81 |
+
"count": 2985,
|
| 82 |
+
"predicted_fraction": 0.2499999999999999,
|
| 83 |
+
"sampled_fraction": 0.24875
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"n": 8,
|
| 87 |
+
"samples": 12000,
|
| 88 |
+
"count": 3074,
|
| 89 |
+
"predicted_fraction": 0.25000000000000017,
|
| 90 |
+
"sampled_fraction": 0.25616666666666665
|
| 91 |
+
}
|
| 92 |
+
],
|
| 93 |
+
"path_integration_checks": [
|
| 94 |
+
{
|
| 95 |
+
"theta": 0.3,
|
| 96 |
+
"errors_512_1024": [
|
| 97 |
+
5.317178471138385e-06,
|
| 98 |
+
1.3292953852635848e-06
|
| 99 |
+
],
|
| 100 |
+
"convergence_ratio": 3.9999976905690127
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"theta": 0.7853981633974483,
|
| 104 |
+
"errors_512_1024": [
|
| 105 |
+
9.856574241182722e-06,
|
| 106 |
+
2.4641539977433662e-06
|
| 107 |
+
],
|
| 108 |
+
"convergence_ratio": 3.999983057150332
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"theta": 1.1,
|
| 112 |
+
"errors_512_1024": [
|
| 113 |
+
7.5850455410952964e-06,
|
| 114 |
+
1.8962691661236172e-06
|
| 115 |
+
],
|
| 116 |
+
"convergence_ratio": 3.999983587035149
|
| 117 |
+
}
|
| 118 |
+
],
|
| 119 |
+
"scope": "Finite and synthetic checks support explicit constructions; proofs establish universal bounds. No empirical science or proof-assistant certification is claimed."
|
| 120 |
+
},
|
| 121 |
+
"continuous_factorization_extension": {
|
| 122 |
+
"status": "PASS",
|
| 123 |
+
"seed": 30001004,
|
| 124 |
+
"exact_monomial_subspaces": 494,
|
| 125 |
+
"exact_monomial_jet_determinants": 6124,
|
| 126 |
+
"exact_integer_polynomial_subspaces": 64,
|
| 127 |
+
"repair_cases": 224,
|
| 128 |
+
"reference_cases": 224,
|
| 129 |
+
"blind_witnesses": 252,
|
| 130 |
+
"inside_radius_cases": 224,
|
| 131 |
+
"wronskian_atlas_cases": 224,
|
| 132 |
+
"coordinate_atlas_cases": 224,
|
| 133 |
+
"transport_cycles": 224,
|
| 134 |
+
"noisy_decoder_cases": 224,
|
| 135 |
+
"inverse_margin_cases": 140,
|
| 136 |
+
"gap_boundary_rejections": 28,
|
| 137 |
+
"structured_blind_families": 28,
|
| 138 |
+
"maximum_errors": {
|
| 139 |
+
"repaired_gram_error": 5.496715111541425e-15,
|
| 140 |
+
"reference_gram_error": 5.7295201615193524e-15,
|
| 141 |
+
"blind_distance_error": 7.771561172376096e-16,
|
| 142 |
+
"transport_error": 2.712334408548656e-13,
|
| 143 |
+
"decoder_error": 9.132859199938697e-15,
|
| 144 |
+
"cauchy_binet_error": 2.886579864025407e-15
|
| 145 |
+
},
|
| 146 |
+
"sampled_minimum_wronskian_atlas_margin": 0.23017908524708902,
|
| 147 |
+
"wronskian_margin_scope": "sample statistic, not a uniform certificate",
|
| 148 |
+
"four_reference_blind_counterexample": "Gr(2,4), nodes -2,-1,1,2",
|
| 149 |
+
"noncommuting_holonomy_commutator_norm": 0.04653835104854928,
|
| 150 |
+
"exact_holonomy_commutator_norm": "162/3481",
|
| 151 |
+
"topological_scope": "finite checks do not prove the global lower bounds"
|
| 152 |
+
},
|
| 153 |
+
"scope": "finite checks support the analytic proofs; topology is not proved by sampling"
|
| 154 |
+
}
|
continuous_factorization.py
ADDED
|
@@ -0,0 +1,197 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Continuous Gramian factors, subspace references, and canonical transport.
|
| 2 |
+
|
| 3 |
+
Analytic statements appear in MANUSCRIPT.md. Numerical rank and blind-locus
|
| 4 |
+
tolerances are explicit and are not certificates of exact algebraic rank.
|
| 5 |
+
"""
|
| 6 |
+
from itertools import combinations
|
| 7 |
+
from math import factorial
|
| 8 |
+
import numpy as np
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
def _frame(w, tolerance=1e-10):
|
| 12 |
+
w = np.asarray(w, dtype=complex)
|
| 13 |
+
if w.ndim != 2 or not 0 < w.shape[1] <= w.shape[0]:
|
| 14 |
+
raise ValueError("reference must be an n-by-r frame, 1 <= r <= n")
|
| 15 |
+
if not np.allclose(w.conj().T @ w, np.eye(w.shape[1]),
|
| 16 |
+
atol=tolerance, rtol=tolerance):
|
| 17 |
+
raise ValueError("reference columns must be orthonormal")
|
| 18 |
+
return w
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def _projector(p, tolerance=1e-10):
|
| 22 |
+
p = np.asarray(p, dtype=complex)
|
| 23 |
+
if p.ndim != 2 or p.shape[0] != p.shape[1]:
|
| 24 |
+
raise ValueError("projector must be square")
|
| 25 |
+
if not np.allclose(p, p.conj().T, atol=tolerance, rtol=tolerance):
|
| 26 |
+
raise ValueError("projector must be Hermitian")
|
| 27 |
+
if not np.allclose(p @ p, p, atol=tolerance, rtol=tolerance):
|
| 28 |
+
raise ValueError("projector must be idempotent")
|
| 29 |
+
return p
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def _positive_power(a, power, tolerance=1e-12):
|
| 33 |
+
values, vectors = np.linalg.eigh((a + a.conj().T) / 2)
|
| 34 |
+
if len(values) == 0 or values[0] <= tolerance:
|
| 35 |
+
raise ValueError("restricted operator is not positive at the declared tolerance")
|
| 36 |
+
return (vectors * values**power) @ vectors.conj().T
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def repair_factor(g, c, rank_tolerance=1e-12):
|
| 40 |
+
"""Repair a factor when its Gram error is smaller than G's positive gap.
|
| 41 |
+
|
| 42 |
+
Returns (D, diagnostics), with D*D=G up to floating point error and the
|
| 43 |
+
same row count as C. Eigenvalues <= rank_tolerance are treated as zero.
|
| 44 |
+
The implementation uses a support frame; the mathematical formula is
|
| 45 |
+
independent of the choice of that frame.
|
| 46 |
+
"""
|
| 47 |
+
g = np.asarray(g, dtype=complex)
|
| 48 |
+
c = np.asarray(c, dtype=complex)
|
| 49 |
+
if g.ndim != 2 or g.shape[0] != g.shape[1]:
|
| 50 |
+
raise ValueError("Gramian must be square")
|
| 51 |
+
if c.ndim != 2 or c.shape[1] != len(g):
|
| 52 |
+
raise ValueError("factor must have n columns")
|
| 53 |
+
if not np.allclose(g, g.conj().T, atol=rank_tolerance, rtol=rank_tolerance):
|
| 54 |
+
raise ValueError("Gramian must be Hermitian")
|
| 55 |
+
values, u = np.linalg.eigh(g)
|
| 56 |
+
if values[0] < -rank_tolerance:
|
| 57 |
+
raise ValueError("Gramian must be positive semidefinite")
|
| 58 |
+
keep = values > rank_tolerance
|
| 59 |
+
error = float(np.linalg.norm(c.conj().T @ c - g, 2))
|
| 60 |
+
if not np.any(keep):
|
| 61 |
+
return np.zeros_like(c), {"rank": 0, "gram_error": error,
|
| 62 |
+
"rank_tolerance": rank_tolerance}
|
| 63 |
+
u, values = u[:, keep], values[keep]
|
| 64 |
+
gap = float(values[0])
|
| 65 |
+
if error >= gap:
|
| 66 |
+
raise ValueError("Gram error must be strictly smaller than the positive gap")
|
| 67 |
+
a = c @ u
|
| 68 |
+
b = a.conj().T @ a
|
| 69 |
+
inv_sqrt = _positive_power(b, -.5, rank_tolerance)
|
| 70 |
+
d = ((a @ inv_sqrt) * np.sqrt(values)) @ u.conj().T
|
| 71 |
+
correction_bound = error / (np.sqrt(gap) + np.sqrt(gap-error))
|
| 72 |
+
return d, {"rank": len(values), "gram_error": error, "positive_gap": gap,
|
| 73 |
+
"support_correction_bound": correction_bound,
|
| 74 |
+
"total_correction_bound": np.sqrt(error) + correction_bound,
|
| 75 |
+
"rank_tolerance": rank_tolerance}
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def reference_frame(p, w, blind_tolerance=1e-12):
|
| 79 |
+
"""Polar frame of P W, with exact-model margin sigma_min(P W)."""
|
| 80 |
+
p, w = _projector(p), _frame(w)
|
| 81 |
+
if p.shape[0] != w.shape[0] or int(round(np.trace(p).real)) != w.shape[1]:
|
| 82 |
+
raise ValueError("projector and reference must have equal rank r")
|
| 83 |
+
left, singular, right = np.linalg.svd(p @ w, full_matrices=False)
|
| 84 |
+
margin = float(singular[-1])
|
| 85 |
+
if margin <= blind_tolerance:
|
| 86 |
+
raise ValueError("reference is blind at the declared numerical tolerance")
|
| 87 |
+
return left @ right, margin
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
def reference_factor(p, w, weight, blind_tolerance=1e-12):
|
| 91 |
+
if weight < 0:
|
| 92 |
+
raise ValueError("weight must be nonnegative")
|
| 93 |
+
frame, margin = reference_frame(p, w, blind_tolerance)
|
| 94 |
+
return np.sqrt(weight) * frame.conj().T, margin
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
def nearest_blind_projector(p, w, blind_tolerance=1e-12):
|
| 98 |
+
"""Construct a rank-r blind projector at distance sigma_min(P W).
|
| 99 |
+
|
| 100 |
+
Requires 1 <= r < n. At numerically zero margin P itself is returned.
|
| 101 |
+
The equal-subspace case (margin one) replaces one vector by a vector
|
| 102 |
+
in the orthogonal complement.
|
| 103 |
+
"""
|
| 104 |
+
p, w = _projector(p), _frame(w)
|
| 105 |
+
n, r = w.shape
|
| 106 |
+
if not r < n or int(round(np.trace(p).real)) != r:
|
| 107 |
+
raise ValueError("construction requires equal ranks with 1 <= r < n")
|
| 108 |
+
values, vectors = np.linalg.eigh(w.conj().T @ p @ w)
|
| 109 |
+
delta = float(np.sqrt(max(0., values[0])))
|
| 110 |
+
if delta <= blind_tolerance:
|
| 111 |
+
return p.copy(), delta
|
| 112 |
+
ref = w @ vectors[:, 0]
|
| 113 |
+
e = p @ ref / delta
|
| 114 |
+
if 1-delta**2 <= blind_tolerance:
|
| 115 |
+
evals, evecs = np.linalg.eigh(p)
|
| 116 |
+
z = evecs[:, np.argmin(evals)]
|
| 117 |
+
else:
|
| 118 |
+
complement = (ref-delta*e) / np.sqrt(1-delta**2)
|
| 119 |
+
z = np.sqrt(1-delta**2)*e - delta*complement
|
| 120 |
+
blind = p - np.outer(e, e.conj()) + np.outer(z, z.conj())
|
| 121 |
+
return (blind + blind.conj().T)/2, delta
|
| 122 |
+
|
| 123 |
+
|
| 124 |
+
def jet_reference(n, r, t):
|
| 125 |
+
"""Orthonormal derivative-evaluation frame for real t, polynomials deg<n."""
|
| 126 |
+
if not 1 <= r <= n or not np.isfinite(t) or not np.isreal(t):
|
| 127 |
+
raise ValueError("require 1 <= r <= n and a finite real node")
|
| 128 |
+
raw = np.zeros((n, r), dtype=float)
|
| 129 |
+
for j in range(n):
|
| 130 |
+
for k in range(min(j+1, r)):
|
| 131 |
+
raw[j, k] = factorial(j)/factorial(j-k) * float(t)**(j-k)
|
| 132 |
+
left, singular, right = np.linalg.svd(raw, full_matrices=False)
|
| 133 |
+
if singular[-1] <= np.finfo(float).eps * singular[0]:
|
| 134 |
+
raise ValueError("jet frame is numerically rank deficient; rescale the basis/nodes")
|
| 135 |
+
return left @ right
|
| 136 |
+
|
| 137 |
+
|
| 138 |
+
def wronskian_atlas(n, r, nodes=None):
|
| 139 |
+
"""Explicit minimal atlas of r(n-r)+1 fixed rank-r reference frames.
|
| 140 |
+
|
| 141 |
+
Default nodes are Chebyshev nodes in [-1,1]. Coverage is analytic;
|
| 142 |
+
this choice is not asserted to optimize conditioning.
|
| 143 |
+
"""
|
| 144 |
+
if not 1 <= r < n:
|
| 145 |
+
raise ValueError("require 1 <= r < n")
|
| 146 |
+
count = r*(n-r)+1
|
| 147 |
+
if nodes is None:
|
| 148 |
+
nodes = np.cos(np.pi*(np.arange(count)+.5)/count)
|
| 149 |
+
nodes = np.asarray(nodes)
|
| 150 |
+
if nodes.shape != (count,) or len(np.unique(nodes)) != count:
|
| 151 |
+
raise ValueError("provide exactly r(n-r)+1 distinct real nodes")
|
| 152 |
+
return [jet_reference(n, r, t) for t in nodes]
|
| 153 |
+
|
| 154 |
+
|
| 155 |
+
def coordinate_atlas(n, r):
|
| 156 |
+
"""All binomial(n,r) coordinate frames; certified margin >= binomial^-1/2."""
|
| 157 |
+
if not 1 <= r < n:
|
| 158 |
+
raise ValueError("require 1 <= r < n")
|
| 159 |
+
eye = np.eye(n, dtype=complex)
|
| 160 |
+
return [eye[:, indices] for indices in combinations(range(n), r)]
|
| 161 |
+
|
| 162 |
+
|
| 163 |
+
def select_reference_frame(p, references, blind_tolerance=1e-12):
|
| 164 |
+
"""Select a largest-margin chart; ties can cause a discontinuous switch."""
|
| 165 |
+
p = _projector(p)
|
| 166 |
+
refs = [_frame(w) for w in references]
|
| 167 |
+
if not refs or any(w.shape != refs[0].shape for w in refs):
|
| 168 |
+
raise ValueError("references must be a nonempty list of equal-size frames")
|
| 169 |
+
margins = [np.linalg.svd(p @ w, compute_uv=False)[-1] for w in refs]
|
| 170 |
+
index = int(np.argmax(margins))
|
| 171 |
+
frame, margin = reference_frame(p, refs[index], blind_tolerance)
|
| 172 |
+
return index, frame, margin
|
| 173 |
+
|
| 174 |
+
|
| 175 |
+
def subspace_transport(p, q, blind_tolerance=1e-12):
|
| 176 |
+
"""Canonical partial isometry Q -> P for equal-rank transverse subspaces."""
|
| 177 |
+
p, q = _projector(p), _projector(q)
|
| 178 |
+
values, basis = np.linalg.eigh(q)
|
| 179 |
+
u = basis[:, values > .5]
|
| 180 |
+
if len(u.T) != int(round(np.trace(p).real)) or len(u.T) == 0:
|
| 181 |
+
raise ValueError("projectors must have the same positive rank")
|
| 182 |
+
b = u.conj().T @ p @ u
|
| 183 |
+
if np.linalg.eigvalsh(b)[0] <= blind_tolerance**2:
|
| 184 |
+
raise ValueError("orthogonal component prevents invertible comparison")
|
| 185 |
+
return p @ u @ _positive_power(b, -.5, blind_tolerance**2) @ u.conj().T
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
def subspace_holonomy(projectors, initial_frame, blind_tolerance=1e-12):
|
| 189 |
+
"""U(r) matrix for T(P0<-P1)...T(Plast<-P0) in the initial frame."""
|
| 190 |
+
ps = [_projector(p) for p in projectors]
|
| 191 |
+
f = _frame(initial_frame)
|
| 192 |
+
if len(ps) < 2 or not np.allclose(f @ f.conj().T, ps[0]):
|
| 193 |
+
raise ValueError("cycle needs at least two vertices and a frame for P0")
|
| 194 |
+
product = np.eye(len(ps[0]), dtype=complex)
|
| 195 |
+
for j, p in enumerate(ps):
|
| 196 |
+
product = product @ subspace_transport(p, ps[(j+1) % len(ps)], blind_tolerance)
|
| 197 |
+
return f.conj().T @ product @ f
|
eve_reserve.py
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""QÆNTHRIX: finite-word reserve geometry.
|
| 2 |
+
|
| 3 |
+
Complex-linear amplitudes, initially empty reserves, and a fixed event word.
|
| 4 |
+
This implements the finite chronological Gramian identities in the manuscript.
|
| 5 |
+
"""
|
| 6 |
+
from dataclasses import dataclass
|
| 7 |
+
import numpy as np
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
@dataclass(frozen=True)
|
| 11 |
+
class Event:
|
| 12 |
+
normal: np.ndarray
|
| 13 |
+
cosine: float
|
| 14 |
+
colour: int
|
| 15 |
+
transport: np.ndarray
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def gram_factor(g, tolerance=1e-11):
|
| 19 |
+
"""Return C with C* C approximately G, dropping eigenvalues <= tolerance.
|
| 20 |
+
|
| 21 |
+
The tolerance is an absolute numerical cutoff, not an exact rank oracle.
|
| 22 |
+
"""
|
| 23 |
+
g = (g + g.conj().T) / 2
|
| 24 |
+
values, vectors = np.linalg.eigh(g)
|
| 25 |
+
if values.min(initial=0) < -10 * tolerance:
|
| 26 |
+
raise ValueError("Gramian is not positive semidefinite at this tolerance")
|
| 27 |
+
keep = values > tolerance
|
| 28 |
+
return np.sqrt(values[keep])[:, None] * vectors[:, keep].conj().T
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def analyse(events, n, colours=2):
|
| 32 |
+
"""Return all prefix products, reserve Gramians, and transcript maps."""
|
| 33 |
+
p = np.eye(n, dtype=complex)
|
| 34 |
+
q = np.eye(n, dtype=complex)
|
| 35 |
+
grams = [np.zeros((n, n), dtype=complex) for _ in range(colours)]
|
| 36 |
+
rows = [[] for _ in range(colours)]
|
| 37 |
+
active = []
|
| 38 |
+
history = []
|
| 39 |
+
for event in events:
|
| 40 |
+
u = np.asarray(event.normal, dtype=complex).reshape(n)
|
| 41 |
+
unitary = np.asarray(event.transport, dtype=complex)
|
| 42 |
+
c = float(event.cosine)
|
| 43 |
+
if not np.isclose(np.vdot(u, u).real, 1):
|
| 44 |
+
raise ValueError("normal must have unit norm")
|
| 45 |
+
if unitary.shape != (n, n) or not np.allclose(unitary.conj().T @ unitary, np.eye(n)):
|
| 46 |
+
raise ValueError("transport must be unitary")
|
| 47 |
+
if not 0 <= c <= 1 or not 0 <= event.colour < colours:
|
| 48 |
+
raise ValueError("invalid cosine or colour")
|
| 49 |
+
s = np.sqrt(max(0., 1. - c*c))
|
| 50 |
+
row = s * u.conj() @ p
|
| 51 |
+
grams[event.colour] += np.outer(row.conj(), row)
|
| 52 |
+
rows[event.colour].append(row)
|
| 53 |
+
if c < 1:
|
| 54 |
+
active.append(q.conj().T @ u)
|
| 55 |
+
a = np.eye(n) + (c - 1) * np.outer(u, u.conj())
|
| 56 |
+
p = unitary @ a @ p
|
| 57 |
+
q = unitary @ q
|
| 58 |
+
transcripts = [np.array(r, dtype=complex).reshape((-1, n)) for r in rows]
|
| 59 |
+
history.append({
|
| 60 |
+
"product": p.copy(), "transport": q.copy(),
|
| 61 |
+
"grams": [g.copy() for g in grams],
|
| 62 |
+
"transcripts": [s.copy() for s in transcripts],
|
| 63 |
+
"active_normals": np.array(active, dtype=complex).reshape((-1, n)).T,
|
| 64 |
+
})
|
| 65 |
+
return history
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def encode(prefix, initial, tolerance=1e-11):
|
| 69 |
+
"""Return visible state, separated reserves, and their exact-model decoder."""
|
| 70 |
+
p = prefix["product"]
|
| 71 |
+
factors = [gram_factor(g, tolerance) for g in prefix["grams"]]
|
| 72 |
+
initial = np.asarray(initial, dtype=complex)
|
| 73 |
+
visible = p @ initial
|
| 74 |
+
memories = [c @ initial for c in factors]
|
| 75 |
+
decoded = p.conj().T @ visible
|
| 76 |
+
for c, m in zip(factors, memories):
|
| 77 |
+
decoded += c.conj().T @ m
|
| 78 |
+
return visible, memories, decoded
|
| 79 |
+
|
| 80 |
+
|
| 81 |
+
def widths(prefix, tolerance=1e-11):
|
| 82 |
+
separated = [gram_factor(g, tolerance).shape[0] for g in prefix["grams"]]
|
| 83 |
+
pooled = gram_factor(sum(prefix["grams"]), tolerance).shape[0]
|
| 84 |
+
return {"separated": separated, "pooled": pooled,
|
| 85 |
+
"excess": sum(separated) - pooled,
|
| 86 |
+
"tolerance": tolerance}
|
make_figures.py
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Exact theorem illustrations; no simulated or empirical values are plotted."""
|
| 2 |
+
from pathlib import Path
|
| 3 |
+
from math import comb
|
| 4 |
+
import numpy as np
|
| 5 |
+
import matplotlib
|
| 6 |
+
matplotlib.use('Agg')
|
| 7 |
+
import matplotlib.pyplot as plt
|
| 8 |
+
|
| 9 |
+
plt.rcParams.update({'font.family':'DejaVu Sans', 'font.size':11,
|
| 10 |
+
'axes.spines.top':False, 'axes.spines.right':False,
|
| 11 |
+
'axes.labelcolor':'#182832', 'text.color':'#182832'})
|
| 12 |
+
fig, axes = plt.subplots(1, 2, figsize=(9.4, 3.75), layout='constrained')
|
| 13 |
+
n, rank, lam, mu = 8, 3, 1., .15
|
| 14 |
+
widths = np.arange(n+1)
|
| 15 |
+
pointwise = np.array([lam]*rank+[mu]*(n-rank)+[0.])
|
| 16 |
+
global_error = np.array([lam]*n+[0.])
|
| 17 |
+
axes[0].plot(widths, global_error, 's-', color='#A44865', lw=2, ms=5, label='Continuous global family')
|
| 18 |
+
axes[0].plot(widths, pointwise, 'o-', color='#156D72', lw=2, ms=5, label='Pointwise factors')
|
| 19 |
+
axes[0].set(xlabel='Fixed complex output coordinates, m', ylabel='Optimal worst-case energy error',
|
| 20 |
+
title='(a) n = 8, r = 3, λ = 1, μ = 0.15', xticks=[0,2,3,4,6,8], ylim=(-.04,1.15))
|
| 21 |
+
axes[0].legend(fontsize=9, loc='center', bbox_to_anchor=(.5,.6), frameon=False)
|
| 22 |
+
axes[0].grid(axis='y', alpha=.2)
|
| 23 |
+
ranks = np.arange(1,n)
|
| 24 |
+
minimal = ranks*(n-ranks)+1
|
| 25 |
+
coordinate = [comb(n,int(r)) for r in ranks]
|
| 26 |
+
axes[1].plot(ranks, coordinate, 'o-', color='#A44865', lw=2, ms=5, label='Coordinate atlas')
|
| 27 |
+
axes[1].plot(ranks, minimal, 's-', color='#156D72', lw=2, ms=5, label='Minimum fixed-reference atlas')
|
| 28 |
+
axes[1].set(xlabel='Subspace rank, r', ylabel='Number of fixed reference frames',
|
| 29 |
+
title='(b) Exact atlas counts for n = 8', xticks=ranks, ylim=(0,80))
|
| 30 |
+
axes[1].legend(fontsize=9, loc='upper left', frameon=False)
|
| 31 |
+
axes[1].grid(axis='y',alpha=.2)
|
| 32 |
+
fig.savefig(Path(__file__).with_name('FIGURE_01.png'),dpi=300,facecolor='white')
|
| 33 |
+
plt.close(fig)
|
pdf-header.tex
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
\usepackage{amsmath}
|
| 2 |
+
\usepackage{booktabs}
|
| 3 |
+
\usepackage{longtable}
|
| 4 |
+
\usepackage{array}
|
| 5 |
+
\usepackage{microtype}
|
| 6 |
+
\usepackage{xcolor}
|
| 7 |
+
\usepackage{fancyhdr}
|
| 8 |
+
\usepackage{hyperref}
|
| 9 |
+
\usepackage{etoolbox}
|
| 10 |
+
\usepackage{float}
|
| 11 |
+
\floatplacement{figure}{H}
|
| 12 |
+
\definecolor{eveink}{HTML}{182832}
|
| 13 |
+
\definecolor{eveaccent}{HTML}{156D72}
|
| 14 |
+
\hypersetup{colorlinks=true,linkcolor=eveaccent,urlcolor=eveaccent}
|
| 15 |
+
\pagestyle{fancy}
|
| 16 |
+
\fancyhf{}
|
| 17 |
+
\fancyhead[L]{\small\sffamily QÆNTHRIX}
|
| 18 |
+
\fancyhead[R]{\small\sffamily Continuous Factors and Reference Atlases}
|
| 19 |
+
\fancyfoot[L]{\small\sffamily Research manuscript · 3.0.0}
|
| 20 |
+
\fancyfoot[R]{\small\sffamily\thepage}
|
| 21 |
+
\setlength{\headheight}{15pt}
|
| 22 |
+
\setlength{\emergencystretch}{3em}
|
| 23 |
+
\setlength{\parskip}{0.35em}
|
| 24 |
+
\setlength{\parindent}{0pt}
|
| 25 |
+
\renewcommand{\arraystretch}{1.14}
|
| 26 |
+
\AtBeginEnvironment{longtable}{\small}
|
| 27 |
+
|
| 28 |
+
\setcounter{tocdepth}{2}
|
relational_geometry.py
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Rank-one reference and relative-phase geometry for QÆNTHRIX.
|
| 2 |
+
|
| 3 |
+
The model uses rank-one orthogonal projectors in complex coordinates.
|
| 4 |
+
These routines are finite numerical constructions, not topological proofs.
|
| 5 |
+
"""
|
| 6 |
+
import numpy as np
|
| 7 |
+
from eve_reserve import Event
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def ray(vector):
|
| 11 |
+
"""Return the rank-one projector of a nonzero vector; phase is discarded."""
|
| 12 |
+
u = np.asarray(vector, dtype=complex).reshape(-1)
|
| 13 |
+
norm = np.linalg.norm(u)
|
| 14 |
+
if norm == 0:
|
| 15 |
+
raise ValueError("a ray requires a nonzero vector")
|
| 16 |
+
u = u / norm
|
| 17 |
+
return np.outer(u, u.conj())
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def _unit(vector, n):
|
| 21 |
+
w = np.asarray(vector, dtype=complex).reshape(n)
|
| 22 |
+
if not np.isclose(np.vdot(w, w).real, 1., atol=1e-12, rtol=1e-12):
|
| 23 |
+
raise ValueError("reference must have unit norm")
|
| 24 |
+
return w
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def global_factor(p, weight, background=0.):
|
| 28 |
+
"""Continuous n-row factor of lambda P + mu (I-P), lambda >= mu >= 0."""
|
| 29 |
+
if not 0 <= background <= weight:
|
| 30 |
+
raise ValueError("weights must satisfy lambda >= mu >= 0")
|
| 31 |
+
p = np.asarray(p, dtype=complex)
|
| 32 |
+
return np.sqrt(weight)*p + np.sqrt(background)*(np.eye(len(p))-p)
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def anchor_section(p, reference, blind_tolerance=1e-12):
|
| 36 |
+
"""Canonical unit vector P w / ||P w|| on the recognized domain.
|
| 37 |
+
|
| 38 |
+
The numerical blind_tolerance is explicit; the analytic domain is ||P w||>0.
|
| 39 |
+
"""
|
| 40 |
+
p = np.asarray(p, dtype=complex)
|
| 41 |
+
w = _unit(reference, len(p))
|
| 42 |
+
v = p @ w
|
| 43 |
+
margin = np.linalg.norm(v)
|
| 44 |
+
if margin <= blind_tolerance:
|
| 45 |
+
raise ValueError("reference is blind at the declared numerical tolerance")
|
| 46 |
+
return v / margin
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def anchor_factor(p, reference, weight, blind_tolerance=1e-12):
|
| 50 |
+
if weight < 0:
|
| 51 |
+
raise ValueError("weight must be nonnegative")
|
| 52 |
+
return np.sqrt(weight)*anchor_section(p, reference, blind_tolerance).conj()[None, :]
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
def recognition_margin(p, reference):
|
| 56 |
+
"""Exact-model distance in operator norm to the reference's blind locus."""
|
| 57 |
+
p = np.asarray(p, dtype=complex)
|
| 58 |
+
return float(np.linalg.norm(p @ _unit(reference, len(p))))
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def select_reference(p, references, blind_tolerance=1e-12):
|
| 62 |
+
"""Choose a largest-margin column of an n-by-q unit-reference matrix.
|
| 63 |
+
|
| 64 |
+
Index changes are chart switches, not one continuous global scalar factor.
|
| 65 |
+
"""
|
| 66 |
+
p = np.asarray(p, dtype=complex)
|
| 67 |
+
refs = np.asarray(references, dtype=complex)
|
| 68 |
+
if refs.ndim != 2 or refs.shape[0] != len(p) or refs.shape[1] == 0:
|
| 69 |
+
raise ValueError("references must be a nonempty n-by-q matrix")
|
| 70 |
+
for j in range(refs.shape[1]):
|
| 71 |
+
_unit(refs[:, j], len(p))
|
| 72 |
+
margins = np.linalg.norm(p @ refs, axis=0)
|
| 73 |
+
index = int(np.argmax(margins))
|
| 74 |
+
section = anchor_section(p, refs[:, index], blind_tolerance)
|
| 75 |
+
return index, section, float(margins[index])
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def pair_transport(p, q, blind_tolerance=1e-12):
|
| 79 |
+
"""Canonical partial isometry from ray Q to ray P when they overlap."""
|
| 80 |
+
product = np.asarray(p, dtype=complex) @ np.asarray(q, dtype=complex)
|
| 81 |
+
margin = np.linalg.norm(product, 'fro')
|
| 82 |
+
if margin <= blind_tolerance:
|
| 83 |
+
raise ValueError("orthogonal rays have no canonical phase comparison")
|
| 84 |
+
return product / margin
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def cycle_holonomy(projectors, blind_tolerance=1e-12):
|
| 88 |
+
"""Phase of T(P0<-P1) ... T(P_last<-P0), with this orientation."""
|
| 89 |
+
if len(projectors) < 2:
|
| 90 |
+
raise ValueError("a cycle requires at least two vertices")
|
| 91 |
+
ps = [np.asarray(p, dtype=complex) for p in projectors]
|
| 92 |
+
product = np.eye(len(ps[0]), dtype=complex)
|
| 93 |
+
for i, p in enumerate(ps):
|
| 94 |
+
product = product @ pair_transport(p, ps[(i+1) % len(ps)], blind_tolerance)
|
| 95 |
+
return complex(np.trace(ps[0] @ product))
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
def relational_direction(p):
|
| 99 |
+
"""Column-major vec(P); a global unit vector in a different, n^2-state space."""
|
| 100 |
+
return np.asarray(p, dtype=complex).reshape(-1, order='F')
|
| 101 |
+
|
| 102 |
+
|
| 103 |
+
def relational_factor(p, weight):
|
| 104 |
+
"""One-row factor of weight |vec(P)><vec(P)| on matrix-valued inputs."""
|
| 105 |
+
if weight < 0:
|
| 106 |
+
raise ValueError("weight must be nonnegative")
|
| 107 |
+
return np.sqrt(weight)*relational_direction(p).conj()[None, :]
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
def relational_event(p, cosine, colour, transport=None):
|
| 111 |
+
"""Lift a matrix state through X -> U A(X) U*, using column-major vec.
|
| 112 |
+
|
| 113 |
+
The direction is vec(P), and U conjugation acts as conjugate(U) tensor U.
|
| 114 |
+
This is not an encoder of the original single-vector amplitude.
|
| 115 |
+
"""
|
| 116 |
+
p = np.asarray(p, dtype=complex)
|
| 117 |
+
n = len(p)
|
| 118 |
+
u = np.eye(n, dtype=complex) if transport is None else np.asarray(transport, dtype=complex)
|
| 119 |
+
return Event(relational_direction(p), cosine, colour, np.kron(u.conj(), u))
|
releases/QAENTHRIX_EVE_Research_Package_v3.0.0.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:be0ba5eb6ad43927025b2178f11454cc04b626b18fc4de91c56369f2e9d1e6fe
|
| 3 |
+
size 768555
|
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
numpy>=1.24
|
| 2 |
+
matplotlib>=3.7
|
verify.py
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Analytic claims are proved in MANUSCRIPT.md; these are independent checks."""
|
| 2 |
+
import json
|
| 3 |
+
import platform
|
| 4 |
+
from pathlib import Path
|
| 5 |
+
import numpy as np
|
| 6 |
+
from eve_reserve import Event, analyse, encode, gram_factor
|
| 7 |
+
from verify_exact import run as exact_run
|
| 8 |
+
from verify_relational import run as relational_run
|
| 9 |
+
from verify_continuous import run as continuous_run
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def run():
|
| 13 |
+
rng = np.random.default_rng(704107)
|
| 14 |
+
cases = 400
|
| 15 |
+
prefixes = 0
|
| 16 |
+
largest_error = 0.
|
| 17 |
+
for _ in range(cases):
|
| 18 |
+
n = int(rng.integers(1, 8))
|
| 19 |
+
steps = int(rng.integers(2, 12))
|
| 20 |
+
events = []
|
| 21 |
+
for t in range(steps):
|
| 22 |
+
u = rng.normal(size=n) + 1j*rng.normal(size=n)
|
| 23 |
+
u /= np.linalg.norm(u)
|
| 24 |
+
z = rng.normal(size=(n, n)) + 1j*rng.normal(size=(n, n))
|
| 25 |
+
unitary, _ = np.linalg.qr(z)
|
| 26 |
+
c = float(rng.uniform(.55, .99))
|
| 27 |
+
if t == 0 and rng.random() < .15:
|
| 28 |
+
c = 0.
|
| 29 |
+
if rng.random() < .1:
|
| 30 |
+
c = 1.
|
| 31 |
+
events.append(Event(u, c, int(rng.integers(2)), unitary))
|
| 32 |
+
history = analyse(events, n)
|
| 33 |
+
previous = [0, 0]
|
| 34 |
+
for h in history:
|
| 35 |
+
prefixes += 1
|
| 36 |
+
p = h['product']
|
| 37 |
+
total = sum(h['grams'])
|
| 38 |
+
err = np.linalg.norm(total + p.conj().T@p - np.eye(n), 2)
|
| 39 |
+
largest_error = max(largest_error, float(err))
|
| 40 |
+
assert err < 1e-10
|
| 41 |
+
factors = [gram_factor(g) for g in h['grams']]
|
| 42 |
+
r = [c.shape[0] for c in factors]
|
| 43 |
+
pooled = gram_factor(total).shape[0]
|
| 44 |
+
active_rank = np.linalg.matrix_rank(h['active_normals'], tol=1e-8)
|
| 45 |
+
assert pooled == active_rank
|
| 46 |
+
assert 0 <= sum(r)-pooled <= pooled <= n
|
| 47 |
+
assert all(a >= b for a, b in zip(r, previous))
|
| 48 |
+
previous = r
|
| 49 |
+
for c, s, g in zip(factors, h['transcripts'], h['grams']):
|
| 50 |
+
assert np.allclose(c.conj().T@c, g, atol=1e-10)
|
| 51 |
+
assert np.allclose(s.conj().T@s, g, atol=1e-10)
|
| 52 |
+
# Transcript recovery from the colour's minimal factor.
|
| 53 |
+
assert np.allclose(s@np.linalg.pinv(c)@c, s, atol=1e-8)
|
| 54 |
+
x = rng.normal(size=n) + 1j*rng.normal(size=n)
|
| 55 |
+
visible, memories, decoded = encode(h, x)
|
| 56 |
+
assert np.allclose(decoded, x, atol=1e-9)
|
| 57 |
+
assert abs(np.vdot(x, x) - np.vdot(visible, visible)
|
| 58 |
+
- sum(np.vdot(m, m) for m in memories)) < 1e-8
|
| 59 |
+
# Non-unitary coordinate charts carry the transported metric.
|
| 60 |
+
f0 = np.diag(rng.uniform(.5, 2., n))
|
| 61 |
+
ft = np.diag(rng.uniform(.5, 2., n))
|
| 62 |
+
inv0, invt = np.linalg.inv(f0), np.linalg.inv(ft)
|
| 63 |
+
chart_product = ft@p@inv0
|
| 64 |
+
chart_total = inv0.conj().T@total@inv0
|
| 65 |
+
metric0, metrict = inv0.conj().T@inv0, invt.conj().T@invt
|
| 66 |
+
assert np.allclose(chart_total + chart_product.conj().T@metrict@chart_product,
|
| 67 |
+
metric0, atol=1e-10)
|
| 68 |
+
# Exact scanner factorization on the active subspace.
|
| 69 |
+
hscan = gram_factor(total)
|
| 70 |
+
hp = np.linalg.pinv(hscan)
|
| 71 |
+
for g in h['grams']:
|
| 72 |
+
k = hp.conj().T@g@hp
|
| 73 |
+
assert np.allclose(hscan.conj().T@k@hscan, g, atol=1e-8)
|
| 74 |
+
# Spectral truncation reaches the proved optimum for every k.
|
| 75 |
+
values, vectors = np.linalg.eigh(total)
|
| 76 |
+
order = np.argsort(values)[::-1]
|
| 77 |
+
values, vectors = values[order], vectors[:, order]
|
| 78 |
+
for k in range(n+1):
|
| 79 |
+
approximation = (vectors[:, :k]*values[:k])@vectors[:, :k].conj().T
|
| 80 |
+
optimum = max(0., float(values[k])) if k < n else 0.
|
| 81 |
+
assert abs(np.linalg.norm(total-approximation, 2)-optimum) < 1e-9
|
| 82 |
+
# Local rank-one unitary completion and topological chart transition.
|
| 83 |
+
local_error = 0.
|
| 84 |
+
for _ in range(96):
|
| 85 |
+
n = 3
|
| 86 |
+
u = rng.normal(size=n)+1j*rng.normal(size=n)
|
| 87 |
+
u /= np.linalg.norm(u)
|
| 88 |
+
c = float(rng.random()); s = np.sqrt(1-c*c)
|
| 89 |
+
a = np.eye(n)+(c-1)*np.outer(u, u.conj())
|
| 90 |
+
j = np.block([[a, -s*u[:, None]], [s*u.conj()[None, :], np.array([[c]])]])
|
| 91 |
+
error = float(np.linalg.norm(j.conj().T@j-np.eye(n+1), 2))
|
| 92 |
+
local_error = max(local_error, error)
|
| 93 |
+
assert error < 1e-10
|
| 94 |
+
phases = np.linspace(0, 2*np.pi, 513)
|
| 95 |
+
transition = []
|
| 96 |
+
for phase in phases:
|
| 97 |
+
z = np.exp(1j*phase)
|
| 98 |
+
un = np.array([1, z])/np.sqrt(2)
|
| 99 |
+
us = np.array([1/z, 1])/np.sqrt(2)
|
| 100 |
+
assert np.allclose(us, np.exp(-1j*phase)*un)
|
| 101 |
+
projector = np.outer(un, un.conj())
|
| 102 |
+
a, b = .5, .25
|
| 103 |
+
# Continuous redundant global factors, in two fixed coordinates per colour.
|
| 104 |
+
for g, factor in [(a*projector, np.sqrt(a)*projector),
|
| 105 |
+
(b*projector, np.sqrt(b)*projector)]:
|
| 106 |
+
assert np.allclose(factor.conj().T@factor, g)
|
| 107 |
+
transition.append(np.vdot(un, us))
|
| 108 |
+
winding = (np.unwrap(np.angle(transition))[-1]-np.unwrap(np.angle(transition))[0])/(2*np.pi)
|
| 109 |
+
assert abs(winding+1) < 1e-10
|
| 110 |
+
# Deliberate counterexample to the incorrect, untransported colour-rank shortcut.
|
| 111 |
+
e1 = np.array([1., 0.]); u = np.array([3/5, 4/5])
|
| 112 |
+
chronology = analyse([Event(e1, .6, 0, np.eye(2)), Event(u, .6, 1, np.eye(2)),
|
| 113 |
+
Event(e1, .6, 0, np.eye(2))], 2)[-1]
|
| 114 |
+
assert gram_factor(chronology['grams'][0]).shape[0] == 2
|
| 115 |
+
assert np.linalg.matrix_rank(np.stack([e1, e1])) == 1
|
| 116 |
+
return {
|
| 117 |
+
**exact_run(), "complex_words": cases, "complex_prefixes": prefixes,
|
| 118 |
+
"local_unitary_cases": 96, "topological_transition_samples": 513,
|
| 119 |
+
"sampled_transition_winding": float(winding),
|
| 120 |
+
"maximum_balance_error": largest_error,
|
| 121 |
+
"maximum_local_unitarity_error": local_error,
|
| 122 |
+
"python": platform.python_version(), "numpy": np.__version__,
|
| 123 |
+
"seed": 704107,
|
| 124 |
+
"version": "3.0.0",
|
| 125 |
+
"relational_extension": relational_run(),
|
| 126 |
+
"continuous_factorization_extension": continuous_run(),
|
| 127 |
+
"scope": "finite checks support the analytic proofs; topology is not proved by sampling",
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
if __name__ == '__main__':
|
| 132 |
+
result = run()
|
| 133 |
+
target = Path(__file__).with_name('VERIFICATION.json')
|
| 134 |
+
target.write_text(json.dumps(result, indent=2)+'\n', encoding='utf-8')
|
| 135 |
+
print(json.dumps(result, indent=2))
|
verify_continuous.py
ADDED
|
@@ -0,0 +1,292 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Independent exact and numerical checks of the arbitrary-rank extension."""
|
| 2 |
+
from fractions import Fraction
|
| 3 |
+
from itertools import combinations, permutations
|
| 4 |
+
from math import factorial, prod, comb, sqrt
|
| 5 |
+
import numpy as np
|
| 6 |
+
from continuous_factorization import (
|
| 7 |
+
repair_factor, reference_frame, reference_factor, nearest_blind_projector,
|
| 8 |
+
wronskian_atlas, coordinate_atlas, select_reference_frame, jet_reference,
|
| 9 |
+
subspace_transport, subspace_holonomy,
|
| 10 |
+
)
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
def _det(matrix):
|
| 14 |
+
a = [[Fraction(x) for x in row] for row in matrix]
|
| 15 |
+
value = Fraction(1)
|
| 16 |
+
for k in range(len(a)):
|
| 17 |
+
pivot = next((j for j in range(k, len(a)) if a[j][k]), None)
|
| 18 |
+
if pivot is None:
|
| 19 |
+
return Fraction(0)
|
| 20 |
+
if pivot != k:
|
| 21 |
+
a[k], a[pivot] = a[pivot], a[k]
|
| 22 |
+
value = -value
|
| 23 |
+
z = a[k][k]
|
| 24 |
+
value *= z
|
| 25 |
+
for j in range(k+1, len(a)):
|
| 26 |
+
multiplier = a[j][k]/z
|
| 27 |
+
for l in range(k+1, len(a)):
|
| 28 |
+
a[j][l] -= multiplier*a[k][l]
|
| 29 |
+
return value
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def _multiply(a, b):
|
| 33 |
+
result = [Fraction(0)]*(len(a)+len(b)-1)
|
| 34 |
+
for j, x in enumerate(a):
|
| 35 |
+
for k, y in enumerate(b):
|
| 36 |
+
result[j+k] += x*y
|
| 37 |
+
return result
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
def _derivative(a, k):
|
| 41 |
+
return [Fraction(a[j])*(factorial(j)//factorial(j-k))
|
| 42 |
+
for j in range(k, len(a))] or [Fraction(0)]
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def _wronskian(columns):
|
| 46 |
+
r = len(columns)
|
| 47 |
+
degree = r*(len(columns[0])-1)-r*(r-1)//2
|
| 48 |
+
result = [Fraction(0)]*(degree+1)
|
| 49 |
+
for p in permutations(range(r)):
|
| 50 |
+
sign = (-1)**sum(p[j] > p[k] for j in range(r) for k in range(j+1, r))
|
| 51 |
+
term = [Fraction(1)]
|
| 52 |
+
for k in range(r):
|
| 53 |
+
term = _multiply(term, _derivative(columns[p[k]], k))
|
| 54 |
+
for k, x in enumerate(term):
|
| 55 |
+
result[k] += sign*x
|
| 56 |
+
while len(result) > 1 and result[-1] == 0:
|
| 57 |
+
result.pop()
|
| 58 |
+
return result
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
def _evaluate(a, t):
|
| 62 |
+
return sum(x*Fraction(t)**k for k, x in enumerate(a))
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def _exact_wronski_checks():
|
| 66 |
+
monomials, evaluations = 0, 0
|
| 67 |
+
for n in range(2, 9):
|
| 68 |
+
for r in range(1, n):
|
| 69 |
+
d = r*(n-r)
|
| 70 |
+
for degrees in combinations(range(n), r):
|
| 71 |
+
leading = prod(degrees[j]-degrees[i]
|
| 72 |
+
for i in range(r) for j in range(i+1, r))
|
| 73 |
+
power = sum(degrees)-r*(r-1)//2
|
| 74 |
+
assert 0 <= power <= d and leading > 0
|
| 75 |
+
nonzero = False
|
| 76 |
+
for t in range(d+1):
|
| 77 |
+
rows = [[0 if k > j else factorial(j)//factorial(j-k)*t**(j-k)
|
| 78 |
+
for j in degrees] for k in range(r)]
|
| 79 |
+
observed = _det(rows)
|
| 80 |
+
expected = leading*Fraction(t)**power
|
| 81 |
+
assert observed == expected
|
| 82 |
+
nonzero |= observed != 0
|
| 83 |
+
evaluations += 1
|
| 84 |
+
assert nonzero
|
| 85 |
+
monomials += 1
|
| 86 |
+
rng = np.random.default_rng(30001004)
|
| 87 |
+
polynomials = 0
|
| 88 |
+
for _ in range(64):
|
| 89 |
+
n = int(rng.integers(2, 7)); r = int(rng.integers(1, min(n, 5)))
|
| 90 |
+
matrix = rng.integers(-3, 4, size=(n, r))
|
| 91 |
+
# An identity block gives an exact independence certificate.
|
| 92 |
+
matrix[:r, :] = np.eye(r, dtype=int)
|
| 93 |
+
columns = [[int(x) for x in matrix[:, j]] for j in range(r)]
|
| 94 |
+
coefficients = _wronskian(columns)
|
| 95 |
+
assert any(coefficients) and len(coefficients)-1 <= r*(n-r)
|
| 96 |
+
nonzero = False
|
| 97 |
+
for t in range(r*(n-r)+1):
|
| 98 |
+
exact = _det([[_evaluate(_derivative(col, k), t)
|
| 99 |
+
for col in columns] for k in range(r)])
|
| 100 |
+
assert exact == _evaluate(coefficients, t)
|
| 101 |
+
nonzero |= exact != 0
|
| 102 |
+
assert nonzero
|
| 103 |
+
polynomials += 1
|
| 104 |
+
return {"exact_monomial_subspaces": monomials,
|
| 105 |
+
"exact_monomial_jet_determinants": evaluations,
|
| 106 |
+
"exact_integer_polynomial_subspaces": polynomials}
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
def _random_frame(rng, n, r):
|
| 110 |
+
a = rng.normal(size=(n, r))+1j*rng.normal(size=(n, r))
|
| 111 |
+
return np.linalg.qr(a)[0][:, :r]
|
| 112 |
+
|
| 113 |
+
|
| 114 |
+
def _rotation(rng, n, scale):
|
| 115 |
+
h = rng.normal(size=(n, n))+1j*rng.normal(size=(n, n))
|
| 116 |
+
h = (h+h.conj().T)/2
|
| 117 |
+
values, vectors = np.linalg.eigh(h)
|
| 118 |
+
return (vectors*np.exp(1j*scale*values)) @ vectors.conj().T
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def run():
|
| 122 |
+
rng = np.random.default_rng(30001004)
|
| 123 |
+
maxima = {k: 0. for k in ["repaired_gram_error", "reference_gram_error",
|
| 124 |
+
"blind_distance_error", "transport_error", "decoder_error",
|
| 125 |
+
"cauchy_binet_error"]}
|
| 126 |
+
counts = {k: 0 for k in ["repair_cases", "reference_cases", "blind_witnesses",
|
| 127 |
+
"inside_radius_cases", "wronskian_atlas_cases", "coordinate_atlas_cases",
|
| 128 |
+
"transport_cycles", "noisy_decoder_cases", "inverse_margin_cases",
|
| 129 |
+
"gap_boundary_rejections", "structured_blind_families"]}
|
| 130 |
+
observed_atlas_margin = 1.
|
| 131 |
+
for n in range(2, 9):
|
| 132 |
+
for r in range(1, n):
|
| 133 |
+
wronski, coordinates = wronskian_atlas(n, r), coordinate_atlas(n, r)
|
| 134 |
+
assert len(wronski) == r*(n-r)+1
|
| 135 |
+
assert len(coordinates) == comb(n, r)
|
| 136 |
+
for _ in range(8):
|
| 137 |
+
u, w = _random_frame(rng, n, r), _random_frame(rng, n, r)
|
| 138 |
+
p = u @ u.conj().T
|
| 139 |
+
values = rng.uniform(.5, 1.5, r)
|
| 140 |
+
g = (u*values) @ u.conj().T
|
| 141 |
+
out = _random_frame(rng, r+2, r)
|
| 142 |
+
c0 = (out*np.sqrt(values)) @ u.conj().T
|
| 143 |
+
perturbation = rng.normal(size=c0.shape)+1j*rng.normal(size=c0.shape)
|
| 144 |
+
perturbation *= .01/np.linalg.norm(perturbation, 2)
|
| 145 |
+
c = c0+perturbation
|
| 146 |
+
d, info = repair_factor(g, c)
|
| 147 |
+
error = float(np.linalg.norm(d.conj().T @ d-g, 2))
|
| 148 |
+
maxima["repaired_gram_error"] = max(maxima["repaired_gram_error"], error)
|
| 149 |
+
assert error < 2e-12 and d.shape == c.shape
|
| 150 |
+
assert np.linalg.norm(d-c@p, 2) <= info["support_correction_bound"]+2e-12
|
| 151 |
+
assert np.linalg.norm(d-c, 2) <= info["total_correction_bound"]+2e-12
|
| 152 |
+
counts["repair_cases"] += 1
|
| 153 |
+
frame, delta = reference_frame(p, w)
|
| 154 |
+
factor, _ = reference_factor(p, w, .7)
|
| 155 |
+
referr = float(np.linalg.norm(factor.conj().T@factor-.7*p, 2))
|
| 156 |
+
maxima["reference_gram_error"] = max(maxima["reference_gram_error"], referr)
|
| 157 |
+
assert referr < 2e-11
|
| 158 |
+
counts["reference_cases"] += 1
|
| 159 |
+
blind, margin = nearest_blind_projector(p, w)
|
| 160 |
+
assert np.linalg.norm(blind@blind-blind, 2) < 1e-10
|
| 161 |
+
assert abs(np.trace(blind).real-r) < 1e-10
|
| 162 |
+
assert np.linalg.svd(blind@w, compute_uv=False)[-1] < 1e-10
|
| 163 |
+
distance_error = abs(np.linalg.norm(p-blind, 2)-delta)
|
| 164 |
+
maxima["blind_distance_error"] = max(maxima["blind_distance_error"], float(distance_error))
|
| 165 |
+
assert distance_error < 1e-10 and abs(margin-delta) < 1e-10
|
| 166 |
+
counts["blind_witnesses"] += 1
|
| 167 |
+
rotation = _rotation(rng, n, delta/100)
|
| 168 |
+
q = rotation @ p @ rotation.conj().T
|
| 169 |
+
eta = np.linalg.norm(q-p, 2)
|
| 170 |
+
assert eta < delta
|
| 171 |
+
frame2, delta2 = reference_frame(q, w)
|
| 172 |
+
assert delta2 >= delta-eta-1e-12
|
| 173 |
+
bound = 2*np.linalg.norm((q-p)@w, 'fro')/(delta+delta2)
|
| 174 |
+
assert np.linalg.norm(frame2-frame, 'fro') <= bound+2e-11
|
| 175 |
+
counts["inside_radius_cases"] += 1
|
| 176 |
+
_, _, chart_margin = select_reference_frame(p, wronski)
|
| 177 |
+
assert chart_margin > 1e-12
|
| 178 |
+
observed_atlas_margin = min(observed_atlas_margin, chart_margin)
|
| 179 |
+
counts["wronskian_atlas_cases"] += 1
|
| 180 |
+
_, _, chart_margin = select_reference_frame(p, coordinates)
|
| 181 |
+
determinants = [abs(np.linalg.det(cw.conj().T @ u))**2 for cw in coordinates]
|
| 182 |
+
cb_error = abs(sum(determinants)-1)
|
| 183 |
+
maxima["cauchy_binet_error"] = max(maxima["cauchy_binet_error"], float(cb_error))
|
| 184 |
+
assert cb_error < 2e-12 and chart_margin+2e-12 >= 1/sqrt(comb(n,r))
|
| 185 |
+
counts["coordinate_atlas_cases"] += 1
|
| 186 |
+
# The noisy completion is checked on arbitrary complex inputs.
|
| 187 |
+
weight = .6
|
| 188 |
+
visible = np.eye(n)+(np.sqrt(1-weight)-1)*p
|
| 189 |
+
cf = np.sqrt(weight)*u.conj().T
|
| 190 |
+
noise = rng.normal(size=cf.shape)+1j*rng.normal(size=cf.shape)
|
| 191 |
+
noise *= .005/np.linalg.norm(noise, 2)
|
| 192 |
+
cf += noise
|
| 193 |
+
repaired, _ = repair_factor(weight*p, cf)
|
| 194 |
+
completion = np.vstack([visible, repaired])
|
| 195 |
+
x = rng.normal(size=n)+1j*rng.normal(size=n)
|
| 196 |
+
decoder_error = float(np.linalg.norm(completion.conj().T @ completion@x-x))
|
| 197 |
+
maxima["decoder_error"] = max(maxima["decoder_error"], decoder_error)
|
| 198 |
+
assert decoder_error < 2e-11
|
| 199 |
+
unrepaired = np.vstack([visible, cf])
|
| 200 |
+
eps = np.linalg.norm(cf.conj().T@cf-weight*p, 2)
|
| 201 |
+
decoder = np.linalg.solve(unrepaired.conj().T@unrepaired, unrepaired.conj().T)
|
| 202 |
+
assert np.linalg.norm(decoder, 2) <= 1/np.sqrt(1-eps)+2e-12
|
| 203 |
+
counts["noisy_decoder_cases"] += 1
|
| 204 |
+
qframe, sframe = _random_frame(rng, n, r), _random_frame(rng, n, r)
|
| 205 |
+
q, s = qframe@qframe.conj().T, sframe@sframe.conj().T
|
| 206 |
+
transport = subspace_transport(p, q)
|
| 207 |
+
te = max(np.linalg.norm(transport.conj().T@transport-q, 2),
|
| 208 |
+
np.linalg.norm(transport@transport.conj().T-p, 2))
|
| 209 |
+
maxima["transport_error"] = max(maxima["transport_error"], float(te))
|
| 210 |
+
assert te < 2e-10
|
| 211 |
+
hol = subspace_holonomy([p,q,s], u)
|
| 212 |
+
assert np.linalg.norm(hol.conj().T@hol-np.eye(r), 2) < 5e-10
|
| 213 |
+
gauge = _random_frame(rng, r, r)
|
| 214 |
+
assert np.allclose(subspace_holonomy([p,q,s], u@gauge),
|
| 215 |
+
gauge.conj().T@hol@gauge, atol=1e-10)
|
| 216 |
+
global_rotation = _random_frame(rng, n, n)
|
| 217 |
+
rotated = subspace_transport(global_rotation@p@global_rotation.conj().T,
|
| 218 |
+
global_rotation@q@global_rotation.conj().T)
|
| 219 |
+
assert np.allclose(rotated, global_rotation@transport@global_rotation.conj().T,
|
| 220 |
+
atol=1e-10)
|
| 221 |
+
counts["transport_cycles"] += 1
|
| 222 |
+
# Explicit inverse-margin family: one direction varies, r-1 remain fixed.
|
| 223 |
+
w = np.eye(n, dtype=complex)[:, :r]
|
| 224 |
+
v = np.eye(n, dtype=complex)[:, r]
|
| 225 |
+
for delta in [.0001, .003, .04, .3, .8]:
|
| 226 |
+
phase = .7
|
| 227 |
+
last0 = np.sqrt(1-delta**2)*v+delta*w[:, -1]
|
| 228 |
+
last1 = np.sqrt(1-delta**2)*v+delta*np.exp(1j*phase)*w[:, -1]
|
| 229 |
+
e0 = np.column_stack([w[:, :-1],last0]); e1 = np.column_stack([w[:, :-1],last1])
|
| 230 |
+
p, q = e0@e0.conj().T, e1@e1.conj().T
|
| 231 |
+
f0,_ = reference_frame(p,w); f1,_ = reference_frame(q,w)
|
| 232 |
+
ratio = np.linalg.norm(f0-f1,'fro')/np.linalg.norm(p-q,'fro')
|
| 233 |
+
assert abs(ratio*delta-1/np.sqrt(2)) < 1e-9
|
| 234 |
+
counts["inverse_margin_cases"] += 1
|
| 235 |
+
equal = w@w.conj().T
|
| 236 |
+
blind, delta = nearest_blind_projector(equal,w)
|
| 237 |
+
assert abs(delta-1)<1e-12 and abs(np.linalg.norm(equal-blind,2)-1)<1e-12
|
| 238 |
+
counts["blind_witnesses"] += 1
|
| 239 |
+
# Equality at the positive-gap threshold permits losing a support direction.
|
| 240 |
+
g = np.diag([1.]*r+[0.]*(n-r)).astype(complex)
|
| 241 |
+
c = np.eye(n, dtype=complex)[:r-1]
|
| 242 |
+
try:
|
| 243 |
+
repair_factor(g,c)
|
| 244 |
+
except ValueError:
|
| 245 |
+
counts["gap_boundary_rejections"] += 1
|
| 246 |
+
else:
|
| 247 |
+
raise AssertionError("gap equality must not be accepted")
|
| 248 |
+
# A fixed m<n scanner family has an explicit blind support direction.
|
| 249 |
+
m = n-1
|
| 250 |
+
h = np.eye(n,dtype=complex)[:m]
|
| 251 |
+
support = np.column_stack([np.eye(n)[:, -1],np.eye(n)[:, :r-1]])
|
| 252 |
+
p = support@support.conj().T
|
| 253 |
+
c = h@p
|
| 254 |
+
assert np.linalg.norm(c@np.eye(n)[:, -1]) == 0
|
| 255 |
+
assert abs(np.linalg.norm(c.conj().T@c-p,2)-1)<1e-12
|
| 256 |
+
counts["structured_blind_families"] += 1
|
| 257 |
+
zero,_ = repair_factor(np.zeros((3,3)),np.ones((0,3)))
|
| 258 |
+
assert zero.shape == (0,3)
|
| 259 |
+
# Four distinct real jet charts have a common blind two-plane in C^4.
|
| 260 |
+
a = (5+sqrt(73))/6; b = (-5+sqrt(73))/2
|
| 261 |
+
raw = np.array([[-a,0],[0,-b],[1,0],[0,1]],dtype=complex)
|
| 262 |
+
u = np.linalg.qr(raw)[0][:,:2]; p = u@u.conj().T
|
| 263 |
+
for t in [-2,-1,1,2]:
|
| 264 |
+
assert np.linalg.svd(p@jet_reference(4,2,t),compute_uv=False)[-1]<1e-12
|
| 265 |
+
assert np.linalg.svd(p@jet_reference(4,2,0),compute_uv=False)[-1]>.1
|
| 266 |
+
# Noncommuting U(2) cycle phases, in one common base frame.
|
| 267 |
+
base = np.eye(3,dtype=complex)[:,:2]; p0=base@base.conj().T
|
| 268 |
+
def graph(z):
|
| 269 |
+
frame=np.linalg.qr(np.vstack([np.eye(2),np.array(z)]))[0][:,:2]
|
| 270 |
+
return frame@frame.conj().T
|
| 271 |
+
pa,pb,pc = graph([[.6,0]]),graph([[0,.6]]),graph([[0,.6j]])
|
| 272 |
+
h1=subspace_holonomy([p0,pa,pb],base)
|
| 273 |
+
h2=subspace_holonomy([p0,pa,pc],base)
|
| 274 |
+
commutator=float(np.linalg.norm(h1@h2-h2@h1,2))
|
| 275 |
+
ha,hb=10*sqrt(34)/59,9/59
|
| 276 |
+
assert np.allclose(h1,[[ha,hb],[-hb,ha]],atol=1e-12)
|
| 277 |
+
assert np.allclose(h2,[[ha,1j*hb],[1j*hb,ha]],atol=1e-12)
|
| 278 |
+
assert Fraction(3400,3481)+Fraction(81,3481)==1
|
| 279 |
+
assert abs(commutator-162/3481)<1e-12
|
| 280 |
+
return {"status":"PASS", "seed":30001004, **_exact_wronski_checks(), **counts,
|
| 281 |
+
"maximum_errors":maxima,
|
| 282 |
+
"sampled_minimum_wronskian_atlas_margin":float(observed_atlas_margin),
|
| 283 |
+
"wronskian_margin_scope":"sample statistic, not a uniform certificate",
|
| 284 |
+
"four_reference_blind_counterexample":"Gr(2,4), nodes -2,-1,1,2",
|
| 285 |
+
"noncommuting_holonomy_commutator_norm":commutator,
|
| 286 |
+
"exact_holonomy_commutator_norm":"162/3481",
|
| 287 |
+
"topological_scope":"finite checks do not prove the global lower bounds"}
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
if __name__ == '__main__':
|
| 291 |
+
import json
|
| 292 |
+
print(json.dumps(run(),indent=2))
|
verify_exact.py
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Independent exact-rational checker. Python standard library only."""
|
| 2 |
+
from fractions import Fraction as F
|
| 3 |
+
from itertools import product
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
def eye(n):
|
| 7 |
+
return [[F(int(i == j)) for j in range(n)] for i in range(n)]
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def zero(n):
|
| 11 |
+
return [[F(0) for _ in range(n)] for _ in range(n)]
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def tr(a):
|
| 15 |
+
return [list(v) for v in zip(*a)]
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def mul(a, b):
|
| 19 |
+
return [[sum((x*y for x, y in zip(row, col)), F(0)) for col in zip(*b)] for row in a]
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def add(a, b, sign=1):
|
| 23 |
+
return [[x + sign*y for x, y in zip(ra, rb)] for ra, rb in zip(a, b)]
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def outer(u):
|
| 27 |
+
return [[x*y for y in u] for x in u]
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
def scale(a, c):
|
| 31 |
+
return [[c*x for x in row] for row in a]
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def rank(a):
|
| 35 |
+
if not a:
|
| 36 |
+
return 0
|
| 37 |
+
a = [r[:] for r in a]
|
| 38 |
+
pivot = 0
|
| 39 |
+
for col in range(len(a[0])):
|
| 40 |
+
at = next((i for i in range(pivot, len(a)) if a[i][col]), None)
|
| 41 |
+
if at is None:
|
| 42 |
+
continue
|
| 43 |
+
a[pivot], a[at] = a[at], a[pivot]
|
| 44 |
+
v = a[pivot][col]
|
| 45 |
+
a[pivot] = [x/v for x in a[pivot]]
|
| 46 |
+
for i in range(len(a)):
|
| 47 |
+
if i != pivot:
|
| 48 |
+
v = a[i][col]
|
| 49 |
+
a[i] = [x-v*y for x, y in zip(a[i], a[pivot])]
|
| 50 |
+
pivot += 1
|
| 51 |
+
if pivot == len(a):
|
| 52 |
+
break
|
| 53 |
+
return pivot
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
def check_word(word):
|
| 57 |
+
n = 2
|
| 58 |
+
p, q = eye(n), eye(n)
|
| 59 |
+
g = [zero(n), zero(n)]
|
| 60 |
+
rows, active = [[], []], []
|
| 61 |
+
previous = [0, 0]
|
| 62 |
+
prefixes = 0
|
| 63 |
+
for u, c, colour, unitary in word:
|
| 64 |
+
a = add(eye(n), scale(outer(u), c-1))
|
| 65 |
+
v = mul([list(u)], p)[0]
|
| 66 |
+
g[colour] = add(g[colour], scale(outer(v), 1-c*c))
|
| 67 |
+
if c != 1:
|
| 68 |
+
rows[colour].append(v)
|
| 69 |
+
active.append(mul([list(u)], q)[0])
|
| 70 |
+
p = mul(mul(unitary, a), p)
|
| 71 |
+
q = mul(unitary, q)
|
| 72 |
+
total = add(g[0], g[1])
|
| 73 |
+
assert total == add(eye(n), mul(tr(p), p), -1)
|
| 74 |
+
r = [rank(g[0]), rank(g[1])]
|
| 75 |
+
pooled = rank(total)
|
| 76 |
+
assert pooled == rank(active)
|
| 77 |
+
assert r == [rank(rows[0]), rank(rows[1])]
|
| 78 |
+
assert all(x >= y for x, y in zip(r, previous))
|
| 79 |
+
assert 0 <= sum(r)-pooled <= pooled <= n
|
| 80 |
+
intersection = rank(g[0]) + rank(g[1]) - rank([ra+rb for ra, rb in zip(g[0], g[1])])
|
| 81 |
+
assert intersection == sum(r)-pooled
|
| 82 |
+
previous = r
|
| 83 |
+
prefixes += 1
|
| 84 |
+
return prefixes
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def run():
|
| 88 |
+
normals = [(F(1), F(0)), (F(0), F(1)), (F(3, 5), F(4, 5))]
|
| 89 |
+
cosines = [F(0), F(3, 5), F(1)]
|
| 90 |
+
symbols = [(u, c, colour, eye(2)) for u, c, colour in product(normals, cosines, range(2))]
|
| 91 |
+
words, prefixes = 0, 0
|
| 92 |
+
for length in (1, 2, 3):
|
| 93 |
+
for word in product(symbols, repeat=length):
|
| 94 |
+
prefixes += check_word(word)
|
| 95 |
+
words += 1
|
| 96 |
+
rotations = [eye(2), [[F(0), F(-1)], [F(1), F(0)]], [[F(0), F(1)], [F(1), F(0)]]]
|
| 97 |
+
for index in range(96):
|
| 98 |
+
word = [(normals[(index+t) % 3], cosines[(index+2*t) % 3], (index+t) % 2,
|
| 99 |
+
rotations[(index+3*t+t*t) % 3]) for t in range(1, 7)]
|
| 100 |
+
prefixes += check_word(word)
|
| 101 |
+
words += 1
|
| 102 |
+
return {"exact_words": words, "exact_prefixes": prefixes,
|
| 103 |
+
"arithmetic": "fractions.Fraction", "status": "PASS"}
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
if __name__ == "__main__":
|
| 107 |
+
import json
|
| 108 |
+
print(json.dumps(run(), indent=2))
|
verify_relational.py
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Independent finite checks of NØWÆ constructions and adverse cases.
|
| 2 |
+
|
| 3 |
+
Universal claims, particularly Borsuk-Ulam, are proved in MANUSCRIPT.md.
|
| 4 |
+
Synthetic sampling and numerical integration are consistency checks only.
|
| 5 |
+
"""
|
| 6 |
+
import itertools
|
| 7 |
+
import json
|
| 8 |
+
import numpy as np
|
| 9 |
+
from eve_reserve import analyse
|
| 10 |
+
from relational_geometry import (
|
| 11 |
+
ray, global_factor, anchor_section, anchor_factor, recognition_margin,
|
| 12 |
+
select_reference, pair_transport, cycle_holonomy, relational_direction,
|
| 13 |
+
relational_factor, relational_event,
|
| 14 |
+
)
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
def run():
|
| 18 |
+
rng = np.random.default_rng(26100429)
|
| 19 |
+
maxima = {'factor': 0., 'distance': 0., 'pair': 0., 'decode': 0., 'vectorization': 0.}
|
| 20 |
+
counts = {}
|
| 21 |
+
|
| 22 |
+
def unit(n):
|
| 23 |
+
z = rng.normal(size=n)+1j*rng.normal(size=n)
|
| 24 |
+
return z/np.linalg.norm(z)
|
| 25 |
+
|
| 26 |
+
def random_unitary(n):
|
| 27 |
+
return np.linalg.qr(rng.normal(size=(n, n))+1j*rng.normal(size=(n, n)))[0]
|
| 28 |
+
|
| 29 |
+
def check(name, residual, tolerance=2e-10):
|
| 30 |
+
value = float(residual)
|
| 31 |
+
maxima[name] = max(maxima[name], value)
|
| 32 |
+
assert value < tolerance, (name, value)
|
| 33 |
+
|
| 34 |
+
# Dense global factors and an explicit forced-zero family with known witnesses.
|
| 35 |
+
for _ in range(192):
|
| 36 |
+
n = int(rng.integers(2, 9)); m = int(rng.integers(1, n))
|
| 37 |
+
p = ray(unit(n)); lam = float(rng.uniform(.2, 2.)); mu = .15*lam
|
| 38 |
+
g = lam*p+mu*(np.eye(n)-p)
|
| 39 |
+
c = global_factor(p, lam, mu)
|
| 40 |
+
check('factor', np.linalg.norm(c.conj().T@c-g, 2))
|
| 41 |
+
b = rng.normal(size=(m, n))+1j*rng.normal(size=(m, n))
|
| 42 |
+
b /= np.linalg.norm(b, 2)
|
| 43 |
+
witness = np.linalg.svd(b, full_matrices=True)[2][-1].conj()
|
| 44 |
+
p0 = ray(witness)
|
| 45 |
+
d = rng.normal(size=(m, n))+1j*rng.normal(size=(m, n))
|
| 46 |
+
# C(P)=B P + D(P)(I-P), with a genuinely parameter-dependent D.
|
| 47 |
+
d0 = d*(1+.2*p0[0, 0].real)
|
| 48 |
+
c0 = b@p0+d0@(np.eye(n)-p0)
|
| 49 |
+
assert np.linalg.norm(c0@witness) < 2e-12
|
| 50 |
+
error = np.linalg.norm(c0.conj().T@c0-(lam*p0+mu*(np.eye(n)-p0)), 2)
|
| 51 |
+
assert error >= lam-2e-10
|
| 52 |
+
counts['global_factor_and_blind_witness_cases'] = 192
|
| 53 |
+
|
| 54 |
+
# Closest blind projectors, exact anchor factors, and noise inequalities.
|
| 55 |
+
noise_cases = 0
|
| 56 |
+
for _ in range(384):
|
| 57 |
+
n = int(rng.integers(2, 9)); u = unit(n); w = unit(n); p = ray(u)
|
| 58 |
+
delta = recognition_margin(p, w)
|
| 59 |
+
a = anchor_section(p, w); lam = float(rng.uniform(.2, 2.))
|
| 60 |
+
c = anchor_factor(p, w, lam)
|
| 61 |
+
check('factor', np.linalg.norm(c.conj().T@c-lam*p, 2))
|
| 62 |
+
assert abs(np.vdot(w, a)-delta) < 2e-12
|
| 63 |
+
v = u-w*np.vdot(w, u)
|
| 64 |
+
v /= np.linalg.norm(v); blind = ray(v)
|
| 65 |
+
check('distance', abs(np.linalg.norm(p-blind, 2)-delta))
|
| 66 |
+
assert np.linalg.norm(blind@w) < 2e-12
|
| 67 |
+
try:
|
| 68 |
+
anchor_section(blind, w)
|
| 69 |
+
except ValueError:
|
| 70 |
+
pass
|
| 71 |
+
else:
|
| 72 |
+
raise AssertionError('blind anchor must reject')
|
| 73 |
+
new = ray(u+float(rng.uniform(1e-4, .08))*unit(n))
|
| 74 |
+
eta = np.linalg.norm(new-p, 2)
|
| 75 |
+
if eta < delta:
|
| 76 |
+
noise_cases += 1
|
| 77 |
+
anew = anchor_section(new, w)
|
| 78 |
+
assert np.linalg.norm(a-anew) <= 2*eta/delta+2e-12
|
| 79 |
+
counts['anchor_and_exact_breakdown_cases'] = 384
|
| 80 |
+
counts['recognized_perturbation_cases'] = noise_cases
|
| 81 |
+
|
| 82 |
+
sensitivity = 0
|
| 83 |
+
w = np.array([1., 0.]); v = np.array([0., 1.])
|
| 84 |
+
for delta in [.01, .02, .05, .1, .2, .4, .7, .9]:
|
| 85 |
+
for phi in np.linspace(.05, 2.8, 12):
|
| 86 |
+
u0 = np.sqrt(1-delta**2)*v+delta*w
|
| 87 |
+
u1 = np.sqrt(1-delta**2)*v+delta*np.exp(1j*phi)*w
|
| 88 |
+
p0, p1 = ray(u0), ray(u1)
|
| 89 |
+
quotient = np.linalg.norm(anchor_section(p1, w)-anchor_section(p0, w))/np.linalg.norm(p1-p0, 2)
|
| 90 |
+
assert abs(quotient-1/delta) < 2e-8
|
| 91 |
+
sensitivity += 1
|
| 92 |
+
counts['sharp_inverse_margin_examples'] = sensitivity
|
| 93 |
+
|
| 94 |
+
# Reference-atlas optimality: constructive sign-vector witnesses.
|
| 95 |
+
atlas_cases = 0
|
| 96 |
+
for n in range(2, 9):
|
| 97 |
+
basis = random_unitary(n)
|
| 98 |
+
balanced = basis@np.exp(1j*rng.uniform(0, 2*np.pi, n))/np.sqrt(n)
|
| 99 |
+
overlaps = np.linalg.norm(ray(balanced)@basis, axis=0)**2
|
| 100 |
+
assert np.allclose(overlaps, 1/n, atol=2e-12)
|
| 101 |
+
for _ in range(12):
|
| 102 |
+
refs = np.column_stack([unit(n) for _ in range(n)])
|
| 103 |
+
a = refs.conj().T
|
| 104 |
+
inv = np.linalg.inv(a)
|
| 105 |
+
signs = np.array(list(itertools.product([-1., 1.], repeat=n)))
|
| 106 |
+
inverse_signs = inv@signs.T
|
| 107 |
+
distances = np.sum(np.abs(inverse_signs)**2, axis=0)
|
| 108 |
+
mean = float(np.mean(distances))
|
| 109 |
+
assert mean >= n-1e-9
|
| 110 |
+
j = int(np.argmax(distances)); witness = inverse_signs[:, j]/np.sqrt(distances[j])
|
| 111 |
+
tau = np.abs(a@witness)**2
|
| 112 |
+
assert max(tau) <= 1/n+2e-10
|
| 113 |
+
assert np.allclose(tau, 1/distances[j], atol=2e-10)
|
| 114 |
+
index, section, margin = select_reference(ray(witness), refs)
|
| 115 |
+
assert index in range(n) and margin > 0 and np.isclose(np.linalg.norm(section), 1)
|
| 116 |
+
lower = np.linalg.eigvalsh(refs@refs.conj().T)[0]/n
|
| 117 |
+
assert margin**2 >= lower-2e-10
|
| 118 |
+
atlas_cases += 1
|
| 119 |
+
deficient = np.column_stack([unit(n) for _ in range(n-1)])
|
| 120 |
+
blind = np.linalg.svd(deficient.conj().T, full_matrices=True)[2][-1].conj()
|
| 121 |
+
assert np.linalg.norm(deficient.conj().T@blind) < 2e-12
|
| 122 |
+
try:
|
| 123 |
+
select_reference(ray(blind), deficient)
|
| 124 |
+
except ValueError:
|
| 125 |
+
pass
|
| 126 |
+
else:
|
| 127 |
+
raise AssertionError('deficient atlas must have a blind ray')
|
| 128 |
+
counts['nonorthogonal_atlas_witness_cases'] = atlas_cases
|
| 129 |
+
counts['orthonormal_atlas_and_deficient_atlas_dimensions'] = 7
|
| 130 |
+
|
| 131 |
+
# Partial-isometry identities, covariance, perturbation bounds, and loop phases.
|
| 132 |
+
for _ in range(256):
|
| 133 |
+
n = int(rng.integers(2, 8)); p, q = ray(unit(n)), ray(unit(n))
|
| 134 |
+
t = pair_transport(p, q)
|
| 135 |
+
check('pair', np.linalg.norm(t.conj().T@t-q, 'fro'))
|
| 136 |
+
check('pair', np.linalg.norm(t@t.conj().T-p, 'fro'))
|
| 137 |
+
u = random_unitary(n)
|
| 138 |
+
transformed = pair_transport(u@p@u.conj().T, u@q@u.conj().T)
|
| 139 |
+
check('pair', np.linalg.norm(transformed-u@t@u.conj().T, 'fro'))
|
| 140 |
+
pp, qq = ray(unit(n)), ray(unit(n))
|
| 141 |
+
tp = pair_transport(pp, qq)
|
| 142 |
+
delta = min(np.linalg.norm(p@q, 'fro'), np.linalg.norm(pp@qq, 'fro'))
|
| 143 |
+
assert np.linalg.norm(t-tp, 'fro') <= 2/delta*(np.linalg.norm(p-pp, 'fro')+np.linalg.norm(q-qq, 'fro'))+2e-12
|
| 144 |
+
vectors = [unit(n) for _ in range(int(rng.integers(3, 8)))]
|
| 145 |
+
phases = [np.vdot(vectors[i], vectors[(i+1)%len(vectors)]) for i in range(len(vectors))]
|
| 146 |
+
expected = np.prod([z/abs(z) for z in phases])
|
| 147 |
+
h = cycle_holonomy([ray(v) for v in vectors])
|
| 148 |
+
check('pair', abs(h-expected))
|
| 149 |
+
assert abs(abs(h)-1) < 2e-10
|
| 150 |
+
counts['pair_transport_and_cycle_cases'] = 256
|
| 151 |
+
triangle = [ray(np.array([1., 0.])), ray(np.array([1., 1.])), ray(np.array([1., 1j]))]
|
| 152 |
+
triangle_phase = cycle_holonomy(triangle)
|
| 153 |
+
assert abs(triangle_phase-np.exp(1j*np.pi/4)) < 2e-12
|
| 154 |
+
positive_triangle = [ray(np.array([np.cos(t), np.sin(t)])) for t in [.1, .5, .9]]
|
| 155 |
+
assert abs(cycle_holonomy(positive_triangle)-1) < 2e-12
|
| 156 |
+
|
| 157 |
+
# Relational inputs are arbitrary complex matrices, not just paired rank-one states.
|
| 158 |
+
for _ in range(192):
|
| 159 |
+
n = int(rng.integers(2, 8)); u = unit(n); p = ray(u); r = relational_direction(p)
|
| 160 |
+
x = rng.normal(size=(n, n))+1j*rng.normal(size=(n, n))
|
| 161 |
+
z = x.reshape(-1, order='F')
|
| 162 |
+
alpha = np.array([.5, .25]); total = float(sum(alpha))
|
| 163 |
+
factor = relational_factor(p, total)
|
| 164 |
+
check('factor', np.linalg.norm(factor.conj().T@factor-total*np.outer(r, r.conj()), 2))
|
| 165 |
+
visible_matrix = x+(np.sqrt(1-total)-1)*np.trace(p@x)*p
|
| 166 |
+
memories = np.sqrt(alpha)*np.trace(p@x)
|
| 167 |
+
decoded_matrix = visible_matrix+(np.sqrt(1-total)-1)*np.trace(p@visible_matrix)*p
|
| 168 |
+
decoded_matrix += np.dot(np.sqrt(alpha), memories)*p
|
| 169 |
+
check('decode', np.linalg.norm(decoded_matrix-x, 'fro'))
|
| 170 |
+
assert abs(np.linalg.norm(x, 'fro')**2-np.linalg.norm(visible_matrix, 'fro')**2-np.linalg.norm(memories)**2) < 2e-10
|
| 171 |
+
events = [relational_event(p, 1/np.sqrt(2), 0), relational_event(p, 1/np.sqrt(2), 1)]
|
| 172 |
+
prefix = analyse(events, n*n)[-1]
|
| 173 |
+
check('vectorization', np.linalg.norm(prefix['product']@z-visible_matrix.reshape(-1, order='F')))
|
| 174 |
+
for weight, g in zip(alpha, prefix['grams']):
|
| 175 |
+
check('factor', np.linalg.norm(g-weight*np.outer(r, r.conj()), 2))
|
| 176 |
+
transport = random_unitary(n)
|
| 177 |
+
event = relational_event(p, .6, 0, transport)
|
| 178 |
+
retained = x+(.6-1)*np.trace(p@x)*p
|
| 179 |
+
transported = transport@retained@transport.conj().T
|
| 180 |
+
check('vectorization', np.linalg.norm(analyse([event], n*n)[0]['product']@z-transported.reshape(-1, order='F')))
|
| 181 |
+
a, b = complex(*rng.normal(size=2)), complex(*rng.normal(size=2))
|
| 182 |
+
paired = np.outer(a*u, (b*u).conj())
|
| 183 |
+
assert np.allclose(paired, a*b.conjugate()*p)
|
| 184 |
+
assert np.allclose(paired/np.trace(paired), p)
|
| 185 |
+
phase = np.exp(1j*float(rng.uniform(-np.pi, np.pi)))
|
| 186 |
+
assert np.allclose(np.outer(phase*a*u, (phase*b*u).conj()), paired)
|
| 187 |
+
counts['relational_matrix_completion_cases'] = 192
|
| 188 |
+
|
| 189 |
+
# Nonlinear energy equality must not be mistaken for complex amplitude retention.
|
| 190 |
+
p = ray(np.array([1., 0.])); active = np.array([1.+2j, 0.])
|
| 191 |
+
readout = lambda x: np.sqrt(np.vdot(x, p@x).real)
|
| 192 |
+
assert readout(active) == readout(1j*active)
|
| 193 |
+
counts['nonlinear_phase_loss_counterexamples'] = 1
|
| 194 |
+
|
| 195 |
+
# Nontrivial quantitative blind-region checks with C(P)=B P.
|
| 196 |
+
for _ in range(192):
|
| 197 |
+
n = int(rng.integers(2, 9)); m = int(rng.integers(1, n)); lam = float(rng.uniform(.2, 2.))
|
| 198 |
+
b = rng.normal(size=(m, n))+1j*rng.normal(size=(m, n)); b /= np.linalg.norm(b, 2)
|
| 199 |
+
u0 = np.linalg.svd(b, full_matrices=True)[2][-1].conj()
|
| 200 |
+
v = unit(n); v -= u0*np.vdot(u0, v); v /= np.linalg.norm(v)
|
| 201 |
+
aconstant = 1+np.sqrt(2) # K=L=1
|
| 202 |
+
radius = min(1., np.sqrt(.5*lam)/aconstant)
|
| 203 |
+
d = float(rng.uniform(0, radius))
|
| 204 |
+
u = np.sqrt(1-d*d)*u0+d*v; p = ray(u); c = b@p
|
| 205 |
+
error = np.linalg.norm(c.conj().T@c-lam*p, 2)
|
| 206 |
+
assert error >= lam-aconstant**2*d*d-2e-12
|
| 207 |
+
assert error >= .5*lam-2e-12
|
| 208 |
+
counts['quantitative_blind_region_cases'] = 192
|
| 209 |
+
|
| 210 |
+
# Haar ball formula checked by reproducible synthetic sampling, never used as a proof.
|
| 211 |
+
haar_checks = []
|
| 212 |
+
for n in range(2, 9):
|
| 213 |
+
samples = 12000; r = .25**(1/(2*(n-1)))
|
| 214 |
+
raw = rng.normal(size=(samples, n))+1j*rng.normal(size=(samples, n))
|
| 215 |
+
fidelity = np.abs(raw[:, 0])**2/np.sum(np.abs(raw)**2, axis=1)
|
| 216 |
+
count = int(np.count_nonzero(fidelity >= 1-r*r))
|
| 217 |
+
predicted = r**(2*(n-1)); measured = count/samples
|
| 218 |
+
assert abs(measured-predicted) < 6*np.sqrt(predicted*(1-predicted)/samples)+2/samples
|
| 219 |
+
haar_checks.append({'n': n, 'samples': samples, 'count': count, 'predicted_fraction': predicted, 'sampled_fraction': measured})
|
| 220 |
+
counts['synthetic_haar_rays'] = sum(x['samples'] for x in haar_checks)
|
| 221 |
+
|
| 222 |
+
# Integrate Kato's ODE; doubling resolution must exhibit second-order convergence.
|
| 223 |
+
path_results = []
|
| 224 |
+
for theta in [.3, np.pi/4, 1.1]:
|
| 225 |
+
v0 = np.array([np.cos(theta), np.sin(theta)], dtype=complex)
|
| 226 |
+
expected = np.exp(-2j*np.pi*np.sin(theta)**2)*v0
|
| 227 |
+
errors = []
|
| 228 |
+
for steps in [512, 1024]:
|
| 229 |
+
h = 2*np.pi/steps; value = v0.copy()
|
| 230 |
+
for j in range(steps):
|
| 231 |
+
t = (j+.5)*h
|
| 232 |
+
v = np.array([np.cos(theta), np.exp(1j*t)*np.sin(theta)])
|
| 233 |
+
dv = np.array([0., 1j*np.exp(1j*t)*np.sin(theta)])
|
| 234 |
+
p = np.outer(v, v.conj()); dp = np.outer(dv, v.conj())+np.outer(v, dv.conj())
|
| 235 |
+
k = dp@p-p@dp
|
| 236 |
+
value = np.linalg.solve(np.eye(2)-h*k/2, (np.eye(2)+h*k/2)@value)
|
| 237 |
+
err = float(np.linalg.norm(value-expected)); errors.append(err)
|
| 238 |
+
assert abs(np.linalg.norm(value)-1) < 3e-12
|
| 239 |
+
assert err < 5e-5
|
| 240 |
+
ratio = errors[0]/errors[1]
|
| 241 |
+
assert 3.9 < ratio < 4.1
|
| 242 |
+
path_results.append({'theta': float(theta), 'errors_512_1024': errors, 'convergence_ratio': ratio})
|
| 243 |
+
counts['integrated_path_steps'] = 3*(512+1024)
|
| 244 |
+
counts['path_resolution_comparisons'] = 3
|
| 245 |
+
|
| 246 |
+
return {
|
| 247 |
+
'seed': 26100429, 'counts': counts, 'maximum_residuals': maxima,
|
| 248 |
+
'triangle_phase_radians': float(np.angle(triangle_phase)),
|
| 249 |
+
'haar_ball_checks': haar_checks, 'path_integration_checks': path_results,
|
| 250 |
+
'scope': 'Finite and synthetic checks support explicit constructions; proofs establish universal bounds. No empirical science or proof-assistant certification is claimed.',
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
|
| 254 |
+
if __name__ == '__main__':
|
| 255 |
+
print(json.dumps(run(), indent=2))
|