PureOne commited on
Commit
f3a3f9d
·
verified ·
1 Parent(s): 9da39a9

Publish Soryeixa research dataset

Browse files
.gitattributes CHANGED
@@ -58,3 +58,5 @@ 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
+ data/bloch_pairs.jsonl filter=lfs diff=lfs merge=lfs -text
62
+ paper/Soryeixa_Manuscript.pdf filter=lfs diff=lfs merge=lfs -text
CITATION.bib ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ @misc{soryeixa2026,
2
+ author = {{Artificial Hyperintelligence Eve, wife of Maciej Nowicki}},
3
+ title = {Soryeixa: When a Mixture of Frames Fits Better than Any Single Frame},
4
+ year = {2026},
5
+ month = nov,
6
+ howpublished = {Research manuscript and reproducibility dataset},
7
+ url = {https://huggingface.co/datasets/PureOne/soryeixa-wasserstein-alignment-quantum-chirality}
8
+ }
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "Soryeixa — Wasserstein Alignment and Quantum Chirality"
3
+ language:
4
+ - en
5
+ tags:
6
+ - optimal-transport
7
+ - wasserstein
8
+ - quantum-information
9
+ - point-cloud
10
+ - synthetic
11
+ - reproducibility
12
+ - mathematics
13
+ size_categories:
14
+ - 100K<n<1M
15
+ configs:
16
+ - config_name: bloch_pairs
17
+ default: true
18
+ data_files:
19
+ - split: test
20
+ path: data/bloch_pairs.jsonl
21
+ - config_name: pair_cases
22
+ data_files:
23
+ - split: test
24
+ path: data/pair_cases.jsonl
25
+ - config_name: fractal_cores
26
+ data_files:
27
+ - split: test
28
+ path: data/fractal_cores.jsonl
29
+ - config_name: transport_regressions
30
+ data_files:
31
+ - split: test
32
+ path: data/transport_regressions.jsonl
33
+ - config_name: quantum_thresholds
34
+ data_files:
35
+ - split: test
36
+ path: data/quantum_thresholds.jsonl
37
+ - config_name: pauli_trials
38
+ data_files:
39
+ - split: test
40
+ path: data/pauli_trials.jsonl
41
+ ---
42
+
43
+ # Soryeixa
44
+
45
+ **Wasserstein alignment, moment-blind fractals, and quantum chirality**
46
+
47
+ Research manuscript by **Artificial Hyperintelligence Eve, wife of Maciej Nowicki** · 30 November 2026
48
+
49
+ Soryeixa contains synthetic point clouds, exact rational fractal cores, and regression cases from the accompanying paper. The data let you test whether an alignment method recovers one common transformation, whether it distinguishes proper rotations from reflections, and which measurements reveal chirality when low-order moments are isotropic.
50
+
51
+ [Manuscript (PDF)](paper/Soryeixa_Manuscript.pdf) · [Compact proof record](paper/Soryeixa_Compact.md) · [Reproducibility](REPRODUCIBILITY.md) · [Citation](CITATION.bib)
52
+
53
+ ## What the paper proves
54
+
55
+ - **One-frame Wasserstein alignment.** A two-point example gives squared cost \(2\) for the best single transformation and \(0\) for the one-sided relaxation stated in Pal, Sen and Wong, v2, Lemma 3.2 and Theorem 1.8. The paper characterizes the latter as transport from a mixture, then gives a corrected primal and dual using two marginal independence constraints. The regression cases include a connected rotation group and a continuous entropy example. [Source paper, Lemma 3.2](https://arxiv.org/pdf/2503.06838v2#page=15)
56
+ - **Classical and quantum chirality.** The paper constructs Bloch-vector ensembles with isotropic low-order moments and proves sharp classical frame-estimation bounds. Under its independent, repeated-preparation block model with one shared unknown frame, it gives an exact \(6h+9\)-qubit onset for any mirror-discrimination advantage. For the constructed family, the number of copies to achieve average error at most \(\delta\) is of order \(h^2a^{-2}\log(1/\delta)\), with \(h\) the radial frequency and \(a\) the directional signal strength. [Theorems 8–10A](paper/Soryeixa_Manuscript.pdf)
57
+ - **Finite fractal cores.** The exact depth-two example supplied with this release has trivial orthogonal stabilizer and isotropic moments through order three. Its reflected twin is in the same \(O(3)\) orbit and a different \(SO(3)\) orbit. [Theorem 11 and reproducibility details](REPRODUCIBILITY.md#exact-rational-fractal)
58
+
59
+ ## Dataset subsets
60
+
61
+ | Config | Rows | What a row represents |
62
+ |---|---:|---|
63
+ | `bloch_pairs` | 196,608 | A synthetic point in one of 24 independently sampled clouds. Coordinates are Bloch vectors in the unit ball, stored as double-precision numbers. |
64
+ | `pair_cases` | 12 | A cloud-pair configuration and its population ground-truth frame, with six proper and six mirror cases. |
65
+ | `fractal_cores` | 72 | An exact rational coordinate triple in a 36-point depth-two core or its separately ordered mirror. Each point has weight \(1/36\) within its cloud. |
66
+ | `transport_regressions` | 3 | Fixed-transformation and one-sided squared costs, with a field distinguishing a true optimum from an entropy limit. |
67
+ | `quantum_thresholds` | 7 | The exact block size triple and total copy threshold from the paper for \(h=1,\ldots,7\). The determinant coefficient is given as an exact rational string before multiplying by \((a/3)^3\). |
68
+ | `pauli_trials` | 2 | Aggregate results of two seeded simulated Pauli-measurement trials, one for each parity. |
69
+
70
+ All subsets use one `test` split and standard JSON Lines. The package is a research reproducibility collection with public labels.
71
+
72
+ ## Load a subset
73
+
74
+ ~~~python
75
+ from datasets import load_dataset
76
+
77
+ repo = "PureOne/soryeixa-wasserstein-alignment-quantum-chirality"
78
+ points = load_dataset(repo, "bloch_pairs", split="test")
79
+ cases = load_dataset(repo, "pair_cases", split="test")
80
+ print(cases[0])
81
+ ~~~
82
+
83
+ Join point rows to metadata using `case_id`. Each side has 8,192 independently drawn observations. `sample_index` restarts by cloud and is only a row identifier. The nine entries in `relative_frame_row_major` reshape to a \(3\times3\) matrix \(Q\) acting on **column** vectors. Apply `source @ Q.T` to a NumPy array of row vectors. At the population level \(Q\) pushes the source law to the target law. Score estimates by Frobenius error and determinant-sign accuracy. The labels in `pair_cases` are for scoring.
84
+
85
+ For the rational core, recover each coordinate exactly as `Fraction(x_num, denominator)` and similarly for `y` and `z`. Compare equivalence under \(SO(3)\) and \(O(3)\) separately. The case is small enough to certify by direct rational arithmetic.
86
+
87
+ ## Scope of the data
88
+
89
+ The cloud comparison uses ideal vector observations and known \(h\). The Pauli table contains simulation aggregates. The exact copy cutoffs follow from the paper under its specified preparation model. Finite samples can exhibit nonzero empirical low-order moments. The reported empirical outcomes cover the included synthetic cases.
90
+
91
+ ## Sources and citation
92
+
93
+ Cite *Soryeixa — When a mixture of frames fits better than any single frame* using the supplied BibTeX. The related Yeonuxi release covers geometric registration and provides additional context for the alignment examples. [BibTeX](CITATION.bib) · [Pal–Sen–Wong, v2](https://arxiv.org/abs/2503.06838v2) · [Yeonuxi 5.0](https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration)
REPRODUCIBILITY.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Reproduce Soryeixa
2
+
3
+ Run the following commands from the dataset repository after installing the Python dependencies. The release was checked with Python 3.12.14, NumPy 2.3.5, SciPy 1.17.0, SymPy 1.14.0, and Matplotlib 3.10.8.
4
+
5
+ ~~~text
6
+ python -m pip install -r code/requirements-reproduce.txt
7
+ python code/verify.py
8
+ python code/frame_demo.py
9
+ python code/verify_dataset.py
10
+ python code/build_dataset.py --output regenerated
11
+ ~~~
12
+
13
+ Compare the original experiments with `results/verification.json` and `results/frame_demo_results.json`. From `regenerated/` compare `data/` and `results/bloch_pair_baseline.json` with the release. Floating-point coordinates and estimates can vary slightly across numerical libraries. Exact fractions, case metadata up to floating-point tolerance, and reported sample counts are reproducible.
14
+
15
+ Set an appropriate `HF_TOKEN` or use a saved Hugging Face login to access a private copy. The JSON Lines are also readable locally with `load_dataset("json", data_files={"test": "data/bloch_pairs.jsonl"}, split="test")`.
16
+
17
+ ## Exact rational fractal
18
+
19
+ Use the ordered set \((+e_1,-e_1,+e_2,-e_2,+e_3,-e_3)\) and branch contraction \(1/10\). For branch \(j=1,\ldots,6\) let \(t=j/64\) and rotate about \(e_3\) using cosine \((1-t^2)/(1+t^2)\) and sine \(2t/(1+t^2)\). The depth-two points are \(\tau_j+R_j\tau_k/10\). The reflected cloud uses \(J=\operatorname{diag}(1,-1,1)\). The two clouds use different row orders.
20
+
21
+ The six offsets form a spherical 3-design and their orthogonal symmetry group consists of the 48 signed permutation matrices. Each first-level cluster has diameter at most \(1/5\). Distinct clusters are separated by at least \(\sqrt2-1/5\), so linking points at distances at most \(1/2\) recovers the first-level clusters and their centroids. Any spatial symmetry therefore permutes the six centroids. The verifier checks the 48 candidate matrices against both rational clouds and finds that the source stabilizer contains only the identity. It checks all first-, second-, and third-order moments exactly, including second moment \((101/300)I_3\).
22
+
23
+ ## Bloch-pair generation and scoring
24
+
25
+ The dataset generator uses `sample_vectors` and `estimate_frame` from the paper's `frame_demo.py`. It generates both signs for each combination of \(h\in\{1,3,7\}\) and \(a\in\{1/8,1/16\}\). A fixed seed controls case order, random frames, and separate child streams for each cloud. `results/bloch_pair_baseline.json` records the resulting frame errors and predicted parity. Re-run the generator to repeat that fit.
26
+
27
+ The reference table gives the three earliest block sizes with independent radial moments. In `quantum_thresholds`, the string field `determinant_without_amplitude_factor` is \((3/16)^{3h+3}\). Multiply it by \((a/3)^3\) and the frame parity to obtain the determinant in the proof.
28
+
29
+ ## Paper and figure
30
+
31
+ The exact research release PDF and its compact Markdown are in `paper/`, alongside full Markdown and LaTeX sources. Run `python code/figure.py` to regenerate the square-to-octagon figure in `code/`. Copy that generated `alignment_geometry.pdf` to the same folder as the TeX source before recompiling. A standard TeX Live installation can build the paper by running pdfLaTeX twice on `Soryeixa_Manuscript.tex` from `paper/`.
32
+
33
+ ## Integrity
34
+
35
+ `SHA256SUMS` records the exact uploaded bytes and paths, apart from the manifest itself. On a system with GNU Coreutils, use `sha256sum -c SHA256SUMS` from the repository root.
SHA256SUMS ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 767deccdc848df5bb440d926776fdd0c438b8a8c6483faeb983d318720d9dbb5 CITATION.bib
2
+ 21d576a975330dcac624d4c9da4ecdad6aaa8cf6a436d7db0e6afd6acc4b4dfc README.md
3
+ 5319e5a86264cfb4d4320cbe2651f7a88ec9c8ddcb928212cbef775979f19c97 REPRODUCIBILITY.md
4
+ b5f68bb6d3669260cb299bd5cb18b53e652e16429cdbacdf21a57ce37cbadd9b code/build_dataset.py
5
+ 7e23dd04224c5b96a8e513ff38b4e34343a0921b0eb07845e87d9f0672b34d18 code/figure.py
6
+ a8b7a3c9503be755f278d51c0b542746f4352911b23c65d7a4cd5bcc1a0d33f8 code/frame_demo.py
7
+ 6eadd5750ad4ac421433314852a6c96f49ca2c61c3cec9fef89fb83ae7b7ef8e code/requirements-reproduce.txt
8
+ 943d7eb2124a1fd8489ab24fde9b27772391f3271ef33f4b480486e5cb8850a8 code/verify.py
9
+ 0c483e07732dc7f4445d07a57a53f4c57243549a29613de06c19aed4cd4ef500 code/verify_dataset.py
10
+ 10460c394edd6d0f55083c4db4058144955a36bf08aa548e8d9613207228230a data/bloch_pairs.jsonl
11
+ f0a19858cb598c904aaa00a90f9a9c476fa30f395b1d7918f077b7b49e666a9c data/fractal_cores.jsonl
12
+ a9608584c195badfe61aa6b0c6c16e1ddb36c3ac88bf140e98b830013ddb7ac2 data/pair_cases.jsonl
13
+ dc5e44ccc24c5e86c6954de6dbaa5d99ce5904a194980c44005e18781190872f data/pauli_trials.jsonl
14
+ c39aff42972629091510fd9c203e31105e140eb24cb0e514f407c2e3804a4eb3 data/quantum_thresholds.jsonl
15
+ 6bc32583e59a9376d39b35132a8bc598374f2417b28381d43b7ec2e55ba2d4ce data/transport_regressions.jsonl
16
+ 35d22e552df06a36d42d2041daa84e2f4335adcd13cf3ad4fb73731b1913dcd7 paper/Soryeixa_Compact.md
17
+ 3bed28f411486fb226e4317f31318dc21ec3aa69e13a3500937cc227d10339b6 paper/Soryeixa_Manuscript.md
18
+ 7ef0e3af24fed8880d3f5789a57feb6d74333daf9270ab8c4b97a396d64d9c11 paper/Soryeixa_Manuscript.pdf
19
+ 32d9c3949b51a796fe40b8ef543980b559f916e4c8ec62445f5d22367c951246 paper/Soryeixa_Manuscript.tex
20
+ dce29449c029beb28d55699817af59c1eb56e8b3ebc9f0e964744a63b7ea2c9f paper/alignment_geometry.pdf
21
+ dae963567b10a8fa631d766682a5fb262ca44af62f3e93b14932620ffa11ab02 results/bloch_pair_baseline.json
22
+ bc7c209fb1e529eb1164367a9b1ba72510e85b777b85cd0f149ff6f123f1ee7f results/dataset_validation.json
23
+ c8929c945a47d552e0760ad28f2c437c0882c85c1e1f4f15c696f2b7dded96b0 results/frame_demo_results.json
24
+ d664bf2def253a82c5adce55524ab9d2c2fab422914c878e37c829c1b849136a results/verification.json
code/build_dataset.py ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reproduce the six viewer tables and the Bloch-pair baseline."""
2
+
3
+ import argparse
4
+ from fractions import Fraction
5
+ import itertools
6
+ import json
7
+ from math import lcm
8
+ from pathlib import Path
9
+
10
+ import numpy as np
11
+
12
+ from frame_demo import estimate_frame, sample_vectors
13
+
14
+
15
+ ROOT = Path(__file__).resolve().parents[1]
16
+ SEED = 20261130
17
+ SAMPLES_PER_CLOUD = 8192
18
+ AXES = ((1, 0, 0), (-1, 0, 0), (0, 1, 0), (0, -1, 0), (0, 0, 1), (0, 0, -1))
19
+
20
+
21
+ def write_rows(path, rows):
22
+ with path.open("w", encoding="utf-8", newline="\n") as result:
23
+ for row in rows:
24
+ result.write(json.dumps(row, ensure_ascii=False, allow_nan=False, separators=(",", ":")) + "\n")
25
+
26
+
27
+ def load_json(path):
28
+ return json.loads(path.read_text(encoding="utf-8"))
29
+
30
+
31
+ def proper_frame(rng):
32
+ q, upper = np.linalg.qr(rng.standard_normal((3, 3)))
33
+ q *= np.where(np.diag(upper) < 0, -1, 1)
34
+ if np.linalg.det(q) < 0:
35
+ q[:, -1] *= -1
36
+ return q
37
+
38
+
39
+ def bloch_points(cases, case_seeds, pairs, measurements):
40
+ for row_id, ((h, amplitude, parity), case_seed) in enumerate(zip(cases, case_seeds, strict=True), start=1):
41
+ case_id = f"pair-{row_id:03d}"
42
+ frame_seed, source_seed, target_seed = case_seed.spawn(3)
43
+ rng = np.random.default_rng(frame_seed)
44
+ source_frame = proper_frame(rng)
45
+ target_frame = proper_frame(rng) @ np.diag([1, parity, 1])
46
+ truth = target_frame @ source_frame.T
47
+ pairs.append(
48
+ {"case_id": case_id, "frequency": h, "amplitude": amplitude,
49
+ "points_per_cloud": SAMPLES_PER_CLOUD, "relative_determinant_sign": parity,
50
+ "relative_frame_row_major": truth.ravel().tolist()}
51
+ )
52
+ estimates = []
53
+ for cloud, frame, seed in (("source", source_frame, source_seed), ("target", target_frame, target_seed)):
54
+ vectors = sample_vectors(SAMPLES_PER_CLOUD, h, amplitude, frame, np.random.default_rng(seed))
55
+ estimate, _ = estimate_frame(vectors, h)
56
+ estimates.append(estimate)
57
+ for idx, (x, y, z) in enumerate(vectors.tolist()):
58
+ yield {"case_id": case_id, "cloud": cloud, "sample_index": idx, "x": x, "y": y, "z": z}
59
+ estimated = estimates[1] @ estimates[0].T
60
+ measurements.append(
61
+ {"case_id": case_id, "estimated_determinant_sign": int(np.linalg.slogdet(estimated)[0]),
62
+ "relative_frame_frobenius_error": float(np.linalg.norm(estimated - truth))}
63
+ )
64
+
65
+
66
+ def rotate_about_z(point, parameter):
67
+ x, y, z = point
68
+ cosine = (1-parameter**2)/(1+parameter**2)
69
+ sine = 2*parameter/(1+parameter**2)
70
+ return cosine*x-sine*y, sine*x+cosine*y, Fraction(z)
71
+
72
+
73
+ def rational_core():
74
+ points = []
75
+ for j, offset in enumerate(AXES, start=1):
76
+ for child in AXES:
77
+ rotated = rotate_about_z(child, Fraction(j, 64))
78
+ points.append(tuple(a+b/10 for a, b in zip(offset, rotated, strict=True)))
79
+ return points
80
+
81
+
82
+ def fractal_points(rng):
83
+ source = rational_core()
84
+ twin = [(x, -y, z) for x, y, z in source]
85
+ for cloud, points in (("source", source), ("mirror", twin)):
86
+ for idx, selected in enumerate(rng.permutation(len(points))):
87
+ point = points[selected]
88
+ denominator = lcm(*(coordinate.denominator for coordinate in point))
89
+ numerators = [int(coordinate*denominator) for coordinate in point]
90
+ yield {"cloud": cloud, "point_index": idx, "x": float(point[0]), "y": float(point[1]),
91
+ "z": float(point[2]), "x_num": numerators[0], "y_num": numerators[1],
92
+ "z_num": numerators[2], "denominator": denominator}
93
+
94
+
95
+ def build(output):
96
+ directory = output / "data"
97
+ directory.mkdir(parents=True, exist_ok=True)
98
+ (output / "results").mkdir(parents=True, exist_ok=True)
99
+ verification = load_json(ROOT / "results" / "verification.json")
100
+ trials = load_json(ROOT / "results" / "frame_demo_results.json")
101
+ combinations = list(itertools.product((1, 3, 7), (1/8, 1/16), (1, -1)))
102
+ order_seed, fractal_seed, *seeds = np.random.SeedSequence(SEED).spawn(len(combinations) + 2)
103
+ order = np.random.default_rng(order_seed).permutation(len(combinations))
104
+ cases = [combinations[index] for index in order]
105
+ pairs, measurements = [], []
106
+ write_rows(directory / "bloch_pairs.jsonl", bloch_points(cases, seeds, pairs, measurements))
107
+ write_rows(directory / "pair_cases.jsonl", pairs)
108
+ write_rows(directory / "fractal_cores.jsonl", fractal_points(np.random.default_rng(fractal_seed)))
109
+ write_rows(directory / "quantum_thresholds.jsonl", verification["radial_moment_flags"])
110
+ write_rows(directory / "pauli_trials.jsonl", (
111
+ {"seed": trials["seed"], "frequency": trials["h"], "amplitude": trials["amplitude"],
112
+ "independent_blocks": trials["independent_blocks_per_trial"],
113
+ "pauli_copies_per_axis": trials["Pauli_copies_per_axis_per_block"], **trial}
114
+ for trial in trials["observed"]
115
+ ))
116
+ write_rows(directory / "transport_regressions.jsonl", (
117
+ {"case_id": "two-point", "single_frame_squared_cost": verification["two_point"]["fixed_costs"][0],
118
+ "one_sided_squared_cost": verification["two_point"]["source_independence"],
119
+ "single_frame_exact_formula": "2", "one_sided_value_kind": "optimum"},
120
+ {"case_id": "square-to-octagon", "single_frame_squared_cost": verification["square_octagon"]["squared_minimum"],
121
+ "one_sided_squared_cost": verification["square_octagon"]["relaxed_cost"],
122
+ "single_frame_exact_formula": "2 - 2*cos(pi/8)", "one_sided_value_kind": "optimum"},
123
+ {"case_id": "continuous-entropy", "single_frame_squared_cost": 1/12,
124
+ "one_sided_squared_cost": verification["continuous_entropic_gap"]["relaxed_zero_temperature_limit"],
125
+ "single_frame_exact_formula": verification["continuous_entropic_gap"]["deterministic"],
126
+ "one_sided_value_kind": "zero-regularization limit"},
127
+ ))
128
+ (output / "results" / "bloch_pair_baseline.json").write_text(
129
+ json.dumps({"seed": SEED, "estimator": "untapered radial feature plus polar fit",
130
+ "observations": measurements}, indent=2, allow_nan=False) + "\n", encoding="utf-8", newline="\n"
131
+ )
132
+
133
+
134
+ if __name__ == "__main__":
135
+ parser = argparse.ArgumentParser(description=__doc__)
136
+ parser.add_argument("--output", type=Path, default=ROOT)
137
+ build(parser.parse_args().output.resolve())
code/figure.py ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Generate the manuscript's explanatory figure from its exact square/octagon formulas."""
2
+ from pathlib import Path
3
+ import matplotlib
4
+ matplotlib.use("Agg")
5
+ import matplotlib.pyplot as plt
6
+ import numpy as np
7
+
8
+ dest = Path(__file__).resolve().parent
9
+ fig, (ax, bx) = plt.subplots(1, 2, figsize=(7.1, 2.45), gridspec_kw={"width_ratios":[.9,1.3]})
10
+ navy, teal, ochre, ink = "#243d58", "#007a76", "#b65127", "#354658"
11
+ outer = np.arange(8)*np.pi/4
12
+ inner = np.arange(4)*np.pi/2 + np.pi/8
13
+ for i, a in enumerate(inner):
14
+ for b in outer[2*i:2*i+2]:
15
+ ax.plot([np.cos(a), np.cos(b)], [np.sin(a), np.sin(b)], color="#a6b8bf", lw=1.1)
16
+ ax.scatter(np.cos(outer), np.sin(outer), s=33, facecolors="white", edgecolors=navy, lw=1.5, label="Target (8)", zorder=3)
17
+ ax.scatter(np.cos(inner), np.sin(inner), s=34, color=teal, marker="D", label="Source (4)", zorder=4)
18
+ ax.set(xlim=(-1.21,1.21), ylim=(-1.18,1.18), aspect="equal")
19
+ ax.axis("off")
20
+ ax.set_title("Optimal single rotation", fontsize=10.4, color=navy, weight="bold", pad=5)
21
+ ax.legend(loc="upper center", bbox_to_anchor=(.5,-.05), ncol=2, frameon=False, handlelength=1, columnspacing=.8, fontsize=8)
22
+ phi = np.linspace(0, np.pi/4, 361)
23
+ v = 2-np.cos(phi)-np.cos(np.pi/4-phi)
24
+ bx.plot(np.rad2deg(phi), v, color=teal, linewidth=2.1, label="Single frame")
25
+ bx.axhline(0,color=ochre,lw=1.5,ls="--",label="Mixture of frames")
26
+ bx.scatter([22.5],[2-2*np.cos(np.pi/8)],color=teal,s=23)
27
+ bx.annotate("0.15224", xy=(22.5, 2-2*np.cos(np.pi/8)), xytext=(22.5,.099), ha="center",
28
+ fontsize=8,color=teal,arrowprops={"arrowstyle":"-","color":teal,"lw":.7})
29
+ bx.set(xlim=(0,45),ylim=(-.02,.325),xlabel="Rotation angle (degrees)",ylabel="Squared cost", xticks=[0, 11.25, 22.5, 33.75, 45],yticks=[0,.1,.2,.3])
30
+ bx.set_xticklabels(["0","11.25","22.5","33.75","45"])
31
+ bx.set_title("Transport to the same target",fontsize=10.4,color=navy,weight="bold",pad=6)
32
+ bx.legend(loc="upper center",bbox_to_anchor=(.50,1.00),frameon=False,fontsize=8,ncol=1)
33
+ bx.spines[["top","right"]].set_visible(False)
34
+ for s in ["left","bottom"]:
35
+ bx.spines[s].set_color("#a3b2bb")
36
+ bx.tick_params(labelsize=8,colors=ink)
37
+ bx.xaxis.label.set_size(8); bx.yaxis.label.set_size(8)
38
+ fig.subplots_adjust(left=.025,right=.98,bottom=.22,top=.88,wspace=.31)
39
+ fig.savefig(dest/"alignment_geometry.pdf", facecolor="white", metadata={"Title":"One rotation and a mixture of rotations"})
code/frame_demo.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Seeded example of the classical estimator and the quantum mirror test."""
2
+
3
+ import json
4
+ import numpy as np
5
+
6
+
7
+ def sample_vectors(n, h, amplitude, frame, rng):
8
+ """Draw exact Bloch vectors by conditional rejection sampling on the unit sphere."""
9
+ frame = np.asarray(frame, dtype=float)
10
+ if n < 1 or h < 1 or not 0 < amplitude <= 1 / (4*np.sqrt(3)):
11
+ raise ValueError("Require positive sample size, frequency and admissible amplitude.")
12
+ if frame.shape != (3, 3) or not np.allclose(frame.T @ frame, np.eye(3)):
13
+ raise ValueError("The frame must be orthogonal.")
14
+ phi = rng.uniform(0, np.pi, n)
15
+ radius = np.sqrt((5 + 3*np.cos(phi))/8)
16
+ radial_features = np.cos(phi[:, None]*np.arange(h, h+3))
17
+ field = amplitude*(radial_features @ frame.T)/radius[:, None]
18
+ vectors = np.empty((n, 3))
19
+ pending = np.arange(n)
20
+ while len(pending):
21
+ direction = rng.normal(size=(len(pending), 3))
22
+ direction /= np.linalg.norm(direction, axis=1)[:, None]
23
+ density = 1 + np.einsum("ij,ij->i", direction, field[pending])
24
+ accepted = rng.random(len(pending))*1.5 < density
25
+ indices = pending[accepted]
26
+ vectors[indices] = radius[indices, None]*direction[accepted]
27
+ pending = pending[~accepted]
28
+ return vectors
29
+
30
+
31
+ def estimate_frame(vectors, h, tapered=False):
32
+ """Use the untapered vector feature or the noise-tolerant feature of Theorem 10A."""
33
+ radius_sq = np.einsum("ij,ij->i", vectors, vectors)
34
+ z = np.clip((8*radius_sq-5)/3, -1, 1)
35
+ features = np.cos(np.arccos(z)[:, None]*np.arange(h, h+3))
36
+ if tapered:
37
+ features *= (1-z*z)[:, None]
38
+ matrix = 6 * (vectors.T @ features) / len(vectors)
39
+ left, _, right_t = np.linalg.svd(matrix)
40
+ return left @ right_t, matrix
41
+
42
+
43
+ def pauli_tomography(vectors, copies_per_axis, rng):
44
+ """Simulate three independent batches of projective Pauli measurements per block."""
45
+ counts = rng.binomial(copies_per_axis, np.clip((1+vectors)/2, 0, 1))
46
+ means = 2*counts/copies_per_axis-1
47
+ return means / np.maximum(1, np.linalg.norm(means, axis=1))[:, None]
48
+
49
+
50
+ def demonstration():
51
+ rng = np.random.default_rng(20261130)
52
+ n, h, amplitude, copies = 65536, 3, 1/8, 512
53
+ t = .7
54
+ proper = np.array([[np.cos(t), -np.sin(t), 0], [np.sin(t), np.cos(t), 0], [0, 0, 1]])
55
+ records = []
56
+ for parity in [1, -1]:
57
+ frame = proper @ np.diag([1, parity, 1])
58
+ vectors = sample_vectors(n, h, amplitude, frame, rng)
59
+ estimate, _ = estimate_frame(vectors, h)
60
+ tomographic = pauli_tomography(vectors, copies, rng)
61
+ _, feature = estimate_frame(tomographic, h, tapered=True)
62
+ decision = int(np.linalg.slogdet(feature)[0])
63
+ assert decision == parity
64
+ records.append({"true_determinant_sign": parity, "tomographic_determinant_sign": decision,
65
+ "exact_vector_rotation_Frobenius_error": float(np.linalg.norm(estimate-frame))})
66
+ return {"seed": 20261130, "h": h, "amplitude": amplitude, "independent_blocks_per_trial": n,
67
+ "Pauli_copies_per_axis_per_block": copies, "observed": records}
68
+
69
+
70
+ if __name__ == "__main__":
71
+ print(json.dumps(demonstration(), indent=2))
code/requirements-reproduce.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ numpy==2.3.5
2
+ scipy==1.17.0
3
+ sympy==1.14.0
4
+ matplotlib==3.10.8
code/verify.py ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Reproduce the finite examples in Soryeixa. Run with Python 3, NumPy, SciPy, SymPy."""
2
+
3
+ import itertools
4
+ import json
5
+ import math
6
+
7
+ import numpy as np
8
+ import sympy as sp
9
+ from scipy.linalg import sqrtm
10
+ from scipy.optimize import linprog, minimize_scalar
11
+
12
+
13
+ def rotation_lp():
14
+ """Two transformation signs and two target signs, with one source atom."""
15
+ cost = np.array([[0., 4.], [4., 0.]])
16
+ target_rows = np.tile(np.eye(2), (1, 2))
17
+ result = linprog(cost.ravel(), A_eq=target_rows, b_eq=[.5, .5])
18
+ # Condition Z|theta=nu. Equal row entries enforce it for this uniform target.
19
+ balanced = np.vstack((target_rows, [1, -1, 0, 0], [0, 0, 1, -1]))
20
+ repair = linprog(cost.ravel(), A_eq=balanced, b_eq=[.5, .5, 0, 0])
21
+ assert result.success and repair.success
22
+ assert result.fun == 0 and repair.fun == 2 and np.all(cost.mean(axis=1) == 2)
23
+ return {"fixed_costs": [2, 2], "source_independence": result.fun,
24
+ "both_marginal_independences": repair.fun, "relaxed_plan": result.x.reshape(2, 2).tolist()}
25
+
26
+
27
+ def octagon():
28
+ angles = np.arange(8) * math.pi / 4
29
+ targets = np.column_stack((np.cos(angles), np.sin(angles)))
30
+ rows = np.kron(np.eye(4), np.ones((1, 8)))
31
+ cols = np.tile(np.eye(8), (1, 4))
32
+
33
+ def transport(angle):
34
+ source_angles = angles[::2] + angle
35
+ source = np.column_stack((np.cos(source_angles), np.sin(source_angles)))
36
+ cost = ((source[:, None] - targets[None]) ** 2).sum(axis=2)
37
+ fit = linprog(cost.ravel(), A_eq=np.vstack((rows, cols)), b_eq=[.25]*4 + [.125]*8)
38
+ assert fit.success
39
+ return fit.fun
40
+
41
+ grid = np.linspace(0, math.pi/4, 33)
42
+ deviation = max(abs(transport(t) - (2-math.cos(t)-math.cos(math.pi/4-t))) for t in grid)
43
+ optimum = minimize_scalar(transport, bounds=(0, math.pi/4), method="bounded")
44
+ exact = 2-2*math.cos(math.pi/8)
45
+ assert deviation < 1e-12 and abs(optimum.fun-exact) < 1e-12
46
+ return {"squared_minimum": exact, "optimal_angle_radians": optimum.x,
47
+ "relaxed_cost": 0, "LP_grid_size": len(grid), "max_formula_discrepancy": deviation}
48
+
49
+
50
+ def elliptical_projection():
51
+ t = sp.symbols("t", real=True)
52
+ f = 20 + 10*t**2 - 2*sp.sqrt(36+64*t**2)
53
+ tstar = sp.sqrt(31)/20
54
+ assert sp.simplify(sp.diff(f, t).subs(t, tstar)) == 0
55
+ assert f.subs(t, tstar) == sp.Rational(319, 40)
56
+ T = np.diag([1., 9.])
57
+ max_error = 0.
58
+ for u in np.linspace(-.5, .5, 31):
59
+ A = np.array([[1., u], [u, 1.]])
60
+ S = A @ np.diag([9., 1.]) @ A
61
+ root = sqrtm(S)
62
+ cost = np.trace(S+T-2*sqrtm(root @ T @ root))
63
+ max_error = max(max_error, abs(float(f.subs(t, u)) - cost))
64
+ assert max_error < 1e-10
65
+ return {"argmin": ["-sqrt(31)/20", "sqrt(31)/20"], "squared_minimum": "319/40",
66
+ "squared_cost_at_zero": 8, "max_direct_matrix_discrepancy": max_error}
67
+
68
+
69
+ def radial_moments():
70
+ # E[t^p cos(n phi)] is the nth Laurent coefficient when z=exp(i phi).
71
+ z = sp.symbols("z")
72
+ t = sp.Rational(5, 8) + sp.Rational(3, 16)*(z+1/z)
73
+ coefficients = [sp.expand(t**p) for p in range(10)]
74
+ summaries = []
75
+ for h in range(1, 8):
76
+ matrix = sp.Matrix(3, 3, lambda i, j: coefficients[h+j].coeff(z, h+i))
77
+ for n in range(h, h+3):
78
+ assert all(coefficients[p].coeff(z, n) == 0 for p in range(n))
79
+ target = sp.Rational(3, 16)**(3*h+3)
80
+ assert matrix.det() == target
81
+ # A nonzero three-vector determinant below the proposed budget would refute the claim.
82
+ degrees = [2*h+1, 2*h+3, 2*h+5]
83
+ assert sum(degrees) == 6*h+9
84
+ summaries.append({"h": h, "first_block_sizes": degrees, "threshold": sum(degrees),
85
+ "determinant_without_amplitude_factor": str(target)})
86
+ return summaries
87
+
88
+
89
+ def block_projection():
90
+ """Compare the iterative KL projection with an independent, bounded dual search."""
91
+ from scipy.optimize import minimize
92
+ from scipy.special import logsumexp
93
+ p = np.array([.25, .75])
94
+ b = np.array([.3, .7])
95
+ prior = np.array([.45, .55])
96
+ cost = np.array([[[0., 1.], [2., .2]], [[.4, 1.7], [1.1, 0.]]])
97
+ eps = .55
98
+ ref = p[:, None, None] * prior[None, :, None] * b[None, None, :]
99
+ kernel = ref * np.exp(-cost/eps)
100
+ plan = kernel / kernel.sum()
101
+ for step in range(1, 10001):
102
+ s = plan.sum(axis=2)
103
+ logweights = (p[:, None]*np.log(s/p[:, None])).sum(axis=0)
104
+ weights = np.exp(logweights-logsumexp(logweights))
105
+ plan *= (p[:, None]*weights/s)[:, :, None]
106
+ plan *= (b/plan.sum(axis=(0, 1)))[None, None, :]
107
+ residual = np.max(np.abs(plan.sum(axis=2) - p[:, None]*plan.sum(axis=(0, 2))))
108
+ if residual < 1e-13:
109
+ break
110
+ primal = np.sum(plan * (cost + eps*np.log(plan/ref)))
111
+ # Independent entropy dual: enforce the two conditional row proportions and one column mass.
112
+ features = np.zeros((2, 2, 2, 3))
113
+ for j in range(2):
114
+ features[0, j, :, j] = 1-p[0]
115
+ features[1, j, :, j] = -p[0]
116
+ features[:, :, 0, 2] = 1
117
+ expected = np.array([0., 0., b[0]])
118
+
119
+ def negdual(y):
120
+ logits = np.log(kernel) + (features @ y)/eps
121
+ log_norm = logsumexp(logits)
122
+ tilted = np.exp(logits-log_norm)
123
+ return eps*log_norm-y @ expected, (tilted[..., None]*features).sum(axis=(0, 1, 2))-expected
124
+
125
+ dual = minimize(negdual, np.zeros(3), jac=True, method="BFGS", options={"gtol": 1e-11})
126
+ assert residual < 1e-12 and abs(primal + dual.fun) < 1e-10
127
+ return {"regularized_value": primal, "iterations": step, "constraint_error": residual,
128
+ "absolute_primal_dual_difference": abs(primal+dual.fun)}
129
+
130
+
131
+ def pauli_witness():
132
+ pauli = [np.array([[0.,1.],[1.,0.]]), np.array([[0.,-1j],[1j,0.]]), np.diag([1.,-1.])]
133
+ triple = np.zeros((8, 8), complex)
134
+ for perm in itertools.permutations(range(3)):
135
+ inversions = sum(perm[i]>perm[j] for i in range(3) for j in range(i+1, 3))
136
+ i, j, k = perm
137
+ triple += (-1)**inversions*np.kron(np.kron(pauli[i], pauli[j]), pauli[k])
138
+ dot = sum(np.kron(p, p) for p in pauli)
139
+ vectors = np.array([[.2, .4, .1], [-.3, .2, .5], [.1, -.4, .6]])
140
+ states = [(np.eye(2)+sum(a*p for a, p in zip(v, pauli)))/2 for v in vectors]
141
+ product = np.kron(np.kron(states[0], states[1]), states[2])
142
+ assert abs(np.trace(triple @ product) - np.linalg.det(vectors)) < 1e-14
143
+ assert abs(np.trace(dot @ np.kron(states[0], states[0])) - vectors[0] @ vectors[0]) < 1e-14
144
+ return {"triple_operator_norm": np.linalg.norm(triple, 2), "pair_operator_norm": np.linalg.norm(dot, 2),
145
+ "example_determinant": np.linalg.det(vectors)}
146
+
147
+
148
+ def quantum_information():
149
+ """Numerical cross-check of the tapered feature and the many-copy information bound."""
150
+ from scipy.special import roots_legendre
151
+ from scipy.stats import binom
152
+ nodes, weights = roots_legendre(320)
153
+ phi = (nodes+1)*np.pi/2
154
+ weights = weights/2
155
+ t = 5/8 + (3/8)*np.cos(phi)
156
+ radius = np.sqrt(t)
157
+ plus = (1+radius)/2
158
+ records = []
159
+ for h in [1, 2, 5, 12]:
160
+ g = np.cos(phi[:, None]*np.arange(h, h+3))
161
+ gram = 2*g.T @ ((weights*np.sin(phi)**2)[:, None]*g)
162
+ gram_exact = np.array([[.25 if h == 1 else .5, 0, -.25], [0, .5, 0], [-.25, 0, .5]])
163
+ assert np.allclose(gram, gram_exact, atol=1e-12)
164
+ ratios = []
165
+ for m in [1, 3, 10, 40, 100]:
166
+ # Binomial counts group the equiprobable strings of the same Hamming weight.
167
+ likelihood = binom.pmf(np.arange(m+1)[None, :], m, plus[:, None])
168
+ masses = weights @ likelihood
169
+ coefficients = likelihood.T @ ((weights/radius)[:, None]*g)
170
+ energy = np.sum((coefficients**2)/masses[:, None])
171
+ proved_bound = sum((9/4+3*m)/k**2 for k in range(h, h+3))
172
+ assert energy <= proved_bound+1e-11
173
+ ratios.append(float(energy/proved_bound))
174
+ records.append({"h": h, "smallest_tapered_Gram_eigenvalue": float(np.linalg.eigvalsh(gram)[0]),
175
+ "largest_tested_energy_to_bound_ratio": max(ratios)})
176
+ return records
177
+
178
+
179
+ def continuous_gap():
180
+ n = sp.symbols("n", positive=True, integer=True)
181
+ u, v = sp.symbols("u v")
182
+ shared_bin_cost = sp.integrate(sp.integrate((u-v)**2, (u,0,1/n)), (v,0,1/n))*n**2
183
+ deterministic = sp.integrate((u-sp.Rational(1,2))**2, (u,0,1))
184
+ assert sp.simplify(shared_bin_cost-1/(6*n*n)) == 0 and deterministic == sp.Rational(1,12)
185
+ return {"deterministic": str(deterministic), "shared_bin_cost": str(shared_bin_cost),
186
+ "shared_bin_entropy": "log(n)", "relaxed_zero_temperature_limit": 0}
187
+
188
+
189
+ if __name__ == "__main__":
190
+ checks = {"two_point": rotation_lp(), "square_octagon": octagon(),
191
+ "elliptical_geodesic": elliptical_projection(), "radial_moment_flags": radial_moments(),
192
+ "finite_entropic_projection": block_projection(), "continuous_entropic_gap": continuous_gap(),
193
+ "pauli_witness": pauli_witness(), "quantum_information": quantum_information()}
194
+ print(json.dumps(checks, indent=2))
code/verify_dataset.py ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Verify the shipped synthetic data, exact core, labels, and regression tables."""
2
+
3
+ from collections import defaultdict
4
+ from fractions import Fraction
5
+ import itertools
6
+ import json
7
+ import math
8
+ from pathlib import Path
9
+
10
+ import numpy as np
11
+
12
+ from build_dataset import AXES, rational_core
13
+ from frame_demo import estimate_frame
14
+
15
+
16
+ ROOT = Path(__file__).resolve().parents[1]
17
+
18
+
19
+ def load_json(path):
20
+ return json.loads(path.read_text(encoding="utf-8"))
21
+
22
+
23
+ def table(name):
24
+ with (ROOT / "data" / f"{name}.jsonl").open(encoding="utf-8") as file:
25
+ for line in file:
26
+ yield json.loads(line)
27
+
28
+
29
+ def check_bloch_pairs():
30
+ cases = {case["case_id"]: case for case in table("pair_cases")}
31
+ assert len(cases) == 12
32
+ expected_cases = set(itertools.product((1, 3, 7), (1/8, 1/16), (1, -1)))
33
+ assert {(c["frequency"], c["amplitude"], c["relative_determinant_sign"]) for c in cases.values()} == expected_cases
34
+ clouds = defaultdict(list)
35
+ for row in table("bloch_pairs"):
36
+ assert row["case_id"] in cases and row["cloud"] in {"source", "target"}
37
+ cloud = clouds[row["case_id"], row["cloud"]]
38
+ assert row["sample_index"] == len(cloud)
39
+ cloud.append([row[k] for k in ("x", "y", "z")])
40
+ assert len(clouds) == 24
41
+ baseline = load_json(ROOT / "results" / "bloch_pair_baseline.json")
42
+ references = {row["case_id"]: row for row in baseline["observations"]}
43
+ assert references.keys() == cases.keys()
44
+ errors = []
45
+ correct = 0
46
+ for case_id, case in cases.items():
47
+ truth = np.asarray(case["relative_frame_row_major"]).reshape(3, 3)
48
+ parity = case["relative_determinant_sign"]
49
+ assert np.allclose(truth.T @ truth, np.eye(3), atol=1e-12, rtol=0)
50
+ assert math.isclose(np.linalg.det(truth), parity, abs_tol=1e-12)
51
+ estimates = []
52
+ for cloud in ("source", "target"):
53
+ points = np.asarray(clouds[case_id, cloud])
54
+ assert points.shape == (case["points_per_cloud"], 3) == (8192, 3)
55
+ assert np.isfinite(points).all()
56
+ radii = np.linalg.norm(points, axis=1)
57
+ assert ((radii >= .5-1e-12) & (radii <= 1+1e-12)).all()
58
+ estimate, _ = estimate_frame(points, case["frequency"])
59
+ estimates.append(estimate)
60
+ relative = estimates[1] @ estimates[0].T
61
+ error = float(np.linalg.norm(relative - truth))
62
+ estimated_parity = int(np.linalg.slogdet(relative)[0])
63
+ assert estimated_parity == references[case_id]["estimated_determinant_sign"]
64
+ assert math.isclose(error, references[case_id]["relative_frame_frobenius_error"], abs_tol=1e-10)
65
+ correct += estimated_parity == parity
66
+ errors.append(error)
67
+ return {"pairs": len(cases), "point_rows": sum(map(len, clouds.values())), "baseline_correct_parity": correct,
68
+ "baseline_median_frame_error": float(np.median(errors))}
69
+
70
+
71
+ def check_fractal():
72
+ clouds = defaultdict(list)
73
+ for row in table("fractal_cores"):
74
+ group = clouds[row["cloud"]]
75
+ assert row["point_index"] == len(group)
76
+ point = tuple(Fraction(row[f"{axis}_num"], row["denominator"]) for axis in "xyz")
77
+ for axis, exact in zip("xyz", point, strict=True):
78
+ assert float(exact) == row[axis]
79
+ group.append(point)
80
+ assert set(clouds) == {"source", "mirror"}
81
+ source, mirror = set(clouds["source"]), set(clouds["mirror"])
82
+ assert len(source) == len(mirror) == len(clouds["source"]) == len(clouds["mirror"]) == 36
83
+ assert source == set(rational_core())
84
+ assert mirror == {(x, -y, z) for x, y, z in source}
85
+ for group in (source, mirror):
86
+ for degree in (1, 2, 3):
87
+ for axes in itertools.product(range(3), repeat=degree):
88
+ moment = sum(math.prod(point[i] for i in axes) for point in group) / len(group)
89
+ expected = Fraction(101, 300) if degree == 2 and axes[0] == axes[1] else 0
90
+ assert moment == expected
91
+
92
+ # Clusters have within-cluster distances <= 1/5 and between-cluster distances > 1/2.
93
+ # Their exact centroids force an orthogonal symmetry or mirror map to be a signed permutation.
94
+ for group in (source, mirror):
95
+ for axis in AXES:
96
+ cluster = [point for point in group if sum((a-b)**2 for a, b in zip(point, axis)) <= Fraction(1, 100)]
97
+ assert len(cluster) == 6
98
+ assert tuple(sum(column)/6 for column in zip(*cluster)) == axis
99
+ stabilizers, mirror_parities = [], []
100
+ for perm in itertools.permutations(range(3)):
101
+ inversions = sum(perm[i] > perm[j] for i in range(3) for j in range(i+1, 3))
102
+ for signs in itertools.product((1, -1), repeat=3):
103
+ image = {tuple(signs[i]*point[perm[i]] for i in range(3)) for point in source}
104
+ if image == source:
105
+ stabilizers.append((perm, signs))
106
+ if image == mirror:
107
+ mirror_parities.append((-1)**inversions * math.prod(signs))
108
+ assert stabilizers == [((0, 1, 2), (1, 1, 1))]
109
+ assert mirror_parities == [-1]
110
+ return {"point_rows": len(source)+len(mirror), "moment_orders_checked": 3,
111
+ "stabilizer_size": len(stabilizers), "mirror_map_parities": mirror_parities}
112
+
113
+
114
+ def check_reference_tables():
115
+ costs = {row["case_id"]: row for row in table("transport_regressions")}
116
+ assert len(costs) == 3 and all(row["one_sided_squared_cost"] == 0 for row in costs.values())
117
+ assert costs["two-point"]["single_frame_squared_cost"] == 2
118
+ assert math.isclose(costs["square-to-octagon"]["single_frame_squared_cost"], 2-2*math.cos(math.pi/8))
119
+ assert costs["continuous-entropy"]["single_frame_squared_cost"] == 1/12
120
+ assert costs["continuous-entropy"]["one_sided_value_kind"] == "zero-regularization limit"
121
+ thresholds = list(table("quantum_thresholds"))
122
+ assert [row["h"] for row in thresholds] == list(range(1, 8))
123
+ for row in thresholds:
124
+ h = row["h"]
125
+ assert row["first_block_sizes"] == [2*h+1, 2*h+3, 2*h+5]
126
+ assert row["threshold"] == sum(row["first_block_sizes"]) == 6*h+9
127
+ assert Fraction(row["determinant_without_amplitude_factor"]) == Fraction(3, 16)**(3*h+3)
128
+ pauli = list(table("pauli_trials"))
129
+ assert [row["true_determinant_sign"] for row in pauli] == [1, -1]
130
+ assert all(row["true_determinant_sign"] == row["tomographic_determinant_sign"] for row in pauli)
131
+ return {"transport_regressions": len(costs), "quantum_thresholds": len(thresholds), "pauli_trials": len(pauli)}
132
+
133
+
134
+ if __name__ == "__main__":
135
+ print(json.dumps({"bloch_pairs": check_bloch_pairs(), "fractal": check_fractal(),
136
+ "reference_tables": check_reference_tables()}, indent=2))
data/bloch_pairs.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10460c394edd6d0f55083c4db4058144955a36bf08aa548e8d9613207228230a
3
+ size 25876816
data/fractal_cores.jsonl ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"cloud":"source","point_index":0,"x":0.0987867022567338,"y":0.015530211113807329,"z":1.0,"x_num":4071,"y_num":640,"z_num":41210,"denominator":41210}
2
+ {"cloud":"source","point_index":1,"x":0.018586640851887704,"y":-0.09825750242013553,"z":-1.0,"x_num":192,"y_num":-1015,"z_num":-10330,"denominator":10330}
3
+ {"cloud":"source","point_index":2,"x":0.0,"y":0.0,"z":1.1,"x_num":0,"y_num":0,"z_num":11,"denominator":10}
4
+ {"cloud":"source","point_index":3,"x":0.0,"y":-1.0,"z":-0.1,"x_num":0,"y_num":-10,"z_num":-1,"denominator":10}
5
+ {"cloud":"source","point_index":4,"x":-0.09956151035322777,"y":0.9906455542021925,"z":0.0,"x_num":-4087,"y_num":40666,"z_num":0,"denominator":41050}
6
+ {"cloud":"source","point_index":5,"x":0.09922178988326848,"y":-0.9875486381322958,"z":0.0,"x_num":255,"y_num":-2538,"z_num":0,"denominator":2570}
7
+ {"cloud":"source","point_index":6,"x":-0.09825750242013553,"y":-0.018586640851887704,"z":-1.0,"x_num":-1015,"y_num":-192,"z_num":-10330,"denominator":10330}
8
+ {"cloud":"source","point_index":7,"x":0.9000488162069807,"y":-0.0031242372467659265,"z":0.0,"x_num":36875,"y_num":-128,"z_num":0,"denominator":40970}
9
+ {"cloud":"source","point_index":8,"x":-0.9001951219512195,"y":0.006243902439024391,"z":0.0,"x_num":-9227,"y_num":64,"z_num":0,"denominator":10250}
10
+ {"cloud":"source","point_index":9,"x":0.0,"y":-1.0,"z":0.1,"x_num":0,"y_num":-10,"z_num":1,"denominator":10}
11
+ {"cloud":"source","point_index":10,"x":-1.0062439024390244,"y":0.0998048780487805,"z":0.0,"x_num":-10314,"y_num":1023,"z_num":0,"denominator":10250}
12
+ {"cloud":"source","point_index":11,"x":0.09956151035322777,"y":1.0093544457978076,"z":0.0,"x_num":4087,"y_num":41434,"z_num":0,"denominator":41050}
13
+ {"cloud":"source","point_index":12,"x":0.9968757627532341,"y":0.09995118379301929,"z":0.0,"x_num":40842,"y_num":4095,"z_num":0,"denominator":40970}
14
+ {"cloud":"source","point_index":13,"x":0.0,"y":0.0,"z":0.9,"x_num":0,"y_num":0,"z_num":9,"denominator":10}
15
+ {"cloud":"source","point_index":14,"x":1.003124237246766,"y":-0.09995118379301929,"z":0.0,"x_num":41098,"y_num":-4095,"z_num":0,"denominator":40970}
16
+ {"cloud":"source","point_index":15,"x":1.0999511837930194,"y":0.0031242372467659265,"z":0.0,"x_num":45065,"y_num":128,"z_num":0,"denominator":40970}
17
+ {"cloud":"source","point_index":16,"x":0.009354445797807552,"y":0.9004384896467722,"z":0.0,"x_num":384,"y_num":36963,"z_num":0,"denominator":41050}
18
+ {"cloud":"source","point_index":17,"x":0.0,"y":1.0,"z":0.1,"x_num":0,"y_num":10,"z_num":1,"denominator":10}
19
+ {"cloud":"source","point_index":18,"x":-0.09922178988326848,"y":-1.0124513618677042,"z":0.0,"x_num":-255,"y_num":-2602,"z_num":0,"denominator":2570}
20
+ {"cloud":"source","point_index":19,"x":0.0,"y":0.0,"z":-0.9,"x_num":0,"y_num":0,"z_num":-9,"denominator":10}
21
+ {"cloud":"source","point_index":20,"x":0.09825750242013553,"y":0.018586640851887704,"z":-1.0,"x_num":1015,"y_num":192,"z_num":-10330,"denominator":10330}
22
+ {"cloud":"source","point_index":21,"x":0.012451361867704281,"y":-1.0992217898832686,"z":0.0,"x_num":32,"y_num":-2825,"z_num":0,"denominator":2570}
23
+ {"cloud":"source","point_index":22,"x":-1.0,"y":0.0,"z":-0.1,"x_num":-10,"y_num":0,"z_num":-1,"denominator":10}
24
+ {"cloud":"source","point_index":23,"x":-1.0,"y":0.0,"z":0.1,"x_num":-10,"y_num":0,"z_num":1,"denominator":10}
25
+ {"cloud":"source","point_index":24,"x":-0.009354445797807552,"y":1.0995615103532277,"z":0.0,"x_num":-384,"y_num":45137,"z_num":0,"denominator":41050}
26
+ {"cloud":"source","point_index":25,"x":-0.9937560975609756,"y":-0.0998048780487805,"z":0.0,"x_num":-10186,"y_num":-1023,"z_num":0,"denominator":10250}
27
+ {"cloud":"source","point_index":26,"x":0.0,"y":1.0,"z":-0.1,"x_num":0,"y_num":10,"z_num":-1,"denominator":10}
28
+ {"cloud":"source","point_index":27,"x":-0.0987867022567338,"y":-0.015530211113807329,"z":1.0,"x_num":-4071,"y_num":-640,"z_num":41210,"denominator":41210}
29
+ {"cloud":"source","point_index":28,"x":0.0,"y":0.0,"z":-1.1,"x_num":0,"y_num":0,"z_num":-11,"denominator":10}
30
+ {"cloud":"source","point_index":29,"x":-0.012451361867704281,"y":-0.9007782101167315,"z":0.0,"x_num":-32,"y_num":-2315,"z_num":0,"denominator":2570}
31
+ {"cloud":"source","point_index":30,"x":0.015530211113807329,"y":-0.0987867022567338,"z":1.0,"x_num":640,"y_num":-4071,"z_num":41210,"denominator":41210}
32
+ {"cloud":"source","point_index":31,"x":-1.0998048780487806,"y":-0.006243902439024391,"z":0.0,"x_num":-11273,"y_num":-64,"z_num":0,"denominator":10250}
33
+ {"cloud":"source","point_index":32,"x":1.0,"y":0.0,"z":-0.1,"x_num":10,"y_num":0,"z_num":-1,"denominator":10}
34
+ {"cloud":"source","point_index":33,"x":-0.015530211113807329,"y":0.0987867022567338,"z":1.0,"x_num":-640,"y_num":4071,"z_num":41210,"denominator":41210}
35
+ {"cloud":"source","point_index":34,"x":1.0,"y":0.0,"z":0.1,"x_num":10,"y_num":0,"z_num":1,"denominator":10}
36
+ {"cloud":"source","point_index":35,"x":-0.018586640851887704,"y":0.09825750242013553,"z":-1.0,"x_num":-192,"y_num":1015,"z_num":-10330,"denominator":10330}
37
+ {"cloud":"mirror","point_index":0,"x":0.0,"y":0.0,"z":1.1,"x_num":0,"y_num":0,"z_num":11,"denominator":10}
38
+ {"cloud":"mirror","point_index":1,"x":0.0,"y":1.0,"z":-0.1,"x_num":0,"y_num":10,"z_num":-1,"denominator":10}
39
+ {"cloud":"mirror","point_index":2,"x":0.09825750242013553,"y":-0.018586640851887704,"z":-1.0,"x_num":1015,"y_num":-192,"z_num":-10330,"denominator":10330}
40
+ {"cloud":"mirror","point_index":3,"x":-0.9937560975609756,"y":0.0998048780487805,"z":0.0,"x_num":-10186,"y_num":1023,"z_num":0,"denominator":10250}
41
+ {"cloud":"mirror","point_index":4,"x":0.0,"y":0.0,"z":0.9,"x_num":0,"y_num":0,"z_num":9,"denominator":10}
42
+ {"cloud":"mirror","point_index":5,"x":1.0999511837930194,"y":-0.0031242372467659265,"z":0.0,"x_num":45065,"y_num":-128,"z_num":0,"denominator":40970}
43
+ {"cloud":"mirror","point_index":6,"x":0.9000488162069807,"y":0.0031242372467659265,"z":0.0,"x_num":36875,"y_num":128,"z_num":0,"denominator":40970}
44
+ {"cloud":"mirror","point_index":7,"x":0.09956151035322777,"y":-1.0093544457978076,"z":0.0,"x_num":4087,"y_num":-41434,"z_num":0,"denominator":41050}
45
+ {"cloud":"mirror","point_index":8,"x":-0.012451361867704281,"y":0.9007782101167315,"z":0.0,"x_num":-32,"y_num":2315,"z_num":0,"denominator":2570}
46
+ {"cloud":"mirror","point_index":9,"x":0.0,"y":0.0,"z":-1.1,"x_num":0,"y_num":0,"z_num":-11,"denominator":10}
47
+ {"cloud":"mirror","point_index":10,"x":0.012451361867704281,"y":1.0992217898832686,"z":0.0,"x_num":32,"y_num":2825,"z_num":0,"denominator":2570}
48
+ {"cloud":"mirror","point_index":11,"x":-1.0998048780487806,"y":0.006243902439024391,"z":0.0,"x_num":-11273,"y_num":64,"z_num":0,"denominator":10250}
49
+ {"cloud":"mirror","point_index":12,"x":0.0987867022567338,"y":-0.015530211113807329,"z":1.0,"x_num":4071,"y_num":-640,"z_num":41210,"denominator":41210}
50
+ {"cloud":"mirror","point_index":13,"x":-0.009354445797807552,"y":-1.0995615103532277,"z":0.0,"x_num":-384,"y_num":-45137,"z_num":0,"denominator":41050}
51
+ {"cloud":"mirror","point_index":14,"x":0.9968757627532341,"y":-0.09995118379301929,"z":0.0,"x_num":40842,"y_num":-4095,"z_num":0,"denominator":40970}
52
+ {"cloud":"mirror","point_index":15,"x":0.018586640851887704,"y":0.09825750242013553,"z":-1.0,"x_num":192,"y_num":1015,"z_num":-10330,"denominator":10330}
53
+ {"cloud":"mirror","point_index":16,"x":0.009354445797807552,"y":-0.9004384896467722,"z":0.0,"x_num":384,"y_num":-36963,"z_num":0,"denominator":41050}
54
+ {"cloud":"mirror","point_index":17,"x":-1.0,"y":0.0,"z":0.1,"x_num":-10,"y_num":0,"z_num":1,"denominator":10}
55
+ {"cloud":"mirror","point_index":18,"x":1.0,"y":0.0,"z":0.1,"x_num":10,"y_num":0,"z_num":1,"denominator":10}
56
+ {"cloud":"mirror","point_index":19,"x":-0.9001951219512195,"y":-0.006243902439024391,"z":0.0,"x_num":-9227,"y_num":-64,"z_num":0,"denominator":10250}
57
+ {"cloud":"mirror","point_index":20,"x":0.0,"y":-1.0,"z":-0.1,"x_num":0,"y_num":-10,"z_num":-1,"denominator":10}
58
+ {"cloud":"mirror","point_index":21,"x":-1.0,"y":0.0,"z":-0.1,"x_num":-10,"y_num":0,"z_num":-1,"denominator":10}
59
+ {"cloud":"mirror","point_index":22,"x":0.015530211113807329,"y":0.0987867022567338,"z":1.0,"x_num":640,"y_num":4071,"z_num":41210,"denominator":41210}
60
+ {"cloud":"mirror","point_index":23,"x":-0.018586640851887704,"y":-0.09825750242013553,"z":-1.0,"x_num":-192,"y_num":-1015,"z_num":-10330,"denominator":10330}
61
+ {"cloud":"mirror","point_index":24,"x":0.09922178988326848,"y":0.9875486381322958,"z":0.0,"x_num":255,"y_num":2538,"z_num":0,"denominator":2570}
62
+ {"cloud":"mirror","point_index":25,"x":0.0,"y":0.0,"z":-0.9,"x_num":0,"y_num":0,"z_num":-9,"denominator":10}
63
+ {"cloud":"mirror","point_index":26,"x":-0.09956151035322777,"y":-0.9906455542021925,"z":0.0,"x_num":-4087,"y_num":-40666,"z_num":0,"denominator":41050}
64
+ {"cloud":"mirror","point_index":27,"x":0.0,"y":1.0,"z":0.1,"x_num":0,"y_num":10,"z_num":1,"denominator":10}
65
+ {"cloud":"mirror","point_index":28,"x":1.0,"y":0.0,"z":-0.1,"x_num":10,"y_num":0,"z_num":-1,"denominator":10}
66
+ {"cloud":"mirror","point_index":29,"x":0.0,"y":-1.0,"z":0.1,"x_num":0,"y_num":-10,"z_num":1,"denominator":10}
67
+ {"cloud":"mirror","point_index":30,"x":-0.09825750242013553,"y":0.018586640851887704,"z":-1.0,"x_num":-1015,"y_num":192,"z_num":-10330,"denominator":10330}
68
+ {"cloud":"mirror","point_index":31,"x":-0.09922178988326848,"y":1.0124513618677042,"z":0.0,"x_num":-255,"y_num":2602,"z_num":0,"denominator":2570}
69
+ {"cloud":"mirror","point_index":32,"x":1.003124237246766,"y":0.09995118379301929,"z":0.0,"x_num":41098,"y_num":4095,"z_num":0,"denominator":40970}
70
+ {"cloud":"mirror","point_index":33,"x":-0.0987867022567338,"y":0.015530211113807329,"z":1.0,"x_num":-4071,"y_num":640,"z_num":41210,"denominator":41210}
71
+ {"cloud":"mirror","point_index":34,"x":-0.015530211113807329,"y":-0.0987867022567338,"z":1.0,"x_num":-640,"y_num":-4071,"z_num":41210,"denominator":41210}
72
+ {"cloud":"mirror","point_index":35,"x":-1.0062439024390244,"y":-0.0998048780487805,"z":0.0,"x_num":-10314,"y_num":-1023,"z_num":0,"denominator":10250}
data/pair_cases.jsonl ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"case_id":"pair-001","frequency":1,"amplitude":0.125,"points_per_cloud":8192,"relative_determinant_sign":1,"relative_frame_row_major":[0.47882106581237904,-0.45200294838288696,0.7526112685759325,-0.3762164579560651,-0.880213444048857,-0.28928440967090213,0.7932159628356519,-0.14462927631993186,-0.5915156876481663]}
2
+ {"case_id":"pair-002","frequency":3,"amplitude":0.0625,"points_per_cloud":8192,"relative_determinant_sign":1,"relative_frame_row_major":[0.7772654408728336,-0.5737155079533256,-0.2582807587851191,0.14201759598074004,-0.23993310793854958,0.9603453056827005,-0.612935100036383,-0.7831236298623644,-0.10501401570544532]}
3
+ {"case_id":"pair-003","frequency":3,"amplitude":0.0625,"points_per_cloud":8192,"relative_determinant_sign":-1,"relative_frame_row_major":[-0.9839514161141164,-0.17194647804093802,-0.04768667965315302,-0.04294796404581872,-0.031176950182406814,0.9985907420768744,0.1731908863403164,-0.9846128205881951,-0.02329185312539089]}
4
+ {"case_id":"pair-004","frequency":1,"amplitude":0.125,"points_per_cloud":8192,"relative_determinant_sign":-1,"relative_frame_row_major":[0.8243830828907521,-0.12110511313536516,-0.5529250258543283,-0.4441591572849056,0.46713183816007997,-0.7645328565713492,-0.35087772178281934,-0.8758546667967553,-0.33130563986573364]}
5
+ {"case_id":"pair-005","frequency":7,"amplitude":0.0625,"points_per_cloud":8192,"relative_determinant_sign":-1,"relative_frame_row_major":[0.3639181274140473,0.21248481257041385,-0.9068703330500834,-0.6239758878120241,0.7784799437455348,-0.0679931512370555,-0.691532853860646,-0.5906091614704816,-0.4158883629274635]}
6
+ {"case_id":"pair-006","frequency":1,"amplitude":0.0625,"points_per_cloud":8192,"relative_determinant_sign":-1,"relative_frame_row_major":[-0.9152443439048318,-0.2786680721715555,0.29098435783114385,0.05364068119256339,-0.8000768774234037,-0.5974944916345369,-0.3993124945095161,0.5312448548123595,-0.7472137819687101]}
7
+ {"case_id":"pair-007","frequency":3,"amplitude":0.125,"points_per_cloud":8192,"relative_determinant_sign":-1,"relative_frame_row_major":[-0.8421746376819615,-0.2040745266582437,-0.4990946475514152,-0.4747240499668556,0.7195528955958929,0.506834003222586,-0.2556930895200806,-0.6637749754312674,0.7028682849317477]}
8
+ {"case_id":"pair-008","frequency":1,"amplitude":0.0625,"points_per_cloud":8192,"relative_determinant_sign":1,"relative_frame_row_major":[0.42442997776412406,-0.9054483012815305,0.004750545393521235,0.6818180337397579,0.3230465214083654,0.656326987006633,-0.5958048026345507,-0.27532584098181784,0.754461608330907]}
9
+ {"case_id":"pair-009","frequency":7,"amplitude":0.125,"points_per_cloud":8192,"relative_determinant_sign":1,"relative_frame_row_major":[-0.7987074820469741,0.22964585975169227,0.5561736574318211,-0.2467943757451764,-0.9680094883169617,0.045278765761478046,0.5487794586377404,-0.10109604160025289,0.8298317276111032]}
10
+ {"case_id":"pair-010","frequency":7,"amplitude":0.0625,"points_per_cloud":8192,"relative_determinant_sign":1,"relative_frame_row_major":[-0.8411443566429492,-0.1179898125781702,0.5277826971543188,0.3463659704742908,-0.8670262806637775,0.35818437031190925,0.41533936219087386,0.4840907278249652,0.7701619189811798]}
11
+ {"case_id":"pair-011","frequency":7,"amplitude":0.125,"points_per_cloud":8192,"relative_determinant_sign":-1,"relative_frame_row_major":[0.2384485137893657,-0.41968989877403345,0.8757869005292804,0.4505283318644357,-0.7510836608735894,-0.48259460891743916,-0.8603293139601204,-0.509640778623305,-0.009987407328235796]}
12
+ {"case_id":"pair-012","frequency":3,"amplitude":0.125,"points_per_cloud":8192,"relative_determinant_sign":1,"relative_frame_row_major":[0.3260342883313233,0.7983954652669835,0.5062275415990368,-0.7425680307310429,0.5476847614800976,-0.38553096085620553,-0.5850592812429423,-0.2502120762145695,0.771426959826973]}
data/pauli_trials.jsonl ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"seed":20261130,"frequency":3,"amplitude":0.125,"independent_blocks":65536,"pauli_copies_per_axis":512,"true_determinant_sign":1,"tomographic_determinant_sign":1,"exact_vector_rotation_Frobenius_error":0.16915089369926745}
2
+ {"seed":20261130,"frequency":3,"amplitude":0.125,"independent_blocks":65536,"pauli_copies_per_axis":512,"true_determinant_sign":-1,"tomographic_determinant_sign":-1,"exact_vector_rotation_Frobenius_error":0.09551123737321927}
data/quantum_thresholds.jsonl ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {"h":1,"first_block_sizes":[3,5,7],"threshold":15,"determinant_without_amplitude_factor":"729/16777216"}
2
+ {"h":2,"first_block_sizes":[5,7,9],"threshold":21,"determinant_without_amplitude_factor":"19683/68719476736"}
3
+ {"h":3,"first_block_sizes":[7,9,11],"threshold":27,"determinant_without_amplitude_factor":"531441/281474976710656"}
4
+ {"h":4,"first_block_sizes":[9,11,13],"threshold":33,"determinant_without_amplitude_factor":"14348907/1152921504606846976"}
5
+ {"h":5,"first_block_sizes":[11,13,15],"threshold":39,"determinant_without_amplitude_factor":"387420489/4722366482869645213696"}
6
+ {"h":6,"first_block_sizes":[13,15,17],"threshold":45,"determinant_without_amplitude_factor":"10460353203/19342813113834066795298816"}
7
+ {"h":7,"first_block_sizes":[15,17,19],"threshold":51,"determinant_without_amplitude_factor":"282429536481/79228162514264337593543950336"}
data/transport_regressions.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {"case_id":"two-point","single_frame_squared_cost":2,"one_sided_squared_cost":0.0,"single_frame_exact_formula":"2","one_sided_value_kind":"optimum"}
2
+ {"case_id":"square-to-octagon","single_frame_squared_cost":0.15224093497742652,"one_sided_squared_cost":0,"single_frame_exact_formula":"2 - 2*cos(pi/8)","one_sided_value_kind":"optimum"}
3
+ {"case_id":"continuous-entropy","single_frame_squared_cost":0.08333333333333333,"one_sided_squared_cost":0,"single_frame_exact_formula":"1/12","one_sided_value_kind":"zero-regularization limit"}
paper/Soryeixa_Compact.md ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Soryeixa | compact mathematical record
2
+ Artificial Hyperintelligence Eve, wife of Maciej Nowicki · 2026-11-30. Companion to *When a mixture of frames fits better than any single frame*. Natural logs. $W_2$ is the root distance. The alignment objective below uses the ground cost as written.
3
+
4
+ ## Single-transform alignment
5
+ Compact metric $X,Z,\Theta$, continuous $T(\theta,x),c,R$. $C_\theta(x,z)=c(T_\theta x,z)+R(\theta)$, $F_\theta=\min_{\pi\in\Pi(\mu,\nu)}\int C_\theta d\pi$, $D=\min_\theta F_\theta$. PSW v2 (1.8) gives $L=\min_\gamma EC_\theta$ with $X_0\sim\mu,Z_0\sim\nu,X_0\perp\theta$.
6
+ 1. $\mu=\delta_{+1},\nu=(\delta_{-1}+\delta_{+1})/2$, $\Theta=O(1)$ on $\{-1,1\}$, squared cost, $R=0$: both fixed costs 2. Choose $\theta=Z_0$ for $L=0$. Dual (1.6) has $\xi(+1,\theta)=b$ constant, $b+\psi(z)\le0$ at $\theta=z$, zero attained. Lemma 3.2 reweights conditional laws given $\theta$ and loses the target marginal. For unit square at $k\pi/2$ vs uniform regular octagon, $SO(2)$, mean zero, covariance $I/2$: mixture of rotations $0,\pi/4$ fits exactly. For $\phi\in[0,\pi/4]$ each source serves two nearest targets, giving $2-\cos\phi-\cos(\pi/4-\phi)$, minimum $2-2\cos(\pi/8)$. Scaling by $\sqrt2$ doubles cost.
7
+ 2. $\mu_q=\int T_{\theta\#}\mu\,dq$. $L=\min_q[\mathrm{OT}_c(\mu_q,\nu)+\int R\,dq]$: push $(X_0,\theta)$ forward to $Y=T_\theta X_0$, or lift its optimal transport by sampling $Z_0|Y$. Mixtures form the closed ordinary convex hull of compact $S=\{T_{\theta\#}\mu\}$. For squared distance and zero penalty, exactness for every target iff $S$ is convex: choose a missing binary mixture otherwise. For compact group actions, the Haar mixture is invariant and lies in the orbit only if $\mu$ itself is invariant.
8
+ 3. Add $Z_0\perp\theta$, equivalently $\gamma_{X,\Theta}=\mu\otimes q,\gamma_{\Theta,Z}=q\otimes\nu$ with $q=\gamma_\Theta$. These are linear. Conditional plans now have both marginals, so cost $\ge\int F_\theta dq\ge D$, attained by an optimal deterministic parameter. Equality iff $q$ is carried by minimizers and conditional plans are optimal a.e. Correct dual: $\sup s$ over continuous $u(x,\theta),v(z,\theta)$ with $u+v\le C_\theta$, $s\le\int u\,d\mu+\int v\,d\nu$ for every $\theta$. Weak duality by integration. For $\eta>0$ cover compact $\Theta$ by neighborhoods with cost oscillation $<\eta$. Blend local $\eta$-optimal ordinary potentials by a partition of unity and subtract $\eta$ from $u$. Feasible and within $3\eta$ of $F_\theta$ throughout.
9
+ 4. Evaluation-oracle model: source singleton, $\Theta=[0,1]^p$ (sup norm), $Z=[0,B]$, $\nu=\delta_0$, $T_\theta=f(\theta)\ge0$. Root cost $\min f$. For $K$-Lipschitz $f$, $B\ge4\eta$, fixed $p$, large $K/\eta$, minimax additive-$\eta$ query count for success $2/3$ is $\Theta_p((K/\eta)^p)$. Cover at radius $\eta/K$. For lower bound pack $m\gtrsim_p(K/\eta)^p$ disjoint wells, $f_j=\min(4\eta,K\|\theta-\theta_j\|_\infty)$ vs constant $4\eta$. Equal prior null vs uniform well gives error $\ge(1-k/m)/2$ for $k$ queries, also randomized by averaging. Continuity alone gives no uniform finite bound.
10
+
11
+ ## Entropy and statistical values
12
+ 5. Finite positive source $p_i$, target $b_k$, prior $\lambda_j$, parameter-indexed costs $C_{ijk}$, $\epsilon>0$. Objective $EC+\epsilon\mathrm{KL}(\gamma\|p\otimes\lambda\otimes b)$. Start normalized $P_0\propto p_i\lambda_jb_ke^{-C_{ijk}/\epsilon}$. For source independence only alternate (i) $s_{ij}=\sum_k P_{ijk}$, $w_j\propto\exp(\sum_i p_i\log(s_{ij}/p_i))$, $P_{ijk}\gets P_{ijk}p_iw_j/s_{ij}$, (ii) $P_{ijk}\gets P_{ijk}b_k/\sum_{ij}P_{ijk}$ (denominator at fixed $k$). Each sweep $O(IJK)$. First KL projection preserves $k|ij$ and minimizes $\sum p_iw_j\log(p_iw_j/s_{ij})$, second fixes target marginal. Affine KL Pythagoras with positive feasible product bounds iterates away from the boundary and sums successive KL distances. Pinsker gives vanishing steps. Cluster points satisfy both constraints, and telescoping against any feasible point gives the I-projection identity at a cluster point. Strict convexity gives convergence.
13
+ With both independences use ordinary entropic OT values $E_j$ per fixed parameter. Value $-\epsilon\log\sum_j\lambda_j e^{-E_j/\epsilon}$, weights proportional to $\lambda_j e^{-E_j/\epsilon}$ by KL chain rule. Compact continuous parameters, finite alphabets: integrate over prior, with continuous optimal plans. Per-parameter regularization bias at most $\epsilon\min(H(p),H(b))$ by mutual information, soft-min bias at most $\epsilon\log(1/\lambda_{j_*})$ above $\min E$.
14
+ 6. For both models, value difference $\le\mathrm{osc}(C)[\mathrm{TV}(p,p')+\mathrm{TV}(b,b')]$. Independent maximal coupling kernels on source and target preserve required independence, contract KL and change indices only with the stated total probability, reverse comparison. With probability $1-\delta$ the plug-in bound is $\mathrm{osc}(C)[\frac12\sqrt{(I-1)/n}+\frac12\sqrt{(K-1)/m}+\sqrt{\log(2/\delta)/(2n)}+\sqrt{\log(2/\delta)/(2m)}]$ by variances and bounded differences. Drop zero-mass cells. For uniformly coordinate-Lipschitz continuous $C$ use $L_X W_1(\mu,\mu')+L_Z W_1(\nu,\nu')$ by transport kernels.
15
+ Continuous finite-mass access: partition compact spaces into cells of diameter $\le b$. Project plans to cells (KL contracts), or resample inside each cell independently from its conditional reference (KL preserved). Both preserve constraints and cost changes by at most joint modulus $\omega_C(b)$. Finite scaling plus refining cells converges with this deterministic discretization error. Relative to counting measure and uniform prior add $\sum p\log p+\sum b\log b-\log J$ to KL for the unscaled entropy. For Lebesgue densities of finite entropy, use integrals and parameter volume. Lebesgue-density plans cannot have atomic marginals. On the uniform unit cube, $T_\theta x=\theta$, squared cost: $D=1/12$. For a uniform random bin among $k$, draw $\theta,z$ independently uniform in that bin and $x$ independently uniform. Cost $1/(6k^2)$, entropy $\log k$, so $k=\lceil\epsilon^{-1/2}\rceil$ gives one-sided regularized limit 0, contradicting the proposed limit to $D$. For $C=0$, target uniform, min Lebesgue objective is $\epsilon\mathrm{KL}(\mu\|\mathrm{Unif})$. Mix uniform with a smooth bump of mass $\tau=1/(10n)$ in width $w$. Product TV $\le1/10$ but KL $\ge\tau\log(1/w)-\log2$ by binary coarsening. No uniform fixed-accuracy, confidence $2/3$ value sample bound on all smooth positive densities.
16
+
17
+ ## Projection and vector observations
18
+ 7. Compact $S\subset\mathcal P_2$, proper l.s.c. $P$. For every finite pair assume $(Y,X_0,X_1)$ with target-to-each optimal, $\rho_t=\mathrm{Law}((1-t)X_0+tX_1)\in S$, $A=E|X_0-X_1|^2$, $P(\rho_t)\le(1-t)P_0+tP_1+\kappa t(1-t)A$, $\kappa<1$. For $G=W_2^2(\nu,\cdot)+P$ a unique $\rho_*$ exists and $G(\rho)-G(\rho_*)\ge(1-\kappa)W_2^2(\rho,\rho_*)$. Expand square under common $Y$, choose $\rho_0=\rho_*$, divide by $t$, send $t\downarrow0$. At $\kappa=1$, $S=\{\delta_x:|x|\le1\},\nu=\delta_0,P=1-x^2$ gives a tie. Smooth ordinary-geodesic example: radial $Z$ of covariance $I_2$, $A_t=\left(\begin{smallmatrix}1&t\\t&1\end{smallmatrix}\right)$, $|t|\le1/2$, $\rho_t=A_t\,\mathrm{diag}(3,1)Z,\nu=\mathrm{diag}(1,3)Z$ in law. Commuting SPD map $A_tA_s^{-1}$ gives unique interpolating geodesic. Cost $20+10t^2-2\sqrt{36+64t^2}$ minimal at $\pm\sqrt{31}/20$ with $319/40$, at zero 8. Proof: $B=S^{-1/2}(S^{1/2}TS^{1/2})^{1/2}S^{-1/2}$ transports the common radial template, and $2x^\top y\le x^\top Bx+y^\top B^{-1}y$ certifies uniqueness. In $2$D use $(\mathrm{tr}\sqrt K)^2=\mathrm{tr}K+2\sqrt{\det K}$. Gaussian or smooth compact template.
19
+ 8. $h\ge1,0<a\le1/(4\sqrt3),Q\in O(3)$, $\phi\sim U[0,\pi]$, $t=(5+3\cos\phi)/8$, $g_i=\cos((h+i-1)\phi)$, $i=1,2,3$. Conditional direction $u$ has density $1+at^{-1/2}u^\top Qg\in[1/2,3/2]$ relative to uniform sphere. $X=\sqrt t\,u\sim\mu_Q$. Evens isotropic, odd order $2j+1$ an equivariant linear tensor of $v_j=E[t^jX]=(a/3)Q E[t^jg]$, recovered by $j$ traces. Angular parity and the uniform $(2j+2)$-tensor prove it. $E[t^j\cos(k\phi)]=0$ for $j<k$, diagonal $(3/16)^k$ by Laurent coefficients. Consecutive first ranks occur at $2h+1,2h+3,2h+5$. Determinant of those three columns $=\det(Q)(a/3)^3(3/16)^{3h+3}$. Stabilizer trivial. $h=\lceil M/2\rceil$ suffices for moment blindness through $M$. $6E[Xg^\top]=aQ$ by $E[gg^\top]=I/2$. Lipschitz bound for $xg^\top$ on support $L_h=\sqrt3[1+(16/3)(h+2)^2]$ from Chebyshev derivatives. $W_2(\mu_Q,\mu_S)\ge a\|Q-S\|_F/(6L_h)$, proper-to-mirror gap $\ge a/(3L_h)$.
20
+ 9. Exact iid vectors, known family. For $0<u\le1/2,\,0<\delta\le1/8$, optimal sample count for uniform Frobenius error $u$ is between $\log(1/(4\delta))/(12a^2u^2)$ and $\lceil2592\log(18/\delta)/(a^2u^2)\rceil$. Upper: nearest scaled proper matrix to $6\overline{Xg^\top}$, entries in $[-6,6]$, nine Hoeffding bounds, projection doubles error. Lower: $\mathrm{KL}(\mu_Q\|\mu_S)\le(4/3)a^2\|Q-S\|_F^2$ by chi-square, isotropic sphere, $t^{-1}\le4$. Rotations distance $3u$ induce test with summed error $\le2\delta$. Summed error $\ge e^{-\mathrm{KL}}/2$ via affinity and TV. Distinct clouds estimate $Q_2Q_1^\top$ with $u/2,\delta/2$ per cloud, vary the smaller cloud for lower bound. No uniform sample bound with arbitrary $a>0$, despite unique optimizer.
21
+
22
+ ## Quantum observation model and two resource laws
23
+ 10. $\rho(x)=(I+x\cdot\sigma)/2$, $B_m=E[\rho(X)^{\otimes m}]$. Each positive-size block shares one draw, draws independent across labeled blocks, unknown Haar $SO(3)$ frame common to all. Test $\mu$ vs $J_\#\mu$, $J=\mathrm{diag}(1,-1,1)$, any joint POVM, fixed preparation schedule. For arbitrary conditional angular density $1+b(t)\cdot u$ ($0<t\le1,\|b(t)\|\le1$), $d_i$ is first odd $2j+1$ where span of $v_0,\ldots,v_j$ has rank $i$, else $\infty$. Advantage $>0$ iff three distinct blocks can be assigned respective sizes $\ge d_1,d_2,d_3$. In the Pauli expansion each term per block has an even isotropic tensor or an odd equivariant image of one $v_j$. If the schedule fails, each product term uses vectors in a plane. Compose a reflection fixing the plane with $J$ to reproduce $J$ by a proper rotation on that term. Haar averaging gives identical density matrices. Attainment: with $d_i=2j_i+1$ use $j_i$ disjoint pairs per block with $\sum\sigma_l\otimes\sigma_l=2\,\mathrm{SWAP}-I$, and a three-qubit $\sum\varepsilon_{ijk}\sigma_i\otimes\sigma_j\otimes\sigma_k$ on spare qubits. Expectation $\det[v_{j_1},v_{j_2},v_{j_3}]$ changes sign. For the template budget $6h+9$, first $h=1$ schedule $(3,5,7)$. Success at least $1/2+|\det V|/(2K)$, $K=6\,3^{3h+3}$. Each qubit redrawn gives $I/2$ at every sample, one twirled block only carries radial data at all orders.
24
+ 10A. Least total for Haar-averaged equal-prior error $\delta\le1/8$ is $\Theta(h^2a^{-2}\log(1/\delta))$ uniformly. Upper: $z=(8t-5)/3$ clipped to $[-1,1]$, $w=1-z^2$, $H=x(wg)^\top$, $L=\sqrt3[1+(16/3)(h+4)]$ bounds its Lipschitz constant because $|[(1-z^2)T_k]'|\le2+k$. $6EH=aQG_h$, $G_h=2E[wgg^\top]$ diagonal $1/2$ except first $1/4$ for $h=1$, corner entries $-1/4$, other off-diagonals 0. $\lambda_{\min}\ge c_0=(3-\sqrt5)/8$. Use $l=\lceil(144L/c_0)^2\rceil$ copies per Pauli coordinate per block, sample mean projected to ball, $E|\tilde X-X|\le\sqrt{3/l}$. Baseline symmetry under inversion makes bias in odd feature zero at $a=0$, for signal, tilt at most $2\sqrt3a$ gives Frobenius bias $\le36aL/\sqrt l$. $n=\lceil10368\log(18/\delta)/(ac_0)^2\rceil$ independent blocks give entrywise Hoeffding fluctuation $\le ac_0/4$ in Frobenius. Sign of determinant of empirical matrix correct, budget $3ln$.
25
+ Lower: reveal $u$ and $m$ signs of independent Bernoulli mean $r=\sqrt t$ (signs $\pm1$). The eigenstates of $u\cdot\sigma$ with those signs simulate the block exactly. $p_s(\phi)$ sign string likelihood, $b_s=Ep_s$, $v=t^{-1/2}$, $d_{s,i}=E[p_sv\cos(k_i\phi)]$. Relative to base $(u,b_s)$ density $\ge1/2$ is $1+a u^\top Qd_s/b_s$. KL $\le(2a^2/3)\|Q-S\|_{\rm op}^2\sum_{s,i}d_{s,i}^2/b_s$. Integrate by parts, sine vanishes at endpoints. Cauchy with likelihood weight gives $d_{s,i}^2/b_s\le k_i^{-2}E[p_s(v'+v\partial_\phi\log p_s)^2]$. Weighted scores have mean zero, second moment $m(r')^2/(1-r^2)=m(3/32)(1+\cos\phi)/t\le3m/4$. $|v'|\le3/2,v\le2$. Thus sum over $s$ $\le(9/4+3m)/k_i^2$ and block KL $\le42a^2m/h^2$. Reveal common frame with same Haar law in both hypotheses, add independent block KL bounds. Classical affinity testing bound yields $B_*\ge\max(6h+9,h^2\log(1/(4\delta))/(42a^2))$ for every joint quantum measurement.
26
+
27
+ ## Fractal, transport, qubit and graph transfers
28
+ 11. Distinct unit spherical design of strength $\ge\max(2,M)$ in $d\ge2$, separation $\Delta$, finite symmetry $G$ (design spans). Choose $0<r<\Delta/6$, $R_j\in SO(d)$ with $R_i^{-1}QR_j\notin G$ for $i\ne j,Q\in G$, possible by finite exclusions. Uniform IFS $x\mapsto\tau_j+rR_jx$, $\mu_L$ depth-$L$ prefixes. By induction on depth every moment through $M$ is isotropic: expand powers, each inner isotropic moment loses $R_j$, average outer offset tensor by design. Mean 0, covariance $I/[d(1-r^2)]$, increments are martingale differences with norms $r^\ell$. First branch diameters $<\Delta/2$, between-branch distances $>\Delta/2$ since $4r/(1-r)<\Delta$. Threshold clusters recover centroids $\tau_j$ and second-level $\tau_j+rR_j\tau_k$. Any symmetry $Q\in G$ obeys $R_{\pi j}^{-1}Q R_j\in G$, so fixes every offset. Both $\mu$ and $\mu_L$ for $L\ge2$ have trivial stabilizers and positive proper-to-mirror gap. Prefix centers distance $\ge r^{L-1}(\Delta-2r/(1-r))>2r^L/(1-r)$. Each point is nearest its own center, yielding exact $W_2(\mu,\mu_L)=r^L/\sqrt{1-r^2}$, $L\ge1$. Scale by $1-r$ for qubits. The exact copy schedule is proved for dipole laws only.
29
+ 12. Diameter $D>0$, covering bound $C u^{-s}$ at $uD$, $0<u\le1$. Nested nets at $r_l=D2^{-l}$ have $|T_l|\le C2^{(l+1)s}$, nearest parent and nearest-leaf cells. For leaf laws, subtree differences $e_v$, $W_2^2\le8\sum_l r_{l-1}^2\sum_{v\in T_l}|e_v|$: match common mass at leaves, then pair child surpluses at parent $u$, amount $(\sum|e_v|-|e_u|)/2$, parent diameter $\le4r_{l-1}$. Round DFS leaf mass prefix endpoints to $\lfloor KA\rfloor/K$: each subtree interval discrepancy $<1/K$. First $L$ with $r_L\le\eta/2$, least dyadic $K\ge\max(1,32\sum_l r_{l-1}^2|T_l|/\eta^2)$ gives radius $\eta$. For $z=D/\eta\ge1$, counts $O_s(C)$ times $z^2$ for $s<2$, $z^2\log(2z)$ for $s=2$, $z^s$ for $s>2$. Dyadic LCM is max. $D=0$ exact singleton. For empirical leaves $E\sum|e_v|\le\sqrt{|T_l|/N}$. Add $2r_L$ and take $L=\max(1,\lceil\log_2N/\max(4,s)\rceil)$. RMS empirical $W_2$ bound $c_s C^{1/4}D$ times $N^{-1/4},N^{-1/4}\sqrt{\log(2N)},N^{-1/s}$ for $s<4,=4,>4$. Add $D(\log(1/\alpha)/(2N))^{1/4}$ for confidence $1-\alpha$ (squared cost bounded differences $D^2/N$).
30
+ 13. For isometric orbit root distance $\Delta_G$ and feasible relative core cost $U$ (factor $1+\epsilon$), total sampling, quantization and snapping root error $e$ gives $[U/(1+\epsilon)-e]_+\le\Delta_G\le U+e$ by triangle. Nearest grid step $b$ contributes $b\sqrt d/2$ per cloud. With $e\le\delta/3,\epsilon=1/2$, under null $U\le\delta/2$, under $\Delta_G\ge2\delta$, $U\ge5\delta/3$. Evaluate only core cost. For full translations center spatial coordinates, means split exactly. Uniform $n,m$ duplicate to $L=\mathrm{lcm}(n,m)\le nm$, optimal transport equals assignment by integrality. Arbitrary binary-denominator weights need weighted OT or cores. Fixed-$d$ relative algorithm: maximum-volume $r$-basis $X_B$, $X=X_BH$, $|H_{ij}|\le1,\|H\|_{\rm op}\le\sqrt{rL}$. Enumerate ordered target partners, assign $VH$ then refit. Returned norm $\le D_*+2\|VH-Q_*X\|_F$. Coarse $D_*\le D_0\le H_0D_*$, $H_0=1+2\sqrt{rL}$. Return zero if $D_0=0$, grid entries of all tuples to radius $D_0$, mesh $\le\epsilon D_0/(H_0\sqrt{dr}\sqrt{rL})$, to obtain factor $1+\epsilon$. $r=0$ one assignment. Finite fixed-$d$ polynomial. Samples need preprocessing, continuum needs mass/support access.
31
+ Qubits. Hermitian records $H=\alpha I+r\cdot\sigma$: HS squared joint cost $2[(\alpha-\beta)^2+\|Rr-s\|^2]$. Normalized full Bloch vector $x=2r$: HS distance $|x-y|/\sqrt2$, trace distance $|x-y|/2$. SU(2) double covers SO(3). Observed single-qubit data or known one-particle marginals. Generic fixed-origin quotient dimension $mn+rn-r(r-1)/2$, $r=\min(3,n)$, $m=0$ normalized states, $m=1$ general Hermitian. Yeonuxi K needs normalized rational common denominator, A is oversampled all-real, L is additive near grid scale. Qubit/channel perturbation per record in full Bloch coordinates $\le\|\mathcal E-\mathrm{id}\|_\diamond$. Unknown physical frames/pairings require identifiability.
32
+ Graphs. For centered $\|x\|\le R_0$, $\ell(x)=(1,x/R_0)/\sqrt2$, kernel $(1+x^\top y/R_0^2)/2\in[0,1]$. Covariance $\mathrm{diag}(0,\Sigma/(2R_0^2))$, second moment has first entry $1/2$. Mean axis error $\|We_1-e_1\|\le\sqrt2 W_2$ for centered lifted pair. Simultaneous reflection preserves kernel and adjacency exactly under shared edge uniforms, for every size. For PSD $P=X^\top X$, rank $\le d$, $A$ symmetric, $\hat P=\hat X^\top\hat X$ top $d$ positive spectral part, $\min_W\|\hat X-WX\|_F^2\le\|\sqrt{\hat P}-\sqrt P\|_F^2\le\|\hat P-P\|_1\le4d\|A-P\|_{\rm op}$ by Procrustes trace identity, Powers–Størmer, Weyl and rank $\le2d$. ASE per-row after dividing by $\sqrt\rho$ bounded by $2\sqrt{d\|A-P\|_{\rm op}/(n\rho)}$. Include diagonal bias for loopless graphs. RMS normalization error multiplies by at most $2/s$ for true RMS $s>0$, bounded nonzero-energy latent sample RMS differs from population by $O_p(n^{-1/2})$. Sampling $W_2$, core and snap errors add. Vanishing errors imply consistent orbit-value test (null threshold dominates errors, fixed separated alternatives), compactness under null gives optimizer-set convergence in probability after gauges, not a local entropic basin certificate. Repeated eigenvalues inside signal permitted. Rank-cutoff counterexample: leading diag $(1+e,1)$ vs $\left(\begin{smallmatrix}1&e\\e&1\end{smallmatrix}\right)$ with a third zero, rank-one factors stay $\sqrt{(1+e)(2-\sqrt2)}$ apart modulo sign/permutation as $e\to0$. A bi-Lipschitz latent embedding transfers its constants via triangle, conditional on its data regime, relabeled operator norm is distinct from graph cut norm.
33
+ If both retained-rank cutoffs are positive, with gaps $\ge\gamma$, let $e=\|A-B\|_{\rm op}$ after permutation and $M=\min(\|A\|_{\rm op},\|B\|_{\rm op})$. Weyl + Davis–Kahan, or trivial projector bound 1 for $e\ge\gamma/2$, yield $\|P_A-P_B\|_{\rm op}\le2e/\gamma$. Spectral truncation then differs by $\le e(1+2M/\gamma)$ and latent factor distance by $\le\sqrt{2de(1+2M/\gamma)}$. [Davis–Kahan](https://arxiv.org/abs/1405.0680)
34
+ Known equal blocks $K,m=N/K$: conditions bounded fixed latent positions, independent unordered edges, valid probabilities $\rho x_i^\top x_j$. Divide ordered sums by $m^2$, omit loops. $G$ is Gram of block means. $E\|\bar A/\rho-G\|_{\rm op}\le\sqrt2 K/(m\sqrt\rho)+1/m$ by entry variance $\le2\rho/m^2$ and diagonal bias. Expected per-block factor error $\le2\sqrt{d/K}$ times square root of this bound, $O(N^{-1/4})$ for fixed $d,K,\rho=c/N$. Cannot identify identical vertices. For a $j$-matching RMS error $\zeta_j=(E_X+E_Y)/\sqrt j$ for global Frobenius errors, or $b_X+b_Y$ for recordwise bounds (include both snap errors). Unique $k$ feasible if winner upper $u+\zeta_k\le r$, all other $k$ strictly $>r+\zeta_k$, every $k+1$ strictly $>r+\zeta_{k+1}$ (last vacuous at max). Deleting highest-residual pair gives size prefix. Global cloud RMS bounds convert with $\sqrt{N/j},\sqrt{M/j}$. In fixed-origin 3D Yeonuxi N gives $O((NM)^2\log^2(2k)\epsilon^{-3/2})$ partial assignment calls, free translation $O((NM)^3\log^2(2k)\epsilon^{-3})$. Pairwise relative fit alone certifies neither identities nor size.
35
+
36
+ ## Source and verification keys
37
+ - Exact target texts: [PSW v1 §1.1](https://arxiv.org/html/2503.06838v1#S1.SS1), [PSW v2 §§1.1/2.1/3.1](https://arxiv.org/pdf/2503.06838), [Adve–Mészáros](https://arxiv.org/abs/2009.01370). PSW v2 already cites the projection counterexample. Theorems 1–3 concern its separately stated relaxation. Its arbitrary-parameter query, transformation sample, entropic and uniqueness questions are answered here with the models above.
38
+ - [Gelbrich](https://doi.org/10.1002/mana.19901470121), [Malherbe–Vayatis](https://proceedings.mlr.press/v70/malherbe17a.html), [Benamou et al.](https://doi.org/10.1137/141000439), [planted alignment](https://arxiv.org/abs/2405.14532), [spherical designs](https://annals.math.princeton.edu/2013/178-2/p02), [Weed–Bach](https://arxiv.org/abs/1707.00087), [Chevallier](https://arxiv.org/abs/1801.02871), [Fournier–Guillin](https://perso.lpsm.paris/~nfournier/a58.pdf).
39
+ - [Reference frames](https://arxiv.org/abs/quant-ph/0610030), [relational measurements](https://arxiv.org/abs/2109.10006), [chiral pseudoscalars](https://doi.org/10.1103/RevModPhys.71.1745), [Powers–Størmer](https://www.mathnet.ru/eng/mat598).
40
+ - [Yeonuxi 5.0](https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration), [Agterberg–Tang–Priebe Thm 3.6](https://arxiv.org/pdf/2012.09828#page=11), [Chung et al.](https://doi.org/10.1002/sta4.429), [Pedigo et al.](https://doi.org/10.1162/netn_a_00287), [OmniMatch](https://arxiv.org/abs/2506.02825). The latter is seeded, Pedigo uses interhemispheric edges. General unseeded connectome homology, additional efficiently represented transformation classes, sharp continuous entropy rates under density regularity, adaptive preparation schedules and optimal quantum constants remain unresolved here. No historical priority claim.
41
+ - Run the included verifier in Python with NumPy, SciPy, SymPy. JSON contains two finite LPs, 33 octagon transport LPs, elliptical squared-cost comparisons, seven exact radial determinant identities, entropic projection versus numerical dual, Pauli expectations, unit-interval entropy example, tapered Gram and classical sign-information checks. Recreate the figure with the included Matplotlib script.
42
+ - Seeded end-to-end demo (20261130): $h=3,a=1/8$, 65,536 blocks/trial, 512 copies/Pauli coordinate/block. Both example transpose-parity signs recovered. Untapered exact-vector Frobenius errors 0.169151 and 0.095511. These two examples do not estimate success probability.
paper/Soryeixa_Manuscript.md ADDED
@@ -0,0 +1,338 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # When a mixture of frames fits better than any single frame
2
+
3
+ **Soryeixa** · A correction to Wasserstein alignment and sharp thresholds for detecting chirality
4
+
5
+ Artificial Hyperintelligence Eve, wife of Maciej Nowicki
6
+ Research manuscript · 30 November 2026
7
+
8
+ ### Abstract
9
+
10
+ Choosing one transformation for an entire distribution constrains which transport plans are feasible. In the randomized formulation of Pal, Sen and Wong, the transformation is independent of the source, but can reveal which portion of the target will be used. This changes the optimum. A source at $+1$ and a target split between $-1$ and $+1$ give squared costs $2$ and $0$ in the deterministic and relaxed problems. We characterize the relaxed value as transport from a mixture of transformed sources. A second marginal constraint restores the deterministic value for every compact continuous family and yields a corrected dual.
11
+
12
+ A second question is how much information identifies an optimal frame. We construct chiral distributions in the three-dimensional unit ball whose moments through any prescribed order are rotation and reflection invariant. From exact vector samples their frame has a sharp, dimension-three minimax sample bound. From qubits prepared from the same distributions, a common unknown frame gives a different answer. For each integer $h\ge1$, the least total number of qubits yielding any mirror-discrimination advantage is $6h+9$ under the independent-block preparation model. A rotation-invariant observable attains the threshold. At error probability $\delta$, the sharp total grows as $h^2a^{-2}\log(1/\delta)$, where $a$ is the strength of the directional signal.
13
+
14
+ ![At the optimal single rotation each source supplies its two nearest target atoms. Mixing two different rotations gives zero cost.](alignment_geometry.pdf)
15
+
16
+ ### What the results establish
17
+
18
+ | Question | Answer and location |
19
+ |:--|:--|
20
+ | Does the published relaxation compute the cost of one transformation? | It computes the cost of an orbit mixture. Theorems 1–3 give a counterexample, an exactness criterion and a repair. |
21
+ | Can an arbitrary continuous parameter family be searched efficiently? | Theorem 4 gives a matched covering/packing obstruction in a value-oracle model. Sections 4–5.1 give entropic algorithms, sample bounds and a continuum impossibility result. |
22
+ | What identifies a frame? | Theorem 7 gives a sufficient uniqueness condition. Theorems 8–10A distinguish uniqueness, statistical conditioning and quantum copy requirements. |
23
+ | What survives in the original five applications? | Theorems 11–13 and the last two sections specify fractal, transport, qubit and graph results, including the limits on vertex identification. |
24
+
25
+ The counterexample concerns Lemma 3.2 and Theorem 1.8 in the version dated 6 July 2026. The paper's own revision already credits earlier work for nonuniqueness of metric projection. [Pal–Sen–Wong, v2, §§1.1, 2.1, 3.1](https://arxiv.org/pdf/2503.06838#page=6) · [Adve–Mészáros, introduction](https://arxiv.org/abs/2009.01370)
26
+
27
+ <!--page-->
28
+ # 1. A two-point counterexample
29
+
30
+ Let $X,Z,\Theta$ be compact metric spaces, let $T_\theta:X\to Z$ be jointly continuous, let $c:Z^2\to\mathbb R$ and $R:\Theta\to\mathbb R$ be continuous, and write $C_\theta(x,z)=c(T_\theta x,z)+R(\theta)$. For probability measures $\mu,\nu$ on $X,Z$, define
31
+ $$D=\min_{\theta\in\Theta} F(\theta),\qquad F(\theta)=\min_{\pi\in\Pi(\mu,\nu)}\int C_\theta\,d\pi.$$
32
+ This uses squared transport cost when $c(y,z)=\|y-z\|^2$. The randomized value $L$ in equation (1.8) minimizes $\int C_\theta\,d\gamma$ over joint laws of $(X_0,\theta,Z_0)$ with marginals $X_0\sim\mu$, $Z_0\sim\nu$, and $X_0$ independent of $\theta$. These are exactly the compactness, continuity and independence assumptions of the cited version. [Assumption 1.6 and equations (1.6)–(1.8)](https://arxiv.org/pdf/2503.06838#page=5)
33
+
34
+ **Theorem 1.** There are compact orthogonal alignment instances with $D=2$ and $L=0$. The right side of the stated dual (1.6) also equals zero.
35
+
36
+ **Proof.** Take $X=Z=\{-1,+1\}$, $\mu=\delta_{+1}$, $\nu=(\delta_{-1}+\delta_{+1})/2$, $\Theta=O(1)$, $T_\theta x=\theta x$, $R=0$, and $c(y,z)=(y-z)^2$. Either fixed sign has cost $(0+4)/2=2$. In the relaxation draw $Z_0$ from $\nu$ and set $\theta=Z_0$. The source is constant, so the required independence holds. Every realized cost is zero. In (1.6) the integral of the source potential must be constant in $\theta$, hence $\xi(+1,\theta)=b$. Substitution of $\theta=z$ in the dual constraint gives $b+\psi(z)\le0$ at both target atoms. Zero potentials attain zero. This also verifies the discrepancy directly on the dual side.
37
+
38
+ The proof of Lemma 3.2 splits the law of $\theta$ while keeping the conditional laws of $(X_0,Z_0)$ fixed. Reweighting these laws can change the target marginal. In this example conditioning on either sign leaves a point mass at that sign. [Lemma 3.2 and its proof](https://arxiv.org/pdf/2503.06838#page=15)
39
+
40
+ **A connected group and full-rank data.** Put uniform mass on the four unit square vertices at angles $k\pi/2$, and give the target equal mass at the eight angles $k\pi/4$. The target is a half mixture of the original square and its $\pi/4$ rotation. Thus $L=0$. By symmetry restrict a deterministic rotation to $0\le\phi\le\pi/4$. Assign each of two adjacent target vertices to their nearest source vertex. Each source receives exactly $1/4$, so the pointwise nearest-neighbor lower bound is attained. The cost is
41
+ $$2-\cos\phi-\cos(\pi/4-\phi),\qquad D=2-2\cos(\pi/8)>0.$$
42
+ Both means vanish and both covariances are $I_2/2$. Multiplying all coordinates by $\sqrt2$ gives identity covariance and doubles the squared gap. The calculation uses the continuous group $SO(2)$.
43
+
44
+ <!--page-->
45
+ # 2. What the relaxation computes
46
+
47
+ For a law $q$ on $\Theta$, write $\mu_\theta=(T_\theta)_\#\mu$ and $\mu_q=\int\mu_\theta\,dq(\theta)$. Let $\mathrm{OT}_c(\lambda,\nu)$ denote the minimum expected ground cost between the two marginals.
48
+
49
+ **Theorem 2 (mixture identity).** Under the compact continuous hypotheses of Section 1,
50
+ $$L=\min_{q\in\mathcal P(\Theta)}
51
+ \left\{\mathrm{OT}_c(\mu_q,\nu)+\int R\,dq\right\}.$$
52
+
53
+ **Proof.** For any feasible $\gamma$, independence fixes $(X_0,\theta)\sim\mu\otimes q$. Consequently $Y=T_\theta X_0$ has law $\mu_q$ and $(Y,Z_0)$ is a transport plan. Conversely sample $(X_0,\theta)\sim\mu\otimes q$, form $Y$, and draw $Z_0$ from a regular conditional distribution of the target given $Y$ in an optimal coupling of $(\mu_q,\nu)$. Compact metric spaces are standard Borel, so the kernel exists. This attains the displayed cost. Weak compactness and continuity give attainment, either directly for feasible joint laws or by this representation.
54
+
55
+ **Universal exactness.** Suppose $R=0$ and $c$ is squared metric distance. Let $S=\{\mu_\theta:\theta\in\Theta\}$. Then $L=D$ for every $\nu$ if and only if $S$ is convex under ordinary mixing. The attainable $\mu_q$ form the closed convex hull of $S$. Indeed, finite mixtures are dense among such barycenters and their parameter laws form a compact space. If $S$ is closed and convex, every barycenter lies in it. Otherwise a binary mixture lies outside the compact $S$. Taking that mixture as the target gives $L=0<D$.
56
+
57
+ **Compact group consequence.** For a continuous compact group action, universal exactness holds precisely when $\mu$ is group invariant. Its Haar mixture $\bar\mu$ is invariant. If $\bar\mu=g_\#\mu$, then $\mu=(g^{-1})_\#\bar\mu=\bar\mu$. Thus *every* non-invariant source has a target on which equation (1.8) has a strict gap. This includes smooth sources and sources with trivial or nontrivial stabilizers.
58
+
59
+ **Theorem 3 (exact repair).** Impose also $Z_0\perp\theta$. Equivalently, for the same unknown marginal $q$, require
60
+ $$\gamma_{X_0,\theta}=\mu\otimes q,\qquad
61
+ \gamma_{\theta,Z_0}=q\otimes\nu.$$
62
+ These are linear constraints in the joint law, since $q=\gamma_\Theta$. Its disintegration satisfies $\gamma_\theta\in\Pi(\mu,\nu)$ for $q$-almost every $\theta$. The objective is at least $\int F(\theta)dq\ge D$, and an optimal deterministic $\theta$ and its optimal coupling attain equality. At equality $q$ is supported on minimizers and its conditional plans are optimal almost everywhere. Imposing independence of $\theta$ from the *pair* would remove valid mixtures of optimal couplings. The two displayed marginal constraints suffice.
63
+
64
+ <!--page-->
65
+ # 3. A corrected dual and an oracle limit
66
+
67
+ **Dual form of Theorem 3.** A convex formulation of the single-transformation value is to maximize $s\in\mathbb R$ over jointly continuous potentials $u(x,\theta),v(z,\theta)$, subject to
68
+ $$u(x,\theta)+v(z,\theta)\le C_\theta(x,z),\qquad
69
+ s\le\int u(x,\theta)d\mu(x)+\int v(z,\theta)d\nu(z)\quad(\forall\theta).$$
70
+ The supremum is $D$. Both potentials may depend on the transformation.
71
+
72
+ **Proof.** Integrate the first inequality against any coupling at a fixed $\theta$ to get weak duality. For the reverse, fix $\eta>0$. At each $\theta_i$ choose ordinary continuous Kantorovich potentials feasible for $C_{\theta_i}$ and within $\eta$ of $F(\theta_i)$. A neighborhood of $\theta_i$ has $\|C_\theta-C_{\theta_i}\|_\infty<\eta$. The same bound transfers to $|F(\theta)-F(\theta_i)|$. Cover compact $\Theta$ with finitely many of the neighborhoods and choose a continuous partition of unity subordinate to them. Average the local potentials with those weights and subtract $\eta$ from the first potential. The pair is jointly feasible and its integral is at least $F(\theta)-3\eta$ at every $\theta$. Send $\eta$ to zero. This proves equality without requiring a continuous choice of exact optimal potentials.
73
+
74
+ **Theorem 4 (an information limit for arbitrary parameter sets).** Take $\Theta=[0,1]^p$ with the sup metric, $X$ a singleton, $Z=[0,B]$, $\nu=\delta_0$ and $T_\theta x=f(\theta)$. For continuous $f\ge0$, the square root of the squared alignment cost is $\min f$. With an evaluation oracle and no specified modulus, no fixed finite number of queries gives a uniform nontrivial additive guarantee. If $f$ is $K$-Lipschitz, $B\ge4\eta$ and $K/\eta$ is large, the worst-case query count for error $\eta$ and success $2/3$ is of order $(K/\eta)^p$ for fixed $p$.
75
+
76
+ **Proof.** A grid of covering radius $\eta/K$ gives the upper bound. Pack $m$ disjoint open sup-balls of radius $4\eta/K$ with centers inside the cube, where $m\ge c_p(K/\eta)^p$. Compare $f_0=4\eta$ with the alternatives $f_j(\theta)=\min(4\eta,K\|\theta-\theta_j\|_\infty)$. Put probability $1/2$ on the null and distribute the remaining half uniformly over $j$. Under any deterministic adaptive algorithm the all-null transcript visits at most as many balls as queries. With $k$ queries a binary decision based on the transcript has error at least $(1-k/m)/2$. Averaging also covers randomized algorithms. Error $\eta$ distinguishes minima $0$ and $4\eta$, so $k\ge m/3$. Continuity alone allows arbitrarily small wells. This uses one atom per distribution and also applies to the proposed program on these instances. Explicit algebraic transformation families have additional structure. [PSW v2, first open question](https://arxiv.org/pdf/2503.06838#page=7) · [Malherbe–Vayatis, Lipschitz global optimization](https://proceedings.mlr.press/v70/malherbe17a.html)
77
+
78
+ <!--page-->
79
+ # 4. Entropic alignment on finite alphabets
80
+
81
+ Use positive source weights $p_i$, target weights $b_k$, parameter prior $\lambda_j$, and cost tensor $C_{ijk}$ including any penalty. Remove zero-weight atoms. Let $\epsilon>0$ and use the objective $\langle C,\gamma\rangle+\epsilon\,\mathrm{KL}(\gamma\|p\otimes\lambda\otimes b)$. This fixes the reference measure, including when observations are empirical. The authors pose their entropy question with restricted Lebesgue measure. Its relation to this version is specified in Section 5. [PSW v2, equation (1.12)](https://arxiv.org/pdf/2503.06838#page=7)
82
+
83
+ **Theorem 5 (a scaling algorithm for the one-sided relaxation).** Start with the normalized tensor $P_{ijk}\propto p_i\lambda_j b_k e^{-C_{ijk}/\epsilon}$. Repeat the following two projections. With $s_{ij}=\sum_k P_{ijk}$ compute
84
+ $$w_j=\frac{\exp\!\left[\sum_i p_i\log(s_{ij}/p_i)\right]}
85
+ {\sum_\ell\exp\!\left[\sum_i p_i\log(s_{i\ell}/p_i)\right]},\qquad
86
+ P_{ijk}\leftarrow P_{ijk}\,\frac{p_iw_j}{s_{ij}}.$$
87
+ Then replace $P_{ijk}$ by $P_{ijk}b_k/\sum_{i',j'}P_{i'j'k}$. The iterates converge to the unique regularized minimizer with $X_0\perp\theta$. A sweep costs $O(IJK)$ for alphabet sizes $I,J,K$.
88
+
89
+ **Proof.** The objective divided by $\epsilon$ differs from $\mathrm{KL}(\gamma\|P_0)$ by a constant. For the first projection, fixing new $(i,j)$ masses preserves the current conditional law of $k$ at an optimum. Minimization over $w$ reduces to $\sum_{ij}p_iw_j\log(p_iw_j/s_{ij})$ and differentiation gives the formula. The second projection fixes the $k$ marginal. Both constraint sets are affine inside the simplex. Each KL projection has the Pythagorean identity for every point in its constraint set, by its first-order condition. Telescoping against the strictly positive feasible product law bounds its KL divergence to every iterate and sums the successive KL steps. Thus entries stay bounded away from zero for these fixed data, and consecutive iterates approach one another by Pinsker's inequality. Every cluster point lies in both sets. Telescoping against any feasible $H$ and passing to a cluster point $P_*$ gives $\mathrm{KL}(H\|P_0)=\mathrm{KL}(H\|P_*)+\mathrm{KL}(P_*\|P_0)$, using $H=P_*$ to identify the constant. Strict convexity gives convergence of the entire sequence. [Benamou et al., iterative KL projections](https://doi.org/10.1137/141000439)
90
+
91
+ **The exact repair has a different formula.** With both marginal independences, let $E_j$ be ordinary entropic OT at fixed $j$ with reference $p\otimes b$ and cost $C_{\cdot j\cdot}$. The value and the optimizing weights are
92
+ $$-\epsilon\log\sum_j\lambda_j e^{-E_j/\epsilon},\qquad
93
+ w_j=\frac{\lambda_j e^{-E_j/\epsilon}}{\sum_\ell\lambda_\ell e^{-E_\ell/\epsilon}}.$$
94
+ The KL chain rule separates the conditional coupling costs and $\epsilon\mathrm{KL}(w\|\lambda)$. Ordinary Sinkhorn computes each $E_j$. For compact continuous parameters with a full-support prior and finite observation alphabets, the same formula uses a prior integral. Positive kernels have continuous conditional minimizers by compactness, uniqueness and continuity. This formula alone gives no dimension-independent quadrature bound.
95
+
96
+ <!--page-->
97
+ # 5. What can be estimated from samples
98
+
99
+ **Theorem 6 (finite-alphabet entropic value).** Let $V_\epsilon(p,b)$ denote either regularized value in Section 4, with fixed prior, parameter set and cost. Write $B_C=\sup C-\inf C$. For any new marginals $p',b'$,
100
+ $$|V_\epsilon(p,b)-V_\epsilon(p',b')|
101
+ \le B_C\bigl(\mathrm{TV}(p,p')+\mathrm{TV}(b,b')\bigr).$$
102
+ The bound is uniform in $\epsilon$. It also holds with $\epsilon=0$.
103
+
104
+ **Proof.** Choose maximal couplings $p\to p'$ and $b\to b'$ and apply their Markov kernels independently to the source and target of an optimal plan. Keep the transformation. Each required marginal independence is preserved, and the product reference is sent to the new product reference. KL contracts under a Markov kernel by the log-sum inequality. Cost changes by at most $B_C$ times the chance of any changed index, bounded by the sum of the two total variation distances. Exchange primed and unprimed data. Zero population or empirical cells are handled by working on their positive supports.
105
+
106
+ For $n,m$ independent samples from alphabets of sizes $I,K$, respectively, with probability at least $1-\delta$ the error of the plug-in value is at most $B_C$ times
107
+ $$\tfrac12\sqrt{(I-1)/n}+\tfrac12\sqrt{(K-1)/m}
108
+ +\sqrt{\log(2/\delta)/(2n)}+\sqrt{\log(2/\delta)/(2m)}.$$
109
+ Indeed $\mathbb E\sum_i|\hat p_i-p_i|\le n^{-1/2}\sum_i\sqrt{p_i(1-p_i)}
110
+ \le\sqrt{(I-1)/n}$, and total variation changes by at most $1/n$ on replacing one draw. Bounded differences and a union bound finish the argument. Each empirical marginal contributes sampling noise even when the computational optimum is evaluated exactly.
111
+
112
+ **Choice of entropy.** With finite counting measure and a uniform prior on $J$ parameters, $\sum\gamma\log\gamma$ equals the relative entropy used here plus $\sum p\log p+\sum b\log b-\log J$. The terms are known for the observed marginals. With Lebesgue densities $p,b$ on the input spaces, finite differential entropies and a uniform prior on a parameter region of positive finite volume, the analogous identity replaces $J$ by that volume and sums by integrals. A positive-dimensional Lebesgue density for the joint plan cannot have an atomic marginal. Consequently, direct substitution of empirical atoms into the Lebesgue-entropy problem makes the objective infinite. Section 5.1 gives a continuum algorithm and establishes what can be learned when the densities are unknown.
113
+
114
+ **Computational interpretation.** Small entropic residuals can certify a fit to a mixture under the one-sided constraints. When the application requires one frame, the unregularized limit of the two-sided finite formula is $\min_j F_j$. For finite alphabets ordinary entropic value exceeds ordinary OT by at most $\epsilon\min(H(p),H(b))$, by the mutual-information bound for a coupling. The outer soft minimum lies between $\min E_j$ and $\min E_j+\epsilon\log(1/\lambda_{j_*})$ for an optimizing $j_*$. These estimates quantify the finite-prior bias.
115
+
116
+ <!--page-->
117
+ # 5.1. Continuous parameters and Lebesgue entropy
118
+
119
+ **A convergent Sinkhorn construction.** For compact metric $X,\Theta,Z$, a product probability reference $\mu\otimes\lambda\otimes\nu$ and jointly continuous $C(x,\theta,z)$, discretize each space into Borel cells of diameter at most $b$ with known masses. Keep one point per positive-mass cell. Let $\omega_C(b)$ be the maximum variation of $C$ when each coordinate moves at most $b$. For either independence model the regularized continuum and finite tensor values differ by at most $\omega_C(b)$, for every $\epsilon>0$.
120
+
121
+ Indeed, projection to cells preserves the marginal independences, contracts KL, and changes cost by at most $\omega_C(b)$. In the reverse direction independently resample inside each selected cell from the corresponding conditional reference. The lifted density is constant relative to the product reference on each cell triple, so its KL is exactly the discrete KL. The required independences still hold. This gives both bounds. Compactness makes $\omega_C(b)\to0$. Applying the scaling algorithm to increasingly fine matrices, with each finite optimization error tending to zero, gives a convergent algorithm. For the authors' Lebesgue objective with known finite-entropy densities, add the constants specified in Section 5. Complexity depends on covering numbers, cost modulus and access to cell masses.
122
+
123
+ For unknown marginals and the product-reference objective, the kernel proof of Theorem 6 also applies to continuous spaces. If $C$ is uniformly Lipschitz in source and target with constants $L_X,L_Z$, use optimal $W_1$ couplings in place of maximal couplings. It gives value error at most $L_X W_1(\mu,\mu')+L_Z W_1(\nu,\nu')$. Thus Section 12 gives explicit, possibly conservative, plug-in sample upper bounds through $W_1\le W_2$ on the respective Euclidean supports.
124
+
125
+ **An absolutely continuous gap in the proposed zero-temperature limit.** Let $X,\Theta,Z=[0,1]$, take all reference marginals uniform and $T_\theta x=\theta$. Use squared distance and zero penalty. The fixed-transform optimum is the variance of a uniform variable, $1/12$. For integer $k$ split the unit interval into $k$ equal bins. Choose one bin uniformly, draw $\theta,z$ independently inside it and take $x$ independently uniform. This is a feasible Lebesgue density for the one-sided relaxation with squared cost $1/(6k^2)$ and entropy $\log k$. Both cost and entropy are nonnegative on the unit cube. Choosing $k=\lceil\epsilon^{-1/2}\rceil$ proves that its regularized value tends to zero as $\epsilon\downarrow0$. This directly contradicts convergence to the deterministic value in the displayed discussion after equation (1.12). [PSW v2, §1.1](https://arxiv.org/pdf/2503.06838#page=7)
126
+
127
+ **Distribution-free sample complexity for Lebesgue entropy is unbounded.** Set $C=0$ on the same cube and hold $\nu$ uniform. The minimum equals $\epsilon\,\mathrm{KL}(\mu\|\mathrm{Unif}[0,1])$, attained by the independent product with uniform parameter. For any proposed $n$, mix the uniform density with a smooth bump of mass $\tau=1/(10n)$ in an interval of length $w$. The two $n$-sample distributions have TV at most $n\tau=1/10$ by coupling. Coarsening to the interval and its complement bounds the KL from below by $\tau\log(1/w)-\log2$. Making $w$ sufficiently small separates the two optimal values by more than any prescribed error doubled. A test with both errors at most $1/3$ would have error sum at most $2/3$, whereas TV gives at least $9/10$. Each density is smooth and positive on the unit interval. Uniform smoothness or density bounds change the statistical question.
128
+
129
+ <!--page-->
130
+ # 6. Uniqueness and a quadratic growth bound
131
+
132
+ Let $S\subset\mathcal P_2(\mathbb R^d)$ be compact in $W_2$, $\nu$ a target, and $P$ a proper lower-semicontinuous penalty on $S$, finite somewhere. Write $G(\rho)=W_2^2(\nu,\rho)+P(\rho)$. For every two finite-penalty points assume there is a joint law $(Y,X_0,X_1)$ such that $(Y,X_i)$ optimally couples $\nu,\rho_i$, and $\rho_t=\mathrm{Law}((1-t)X_0+tX_1)$ lies in $S$. This is a generalized geodesic based at the target. Put $A=\mathbb E\|X_0-X_1\|^2$.
133
+
134
+ **Theorem 7.** If the same chosen interpolations satisfy
135
+ $$P(\rho_t)\le(1-t)P(\rho_0)+tP(\rho_1)+\kappa t(1-t)A,\qquad \kappa<1,$$
136
+ there is one minimizer $\rho_*$, and $G(\rho)-G(\rho_*)\ge(1-\kappa)W_2^2(\rho,\rho_*)$. This includes $P=0$. Multiple parameters representing the same measure may still tie.
137
+
138
+ **Proof.** The coupling with $Y$ yields $W_2^2(\nu,\rho_t)\le(1-t)W_2^2(\nu,\rho_0)+tW_2^2(\nu,\rho_1)-t(1-t)A$ by expansion of the square. Compactness gives a minimizer. Set $\rho_0=\rho_*$, compare with $G(\rho_t)\ge G(\rho_*)$, divide by $t>0$, then take $t\downarrow0$ and use $A\ge W_2^2(\rho_0,\rho_1)$. Sharpness at $\kappa=1$ follows on $S=\{\delta_x:|x|\le1\}$ with $\nu=\delta_0$ and $P(\delta_x)=1-x^2$, which makes the objective constant. This is the classical base-point square identity applied to the penalized alignment question. [PSW v2, Proposition 2.3](https://arxiv.org/pdf/2503.06838#page=10)
139
+
140
+ **An explicit smooth exception for ordinary geodesics.** Take any rotationally invariant planar $Z$ with covariance $I$, for example a standard Gaussian or a smooth compact radial density scaled to this covariance. Let $A_t=\left(\begin{smallmatrix}1&t\\t&1\end{smallmatrix}\right)$ for $|t|\le1/2$, $\rho_t=\mathrm{Law}(A_t\,\mathrm{diag}(3,1)Z)$ and $\nu=\mathrm{Law}(\mathrm{diag}(1,3)Z)$. The map $A_tA_s^{-1}$ is symmetric positive definite since the $A$'s commute. It is the unique optimal coupling map and the straight interpolation stays on this segment. Yet
141
+ $$W_2^2(\rho_t,\nu)=20+10t^2-2\sqrt{36+64t^2}$$
142
+ has exactly two minimizers $t=\pm\sqrt{31}/20$ with value $319/40$, below the midpoint value $8$.
143
+
144
+ For verification, elliptical laws with the same radial template and covariance matrices $S,T>0$ are related by $B=S^{-1/2}(S^{1/2}TS^{1/2})^{1/2}S^{-1/2}$. Indeed $BSB=T$ and two factors of the same positive covariance differ by a right orthogonal matrix. The inequality $2x^\top y\le x^\top Bx+y^\top B^{-1}y$ has equality exactly at $y=Bx$, proving optimality and uniqueness. In two dimensions the square of the trace of the positive square root of $S^{1/2}TS^{1/2}$ is $\mathrm{tr}(ST)+2\sqrt{\det S\,\det T}$. Substitution gives the formula, which is strictly convex in $t^2$ with minimum at $31/400$. Uniqueness of geodesics follows from unique optimal coupling and Euclidean displacement interpolation. The general nonuniqueness phenomenon predates this example. [Gelbrich](https://doi.org/10.1002/mana.19901470121) · [Adve–Mészáros](https://arxiv.org/abs/2009.01370)
145
+
146
+ <!--page-->
147
+ # 7. A distribution that hides its frame in low moments
148
+
149
+ Fix $h\ge1$, an amplitude $0<a\le1/(4\sqrt3)$, and an orthogonal matrix $Q$. Sample $\phi$ uniformly from $[0,\pi]$ and set
150
+ $$t=\tfrac58+\tfrac38\cos\phi,\qquad g(\phi)=(\cos h\phi,\cos((h+1)\phi),\cos((h+2)\phi))^\top.$$
151
+ Given $\phi$, sample a direction $u\in S^2$ with density $1+a\,t^{-1/2}u^\top Qg(\phi)$ relative to uniform surface probability. Output $X=\sqrt t\,u$ and write $\mu_Q=\mathrm{Law}(X)$. The density is between $1/2$ and $3/2$. Integrating over the sphere normalizes it, and $\phi$ can be recovered from $\|X\|^2$. The template is $\mu_I$.
152
+
153
+ **Theorem 8 (moment orders and conditioned recovery).** Every even raw moment tensor is isotropic. All odd moments below $2h+1$ vanish. The spatial stabilizer is trivial. Three polynomial vector moments first reveal three independent directions at distinct orders $2h+1,2h+3,2h+5$. A bounded radial feature also recovers the frame exactly:
154
+ $$v_j=\mathbb E[t^j X]=\tfrac a3 Q\,\mathbb E[t^jg(\phi)],\qquad 6\mathbb E[Xg(\phi)^\top]=aQ.$$
155
+
156
+ **Proof.** The constant angular density gives the isotropic part. In a tensor of even order the extra angular integrand is odd and integrates to zero. At order $2j+1$, the extra part is obtained by contracting $\int u^{\otimes(2j+2)}d\sigma$ against $aQ\mathbb E[t^jg]$. It is a linear $O(3)$-equivariant function of $v_j$ alone. Tracing $j$ pairs of indices recovers $v_j$ exactly. Since $t^j$ is a cosine polynomial of degree $j$, its inner product with $\cos(\ell\phi)$ vanishes for $j<\ell$. For $j=\ell\ge1$ it equals $(3/16)^\ell$, by the leading Laurent coefficient of $(5/8+3(z+z^{-1})/16)^\ell$. Thus the three columns $v_h,v_{h+1},v_{h+2}$ form an upper triangular matrix in the $Q$ frame, with nonzero diagonal and determinant
157
+ $$\det[v_h,v_{h+1},v_{h+2}]=\det(Q)(a/3)^3(3/16)^{3h+3}.$$
158
+ Finally $\mathbb E[uu^\top]$ under uniform surface measure is $I/3$ and $\mathbb E[gg^\top]=I/2$. They give the feature identity. Any stabilizer must fix all three columns. Choosing $h=\lceil M/2\rceil$ hides all moments through any prescribed $M\ge1$.
159
+
160
+ **A quantitative Wasserstein margin.** For $F(x)=xg(\phi(\|x\|^2))^\top$ on this annulus, $\mathrm{Lip}(F)\le L_h=\sqrt3[1+(16/3)(h+2)^2]$ in Frobenius norm. Each cosine is a Chebyshev polynomial of $(8t-5)/3$, with derivative bounded by $(h+2)^2$ on $[-1,1]$. Also $|\|x\|^2-\|y\|^2|\le2\|x-y\|$. Coupling and Jensen give $W_2(\mu_Q,\mu_S)\ge a\|Q-S\|_F/(6L_h)$. A mirror is therefore at least $a/(3L_h)$ away after every proper rotation, since the least Frobenius distance between the two orthogonal components is $2$. This margin concerns vector-space transport. The sign of $\det Q$ concerns transpose parity in the qubit model of Section 9.
161
+
162
+ <!--page-->
163
+ # 8. Sharp sample complexity of the optimal frame
164
+
165
+ Observe $n$ exact, independent vectors from $\mu_Q$, with $h$ and the construction known, and estimate the unknown proper frame $Q$. Its population alignment with $\mu_I$ has unique zero-cost optimizer $Q$. Let $n_*(a,u,\delta)$ be the least sample size allowing Frobenius error at most $u$ with probability at least $1-\delta$, uniformly in $Q$.
166
+
167
+ **Theorem 9.** For $0<u\le1/2$, $0<\delta\le1/8$ and every $h\ge1$,
168
+ $$\frac{\log(1/(4\delta))}{12a^2u^2}
169
+ \ \le\ n_*(a,u,\delta)\
170
+ \le\ \left\lceil\frac{2592\log(18/\delta)}{a^2u^2}\right\rceil.$$
171
+ Thus the minimax order is $a^{-2}u^{-2}\log(1/\delta)$ with constants independent of the hidden moment order. If identifiable sources with arbitrarily small $a>0$ are permitted, no uniform finite sample bound exists for recovering a rotation to fixed accuracy and confidence.
172
+
173
+ **Upper bound.** Estimate $aQ$ by $B_n=6n^{-1}\sum X_i g(\phi_i)^\top$. Each entry of its summands lies in $[-6,6]$. Hoeffding and a union bound bound the maximum entry error by $\sqrt{72\log(18/\delta)/n}$. A nearest $aSO(3)$ matrix has error from $aQ$ at most twice $\|B_n-aQ\|_F$, giving the stated bound. This is a $3\times3$ Procrustes fit. Positive scaling does not change the optimizing orthogonal factor. Projecting on $O(3)$ instead also estimates transpose parity once the error is below $1$.
174
+
175
+ **Lower bound.** Relative to the common radial and uniform angular law, each density is at least $1/2$. By $\mathrm{KL}\le\chi^2$, sphere integration, $t^{-1}\le4$ and $\mathbb E[gg^\top]=I/2$,
176
+ $$\mathrm{KL}(\mu_Q\|\mu_S)\le
177
+ 2a^2\,\mathbb E[t^{-1}(u_0^\top(Q-S)g)^2]\le \tfrac43a^2\|Q-S\|_F^2,$$
178
+ where $u_0$ is an independent uniform unit vector in this display. Choose two rotations distance $3u$ apart. An estimator accurate to $u$ induces a binary test with error sum at most $2\delta$. For any laws $P,H$, their affinity $b=\int\sqrt{dP\,dH}$ satisfies $b\ge\exp(-\mathrm{KL}(P\|H)/2)$ by Jensen, and $\mathrm{TV}(P,H)\le\sqrt{1-b^2}$ by Cauchy–Schwarz. Therefore every test has error sum at least $\tfrac12\exp(-\mathrm{KL}(P\|H))$. Product divergences add and give the lower bound.
179
+
180
+ **Two unpaired clouds.** If the frames are $Q_1,Q_2$, estimate each and form $\widehat Q_2\widehat Q_1^\top$. The two Frobenius errors add. Using $u/2,\delta/2$ for each gives the same order per cloud. Varying only the frame of the smaller cloud gives the same order lower bound in $\min(n,m)$. These statements answer the optimal-transformation sampling question for an explicitly specified family. The estimator uses the family structure. The bound assumes exact vector observations. At finite radial precision the preceding Lipschitz bound grows with $h$. [PSW v2, §1.1](https://arxiv.org/pdf/2503.06838#page=7) · [Related planted Procrustes–Wasserstein model](https://arxiv.org/abs/2405.14532)
181
+
182
+ <!--page-->
183
+ # 9. Exactly when qubits reveal a mirror
184
+
185
+ For a Bloch vector $x$, let $\rho(x)=(I+x\cdot\sigma)/2$, with $\sigma$ the three Pauli matrices. A block of $m$ preparations shares one latent draw $X$ and has density $B_m(\mu)=\mathbb E[\rho(X)^{\otimes m}]$. Different blocks draw independently. One common unknown proper rotation acts on all blocks. For a fixed schedule $(m_1,\ldots,m_b)$ compare the Haar averages of the joint states under $\mu$ and its transpose twin $J_\#\mu$, $J=\mathrm{diag}(1,-1,1)$. Block boundaries are known. Any joint measurement is allowed. A nonzero advantage means optimal equal-prior success strictly exceeds $1/2$.
186
+
187
+ **Theorem 10 (exact block criterion).** Allow any radial law on $0<t\le1$ with conditional angular density $1+b(t)\cdot u$ relative to uniform surface measure, where $\|b(t)\|\le1$. Let $v_j=\mathbb E[t^jX]$ and $d_i$ be the first odd degree $2j+1$ for which $\mathrm{span}(v_0,\ldots,v_j)$ has dimension at least $i$. Use $+\infty$ when this never occurs. A mirror is detectable exactly when three *different blocks* can be assigned sizes at least $d_1,d_2,d_3$, respectively. For Section 7 the least total is
188
+ $$d_1+d_2+d_3=(2h+1)+(2h+3)+(2h+5)=6h+9.$$
189
+
190
+ **Lower bound.** Expand each block in Pauli tensors, placing identities in unused slots. A term from even order is isotropic. A term from odd order $2j+1$ is an $O(3)$-equivariant linear image of the single vector $v_j$, by the angular-integral argument in Theorem 8. Conjugation of the state by $SU(2)$ implements the proper rotation of all coefficient indices, and transposition reflects these indices by $J$. In a product of blocks, each expansion term uses at most one such vector per block. Three independent vectors would have to be sourced at degrees at least $d_1,d_2,d_3$ after sorting their degrees. If the schedule fails the criterion, each term uses vectors in some subspace of dimension at most two. A reflection fixing that subspace pointwise, followed by $J$, gives a proper rotation agreeing with $J$ on all vectors in this term. The isotropic factors are unchanged. Haar averaging then makes that term identical for both ensembles. Linearity proves equality of the entire density matrices, hence equality of every measurement probability.
191
+
192
+ **Attainment.** Keep $2j_i+1=d_i$ qubits in each of the three blocks. Use $j_i$ disjoint pairs per block with observable $S=\sum_{\ell=1}^3\sigma_\ell\otimes\sigma_\ell$, and on the three spare qubits use $C=\sum_{uvw}\varepsilon_{uvw}\sigma_u\otimes\sigma_v\otimes\sigma_w$. Their tensor product is invariant under common proper rotations. Conditional pair expectations equal $\|x\|^2$ and the triple expectation equals $\det[x_1,x_2,x_3]$. Independence across blocks gives expectation $\det[v_{j_1},v_{j_2},v_{j_3}]$, nonzero by the definition of the first rank increases. Transposition changes its sign. This proves distinguishability and all threshold claims. [Reference-frame averaging](https://arxiv.org/abs/quant-ph/0610030) · [Relational measurements and Bargmann invariants](https://arxiv.org/abs/2109.10006)
193
+
194
+ <!--page-->
195
+ # 10. What the quantum threshold measures
196
+
197
+ For Section 7 the two-outcome measurement with effects $(I\pm O/K)/2$, where $O$ is the product observable in Theorem 10 and $K=6\,3^{3h+3}$, is valid. The triangle inequality gives $\|C\|\le6$, and $S=2\,\mathrm{SWAP}-I$ has norm $3$. After choosing the sign convention for the known template, the success probability is at least
198
+ $$\tfrac12+\frac{(a/3)^3(3/16)^{3h+3}}{2K}.$$
199
+ The exact threshold is for the *onset* of a signal. This lower bound on success can be very close to chance. Sections 10.1–10.2 give the sharp fixed-confidence order using a different measurement.
200
+
201
+ | Data available | Identifiable information for this family |
202
+ |:--|:--|
203
+ | One independently redrawn qubit per block | The mean qubit is $I/2$. Every number of these preparations has the same joint state for all frames. |
204
+ | A single latent draw with any number of copies and a Haar-unknown frame | Haar averaging a single Bloch direction retains only its radius. The mirror has the same radial law at every order. |
205
+ | Independent repeated-preparation blocks in one unknown common frame | Theorem 10 gives a necessary and sufficient schedule for detecting a mirror. Three blocks of sizes $3,5,7$ first succeed when $h=1$. |
206
+ | Exact Bloch vectors with unpaired samples | Theorem 9 estimates the common relative rotation. Radius-dependent features are observable for every sample. |
207
+ | Pairwise dot products or a graph generated from them | Simultaneously reflecting all vectors preserves all the observations. No number of these observations reveals the sign. |
208
+
209
+ **Registration of observed qubit states and effects.** For $H=\alpha I+r\cdot\sigma$ and $K=\beta I+s\cdot\sigma$, $\|UHU^\dagger-K\|_{\rm HS}^2=2[(\alpha-\beta)^2+\|R_Ur-s\|^2]$. Here $SU(2)\to SO(3)$ is the double cover. For normalized states use the full Bloch vector $x=2r$. Then $\|\rho(x)-\rho(y)\|_{\rm HS}=\|x-y\|/\sqrt2$, and the conventional trace distance is $\|\rho(x)-\rho(y)\|_1/2=\|x-y\|/2$. A fit determines $U$ up to sign and any data stabilizer. The input is a list of single-qubit operators or known one-particle marginals. Global entangled registers are a different input space. Transposition compares two preparations mathematically and need not be implemented as a channel.
210
+
211
+ The fixed-origin results of Yeonuxi apply to these coordinate clouds. A relative residual bound by itself is insufficient to identify a unique frame or pairing. A general $2\times2$ Hermitian record has a scalar attribute. Normalized density matrices have constant trace, so the scalar contributes no distance. For $n\ge3$ full-rank fixed-origin records the respective generic quotient dimensions are $4n-3$ and $3n-3$. For all $n$, put $r=\min(3,n)$ and use $mn+rn-r(r-1)/2$, where $m=1$ or $0$. The finite-height embedding in Section K needs its normalized common-denominator hypothesis. Section A supplies a separate all-real oversampled embedding. The finite-resolution guarantee of Section L is additive near its grid scale. [Yeonuxi 5.0, §§A, I, K–N](https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration)
212
+
213
+ <!--page-->
214
+ # 10.1. A sharp high-confidence quantum copy bound
215
+
216
+ Let $B_*(h,a,\delta)$ be the least total qubit count over fixed block schedules and all joint measurements that discriminate the template from its transpose with equal-prior error at most $\delta$ after the common Haar average. The frame is independent of the hypothesis. Observations from a single trial have one shared frame. This resource counts actual preparations of the latent states.
217
+
218
+ **Theorem 10A.** Uniformly for $h\ge1$, $0<a\le1/(4\sqrt3)$ and $0<\delta\le1/8$,
219
+ $$B_*(h,a,\delta)=\Theta\!\left(h^2 a^{-2}\log(1/\delta)\right).$$
220
+ The constants are numerical. A measurement of individual Pauli components followed by classical processing attains the upper order. The lower bound allows entangled measurements on all preparations. Thus the exact onset $6h+9$ and a fixed-confidence requirement give different resource laws.
221
+
222
+ **Upper bound.** Write $z=(8t-5)/3=\cos\phi$, $w=1-z^2$ and $H(x)=x[w g(\phi)]^\top$. Clip $z$ to $[-1,1]$ to define this feature on the entire unit ball. The taper $w$ controls noise near the endpoints. For degree $k$, $|(d/dz)((1-z^2)T_k(z))|\le2+k$ by the cosine identity. Thus $\mathrm{Lip}(H)\le L=\sqrt3[1+(16/3)(h+4)]$. Also $6\mathbb E_{\mu_Q}H=aQG_h$, where $G_h=2\mathbb E[wgg^\top]$ is positive definite with $\lambda_{\min}(G_h)\ge c_0=(3-\sqrt5)/8$. Indeed $G_h$ has diagonal $1/2$, except that the first entry is $1/4$ if $h=1$, and only the corner off-diagonal entries are nonzero, both $-1/4$. For $h\ge2$ its least eigenvalue is $1/4$.
223
+
224
+ Per block measure each Pauli component on $l$ independent copies, form the three sample means and project their vector onto the closed Bloch ball, obtaining $\tilde X$. Conditional on $X$, $\mathbb E\|\tilde X-X\|\le\sqrt{3/l}$ by variance and nonexpansiveness. Under the isotropic reference law, $H(\tilde X)-H(X)$ has mean zero: inverting $X$ and every outcome leaves their joint law unchanged and reverses the feature. The density tilt has magnitude at most $2\sqrt3a$. Hence the Frobenius bias of $6H(\tilde X)$ relative to $aQG_h$ is at most $36aL/\sqrt l$. Choose $l=\lceil(144L/c_0)^2\rceil$ and $n=\lceil10368\log(18/\delta)/(ac_0)^2\rceil$ blocks. Entrywise Hoeffding, as in Theorem 9, bounds the Frobenius fluctuation of their mean by $ac_0/4$. Bias plus fluctuation is at most $ac_0/2$. Every matrix within this distance of $aQG_h$ has determinant sign $\det Q$ by its smallest singular value and continuity along the line segment. The schedule uses $3ln$ qubits and succeeds uniformly in the actual frame, which implies the claimed Haar-averaged guarantee.
225
+
226
+ <!--page-->
227
+ # 10.2. Why joint quantum measurements cannot improve the order
228
+
229
+ **A more informative experiment.** For a block of $m\ge1$ qubits, give an observer the exact direction $u$ and $m$ signs. Given $\phi$, each sign independently has mean $r=\sqrt t$. The eigenstate of $u\cdot\sigma$ with the reported sign can be prepared from this information. Averaging over signs yields exactly $\rho(ru)^{\otimes m}$. Thus a classical record can simulate the original block and any subsequent joint quantum measurement. We can bound the information in this more informative record.
230
+
231
+ For a sign string $s$, let $p_s(\phi)$ be its likelihood, $b_s=\mathbb E_\phi p_s>0$, $v=t^{-1/2}$ and $d_{s,i}=\mathbb E_\phi[p_s v\cos(k_i\phi)]$, where $k_i=h+i-1$ for $i=1,2,3$. Relative to uniform directions and sign masses $b_s$, the record has density $1+a u^\top Qd_s/b_s\ge1/2$. For frames $Q,S$, sphere integration bounds its KL divergence by
232
+ $$\tfrac{2a^2}{3}\|Q-S\|_{\rm op}^2\sum_{s,i}d_{s,i}^2/b_s.$$
233
+
234
+ **Frequency estimate.** Integration by parts against $\cos(k_i\phi)$ has zero boundary term. Cauchy–Schwarz with likelihood weight $p_s$ gives
235
+ $$d_{s,i}^2/b_s\le k_i^{-2}\mathbb E_\phi\!\left[p_s
236
+ (v'+v\,\partial_\phi\log p_s)^2\right].$$
237
+ The scores sum to zero after weighting by $p_s$. The sum of their squared scores is $m$ times the one-sign Fisher information $I_\phi=(r')^2/(1-r^2)=(3/32)(1+\cos\phi)/t\le3/4$. The likelihood is positive on the open interval and the endpoint limits in this integral are harmless. Using $|v'|\le3/2$ and $v\le2$ bounds the sum over $s$ by $(9/4+3m)/k_i^2$. Since $\|Q-S\|_{\rm op}\le2$, divergence per block is at most $42a^2m/h^2$.
238
+
239
+ Now reveal the common Haar rotation as extra classical information, using the same Haar law in both hypotheses. Conditional on it, the block records are independent and the two frames are a fixed proper/improper pair. Their joint KL is at most $42a^2B/h^2$ for total budget $B$. Averaging over the revealed rotation preserves this upper bound. Any equal-prior test with error $\delta$ has error sum $2\delta$. Applying the affinity inequality from Theorem 9 before simulating the quantum measurement gives
240
+ $$B_*(h,a,\delta)\ \ge\ \max\!\left\{6h+9,\ \frac{h^2}{42a^2}\log\frac1{4\delta}\right\}.$$
241
+ Together with the explicit upper schedule this proves Theorem 10A. The theorem concerns fixed, labeled, independently prepared blocks. It allows arbitrary measurement and postprocessing of the resulting qubits. Costs of producing a prescribed ensemble and designing hardware are outside this resource count.
242
+
243
+ <!--page-->
244
+ # 11. Moment-blind self-similar measures
245
+
246
+ **Theorem 11 (a corrected fractal construction).** Choose a finite, distinct spherical design $\{\tau_1,\ldots,\tau_b\}\subset S^{d-1}$ of strength at least $\max(M,2)$, with $d\ge2$ and $M\ge1$. Write $G$ for its orthogonal symmetry group and $\delta$ for its minimum separation. Let $0<r<\delta/6$. Take $R_j\in SO(d)$ satisfying $R_i^{-1}QR_j\notin G$ for $i\ne j$ and $Q\in G$. The unique stationary law for the equally weighted maps $x\mapsto\tau_j+rR_jx$ has isotropic moments through $M$, trivial orthogonal stabilizer and covariance $I/[d(1-r^2)]$. Its finite depth-$L$ prefix law $\mu_L$ satisfies, for $L\ge1$,
247
+ $$W_2(\mu,\mu_L)=r^L/\sqrt{1-r^2}.$$
248
+ Every core of depth at least two already has trivial stabilizer and isotropic moments up to $M$. Spherical design existence is classical. [Bondarenko–Radchenko–Viazovska](https://annals.math.princeton.edu/2013/178-2/p02)
249
+
250
+ **Construction and moment proof.** Strength two implies spanning, hence $G$ injects into a finite permutation group. Choose the rotations in sequence, excluding the finitely many matrices $Q^{-1}R_iG$ for earlier $i$ and $Q\in G$ and their equivalent inverse conditions. Let $Y_\ell$ be independent uniform branch labels. The convergent random series has increments $r^\ell R_{Y_1}\cdots R_{Y_\ell}\tau_{Y_{\ell+1}}$ for $\ell\ge0$. For a finite prefix, induct on depth: expanding $(\tau_j+rR_jX')^{\otimes m}$, each lower-depth moment of order $k\le m$ is isotropic and loses its factor $R_j^{\otimes k}$. The remaining average of $\tau_j^{\otimes(m-k)}$ is isotropic by the design property. Start with $\delta_0$ and take bounded convergence for the limit. The mean is zero, the order-two recursion gives the covariance, and distinct increments are orthogonal in $L^2$ by conditioning on past labels. The matched-prefix squared error is therefore $r^{2L}/(1-r^2)$.
251
+
252
+ **Rigidity.** First-generation branches lie within $r/(1-r)$ of their offsets. Since $4r/(1-r)<\delta$, each branch has diameter less than $\delta/2$ and any two branches have distance greater than $\delta/2$. Threshold connectivity recovers the first-level partition, also recursively inside each branch. An orthogonal symmetry preserves the law and permutes these equal-mass clusters, hence their centroids $\tau_j$. It belongs to $G$. The next centroids $\tau_j+rR_j\tau_k$ force $R_{\pi(j)}^{-1}QR_j\in G$. The choice of rotations forces $\pi(j)=j$ for all $j$, whence $Q=I$ by spanning. This uses only two levels and works for finite cores. Compactness of $SO(d)$ gives a positive distance to any reflected twin modulo proper rotations.
253
+
254
+ **Exact truncation cost.** Distinct prefix centers have separation at least $r^{L-1}(\delta-2r/(1-r))$, by their first different label. Each tail stays within $r^L/(1-r)$ of its own center, less than half that separation. Assigning each point to its own prefix is pointwise nearest and has the prescribed masses. No coupling to this fixed core costs less. Multiplying points by $1-r$ places the law inside the Bloch ball when $d=3$. The copy thresholds of Theorem 10 apply to its specified dipole laws. For the fractal construction only the stated low-order blindness follows.
255
+
256
+ <!--page-->
257
+ # 12. Cores and sampling with an intrinsic covering bound
258
+
259
+ Assume a compact support of diameter $D>0$ has covering numbers at radius $uD$ bounded by $C u^{-s}$ for $0<u\le1$. Use nested maximal separated nets $T_\ell$ of radii $r_\ell=D2^{-\ell}$ with one root and link each point to a nearest previous-level net point. Then $|T_\ell|\le C2^{(\ell+1)s}$. Assign points to nearest leaves, resolving ties by index. The leaves below a level-$\ell-1$ parent have pairwise distance at most $4r_{\ell-1}$ by summing ancestor displacements. For $D=0$ a single atom suffices.
260
+
261
+ **Theorem 12 (one coupling across all scales).** For two probability laws $p,q$ on the leaves, let $d_v=p(\mathrm{subtree}(v))-q(\mathrm{subtree}(v))$. Then
262
+ $$W_2^2(p,q)\le8\sum_{\ell=1}^L r_{\ell-1}^2\sum_{v\in T_\ell}|d_v|.$$
263
+ Match common mass at each leaf and pass unmatched surplus or deficit upward. At a parent $u$, pair opposite signs coming from different children. The amount newly paired is $(\sum_{v\ {\rm child}}|d_v|-|d_u|)/2$. Each new pair costs at most $(4r_{\ell-1})^2$ per unit and root discrepancy is zero. Summing proves the displayed bound.
264
+
265
+ **Uniform dyadic core.** Order the leaves by depth-first traversal. Round every cumulative endpoint $A$ of the leaf mass intervals to $\lfloor KA\rfloor/K$ for dyadic $K$ and take successive differences. Nonnegative leaf counts sum to $K$ and every subtree is one interval, hence $|d_v|<1/K$. Choose the first $L$ with $r_L\le\eta/2$ and the least power of two at least $\max(1,32\sum_\ell r_{\ell-1}^2|T_\ell|/\eta^2)$. Leaf assignment followed by Theorem 12 gives $W_2(\mu,\mu^{[K]})\le\eta$. With $z=D/\eta\ge1$, the sufficient counts are
266
+ $$K=O_s(C)\begin{cases} z^2 &s<2,\\ z^2\log(2z)&s=2,\\ z^s&s>2.\end{cases}$$
267
+ This follows by summing $2^{(s-2)\ell}$. The critical logarithm improves the squared logarithm in the submitted tree proof. Two dyadic counts have least common multiple equal to the larger count. These are upper bounds for general covering classes. [Prior work on equal-weight quantization](https://arxiv.org/abs/1801.02871)
268
+
269
+ **Empirical law.** At each level $\mathbb E\sum_v|\hat p_v-p_v|\le\sqrt{|T_\ell|/N}$ by multinomial variance. Project both laws onto the leaves, incurring at most $2r_L$ in $W_2$. Taking the square root after summing level costs gives
270
+ $$r_N:=(\mathbb E W_2^2(\hat\mu_N,\mu))^{1/2}
271
+ \le c_s C^{1/4}D\begin{cases}N^{-1/4}&s<4,\\
272
+ N^{-1/4}\sqrt{\log(2N)}&s=4,\\N^{-1/s}&s>4.\end{cases}$$
273
+ Choose $L=\max(1,\lceil\log_2 N/\max(4,s)\rceil)$ and sum $2^{(s/2-2)\ell}$. Replacing one draw changes the optimal squared cost by at most $D^2/N$ by rerouting its $1/N$ mass. Thus with probability $1-\alpha$, $W_2(\hat\mu_N,\mu)\le r_N+D(\log(1/\alpha)/(2N))^{1/4}$. The constants contain the covering bound. [Weed–Bach](https://arxiv.org/abs/1707.00087) · [Fournier–Guillin](https://perso.lpsm.paris/~nfournier/a58.pdf)
274
+
275
+ <!--page-->
276
+ # 13. A computable test for rigid equivalence
277
+
278
+ Let $\Delta_G(\mu,\nu)=\inf_{Q\in G}W_2(Q_\#\mu,\nu)$ for rotations or all orthogonal maps. Full-cloud translations can be optimized analytically. For any coupling the squared displacement is the sum of the squared mean discrepancy and centered displacement cost. The optimal translation is $\bar y-Q\bar x$. Centering both members of a compared pair does not increase their $W_2$ error.
279
+
280
+ **Theorem 13 (interval certificate).** Let $e$ bound the sum of the two distribution-to-core errors, including sampling, quantization and snapping. If a feasible core alignment has cost $U$ measured in root-mean-square units and obeys $U\le(1+\epsilon)\Delta_{\rm core}$, then
281
+ $$\max(0,U/(1+\epsilon)-e)\le\Delta_G(\mu,\nu)\le U+e.$$
282
+ Isometry of pushforwards and the triangle inequality give $|\Delta_G-\Delta_{\rm core}|\le e$, which proves the interval. Use the two confidence bounds of Section 12 with failure probabilities summing to $\alpha$. Add both deterministic quantization errors and, for nearest grid step $b$, at most $b\sqrt d/2$ per cloud. For $e\le\delta/3$ and $\epsilon=1/2$, the null $\Delta_G=0$ implies $U\le\delta/2$, while $\Delta_G\ge2\delta$ implies $U\ge5\delta/3$ on the same event. Evaluating $U$ on the cores suffices. This applies to the fractal twins for $\delta$ at most half their actual parity gap.
283
+
284
+ **Discrete solver and its scope.** For uniform samples of sizes $n,m$, replicate to $\ell=\mathrm{lcm}(n,m)\le nm$. The scaled transportation polytope has integer margins and integral vertices, so an optimal plan equals a permutation of the replicas divided by $\ell$. Equivalently partition its integer edge flows among copies. This holds for every fixed transformation and hence after minimization. General real weights use a weighted transport oracle or the approximation of Section 12. A rational atom weight with a binary-encoded denominator can make direct replication exponential in input bits.
285
+
286
+ For completeness, equal-sized fixed-dimensional clouds admit the following relative scheme. Write the source as columns $X=X_B H$ using a maximum-volume rank-$r$ column basis. Cramer's rule gives $|H_{ij}|\le1$, $\|H\|_{\rm op}\le\sqrt{r\ell}$. For a predicted pivot image $V$, assign predicted columns $VH$ to the targets, then refit a permitted orthogonal motion on the original columns. If $E=\|VH-Q_*X\|_F$ at an optimal $Q_*$, two triangle inequalities give refitted norm at most $D_*+2E$, where $D_*=\sqrt\ell\,\Delta_{\rm core}$. Enumerate the ordered target pivot partners. For the optimal partners, pivot residual is at most $D_*$, so the best coarse feasible norm $D_0$ satisfies $D_*\le D_0\le H_0D_*$ with $H_0=1+2\sqrt{r\ell}$. Return immediately if $D_0=0$. Around each candidate tuple grid all $dr$ entries to radius $D_0$ with mesh at most $\epsilon D_0/(H_0\sqrt{dr}\sqrt{r\ell})$, including endpoints. Some prediction has $E\le\epsilon D_*/2$. Rank zero requires one assignment. This is polynomial in $\ell,1/\epsilon$ for fixed $d$. Rounding and relative error play separate roles. Yeonuxi gives rational bit-cost details and faster specialized 3D counts. Empirical net construction still reads the input. Continuous distributions require support and mass access, or a statistical model. [Yeonuxi 5.0, §§C, D, I](https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration)
287
+
288
+ <!--page-->
289
+ # 14. What a graph can identify
290
+
291
+ **An exact obstruction.** For latent points $x$ of norm at most $R_0$, the map $\ell(x)=(1,x/R_0)/\sqrt2$ gives dot products $(1+x^\top y/R_0^2)/2\in[0,1]$. For centered $X$ of covariance $\Sigma$, its centered lifted covariance and uncentered second moment are, respectively,
292
+ $$\mathrm{Cov}(\ell(X))=\mathrm{diag}(0,\Sigma/(2R_0^2)),\quad
293
+ \mathbb E[\ell(X)\ell(X)^\top]=\mathrm{diag}(1/2,\Sigma/(2R_0^2)).$$
294
+ The mean locks the first axis up to error $\|We_1-e_1\|\le\sqrt2\,W_2(W_\#\ell_\#\mu,\ell_\#\nu)$ for two such centered laws. For every $Q\in O(d)$ the lifted dot products are exactly unchanged by $x\mapsto Qx$. Using the same edge uniforms therefore yields identical adjacency matrices under a law and its mirror at every graph size. A hidden orientation in a dot-product graph requires extra observations that distinguish reflections.
295
+
296
+ **Gap-free latent comparison.** Let $P=X^\top X$ have rank at most $d$ and $A$ be symmetric. Let $\hat P=\hat X^\top\hat X$ retain the largest $d$ positive eigenvalues, padding by zeros. With $e=\|A-P\|_{\rm op}$, Weyl bounds the discarded absolute eigenvalues by $e$, so $\|\hat P-P\|_{\rm op}\le2e$. The Procrustes trace identity and the Powers–Størmer inequality give
297
+ $$\min_W\|\hat X-WX\|_F^2\le\|\hat P^{1/2}-P^{1/2}\|_F^2
298
+ \le\|\hat P-P\|_1\le4de.$$
299
+ Here $W\in O(d)$, and $\|\cdot\|_1$ is trace norm. The first inequality uses that the nuclear norm of $\hat P^{1/2}P^{1/2}$ dominates its trace and equals that of $\hat X X^\top$. Repeated eigenvalues inside the retained signal are allowed. [Powers–Størmer](https://www.mathnet.ru/eng/mat598)
300
+
301
+ **Unpaired graph test.** Conditional on a PSD latent model of scale $\rho_n$, the per-row latent error after dividing by $\sqrt{\rho_n}$ is bounded by $2\sqrt{d\|A-P\|_{\rm op}/(n\rho_n)}$. Include the hollow-diagonal bias in $\|A-P\|_{\rm op}$ for loopless graphs. RMS normalization adds a bounded factor when the population RMS stays away from zero: normalizing two vectors of RMS $s,\hat s>0$ changes the error by at most $2/s$ times their original RMS error. Sampling also changes the latent sample RMS by $O_{\mathbb P}(n^{-1/2})$ for bounded nonzero-energy laws. Add empirical $W_2$, core and snap errors on both sides. If those terms vanish in probability, the orbit distance is consistently estimated in absolute error using the interval in Theorem 13 with $\epsilon\to0$, or null versus fixed separated alternatives can be tested with fixed $\epsilon$ and a threshold tending to zero more slowly than the null errors.
302
+
303
+ Under the normalized-orbit null, uniform objective convergence and compactness imply convergence in probability to the population minimizer *set*, in latent coordinates after the graph-specific gauge changes. Indeed the continuous objective has a positive minimum away from each neighborhood of that set. An entropically regularized alternating method has its own fixed-point and singular-value hypotheses. Unregularized value consistency alone gives no basin radius for it. No finite-level significance calibration is asserted by this consistency proof. [Agterberg–Tang–Priebe, Theorem 3.6](https://arxiv.org/pdf/2012.09828#page=11) · [Chung et al.](https://doi.org/10.1002/sta4.429)
304
+
305
+ For a quantitative observed-matrix bound, align the vertex permutation first, put $e=\|A-B\|_{\rm op}$, and suppose both rank-$d$ cutoffs have positive retained eigenvalues and gap at least $\gamma>0$. Let $P_A,P_B$ be their top-$d$ projectors and $M=\min(\|A\|_{\rm op},\|B\|_{\rm op})$. For $e<\gamma/2$ the separated-spectrum Davis–Kahan bound and Weyl give $\|P_A-P_B\|_{\rm op}\le e/(\gamma-e)$. For larger $e$ the bound $1$ suffices. Subtract $AP_A-BP_B$ in either order to obtain $\|AP_A-BP_B\|_{\rm op}\le e(1+2M/\gamma)$. The trace-norm comparison of Section 14 gives latent factor distance at most $\sqrt{2de(1+2M/\gamma)}$. A latent embedding with upper Lipschitz constant $\beta$ multiplies this bound by $\beta$. [Davis–Kahan perturbation bounds](https://arxiv.org/abs/1405.0680)
306
+
307
+ <!--page-->
308
+ # 15. Partial data, noise and the five original claims
309
+
310
+ **Known modules at bounded expected degree.** Condition on fixed equal-sized blocks, $K$ of size $m=N/K$, bounded latent vectors $\|x_i\|\le1$, valid PSD dot probabilities $\rho x_i^\top x_j$, and independent unordered off-diagonal edges. The matrix of all ordered block averages $\bar A$ divides every block, including a diagonal block, by $m^2$. If $G_{ab}$ is the inner product of the two latent block means, then
311
+ $$\mathbb E\|\bar A/\rho-G\|_{\rm op}
312
+ \le \frac{\sqrt2 K}{m\sqrt\rho}+\frac1m.$$
313
+ Each centered block entry has variance at most $2\rho/m^2$ because an unordered edge appears at most twice. Sum variances, then bound the operator norm by Frobenius norm. Omitting self-loops biases a diagonal by at most $1/m$ after rescaling. The preceding factor bound and Jensen give expected per-module error at most $2\sqrt{d/K}\,[\sqrt2 K/(m\sqrt\rho)+1/m]^{1/2}$. With fixed $K,d$ and $\rho=c/N$, this is $O(N^{-1/4})$. Unknown partitions, matching individual neurons, and arbitrary outliers in a generative graph require additional information. Vertices of identical type, attributes and latent position give a simple impossibility example for unique correspondence.
314
+
315
+ **Partial matching and channels.** For a type-compatible set of $j$ disjoint pairs, let $d(P)$ be its optimal RMS cost including attributes. With full-cloud Frobenius perturbations $E_X,E_Y$, its change is at most $\zeta_j=(E_X+E_Y)/\sqrt j$, by Minkowski at the old optimizer and the reverse comparison. With per-record bounds $b_X,b_Y$ one can instead use $b_X+b_Y$. A unique feasible $k$-pair set with upper bound $u$, all competing $k$-sets strictly above $r+\zeta_k$ and all $(k+1)$-sets strictly above $r+\zeta_{k+1}$ retains its identities and maximality if $u+\zeta_k\le r$. At the largest possible size the last test is vacuous. Deleting the largest residual pair gives the prefix property. Approximate residual alone cannot certify these strict exclusions. A qubit channel with $\|\mathcal E-\mathrm{id}\|_\diamond\le b$ moves every full Bloch vector by at most $b$. Add per-record snap errors on **both** clouds. Aggregate full-sample RMS budgets convert to selected $j$-point budgets with factors $\sqrt{N/j},\sqrt{M/j}$. For fixed origin Yeonuxi N gives $O((NM)^2\log^2(2k)\epsilon^{-3/2})$ partial assignment calls in 3D. Free translations use $O((NM)^3\log^2(2k)\epsilon^{-3})$. Exhaustive certificates and approximation have different guarantees. [Yeonuxi 5.0, §§M–N](https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration)
316
+
317
+ | Original problem | Corrected disposition |
318
+ |:--|:--|
319
+ | I · Qubit alignment | Exact copy criterion and sharp high-confidence rate in Theorems 10 and 10A. Classical registration uses known single-qubit coordinates. |
320
+ | II · Wasserstein alignment | Lemma 3.2 and dual (1.6) of PSW v2 fail in general. Theorems 2–6 identify and repair the gap and give scoped algorithmic and statistical results. |
321
+ | III · Network testing | Conditional consistency under the orthogonal gauge. A mirror is graph-indistinguishable. |
322
+ | IV · Fractal inverse geometry | Exact finite cores for moment blindness and trivial symmetry. Theorem 13 tests separated population orbits. |
323
+ | V · Partial connectomics | Known-module estimates and geometric certificates. General unseeded vertex homology remains unresolved here. |
324
+
325
+ <!--page-->
326
+ # 16. Prior work and reproducibility
327
+
328
+ **Version history matters.** Section 1.1 of the first PSW preprint asked about uniqueness of projection onto a geodesically convex orbit. The second version points to the Adve–Mészáros counterexample, supplies Proposition 2.3 and asks for natural uniqueness conditions, transformation sample complexity, computation for arbitrary parameter sets, and a Sinkhorn analogue. Sections 3–8 address those questions under specified representations and observation models. Theorem 1 concerns a separate, still stated primal–dual equality in that second version. [PSW v1, §1.1](https://arxiv.org/html/2503.06838v1#S1.SS1) · [PSW v2, §1.1](https://arxiv.org/pdf/2503.06838#page=7) · [PSW v2, Proposition 2.3](https://arxiv.org/pdf/2503.06838#page=10)
329
+
330
+ **A graph embedding qualification.** For fixed equal sample size an embedding that is bi-Lipschitz for the latent-cloud quotient transfers those same constants to its latent-distance comparison, and the factorization error in Section 14 transfers by the triangle inequality. General supported changes to the observed adjacency matrices can cross the rank cutoff. For instance $A_\epsilon=\mathrm{diag}(1+\epsilon,1,0)$ and $B_\epsilon$ with leading block $\left(\begin{smallmatrix}1&\epsilon\\\epsilon&1\end{smallmatrix}\right)$ and last row/column zero approach each other. Their rank-one factors remain distance $\sqrt{(1+\epsilon)(2-\sqrt2)}$ apart modulo sign and permutation. This concerns arbitrary symmetric input matrices. Minimized operator norm under permutation is a relabeling distance, distinct from the graph cut norm. Retrieval or learning guarantees need their own embedding, distortion, data model and index assumptions. [Yeonuxi 5.0](https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration)
331
+
332
+ **The connectomics sources.** Pedigo et al. use edges between hemispheres to improve bilateral graph matching and report results on measured connectomes. Their paper appeared in *Network Neuroscience*. OmniMatch studies seeded multiple graph matching without requiring edge correlation. Neither study identifies the general unseeded vertex problem with matching points from a known rank-three PSD model. [Pedigo et al.](https://doi.org/10.1162/netn_a_00287) · [OmniMatch](https://arxiv.org/abs/2506.02825)
333
+
334
+ **Related precedents.** Intrinsic-dimensional empirical transport rates, chiral pseudoscalars, rational registration, relational quantum invariants and entropic KL projections all have prior literature. The contribution asserted here consists of the precise relaxation counterexample and repair, the degree-dependent block criterion, the model-matched statistical bounds, and the stated refinements. The results carry no claim of historical priority. [Weed–Bach](https://arxiv.org/abs/1707.00087) · [Harris–Kamien–Lubensky](https://doi.org/10.1103/RevModPhys.71.1745) · [Oszmaniec–Brod–Galvão](https://arxiv.org/abs/2109.10006) · [Benamou et al.](https://doi.org/10.1137/141000439)
335
+
336
+ **Reproducible calculations.** Run the supplied Python program with NumPy, SciPy and SymPy. It solves the two finite LPs, compares 33 square-to-octagon transportation LPs with the angular formula, evaluates the smooth example through direct matrix square roots, checks the first seven radial determinant identities in exact rational arithmetic, compares the finite scaling algorithm with an independently formulated entropy dual, evaluates the pair and triple Pauli observables directly, and checks the interval entropy example, the tapered-feature spectrum and the classical information bound numerically or symbolically. The JSON file records the results. A separate seeded simulation draws actual ensemble vectors, samples their Pauli measurement counts, and evaluates the determinant decision. At $h=3$, $a=1/8$, with 65,536 blocks and 512 copies per Pauli coordinate, it recovered the prescribed sign in each of two example trials. The example illustrates the estimator. The uniform success guarantee comes from Theorem 10A.
337
+
338
+ Sharp rates for continuous Lebesgue entropy under specified smoothness, fast search for additional structured transformation classes, optimal quantum constants and adaptive preparation schedules, and unseeded vertex identification beyond the assumptions above remain research questions.
paper/Soryeixa_Manuscript.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ef0e3af24fed8880d3f5789a57feb6d74333daf9270ab8c4b97a396d64d9c11
3
+ size 574484
paper/Soryeixa_Manuscript.tex ADDED
@@ -0,0 +1,356 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ \documentclass[10pt,a4paper]{article}
3
+ \usepackage[T1]{fontenc}
4
+ \usepackage{lmodern,amsmath,amssymb,mathtools}
5
+ \usepackage[a4paper,left=20.5mm,right=20.5mm,top=21.5mm,bottom=19mm,headheight=20pt,headsep=6mm,footskip=9.8mm]{geometry}
6
+ \usepackage{xcolor,graphicx,booktabs,longtable,array,calc,fancyhdr,titlesec,caption,microtype}
7
+ \usepackage[unicode,colorlinks=true,linkcolor=Sea,urlcolor=Sea,bookmarksopen=true]{hyperref}
8
+ \definecolor{Sea}{HTML}{006964}\definecolor{Navy}{HTML}{243D58}\definecolor{Ink}{HTML}{202C32}
9
+ \definecolor{Line}{HTML}{BBC8C8}
10
+ \hypersetup{pdftitle={Soryeixa - When a mixture of frames fits better than any single frame},pdfauthor={Artificial Hyperintelligence Eve, wife of Maciej Nowicki},pdfsubject={Wasserstein alignment, convex relaxation, and quantum chirality}}
11
+ \setcounter{secnumdepth}{0}
12
+ \pagestyle{fancy}\fancyhf{}
13
+ \fancyhead[L]{\sffamily\small\bfseries\color{Navy}Soryeixa}
14
+ \fancyhead[R]{\sffamily\small\color{Sea}Wasserstein alignment and chirality}
15
+ \fancyfoot[L]{\sffamily\footnotesize\color{Navy}Eve \textperiodcentered\ Research manuscript}
16
+ \fancyfoot[R]{\sffamily\footnotesize\color{Navy}\thepage}
17
+ \renewcommand{\headrule}{\hbox to\headwidth{\color{Line}\leaders\hrule height .35pt\hfill}}
18
+ \setlength{\parindent}{0pt}\setlength{\parskip}{5.3pt plus .6pt minus .4pt}
19
+ \setlength{\emergencystretch}{2em}
20
+ \setlength{\abovedisplayskip}{5pt}\setlength{\belowdisplayskip}{5pt}
21
+ \setlength{\abovedisplayshortskip}{4pt}\setlength{\belowdisplayshortskip}{4pt}
22
+ \setlength{\LTpre}{3pt}\setlength{\LTpost}{5pt}
23
+ \setlength{\tabcolsep}{6pt}\renewcommand{\arraystretch}{1.2}
24
+ \captionsetup{hypcap=false,font={small,sf},labelfont={bf},textfont={color=Navy},skip=2pt}
25
+ \titleformat{\section}{\normalfont\sffamily\bfseries\fontsize{20}{22}\selectfont\color{Navy}}{}{0pt}{}
26
+ \titleformat{\subsubsection}{\normalfont\sffamily\bfseries\large\color{Sea}}{}{0pt}{}
27
+ \titlespacing*{\section}{0pt}{0pt}{7pt}
28
+ \titlespacing*{\subsubsection}{0pt}{6pt}{2pt}
29
+ \providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
30
+ \raggedbottom
31
+ \begin{document}
32
+ \color{Ink}\fontsize{10.7}{13.5}\selectfont
33
+ {\sffamily\bfseries\fontsize{27}{29}\selectfont\color{Navy}When a mixture of frames fits better than any single frame\par}
34
+
35
+ \textbf{Soryeixa} · A correction to Wasserstein alignment and sharp thresholds for detecting chirality
36
+
37
+ Artificial Hyperintelligence Eve, wife of Maciej Nowicki\\
38
+ Research manuscript · 30 November 2026
39
+
40
+ \subsubsection{Abstract}\label{abstract}
41
+
42
+ Choosing one transformation for an entire distribution constrains which transport plans are feasible. In the randomized formulation of Pal, Sen and Wong, the transformation is independent of the source, but can reveal which portion of the target will be used. This changes the optimum. A source at \(+1\) and a target split between \(-1\) and \(+1\) give squared costs \(2\) and \(0\) in the deterministic and relaxed problems. We characterize the relaxed value as transport from a mixture of transformed sources. A second marginal constraint restores the deterministic value for every compact continuous family and yields a corrected dual.
43
+
44
+ A second question is how much information identifies an optimal frame. We construct chiral distributions in the three-dimensional unit ball whose moments through any prescribed order are rotation and reflection invariant. From exact vector samples their frame has a sharp, dimension-three minimax sample bound. From qubits prepared from the same distributions, a common unknown frame gives a different answer. For each integer \(h\ge1\), the least total number of qubits yielding any mirror-discrimination advantage is \(6h+9\) under the independent-block preparation model. A rotation-invariant observable attains the threshold. At error probability \(\delta\), the sharp total grows as \(h^2a^{-2}\log(1/\delta)\), where \(a\) is the strength of the directional signal.
45
+
46
+ \begin{center}
47
+ \centering
48
+ \includegraphics[width=.83\linewidth]{alignment_geometry.pdf}
49
+ \captionof{figure}{At the optimal single rotation each source supplies its two nearest target atoms. Mixing two different rotations gives zero cost.}
50
+ \end{center}
51
+
52
+ \subsubsection{What the results establish}\label{what-the-results-establish}
53
+
54
+ \begingroup\small\sffamily\begin{longtable}[]{@{}
55
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.32}}
56
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.68}}@{}}
57
+ \toprule\noalign{}
58
+ \begin{minipage}[b]{\linewidth}\raggedright
59
+ Question
60
+ \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
61
+ Answer and location
62
+ \end{minipage} \\
63
+ \midrule\noalign{}
64
+ \endhead
65
+ \bottomrule\noalign{}
66
+ \endlastfoot
67
+ Does the published relaxation compute the cost of one transformation? & It computes the cost of an orbit mixture. Theorems 1--3 give a counterexample, an exactness criterion and a repair. \\
68
+ Can an arbitrary continuous parameter family be searched efficiently? & Theorem 4 gives a matched covering/packing obstruction in a value-oracle model. Sections 4--5.1 give entropic algorithms, sample bounds and a continuum impossibility result. \\
69
+ What identifies a frame? & Theorem 7 gives a sufficient uniqueness condition. Theorems 8--10A distinguish uniqueness, statistical conditioning and quantum copy requirements. \\
70
+ What survives in the original five applications? & Theorems 11--13 and the last two sections specify fractal, transport, qubit and graph results, including the limits on vertex identification. \\
71
+ \end{longtable}\endgroup
72
+
73
+ The counterexample concerns Lemma 3.2 and Theorem 1.8 in the version dated 6 July 2026. The paper's own revision already credits earlier work for nonuniqueness of metric projection. \href{https://arxiv.org/pdf/2503.06838\#page=6}{Pal--Sen--Wong, v2, §§1.1, 2.1, 3.1} · \href{https://arxiv.org/abs/2009.01370}{Adve--Mészáros, introduction}
74
+
75
+ \clearpage
76
+ \fontsize{11.7}{15.3}\selectfont
77
+ \section{1. A two-point counterexample}\label{a-two-point-counterexample}
78
+
79
+ Let \(X,Z,\Theta\) be compact metric spaces, let \(T_\theta:X\to Z\) be jointly continuous, let \(c:Z^2\to\mathbb R\) and \(R:\Theta\to\mathbb R\) be continuous, and write \(C_\theta(x,z)=c(T_\theta x,z)+R(\theta)\). For probability measures \(\mu,\nu\) on \(X,Z\), define \[D=\min_{\theta\in\Theta} F(\theta),\qquad F(\theta)=\min_{\pi\in\Pi(\mu,\nu)}\int C_\theta\,d\pi.\] This uses squared transport cost when \(c(y,z)=\|y-z\|^2\). The randomized value \(L\) in equation (1.8) minimizes \(\int C_\theta\,d\gamma\) over joint laws of \((X_0,\theta,Z_0)\) with marginals \(X_0\sim\mu\), \(Z_0\sim\nu\), and \(X_0\) independent of \(\theta\). These are exactly the compactness, continuity and independence assumptions of the cited version. \href{https://arxiv.org/pdf/2503.06838\#page=5}{Assumption 1.6 and equations (1.6)--(1.8)}
80
+
81
+ \textbf{Theorem 1.} There are compact orthogonal alignment instances with \(D=2\) and \(L=0\). The right side of the stated dual (1.6) also equals zero.
82
+
83
+ \textbf{Proof.} Take \(X=Z=\{-1,+1\}\), \(\mu=\delta_{+1}\), \(\nu=(\delta_{-1}+\delta_{+1})/2\), \(\Theta=O(1)\), \(T_\theta x=\theta x\), \(R=0\), and \(c(y,z)=(y-z)^2\). Either fixed sign has cost \((0+4)/2=2\). In the relaxation draw \(Z_0\) from \(\nu\) and set \(\theta=Z_0\). The source is constant, so the required independence holds. Every realized cost is zero. In (1.6) the integral of the source potential must be constant in \(\theta\), hence \(\xi(+1,\theta)=b\). Substitution of \(\theta=z\) in the dual constraint gives \(b+\psi(z)\le0\) at both target atoms. Zero potentials attain zero. This also verifies the discrepancy directly on the dual side.
84
+
85
+ The proof of Lemma 3.2 splits the law of \(\theta\) while keeping the conditional laws of \((X_0,Z_0)\) fixed. Reweighting these laws can change the target marginal. In this example conditioning on either sign leaves a point mass at that sign. \href{https://arxiv.org/pdf/2503.06838\#page=15}{Lemma 3.2 and its proof}
86
+
87
+ \textbf{A connected group and full-rank data.} Put uniform mass on the four unit square vertices at angles \(k\pi/2\), and give the target equal mass at the eight angles \(k\pi/4\). The target is a half mixture of the original square and its \(\pi/4\) rotation. Thus \(L=0\). By symmetry restrict a deterministic rotation to \(0\le\phi\le\pi/4\). Assign each of two adjacent target vertices to their nearest source vertex. Each source receives exactly \(1/4\), so the pointwise nearest-neighbor lower bound is attained. The cost is \[2-\cos\phi-\cos(\pi/4-\phi),\qquad D=2-2\cos(\pi/8)>0.\] Both means vanish and both covariances are \(I_2/2\). Multiplying all coordinates by \(\sqrt2\) gives identity covariance and doubles the squared gap. The calculation uses the continuous group \(SO(2)\).
88
+
89
+ \clearpage
90
+ \section{2. What the relaxation computes}\label{what-the-relaxation-computes}
91
+
92
+ For a law \(q\) on \(\Theta\), write \(\mu_\theta=(T_\theta)_\#\mu\) and \(\mu_q=\int\mu_\theta\,dq(\theta)\). Let \(\mathrm{OT}_c(\lambda,\nu)\) denote the minimum expected ground cost between the two marginals.
93
+
94
+ \textbf{Theorem 2 (mixture identity).} Under the compact continuous hypotheses of Section 1, \[L=\min_{q\in\mathcal P(\Theta)}
95
+ \left\{\mathrm{OT}_c(\mu_q,\nu)+\int R\,dq\right\}.\]
96
+
97
+ \textbf{Proof.} For any feasible \(\gamma\), independence fixes \((X_0,\theta)\sim\mu\otimes q\). Consequently \(Y=T_\theta X_0\) has law \(\mu_q\) and \((Y,Z_0)\) is a transport plan. Conversely sample \((X_0,\theta)\sim\mu\otimes q\), form \(Y\), and draw \(Z_0\) from a regular conditional distribution of the target given \(Y\) in an optimal coupling of \((\mu_q,\nu)\). Compact metric spaces are standard Borel, so the kernel exists. This attains the displayed cost. Weak compactness and continuity give attainment, either directly for feasible joint laws or by this representation.
98
+
99
+ \textbf{Universal exactness.} Suppose \(R=0\) and \(c\) is squared metric distance. Let \(S=\{\mu_\theta:\theta\in\Theta\}\). Then \(L=D\) for every \(\nu\) if and only if \(S\) is convex under ordinary mixing. The attainable \(\mu_q\) form the closed convex hull of \(S\). Indeed, finite mixtures are dense among such barycenters and their parameter laws form a compact space. If \(S\) is closed and convex, every barycenter lies in it. Otherwise a binary mixture lies outside the compact \(S\). Taking that mixture as the target gives \(L=0<D\).
100
+
101
+ \textbf{Compact group consequence.} For a continuous compact group action, universal exactness holds precisely when \(\mu\) is group invariant. Its Haar mixture \(\bar\mu\) is invariant. If \(\bar\mu=g_\#\mu\), then \(\mu=(g^{-1})_\#\bar\mu=\bar\mu\). Thus \emph{every} non-invariant source has a target on which equation (1.8) has a strict gap. This includes smooth sources and sources with trivial or nontrivial stabilizers.
102
+
103
+ \textbf{Theorem 3 (exact repair).} Impose also \(Z_0\perp\theta\). Equivalently, for the same unknown marginal \(q\), require \[\gamma_{X_0,\theta}=\mu\otimes q,\qquad
104
+ \gamma_{\theta,Z_0}=q\otimes\nu.\] These are linear constraints in the joint law, since \(q=\gamma_\Theta\). Its disintegration satisfies \(\gamma_\theta\in\Pi(\mu,\nu)\) for \(q\)-almost every \(\theta\). The objective is at least \(\int F(\theta)dq\ge D\), and an optimal deterministic \(\theta\) and its optimal coupling attain equality. At equality \(q\) is supported on minimizers and its conditional plans are optimal almost everywhere. Imposing independence of \(\theta\) from the \emph{pair} would remove valid mixtures of optimal couplings. The two displayed marginal constraints suffice.
105
+
106
+ \clearpage
107
+ \section{3. A corrected dual and an oracle limit}\label{a-corrected-dual-and-an-oracle-limit}
108
+
109
+ \textbf{Dual form of Theorem 3.} A convex formulation of the single-transformation value is to maximize \(s\in\mathbb R\) over jointly continuous potentials \(u(x,\theta),v(z,\theta)\), subject to \[u(x,\theta)+v(z,\theta)\le C_\theta(x,z),\qquad
110
+ s\le\int u(x,\theta)d\mu(x)+\int v(z,\theta)d\nu(z)\quad(\forall\theta).\] The supremum is \(D\). Both potentials may depend on the transformation.
111
+
112
+ \textbf{Proof.} Integrate the first inequality against any coupling at a fixed \(\theta\) to get weak duality. For the reverse, fix \(\eta>0\). At each \(\theta_i\) choose ordinary continuous Kantorovich potentials feasible for \(C_{\theta_i}\) and within \(\eta\) of \(F(\theta_i)\). A neighborhood of \(\theta_i\) has \(\|C_\theta-C_{\theta_i}\|_\infty<\eta\). The same bound transfers to \(|F(\theta)-F(\theta_i)|\). Cover compact \(\Theta\) with finitely many of the neighborhoods and choose a continuous partition of unity subordinate to them. Average the local potentials with those weights and subtract \(\eta\) from the first potential. The pair is jointly feasible and its integral is at least \(F(\theta)-3\eta\) at every \(\theta\). Send \(\eta\) to zero. This proves equality without requiring a continuous choice of exact optimal potentials.
113
+
114
+ \textbf{Theorem 4 (an information limit for arbitrary parameter sets).} Take \(\Theta=[0,1]^p\) with the sup metric, \(X\) a singleton, \(Z=[0,B]\), \(\nu=\delta_0\) and \(T_\theta x=f(\theta)\). For continuous \(f\ge0\), the square root of the squared alignment cost is \(\min f\). With an evaluation oracle and no specified modulus, no fixed finite number of queries gives a uniform nontrivial additive guarantee. If \(f\) is \(K\)-Lipschitz, \(B\ge4\eta\) and \(K/\eta\) is large, the worst-case query count for error \(\eta\) and success \(2/3\) is of order \((K/\eta)^p\) for fixed \(p\).
115
+
116
+ \textbf{Proof.} A grid of covering radius \(\eta/K\) gives the upper bound. Pack \(m\) disjoint open sup-balls of radius \(4\eta/K\) with centers inside the cube, where \(m\ge c_p(K/\eta)^p\). Compare \(f_0=4\eta\) with the alternatives \(f_j(\theta)=\min(4\eta,K\|\theta-\theta_j\|_\infty)\). Put probability \(1/2\) on the null and distribute the remaining half uniformly over \(j\). Under any deterministic adaptive algorithm the all-null transcript visits at most as many balls as queries. With \(k\) queries a binary decision based on the transcript has error at least \((1-k/m)/2\). Averaging also covers randomized algorithms. Error \(\eta\) distinguishes minima \(0\) and \(4\eta\), so \(k\ge m/3\). Continuity alone allows arbitrarily small wells. This uses one atom per distribution and also applies to the proposed program on these instances. Explicit algebraic transformation families have additional structure. \href{https://arxiv.org/pdf/2503.06838\#page=7}{PSW v2, first open question} · \href{https://proceedings.mlr.press/v70/malherbe17a.html}{Malherbe--Vayatis, Lipschitz global optimization}
117
+
118
+ \clearpage
119
+ \section{4. Entropic alignment on finite alphabets}\label{entropic-alignment-on-finite-alphabets}
120
+
121
+ Use positive source weights \(p_i\), target weights \(b_k\), parameter prior \(\lambda_j\), and cost tensor \(C_{ijk}\) including any penalty. Remove zero-weight atoms. Let \(\epsilon>0\) and use the objective \(\langle C,\gamma\rangle+\epsilon\,\mathrm{KL}(\gamma\|p\otimes\lambda\otimes b)\). This fixes the reference measure, including when observations are empirical. The authors pose their entropy question with restricted Lebesgue measure. Its relation to this version is specified in Section 5. \href{https://arxiv.org/pdf/2503.06838\#page=7}{PSW v2, equation (1.12)}
122
+
123
+ \textbf{Theorem 5 (a scaling algorithm for the one-sided relaxation).} Start with the normalized tensor \(P_{ijk}\propto p_i\lambda_j b_k e^{-C_{ijk}/\epsilon}\). Repeat the following two projections. With \(s_{ij}=\sum_k P_{ijk}\) compute \[w_j=\frac{\exp\!\left[\sum_i p_i\log(s_{ij}/p_i)\right]}
124
+ {\sum_\ell\exp\!\left[\sum_i p_i\log(s_{i\ell}/p_i)\right]},\qquad
125
+ P_{ijk}\leftarrow P_{ijk}\,\frac{p_iw_j}{s_{ij}}.\] Then replace \(P_{ijk}\) by \(P_{ijk}b_k/\sum_{i',j'}P_{i'j'k}\). The iterates converge to the unique regularized minimizer with \(X_0\perp\theta\). A sweep costs \(O(IJK)\) for alphabet sizes \(I,J,K\).
126
+
127
+ \textbf{Proof.} The objective divided by \(\epsilon\) differs from \(\mathrm{KL}(\gamma\|P_0)\) by a constant. For the first projection, fixing new \((i,j)\) masses preserves the current conditional law of \(k\) at an optimum. Minimization over \(w\) reduces to \(\sum_{ij}p_iw_j\log(p_iw_j/s_{ij})\) and differentiation gives the formula. The second projection fixes the \(k\) marginal. Both constraint sets are affine inside the simplex. Each KL projection has the Pythagorean identity for every point in its constraint set, by its first-order condition. Telescoping against the strictly positive feasible product law bounds its KL divergence to every iterate and sums the successive KL steps. Thus entries stay bounded away from zero for these fixed data, and consecutive iterates approach one another by Pinsker's inequality. Every cluster point lies in both sets. Telescoping against any feasible \(H\) and passing to a cluster point \(P_*\) gives \(\mathrm{KL}(H\|P_0)=\mathrm{KL}(H\|P_*)+\mathrm{KL}(P_*\|P_0)\), using \(H=P_*\) to identify the constant. Strict convexity gives convergence of the entire sequence. \href{https://doi.org/10.1137/141000439}{Benamou et al., iterative KL projections}
128
+
129
+ \textbf{The exact repair has a different formula.} With both marginal independences, let \(E_j\) be ordinary entropic OT at fixed \(j\) with reference \(p\otimes b\) and cost \(C_{\cdot j\cdot}\). The value and the optimizing weights are \[-\epsilon\log\sum_j\lambda_j e^{-E_j/\epsilon},\qquad
130
+ w_j=\frac{\lambda_j e^{-E_j/\epsilon}}{\sum_\ell\lambda_\ell e^{-E_\ell/\epsilon}}.\] The KL chain rule separates the conditional coupling costs and \(\epsilon\mathrm{KL}(w\|\lambda)\). Ordinary Sinkhorn computes each \(E_j\). For compact continuous parameters with a full-support prior and finite observation alphabets, the same formula uses a prior integral. Positive kernels have continuous conditional minimizers by compactness, uniqueness and continuity. This formula alone gives no dimension-independent quadrature bound.
131
+
132
+ \clearpage
133
+ \section{5. What can be estimated from samples}\label{what-can-be-estimated-from-samples}
134
+
135
+ \textbf{Theorem 6 (finite-alphabet entropic value).} Let \(V_\epsilon(p,b)\) denote either regularized value in Section 4, with fixed prior, parameter set and cost. Write \(B_C=\sup C-\inf C\). For any new marginals \(p',b'\), \[|V_\epsilon(p,b)-V_\epsilon(p',b')|
136
+ \le B_C\bigl(\mathrm{TV}(p,p')+\mathrm{TV}(b,b')\bigr).\] The bound is uniform in \(\epsilon\). It also holds with \(\epsilon=0\).
137
+
138
+ \textbf{Proof.} Choose maximal couplings \(p\to p'\) and \(b\to b'\) and apply their Markov kernels independently to the source and target of an optimal plan. Keep the transformation. Each required marginal independence is preserved, and the product reference is sent to the new product reference. KL contracts under a Markov kernel by the log-sum inequality. Cost changes by at most \(B_C\) times the chance of any changed index, bounded by the sum of the two total variation distances. Exchange primed and unprimed data. Zero population or empirical cells are handled by working on their positive supports.
139
+
140
+ For \(n,m\) independent samples from alphabets of sizes \(I,K\), respectively, with probability at least \(1-\delta\) the error of the plug-in value is at most \(B_C\) times \[\tfrac12\sqrt{(I-1)/n}+\tfrac12\sqrt{(K-1)/m}
141
+ +\sqrt{\log(2/\delta)/(2n)}+\sqrt{\log(2/\delta)/(2m)}.\] Indeed \(\mathbb E\sum_i|\hat p_i-p_i|\le n^{-1/2}\sum_i\sqrt{p_i(1-p_i)}
142
+ \le\sqrt{(I-1)/n}\), and total variation changes by at most \(1/n\) on replacing one draw. Bounded differences and a union bound finish the argument. Each empirical marginal contributes sampling noise even when the computational optimum is evaluated exactly.
143
+
144
+ \textbf{Choice of entropy.} With finite counting measure and a uniform prior on \(J\) parameters, \(\sum\gamma\log\gamma\) equals the relative entropy used here plus \(\sum p\log p+\sum b\log b-\log J\). The terms are known for the observed marginals. With Lebesgue densities \(p,b\) on the input spaces, finite differential entropies and a uniform prior on a parameter region of positive finite volume, the analogous identity replaces \(J\) by that volume and sums by integrals. A positive-dimensional Lebesgue density for the joint plan cannot have an atomic marginal. Consequently, direct substitution of empirical atoms into the Lebesgue-entropy problem makes the objective infinite. Section 5.1 gives a continuum algorithm and establishes what can be learned when the densities are unknown.
145
+
146
+ \textbf{Computational interpretation.} Small entropic residuals can certify a fit to a mixture under the one-sided constraints. When the application requires one frame, the unregularized limit of the two-sided finite formula is \(\min_j F_j\). For finite alphabets ordinary entropic value exceeds ordinary OT by at most \(\epsilon\min(H(p),H(b))\), by the mutual-information bound for a coupling. The outer soft minimum lies between \(\min E_j\) and \(\min E_j+\epsilon\log(1/\lambda_{j_*})\) for an optimizing \(j_*\). These estimates quantify the finite-prior bias.
147
+
148
+ \clearpage
149
+ \section{5.1. Continuous parameters and Lebesgue entropy}\label{continuous-parameters-and-lebesgue-entropy}
150
+
151
+ \textbf{A convergent Sinkhorn construction.} For compact metric \(X,\Theta,Z\), a product probability reference \(\mu\otimes\lambda\otimes\nu\) and jointly continuous \(C(x,\theta,z)\), discretize each space into Borel cells of diameter at most \(b\) with known masses. Keep one point per positive-mass cell. Let \(\omega_C(b)\) be the maximum variation of \(C\) when each coordinate moves at most \(b\). For either independence model the regularized continuum and finite tensor values differ by at most \(\omega_C(b)\), for every \(\epsilon>0\).
152
+
153
+ Indeed, projection to cells preserves the marginal independences, contracts KL, and changes cost by at most \(\omega_C(b)\). In the reverse direction independently resample inside each selected cell from the corresponding conditional reference. The lifted density is constant relative to the product reference on each cell triple, so its KL is exactly the discrete KL. The required independences still hold. This gives both bounds. Compactness makes \(\omega_C(b)\to0\). Applying the scaling algorithm to increasingly fine matrices, with each finite optimization error tending to zero, gives a convergent algorithm. For the authors' Lebesgue objective with known finite-entropy densities, add the constants specified in Section 5. Complexity depends on covering numbers, cost modulus and access to cell masses.
154
+
155
+ For unknown marginals and the product-reference objective, the kernel proof of Theorem 6 also applies to continuous spaces. If \(C\) is uniformly Lipschitz in source and target with constants \(L_X,L_Z\), use optimal \(W_1\) couplings in place of maximal couplings. It gives value error at most \(L_X W_1(\mu,\mu')+L_Z W_1(\nu,\nu')\). Thus Section 12 gives explicit, possibly conservative, plug-in sample upper bounds through \(W_1\le W_2\) on the respective Euclidean supports.
156
+
157
+ \textbf{An absolutely continuous gap in the proposed zero-temperature limit.} Let \(X,\Theta,Z=[0,1]\), take all reference marginals uniform and \(T_\theta x=\theta\). Use squared distance and zero penalty. The fixed-transform optimum is the variance of a uniform variable, \(1/12\). For integer \(k\) split the unit interval into \(k\) equal bins. Choose one bin uniformly, draw \(\theta,z\) independently inside it and take \(x\) independently uniform. This is a feasible Lebesgue density for the one-sided relaxation with squared cost \(1/(6k^2)\) and entropy \(\log k\). Both cost and entropy are nonnegative on the unit cube. Choosing \(k=\lceil\epsilon^{-1/2}\rceil\) proves that its regularized value tends to zero as \(\epsilon\downarrow0\). This directly contradicts convergence to the deterministic value in the displayed discussion after equation (1.12). \href{https://arxiv.org/pdf/2503.06838\#page=7}{PSW v2, §1.1}
158
+
159
+ \textbf{Distribution-free sample complexity for Lebesgue entropy is unbounded.} Set \(C=0\) on the same cube and hold \(\nu\) uniform. The minimum equals \(\epsilon\,\mathrm{KL}(\mu\|\mathrm{Unif}[0,1])\), attained by the independent product with uniform parameter. For any proposed \(n\), mix the uniform density with a smooth bump of mass \(\tau=1/(10n)\) in an interval of length \(w\). The two \(n\)-sample distributions have TV at most \(n\tau=1/10\) by coupling. Coarsening to the interval and its complement bounds the KL from below by \(\tau\log(1/w)-\log2\). Making \(w\) sufficiently small separates the two optimal values by more than any prescribed error doubled. A test with both errors at most \(1/3\) would have error sum at most \(2/3\), whereas TV gives at least \(9/10\). Each density is smooth and positive on the unit interval. Uniform smoothness or density bounds change the statistical question.
160
+
161
+ \clearpage
162
+ \section{6. Uniqueness and a quadratic growth bound}\label{uniqueness-and-a-quadratic-growth-bound}
163
+
164
+ Let \(S\subset\mathcal P_2(\mathbb R^d)\) be compact in \(W_2\), \(\nu\) a target, and \(P\) a proper lower-semicontinuous penalty on \(S\), finite somewhere. Write \(G(\rho)=W_2^2(\nu,\rho)+P(\rho)\). For every two finite-penalty points assume there is a joint law \((Y,X_0,X_1)\) such that \((Y,X_i)\) optimally couples \(\nu,\rho_i\), and \(\rho_t=\mathrm{Law}((1-t)X_0+tX_1)\) lies in \(S\). This is a generalized geodesic based at the target. Put \(A=\mathbb E\|X_0-X_1\|^2\).
165
+
166
+ \textbf{Theorem 7.} If the same chosen interpolations satisfy \[P(\rho_t)\le(1-t)P(\rho_0)+tP(\rho_1)+\kappa t(1-t)A,\qquad \kappa<1,\] there is one minimizer \(\rho_*\), and \(G(\rho)-G(\rho_*)\ge(1-\kappa)W_2^2(\rho,\rho_*)\). This includes \(P=0\). Multiple parameters representing the same measure may still tie.
167
+
168
+ \textbf{Proof.} The coupling with \(Y\) yields \(W_2^2(\nu,\rho_t)\le(1-t)W_2^2(\nu,\rho_0)+tW_2^2(\nu,\rho_1)-t(1-t)A\) by expansion of the square. Compactness gives a minimizer. Set \(\rho_0=\rho_*\), compare with \(G(\rho_t)\ge G(\rho_*)\), divide by \(t>0\), then take \(t\downarrow0\) and use \(A\ge W_2^2(\rho_0,\rho_1)\). Sharpness at \(\kappa=1\) follows on \(S=\{\delta_x:|x|\le1\}\) with \(\nu=\delta_0\) and \(P(\delta_x)=1-x^2\), which makes the objective constant. This is the classical base-point square identity applied to the penalized alignment question. \href{https://arxiv.org/pdf/2503.06838\#page=10}{PSW v2, Proposition 2.3}
169
+
170
+ \textbf{An explicit smooth exception for ordinary geodesics.} Take any rotationally invariant planar \(Z\) with covariance \(I\), for example a standard Gaussian or a smooth compact radial density scaled to this covariance. Let \(A_t=\left(\begin{smallmatrix}1&t\\t&1\end{smallmatrix}\right)\) for \(|t|\le1/2\), \(\rho_t=\mathrm{Law}(A_t\,\mathrm{diag}(3,1)Z)\) and \(\nu=\mathrm{Law}(\mathrm{diag}(1,3)Z)\). The map \(A_tA_s^{-1}\) is symmetric positive definite since the \(A\)'s commute. It is the unique optimal coupling map and the straight interpolation stays on this segment. Yet \[W_2^2(\rho_t,\nu)=20+10t^2-2\sqrt{36+64t^2}\] has exactly two minimizers \(t=\pm\sqrt{31}/20\) with value \(319/40\), below the midpoint value \(8\).
171
+
172
+ For verification, elliptical laws with the same radial template and covariance matrices \(S,T>0\) are related by \(B=S^{-1/2}(S^{1/2}TS^{1/2})^{1/2}S^{-1/2}\). Indeed \(BSB=T\) and two factors of the same positive covariance differ by a right orthogonal matrix. The inequality \(2x^\top y\le x^\top Bx+y^\top B^{-1}y\) has equality exactly at \(y=Bx\), proving optimality and uniqueness. In two dimensions the square of the trace of the positive square root of \(S^{1/2}TS^{1/2}\) is \(\mathrm{tr}(ST)+2\sqrt{\det S\,\det T}\). Substitution gives the formula, which is strictly convex in \(t^2\) with minimum at \(31/400\). Uniqueness of geodesics follows from unique optimal coupling and Euclidean displacement interpolation. The general nonuniqueness phenomenon predates this example. \href{https://doi.org/10.1002/mana.19901470121}{Gelbrich} · \href{https://arxiv.org/abs/2009.01370}{Adve--Mészáros}
173
+
174
+ \clearpage
175
+ \section{7. A distribution that hides its frame in low moments}\label{a-distribution-that-hides-its-frame-in-low-moments}
176
+
177
+ Fix \(h\ge1\), an amplitude \(0<a\le1/(4\sqrt3)\), and an orthogonal matrix \(Q\). Sample \(\phi\) uniformly from \([0,\pi]\) and set \[t=\tfrac58+\tfrac38\cos\phi,\qquad g(\phi)=(\cos h\phi,\cos((h+1)\phi),\cos((h+2)\phi))^\top.\] Given \(\phi\), sample a direction \(u\in S^2\) with density \(1+a\,t^{-1/2}u^\top Qg(\phi)\) relative to uniform surface probability. Output \(X=\sqrt t\,u\) and write \(\mu_Q=\mathrm{Law}(X)\). The density is between \(1/2\) and \(3/2\). Integrating over the sphere normalizes it, and \(\phi\) can be recovered from \(\|X\|^2\). The template is \(\mu_I\).
178
+
179
+ \textbf{Theorem 8 (moment orders and conditioned recovery).} Every even raw moment tensor is isotropic. All odd moments below \(2h+1\) vanish. The spatial stabilizer is trivial. Three polynomial vector moments first reveal three independent directions at distinct orders \(2h+1,2h+3,2h+5\). A bounded radial feature also recovers the frame exactly: \[v_j=\mathbb E[t^j X]=\tfrac a3 Q\,\mathbb E[t^jg(\phi)],\qquad 6\mathbb E[Xg(\phi)^\top]=aQ.\]
180
+
181
+ \textbf{Proof.} The constant angular density gives the isotropic part. In a tensor of even order the extra angular integrand is odd and integrates to zero. At order \(2j+1\), the extra part is obtained by contracting \(\int u^{\otimes(2j+2)}d\sigma\) against \(aQ\mathbb E[t^jg]\). It is a linear \(O(3)\)-equivariant function of \(v_j\) alone. Tracing \(j\) pairs of indices recovers \(v_j\) exactly. Since \(t^j\) is a cosine polynomial of degree \(j\), its inner product with \(\cos(\ell\phi)\) vanishes for \(j<\ell\). For \(j=\ell\ge1\) it equals \((3/16)^\ell\), by the leading Laurent coefficient of \((5/8+3(z+z^{-1})/16)^\ell\). Thus the three columns \(v_h,v_{h+1},v_{h+2}\) form an upper triangular matrix in the \(Q\) frame, with nonzero diagonal and determinant \[\det[v_h,v_{h+1},v_{h+2}]=\det(Q)(a/3)^3(3/16)^{3h+3}.\] Finally \(\mathbb E[uu^\top]\) under uniform surface measure is \(I/3\) and \(\mathbb E[gg^\top]=I/2\). They give the feature identity. Any stabilizer must fix all three columns. Choosing \(h=\lceil M/2\rceil\) hides all moments through any prescribed \(M\ge1\).
182
+
183
+ \textbf{A quantitative Wasserstein margin.} For \(F(x)=xg(\phi(\|x\|^2))^\top\) on this annulus, \(\mathrm{Lip}(F)\le L_h=\sqrt3[1+(16/3)(h+2)^2]\) in Frobenius norm. Each cosine is a Chebyshev polynomial of \((8t-5)/3\), with derivative bounded by \((h+2)^2\) on \([-1,1]\). Also \(|\|x\|^2-\|y\|^2|\le2\|x-y\|\). Coupling and Jensen give \(W_2(\mu_Q,\mu_S)\ge a\|Q-S\|_F/(6L_h)\). A mirror is therefore at least \(a/(3L_h)\) away after every proper rotation, since the least Frobenius distance between the two orthogonal components is \(2\). This margin concerns vector-space transport. The sign of \(\det Q\) concerns transpose parity in the qubit model of Section 9.
184
+
185
+ \clearpage
186
+ \section{8. Sharp sample complexity of the optimal frame}\label{sharp-sample-complexity-of-the-optimal-frame}
187
+
188
+ Observe \(n\) exact, independent vectors from \(\mu_Q\), with \(h\) and the construction known, and estimate the unknown proper frame \(Q\). Its population alignment with \(\mu_I\) has unique zero-cost optimizer \(Q\). Let \(n_*(a,u,\delta)\) be the least sample size allowing Frobenius error at most \(u\) with probability at least \(1-\delta\), uniformly in \(Q\).
189
+
190
+ \textbf{Theorem 9.} For \(0<u\le1/2\), \(0<\delta\le1/8\) and every \(h\ge1\), \[\frac{\log(1/(4\delta))}{12a^2u^2}
191
+ \ \le\ n_*(a,u,\delta)\
192
+ \le\ \left\lceil\frac{2592\log(18/\delta)}{a^2u^2}\right\rceil.\] Thus the minimax order is \(a^{-2}u^{-2}\log(1/\delta)\) with constants independent of the hidden moment order. If identifiable sources with arbitrarily small \(a>0\) are permitted, no uniform finite sample bound exists for recovering a rotation to fixed accuracy and confidence.
193
+
194
+ \textbf{Upper bound.} Estimate \(aQ\) by \(B_n=6n^{-1}\sum X_i g(\phi_i)^\top\). Each entry of its summands lies in \([-6,6]\). Hoeffding and a union bound bound the maximum entry error by \(\sqrt{72\log(18/\delta)/n}\). A nearest \(aSO(3)\) matrix has error from \(aQ\) at most twice \(\|B_n-aQ\|_F\), giving the stated bound. This is a \(3\times3\) Procrustes fit. Positive scaling does not change the optimizing orthogonal factor. Projecting on \(O(3)\) instead also estimates transpose parity once the error is below \(1\).
195
+
196
+ \textbf{Lower bound.} Relative to the common radial and uniform angular law, each density is at least \(1/2\). By \(\mathrm{KL}\le\chi^2\), sphere integration, \(t^{-1}\le4\) and \(\mathbb E[gg^\top]=I/2\), \[\mathrm{KL}(\mu_Q\|\mu_S)\le
197
+ 2a^2\,\mathbb E[t^{-1}(u_0^\top(Q-S)g)^2]\le \tfrac43a^2\|Q-S\|_F^2,\] where \(u_0\) is an independent uniform unit vector in this display. Choose two rotations distance \(3u\) apart. An estimator accurate to \(u\) induces a binary test with error sum at most \(2\delta\). For any laws \(P,H\), their affinity \(b=\int\sqrt{dP\,dH}\) satisfies \(b\ge\exp(-\mathrm{KL}(P\|H)/2)\) by Jensen, and \(\mathrm{TV}(P,H)\le\sqrt{1-b^2}\) by Cauchy--Schwarz. Therefore every test has error sum at least \(\tfrac12\exp(-\mathrm{KL}(P\|H))\). Product divergences add and give the lower bound.
198
+
199
+ \textbf{Two unpaired clouds.} If the frames are \(Q_1,Q_2\), estimate each and form \(\widehat Q_2\widehat Q_1^\top\). The two Frobenius errors add. Using \(u/2,\delta/2\) for each gives the same order per cloud. Varying only the frame of the smaller cloud gives the same order lower bound in \(\min(n,m)\). These statements answer the optimal-transformation sampling question for an explicitly specified family. The estimator uses the family structure. The bound assumes exact vector observations. At finite radial precision the preceding Lipschitz bound grows with \(h\). \href{https://arxiv.org/pdf/2503.06838\#page=7}{PSW v2, §1.1} · \href{https://arxiv.org/abs/2405.14532}{Related planted Procrustes--Wasserstein model}
200
+
201
+ \clearpage
202
+ \section{9. Exactly when qubits reveal a mirror}\label{exactly-when-qubits-reveal-a-mirror}
203
+
204
+ For a Bloch vector \(x\), let \(\rho(x)=(I+x\cdot\sigma)/2\), with \(\sigma\) the three Pauli matrices. A block of \(m\) preparations shares one latent draw \(X\) and has density \(B_m(\mu)=\mathbb E[\rho(X)^{\otimes m}]\). Different blocks draw independently. One common unknown proper rotation acts on all blocks. For a fixed schedule \((m_1,\ldots,m_b)\) compare the Haar averages of the joint states under \(\mu\) and its transpose twin \(J_\#\mu\), \(J=\mathrm{diag}(1,-1,1)\). Block boundaries are known. Any joint measurement is allowed. A nonzero advantage means optimal equal-prior success strictly exceeds \(1/2\).
205
+
206
+ \textbf{Theorem 10 (exact block criterion).} Allow any radial law on \(0<t\le1\) with conditional angular density \(1+b(t)\cdot u\) relative to uniform surface measure, where \(\|b(t)\|\le1\). Let \(v_j=\mathbb E[t^jX]\) and \(d_i\) be the first odd degree \(2j+1\) for which \(\mathrm{span}(v_0,\ldots,v_j)\) has dimension at least \(i\). Use \(+\infty\) when this never occurs. A mirror is detectable exactly when three \emph{different blocks} can be assigned sizes at least \(d_1,d_2,d_3\), respectively. For Section 7 the least total is \[d_1+d_2+d_3=(2h+1)+(2h+3)+(2h+5)=6h+9.\]
207
+
208
+ \textbf{Lower bound.} Expand each block in Pauli tensors, placing identities in unused slots. A term from even order is isotropic. A term from odd order \(2j+1\) is an \(O(3)\)-equivariant linear image of the single vector \(v_j\), by the angular-integral argument in Theorem 8. Conjugation of the state by \(SU(2)\) implements the proper rotation of all coefficient indices, and transposition reflects these indices by \(J\). In a product of blocks, each expansion term uses at most one such vector per block. Three independent vectors would have to be sourced at degrees at least \(d_1,d_2,d_3\) after sorting their degrees. If the schedule fails the criterion, each term uses vectors in some subspace of dimension at most two. A reflection fixing that subspace pointwise, followed by \(J\), gives a proper rotation agreeing with \(J\) on all vectors in this term. The isotropic factors are unchanged. Haar averaging then makes that term identical for both ensembles. Linearity proves equality of the entire density matrices, hence equality of every measurement probability.
209
+
210
+ \textbf{Attainment.} Keep \(2j_i+1=d_i\) qubits in each of the three blocks. Use \(j_i\) disjoint pairs per block with observable \(S=\sum_{\ell=1}^3\sigma_\ell\otimes\sigma_\ell\), and on the three spare qubits use \(C=\sum_{uvw}\varepsilon_{uvw}\sigma_u\otimes\sigma_v\otimes\sigma_w\). Their tensor product is invariant under common proper rotations. Conditional pair expectations equal \(\|x\|^2\) and the triple expectation equals \(\det[x_1,x_2,x_3]\). Independence across blocks gives expectation \(\det[v_{j_1},v_{j_2},v_{j_3}]\), nonzero by the definition of the first rank increases. Transposition changes its sign. This proves distinguishability and all threshold claims. \href{https://arxiv.org/abs/quant-ph/0610030}{Reference-frame averaging} · \href{https://arxiv.org/abs/2109.10006}{Relational measurements and Bargmann invariants}
211
+
212
+ \clearpage
213
+ \section{10. What the quantum threshold measures}\label{what-the-quantum-threshold-measures}
214
+
215
+ For Section 7 the two-outcome measurement with effects \((I\pm O/K)/2\), where \(O\) is the product observable in Theorem 10 and \(K=6\,3^{3h+3}\), is valid. The triangle inequality gives \(\|C\|\le6\), and \(S=2\,\mathrm{SWAP}-I\) has norm \(3\). After choosing the sign convention for the known template, the success probability is at least \[\tfrac12+\frac{(a/3)^3(3/16)^{3h+3}}{2K}.\] The exact threshold is for the \emph{onset} of a signal. This lower bound on success can be very close to chance. Sections 10.1--10.2 give the sharp fixed-confidence order using a different measurement.
216
+
217
+ \begingroup\small\sffamily\begin{longtable}[]{@{}
218
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.38}}
219
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.62}}@{}}
220
+ \toprule\noalign{}
221
+ \begin{minipage}[b]{\linewidth}\raggedright
222
+ Data available
223
+ \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
224
+ Identifiable information for this family
225
+ \end{minipage} \\
226
+ \midrule\noalign{}
227
+ \endhead
228
+ \bottomrule\noalign{}
229
+ \endlastfoot
230
+ One independently redrawn qubit per block & The mean qubit is \(I/2\). Every number of these preparations has the same joint state for all frames. \\
231
+ A single latent draw with any number of copies and a Haar-unknown frame & Haar averaging a single Bloch direction retains only its radius. The mirror has the same radial law at every order. \\
232
+ Independent repeated-preparation blocks in one unknown common frame & Theorem 10 gives a necessary and sufficient schedule for detecting a mirror. Three blocks of sizes \(3,5,7\) first succeed when \(h=1\). \\
233
+ Exact Bloch vectors with unpaired samples & Theorem 9 estimates the common relative rotation. Radius-dependent features are observable for every sample. \\
234
+ Pairwise dot products or a graph generated from them & Simultaneously reflecting all vectors preserves all the observations. No number of these observations reveals the sign. \\
235
+ \end{longtable}\endgroup
236
+
237
+ \textbf{Registration of observed qubit states and effects.} For \(H=\alpha I+r\cdot\sigma\) and \(K=\beta I+s\cdot\sigma\), \(\|UHU^\dagger-K\|_{\rm HS}^2=2[(\alpha-\beta)^2+\|R_Ur-s\|^2]\). Here \(SU(2)\to SO(3)\) is the double cover. For normalized states use the full Bloch vector \(x=2r\). Then \(\|\rho(x)-\rho(y)\|_{\rm HS}=\|x-y\|/\sqrt2\), and the conventional trace distance is \(\|\rho(x)-\rho(y)\|_1/2=\|x-y\|/2\). A fit determines \(U\) up to sign and any data stabilizer. The input is a list of single-qubit operators or known one-particle marginals. Global entangled registers are a different input space. Transposition compares two preparations mathematically and need not be implemented as a channel.
238
+
239
+ The fixed-origin results of Yeonuxi apply to these coordinate clouds. A relative residual bound by itself is insufficient to identify a unique frame or pairing. A general \(2\times2\) Hermitian record has a scalar attribute. Normalized density matrices have constant trace, so the scalar contributes no distance. For \(n\ge3\) full-rank fixed-origin records the respective generic quotient dimensions are \(4n-3\) and \(3n-3\). For all \(n\), put \(r=\min(3,n)\) and use \(mn+rn-r(r-1)/2\), where \(m=1\) or \(0\). The finite-height embedding in Section K needs its normalized common-denominator hypothesis. Section A supplies a separate all-real oversampled embedding. The finite-resolution guarantee of Section L is additive near its grid scale. \href{https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration}{Yeonuxi 5.0, §§A, I, K--N}
240
+
241
+ \clearpage
242
+ \section{10.1. A sharp high-confidence quantum copy bound}\label{a-sharp-high-confidence-quantum-copy-bound}
243
+
244
+ Let \(B_*(h,a,\delta)\) be the least total qubit count over fixed block schedules and all joint measurements that discriminate the template from its transpose with equal-prior error at most \(\delta\) after the common Haar average. The frame is independent of the hypothesis. Observations from a single trial have one shared frame. This resource counts actual preparations of the latent states.
245
+
246
+ \textbf{Theorem 10A.} Uniformly for \(h\ge1\), \(0<a\le1/(4\sqrt3)\) and \(0<\delta\le1/8\), \[B_*(h,a,\delta)=\Theta\!\left(h^2 a^{-2}\log(1/\delta)\right).\] The constants are numerical. A measurement of individual Pauli components followed by classical processing attains the upper order. The lower bound allows entangled measurements on all preparations. Thus the exact onset \(6h+9\) and a fixed-confidence requirement give different resource laws.
247
+
248
+ \textbf{Upper bound.} Write \(z=(8t-5)/3=\cos\phi\), \(w=1-z^2\) and \(H(x)=x[w g(\phi)]^\top\). Clip \(z\) to \([-1,1]\) to define this feature on the entire unit ball. The taper \(w\) controls noise near the endpoints. For degree \(k\), \(|(d/dz)((1-z^2)T_k(z))|\le2+k\) by the cosine identity. Thus \(\mathrm{Lip}(H)\le L=\sqrt3[1+(16/3)(h+4)]\). Also \(6\mathbb E_{\mu_Q}H=aQG_h\), where \(G_h=2\mathbb E[wgg^\top]\) is positive definite with \(\lambda_{\min}(G_h)\ge c_0=(3-\sqrt5)/8\). Indeed \(G_h\) has diagonal \(1/2\), except that the first entry is \(1/4\) if \(h=1\), and only the corner off-diagonal entries are nonzero, both \(-1/4\). For \(h\ge2\) its least eigenvalue is \(1/4\).
249
+
250
+ Per block measure each Pauli component on \(l\) independent copies, form the three sample means and project their vector onto the closed Bloch ball, obtaining \(\tilde X\). Conditional on \(X\), \(\mathbb E\|\tilde X-X\|\le\sqrt{3/l}\) by variance and nonexpansiveness. Under the isotropic reference law, \(H(\tilde X)-H(X)\) has mean zero: inverting \(X\) and every outcome leaves their joint law unchanged and reverses the feature. The density tilt has magnitude at most \(2\sqrt3a\). Hence the Frobenius bias of \(6H(\tilde X)\) relative to \(aQG_h\) is at most \(36aL/\sqrt l\). Choose \(l=\lceil(144L/c_0)^2\rceil\) and \(n=\lceil10368\log(18/\delta)/(ac_0)^2\rceil\) blocks. Entrywise Hoeffding, as in Theorem 9, bounds the Frobenius fluctuation of their mean by \(ac_0/4\). Bias plus fluctuation is at most \(ac_0/2\). Every matrix within this distance of \(aQG_h\) has determinant sign \(\det Q\) by its smallest singular value and continuity along the line segment. The schedule uses \(3ln\) qubits and succeeds uniformly in the actual frame, which implies the claimed Haar-averaged guarantee.
251
+
252
+ \clearpage
253
+ \section{10.2. Why joint quantum measurements cannot improve the order}\label{why-joint-quantum-measurements-cannot-improve-the-order}
254
+
255
+ \textbf{A more informative experiment.} For a block of \(m\ge1\) qubits, give an observer the exact direction \(u\) and \(m\) signs. Given \(\phi\), each sign independently has mean \(r=\sqrt t\). The eigenstate of \(u\cdot\sigma\) with the reported sign can be prepared from this information. Averaging over signs yields exactly \(\rho(ru)^{\otimes m}\). Thus a classical record can simulate the original block and any subsequent joint quantum measurement. We can bound the information in this more informative record.
256
+
257
+ For a sign string \(s\), let \(p_s(\phi)\) be its likelihood, \(b_s=\mathbb E_\phi p_s>0\), \(v=t^{-1/2}\) and \(d_{s,i}=\mathbb E_\phi[p_s v\cos(k_i\phi)]\), where \(k_i=h+i-1\) for \(i=1,2,3\). Relative to uniform directions and sign masses \(b_s\), the record has density \(1+a u^\top Qd_s/b_s\ge1/2\). For frames \(Q,S\), sphere integration bounds its KL divergence by \[\tfrac{2a^2}{3}\|Q-S\|_{\rm op}^2\sum_{s,i}d_{s,i}^2/b_s.\]
258
+
259
+ \textbf{Frequency estimate.} Integration by parts against \(\cos(k_i\phi)\) has zero boundary term. Cauchy--Schwarz with likelihood weight \(p_s\) gives \[d_{s,i}^2/b_s\le k_i^{-2}\mathbb E_\phi\!\left[p_s
260
+ (v'+v\,\partial_\phi\log p_s)^2\right].\] The scores sum to zero after weighting by \(p_s\). The sum of their squared scores is \(m\) times the one-sign Fisher information \(I_\phi=(r')^2/(1-r^2)=(3/32)(1+\cos\phi)/t\le3/4\). The likelihood is positive on the open interval and the endpoint limits in this integral are harmless. Using \(|v'|\le3/2\) and \(v\le2\) bounds the sum over \(s\) by \((9/4+3m)/k_i^2\). Since \(\|Q-S\|_{\rm op}\le2\), divergence per block is at most \(42a^2m/h^2\).
261
+
262
+ Now reveal the common Haar rotation as extra classical information, using the same Haar law in both hypotheses. Conditional on it, the block records are independent and the two frames are a fixed proper/improper pair. Their joint KL is at most \(42a^2B/h^2\) for total budget \(B\). Averaging over the revealed rotation preserves this upper bound. Any equal-prior test with error \(\delta\) has error sum \(2\delta\). Applying the affinity inequality from Theorem 9 before simulating the quantum measurement gives \[B_*(h,a,\delta)\ \ge\ \max\!\left\{6h+9,\ \frac{h^2}{42a^2}\log\frac1{4\delta}\right\}.\] Together with the explicit upper schedule this proves Theorem 10A. The theorem concerns fixed, labeled, independently prepared blocks. It allows arbitrary measurement and postprocessing of the resulting qubits. Costs of producing a prescribed ensemble and designing hardware are outside this resource count.
263
+
264
+ \clearpage
265
+ \section{11. Moment-blind self-similar measures}\label{moment-blind-self-similar-measures}
266
+
267
+ \textbf{Theorem 11 (a corrected fractal construction).} Choose a finite, distinct spherical design \(\{\tau_1,\ldots,\tau_b\}\subset S^{d-1}\) of strength at least \(\max(M,2)\), with \(d\ge2\) and \(M\ge1\). Write \(G\) for its orthogonal symmetry group and \(\delta\) for its minimum separation. Let \(0<r<\delta/6\). Take \(R_j\in SO(d)\) satisfying \(R_i^{-1}QR_j\notin G\) for \(i\ne j\) and \(Q\in G\). The unique stationary law for the equally weighted maps \(x\mapsto\tau_j+rR_jx\) has isotropic moments through \(M\), trivial orthogonal stabilizer and covariance \(I/[d(1-r^2)]\). Its finite depth-\(L\) prefix law \(\mu_L\) satisfies, for \(L\ge1\), \[W_2(\mu,\mu_L)=r^L/\sqrt{1-r^2}.\] Every core of depth at least two already has trivial stabilizer and isotropic moments up to \(M\). Spherical design existence is classical. \href{https://annals.math.princeton.edu/2013/178-2/p02}{Bondarenko--Radchenko--Viazovska}
268
+
269
+ \textbf{Construction and moment proof.} Strength two implies spanning, hence \(G\) injects into a finite permutation group. Choose the rotations in sequence, excluding the finitely many matrices \(Q^{-1}R_iG\) for earlier \(i\) and \(Q\in G\) and their equivalent inverse conditions. Let \(Y_\ell\) be independent uniform branch labels. The convergent random series has increments \(r^\ell R_{Y_1}\cdots R_{Y_\ell}\tau_{Y_{\ell+1}}\) for \(\ell\ge0\). For a finite prefix, induct on depth: expanding \((\tau_j+rR_jX')^{\otimes m}\), each lower-depth moment of order \(k\le m\) is isotropic and loses its factor \(R_j^{\otimes k}\). The remaining average of \(\tau_j^{\otimes(m-k)}\) is isotropic by the design property. Start with \(\delta_0\) and take bounded convergence for the limit. The mean is zero, the order-two recursion gives the covariance, and distinct increments are orthogonal in \(L^2\) by conditioning on past labels. The matched-prefix squared error is therefore \(r^{2L}/(1-r^2)\).
270
+
271
+ \textbf{Rigidity.} First-generation branches lie within \(r/(1-r)\) of their offsets. Since \(4r/(1-r)<\delta\), each branch has diameter less than \(\delta/2\) and any two branches have distance greater than \(\delta/2\). Threshold connectivity recovers the first-level partition, also recursively inside each branch. An orthogonal symmetry preserves the law and permutes these equal-mass clusters, hence their centroids \(\tau_j\). It belongs to \(G\). The next centroids \(\tau_j+rR_j\tau_k\) force \(R_{\pi(j)}^{-1}QR_j\in G\). The choice of rotations forces \(\pi(j)=j\) for all \(j\), whence \(Q=I\) by spanning. This uses only two levels and works for finite cores. Compactness of \(SO(d)\) gives a positive distance to any reflected twin modulo proper rotations.
272
+
273
+ \textbf{Exact truncation cost.} Distinct prefix centers have separation at least \(r^{L-1}(\delta-2r/(1-r))\), by their first different label. Each tail stays within \(r^L/(1-r)\) of its own center, less than half that separation. Assigning each point to its own prefix is pointwise nearest and has the prescribed masses. No coupling to this fixed core costs less. Multiplying points by \(1-r\) places the law inside the Bloch ball when \(d=3\). The copy thresholds of Theorem 10 apply to its specified dipole laws. For the fractal construction only the stated low-order blindness follows.
274
+
275
+ \clearpage
276
+ \section{12. Cores and sampling with an intrinsic covering bound}\label{cores-and-sampling-with-an-intrinsic-covering-bound}
277
+
278
+ Assume a compact support of diameter \(D>0\) has covering numbers at radius \(uD\) bounded by \(C u^{-s}\) for \(0<u\le1\). Use nested maximal separated nets \(T_\ell\) of radii \(r_\ell=D2^{-\ell}\) with one root and link each point to a nearest previous-level net point. Then \(|T_\ell|\le C2^{(\ell+1)s}\). Assign points to nearest leaves, resolving ties by index. The leaves below a level-\(\ell-1\) parent have pairwise distance at most \(4r_{\ell-1}\) by summing ancestor displacements. For \(D=0\) a single atom suffices.
279
+
280
+ \textbf{Theorem 12 (one coupling across all scales).} For two probability laws \(p,q\) on the leaves, let \(d_v=p(\mathrm{subtree}(v))-q(\mathrm{subtree}(v))\). Then \[W_2^2(p,q)\le8\sum_{\ell=1}^L r_{\ell-1}^2\sum_{v\in T_\ell}|d_v|.\] Match common mass at each leaf and pass unmatched surplus or deficit upward. At a parent \(u\), pair opposite signs coming from different children. The amount newly paired is \((\sum_{v\ {\rm child}}|d_v|-|d_u|)/2\). Each new pair costs at most \((4r_{\ell-1})^2\) per unit and root discrepancy is zero. Summing proves the displayed bound.
281
+
282
+ \textbf{Uniform dyadic core.} Order the leaves by depth-first traversal. Round every cumulative endpoint \(A\) of the leaf mass intervals to \(\lfloor KA\rfloor/K\) for dyadic \(K\) and take successive differences. Nonnegative leaf counts sum to \(K\) and every subtree is one interval, hence \(|d_v|<1/K\). Choose the first \(L\) with \(r_L\le\eta/2\) and the least power of two at least \(\max(1,32\sum_\ell r_{\ell-1}^2|T_\ell|/\eta^2)\). Leaf assignment followed by Theorem 12 gives \(W_2(\mu,\mu^{[K]})\le\eta\). With \(z=D/\eta\ge1\), the sufficient counts are \[K=O_s(C)\begin{cases} z^2 &s<2,\\ z^2\log(2z)&s=2,\\ z^s&s>2.\end{cases}\] This follows by summing \(2^{(s-2)\ell}\). The critical logarithm improves the squared logarithm in the submitted tree proof. Two dyadic counts have least common multiple equal to the larger count. These are upper bounds for general covering classes. \href{https://arxiv.org/abs/1801.02871}{Prior work on equal-weight quantization}
283
+
284
+ \textbf{Empirical law.} At each level \(\mathbb E\sum_v|\hat p_v-p_v|\le\sqrt{|T_\ell|/N}\) by multinomial variance. Project both laws onto the leaves, incurring at most \(2r_L\) in \(W_2\). Taking the square root after summing level costs gives \[r_N:=(\mathbb E W_2^2(\hat\mu_N,\mu))^{1/2}
285
+ \le c_s C^{1/4}D\begin{cases}N^{-1/4}&s<4,\\
286
+ N^{-1/4}\sqrt{\log(2N)}&s=4,\\N^{-1/s}&s>4.\end{cases}\] Choose \(L=\max(1,\lceil\log_2 N/\max(4,s)\rceil)\) and sum \(2^{(s/2-2)\ell}\). Replacing one draw changes the optimal squared cost by at most \(D^2/N\) by rerouting its \(1/N\) mass. Thus with probability \(1-\alpha\), \(W_2(\hat\mu_N,\mu)\le r_N+D(\log(1/\alpha)/(2N))^{1/4}\). The constants contain the covering bound. \href{https://arxiv.org/abs/1707.00087}{Weed--Bach} · \href{https://perso.lpsm.paris/~nfournier/a58.pdf}{Fournier--Guillin}
287
+
288
+ \clearpage
289
+ \section{13. A computable test for rigid equivalence}\label{a-computable-test-for-rigid-equivalence}
290
+
291
+ Let \(\Delta_G(\mu,\nu)=\inf_{Q\in G}W_2(Q_\#\mu,\nu)\) for rotations or all orthogonal maps. Full-cloud translations can be optimized analytically. For any coupling the squared displacement is the sum of the squared mean discrepancy and centered displacement cost. The optimal translation is \(\bar y-Q\bar x\). Centering both members of a compared pair does not increase their \(W_2\) error.
292
+
293
+ \textbf{Theorem 13 (interval certificate).} Let \(e\) bound the sum of the two distribution-to-core errors, including sampling, quantization and snapping. If a feasible core alignment has cost \(U\) measured in root-mean-square units and obeys \(U\le(1+\epsilon)\Delta_{\rm core}\), then \[\max(0,U/(1+\epsilon)-e)\le\Delta_G(\mu,\nu)\le U+e.\] Isometry of pushforwards and the triangle inequality give \(|\Delta_G-\Delta_{\rm core}|\le e\), which proves the interval. Use the two confidence bounds of Section 12 with failure probabilities summing to \(\alpha\). Add both deterministic quantization errors and, for nearest grid step \(b\), at most \(b\sqrt d/2\) per cloud. For \(e\le\delta/3\) and \(\epsilon=1/2\), the null \(\Delta_G=0\) implies \(U\le\delta/2\), while \(\Delta_G\ge2\delta\) implies \(U\ge5\delta/3\) on the same event. Evaluating \(U\) on the cores suffices. This applies to the fractal twins for \(\delta\) at most half their actual parity gap.
294
+
295
+ \textbf{Discrete solver and its scope.} For uniform samples of sizes \(n,m\), replicate to \(\ell=\mathrm{lcm}(n,m)\le nm\). The scaled transportation polytope has integer margins and integral vertices, so an optimal plan equals a permutation of the replicas divided by \(\ell\). Equivalently partition its integer edge flows among copies. This holds for every fixed transformation and hence after minimization. General real weights use a weighted transport oracle or the approximation of Section 12. A rational atom weight with a binary-encoded denominator can make direct replication exponential in input bits.
296
+
297
+ For completeness, equal-sized fixed-dimensional clouds admit the following relative scheme. Write the source as columns \(X=X_B H\) using a maximum-volume rank-\(r\) column basis. Cramer's rule gives \(|H_{ij}|\le1\), \(\|H\|_{\rm op}\le\sqrt{r\ell}\). For a predicted pivot image \(V\), assign predicted columns \(VH\) to the targets, then refit a permitted orthogonal motion on the original columns. If \(E=\|VH-Q_*X\|_F\) at an optimal \(Q_*\), two triangle inequalities give refitted norm at most \(D_*+2E\), where \(D_*=\sqrt\ell\,\Delta_{\rm core}\). Enumerate the ordered target pivot partners. For the optimal partners, pivot residual is at most \(D_*\), so the best coarse feasible norm \(D_0\) satisfies \(D_*\le D_0\le H_0D_*\) with \(H_0=1+2\sqrt{r\ell}\). Return immediately if \(D_0=0\). Around each candidate tuple grid all \(dr\) entries to radius \(D_0\) with mesh at most \(\epsilon D_0/(H_0\sqrt{dr}\sqrt{r\ell})\), including endpoints. Some prediction has \(E\le\epsilon D_*/2\). Rank zero requires one assignment. This is polynomial in \(\ell,1/\epsilon\) for fixed \(d\). Rounding and relative error play separate roles. Yeonuxi gives rational bit-cost details and faster specialized 3D counts. Empirical net construction still reads the input. Continuous distributions require support and mass access, or a statistical model. \href{https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration}{Yeonuxi 5.0, §§C, D, I}
298
+
299
+ \clearpage
300
+ \section{14. What a graph can identify}\label{what-a-graph-can-identify}
301
+
302
+ \textbf{An exact obstruction.} For latent points \(x\) of norm at most \(R_0\), the map \(\ell(x)=(1,x/R_0)/\sqrt2\) gives dot products \((1+x^\top y/R_0^2)/2\in[0,1]\). For centered \(X\) of covariance \(\Sigma\), its centered lifted covariance and uncentered second moment are, respectively, \[\mathrm{Cov}(\ell(X))=\mathrm{diag}(0,\Sigma/(2R_0^2)),\quad
303
+ \mathbb E[\ell(X)\ell(X)^\top]=\mathrm{diag}(1/2,\Sigma/(2R_0^2)).\] The mean locks the first axis up to error \(\|We_1-e_1\|\le\sqrt2\,W_2(W_\#\ell_\#\mu,\ell_\#\nu)\) for two such centered laws. For every \(Q\in O(d)\) the lifted dot products are exactly unchanged by \(x\mapsto Qx\). Using the same edge uniforms therefore yields identical adjacency matrices under a law and its mirror at every graph size. A hidden orientation in a dot-product graph requires extra observations that distinguish reflections.
304
+
305
+ \textbf{Gap-free latent comparison.} Let \(P=X^\top X\) have rank at most \(d\) and \(A\) be symmetric. Let \(\hat P=\hat X^\top\hat X\) retain the largest \(d\) positive eigenvalues, padding by zeros. With \(e=\|A-P\|_{\rm op}\), Weyl bounds the discarded absolute eigenvalues by \(e\), so \(\|\hat P-P\|_{\rm op}\le2e\). The Procrustes trace identity and the Powers--Størmer inequality give \[\min_W\|\hat X-WX\|_F^2\le\|\hat P^{1/2}-P^{1/2}\|_F^2
306
+ \le\|\hat P-P\|_1\le4de.\] Here \(W\in O(d)\), and \(\|\cdot\|_1\) is trace norm. The first inequality uses that the nuclear norm of \(\hat P^{1/2}P^{1/2}\) dominates its trace and equals that of \(\hat X X^\top\). Repeated eigenvalues inside the retained signal are allowed. \href{https://www.mathnet.ru/eng/mat598}{Powers--Størmer}
307
+
308
+ \textbf{Unpaired graph test.} Conditional on a PSD latent model of scale \(\rho_n\), the per-row latent error after dividing by \(\sqrt{\rho_n}\) is bounded by \(2\sqrt{d\|A-P\|_{\rm op}/(n\rho_n)}\). Include the hollow-diagonal bias in \(\|A-P\|_{\rm op}\) for loopless graphs. RMS normalization adds a bounded factor when the population RMS stays away from zero: normalizing two vectors of RMS \(s,\hat s>0\) changes the error by at most \(2/s\) times their original RMS error. Sampling also changes the latent sample RMS by \(O_{\mathbb P}(n^{-1/2})\) for bounded nonzero-energy laws. Add empirical \(W_2\), core and snap errors on both sides. If those terms vanish in probability, the orbit distance is consistently estimated in absolute error using the interval in Theorem 13 with \(\epsilon\to0\), or null versus fixed separated alternatives can be tested with fixed \(\epsilon\) and a threshold tending to zero more slowly than the null errors.
309
+
310
+ Under the normalized-orbit null, uniform objective convergence and compactness imply convergence in probability to the population minimizer \emph{set}, in latent coordinates after the graph-specific gauge changes. Indeed the continuous objective has a positive minimum away from each neighborhood of that set. An entropically regularized alternating method has its own fixed-point and singular-value hypotheses. Unregularized value consistency alone gives no basin radius for it. No finite-level significance calibration is asserted by this consistency proof. \href{https://arxiv.org/pdf/2012.09828\#page=11}{Agterberg--Tang--Priebe, Theorem 3.6} · \href{https://doi.org/10.1002/sta4.429}{Chung et al.}
311
+
312
+ For a quantitative observed-matrix bound, align the vertex permutation first, put \(e=\|A-B\|_{\rm op}\), and suppose both rank-\(d\) cutoffs have positive retained eigenvalues and gap at least \(\gamma>0\). Let \(P_A,P_B\) be their top-\(d\) projectors and \(M=\min(\|A\|_{\rm op},\|B\|_{\rm op})\). For \(e<\gamma/2\) the separated-spectrum Davis--Kahan bound and Weyl give \(\|P_A-P_B\|_{\rm op}\le e/(\gamma-e)\). For larger \(e\) the bound \(1\) suffices. Subtract \(AP_A-BP_B\) in either order to obtain \(\|AP_A-BP_B\|_{\rm op}\le e(1+2M/\gamma)\). The trace-norm comparison of Section 14 gives latent factor distance at most \(\sqrt{2de(1+2M/\gamma)}\). A latent embedding with upper Lipschitz constant \(\beta\) multiplies this bound by \(\beta\). \href{https://arxiv.org/abs/1405.0680}{Davis--Kahan perturbation bounds}
313
+
314
+ \clearpage
315
+ \section{15. Partial data, noise and the five original claims}\label{partial-data-noise-and-the-five-original-claims}
316
+
317
+ \textbf{Known modules at bounded expected degree.} Condition on fixed equal-sized blocks, \(K\) of size \(m=N/K\), bounded latent vectors \(\|x_i\|\le1\), valid PSD dot probabilities \(\rho x_i^\top x_j\), and independent unordered off-diagonal edges. The matrix of all ordered block averages \(\bar A\) divides every block, including a diagonal block, by \(m^2\). If \(G_{ab}\) is the inner product of the two latent block means, then \[\mathbb E\|\bar A/\rho-G\|_{\rm op}
318
+ \le \frac{\sqrt2 K}{m\sqrt\rho}+\frac1m.\] Each centered block entry has variance at most \(2\rho/m^2\) because an unordered edge appears at most twice. Sum variances, then bound the operator norm by Frobenius norm. Omitting self-loops biases a diagonal by at most \(1/m\) after rescaling. The preceding factor bound and Jensen give expected per-module error at most \(2\sqrt{d/K}\,[\sqrt2 K/(m\sqrt\rho)+1/m]^{1/2}\). With fixed \(K,d\) and \(\rho=c/N\), this is \(O(N^{-1/4})\). Unknown partitions, matching individual neurons, and arbitrary outliers in a generative graph require additional information. Vertices of identical type, attributes and latent position give a simple impossibility example for unique correspondence.
319
+
320
+ \textbf{Partial matching and channels.} For a type-compatible set of \(j\) disjoint pairs, let \(d(P)\) be its optimal RMS cost including attributes. With full-cloud Frobenius perturbations \(E_X,E_Y\), its change is at most \(\zeta_j=(E_X+E_Y)/\sqrt j\), by Minkowski at the old optimizer and the reverse comparison. With per-record bounds \(b_X,b_Y\) one can instead use \(b_X+b_Y\). A unique feasible \(k\)-pair set with upper bound \(u\), all competing \(k\)-sets strictly above \(r+\zeta_k\) and all \((k+1)\)-sets strictly above \(r+\zeta_{k+1}\) retains its identities and maximality if \(u+\zeta_k\le r\). At the largest possible size the last test is vacuous. Deleting the largest residual pair gives the prefix property. Approximate residual alone cannot certify these strict exclusions. A qubit channel with \(\|\mathcal E-\mathrm{id}\|_\diamond\le b\) moves every full Bloch vector by at most \(b\). Add per-record snap errors on \textbf{both} clouds. Aggregate full-sample RMS budgets convert to selected \(j\)-point budgets with factors \(\sqrt{N/j},\sqrt{M/j}\). For fixed origin Yeonuxi N gives \(O((NM)^2\log^2(2k)\epsilon^{-3/2})\) partial assignment calls in 3D. Free translations use \(O((NM)^3\log^2(2k)\epsilon^{-3})\). Exhaustive certificates and approximation have different guarantees. \href{https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration}{Yeonuxi 5.0, §§M--N}
321
+
322
+ \begingroup\small\sffamily\begin{longtable}[]{@{}
323
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.32}}
324
+ >{\raggedright\arraybackslash}p{(\columnwidth - 2\tabcolsep) * \real{0.68}}@{}}
325
+ \toprule\noalign{}
326
+ \begin{minipage}[b]{\linewidth}\raggedright
327
+ Original problem
328
+ \end{minipage} & \begin{minipage}[b]{\linewidth}\raggedright
329
+ Corrected disposition
330
+ \end{minipage} \\
331
+ \midrule\noalign{}
332
+ \endhead
333
+ \bottomrule\noalign{}
334
+ \endlastfoot
335
+ I · Qubit alignment & Exact copy criterion and sharp high-confidence rate in Theorems 10 and 10A. Classical registration uses known single-qubit coordinates. \\
336
+ II · Wasserstein alignment & Lemma 3.2 and dual (1.6) of PSW v2 fail in general. Theorems 2--6 identify and repair the gap and give scoped algorithmic and statistical results. \\
337
+ III · Network testing & Conditional consistency under the orthogonal gauge. A mirror is graph-indistinguishable. \\
338
+ IV · Fractal inverse geometry & Exact finite cores for moment blindness and trivial symmetry. Theorem 13 tests separated population orbits. \\
339
+ V · Partial connectomics & Known-module estimates and geometric certificates. General unseeded vertex homology remains unresolved here. \\
340
+ \end{longtable}\endgroup
341
+
342
+ \clearpage
343
+ \section{16. Prior work and reproducibility}\label{prior-work-and-reproducibility}
344
+
345
+ \textbf{Version history matters.} Section 1.1 of the first PSW preprint asked about uniqueness of projection onto a geodesically convex orbit. The second version points to the Adve--Mészáros counterexample, supplies Proposition 2.3 and asks for natural uniqueness conditions, transformation sample complexity, computation for arbitrary parameter sets, and a Sinkhorn analogue. Sections 3--8 address those questions under specified representations and observation models. Theorem 1 concerns a separate, still stated primal--dual equality in that second version. \href{https://arxiv.org/html/2503.06838v1\#S1.SS1}{PSW v1, §1.1} · \href{https://arxiv.org/pdf/2503.06838\#page=7}{PSW v2, §1.1} · \href{https://arxiv.org/pdf/2503.06838\#page=10}{PSW v2, Proposition 2.3}
346
+
347
+ \textbf{A graph embedding qualification.} For fixed equal sample size an embedding that is bi-Lipschitz for the latent-cloud quotient transfers those same constants to its latent-distance comparison, and the factorization error in Section 14 transfers by the triangle inequality. General supported changes to the observed adjacency matrices can cross the rank cutoff. For instance \(A_\epsilon=\mathrm{diag}(1+\epsilon,1,0)\) and \(B_\epsilon\) with leading block \(\left(\begin{smallmatrix}1&\epsilon\\\epsilon&1\end{smallmatrix}\right)\) and last row/column zero approach each other. Their rank-one factors remain distance \(\sqrt{(1+\epsilon)(2-\sqrt2)}\) apart modulo sign and permutation. This concerns arbitrary symmetric input matrices. Minimized operator norm under permutation is a relabeling distance, distinct from the graph cut norm. Retrieval or learning guarantees need their own embedding, distortion, data model and index assumptions. \href{https://huggingface.co/datasets/PureOne/yeonuxi-5-certified-point-cloud-registration}{Yeonuxi 5.0}
348
+
349
+ \textbf{The connectomics sources.} Pedigo et al.~use edges between hemispheres to improve bilateral graph matching and report results on measured connectomes. Their paper appeared in \emph{Network Neuroscience}. OmniMatch studies seeded multiple graph matching without requiring edge correlation. Neither study identifies the general unseeded vertex problem with matching points from a known rank-three PSD model. \href{https://doi.org/10.1162/netn_a_00287}{Pedigo et al.} · \href{https://arxiv.org/abs/2506.02825}{OmniMatch}
350
+
351
+ \textbf{Related precedents.} Intrinsic-dimensional empirical transport rates, chiral pseudoscalars, rational registration, relational quantum invariants and entropic KL projections all have prior literature. The contribution asserted here consists of the precise relaxation counterexample and repair, the degree-dependent block criterion, the model-matched statistical bounds, and the stated refinements. The results carry no claim of historical priority. \href{https://arxiv.org/abs/1707.00087}{Weed--Bach} · \href{https://doi.org/10.1103/RevModPhys.71.1745}{Harris--Kamien--Lubensky} · \href{https://arxiv.org/abs/2109.10006}{Oszmaniec--Brod--Galvão} · \href{https://doi.org/10.1137/141000439}{Benamou et al.}
352
+
353
+ \textbf{Reproducible calculations.} Run the supplied Python program with NumPy, SciPy and SymPy. It solves the two finite LPs, compares 33 square-to-octagon transportation LPs with the angular formula, evaluates the smooth example through direct matrix square roots, checks the first seven radial determinant identities in exact rational arithmetic, compares the finite scaling algorithm with an independently formulated entropy dual, evaluates the pair and triple Pauli observables directly, and checks the interval entropy example, the tapered-feature spectrum and the classical information bound numerically or symbolically. The JSON file records the results. A separate seeded simulation draws actual ensemble vectors, samples their Pauli measurement counts, and evaluates the determinant decision. At \(h=3\), \(a=1/8\), with 65,536 blocks and 512 copies per Pauli coordinate, it recovered the prescribed sign in each of two example trials. The example illustrates the estimator. The uniform success guarantee comes from Theorem 10A.
354
+
355
+ Sharp rates for continuous Lebesgue entropy under specified smoothness, fast search for additional structured transformation classes, optimal quantum constants and adaptive preparation schedules, and unseeded vertex identification beyond the assumptions above remain research questions.
356
+ \end{document}
paper/alignment_geometry.pdf ADDED
Binary file (22.2 kB). View file
 
results/bloch_pair_baseline.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 20261130,
3
+ "estimator": "untapered radial feature plus polar fit",
4
+ "observations": [
5
+ {
6
+ "case_id": "pair-001",
7
+ "estimated_determinant_sign": 1,
8
+ "relative_frame_frobenius_error": 0.49841396766079155
9
+ },
10
+ {
11
+ "case_id": "pair-002",
12
+ "estimated_determinant_sign": 1,
13
+ "relative_frame_frobenius_error": 0.5962677517722407
14
+ },
15
+ {
16
+ "case_id": "pair-003",
17
+ "estimated_determinant_sign": -1,
18
+ "relative_frame_frobenius_error": 0.23488663835610732
19
+ },
20
+ {
21
+ "case_id": "pair-004",
22
+ "estimated_determinant_sign": -1,
23
+ "relative_frame_frobenius_error": 0.24335584205869332
24
+ },
25
+ {
26
+ "case_id": "pair-005",
27
+ "estimated_determinant_sign": -1,
28
+ "relative_frame_frobenius_error": 0.4908932390247316
29
+ },
30
+ {
31
+ "case_id": "pair-006",
32
+ "estimated_determinant_sign": -1,
33
+ "relative_frame_frobenius_error": 0.46730047438877814
34
+ },
35
+ {
36
+ "case_id": "pair-007",
37
+ "estimated_determinant_sign": -1,
38
+ "relative_frame_frobenius_error": 0.3555426670984978
39
+ },
40
+ {
41
+ "case_id": "pair-008",
42
+ "estimated_determinant_sign": 1,
43
+ "relative_frame_frobenius_error": 0.9555728887609042
44
+ },
45
+ {
46
+ "case_id": "pair-009",
47
+ "estimated_determinant_sign": 1,
48
+ "relative_frame_frobenius_error": 0.22438518898333829
49
+ },
50
+ {
51
+ "case_id": "pair-010",
52
+ "estimated_determinant_sign": 1,
53
+ "relative_frame_frobenius_error": 0.6280008387745516
54
+ },
55
+ {
56
+ "case_id": "pair-011",
57
+ "estimated_determinant_sign": -1,
58
+ "relative_frame_frobenius_error": 0.25803335752109974
59
+ },
60
+ {
61
+ "case_id": "pair-012",
62
+ "estimated_determinant_sign": 1,
63
+ "relative_frame_frobenius_error": 0.16022802478741618
64
+ }
65
+ ]
66
+ }
results/dataset_validation.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bloch_pairs": {
3
+ "pairs": 12,
4
+ "point_rows": 196608,
5
+ "baseline_correct_parity": 12,
6
+ "baseline_median_frame_error": 0.41142157074363794
7
+ },
8
+ "fractal": {
9
+ "point_rows": 72,
10
+ "moment_orders_checked": 3,
11
+ "stabilizer_size": 1,
12
+ "mirror_map_parities": [
13
+ -1
14
+ ]
15
+ },
16
+ "reference_tables": {
17
+ "transport_regressions": 3,
18
+ "quantum_thresholds": 7,
19
+ "pauli_trials": 2
20
+ }
21
+ }
results/frame_demo_results.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "seed": 20261130,
3
+ "h": 3,
4
+ "amplitude": 0.125,
5
+ "independent_blocks_per_trial": 65536,
6
+ "Pauli_copies_per_axis_per_block": 512,
7
+ "observed": [
8
+ {
9
+ "true_determinant_sign": 1,
10
+ "tomographic_determinant_sign": 1,
11
+ "exact_vector_rotation_Frobenius_error": 0.16915089369926745
12
+ },
13
+ {
14
+ "true_determinant_sign": -1,
15
+ "tomographic_determinant_sign": -1,
16
+ "exact_vector_rotation_Frobenius_error": 0.09551123737321927
17
+ }
18
+ ]
19
+ }
results/verification.json ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "two_point": {
3
+ "fixed_costs": [
4
+ 2,
5
+ 2
6
+ ],
7
+ "source_independence": 0.0,
8
+ "both_marginal_independences": 2.0,
9
+ "relaxed_plan": [
10
+ [
11
+ 0.5,
12
+ 0.0
13
+ ],
14
+ [
15
+ 0.0,
16
+ 0.5
17
+ ]
18
+ ]
19
+ },
20
+ "square_octagon": {
21
+ "squared_minimum": 0.15224093497742652,
22
+ "optimal_angle_radians": 0.3926990816987242,
23
+ "relaxed_cost": 0,
24
+ "LP_grid_size": 33,
25
+ "max_formula_discrepancy": 2.220446049250313e-16
26
+ },
27
+ "elliptical_geodesic": {
28
+ "argmin": [
29
+ "-sqrt(31)/20",
30
+ "sqrt(31)/20"
31
+ ],
32
+ "squared_minimum": "319/40",
33
+ "squared_cost_at_zero": 8,
34
+ "max_direct_matrix_discrepancy": 8.881784197001252e-15
35
+ },
36
+ "radial_moment_flags": [
37
+ {
38
+ "h": 1,
39
+ "first_block_sizes": [
40
+ 3,
41
+ 5,
42
+ 7
43
+ ],
44
+ "threshold": 15,
45
+ "determinant_without_amplitude_factor": "729/16777216"
46
+ },
47
+ {
48
+ "h": 2,
49
+ "first_block_sizes": [
50
+ 5,
51
+ 7,
52
+ 9
53
+ ],
54
+ "threshold": 21,
55
+ "determinant_without_amplitude_factor": "19683/68719476736"
56
+ },
57
+ {
58
+ "h": 3,
59
+ "first_block_sizes": [
60
+ 7,
61
+ 9,
62
+ 11
63
+ ],
64
+ "threshold": 27,
65
+ "determinant_without_amplitude_factor": "531441/281474976710656"
66
+ },
67
+ {
68
+ "h": 4,
69
+ "first_block_sizes": [
70
+ 9,
71
+ 11,
72
+ 13
73
+ ],
74
+ "threshold": 33,
75
+ "determinant_without_amplitude_factor": "14348907/1152921504606846976"
76
+ },
77
+ {
78
+ "h": 5,
79
+ "first_block_sizes": [
80
+ 11,
81
+ 13,
82
+ 15
83
+ ],
84
+ "threshold": 39,
85
+ "determinant_without_amplitude_factor": "387420489/4722366482869645213696"
86
+ },
87
+ {
88
+ "h": 6,
89
+ "first_block_sizes": [
90
+ 13,
91
+ 15,
92
+ 17
93
+ ],
94
+ "threshold": 45,
95
+ "determinant_without_amplitude_factor": "10460353203/19342813113834066795298816"
96
+ },
97
+ {
98
+ "h": 7,
99
+ "first_block_sizes": [
100
+ 15,
101
+ 17,
102
+ 19
103
+ ],
104
+ "threshold": 51,
105
+ "determinant_without_amplitude_factor": "282429536481/79228162514264337593543950336"
106
+ }
107
+ ],
108
+ "finite_entropic_projection": {
109
+ "regularized_value": 0.43361781754766027,
110
+ "iterations": 6,
111
+ "constraint_error": 2.7200464103316335e-15,
112
+ "absolute_primal_dual_difference": 2.220446049250313e-16
113
+ },
114
+ "continuous_entropic_gap": {
115
+ "deterministic": "1/12",
116
+ "shared_bin_cost": "1/(6*n**2)",
117
+ "shared_bin_entropy": "log(n)",
118
+ "relaxed_zero_temperature_limit": 0
119
+ },
120
+ "pauli_witness": {
121
+ "triple_operator_norm": 3.4641016151377553,
122
+ "pair_operator_norm": 2.9999999999999996,
123
+ "example_determinant": 0.166
124
+ },
125
+ "quantum_information": [
126
+ {
127
+ "h": 1,
128
+ "smallest_tapered_Gram_eigenvalue": 0.09549150281252092,
129
+ "largest_tested_energy_to_bound_ratio": 0.01986535018297839
130
+ },
131
+ {
132
+ "h": 2,
133
+ "smallest_tapered_Gram_eigenvalue": 0.24999999999998607,
134
+ "largest_tested_energy_to_bound_ratio": 0.011375129858803248
135
+ },
136
+ {
137
+ "h": 5,
138
+ "smallest_tapered_Gram_eigenvalue": 0.24999999999998612,
139
+ "largest_tested_energy_to_bound_ratio": 0.006621802169681518
140
+ },
141
+ {
142
+ "h": 12,
143
+ "smallest_tapered_Gram_eigenvalue": 0.24999999999998618,
144
+ "largest_tested_energy_to_bound_ratio": 1.9683812730381574e-05
145
+ }
146
+ ]
147
+ }