diff --git a/research/coupled-tail-support-floor/.gitattributes b/research/coupled-tail-support-floor/.gitattributes new file mode 100644 index 0000000000..fa1385d99a --- /dev/null +++ b/research/coupled-tail-support-floor/.gitattributes @@ -0,0 +1 @@ +* -text diff --git a/research/coupled-tail-support-floor/.gitignore b/research/coupled-tail-support-floor/.gitignore new file mode 100644 index 0000000000..43ae0e2a6c --- /dev/null +++ b/research/coupled-tail-support-floor/.gitignore @@ -0,0 +1,2 @@ +__pycache__/ +*.py[cod] diff --git a/research/coupled-tail-support-floor/BINDINGS.json b/research/coupled-tail-support-floor/BINDINGS.json new file mode 100644 index 0000000000..a4d8412d17 --- /dev/null +++ b/research/coupled-tail-support-floor/BINDINGS.json @@ -0,0 +1,1027 @@ +{ + "compressed_inputs": { + "source/coupled-tail-escape/LOCAL-BLOCK.json": { + "logical_bytes": 178927, + "logical_sha256": "aad2ee156a1f1e028b4e0329b4af1c38285f0be90c27da720d4bb71885c29294", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/LOCAL-BLOCK.json", + "storage_path": "source/coupled-tail-escape/LOCAL-BLOCK.json.gz", + "transport_bytes": 6561, + "transport_sha256": "e72ff85b051ebfe909e24cc95b6e79225edc3cd5b80916a5e09c842b5271a8e3" + }, + "source/coupled-tail-escape/Q3-LOCAL-BLOCK.json": { + "logical_bytes": 275744, + "logical_sha256": "3ad4d1bb498cd67588af0c0558c32b441b35dac56b9f3bb7001ae317fadc28fa", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "storage_path": "source/coupled-tail-escape/Q3-LOCAL-BLOCK.json.gz", + "transport_bytes": 7429, + "transport_sha256": "a33c81c3d083aebd05c0bdbc8d6ce50a027f3af5a237b1aa002c3786435a0913" + }, + "source/early-cut58-planning/CUT58.json": { + "logical_bytes": 237184, + "logical_sha256": "7553ec4f63272cd4b8efb16b2ec01183240be248e36a5dc45df32f9ebd24de58", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/CUT58.json", + "storage_path": "source/early-cut58-planning/CUT58.json.gz", + "transport_bytes": 6902, + "transport_sha256": "52011fdf490b90332a1651e66aa62741fe11da88a76a433fddc8ca413c68c800" + }, + "source/folded-fusion/SIMPLIFIED-FUSIONS.json": { + "logical_bytes": 3658155, + "logical_sha256": "4491cfe2a1f3e48510b33403b9b50c704865c3b1dc6d659ef5157840654e8fc3", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/folded-fusion/SIMPLIFIED-FUSIONS.json", + "storage_path": "source/folded-fusion/SIMPLIFIED-FUSIONS.json.gz", + "transport_bytes": 75233, + "transport_sha256": "7780976645e1aa1e4858b4c109b440faed0327a76cfa51fe58d049f6e5a07276" + }, + "source/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json": { + "logical_bytes": 2438797, + "logical_sha256": "30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "storage_path": "source/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json.gz", + "transport_bytes": 49046, + "transport_sha256": "ee1b8e64355381f4347c28b6a741e25b00bec83182357896cd803eb3a525aaf0" + } + }, + "cut58_raw_sources": [ + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-changed-endpoints-20261019T0153Z/stabilizer-escape/full_stabilizer_bound.py", + "relative": "source/vendor/full_stabilizer_bound.py", + "sha256": "f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/free_ops.py", + "relative": "source/caller/free_ops.py", + "sha256": "5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_family.py", + "relative": "source/caller/nested_family.py", + "sha256": "88f425d12baf8a4f849cccd24605f21680eb8ce8d199054db4b4e7734eca72b6" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_prefix.py", + "relative": "source/caller/nested_prefix.py", + "sha256": "9ec10cb0243c0c829475ad7290f4953cdff27cb0f90f70b687c4bbee98af676b" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/pivot_plane_probe.py", + "relative": "source/caller/pivot_plane_probe.py", + "sha256": "fcd0a4a0a301c4fddfb8b132894e8b5b751b08cacdb0e5ed41e80b0d4903d499" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/conjugated_reflection.py", + "relative": "source/native-frames/conjugated_reflection.py", + "sha256": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/even_parity_source.py", + "relative": "source/native-frames/even_parity_source.py", + "sha256": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/lifted_algebra.py", + "relative": "source/native-frames/lifted_algebra.py", + "sha256": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/native_model.py", + "relative": "original/native-frames/native_model.py", + "sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/orthogonal_source_normalizer.py", + "relative": "source/native-frames/orthogonal_source_normalizer.py", + "sha256": "c6373762bd15763625cc9237bb280a5e26ab8e53d6bfb034474f068b1525e6fa" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/root-chronology/quadratic_charts.py", + "relative": "source/root-chronology/quadratic_charts.py", + "sha256": "de2a36f6a6b567360c90477b58da44e2f1b618fd006d058ab1ea04e983952c3f" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/joint_algebra.py", + "relative": "original/caller-joint/joint_algebra.py", + "sha256": "5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/MANIFEST.json", + "relative": "original/dependencies/ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3-MANIFEST.json", + "sha256": "ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/audit_gates.py", + "relative": "source/completed-gates-review/audit_gates.py", + "sha256": "051ba51e02e9f143b8a8bea0b91d69e7e1e32edf0f98d2d40db290f02043d460" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "relative": "source/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "sha256": "f3b8c42c0fe7d5c5a542e38fe0b3d14601c170959e18a45b60f26128703560b2" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/HANDOFF.md", + "relative": "source/coupled-tail-escape/HANDOFF.md", + "sha256": "25aa7a2e7408cca9402e34ba809bb8a487c79a4d012d5b8c4700dc81502741aa" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/LOCAL-BLOCK.json", + "relative": "source/coupled-tail-escape/LOCAL-BLOCK.json", + "sha256": "aad2ee156a1f1e028b4e0329b4af1c38285f0be90c27da720d4bb71885c29294" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/MANIFEST.json", + "relative": "source/coupled-tail-escape/MANIFEST.json", + "sha256": "f3c5b9829e61866988b0843e5bcb637fb0ae37434e2f8e6ef74bdeef079e126e" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/PROOF.md", + "relative": "source/coupled-tail-escape/PROOF.md", + "sha256": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "relative": "source/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "sha256": "3ad4d1bb498cd67588af0c0558c32b441b35dac56b9f3bb7001ae317fadc28fa" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/VALIDATION.json", + "relative": "source/coupled-tail-escape/VALIDATION.json", + "sha256": "e1b6ccf248fa65973645d41b34a7119f07df5d70e73dcfb36cf335ff2ec45e31" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/local_block.py", + "relative": "original/coupled-tail-escape/local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/q3_tail.py", + "relative": "source/coupled-tail-escape/q3_tail.py", + "sha256": "8fac76761684d17231ae4d766b7d9464a4ff5675e99038dfbd839bb8cf0d1082" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/MANIFEST.json", + "relative": "source/coupled-tail-independent-review/MANIFEST.json", + "sha256": "db91e3ac03e43cb848b7ca6fb6ca314755573142227e330f2f0293011501f8dd" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/SOURCE-PINS.json", + "relative": "source/coupled-tail-independent-review/SOURCE-PINS.json", + "sha256": "e86465b4fb10b3597cc6ec59ce8f24e828301683a5e7f8e1b51d646ae83dabc8" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/audit_tail.py", + "relative": "source/coupled-tail-independent-review/audit_tail.py", + "sha256": "18f72f8e4e69595484304e1bacdb3d8f8bfc3f9bfad71aa1038adfb1808f955d" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/CUT58.json", + "relative": "source/early-cut58-planning/CUT58.json", + "sha256": "7553ec4f63272cd4b8efb16b2ec01183240be248e36a5dc45df32f9ebd24de58" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/HANDOFF.md", + "relative": "source/early-cut58-planning/HANDOFF.md", + "sha256": "31da85394448775676ded8fabbf6ce2c894da9eb0d0e799129e42710ca91d29c" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/MANIFEST.json", + "relative": "source/early-cut58-planning/MANIFEST.json", + "sha256": "2b5df5dc85e4799116177fac51ffc801357c243189b80563891cb534d1ce6a12" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/PROOF.md", + "relative": "source/early-cut58-planning/PROOF.md", + "sha256": "96372d990703d9775eda33d6b9d47c915f8c5b94b7c3d5c4fd82278fd0ecf2f3" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/VALIDATION.md", + "relative": "source/early-cut58-planning/VALIDATION.md", + "sha256": "2d33306afb4fcac0d7af57e492f89ccf33fea74d022d1788970cd116130080aa" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/cut58.py", + "relative": "source/early-cut58-planning/cut58.py", + "sha256": "0df94525632944ef6b4441159d481317fa7f4bcaf9c8b121d73ae06c545b0b02" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/audit_fusions.py", + "relative": "source/fusion-audit/audit_fusions.py", + "sha256": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/joint_coefficient_gate.py", + "relative": "original/joint-native/joint_coefficient_gate.py", + "sha256": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/literal_inverse_binding.py", + "relative": "source/joint-native/literal_inverse_binding.py", + "sha256": "74bdbc9c35db4153e00ed15c8d9df27b63e1c50cd76fcd33f987f3f97d412d96" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/MANIFEST.json", + "relative": "original/dependencies/e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c-MANIFEST.json", + "sha256": "e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/PROOF.md", + "relative": "original/dependencies/0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232-PROOF.md", + "sha256": "0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "relative": "source/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "sha256": "30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/MANIFEST.json", + "relative": "source/two-site-continuation/MANIFEST.json", + "sha256": "44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/AUDIT.json", + "relative": "original/dependencies/e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7-AUDIT.json", + "sha256": "e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/MANIFEST.json", + "relative": "original/dependencies/4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e-MANIFEST.json", + "sha256": "4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e" + }, + { + "original": "/Users/ross/git/math/integer-mult-bounds/research/kernel92-frame-composition/vendor/pr531/vendor/clifford/clifford_exact.py", + "relative": "source/vendor/clifford_exact.py", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + } + ], + "executed_modules": { + "audit_cut58": "source/early-cut58-independent-review/audit_cut58.py", + "audit_fusions": "source/fusion-audit/audit_fusions.py", + "audit_tail": "source/coupled-tail-independent-review/audit_tail.py", + "audit_two_sites": "source/two-site-independent-audit/audit_two_sites.py", + "clifford_exact": "source/vendor/clifford_exact.py", + "conjugated_reflection": "source/native-frames/conjugated_reflection.py", + "cut58": "source/early-cut58-planning/cut58.py", + "even_parity_source": "source/native-frames/even_parity_source.py", + "free_ops": "source/caller/free_ops.py", + "full_stabilizer_bound": "source/vendor/full_stabilizer_bound.py", + "joint_algebra": "source/caller-joint/joint_algebra.py", + "joint_coefficient_gate": "source/joint-native/joint_coefficient_gate.py", + "joint_prefix": "source/caller-joint/joint_prefix.py", + "lifted_algebra": "source/native-frames/lifted_algebra.py", + "literal_inverse_binding": "source/joint-native/literal_inverse_binding.py", + "local_block": "source/portable/local_block.py", + "native_model": "source/native-frames/native_model.py", + "nested_family": "source/caller/nested_family.py", + "nested_prefix": "source/caller/nested_prefix.py", + "orthogonal_source_normalizer": "source/native-frames/orthogonal_source_normalizer.py", + "pivot_plane_probe": "source/caller/pivot_plane_probe.py", + "q3_tail": "source/coupled-tail-escape/q3_tail.py", + "quadratic_charts": "source/root-chronology/quadratic_charts.py", + "validate_recipe_links": "source/caller-joint/validate_recipe_links.py" + }, + "files": [ + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/original/caller-joint/joint_algebra.py", + "path": "original/caller-joint/joint_algebra.py", + "sha256": "5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/original/caller-joint/validate_recipe_links.py", + "path": "original/caller-joint/validate_recipe_links.py", + "sha256": "7457b3672d5a73c584d2073b5d3312e6429fd3f433151f15f8f07da33aa4c59a" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/local_block.py", + "path": "original/coupled-tail-escape/local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/PROOF.md", + "path": "original/dependencies/0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232-PROOF.md", + "sha256": "0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/MANIFEST.json", + "path": "original/dependencies/4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e-MANIFEST.json", + "sha256": "4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/AUDIT.json", + "path": "original/dependencies/e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7-AUDIT.json", + "sha256": "e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/MANIFEST.json", + "path": "original/dependencies/e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c-MANIFEST.json", + "sha256": "e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/MANIFEST.json", + "path": "original/dependencies/ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3-MANIFEST.json", + "sha256": "ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/original/joint-native/joint_coefficient_gate.py", + "path": "original/joint-native/joint_coefficient_gate.py", + "sha256": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/original/native-frames/native_model.py", + "path": "original/native-frames/native_model.py", + "sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/caller-joint/joint_algebra.py", + "path": "source/caller-joint/joint_algebra.py", + "sha256": "6fe4de627845a36e2e08723e705daa86959846fe4ea577e94fca233829d7d5c9" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/joint_prefix.py", + "path": "source/caller-joint/joint_prefix.py", + "sha256": "a4dcaa1ad05ef8dbba60ddd47b3ad44a3095ebb5fd31f6adfb935a7b1c46a2c7" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/caller-joint/validate_recipe_links.py", + "path": "source/caller-joint/validate_recipe_links.py", + "sha256": "30b9ad84008ff6df9597bb95964174745a6cd978b9bfde968e18b8db396416b8" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/caller/free_ops.py", + "path": "source/caller/free_ops.py", + "sha256": "5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/caller/nested_family.py", + "path": "source/caller/nested_family.py", + "sha256": "88f425d12baf8a4f849cccd24605f21680eb8ce8d199054db4b4e7734eca72b6" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/caller/nested_prefix.py", + "path": "source/caller/nested_prefix.py", + "sha256": "9ec10cb0243c0c829475ad7290f4953cdff27cb0f90f70b687c4bbee98af676b" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/caller/pivot_plane_probe.py", + "path": "source/caller/pivot_plane_probe.py", + "sha256": "fcd0a4a0a301c4fddfb8b132894e8b5b751b08cacdb0e5ed41e80b0d4903d499" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/audit_gates.py", + "path": "source/completed-gates-review/audit_gates.py", + "sha256": "051ba51e02e9f143b8a8bea0b91d69e7e1e32edf0f98d2d40db290f02043d460" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "path": "source/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "sha256": "f3b8c42c0fe7d5c5a542e38fe0b3d14601c170959e18a45b60f26128703560b2" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/HANDOFF.md", + "path": "source/coupled-tail-escape/HANDOFF.md", + "sha256": "25aa7a2e7408cca9402e34ba809bb8a487c79a4d012d5b8c4700dc81502741aa" + }, + { + "kind": "deterministic lossless JSON transport", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/LOCAL-BLOCK.json", + "path": "source/coupled-tail-escape/LOCAL-BLOCK.json.gz", + "sha256": "e72ff85b051ebfe909e24cc95b6e79225edc3cd5b80916a5e09c842b5271a8e3" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/MANIFEST.json", + "path": "source/coupled-tail-escape/MANIFEST.json", + "sha256": "f3c5b9829e61866988b0843e5bcb637fb0ae37434e2f8e6ef74bdeef079e126e" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/PROOF.md", + "path": "source/coupled-tail-escape/PROOF.md", + "sha256": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587" + }, + { + "kind": "deterministic lossless JSON transport", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "path": "source/coupled-tail-escape/Q3-LOCAL-BLOCK.json.gz", + "sha256": "a33c81c3d083aebd05c0bdbc8d6ce50a027f3af5a237b1aa002c3786435a0913" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/VALIDATION.json", + "path": "source/coupled-tail-escape/VALIDATION.json", + "sha256": "e1b6ccf248fa65973645d41b34a7119f07df5d70e73dcfb36cf335ff2ec45e31" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/local_block.py", + "path": "source/coupled-tail-escape/local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/q3_tail.py", + "path": "source/coupled-tail-escape/q3_tail.py", + "sha256": "8fac76761684d17231ae4d766b7d9464a4ff5675e99038dfbd839bb8cf0d1082" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/AUDIT.json", + "path": "source/coupled-tail-independent-review/AUDIT.json", + "sha256": "c1b850bfdab5328a1ecaabf36400b4d49830131cb8eb6e0ed5c74ff5d975efe0" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/HANDOFF.md", + "path": "source/coupled-tail-independent-review/HANDOFF.md", + "sha256": "fec073544043700346cd4601d646e2b68a07eeac6ee7d053f416e0a69527b9ba" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/MANIFEST.json", + "path": "source/coupled-tail-independent-review/MANIFEST.json", + "sha256": "db91e3ac03e43cb848b7ca6fb6ca314755573142227e330f2f0293011501f8dd" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/REVIEW.md", + "path": "source/coupled-tail-independent-review/REVIEW.md", + "sha256": "dc3d42299d482d71bb06cb0d668ae6bfbc7bf3c6ba1068f840e706858b67123a" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/SOURCE-PINS.json", + "path": "source/coupled-tail-independent-review/SOURCE-PINS.json", + "sha256": "e86465b4fb10b3597cc6ec59ce8f24e828301683a5e7f8e1b51d646ae83dabc8" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/VALIDATION.json", + "path": "source/coupled-tail-independent-review/VALIDATION.json", + "sha256": "3b56a7d435fb88054ef73c4a1f26701cda45f7129e25d745323cceb35480467b" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/audit_tail.py", + "path": "source/coupled-tail-independent-review/audit_tail.py", + "sha256": "18f72f8e4e69595484304e1bacdb3d8f8bfc3f9bfad71aa1038adfb1808f955d" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/validate_review.py", + "path": "source/coupled-tail-independent-review/validate_review.py", + "sha256": "51c079b41571d73af9548fb23502117112d1ac3ac8f64a7149c6d997c1e6033f" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/AUDIT.json", + "path": "source/early-cut58-independent-review/AUDIT.json", + "sha256": "8167d024e84d6b3b3763a20fd8a2730ea572f6c331ad71b8c3cfeb4acc6984b5" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/HANDOFF.md", + "path": "source/early-cut58-independent-review/HANDOFF.md", + "sha256": "ca6ad58a72f80d86705e6f18ad57a5c7e1aa8e66c761bfbe4a78b367b7ea570a" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/MANIFEST.json", + "path": "source/early-cut58-independent-review/MANIFEST.json", + "sha256": "5b2033b3223e4a3b5c580aac854ae9654d392dc86edfe8743f2f76fb26487e18" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/REVIEW.md", + "path": "source/early-cut58-independent-review/REVIEW.md", + "sha256": "2890cbaa950c9bed28dfb7f375e9fe3d0c300a81eb337be43bb5488f3d822b55" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/SOURCE-PINS.json", + "path": "source/early-cut58-independent-review/SOURCE-PINS.json", + "sha256": "d5187158f6d6016e39b338b5ac4df616275bbf264672d5611f9b0ced76d670d3" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/VALIDATION.json", + "path": "source/early-cut58-independent-review/VALIDATION.json", + "sha256": "68730984544922ed03b17377219f355a7f4fb3361ab649c64ec07542996d86d5" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/audit_cut58.py", + "path": "source/early-cut58-independent-review/audit_cut58.py", + "sha256": "dded71129aa71f5133e3410df76c088ff478312d903b1baa817aad79541b32b6" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-independent-review/validate_review.py", + "path": "source/early-cut58-independent-review/validate_review.py", + "sha256": "36dbef6426fc9a60eb9f22eb9367feb6fdbf38cd463aef04079c4877026d121e" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/CUT58.json", + "path": "source/early-cut58-planning/CUT58.json.gz", + "sha256": "52011fdf490b90332a1651e66aa62741fe11da88a76a433fddc8ca413c68c800" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/HANDOFF.md", + "path": "source/early-cut58-planning/HANDOFF.md", + "sha256": "31da85394448775676ded8fabbf6ce2c894da9eb0d0e799129e42710ca91d29c" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/MANIFEST.json", + "path": "source/early-cut58-planning/MANIFEST.json", + "sha256": "2b5df5dc85e4799116177fac51ffc801357c243189b80563891cb534d1ce6a12" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/PROOF.md", + "path": "source/early-cut58-planning/PROOF.md", + "sha256": "96372d990703d9775eda33d6b9d47c915f8c5b94b7c3d5c4fd82278fd0ecf2f3" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/VALIDATION.md", + "path": "source/early-cut58-planning/VALIDATION.md", + "sha256": "2d33306afb4fcac0d7af57e492f89ccf33fea74d022d1788970cd116130080aa" + }, + { + "kind": "unchanged frozen planning appendix", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/cut58.py", + "path": "source/early-cut58-planning/cut58.py", + "sha256": "0df94525632944ef6b4441159d481317fa7f4bcaf9c8b121d73ae06c545b0b02" + }, + { + "kind": "deterministic lossless JSON transport", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/folded-fusion/SIMPLIFIED-FUSIONS.json", + "path": "source/folded-fusion/SIMPLIFIED-FUSIONS.json.gz", + "sha256": "7780976645e1aa1e4858b4c109b440faed0327a76cfa51fe58d049f6e5a07276" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/fusion-audit/audit_fusions.py", + "path": "source/fusion-audit/audit_fusions.py", + "sha256": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/joint-native/joint_coefficient_gate.py", + "path": "source/joint-native/joint_coefficient_gate.py", + "sha256": "e6ff6f323edd360efa3776a381a97cb7202b79aa198e804c9165310e03e83f45" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/joint-native/literal_inverse_binding.py", + "path": "source/joint-native/literal_inverse_binding.py", + "sha256": "74bdbc9c35db4153e00ed15c8d9df27b63e1c50cd76fcd33f987f3f97d412d96" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/native-frames/EVEN-PARITY-SOURCE.json", + "path": "source/native-frames/EVEN-PARITY-SOURCE.json", + "sha256": "dbeea9cb1abe6fff72cc98e98d9f70eed578d5094cf5f310ed7c500e26af3f3c" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/native-frames/conjugated_reflection.py", + "path": "source/native-frames/conjugated_reflection.py", + "sha256": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/native-frames/even_parity_source.py", + "path": "source/native-frames/even_parity_source.py", + "sha256": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/native-frames/lifted_algebra.py", + "path": "source/native-frames/lifted_algebra.py", + "sha256": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/native-frames/native_model.py", + "path": "source/native-frames/native_model.py", + "sha256": "b4291b2868f91f6e77058e58e936b2efe965a9d9ae58095745fa2dad8c1d5c68" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/native-frames/orthogonal_source_normalizer.py", + "path": "source/native-frames/orthogonal_source_normalizer.py", + "sha256": "c6373762bd15763625cc9237bb280a5e26ab8e53d6bfb034474f068b1525e6fa" + }, + { + "kind": "only two source hash guards adapted", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/local_block.py", + "path": "source/portable/local_block.py", + "sha256": "1dbbe94d0652e46cc29ccec1e106468f9fbb5b739f4689bb073a1e35c0fabf1c" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/root-chronology/quadratic_charts.py", + "path": "source/root-chronology/quadratic_charts.py", + "sha256": "de2a36f6a6b567360c90477b58da44e2f1b618fd006d058ab1ea04e983952c3f" + }, + { + "kind": "deterministic lossless JSON transport", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "path": "source/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json.gz", + "sha256": "ee1b8e64355381f4347c28b6a741e25b00bec83182357896cd803eb3a525aaf0" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/MANIFEST.json", + "path": "source/two-site-continuation/MANIFEST.json", + "sha256": "44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da" + }, + { + "kind": "unchanged frozen source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/two-site-independent-audit/audit_two_sites.py", + "path": "source/two-site-independent-audit/audit_two_sites.py", + "sha256": "a20cb5bf3577e508e112abe76bf9177a1c3ec7dc397ab74eef37c05de23eb9c9" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/vendor/clifford_exact.py", + "path": "source/vendor/clifford_exact.py", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/vendor/credits/NOTICE.md", + "path": "source/vendor/credits/NOTICE.md", + "sha256": "538e7634331d7e24791be08dedd737bf458f35a3b46ce651e6aacd905f3dee6e" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/vendor/credits/PR533-NOTICE.md", + "path": "source/vendor/credits/PR533-NOTICE.md", + "sha256": "2c1961a07b0976e29e8e6f4da14a9aaeb2f961a3a78d842488065aa433fa2f98" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/vendor/credits/vendor/pr531/NOTICE.md", + "path": "source/vendor/credits/vendor/pr531/NOTICE.md", + "sha256": "a92f49c5ced455160fbedcc8954e3c9255e3605e88ad12ae5a84f1c4302986f1" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/vendor/credits/vendor/pr531/SOURCES.json", + "path": "source/vendor/credits/vendor/pr531/SOURCES.json", + "sha256": "9e8182e6e659f4671fe0873e324b622cc871df7344157093df40476c8687be5f" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/vendor/credits/vendor/pr531/inputs/PR523-ANCESTRY.json", + "path": "source/vendor/credits/vendor/pr531/inputs/PR523-ANCESTRY.json", + "sha256": "0bfce40d86c849f18e8872ee9e8462b0a69a34ed04e01e942a6614645f686f4b" + }, + { + "kind": "unchanged source", + "origin": "/Users/ross/git/math/worktrees/caller-publication-two-site-20261019T1133Z/research/two-site-caller-fusion/source/vendor/full_stabilizer_bound.py", + "path": "source/vendor/full_stabilizer_bound.py", + "sha256": "f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75" + } + ], + "freezes": [ + { + "complete": true, + "file_map": { + "ALL-Q-TAIL-LEMMA.md": "source/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "HANDOFF.md": "source/coupled-tail-escape/HANDOFF.md", + "LOCAL-BLOCK.json": "source/coupled-tail-escape/LOCAL-BLOCK.json", + "PROOF.md": "source/coupled-tail-escape/PROOF.md", + "Q3-LOCAL-BLOCK.json": "source/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "VALIDATION.json": "source/coupled-tail-escape/VALIDATION.json", + "local_block.py": "original/coupled-tail-escape/local_block.py", + "q3_tail.py": "source/coupled-tail-escape/q3_tail.py" + }, + "manifest": "source/coupled-tail-escape/MANIFEST.json", + "sha256": "f3c5b9829e61866988b0843e5bcb637fb0ae37434e2f8e6ef74bdeef079e126e" + }, + { + "complete": true, + "file_map": { + "AUDIT.json": "source/coupled-tail-independent-review/AUDIT.json", + "HANDOFF.md": "source/coupled-tail-independent-review/HANDOFF.md", + "REVIEW.md": "source/coupled-tail-independent-review/REVIEW.md", + "SOURCE-PINS.json": "source/coupled-tail-independent-review/SOURCE-PINS.json", + "VALIDATION.json": "source/coupled-tail-independent-review/VALIDATION.json", + "audit_tail.py": "source/coupled-tail-independent-review/audit_tail.py", + "validate_review.py": "source/coupled-tail-independent-review/validate_review.py" + }, + "manifest": "source/coupled-tail-independent-review/MANIFEST.json", + "sha256": "db91e3ac03e43cb848b7ca6fb6ca314755573142227e330f2f0293011501f8dd" + }, + { + "complete": true, + "file_map": { + "CUT58.json": "source/early-cut58-planning/CUT58.json", + "HANDOFF.md": "source/early-cut58-planning/HANDOFF.md", + "PROOF.md": "source/early-cut58-planning/PROOF.md", + "VALIDATION.md": "source/early-cut58-planning/VALIDATION.md", + "cut58.py": "source/early-cut58-planning/cut58.py" + }, + "manifest": "source/early-cut58-planning/MANIFEST.json", + "sha256": "2b5df5dc85e4799116177fac51ffc801357c243189b80563891cb534d1ce6a12" + }, + { + "complete": true, + "file_map": { + "AUDIT.json": "source/early-cut58-independent-review/AUDIT.json", + "HANDOFF.md": "source/early-cut58-independent-review/HANDOFF.md", + "REVIEW.md": "source/early-cut58-independent-review/REVIEW.md", + "SOURCE-PINS.json": "source/early-cut58-independent-review/SOURCE-PINS.json", + "VALIDATION.json": "source/early-cut58-independent-review/VALIDATION.json", + "audit_cut58.py": "source/early-cut58-independent-review/audit_cut58.py", + "validate_review.py": "source/early-cut58-independent-review/validate_review.py" + }, + "manifest": "source/early-cut58-independent-review/MANIFEST.json", + "sha256": "5b2033b3223e4a3b5c580aac854ae9654d392dc86edfe8743f2f76fb26487e18" + } + ], + "independent_external_sources": [ + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-changed-endpoints-20261019T0153Z/stabilizer-escape/full_stabilizer_bound.py", + "relative": "source/vendor/full_stabilizer_bound.py", + "sha256": "f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/free_ops.py", + "relative": "source/caller/free_ops.py", + "sha256": "5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_family.py", + "relative": "source/caller/nested_family.py", + "sha256": "88f425d12baf8a4f849cccd24605f21680eb8ce8d199054db4b4e7734eca72b6" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_prefix.py", + "relative": "source/caller/nested_prefix.py", + "sha256": "9ec10cb0243c0c829475ad7290f4953cdff27cb0f90f70b687c4bbee98af676b" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/pivot_plane_probe.py", + "relative": "source/caller/pivot_plane_probe.py", + "sha256": "fcd0a4a0a301c4fddfb8b132894e8b5b751b08cacdb0e5ed41e80b0d4903d499" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/conjugated_reflection.py", + "relative": "source/native-frames/conjugated_reflection.py", + "sha256": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/even_parity_source.py", + "relative": "source/native-frames/even_parity_source.py", + "sha256": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/lifted_algebra.py", + "relative": "source/native-frames/lifted_algebra.py", + "sha256": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/native_model.py", + "relative": "original/native-frames/native_model.py", + "sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/orthogonal_source_normalizer.py", + "relative": "source/native-frames/orthogonal_source_normalizer.py", + "sha256": "c6373762bd15763625cc9237bb280a5e26ab8e53d6bfb034474f068b1525e6fa" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/root-chronology/quadratic_charts.py", + "relative": "source/root-chronology/quadratic_charts.py", + "sha256": "de2a36f6a6b567360c90477b58da44e2f1b618fd006d058ab1ea04e983952c3f" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/joint_algebra.py", + "relative": "original/caller-joint/joint_algebra.py", + "sha256": "5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/MANIFEST.json", + "relative": "original/dependencies/ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3-MANIFEST.json", + "sha256": "ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/audit_gates.py", + "relative": "source/completed-gates-review/audit_gates.py", + "sha256": "051ba51e02e9f143b8a8bea0b91d69e7e1e32edf0f98d2d40db290f02043d460" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "relative": "source/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "sha256": "f3b8c42c0fe7d5c5a542e38fe0b3d14601c170959e18a45b60f26128703560b2" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/HANDOFF.md", + "relative": "source/coupled-tail-escape/HANDOFF.md", + "sha256": "25aa7a2e7408cca9402e34ba809bb8a487c79a4d012d5b8c4700dc81502741aa" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/LOCAL-BLOCK.json", + "relative": "source/coupled-tail-escape/LOCAL-BLOCK.json", + "sha256": "aad2ee156a1f1e028b4e0329b4af1c38285f0be90c27da720d4bb71885c29294" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/MANIFEST.json", + "relative": "source/coupled-tail-escape/MANIFEST.json", + "sha256": "f3c5b9829e61866988b0843e5bcb637fb0ae37434e2f8e6ef74bdeef079e126e" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/PROOF.md", + "relative": "source/coupled-tail-escape/PROOF.md", + "sha256": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "relative": "source/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "sha256": "3ad4d1bb498cd67588af0c0558c32b441b35dac56b9f3bb7001ae317fadc28fa" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/VALIDATION.json", + "relative": "source/coupled-tail-escape/VALIDATION.json", + "sha256": "e1b6ccf248fa65973645d41b34a7119f07df5d70e73dcfb36cf335ff2ec45e31" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/local_block.py", + "relative": "original/coupled-tail-escape/local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/q3_tail.py", + "relative": "source/coupled-tail-escape/q3_tail.py", + "sha256": "8fac76761684d17231ae4d766b7d9464a4ff5675e99038dfbd839bb8cf0d1082" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/audit_fusions.py", + "relative": "source/fusion-audit/audit_fusions.py", + "sha256": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/joint_coefficient_gate.py", + "relative": "original/joint-native/joint_coefficient_gate.py", + "sha256": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/literal_inverse_binding.py", + "relative": "source/joint-native/literal_inverse_binding.py", + "sha256": "74bdbc9c35db4153e00ed15c8d9df27b63e1c50cd76fcd33f987f3f97d412d96" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/MANIFEST.json", + "relative": "original/dependencies/e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c-MANIFEST.json", + "sha256": "e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/PROOF.md", + "relative": "original/dependencies/0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232-PROOF.md", + "sha256": "0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "relative": "source/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "sha256": "30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/MANIFEST.json", + "relative": "source/two-site-continuation/MANIFEST.json", + "sha256": "44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/AUDIT.json", + "relative": "original/dependencies/e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7-AUDIT.json", + "sha256": "e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7" + }, + { + "original": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/MANIFEST.json", + "relative": "original/dependencies/4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e-MANIFEST.json", + "sha256": "4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e" + }, + { + "original": "/Users/ross/git/math/integer-mult-bounds/research/kernel92-frame-composition/vendor/pr531/vendor/clifford/clifford_exact.py", + "relative": "source/vendor/clifford_exact.py", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + } + ], + "original_read_aliases": {}, + "path_adaptations": [ + { + "adapted_sha256": "6fe4de627845a36e2e08723e705daa86959846fe4ea577e94fca233829d7d5c9", + "change": "Only OLD source location and the native_model source hash are rebound to the retained path-adapted implementation; original versions and hashes remain retained. No arithmetic, assertion or coverage change.", + "function_source_sha256": { + "Word": "088ab7fad576e0516a1134852fd01e9ad7dcd0892b33d43e0b9c62157fea1af1", + "add": "fe99892249dc4ee8f13415f9ac728c9c048aa18bd2ad52a8c7a3e2ada7a3b2b7", + "adjoint": "b3fc9172cdeeaa3e02435336c3a2ea1aab0ba5580a5e72535338a76f4dc35af2", + "cproduct": "e7d0bab6c2890b1674dc5de2ea474127fea0ca487b912db1bae6343a667d6455", + "eye": "1dae1553144b119de3f4a3e862c0efb44ff8cd89c6bfbe34d94b3dde6b67e64f", + "j_operator": "90a8dd0450958deac8b6fabe8955bc0d7da6a3703cc7d445fa225e4357ec65f7", + "mm": "784b432f24287a6a04beb0fa7a6a238fa52fc392f8383979ef1658d19cf33a38", + "mono": "206074eb3dd1909175018ea7ca228fc6b285762353784c5d604e07bebb036456", + "n_pair": "a658d0dc010cc429e69e557c0a7158701570730688ad5dd5deca2eb10a653c0b", + "need": "8dafe5ffff3250938d1e92c5d908bb777702c8e47f59a9926fe5eb00dc669e9c", + "normalize": "4db8cfdb57236c7dc09c50880500ab83941082ce2007e4e78dc57c3e4bc94453", + "plane_swap": "9fbaaddb41b5665b83d986b94e13277b32239a750660770b47927af0ef32c4c1", + "prefix": "988e8a42f0807f8eb3be00fb6fdaba1f3a185b6a84f07e68e10b7e27d5f37b39", + "product": "ab4ff88a16f59815a2dde841bd2aa3d0b2cd71dc374b3f68250d8ac2dade5d41", + "rotate": "caee022608323985f3d2bc4c2fa349f70f27620000ce8123cc3a6945501253a6", + "scale": "a17e0daf2ef4b5bce136caba504a73c58553c76fadbd1a3f2f5710b189d26adc", + "serial": "790d482bfd00220fdbb5d1de34eb56f4158dc85c5105580edb927c0901e9e767", + "sm": "a618cb533f67ffb93468a7064d002be6ff0590af7b7ba8c55bdf4d6feccb83bf", + "summ": "4de74a52410a77b72d6495d6706b176442ec04128fcc14c52afa5e2b2980383a" + }, + "original": "original/caller-joint/joint_algebra.py", + "original_sha256": "5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232", + "path": "source/caller-joint/joint_algebra.py", + "via": "PR4080 exact7b4594222a4b3b97404f9ef1d0b03b71ae2c6768" + }, + { + "adapted_sha256": "b4291b2868f91f6e77058e58e936b2efe965a9d9ae58095745fa2dad8c1d5c68", + "change": "Three source locations only: package-local BASE and immutable CE/BOUND locations. No arithmetic, assertions, constants or coverage changed.", + "function_source_sha256": { + "Model": "1d54ef2a157e5b5e0d1f2f0880af56b2d85881b8f6c4e2e9d0231635bab4c8a4", + "conjugated_pauli": "0d19561c7bc2ad3c519b672a361ff31239083d90fe4dc2fd6475fb48e4eb044a", + "load": "2a90d5aa0e6b19126e7693d24c353a16243b8671ac11936eadf7b18aa73e0af1", + "mul": "960c407e8509704669cfe33eb41f8dadbd00edd92d975e199ec5d3118476114b", + "need": "a8ebc8f5f3a23b40b0c85a9adaa7e6f5bb29fcb122a2f824dc2f25deed384a8a", + "pauli": "b0f355041fcaa099b7a9f3925edb18d095316dc55ac46b02bfba34244c3c6886", + "phase": "1409aec46cb93fcc1da21c9ad35f3c2bc7cd187ba0217ac091f426a3def3109e", + "same": "c19e00a4fe81b356adbaf964f41f2b9ba7afdcb3a61d3f88487564ff68ff113f", + "symplectic_defect_rank": "cdfaafd5c881fbaeb71531959e7fe41a6a7db7390f3134185b6ae8966356be14" + }, + "original": "original/native-frames/native_model.py", + "original_sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3", + "path": "source/native-frames/native_model.py", + "via": "PR4080 exact7b4594222a4b3b97404f9ef1d0b03b71ae2c6768" + }, + { + "adapted_sha256": "30b9ad84008ff6df9597bb95964174745a6cd978b9bfde968e18b8db396416b8", + "change": "Exactly four consumed compile/embedding functions copied verbatim. Only unrelated imports and unused cold-producer functions are omitted.", + "function_source_sha256": { + "compile_literal": "45e28e5ab777566a7c6625860726aa6c14bab725f0494da5545625bb1ac87609", + "compile_monomial": "9d90ab6cd3555ce7ea816a18adc40f7dac8c31298866c0b7d0cf804ad3c5f0fa", + "compile_recipe": "5ba8984cc42680054a8cb5f4175fb314d2fc097a88665fe4073c32398f11fb7f", + "embedding_circuit": "17c7fa61c90b82413045040760b425c2c18662ff75b825a22c4a52e7ef5cda03" + }, + "original": "original/caller-joint/validate_recipe_links.py", + "original_sha256": "7457b3672d5a73c584d2073b5d3312e6429fd3f433151f15f8f07da33aa4c59a", + "path": "source/caller-joint/validate_recipe_links.py", + "via": "PR4080 exact7b4594222a4b3b97404f9ef1d0b03b71ae2c6768" + }, + { + "change": "Only joint_algebra and pure validate_recipe_links source digest guards updated to exact executed portable bytes; no function, domain or assertion change.", + "function_source_sha256": { + "extra": "0a581e6484b48e7beed23dc43dad9c275863b80e5256dd72136156cfdb3dfa06", + "main": "847c0c0199a560800e15a5034ce581a60fd5b4d84cf87fd93a922aea4a68b4c3", + "produce": "76eabc3903c72d5ed75bc7f28199be3391976adcdf1c12fd204ed95cd1cdd065" + }, + "original": "original/coupled-tail-escape/local_block.py", + "path": "source/portable/local_block.py" + }, + { + "adapted_sha256": "e6ff6f323edd360efa3776a381a97cb7202b79aa198e804c9165310e03e83f45", + "change": "Only source-directory resolution and expected hashes of the already documented path-adapted sources change. Original mathematical source and original hashes remain retained.", + "function_source_sha256": { + "all_f_phase": "1d1630afc91645fdc0de46cb68d92801342872fa099f1d2f7c8bd03664de7172", + "expected_gamma": "ed04d9fa72b60b844f0e9a1c569518a3786ff9a28325c5350af8de1c8131b0e8", + "formal_core": "8fd8fbad1ce8875985ae07b95914135db1caa1175b4837b0ba750da22110ebfd", + "left_gamma": "db12cd2faf9e5ed3140c70df6db5853c37141ad2affc9913d40244f8794e22b3", + "operators": "8a80f5fcaf0dac85bd95a63a82b9ef9de3f3c38a4203ea01edda7a8de771977b", + "run": "3cef3955f3dcdb4c9d1c3c2f894207d0687e645a4e7a927ce2a25c99fd784b6d" + }, + "original": "original/joint-native/joint_coefficient_gate.py", + "original_sha256": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07", + "path": "source/joint-native/joint_coefficient_gate.py", + "via": "PR4080 exact7b4594222a4b3b97404f9ef1d0b03b71ae2c6768" + } + ], + "schema_version": 1, + "scope": "Exact arbitrary-current-input q2/q3 fixed late-tail support floors and independently reviewed conditional all-q tail lemma. No new caller or kappa. Conditional actual full-scan budget and equal-volume proper-child limiting moment corollary; no numerical planning claim. A separately reviewed exact q2 cut58 next-interface appendix, prefix54/local22 and rank-neutral rewrite22, targetlocal16 OPEN; no native saving or new selected schema." +} diff --git a/research/coupled-tail-support-floor/FULL-SCAN-COROLLARY.md b/research/coupled-tail-support-floor/FULL-SCAN-COROLLARY.md new file mode 100644 index 0000000000..67ecd42a59 --- /dev/null +++ b/research/coupled-tail-support-floor/FULL-SCAN-COROLLARY.md @@ -0,0 +1,16 @@ +# Conditional full-scan and native-moment corollary + +The finite-f support statement is R_f+S_f≥nf, n=6/8. It is not a pointwise native-only floor. If S_f=o(f), it implies liminf R_f/f≥n. The unchanged prefix then prevents a fixed asymptotic native mass deficit below stock at this exact entrance. + +Assume every counted elementary binary ADD/COPY accumulation costs actual work at least c V_f for fixed c>0 at the source's whole-bank volume, and the complete available overhead is o(V_f f). Then T_scan≥c V_f S_f forces S_f=o(f). Conversely, a fixed native shortfall R_f≤(n−δ)f forces S_f≥δf and T_scan=Ω(V_f f). It cannot fit O(V_f f^λ P(f)) with λ<1 and P(f)=o(f^(1−λ)). An unrestricted precision/field/controller multiplier cannot be discarded. A formal full-field ADD list does not price a different partial-volume or fused-scan implementation. + +Under the additional equal-volume full-bank child normalization, put p=1−b∈(0,1), parent arity m f with m=2n, and include every native child. Subadditivity gives Σx_i^p≥(Σx_i)^p, so the limiting cleanup moment is at least (n/m)^p=(1/2)^p. The freshly recounted fixed prefixes have33 rank2f queries for q2 and60 for q3. Their limiting complete native moments satisfy + + q2: 33(1/6)^p+(1/2)^p > 33/6+1/2 = 6, + q3: 60(1/8)^p+(1/2)^p > 60/8+1/2 = 8. + +Every displayed fraction lies in(0,1), so the strict inequalities follow for every06 and60(1/8)^(1−b)+(1/2)^(1−b)>8 for0>i)&1)<>j&1:circ.extend([('C',1<>i)&1)for i in range(m))), + ('phase',(g.constant+g.global_phase)%4)]) + same(compile_literal(circ,m), op, 'actual source unary exact Gaussian phase') + need(extra(e) == tuple(g.global_phase*(1-r)%4 for r in range(4)), 'actual all-f source tensor phase correction') + if e['kind'] == 'NATIVE': + key=e['native_recipe_id']; rec=f['native_recipe_pool'][key] + local_n=len(rec['one_coordinate_tableau'])//2 + selected=compile_recipe(rec['selected_native_recipe'],local_n) + full=compile_literal(embedding_circuit(selected.circuit,e['recipe_embedding'],m),m) + same(full,op,'every used forward/inverse selected source recipe and embedding') + need(tuple(rec['extra_global_phase_exponent_by_f_mod4'])==extra(e),'selected source recipe tensor-phase correction') + used_pool[key]=rec + compiled[(direction,e['label'])] = op + M = qc.replay(suffix,n,m); Mi = qc.replay(inverse,n,m) + need(mm(M,Mi) == mm(Mi,M) == eye(n,m), 'complete serialized suffix inverse both orders on every arbitrary input') + A = qc.decode(next(e for e in suffix if e['label']=='final independent a J query'),m) + W = qc.decode(next(e for e in suffix if e['label']=='dual Q1 recovery'),m) + reverse_events = [e for e in suffix if e['label'] in ('w reverse2 ADDRESS','w reverse2 selected native2','final extraction D_final inverse sign')] + RR = qc.identity(m) + for e in reverse_events:RR = qc.decode(e,m) @ RR + F5 = prefix(m,5); Q = j_operator(m).inv() @ plane_swap(m,0,1) @ n_pair(m,0).inv() @ j_operator(m) @ j_operator(m) + need(mono(A) == mono(F5@j_operator(m)@F5.inv()), 'actual A definition') + need(mono(W) == mono(F5@Q.inv()@F5.inv()), 'actual W definition') + minus = qc.Mono(qc.identity(m).rows,0,(0,)*m,(0,)*m,0,2) + need(mono(RR) == mono(minus@n_pair(m,5)@plane_swap(m,0,5)), 'actual reverse-current operator and minus phase') + I = mono(qc.identity(m)); Z = {}; IW = add(I,scale(mono(W),-1)) + expected = [[{}for _ in range(n)]for _ in range(n)] + expected[0][0] = mono(A) + expected[1][0] = scale(mono(W@A),-1); expected[1][2] = IW; expected[1][3] = mono(W@RR); expected[1][4] = IW + expected[2][0] = scale(mono(A),-1); expected[2][2] = I + expected[3][0] = scale(mono(A@W@A),-1); expected[3][1] = mono(A) + expected[3][2] = product(mono(A),IW) + expected[3][3] = product(mono(A),product(scale(IW,-1),mono(RR))) + expected[3][4] = scale(mono(A@W),-1) + expected[4][4] = I; expected[5][5] = I + need(M == expected, 'literal entire local block equals six-by-six symbolic operator target') + need(len(M[1][3]) == 1 and qc.rank(next(iter(M[1][3])).polar()) == 6, 'single actual arity-six input3/output1 coefficient') + # Independently lower that exact coefficient to certify its uniform row + # support. This recipe is a witness, not a proposed complete cleanup. + C = ce.ident(m); ce_extra = [0]*4 + for e in reverse_events + [next(e for e in suffix if e['label']=='dual Q1 recovery')]: + C = C.then(compile_literal(e['one_coordinate_literal_circuit'],m)) + ce_extra = [(x+y)%4 for x,y in zip(ce_extra,extra(e))] + need(ce.rank(x for x,z,p in C.tab[m:]) == 6, 'coefficient physical B-rank6') + recipe, lowered = ce.lower_child(C) + need(recipe['rank'] == 6, 'explicit selected Fourier rank for support witness') + same(lowered,C,'support-witness selected child exact Gaussian phase') + same(compile_recipe(recipe,m),C,'independent support-witness recipe recompilation') + before = sum(e['rank_per_f']for e in E[:cut]if e['kind']=='NATIVE') + local_hist = Counter(e['rank_per_f']for e in suffix if e['kind']=='NATIVE') + local = sum(r*c for r,c in local_hist.items()) + need(before == 66 and local == 10 and before+local == f['native_mass'] == 76, 'complete unchanged-prefix plus local-native bill') + need(f['stock'] == 72 and f['stock']-before == 6, 'exact below-stock local threshold') + mutant = [[dict(v) for v in row] for row in M];mutant[1][3] = {} + need(mutant != M, 'discarding arbitrary incoming bank3 changes an original coefficient') + omitted_reverse = [e for e in suffix if e['label'] != 'w reverse2 selected native2'] + wrong = qc.replay(omitted_reverse,n,m) + need(wrong != M and len(wrong[1][3]) == 1, 'omitting the reverse-current native query changes the arbitrary-input block') + need(qc.rank(next(iter(wrong[1][3])).polar()) == 4, 'omitted reverse query spuriously lowers the witness rank') + need(not any(e['kind']=='SCALE'for e in suffix),'actual suffix needs no hidden SCALE cancellation') + return dict(status='PASS_EXACT_COUPLED_CLEANUP_BLOCK_AND_SUPPORT_BOUNDARY', no_new_kappa=True, + producer_sha256=hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + source_pins=[dict(path=str(RUNDIR/p),sha256=h)for p,h in PINS.items()], + q=2,banks=n,ambient_arity=m,cut_event_ordinal=cut,cut_label=E[cut]['label'], + unchanged_prefix_native_mass=before,local_native_histogram=dict(sorted(local_hist.items())),local_native_mass=local, + complete_mass=76,endpoint_stock=72,strict_improvement_requires_local_native_mass_less_than=6, + events=suffix,inverse_events=inverse,native_recipe_pool=used_pool, + all_original_local_columns=n,literal_inverse_orders=2, + complete_local_matrix=sm(M),complete_local_inverse=sm(Mi), + operators=dict(A=A.data(),W=W.data(),R=RR.data()), + unavoidable_entry=dict(row=1,column=3,operator=serial(M[1][3]),native_arity_per_f=6, + one_coordinate_tableau=C.tab,one_coordinate_literal_circuit=C.circuit, + extra_global_phase_exponent_by_f_mod4=ce_extra, + support_witness_selected_native_recipe=recipe, + role='Only certifies row support of an entry; not an executed new cleanup/native invoice.'), + all_f_support_inequality='sum_native_arities_R_f + binary_fullbank_ADD_count_S_f >=6f', + constant_scan_consequence='For this exact local interface, bounded-in-f ADD count implies liminf R_f/f>=6; unchanged prefix66f then gives asymptotic total>=72f.', + finite_f_scope='R_f>=6f-S_f, not a pointwise native-only6f lower bound when S_f is positive.', + non_native_event_counts=dict(Counter(e['kind']for e in suffix if e['kind']!='NATIVE')), + negative_controls=['Discarding arbitrary incoming bank3 deletes a nonzero arity6 coefficient and is rejected.', + 'Omitting reverse-current N5 changes the exact matrix and spuriously lowers entry rank6 to4; rejected.'], + limits=['Any replacement must realize this exact current-input matrix on all arbitrary banks, not only a clean/correlated subspace.', + 'Arbitrary extra dirty registers restored are permitted by the support proof; their identity coefficient rows start with support1.', + 'Native rank mass lower bound uses monomial adapters/scalars of row support1 and binary ADD/COPY gates, counting every support-doubling scan.', + 'Growing O(f) ADD counts, partial/fused scan machine models, changed input/output gauges or an earlier fresh/source/coupled cut require separate analysis.', + 'No expensive enumeration, new full cleanup factorization, supplier, owner, BIT, recurrence or kappa admission.']) + + +def main(): + p = argparse.ArgumentParser();p.add_argument('--write',action='store_true');a=p.parse_args() + result=json.loads(json.dumps(produce()));out=HERE/'LOCAL-BLOCK.json' + if a.write:out.write_text(json.dumps(result,indent=2,sort_keys=True)+'\n') + else:need(json.loads(out.read_text())==result,'saved coupled local block') + print(result['status'],'fixed66 + local10; unavoidable entry6f; no bounded-scan local bill<6f') + + +if __name__=='__main__':main() diff --git a/research/coupled-tail-support-floor/original/dependencies/0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232-PROOF.md b/research/coupled-tail-support-floor/original/dependencies/0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232-PROOF.md new file mode 100644 index 0000000000..0c39c1a491 --- /dev/null +++ b/research/coupled-tail-support-floor/original/dependencies/0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232-PROOF.md @@ -0,0 +1,298 @@ +# Charged q2/q3 planning thresholds and the final-a full-scan gate + +This is a planning calculation and a conditional transfer obstruction. It does +not construct a favorable caller or BIT supplier and does not claim a new κ. +Scientific pin: `20ecf2891d80b5acf18d980b2164fb44ea7faa90`; inspected canonical +main: `bb4bccbf42844d2801487450727c2f63e10d1d0f`. Only this directory is owned. + +## 1. Actual inputs and recurrence convention + +The admitted, independently reviewed two-site words have the complete actual +event histograms + +| q | n | ambient m | H2 | H4 | native mass | output stock mass | +|---|---:|---:|---:|---:|---:|---:| +| 2 | 6 | 12 | 36 | 1 | 76 | 72 | +| 3 | 8 | 16 | 64 | 1 | 132 | 128 | + +The authenticated admitted artifact has SHA256 +`30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f`. +`screen.py` recounts positive `rank_per_f` entries from the complete emitted +events rather than accepting the declared histogram alone. The local proof +and independent review cover every original arbitrary field, both pivots, +Gaussian f residues, selected native recipes and the serialized inverse. +They do not admit a favorable recursive multiplication supplier. + +Use the explicitly stipulated equal-volume, full-bank normalization: m=2n, +each declared native call has the same row-volume share, the normalized stock +is W=n, and every child rank lies strictly between 0 and m. The native test is + + M_b(H) = sum_r H_r (r/m)^(1-b) < n, 0 n. + +They fail (1) for every positive b, even with every other cost omitted. + +## 2. Minimum net saving and useful integral targets + +Write mass(H)=sum_r r H_r and + + P_b(H) = sum_r r H_r [(m/r)^b - 1]. + +Multiplying (1) by m gives the exact equivalent condition + + D(H) := mn-mass(H) > P_b(H). (3) + +If S is the net native rank saving from the admitted mass mn+4, (3) is + + S > 4 + P_b(H). (4) + +All new native/recursive children belong in H before evaluating this. Because +P_b(H)>0 for a nonempty proper-child profile, S must exceed four. Thus at +least five integer arity units are necessary if arbitrary integer ranks are +available. In an all-even-rank construction at least six are necessary. +The mass-only lower bound five is not sufficient for an arbitrary histogram. + +For the concrete target H4=1, H2=n²-d, (1) is exactly + + d > n² - n^(2-b) + 2^(1-b). (5) + +The following are outward enclosures of the right side; each displayed value +has an upper endpoint less than its displayed value plus 10^-12. + +| b | q2 threshold d > | q3 threshold d > | smallest integral d | +|---|---:|---:|---:| +| .002 | 2.126005140904 | 2.262845134156 | 3 | +| .003 | 2.188836306167 | 2.393855465354 | 3 | +| .005 | 2.314156853774 | 2.655054515082 | 3 | + +Consequently the final, fully counted native targets + + q2: H2=33, H4=1, mass70, stock72; + q3: H2=61, H4=1, mass126, stock128 + +pass the native-only test at all three b values. They require six net native +rank units saved from the admitted words. Alternatively deleting H4 and one +H2 gives H2=n²-1, again saves six and passes all three native-only tests. +Deleting H4 alone, or deleting only two H2 while keeping H4, is stock-neutral +and fails every b>0. No realizable changed word is supplied for any target. + +The native room remaining for additional equal-normalization recursive work +in the first target is the strict budget + + E_b < n - (n²-3)n^(b-1) - (2/n)^(1-b). (6) + +| b | q2 extra moment budget, lower bound | q3 extra moment budget, lower bound | +|---|---:|---:| +| .002 | .146188742447 | .092528373827 | +| .003 | .135922610712 | .076242210019 | +| .005 | .115335846876 | .043568833024 | + +The exact upper and lower bounds are in `SCREEN.json`. One additional full +rank-two call exhausts this saving at every target: it returns the mass to +stock and fails. At q3,b=.005 even one additional full rank-one call fails; +at q2 all three targets, and q3 at .002/.003, one such rank-one call still +passes this native test. These are sharply different overhead allowances. +An E_b contribution from COPY, a helper residual, a source adapter or a +fallback must be measured in the same units. If the changed construction +changes stock, widths, bank volumes or owner endpoints, recompute (2) from +the entire construction instead of applying this allowance. + +Fixed-count paid monomial/phase scans do not automatically add a complex +native child to H. Their ADDRESS/bit routing, arithmetic, precision and +controller costs still require the actual joint transfer. They are not free +because the native table has room or because their one-coordinate rank is zero. + +## 3. Locate the joint transfer before interpreting a target as κ + +The current selected record is PR1094, conditional κ +`836330098538459/500000000000000000 = .001672660197076918`. +It retains all-size/compiler, common-label/mutable-source, hosting, +precision/tape, analytic and BIT H1-H5 hypotheses. + +Its retained 47-row balanced outer engine sets, for effective bit saving a, +complex saving b and free eta>0, + + q=a(1-2 eta), epsilon=(1-eta)/(1+q), + κ < epsilon q, + (1-beta)b > a, + +with the other strict margins checked separately. The limiting ceiling is +a/(1+a), not a. Thus target κ=K requires a>K/(1-K) within that outer family. +The exact screens also evaluate the strict-limit planning points + + K=.002: b*=1/499; + K=.003: b*=3/997; + K=.005: b*=1/199. + +At these points both native target profiles above still pass, with dmin=3. +For H2=n²-3,H4=1 their q2/q3 extra budgets are respectively +`.146147631822/.092463165713`, `.135829854867/.076095040303`, and +`.115076756175/.043157504732`. Strict moment slack leaves a neighborhood +above each b*, but no concrete outer parameters or compatible BIT have been +admitted here. This is not a κ computation from a primitive b. + +The later capped-fusion/fine-prime ledger present on primary main uses the +different source formula + + κ = floor(F epsilon q)/F - B, + 0=.002 under +its named fixed chronology, one-unpaid-coordinate, coverage and full-progress +stock premises. No positive result from the separate partial-progress BIT +investigation is assumed. A compatible BIT must escape a named premise and +also discharge arbitrary dirt, literal integer/Boolean behavior, source and +helper restoration, integral chronological hosting, contraction, precision, +storage/tape and native-controller obligations. An unverified endpoint alone +does not discharge those contracts. + +## 4. The coupled final-a cut cannot pay for a deficit with full scans + +The newly supplied exact `../coupled-tail-escape/PROOF.md` is preserved as +`inputs/coupled-tail-PROOF.md`, authenticated at SHA256 +`5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587`; +the accompanying script and exact witness are authenticated in `SCREEN.json`. +This source fixes the q2 prefix through event68 at mass66, with H2=33. +The replacement suffix must act on all six arbitrary incoming banks, with +any extra arbitrary dirty banks restored. Its outputbank1/inputbank3 block +is a single Clifford C=WR of B-rank6f, with exact Gaussian selected-native +adapters. Therefore every row of that coefficient has 2^(6f) nonzeros. + +Let R_f be the sum of actual native arities of any replacement, and S_f the +number of scalar binary ADD/COPY accumulations. Initial coefficient rows on +all original and dirty inputs have support one. Physical monomials, scalars +and permutations do not increase the maximum support; a native rank-r child +multiplies it by at most 2^r and a binary ADD by at most two. Cancellation +cannot increase it. The required coefficient proves the pointwise inequality + + R_f + S_f >= 6f. (7) + +The local source expressly prices each counted ADD as a literal scan of the +same whole bank with V_f=2^(12f) complex payload records. More generally it +suffices that each scan touches at least c V_f records for fixed c>0 and +requires at least one elementary step per touched record. These are explicit +implementation premises. They give + + T_scan(f) >= c V_f S_f. (8) + +If R_f <= (6-delta)f for fixed delta>0, (7)-(8) give + + T_scan(f) >= c delta V_f f. + +For every fixed lambda<1 this is not O(V_f f^lambda), since after cancelling +V_f the ratio is at least c delta f^(1-lambda), which diverges. In particular +it cannot meet O(2^(12f) f^(1-b)) for any b>0. The six-unit saving target +would require local mass at most4, hence S_f>=2f and scan work at least +2 V_f f in the source's unit full-scan model. + +This argument assumes no payload value, field cardinality or precision +bound. It only uses a lower bound of one elementary step per visited record. +Greater precision cannot make that lower bound cheaper. If a claimed upper +budget is instead O(V_f f^lambda P(f)), the conclusion requires +P(f)=o(f^(1-lambda)); an unrestricted multiplier may not be dropped. For a +fixed field/precision, or uniformly subpower P(f), the exclusion follows. +No substitution of p, overflow/range estimate or practical cutoff is supplied. + +The exact retained sources phrase the root layer target as O(V d^lambda') +with lambda'<1, after their explicit log(p), compact bit, precision and outer +inequalities. They use f=floor(e/12). At a root active width e comparable to +d, f is comparable to d, and the lower bound is Omega(Vd). Before absorption, +the displayed layer estimate includes `(log p)^3`; the same comparison is +valid whenever the actual complete upper budget is o(Vd), for example when +that multiplier is subpower in d and the remaining exponent has a fixed gap +below one. This note does not independently prove the source/precision +relation for the changed caller. The unconditional statement within (7)-(8) +is the scan lower bound; its contradiction is against the specified sublinear +normalized step budget, not against a budget with arbitrary hidden factors. + +There is also a useful native/scan dichotomy. Any asserted sublinear full-scan +budget forces S_f=o(f), so (7) gives R_f>=6f-o(f). Concavity/subadditivity of +x^(1-b) then makes the limiting best possible equal-volume native moment at +least + + 33 (1/6)^(1-b) + (1/2)^(1-b) > 33/6+1/2 = 6. (9) + +Thus even a single concentrated cleanup child at the support floor cannot +make the component moment favorable. The exact positive gaps at b=.002, +.003,.005 are enclosed in `SCREEN.json`. This rules out a favorable completion +of this fixed current-input cut in the explicit full-bank scan model; it does +not prove local optimality at mass6 or10, nor a global caller obstruction. + +Changing the earlier prefix/cut, input/output gauges, output contract, native +alphabet, physical volumes, or executing partial/fused scans changes a premise +of this local gate. Those are mathematical construction obligations, not free +credits within this proof. + +## 5. Evidence and remaining obligations + +Replay with + + python3 -B /Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/screen.py + +Every rational power enclosure is certified by exact integer-power +comparisons on adjacent dyadics: for b=u/v and x=A/B, compare +`y^v B^u` with `2^(Gv) A^u`. A second finer dyadic grid is checked. Stock +neutrality and adding the omitted extra rank-two child are rejecting cost +controls. This is a small finite arithmetic certificate plus written +all-parameter inequalities (3)-(9), not formal-kernel evidence. + +No favorable word is constructed. Construction owners still owe the changed +complete arbitrary-input caller and selected native lowering. BIT owners owe +an independent compatible positive supplier. Owner/storage/rounded/machine +specialists owe chronological whole-family capacity, source windows, exact +cleanup/range/error, numerical workspace, continuation/backing and physical +execution costs. The final assembly owner owes a source-bound all-size +dispatcher and the applicable complete outer inequalities on the actual two +suppliers. None of these follows from the six-unit native planning target. + +Credit: the admitted two-site construction and independent audit retain their +predecessor attribution; the integer-width recurrence and balanced/capped +outer lineage remain with their source authors. PR3959 is Rohan Arun's +author-checked pooled R437 candidate, retaining ai-nanachi, Ali Romman, +Sagar Thakrar, mightyOil and its complex-side lineage. The new threshold +calculation and full-scan consequence were prepared with substantial OpenAI +Codex assistance. No publication action is requested or performed. diff --git a/research/coupled-tail-support-floor/original/dependencies/4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e-MANIFEST.json b/research/coupled-tail-support-floor/original/dependencies/4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e-MANIFEST.json new file mode 100644 index 0000000000..cba1ac036a --- /dev/null +++ b/research/coupled-tail-support-floor/original/dependencies/4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e-MANIFEST.json @@ -0,0 +1,178 @@ +{ + "external_dependencies": [ + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-changed-endpoints-20261019T0153Z/stabilizer-escape/full_stabilizer_bound.py", + "sha256": "f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/free_ops.py", + "sha256": "5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_family.py", + "sha256": "88f425d12baf8a4f849cccd24605f21680eb8ce8d199054db4b4e7734eca72b6" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_prefix.py", + "sha256": "9ec10cb0243c0c829475ad7290f4953cdff27cb0f90f70b687c4bbee98af676b" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/pivot_plane_probe.py", + "sha256": "fcd0a4a0a301c4fddfb8b132894e8b5b751b08cacdb0e5ed41e80b0d4903d499" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/conjugated_reflection.py", + "sha256": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/even_parity_source.py", + "sha256": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/lifted_algebra.py", + "sha256": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/native_model.py", + "sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/orthogonal_source_normalizer.py", + "sha256": "c6373762bd15763625cc9237bb280a5e26ab8e53d6bfb034474f068b1525e6fa" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/root-chronology/quadratic_charts.py", + "sha256": "de2a36f6a6b567360c90477b58da44e2f1b618fd006d058ab1ea04e983952c3f" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/joint_algebra.py", + "sha256": "5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/joint_prefix.py", + "sha256": "a4dcaa1ad05ef8dbba60ddd47b3ad44a3095ebb5fd31f6adfb935a7b1c46a2c7" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/literal_events.py", + "sha256": "cb8e0bb5bc0624efbe534df05c9ebb8b2ed3492059886206cea2d83ffec27536" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/validate_recipe_links.py", + "sha256": "7457b3672d5a73c584d2073b5d3312e6429fd3f433151f15f8f07da33aa4c59a" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/MANIFEST.json", + "sha256": "75f0679178d18d29891b7de962823ca54b67c15184bfcbf9739896e72fcaa12f" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/audit_fusions.py", + "sha256": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/joint_coefficient_gate.py", + "sha256": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/literal_inverse_binding.py", + "sha256": "74bdbc9c35db4153e00ed15c8d9df27b63e1c50cd76fcd33f987f3f97d412d96" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "sha256": "30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/CONTINUED-ISOLATION-Q2.json", + "sha256": "d944c5b3181442af3cfd855b6f7d059f6bdfaed35755eff549ee7e96c66c5da7" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/HANDOFF.md", + "sha256": "404e01603b99f3e865ce5f7f3fd0a6bd9ca79db4217c105816b7010cc371dbf0" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/INPUT-EVENTS.json", + "sha256": "412e126144828455ebfa9d7baafb392e6f8cc5ff956876884451c59545765cfa" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ISOLATED-FUSION-Q2.json", + "sha256": "5ee7878ccd08a1eff40b9bc68e2d0476e501819aea39fda75cbeeadfb9f81d2e" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ISOLATED-FUSION-Q3.json", + "sha256": "4997bab27dda2e20d39209f9002af71c1cee42caa1e69b7a8a2f9eb7f4393fd8" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/MANIFEST.json", + "sha256": "44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/PROOF.md", + "sha256": "2506f7a89239d2375f14a1d7084aaaf11678818d6a20eb81e29de0a66a9f751a" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/admit_fusions.py", + "sha256": "15c921045d86fe581725d284b1f9557b4adcdff204951b2e12d0b237b2065b09" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/continue_isolated.py", + "sha256": "89551fe31fbf92cdc1167c7a0149b345733abac09da14aa7e482adc3842442a0" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/inputs/REPAIRED-MANIFEST.json", + "sha256": "dde942457256b0f037a65eebeb5df822fe4d8911c0441657816c77a4c20c6f1c" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/inputs/REPAIRED-SIMPLIFIED-FUSIONS.json", + "sha256": "4491cfe2a1f3e48510b33403b9b50c704865c3b1dc6d659ef5157840654e8fc3" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/isolated_fusion.py", + "sha256": "eafc4bd6e0cb0e2136dc9da8454d72ebe2da6f194c7bc62815601ba93d56094e" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/two_site.py", + "sha256": "a3d902fd3ad674caf56c532a7a06926395f3b9fa78a74b77f439373603d9e38a" + }, + { + "path": "/Users/ross/git/math/integer-mult-bounds/research/kernel92-frame-composition/vendor/pr531/vendor/clifford/clifford_exact.py", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + } + ], + "files": [ + { + "path": "AUDIT.json", + "sha256": "e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7" + }, + { + "path": "CONTINUATION-REPLAY.json", + "sha256": "9894e740599d348a6a9aed4ef8e45cf5b214caa8f77ca9b40388bb252048dd05" + }, + { + "path": "HANDOFF.md", + "sha256": "2e15f2d03df05ee915ce2d2e4fd25d82f728fa40cb38b589906cd179481acc32" + }, + { + "path": "REVIEW.md", + "sha256": "418f4124d399955e0873043c55788e59899d6bac468d0aa42e8dfb10734d315b" + }, + { + "path": "SOURCE-PINS.json", + "sha256": "57a041b947794930ad5406713323111ab488d309ae7fff81ea59d77a7db4f58c" + }, + { + "path": "VALIDATION.json", + "sha256": "8e571a9a8e59121fa8dbc4090f3b6cb773d91ea9a3951f2a79cfe6776af5b451" + }, + { + "path": "audit_two_sites.py", + "sha256": "a20cb5bf3577e508e112abe76bf9177a1c3ec7dc397ab74eef37c05de23eb9c9" + }, + { + "path": "replay_continuation.py", + "sha256": "0ffba268eae17fa0413b1f719d2dbce08af20684f5f2cacd10aca1b8cd2cec95" + } + ], + "no_new_kappa": true, + "no_publication": true, + "scientific_pin": "20ecf2891d80b5acf18d980b2164fb44ea7faa90", + "status": "FROZEN_INDEPENDENT_TWO_SITE_CORRECTNESS_REVIEW" +} diff --git a/research/coupled-tail-support-floor/original/dependencies/e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7-AUDIT.json b/research/coupled-tail-support-floor/original/dependencies/e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7-AUDIT.json new file mode 100644 index 0000000000..938a06e7af --- /dev/null +++ b/research/coupled-tail-support-floor/original/dependencies/e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7-AUDIT.json @@ -0,0 +1,200 @@ +{ + "cases": [ + { + "L_R_U_W_ranks_per_f": [ + 4, + 2, + 0, + 2 + ], + "all_original_columns": 6, + "all_positive_f": "exact source transport, general Clifford local identity and four scalar residues", + "all_used_forward_inverse_recipes": 14, + "both_literal_inverse_orders": "PASS_by_complete_primitive_inverse_and_forward_gluing", + "complete_endpoint": "diag(F_k J)", + "equivalent_positive_control": "opposite whole-field i/-i gauges on U/W preserve the exact local identity", + "histogram": { + "2": 36, + "4": 1 + }, + "native_event_links": 74, + "native_mass": 76, + "negative_controls": [ + "opposite-direction inverse native pointer", + "f2-only phase mutant with f1 unchanged", + "omitted first free monomial rejects arbitrary-input correction" + ], + "phase_vectors": { + "L": [ + 0, + 0, + 0, + 0 + ], + "R": [ + 3, + 0, + 1, + 2 + ], + "U": [ + 0, + 0, + 0, + 0 + ], + "W": [ + 3, + 0, + 1, + 2 + ] + }, + "proof_method": "Independent old X-character bank matrix transport and source all-column replay; emitted general Clifford U/W and selected recipes checked in physical coordinates, no author generator or general tensor algebra imported.", + "q": 2, + "source_transport_row_and_column": "isolated", + "stock": 72 + }, + { + "L_R_U_W_ranks_per_f": [ + 8, + 6, + 0, + 2 + ], + "all_original_columns": 8, + "all_positive_f": "exact source transport, general Clifford local identity and four scalar residues", + "all_used_forward_inverse_recipes": 14, + "both_literal_inverse_orders": "PASS_by_complete_primitive_inverse_and_forward_gluing", + "complete_endpoint": "diag(F_k J)", + "equivalent_positive_control": "opposite whole-field i/-i gauges on U/W preserve the exact local identity", + "histogram": { + "2": 64, + "4": 1 + }, + "native_event_links": 130, + "native_mass": 132, + "negative_controls": [ + "opposite-direction inverse native pointer", + "f2-only phase mutant with f1 unchanged", + "omitted first free monomial rejects arbitrary-input correction" + ], + "phase_vectors": { + "L": [ + 2, + 0, + 2, + 0 + ], + "R": [ + 1, + 0, + 3, + 2 + ], + "U": [ + 0, + 0, + 0, + 0 + ], + "W": [ + 3, + 0, + 1, + 2 + ] + }, + "proof_method": "Independent old X-character bank matrix transport and source all-column replay; emitted general Clifford U/W and selected recipes checked in physical coordinates, no author generator or general tensor algebra imported.", + "q": 3, + "source_transport_row_and_column": "isolated", + "stock": 128 + } + ], + "exact_source_execution": { + "/Users/ross/git/math/.research-automation/runs/kappa-changed-endpoints-20261019T0153Z/stabilizer-escape/full_stabilizer_bound.py": "f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75", + "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/free_ops.py": "5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77", + "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/conjugated_reflection.py": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f", + "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/even_parity_source.py": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3", + "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/lifted_algebra.py": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9", + "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/native_model.py": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3", + "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/orthogonal_source_normalizer.py": "c6373762bd15763625cc9237bb280a5e26ab8e53d6bfb034474f068b1525e6fa", + "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/audit_fusions.py": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173", + "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/joint_coefficient_gate.py": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07", + "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/literal_inverse_binding.py": "74bdbc9c35db4153e00ed15c8d9df27b63e1c50cd76fcd33f987f3f97d412d96", + "/Users/ross/git/math/integer-mult-bounds/research/kernel92-frame-composition/vendor/pr531/vendor/clifford/clifford_exact.py": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + }, + "no_all_q_construction": true, + "no_new_kappa": true, + "producer_sha256": "a20cb5bf3577e508e112abe76bf9177a1c3ec7dc397ab74eef37c05de23eb9c9", + "scientific_pin": "20ecf2891d80b5acf18d980b2164fb44ea7faa90", + "source_loader": "Workspace Python modules executed from the exact bytes hashed in memory, ignoring bytecode caches; historical workspace assertions explicitly active under parent -O.", + "source_loader_controls": [ + "unchecked-hash poisoned bytecode bypassed", + "workspace source assertions active", + "retained Clifford assertion active" + ], + "source_pins": [ + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/MANIFEST.json", + "sha256": "44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/HANDOFF.md", + "sha256": "404e01603b99f3e865ce5f7f3fd0a6bd9ca79db4217c105816b7010cc371dbf0" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/PROOF.md", + "sha256": "2506f7a89239d2375f14a1d7084aaaf11678818d6a20eb81e29de0a66a9f751a" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "sha256": "30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/admit_fusions.py", + "sha256": "15c921045d86fe581725d284b1f9557b4adcdff204951b2e12d0b237b2065b09" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/isolated_fusion.py", + "sha256": "eafc4bd6e0cb0e2136dc9da8454d72ebe2da6f194c7bc62815601ba93d56094e" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/continue_isolated.py", + "sha256": "89551fe31fbf92cdc1167c7a0149b345733abac09da14aa7e482adc3842442a0" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ISOLATED-FUSION-Q2.json", + "sha256": "5ee7878ccd08a1eff40b9bc68e2d0476e501819aea39fda75cbeeadfb9f81d2e" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ISOLATED-FUSION-Q3.json", + "sha256": "4997bab27dda2e20d39209f9002af71c1cee42caa1e69b7a8a2f9eb7f4393fd8" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/CONTINUED-ISOLATION-Q2.json", + "sha256": "d944c5b3181442af3cfd855b6f7d059f6bdfaed35755eff549ee7e96c66c5da7" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/INPUT-EVENTS.json", + "sha256": "412e126144828455ebfa9d7baafb392e6f8cc5ff956876884451c59545765cfa" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/inputs/REPAIRED-SIMPLIFIED-FUSIONS.json", + "sha256": "4491cfe2a1f3e48510b33403b9b50c704865c3b1dc6d659ef5157840654e8fc3" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/inputs/REPAIRED-MANIFEST.json", + "sha256": "dde942457256b0f037a65eebeb5df822fe4d8911c0441657816c77a4c20c6f1c" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/audit_fusions.py", + "sha256": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/MANIFEST.json", + "sha256": "75f0679178d18d29891b7de962823ca54b67c15184bfcbf9739896e72fcaa12f" + } + ], + "status": "PASS_INDEPENDENT_TWO_SITE_TRANSPORT_LITERAL_PHASE_AND_NATIVE_ADMISSION" +} diff --git a/research/coupled-tail-support-floor/original/dependencies/e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c-MANIFEST.json b/research/coupled-tail-support-floor/original/dependencies/e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c-MANIFEST.json new file mode 100644 index 0000000000..6c1fe14043 --- /dev/null +++ b/research/coupled-tail-support-floor/original/dependencies/e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c-MANIFEST.json @@ -0,0 +1,13 @@ +{ + "created_utc": "2026-10-19T14:49:27.812446+00:00", + "files": { + "HANDOFF.md": "9466b6d2c04f2808753fa3d424f1b5ddaca108e057fcbc8a6dd16688e17f39d7", + "PROOF.md": "0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232", + "SCREEN.json": "bf87a8facad36ac76958b30e7d6d135173841dfcaf96d2c7947943f96b54ae2d", + "VALIDATION.json": "1af7193661e01853569668f42d82258879b2727896207c64345f71ed2c59dbb4", + "inputs/coupled-tail-PROOF.md": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587", + "screen.py": "dbedee019ecbbe1f1faf062f724135b7224e52be5bb5beb4079e1850c9823b90" + }, + "no_new_kappa": true, + "status": "FROZEN_LOCAL_PLANNING_AND_CONDITIONAL_GATE" +} diff --git a/research/coupled-tail-support-floor/original/dependencies/ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3-MANIFEST.json b/research/coupled-tail-support-floor/original/dependencies/ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3-MANIFEST.json new file mode 100644 index 0000000000..20c54d169b --- /dev/null +++ b/research/coupled-tail-support-floor/original/dependencies/ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3-MANIFEST.json @@ -0,0 +1,64 @@ +{ + "files": [ + { + "bytes": 15060, + "path": "AUDIT.json", + "sha256": "a2f98dc08085c0fb66e50ce4fb96fba271d4089a8308fca182b0c1668046ad3a" + }, + { + "bytes": 3428, + "path": "HANDOFF.md", + "sha256": "69a8db3dd0c7ece9329e52622deb589b0ad8344b29099f90de5ecd282c49e118" + }, + { + "bytes": 2271466, + "path": "PAIRING-AUDIT.json", + "sha256": "e40ad925d1cf4e46bf28f176d74de6d393bddf6d82300757e88734b6e2944912" + }, + { + "bytes": 10929, + "path": "REVIEW.md", + "sha256": "c034f3fda71e440978c3a589da95f1f37cb95b44bf996c5295f179e6ed2fefe1" + }, + { + "bytes": 19701, + "path": "SOURCE-PINS.json", + "sha256": "3ae658408161bb6c79c81e153c1172e935156d94551c479cd9ccf03ac53d889a" + }, + { + "bytes": 5908, + "path": "SOURCE-REPLAYS.json", + "sha256": "35a37b41cc4ca0199523389453d04130a52705756819f40002e85031421a3591" + }, + { + "bytes": 996, + "path": "VALIDATION.json", + "sha256": "5ab4351bf0840bddeae085a9322a518af9cf21fee375f564480c449e704cafca" + }, + { + "bytes": 17680, + "path": "audit_gates.py", + "sha256": "051ba51e02e9f143b8a8bea0b91d69e7e1e32edf0f98d2d40db290f02043d460" + }, + { + "bytes": 9267, + "path": "pairing_audit.py", + "sha256": "f567f9239431d60c915d6bf8ca23c9e74f932a1b08ddb7980a82ba1a855c21dc" + }, + { + "bytes": 2572, + "path": "replay_sources.py", + "sha256": "a9a5d147b97afca170c49ad71a7cbc061853d0aff7ec5db5a61b7288f56b72aa" + }, + { + "bytes": 943, + "path": "validate_review.py", + "sha256": "8e9eb49b74d9241de8bdaf81c446cdec5da28a6d18f938ef723f3316e0a7b021" + } + ], + "no_new_kappa": true, + "scientific_main": "20ecf2891d80b5acf18d980b2164fb44ea7faa90", + "scope": "Independent completed-gate review: fixed-two-site conditional all-q skew implication; finite-q general-frame trajectory and crossed stock certificates; cubic whole-field quadratic trace gate.", + "source_count": 74, + "source_pin_file": "SOURCE-PINS.json" +} diff --git a/research/coupled-tail-support-floor/original/joint-native/joint_coefficient_gate.py b/research/coupled-tail-support-floor/original/joint-native/joint_coefficient_gate.py new file mode 100644 index 0000000000..aa289b7c60 --- /dev/null +++ b/research/coupled-tail-support-floor/original/joint-native/joint_coefficient_gate.py @@ -0,0 +1,232 @@ +#!/usr/bin/env python3 +"""A single original-column coefficient constrains the unfactored J cleanup. + +Apache-2.0; substantial OpenAI Codex assistance. This is a scoped exact +coefficient/support gate, not a complete supplier or a new exponent. +""" +from pathlib import Path +from fractions import Fraction +import argparse +import hashlib +import importlib.util +import json +import sys + +sys.dont_write_bytecode = True +HERE = Path(__file__).resolve().parent +FROZEN = HERE.parents[1] / 'kappa-four-coordinate-20261019T0717Z' +NATIVE = FROZEN / 'native-frames' +PINS = { + NATIVE / 'native_model.py': '6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3', + NATIVE / 'even_parity_source.py': '961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3', + NATIVE / 'EVEN-PARITY-SOURCE.json': 'dbeea9cb1abe6fff72cc98e98d9f70eed578d5094cf5f310ed7c500e26af3f3c', + FROZEN / 'caller' / 'free_ops.py': '5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77', +} +for path, digest in PINS.items(): + if hashlib.sha256(path.read_bytes()).hexdigest() != digest: + raise ValueError('frozen source pin differs: ' + str(path)) +sys.path.insert(0, str(NATIVE)) +from native_model import Model, PIN, b, ce, mul, need, phase, same +from even_parity_source import kernels +from lifted_algebra import Algebra + +spec = importlib.util.spec_from_file_location('joint_gate_free_ops', FROZEN / 'caller' / 'free_ops.py') +f = importlib.util.module_from_spec(spec) +spec.loader.exec_module(f) + + +def formal_core(): + """Independent inverse formula over arbitrary noncommuting Q1/B2.""" + Q, B2 = f.mono((1,)), f.mono((2,)) + Qi, Bi = f.inv(Q), f.inv(B2) + K = [[f.add(f.add(B2, Q), f.neg(f.I)), f.add(f.I, f.neg(B2))], + [f.add(Q, f.neg(f.I)), f.I]] + Kinv = [[f.prod(Qi, Bi), f.prod(Qi, f.add(f.I, f.neg(Bi)))], + [f.prod(f.add(Qi, f.neg(f.I)), Bi), + f.add(Qi, f.prod(f.add(f.I, f.neg(Qi)), Bi))]] + need(f.mm(K, Kinv) == f.mm(Kinv, K) == f.eye(2), + 'independent arbitrary-Q1/B2 core inverse both orders') + + # Four public inputs and two arbitrary pivot inputs. Public coupling L + # has eight independent noncommuting coefficients; it is not set zero. + n, p = 6, 4 + Du, Dv = f.mono((3,)), f.mono((4,)) + H = [[f.mul(Du, x) for x in K[1]], [f.mul(Dv, x) for x in K[0]]] + Hinv = f.mm(Kinv, [[f.Z, f.inv(Dv)], [f.inv(Du), f.Z]]) + need(f.mm(H, Hinv) == f.mm(Hinv, H) == f.eye(2), 'whole pivot inverse') + L = [[f.mono((10 + 4 * i + j,)) for j in range(p)] for i in range(2)] + M = f.eye(n) + for i in range(p): + M[i][i] = f.N + for i in range(2): + M[p + i] = L[i] + H[i] + W = f.eye(n) + for i in range(2): + for j in range(p): + W[p + i][j] = f.neg(f.prod(f.N, f.summ(f.mul(Hinv[i][k], L[k][j]) + for k in range(2)), f.inv(f.N))) + for j in range(2): + W[p + i][p + j] = f.prod(f.N, Hinv[i][j]) + target = [[f.N if i == j else f.Z for j in range(n)] for i in range(n)] + need(f.mm(W, M) == target, 'joint correction all six original columns including public L') + Minv = f.eye(n) + for i in range(p): + Minv[i][i] = f.inv(f.N) + for i in range(2): + for j in range(p): + Minv[p + i][j] = f.neg(f.prod(f.summ(f.mul(Hinv[i][k], L[k][j]) + for k in range(2)), f.inv(f.N))) + for j in range(2): + Minv[p + i][p + j] = Hinv[i][j] + need(f.mm(M, Minv) == f.mm(Minv, M) == f.eye(n), 'full prefix inverse with all coupling') + coefficient = f.prod(f.N, Qi, Bi, f.inv(Dv)) + need(W[p][p + 1] == coefficient, 'single current V to original t coefficient independent of L') + mutant = [row[:] for row in W] + mutant[p][p + 1] = f.prod(f.N, Bi, Qi, f.inv(Dv)) + need(f.mm(mutant, M) != target, 'reversed Schur inverse order defect rejected') + return { + 'independent_original_columns': n, + 'independent_public_coupling_coefficients': 8, + 'K': f.sm(K), 'K_inverse': f.sm(Kinv), + 'H_row_order': ['Du * K_row2', 'Dv * K_row1'], + 'required_retarded_coefficient': 'J Q1^-1 B2^-1 Dv^-1', + 'coefficient_free_word': f.serial(coefficient), + 'public_L_cannot_change_coefficient': True, + 'defect_control': 'reverse Q1^-1 and B2^-1, rejected on original columns', + } + + +def operators(q, fsize): + z = Model(fsize, 2 * q + 1) + _, J = kernels(z) + A = mul(z.N.adjoint(), J) + B1, B2 = mul(z.P[0], A), mul(z.P[1], A) + Q1 = mul(J.adjoint(), B1, J) + Dv = z.I + for r in range(2, q + 1): + Dv = mul(z.P[2 * r], z.N, Dv) + Dv = mul(phase(z.n, 2 * (q - 2)), Dv) + F = z.prefix(2 * q + 1) + C = mul(F, J, Q1.adjoint(), B2.adjoint(), Dv.adjoint(), F.adjoint()) + collapsed = mul(F, A.adjoint(), z.P[0].adjoint(), z.N, + z.P[1].adjoint(), Dv.adjoint(), F.adjoint()) + return z, J, A, B1, B2, Q1, Dv, F, C, collapsed + + +def expected_gamma(q, fsize): + n = (4 * q + 4) * fsize + rows = [0] * n + for half in (0, 1): + for bit in range(fsize): + ix = lambda plane: (2 * plane + half) * fsize + bit + x, y = ix(0), ix(1) + rows[x] = (1 << x) | (1 << y) + rows[y] = 1 << x + for plane in [2] + list(range(5, 2 * q + 2, 2)): + rows[ix(plane)] = 1 << ix(plane) + return tuple(rows) + + +def left_gamma(op): + # U has binary form S(Gamma) P. Recover Gamma=B P^-1 independently. + n = op.n + acols = tuple(x for x, zz, ph in op.tab[:n]) + need(all(zz == 0 and x.bit_count() == 1 for x, zz, ph in op.tab[:n]), + 'actual coefficient X image is a coordinate permutation') + arows = ce.transpose(acols, n) + ainv_cols = ce.transpose(ce.inv(arows, n), n) + bcols = tuple(x for x, zz, ph in op.tab[n:]) + def apply_cols(cols, word): + out = 0 + while word: + bit = word & -word + out ^= cols[bit.bit_length() - 1] + word ^= bit + return out + gamma_cols = tuple(apply_cols(bcols, x) for x in ainv_cols) + return ce.transpose(gamma_cols, n) + + +def all_f_phase(q, C1): + a = Algebra(2 * q + 1) + _, j1 = kernels(a.model) + J = a.lift(j1, exponent=1) + A = a.product(a.adjoint(a.N), J) + B1, B2 = a.product(a.P[0], A), a.product(a.P[1], A) + Q1 = a.product(a.product(a.adjoint(J), B1), J) + Dv = a.one + for r in range(2, q + 1): + Dv = a.product(a.product(a.P[2 * r], a.N), Dv) + Dv = a.scale(Dv, (-1) ** (q - 2)) + F = a.one + for t in a.T: + F = a.product(F, t) + C = F + for x in (J, a.adjoint(Q1), a.adjoint(B2), a.adjoint(Dv), a.adjoint(F)): + C = a.product(C, x) + exponent = 6 - 3 * q + need(C == a.lift(C1, exponent=exponent), 'complete all-f Gaussian tensor phase, all four residues') + return {'q': q, 'tensor_phase_exponent': exponent, + 'identity': 'C_f=i^((6-3q)*(1-f)) C_1^tensor(f), after bit regrouping', + 'all_four_f_mod4_residues': 'PASS'} + + +def run(): + core = formal_core() + rank_checks, row_checks, phase_checks = [], [], [] + for q in range(2, 13): + for fs in (1, 2): + z, J, A, B1, B2, Q1, Dv, F, C, collapsed = operators(q, fs) + gamma = left_gamma(C) + need(gamma == expected_gamma(q, fs), 'exact all-q block-diagonal left Gamma formula') + need(b.native_rank(C) == (2 * q + 4) * fs, + 'unfactored original-column coefficient native arity') + need(C.tab == collapsed.tab, 'actual collapsed signed tableau') + if fs == 1 and q in (2, 3, 4): + same(C, collapsed, 'exact core collapse with mandatory global phases') + state, depth = b.sparse_column(C.adjoint()) + need(len(state) == 1 << ((2 * q + 4) * fs), 'actual row support including all cancellations') + row_checks.append({'q': q, 'f': fs, 'row_nonzeros': len(state), 'Gaussian_depth': depth}) + phase_checks.append(all_f_phase(q, C)) + rank_checks.append({'q': q, 'f': fs, 'native_arity': b.native_rank(C), + 'native_margin_per_f': 2 * q, + 'Gamma_formula': 'two copies of [[1,1],[1,0]] on(0,1), plus diagonal2 andodd5..2q+1'}) + return { + 'status': 'PASS_UNFACTORED_JOINT_J_COEFFICIENT_SUPPORT_GATE', + 'scientific_pin': PIN, + 'producer_sha256': hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + 'source_pins': [{'path': str(p), 'sha256': hashlib.sha256(p.read_bytes()).hexdigest()} + for p in list(PINS) + [NATIVE / 'lifted_algebra.py']], + 'formal_original_column_core': core, + 'physical_coefficient': 'C_tV=F J Q1^-1 B2^-1 Dv^-1 F^-1, Q1=J^-1B1J, B_s=P_s N^-1J', + 'exact_collapsed_operator': 'F (N^-1J)^-1 P1^-1 N P2^-1 Dv^-1 F^-1', + 'Dv': '(-1)^(q-2) (P_(2q+1)N)...(P5N)', + 'target_gauge': 'The actual isolated output on original t is F J t. Its outgoing left monomial gauge preserves the support bound. No arbitrary replacement of its input right gauge or desired target operator is made.', + 'all_q_native_arity': '(2q+4)f for q>=2,f>=1', + 'rank_checks': rank_checks, + 'actual_row_support_checks': row_checks, + 'all_f_phase_checks': phase_checks, + 'support_tariff': 'For the complete bank-by-address linear tail, let r_j be each native query actual arity and S the number of binary bank-ADD primitives. Then sum_j r_j+S >= (2q+4)f. Monomial ADDRESS/bank routing, nonzero Gaussian pointwise scales and phases have row branching1; each ADD has branching<=2; a rank-r native Fourier child with monomial adapters has branching2^r. Arbitrary cancellations and extra dirty/restored banks cannot increase the upper bound.', + 'bounded_word_corollary': 'If sum r_j=R*f and S=o(f), then R>=2q+4 asymptotically. In particular R<2q cannot provide positive native deficit in such a tail. This is an explicit model premise, not an assertion that bounded-in-f scans are a repository default.', + 'growing_scan_requirement': 'If R<2q, S >= (2q+4-R)f >4f. A paid O(f) full/partial scan construction is not excluded by this combinatorial gate. Its outer-transfer allowance belongs to the root source-bound scan audit.', + 'extra_dirty_banks': 'Any number of independent additional dirty banks may be used and restored exactly. The full required inverse is unique on all inputs, so its original-V/current-bank coefficient remains C_tV. Initial/final zero private cells do not improve the maximum-row-support induction either.', + 'limits': ['The full actual all-q physical prefix and source-bound H/L binding are owned by the caller lane and are not inferred from the homogeneous factory formulas alone.', + 'A changed initial core, right input chart/target operator, coupled owner endpoint, nonlinear computation or scan alphabet outside the stated row-branching model is not covered.', + 'Any operator-valued ADD with multiple monomial terms must expose those primitive ADDs or charge its actual row branching; it is not a free scalar ADD.', + 'No kappa, all-size supplier, owner allocation, precision or fixed-tape claim is made.'], + 'no_new_kappa': True, + } + + +if __name__ == '__main__': + ap = argparse.ArgumentParser(description=__doc__) + ap.add_argument('--write', action='store_true') + args = ap.parse_args() + out = json.loads(json.dumps(run())) + path = HERE / 'JOINT-COEFFICIENT-GATE.json' + if args.write: + path.write_text(json.dumps(out, indent=2, sort_keys=True) + '\n') + else: + need(json.loads(path.read_text()) == out, 'saved joint coefficient gate differs') + print(out['status']) + print('native arity (2q+4)f; exact support tariff sum(r_j)+S >= (2q+4)f') diff --git a/research/coupled-tail-support-floor/original/native-frames/native_model.py b/research/coupled-tail-support-floor/original/native-frames/native_model.py new file mode 100644 index 0000000000..03925dd36e --- /dev/null +++ b/research/coupled-tail-support-floor/original/native-frames/native_model.py @@ -0,0 +1,67 @@ +"""Pinned Gaussian Clifford model for common2/fresh2 native bridges. +Apache-2.0; substantial OpenAI Codex assistance. Frozen imports are read only. +""" +from pathlib import Path +import hashlib,importlib.util,sys +sys.dont_write_bytecode=True +BASE=Path('/Users/ross/git/math') +PIN='20ecf2891d80b5acf18d980b2164fb44ea7faa90' +CE_PATH=BASE/'integer-mult-bounds/research/kernel92-frame-composition/vendor/pr531/vendor/clifford/clifford_exact.py' +CE_SHA='2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962' +BOUND_PATH=BASE/'.research-automation/runs/kappa-changed-endpoints-20261019T0153Z/stabilizer-escape/full_stabilizer_bound.py' +BOUND_SHA='f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75' +def need(ok,why): + if not ok:raise ValueError(why) +def load(name,path,sha): + need(hashlib.sha256(path.read_bytes()).hexdigest()==sha,'source pin '+str(path)) + spec=importlib.util.spec_from_file_location(name,path);mod=importlib.util.module_from_spec(spec);sys.modules[name]=mod;spec.loader.exec_module(mod);return mod +ce=load('native_frames_pinned_clifford',CE_PATH,CE_SHA) +b=load('native_frames_frozen_independent',BOUND_PATH,BOUND_SHA) +def mul(*ops):return b.standard_product(ce,*ops) +def same(a,c,why,phase=True): + need(a.tab==c.tab,why+' signed tableau') + if phase:need(b.sparse_column(a)==b.sparse_column(c),why+' actual Gaussian phase') +def phase(n,p):return ce.Op(n,ce.identity(n),[('phase',p%4)]) +def symplectic_defect_rank(op): + return b.binary_rank(x^y for x,y in zip(b.binary_tableau(op),b.binary_tableau(ce.ident(op.n)))) +def pauli(n,x=0,z=0,p=0): + out=ce.diag(n,[0]*n,[2*((z>>j)&1)for j in range(n)]) + return mul(phase(n,p),ce.xgate(n,x),out) +def conjugated_pauli(op,x=0,z=0,p=0): + triple=ce.apply(op.tab,(x,z,p));return pauli(op.n,*triple),triple +class Model: + def __init__(self,f=1,stages=4): + need(f>=1 and stages>=1,'positive chunk/stages');self.f=f;self.stages=stages;self.n=(2+2*stages)*f;self.I=ce.ident(self.n) + self.N=self.Npair(0,1);self.U=self.Hp(0);self.V=mul(self.N,self.U.adjoint()) + self.P=[self.swap_pair(s+1)for s in range(stages)];self.T=[self.Npair(2+2*s,3+2*s)for s in range(stages)] + self.Q=ce.xgate(self.n,1) + def Hp(self,chunk): + out=self.I + for j in range(self.f): + bit=chunk*self.f+j;alpha=[0]*self.n;alpha[bit]=2 + out=mul(ce.diag(self.n,[0]*self.n,alpha),ce.cgate(self.n,1<=4,'pqqp uses4 stages');gs=[self.I,self.I];controls=[];F=self.I + for s,(kind,W) in enumerate(zip('FGFG',[self.U,self.V,self.V,self.U])): + required=self.phi(gs[1])if kind=='F'else mul(W,self.N.adjoint(),gs[1],self.N,W.adjoint()) + L=mul(required,gs[0].adjoint());controls.append(L);gs[0]=required + if kind=='F':gs=[gs[0],mul(W,self.P[s],gs[1],W.adjoint())] + else:gs=[mul(W.adjoint(),gs[0],W),mul(self.P[s],gs[1])] + F=mul(self.T[s],F) + return gs,controls diff --git a/research/coupled-tail-support-floor/source/caller-joint/joint_algebra.py b/research/coupled-tail-support-floor/source/caller-joint/joint_algebra.py new file mode 100644 index 0000000000..d73e3b0ce0 --- /dev/null +++ b/research/coupled-tail-support-floor/source/caller-joint/joint_algebra.py @@ -0,0 +1,113 @@ +"""Pinned exact all-f Gaussian X-character operator algebra. +Apache-2.0; substantial OpenAI Codex assistance. +""" +from pathlib import Path +from fractions import Fraction as F +import hashlib,importlib.util,sys +sys.dont_write_bytecode=True +OLD=Path(__file__).resolve().parents[1] +PINS={ + 'root-chronology/quadratic_charts.py':'de2a36f6a6b567360c90477b58da44e2f1b618fd006d058ab1ea04e983952c3f', + 'native-frames/native_model.py':'b4291b2868f91f6e77058e58e936b2efe965a9d9ae58095745fa2dad8c1d5c68', + 'native-frames/even_parity_source.py':'961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3', + 'caller/nested_prefix.py':'9ec10cb0243c0c829475ad7290f4953cdff27cb0f90f70b687c4bbee98af676b', + 'caller/nested_family.py':'88f425d12baf8a4f849cccd24605f21680eb8ce8d199054db4b4e7734eca72b6', +} +def need(c,m): + if not c:raise ValueError(m) +for p,h in PINS.items():need(hashlib.sha256((OLD/p).read_bytes()).hexdigest()==h,'frozen source pin '+p) +spec=importlib.util.spec_from_file_location('joint_pinned_quadratic',OLD/'root-chronology/quadratic_charts.py') +qc=importlib.util.module_from_spec(spec);sys.modules[spec.name]=qc;spec.loader.exec_module(qc) +sys.path.insert(0,str(OLD/'caller'));sys.path.insert(0,str(OLD/'native-frames')) +from nested_prefix import skeleton +from nested_family import retraction +from native_model import Model,ce,mul,same +from even_parity_source import kernels + +ZERO=(F(0),)*8;ONE=(F(1),F(0))*4 +def rotate(v,c,g): + out=[] + for r in range(4): + a,b=v[2*r:2*r+2];out.extend(((a,b),(-b,a),(-a,-b),(b,-a))[(c*r+g)%4]) + return tuple(out) +def cproduct(a,b): + return tuple(z for r in range(4)for z in(a[2*r]*b[2*r]-a[2*r+1]*b[2*r+1],a[2*r]*b[2*r+1]+a[2*r+1]*b[2*r])) +def normalize(g,v): + return qc.Mono(g.rows,g.offset,g.alpha,g.quad),rotate(v,g.constant,g.global_phase) +def mono(g,c=1): + k,v=normalize(g,tuple(F(c)*x for x in ONE));return{k:v}if any(v)else{} +def add(a,b): + out=dict(a) + for k,v in b.items(): + w=tuple(x+y for x,y in zip(out.get(k,ZERO),v)) + if any(w):out[k]=w + else:out.pop(k,None) + return out +def scale(a,c):return{k:tuple(F(c)*x for x in v)for k,v in a.items()}if c else{} +def product(a,b): + out={} + for g,x in a.items(): + for h,y in b.items(): + k,v=normalize(g@h,cproduct(x,y));out=add(out,{k:v}) + return out +def adjoint(a): + out={} + for g,v in a.items(): + k,w=normalize(g.inv(),tuple(x if i%2==0 else-x for i,x in enumerate(v)));out=add(out,{k:w}) + return out +def summ(items): + out={} + for item in items:out=add(out,item) + return out +def eye(n,m): + I=mono(qc.identity(m));return[[dict(I)if i==j else{}for j in range(n)]for i in range(n)] +def mm(A,B): + n=len(A);return[[summ(product(A[i][k],B[k][j])for k in range(n)if A[i][k]and B[k][j])for j in range(n)]for i in range(n)] +def serial(e):return[{'x_monomial':g.data(),'coefficients_by_f_mod4':[[str(v[2*r]),str(v[2*r+1])]for r in range(4)]}for g,v in sorted(e.items(),key=lambda x:str(x[0]))] +def sm(M):return[[serial(e)for e in row]for row in M] +def n_pair(m,i): + return qc.old_operator({'operator':{'native_blocks':[i],'block_permutation':list(range(m//2)),'sign':1}},m) +def plane_swap(m,i,j): + rows=[1<=2,'at least two public pairs') + n,k,m=2*q+2,2*q+1,4*q+4 + W=Word(n,m);N=n_pair(m,0);J=j_operator(m);stage=0 + def query(bank,s,inverse=False,label=''): + f=prefix(m,s);g=f@J@f.inv() + if inverse:g=g.inv() + need(qc.rank(g.polar())==2,'source J query has native rank2 per coordinate') + W.unary(bank,g,label,True,{'kind':'J','completed':s,'inverse':inverse}) + def source_swap(bank,s,label):W.unary(bank,plane_swap(m,0,s),label) + def progress(src,s,dst=None): + for bank in range(n): + if bank!=src:W.unary(bank,n_pair(m,s),f'query{s} target fresh'if bank==dst else f'query{s} idle fresh',True,{'kind':'N','plane':s,'inverse':False}) + for r in range(2,q+1):W.add(2*r+1,3,1,'raw c basis') + query(1,0,label='shared initial J exposure');W.add(2,1,1,'shared initial J fanout');query(1,0,True,'shared initial J inverse') + _,ops=skeleton(q,[1]+[0]*(q-1)) + for typ,d,s,z in ops: + if typ=='a': + if z[1]:need(stage==0 and d==2 and s==1 and z[1]==1,'only initial J-valued bridge is shared') + else:W.add(d,s,z[0],'initial nested scalar bridge') + elif typ=='s':W.swap(d,s,'initial nested permutation') + else: + stage+=1;u=retraction(q,stage) + if stage==4: + for bank,(aa,bb)in enumerate(u): + if bank!=s:W.add(bank,s,-aa,'query4 scalar entrance') + break + for bank,(aa,bb)in enumerate(u): + if bank!=s:W.add(bank,s,-aa,f'query{stage} scalar entrance') + query(s,stage-1,label=f'query{stage} source J') + for bank,(aa,bb)in enumerate(u): + if bank!=s:W.add(bank,s,-bb,f'query{stage} source pre-delivery fanout') + W.add(d,s,1,f'query{stage} delivery') + source_swap(s,stage,f'query{stage} source swap');progress(s,stage,d) + if stage==3: + for bank,(aa,bb)in enumerate(u): + if bank!=s:W.add(bank,s,-bb,'query3 source pre-continuation fanout') + query(s,stage,label='query3 retained source continuation') + for bank,(aa,bb)in enumerate(u): + if bank!=s:W.add(bank,s,aa,f'query{stage} scalar exit') + if not omit_raw_a_restore: + for r in range(3,q+1):W.add(0,2*r,-1,'restore independent raw a') + W.add(3,0,-1,'held source subtract raw a') + for r in range(2,q+1):W.add(3,2*r,-1,'held source subtract future raw b') + for r in range(2,q+1): + e,o,b,c=2*r,2*r+1,2*r,2*r+1 + query(1,e-1,label=f'query{e} source J');W.add(1,3,-1,'even isolate c difference');W.swap(1,3,'even source handoff') + source_swap(1,e,f'query{e} source swap');progress(1,e,3);W.swap(3,c,'move completed c difference') + query(b,o-1,label=f'query{o} source J') + for ell in range(r+1,q+1):W.add(2*ell+1,b,1,'odd future-c first fanout') + W.add(3,b,1,'odd delivery');W.swap(b,3,'odd source handoff') + W.add(2,b,-1,'odd b accumulator') + for ell in range(r+1,q+1):W.add(2*ell+1,b,-1,'odd future-c second fanout') + source_swap(b,o,f'query{o} source swap');progress(b,o,3) + if r>i)&1)<>i)&1)<=3 and i%2 else Z]for i in range(n)] + for s,(M,src,dst)in enumerate(pre,1): + B=mm(M,V);w,r=coordinates(q,s) + F.need([add(mul(row[0],w[0]),mul(row[1],w[1]))for row in B]==retraction(q,s), + 'displayed normalized source column lies in the transported fixed plane') + F.need(tuple(B[src])==r,'displayed source functional on both pivot coordinates') + + +def cocycle(): + # Columns(z,A,c,d,b) are independent fields. Po and Pe do not commute. + ZR=[F.I,F.Z,F.Z,F.Z,F.Z];AR=[F.Z,F.I,F.Z,F.Z,F.Z] + CR=[F.Z,F.Z,F.I,F.Z,F.Z];DR=[F.Z,F.Z,F.Z,F.I,F.Z];BR=[F.Z,F.Z,F.Z,F.Z,F.I] + def plus(*rows):return[F.summ(row[j]for row in rows)for j in range(5)] + def left(a,row):return[F.mul(a,x)for x in row] + Po,Pe=F.mono((1,)),F.mono((2,)) + y=plus(left(F.N,ZR),left(F.neg(F.I),AR),left(F.N,CR)) + fodd=plus(left(F.neg(F.I),AR),left(F.N,CR)) + zodd=plus(left(F.mul(Po,F.N),ZR),left(F.add(Po,F.N),fodd)) + even_source=plus(zodd,left(F.N,AR),DR) + F.need(even_source==plus(left(Po,y),DR,left(F.neg(F.I),CR)), + 'next source is the old source through one ADDRESS plus the raw c difference') + feven=plus(left(F.N,AR),DR) + zeven=plus(left(F.mul(F.N,Pe),zodd),left(F.add(F.mul(F.N,Pe),F.neg(F.I)),feven)) + ynext=plus(left(F.N,zeven),left(F.N,DR),left(F.neg(F.I),AR),BR) + rhs=plus(left(F.neg(F.mul(Pe,Po)),y),BR,left(Pe,CR),left(F.neg(Pe),DR)) + F.need(ynext==rhs,'middle two-call affine ADDRESS cocycle on every independent public/pivot column') + return {'source_y':'y_r=N z-A_r+N c_r, A_r=a+sum_(l>r)b_l; c1 means zero public reader', + 'next_even_source':'P_o y_r+c_(r+1)-c_r', + 'next_y':'-P_e P_o y_r+b_(r+1)+P_e(c_r-c_(r+1))', + 'independent_columns':['z','A_r','c_r','c_(r+1)','b_(r+1)'], + 'covered_domain':'Arbitrary independent invertible noncommuting Po,Pe; N^2=-I; literal affine operator identity.', + 'not_native_admission':'The virtual coordinate is a literal source at the odd cut. Holding its chart through the even cut still requires an explicit invertible bank encoder, all public readers at actual frames, and restoration of the other independent dirty field.'} + + +def prove(): + for q in range(1,9):prefix_coordinates(q) + fixtures=[formal(q)for q in(1,2,3,4)] + from nested_six import formal_word + M,Mi,_,_,_=formal_word() + F.need(fixtures[1]['complete_matrix']==F.sm(M)and fixtures[1]['complete_inverse']==F.sm(Mi), + 'q2 direct family agrees exactly with independently compiled NESTED-SIX') + return {'status':'PASS_EXPLICIT_NESTED_SOURCE_FAMILY_AND_ONE_COORDINATE_AFFINE_COCYCLE', + 'scientific_pin':'20ecf2891d80b5acf18d980b2164fb44ea7faa90','fixtures':fixtures,'affine_cocycle':cocycle(), + 'all_parameter_proof':'The ideal nested response skeleton gives N on every field after its output isolation. Its two transported pivot columns obey the displayed source-functional/retraction table. Conjugated source-code insertions therefore act by 2x2 updates I+w(Ptilde-I)r. The first two updates multiply to J(P2,Q1); all middle updates are on only the second coordinate and telescope to Ad_(N^-1)(A3), A3=(-1)^(q-1)P_(2q+1)...P3; the last two updates give the first diagonal factor. Left multiplication by the ideal final N yields H=diag(-P_last P_penult,A3 N)J. No source code or public coupling is discarded.', + 'initial_basis':'At raw ZERO, c_r+=c1 for r>=2. One common N/N^-1 exposure fanouts b1+=N*t only. The inverse c-basis is applied after the last query; its other public rows are retained.', + 'finite_checks':'Every free-operator matrix column and both inverse orders for q1..4. Exact transported-plane/source-functional table for q1..8. q2 entire matrix agrees with NESTED-SIX.', + 'native_invoice':'With the current literal compiler c=2q-1 retained N continuations, two shared input N calls and all separate fresh progress: H2=(2q+2)(2q+3)+2q+1, m=4q+8, n=2q+2, D_before_tail=2. Wide batching changes moment pressure, not this mass. No amortized query removal is asserted.', + 'limits':['H has a bounded five-factory form, but the complete L readers and their native cuts remain part of the contract.', + 'The affine ADDRESS cocycle is an algebraic grouping target, not an implemented shared-native controller.', + 'The finite checks and written all-parameter recurrence are not a formal-kernel proof.'], + 'source_pins':[{'path':str(HERE/p),'sha256':hashlib.sha256((HERE/p).read_bytes()).hexdigest()} + for p in('nested_prefix.py','nested_six.py','NESTED-SIX.json','free_ops.py')], + 'no_new_kappa':True} + + +def main(): + ap=argparse.ArgumentParser(description=__doc__);ap.add_argument('--write',action='store_true');args=ap.parse_args() + out=prove();out['producer_sha256']=hashlib.sha256(Path(__file__).read_bytes()).hexdigest();path=HERE/'NESTED-FAMILY.json' + out=json.loads(json.dumps(out)) + if args.write:path.write_text(json.dumps(out,indent=2,sort_keys=True)+'\n') + else:F.need(json.loads(path.read_text())==out,'saved nested-family receipt differs') + print(out['status']) + + +if __name__=='__main__':main() diff --git a/research/coupled-tail-support-floor/source/caller/nested_prefix.py b/research/coupled-tail-support-floor/source/caller/nested_prefix.py new file mode 100644 index 0000000000..d7e424e224 --- /dev/null +++ b/research/coupled-tail-support-floor/source/caller/nested_prefix.py @@ -0,0 +1,113 @@ +"""Exact ideal prefixes for nested three-response replacements. + +This is a construction helper, not a native admission or a receipt. +Apache-2.0; substantial OpenAI Codex assistance. +""" +from fractions import Fraction as F +from itertools import combinations +from pivot_plane_probe import Z, I, N, add, neg, mul, inv, eye, mm, es, null, summ + + +def skeleton(q, betas=None): + n = 2*q+2 + out = [] + def a(d,s,c=I): out.append(('a',d,s,c)) + def query(d,s,depth): + if depth == 0: + out.append(('q',d,s,N)) + return + b,c = 2*depth, 2*depth+1 + a(c,d,neg(I));a(s,b) + query(d,s,depth-1) + a(s,b,neg(I));a(d,c) + out.append(('q',b,d,N)) + a(d,c,neg(I)) + out.append(('q',c,b,N)) + a(b,s);a(c,d);a(d,c,neg(I)) + out.append(('s',b,c,I)) + # All independent incoming b fields use the same paid input exposure. + betas=[F(1)]*q if betas is None else list(map(F,betas)) + for j in range(1,q+1):a(2*j,1,(F(0),betas[j-1])) + query(1,0,q) + out.append(('q',0,1,N));out.append(('q',1,0,N)) + out.append(('s',0,1,I)) + for j in range(1,q+1):a(2*j,1,(F(0),-betas[j-1])) + return n,out + + +def prefixes(q,betas=None): + n,ops=skeleton(q,betas) + M=eye(n);out=[] + for typ,d,s,c in ops: + if typ=='s': + M=[list(row) for row in M] + M[d],M[s]=M[s],M[d] + else: + M=mm(es(n,d,s,c),M) + if typ=='q':out.append((M,s,d)) + target=[[N if i==j else Z for j in range(n)]for i in range(n)] + if M!=target:raise ValueError('nested ideal skeleton not full N') + return ops,out + + +def rref_null(A): + return null(A) + + +def source_choice(B,src,prefer_real=True): + """Choose E-column coefficients with source1, minimizing N-row support. + + B has two E-columns. The search is only the finitely many possible + active constraints of its at-most-two-dimensional affine solution. + """ + n=len(B) + # c_j=a_j+N*b_j. Source normalization is exact (real1,N0). + realrows=[];imagrows=[] + for row in B: + realrows.append([z for x in row for z in (x[0],-x[1])]) + imagrows.append([z for x in row for z in (x[1],x[0])]) + def solve(A,b): + m=len(A);k=4;A=[list(row)+[rhs]for row,rhs in zip(A,b)];r=0;p=[] + for j in range(k): + h=next((h for h in range(r,m)if A[h][j]),None) + if h is None:continue + A[r],A[h]=A[h],A[r];v=A[r][j];A[r]=[x/v for x in A[r]] + for h in range(m): + if h!=r and A[h][j]: + v=A[h][j];A[h]=[x-v*y for x,y in zip(A[h],A[r])] + p.append(j);r+=1 + if any(not any(row[:k]) and row[k]for row in A):return None + x=[F(0)]*k + for h,j in enumerate(p):x[j]=A[h][k] + return x + candidates=[] + # Two normalization constraints leave at most two independent choices. + for count in range(3): + for chosen in combinations(range(n),count): + A=[realrows[src],imagrows[src]]+[imagrows[i]for i in chosen] + x=solve(A,[F(1),F(0)]+[F(0)]*count) + if x is None:continue + u=[summ(mul(z,(x[2*j],x[2*j+1]))for j,z in enumerate(row))for row in B] + if u[src]!=I:raise ValueError('source normalization') + key=(sum(z[1]!=0 for z in u),sum(z!=Z for z in u),sum(abs(z[0])+abs(z[1])for z in u)) + candidates.append((key,u,x)) + if not candidates:return None + return min(candidates,key=lambda t:t[0]) + + +def probe(q,c_weights=None,betas=None): + n=2*q+2;ops,pre=prefixes(q,betas) + weights=[1]*q if c_weights is None else c_weights + V=[[I if i==1 else Z, (F(weights[(i-3)//2]),F(0))if i>=3 and i%2 else Z]for i in range(n)] + rows=[] + for M,src,dst in pre: + answer=source_choice(mm(M,V),src) + rows.append((src,dst,answer)) + return rows + + +if __name__=='__main__': + for q in(1,2,3): + print('q',q) + for src,dst,res in probe(q): + print(src,'->',dst, None if res is None else (res[0],res[1])) diff --git a/research/coupled-tail-support-floor/source/caller/pivot_plane_probe.py b/research/coupled-tail-support-floor/source/caller/pivot_plane_probe.py new file mode 100644 index 0000000000..fd793eba19 --- /dev/null +++ b/research/coupled-tail-support-floor/source/caller/pivot_plane_probe.py @@ -0,0 +1,92 @@ +#!/usr/bin/env python3 +"""Bounded n4 source-retraction screen; actual code/native closure not inferred.""" +from fractions import Fraction as F +from itertools import product +from pathlib import Path +import json, sys +sys.dont_write_bytecode=True +Z=(F(0),F(0));I=(F(1),F(0));N=(F(0),F(1)) +def add(a,b):return(a[0]+b[0],a[1]+b[1]) +def neg(a):return(-a[0],-a[1]) +def mul(a,b):return(a[0]*b[0]-a[1]*b[1],a[0]*b[1]+a[1]*b[0]) +def inv(a): + d=a[0]*a[0]+a[1]*a[1] + if not d:raise ValueError('nonunit') + return(a[0]/d,-a[1]/d) +def eye(n):return [[I if i==j else Z for j in range(n)] for i in range(n)] +def mm(A,B):return [[summ(mul(x,y) for x,y in zip(r,c)) for c in zip(*B)] for r in A] +def summ(xs): + a=Z + for b in xs:a=add(a,b) + return a +def es(n,d,s,c): + A=eye(n);A[d][s]=c;return A +def null(A): + A=[list(r) for r in A];m=len(A);n=len(A[0]);p=[];r=0 + for c in range(n): + k=next((k for k in range(r,m) if A[k][c]),None) + if k is None:continue + A[r],A[k]=A[k],A[r];v=A[r][c];A[r]=[x/v for x in A[r]] + for j in range(m): + if j!=r and A[j][c]: + v=A[j][c];A[j]=[x-v*y for x,y in zip(A[j],A[r])] + p.append(c);r+=1 + if r==m:break + out=[] + for c in range(n): + if c in p:continue + v=[F(0)]*n;v[c]=F(1) + for j,d in enumerate(p):v[d]=-A[j][c] + out.append(v) + return out + +def rank(A): + A=[list(r) for r in A];m=len(A);n=len(A[0]);r=0 + for c in range(n): + k=next((k for k in range(r,m) if A[k][c]!=Z),None) + if k is None:continue + A[r],A[k]=A[k],A[r];v=inv(A[r][c]);A[r]=[mul(x,v) for x in A[r]] + for j in range(m): + if j!=r and A[j][c]!=Z: + v=A[j][c];A[j]=[add(x,neg(mul(v,y))) for x,y in zip(A[j],A[r])] + r+=1 + if r==m:break + return r + +def prefixes(n=4): + ops=[('q',0,1,N),('a',0,2,I),('q',1,0,N),('a',0,2,neg(I)),('a',1,3,I),('q',2,1,N),('a',1,3,neg(I)),('q',3,2,N),('a',1,3,I),('a',2,0,I),('q',0,3,neg(N)),('a',2,0,neg(I))] + M=eye(n);Mi=eye(n);out=[] + for typ,d,s,c in ops: + M=mm(es(n,d,s,c),M);Mi=mm(Mi,es(n,d,s,neg(c))) + if typ=='q':out.append((M,Mi,s,d)) + return out + +def real_source(B,src): + ns=null([[z for x in r for z in (x[1],x[0])] for r in B]) + for v in ns: + u=[summ(mul(x,(v[2*j],v[2*j+1])) for j,x in enumerate(r)) for r in B] + if any(x[1] for x in u):raise ValueError('nonreal null witness') + if u[src][0]:return [x[0]/u[src][0] for x in u] + return None + +def serial(A):return [[[str(x),str(y)] for x,y in r] for r in A] +def run(): + pre=prefixes();found=[];count=0;dimension_fail=0 + for tail1 in product((-1,0,1),repeat=3): + u1=list(map(F,tail1));u1.insert(pre[0][2],F(1)) + v1=mm(pre[0][1],[[(x,F(0))] for x in u1]) + for tail2 in product((-1,0,1),repeat=3): + count+=1;u2=list(map(F,tail2));u2.insert(pre[1][2],F(1)) + v2=mm(pre[1][1],[[(x,F(0))] for x in u2]) + V=[[v1[i][0],v2[i][0]] for i in range(4)] + if rank(V)!=2:dimension_fail+=1;continue + choices=[] + for M,Mi,src,dst in pre: + u=real_source(mm(M,V),src) + if u is None:break + choices.append([str(x) for x in u]) + else:found.append({'first_source':list(map(str,u1)),'second_source':list(map(str,u2)),'input_plane':serial(V),'source_retractions':choices}) + return {'status':'BOUNDED_EXACT_SOURCE_RETRACTION_SCREEN','candidate_pairs':count,'source_tail_alphabet':[-1,0,1],'dimension_failures':dimension_fail,'solutions':found,'scope':'Old n4 five-shear ideal topology only; arbitrary real source-retraction columns allowed at later queries. Source-code algebra, native encoder and actual correction are not inferred.','native_invoice_if_admitted':'Same five raw carriers plus full global fresh progress; constant bank GL source changes only. Any N-dependent initial plane encoder and terminal correction remain paid/open.'} +if __name__=='__main__': + out=run();Path(__file__).with_name('PIVOT-PLANE-PROBE.json').write_text(json.dumps(out,indent=2,sort_keys=True)+'\n');print(out['status'],out['candidate_pairs'],'pairs',len(out['solutions']),'solutions') + if out['solutions']:print(json.dumps(out['solutions'][0])) diff --git a/research/coupled-tail-support-floor/source/completed-gates-review/audit_gates.py b/research/coupled-tail-support-floor/source/completed-gates-review/audit_gates.py new file mode 100644 index 0000000000..273ac580b4 --- /dev/null +++ b/research/coupled-tail-support-floor/source/completed-gates-review/audit_gates.py @@ -0,0 +1,236 @@ +#!/usr/bin/env python3 +"""Independent identity, invoice and strand audit of two completed gates. +Apache-2.0; substantial OpenAI Codex assistance. No new supplier claim. +""" +from pathlib import Path +from fractions import Fraction +from collections import Counter +import hashlib, importlib.machinery, json, sys, argparse, copy +sys.dont_write_bytecode=True +HERE=Path(__file__).resolve().parent; R=HERE.parent +EXECUTED={};original=importlib.machinery.SourceFileLoader.get_code +def source_only(self, name): + p=Path(self.path) + if str(p).startswith('/Users/ross/git/math/'): + raw=p.read_bytes();EXECUTED[str(p)]=hashlib.sha256(raw).hexdigest() + return compile(raw,str(p),'exec',dont_inherit=True,optimize=0) + return original(self,name) +importlib.machinery.SourceFileLoader.get_code=source_only +sys.path.insert(0,str(R/'two-site-independent-audit')) +import audit_two_sites as independent +sys.path.insert(0,str(R/'caller-joint')) +import joint_algebra as ja +ce,qc=independent.ce,ja.qc +K=R/'general-clifford-retiming/kernel-search'; T=R/'pauli-caller-retiming' +def need(c,s): + if not c:raise ValueError(s) +def sha(p):return hashlib.sha256(Path(p).read_bytes()).hexdigest() +def stable(x):return json.dumps(x,sort_keys=True,separators=(',',':')) +def rank(vs): + basis={} + for v in vs: + while v: + bit=v.bit_length()-1 + if bit in basis:v^=basis[bit] + else:basis[bit]=v;break + return len(basis) +def eq(a,b):return ja.mono(a)==ja.mono(b) +def native(g):return rank(g.polar()) +def scalar(m,p):return qc.Mono(qc.identity(m).rows,0,(0,)*m,(0,)*m,0,p) +def N(m,s): + a=[0]*m;a[2*s]=3;a[2*s+1]=1 + return qc.Mono(qc.identity(m).rows,3<<(2*s),tuple(a),(0,)*m,0,1) +def P(m,s): + rows=list(qc.identity(m).rows) + for d in (0,1):rows[d],rows[2*s+d]=rows[2*s+d],rows[d] + return qc.Mono(tuple(rows),0,(0,)*m,(0,)*m) +def F(m,s): + x=qc.identity(m) + for i in range(1,s+1):x=N(m,i)@x + return x +def embed(d,m):return qc.Mono(tuple(d['rows'])+tuple(1<=4 and v<=4 and a>=max(v-2,0) and b>=max(v-2,0),'coupled rank restrictions') + mass=8*q*q+10*q+2+2*a+3*q*b+w+abs(ell-rho);stock=(2*q+2)*(4*q+v) + upper=(2*q+3)*v-(4*q+6)-2*a-(2*q+1)*b + need(stock-mass<=upper<=0,'all-q inequality at exact finite witness') + rows.append(dict(kernel=name,q=q,a=a,b=b,v=v,w=w,rho=rho,ell=ell,mass=mass,stock=stock,deficit=stock-mass)) + if q<=3: + case=next(x for x in data['fixtures'] if x['kernel']==name and x['default']['q']==q) + df,cf=case['default'],case['isolated'];E=df['events'];n=df['banks'] + col,row=independent.transported(df['prefix_events'],*cf['sites'],n,m) + bank=df['prefix_events'][cf['sites'][1]]['bank'] + need(all(not x for i,x in enumerate(col) if i!=bank) and all(not x for i,x in enumerate(row) if i!=bank),'independent complete forward-column/inverse-row isolation') + need(col[bank]==oldexpr(transport),'independent all-f actual transported column') + need(row[bank]==oldexpr(transport.inv()),'independent all-f actual transported inverse row') + hist=Counter(e['rank_per_f'] for e in cf['events'] if e['kind']=='NATIVE') + need(sum(r*c for r,c in hist.items())==mass==cf['mass'],'independent retained histogram invoice') + for e in E: + if e['kind'] not in ('ADD','SCALE','BANK_SWAP'):independent.old.event_op(e,m) + M=independent.replay_old(E,n,m);Mi=independent.replay_old(E,n,m,inverse=True) + target=oldexpr(F(m,k)@J);need(M==[[target if i==j else{}for j in range(n)]for i in range(n)],'independent full default target every original column all-f') + need(independent.mm(M,Mi)==independent.identity(n,m)==independent.mm(Mi,M),'independent default literal inverse both orders') + need(oldexpr(L)==independent.old.serialized_family(cf['L']),'saved L full tensor phase') + need(oldexpr(RR)==independent.old.serialized_family(cf['R']),'saved R full tensor phase') + Lop,Lex=independent.to_op(oldexpr(L));Rop,Rex=independent.to_op(oldexpr(RR)) + U=independent.op_of(json.dumps(cf['first_monomial']['literal_circuit']),m);ue=cf['events'][cf['sites'][0]];ve=cf['events'][cf['sites'][1]] + need(independent.equal_op(U,independent.op_of(json.dumps(ue['one_coordinate_literal_circuit']),m)) and ue['extra_global_phase_exponent_by_f_mod4']==[0]*4,'first actual event equals declared physical monomial family') + V=independent.op_of(json.dumps(ve['one_coordinate_literal_circuit']),m) + need(rank(x for x,z,p in U.tab[m:])==0,'first replacement physical monomial') + need(independent.equal_op(V,independent.mul(Lop,U.adjoint(),Rop)),'independent local V=L U^-1 R Gaussian phase') + need(ve['extra_global_phase_exponent_by_f_mod4']==[(a+b)%4 for a,b in zip(Lex,Rex)],'local replacement all-f tensor phase') + need(len(cf['events'])==len(cf['inverse_events']),'complete changed inverse event coverage') + for ef,ei in zip(cf['events'],reversed(cf['inverse_events'])): + need(ef['kind']==ei['kind'],'changed inverse event kind/order') + if ef['kind']=='ADD':need((ef['dst'],ef['src'])==(ei['dst'],ei['src']) and Fraction(ef['coefficient'])==-Fraction(ei['coefficient']),'changed inverse ADD sign') + elif ef['kind']=='SCALE':need(ef['bank']==ei['bank'] and Fraction(ef['coefficient'])*Fraction(ei['coefficient'])==1,'changed inverse SCALE') + elif ef['kind']=='BANK_SWAP':need(ef['banks']==ei['banks'],'changed inverse bank swap') + else: + of=independent.op_of(json.dumps(ef['one_coordinate_literal_circuit']),m);oi=independent.op_of(json.dumps(ei['one_coordinate_literal_circuit']),m) + need(stable(of.adjoint().circuit)==stable(oi.circuit) and of.adjoint().tab==oi.tab,'changed literal inverse unary actual adjoint') + need(ei['extra_global_phase_exponent_by_f_mod4']==[(-p)%4 for p in ef['extra_global_phase_exponent_by_f_mod4']],'changed inverse tensor phase sign') + bindings.append(dict(kernel=name,q=q,actual_original_columns=n,default_full_target_all_f=True,literal_inverse_orders=2,isolated_bank=bank,L_rank=ell,R_rank=rho,mass=mass,stock=stock)) + # Formula controls are sensitive to all-f phase and completed-frame conjugacy. + need(not eq(L,scalar(m,1)@L),'wrong whole-field phase rejected') + addr=embed(cases['address_swap_rankzero_J'],12) + need(native(addr)==0 and native(N(12,1)@addr@N(12,1).inv())==4,'completed J bill cannot use uncompleted arity') + need(native(embed(cases['odd_rankone_involution'],12))==1,'odd native skew response retained') + return dict(finite_rank_identity_grid=rows,actual_q2_q3_transport_bindings=bindings,controls=['wrong whole-field phase differs','completed address kernel rank changes 0 to 4','odd native rank one retained'],all_q_scope='Written proof conditional on displayed repeating scalar/isolation transport and fixed two-site edits; no all-q serialized physical compiler or selected-new-native admission.') +def phase_family(op,extra): + out=independent.from_circuit(op,0) + units=independent.UNITS + return {k:tuple(c*units[extra[r]%4] for r,c in enumerate(v))for k,v in out.items()} +def trajectory_checks(cert=None): + if cert is None:cert=json.loads((T/'TRAJECTORY-CERTIFICATES.json').read_text()) + results=[] + for f in cert['fixtures']: + m,n=f['ambient_arity'],f['banks'];src=json.loads((T/f['source']['path']).read_text()) + need(sha(T/f['source']['path'])==f['source']['sha256'],'trajectory source pin') + sf=next(x for x in src['fixtures'] if x['q']==f['q']);events=sf.get('full_events',sf['events']) + labels=list(range(n));ops=[ce.ident(m) for _ in range(n)];phase=[(0,)*4 for _ in range(n)] + for e in events: + if e['kind']=='BANK_SWAP': + i,j=e['banks'];labels[i],labels[j]=labels[j],labels[i];ops[i],ops[j]=ops[j],ops[i];phase[i],phase[j]=phase[j],phase[i] + elif e['kind'] not in ('ADD','SCALE'): + op=independent.op_of(json.dumps(e['one_coordinate_literal_circuit']),m);b=e['bank'];ops[b]=ops[b].then(op) + extra=e.get('extra_global_phase_exponent_by_f_mod4',[(e.get('phase_exponent',0)*(1-r))%4 for r in range(4)]) + phase[b]=tuple((a+c)%4 for a,c in zip(phase[b],extra)) + edges=f['edges'];used=[];unaries=[];bound=0 + for path in f['trajectories']: + at=0;op=ce.ident(m);extra=(0,)*4 + for eid in path['edges']: + used.append(eid);ed=edges[eid];need(ed['id']==eid and ed['u']==at,'trajectory edge incidence');at=ed['v'] + seg=independent.op_of(json.dumps(ed['one_coordinate_literal_circuit']),m);op=op.then(seg) + need(seg.tab==tuple(tuple(t)for t in ed['one_coordinate_tableau']),'edge actual signed operator') + extra=tuple((a+b)%4 for a,b in zip(extra,ed['extra_global_phase_exponent_by_f_mod4'])) + unaries.extend(ed['source_event_ordinals']) + need(at==0,'path endpoint Z boundary') + bank=labels.index(path['initial_bank']);need(bank==path['final_bank'],'physical strand transport includes swaps') + need(op.tab==ops[bank].tab and stable(op.circuit)==stable(ops[bank].circuit) and extra==phase[bank], + 'independent exact all-f literal holonomy circuit and tensor phase traversal') + r=rank(x for x,z,p in op.tab[m:]);need(r==path['native_holonomy_arity_per_f'],'independent holonomy native rank') + Z=tuple(1<<(m+i) for i in range(m));GZ=tuple(x|(z<=8f, exactly the q2 mechanism with8 in place6. + +For an all-q tail obeying the same declared event pattern, put k=2q+1 and +n=2q+2. The reverse-current calls on bank3 are on the distinct odd planes +5,7,...,k. Other tail public readers do not alter the coefficient of the +independent incoming bank3. Before Q recovery this coefficient is therefore + + R_q=epsilon_q (N5 N7 ... Nk)(P5 P7 ... Pk), + +in this ordered ADDRESS product. Each P_s commutes with later distinct N_t +for t!=s, permitting the N factors to be grouped on the left. The literal +source scalar phase epsilon_q is retained; it has no effect on row support. +For the frozen original J, W=F_k Q^-1 F_k^-1 is supported only on planes0/1 +and has native arity4f. The N5,N7,... factors act on disjoint planes outside +that support. The ADDRESS word on the right is monomial. Hence + + nu(W R_q)=4f+2(q-1)f=(2q+2)f=nf. + +The same support proof in PROOF.md gives R_f+S_f>=nf for any replacement +of this exact local interface, including extra restored arbitrary dirt. +The declared local inventory is final-a J2, q-1 reverse N2, Q4, final-k J2, +mass(2q+6)f. If the whole admitted template has mass(stock+4)f, then the +fixed prefix has mass(stock-n)f. It cannot get below stock through a +bounded-in-f scan replacement of this suffix. + +The invoice is for the same-volume FULL-BANK native macroarities. It does +not automatically reprice arbitrary partial-volume or striped calls; any +runtime corollary also needs an ADD scan lower bound of a fixed positive +multiple of the whole bank volume. + +This is a conditional tail lemma. It does not assert that a complete all-q +selected supplier/controller or the stock+4 prefix profile has been newly +compiled here. The exact complete suffix checks are q2 andq3. A changed +earlier source/fresh cut, kernel support, entrance/exit or owner contract +changes the hypotheses. Growing ADD counts/partial scan controllers need +their separate full work/transfer analysis. No new kappa or BIT is claimed. diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/HANDOFF.md b/research/coupled-tail-support-floor/source/coupled-tail-escape/HANDOFF.md new file mode 100644 index 0000000000..925e547ffb --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-escape/HANDOFF.md @@ -0,0 +1,55 @@ +# Coupled-tail escape: exact local stop gate + +Outcome: no bounded-in-f full-bank cleanup replacement of the saved final-a +suffix can cross stock at the fixed entrance/exit. No factorization census +was run after this early gate. The caller's earlier source/fresh/coupled +chronology remains an explicit constructive escape, rather than being +declared globally impossible. + +For admitted q2 mass76, the exact event69 suffix has mass10 and the unchanged +prefix mass66. Its complete six-by-six arbitrary-current-input matrix has +one coefficient C=WR of native arity6f. For admitted q3 mass132, the event119 +suffix has mass12 and fixed prefix120; the analogous coefficient has arity8f. +The endpoint stocks are72 and128. Complete local matrices, both actual +serialized inverse orders, all source phases and used-only selected recipe +pointers/embeddings are checked. The single-entry selected lowering only +certifies row support; it is not advertised as a complete new cleanup. + +For a replacement whose total FULL-BANK native macroarity is R_f and binary +ADD/accumulation count is S_f, maximum row support gives R_f+S_f>=6f(q2) +or8f(q3). These exact inequalities permit finite-f savings paid by ADDs; +with S_f bounded independently of f they force normalized native mass at +least6/8, reaching stock after the fixed prefix. Arbitrary extra dirty banks +restored and arbitrary monomial/scalar coupling topology are allowed by this +support proof. No clean or correlated input promise is used. + +All arrays here have the same full bank volume. A runtime corollary needs +each ADD scan to cost a fixed positive multiple of that volume. Partial, +striped or fused-volume query models are not automatically priced by the +unweighted histogram and need a separate weighted proof. Growing O(f) ADD +counts are a conditional escape from the bounded-scan conclusion, not a +claimed supplier or a globally impossible machine algorithm. + +`PROOF.md` gives the q2 local matrix/inverse and support argument. +`ALL-Q-TAIL-LEMMA.md` derives the same n=2q+2 entry rank condition for an +all-q tail with the declared reverse odd-plane pattern and stock+4 total +profile. This is conditional on that tail/profile: this package has not +newly compiled a complete all-q physical caller or native controller. +Exact complete suffix checks are q2/q3 only. + +Reproduce from this directory: + + python3 -B local_block.py + python3 -B -O local_block.py + python3 -B q3_tail.py + python3 -B -O q3_tail.py + +The initial optimized q3 readback was accidentally started before the +normal writer had saved its output and failed with a missing receipt. +It was rerun only after that file existed. This ordering failure and final +normal/optimized outcomes are retained in `VALIDATION.json`; no source or +mathematical check was skipped. q2 rejects an omitted reverse N5 (which +would spuriously lower the coefficient6 to4) and discarding incomingbank3. + +All original frozen words remain unchanged. No BIT, push, PR, publication, +owner or improved-kappa claim occurred. Final pins are in `MANIFEST.json`. diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/LOCAL-BLOCK.json.gz b/research/coupled-tail-support-floor/source/coupled-tail-escape/LOCAL-BLOCK.json.gz new file mode 100644 index 0000000000..c714f3d4e1 Binary files /dev/null and b/research/coupled-tail-support-floor/source/coupled-tail-escape/LOCAL-BLOCK.json.gz differ diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/MANIFEST.json b/research/coupled-tail-support-floor/source/coupled-tail-escape/MANIFEST.json new file mode 100644 index 0000000000..838b52032f --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-escape/MANIFEST.json @@ -0,0 +1,46 @@ +{ + "files": [ + { + "bytes": 2424, + "path": "ALL-Q-TAIL-LEMMA.md", + "sha256": "f3b8c42c0fe7d5c5a542e38fe0b3d14601c170959e18a45b60f26128703560b2" + }, + { + "bytes": 3049, + "path": "HANDOFF.md", + "sha256": "25aa7a2e7408cca9402e34ba809bb8a487c79a4d012d5b8c4700dc81502741aa" + }, + { + "bytes": 178927, + "path": "LOCAL-BLOCK.json", + "sha256": "aad2ee156a1f1e028b4e0329b4af1c38285f0be90c27da720d4bb71885c29294" + }, + { + "bytes": 7537, + "path": "PROOF.md", + "sha256": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587" + }, + { + "bytes": 275744, + "path": "Q3-LOCAL-BLOCK.json", + "sha256": "3ad4d1bb498cd67588af0c0558c32b441b35dac56b9f3bb7001ae317fadc28fa" + }, + { + "bytes": 1947, + "path": "VALIDATION.json", + "sha256": "e1b6ccf248fa65973645d41b34a7119f07df5d70e73dcfb36cf335ff2ec45e31" + }, + { + "bytes": 11678, + "path": "local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "bytes": 4952, + "path": "q3_tail.py", + "sha256": "8fac76761684d17231ae4d766b7d9464a4ff5675e99038dfbd839bb8cf0d1082" + } + ], + "no_new_kappa": true, + "status": "FROZEN_LOCAL_COUPLED_CLEANUP_SUPPORT_BOUNDARY" +} diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/PROOF.md b/research/coupled-tail-support-floor/source/coupled-tail-escape/PROOF.md new file mode 100644 index 0000000000..62c7762e8d --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-escape/PROOF.md @@ -0,0 +1,147 @@ +# Exact coupled-cleanup boundary at the q2 final-a cut + +The admitted q2 word has native rank mass76f and endpoint stock72f. Fix its +physical prefix through event68. That prefix costs66f. Replace the entire +suffix starting at event69, just before the final independent-a J query, +by any new coupled cleanup on the current banks, with optional extra dirty +banks restored. A strict native mass improvement below stock would require +the replacement to have normalized native mass below6. + +The exact suffix is not cheap enough under a bounded whole-bank scan word. +It contains an unavoidable original-current-input coefficient of native +arity6f. The argument below changes neither source nor current boundary and +permits arbitrary new scalar coupling topology within this local block. +It is therefore distinct from the earlier fixed-ADD-graph frame certificate +and isolated two-existing-site screens. + +## Complete arbitrary-input local target + +Use the actual six incoming physical banks x0,...,x5 at the event69 cut. +They are arbitrary independent arrays: the fixed prefix is reversible, so +its image is the full product space. No current public bank is promised zero +or correlated with another one for purposes of this local replacement. + +Set F=F5, let J be the actual frozen phase-correct skew response, and define + + A = F J F^-1, + Q = J^-1 (P1 N0^-1 J) J, + W = F Q^-1 F^-1, + R = -N5 P5. + +The chronological reverse-current step is P5, then N5, then the literal +minus sign, hence its operator is exactly R in this order. The native +arities of A,W,R are respectively2f,4f,2f. All complete circuits, phases, +selected recipe pointers/embeddings and inverse pointers are retained from +the unchanged admitted source. Both J applications are charged separately. + +Direct exact replay of events69 through90 gives the full local matrix +(rows and columns ordered0,...,5): + + [ A 0 0 0 0 0 ] + [ -WA 0 I-W WR I-W 0 ] + [ -A 0 I 0 0 0 ] + [ -AWA A A(I-W) A(W-I)R -AW 0 ] + [ 0 0 0 0 I 0 ] + [ 0 0 0 0 0 I ]. + +In particular bank2 is changed by its required public isolation; it is not +quietly restored to its incoming value. Banks4 and5 are arbitrary retained +inputs. The matrix involves four mutable bank outputs, even if a proposed +coupled controller calls only three of them active and treats bank2's ADD +as an outside scalar reader. That choice cannot discard its coefficient. + +An explicit inverse, with y the six output banks, is + + x0 = A^-1 y0, x2 = y2+y0, x4=y4, x5=y5, + z = W^-1(y1-x2-x4)+y0+x2+x4, + x3 = R^-1 z, + x1 = A^-1 y3+z-y1+x4. + +These are unitary operator inverses with paid source recipes, not free +inversion of a nonunit coefficient. The producer independently replays the +actual serialized local inverse and checks both matrix product orders on +all six arbitrary incoming columns in the exact all-f tensor-family algebra. + +## Native bill and the arity-six coefficient + +The suffix's entire native inventory is + + final-a A:2, reverse-current N5:2, W:4, final-original-k A:2, + +so the local bill is10 and the unchanged prefix bill is66. There are no +hidden SCALE gates in this suffix. Its source ADD and BANK_SWAP scans are +listed in the receipt and remain paid. A new local replacement must realize +the same matrix and the same current-input boundary; the current coefficient +from inputbank3 to outputbank1 is exactly the single Clifford + + C = W R = (F Q^-1 F^-1)(-N5 P5). + +Its B-block rank is6f. This is checked independently from the actual literal +source circuits, including the minus sign and Gaussian phase. The receipt +also lowers the coordinate operator to a rank6 selected Fourier child with +explicit physical monomial adapters, then independently recompiles it. +That recipe is only a witness for C's row support; it is not a completed +cleanup factorization or a new recursive supplier. + +Because both monomial adapters preserve row support, each row of C_f has +exactly2^(6f) nonzero original-address coefficients. The actual family is the +saved scalar phase times C_1 tensorf, so this holds for every positive f, +with no finite-f extrapolation and no scalar/permutation stand-in for C. + +## Support proof for any new local topology + +The native invoice here sums FULL-BANK query macroarities at the same bank +volume V_f as the fixed source. Actual selected child embeddings and their +primitive meaning must be retained. Partial-volume or striped queries do +not automatically have this unweighted native histogram; repricing them +requires a separate weighted argument. + +Consider the matrix of a proposed replacement on all current-bank and extra +dirty-bank coordinates. Initially every row is an identity row with support1. +If clean auxiliaries were expressly allowed, their zero coefficient rows +would also satisfy this upper bound; no such promise is needed here. + +An invertible monomial adapter, address permutation, field SCALE or literal +bank routing does not increase maximum row support. A native Clifford of +actual B-rank r has2^r nonzero entries per row, and therefore multiplies the +maximum support by at most2^r. A scalar binary ADD increases it by at most2. +A reversible COPY/target accumulation with two input rows is such a counted +binary operation; there is no free fan-in COPY. Arbitrary scalar coefficients +and cancellations can decrease support, not violate this upper bound. + +Consequently, if R_f is the sum of all native B-ranks in the replacement +and S_f counts its elementary binary ADD/accumulation scans, every output +row has support at most2^(R_f+S_f). The exact outputbank1/inputbank3 block +already has2^(6f) nonzeros in each row, so necessarily + + R_f + S_f >= 6f. + +This argument applies to arbitrary scalar/monomial coupling topology and +any number of restored arbitrary dirty registers. It does not assume that +the replacement intermediate coefficients are single Clifford rays, that +the old ADD graph is preserved, or that edits are row-confined. Additional +dirty inputs cannot change the required coefficient on the old inputbank3. + +For a fixed local scan word with S_f=O(1), this implies + + liminf_(f->infinity) R_f/f >= 6. + +Adding the fixed66f prefix prevents a total normalized mass below72 at this +cut. In the present integer-per-f query architecture, a candidate saving at +least6 from the original76 bill would use local mass at most4; it would +instead require S_f>=2f. This is the optimistic charge gate, before owner, +controller, COPY, precision or outer moment costs are added. + +This is not a pointwise native-only bound6f for one finite f: the exact +finite-f statement is R_f>=6f-S_f. A growing O(f) ADD word is a conditional +escape from the bounded-scan conclusion. Its full scan costs belong to a +separate transfer analysis. Here an elementary ADD is explicitly a scan +of the same full bank of volume V_f=2^(12f); each scalar/address operation +is charged, rather than hidden in a projected or partial-bank operation. +No exclusion of a different partial/fused-scan controller is inferred. + +Changing an earlier source/fresh-progress cut, the physical entrance/exit +gauges, or the target contract changes this local matrix and reopens the +problem. The weaker inequality does not prove the local minimum is6 or10, +nor say that no other coupled caller can improve the stock. No expensive +enumeration was run after the gate. No BIT or improved kappa is asserted. diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/Q3-LOCAL-BLOCK.json.gz b/research/coupled-tail-support-floor/source/coupled-tail-escape/Q3-LOCAL-BLOCK.json.gz new file mode 100644 index 0000000000..98f5394701 Binary files /dev/null and b/research/coupled-tail-support-floor/source/coupled-tail-escape/Q3-LOCAL-BLOCK.json.gz differ diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/VALIDATION.json b/research/coupled-tail-support-floor/source/coupled-tail-escape/VALIDATION.json new file mode 100644 index 0000000000..bee9a64974 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-escape/VALIDATION.json @@ -0,0 +1,80 @@ +{ + "commands": [ + { + "argv": [ + "python3", + "-B", + "local_block.py", + "--write" + ], + "exit_code": 0 + }, + { + "argv": [ + "python3", + "-B", + "-O", + "local_block.py" + ], + "exit_code": 0 + }, + { + "argv": [ + "python3", + "-B", + "q3_tail.py", + "--write" + ], + "exit_code": 0 + }, + { + "argv": [ + "python3", + "-B", + "-O", + "q3_tail.py" + ], + "exit_code": 0 + } + ], + "earlier_attempt": { + "argv": [ + "python3", + "-B", + "-O", + "q3_tail.py" + ], + "error": "FileNotFoundError for Q3-LOCAL-BLOCK.json: readback was started before normal writer finished; final rerun after file creation passed.", + "exit_code": 1 + }, + "files": [ + { + "path": "local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "path": "LOCAL-BLOCK.json", + "sha256": "aad2ee156a1f1e028b4e0329b4af1c38285f0be90c27da720d4bb71885c29294" + }, + { + "path": "PROOF.md", + "sha256": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587" + }, + { + "path": "q3_tail.py", + "sha256": "8fac76761684d17231ae4d766b7d9464a4ff5675e99038dfbd839bb8cf0d1082" + }, + { + "path": "Q3-LOCAL-BLOCK.json", + "sha256": "3ad4d1bb498cd67588af0c0558c32b441b35dac56b9f3bb7001ae317fadc28fa" + }, + { + "path": "ALL-Q-TAIL-LEMMA.md", + "sha256": "f3b8c42c0fe7d5c5a542e38fe0b3d14601c170959e18a45b60f26128703560b2" + } + ], + "no_active_processes": true, + "no_new_kappa": true, + "proof_domain": "Exact q2/q3 local current-input matrices; conditional all-q tail lemma only. R_f is full-bank same-volume native macroarity; partial/striped volume repricing outside.", + "status": "PASS_FINAL_Q2_Q3_LOCAL_MATRICES_INVERSES_PHASES_RECIPES_SUPPORT_WITNESSES" +} diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/local_block.py b/research/coupled-tail-support-floor/source/coupled-tail-escape/local_block.py new file mode 100644 index 0000000000..7395bf4486 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-escape/local_block.py @@ -0,0 +1,162 @@ +#!/usr/bin/env python3 +"""Exact arbitrary-input q2 cleanup block and its single-entry support gate. +Apache-2.0. Substantial OpenAI Codex assistance. No new caller/kappa. +""" +from pathlib import Path +from collections import Counter +import argparse, copy, hashlib, json, sys +sys.dont_write_bytecode = True +HERE = Path(__file__).resolve().parent +RUNDIR = HERE.parent +PINS = { + 'two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json': '30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f', + 'two-site-continuation/MANIFEST.json': '44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da', + 'folded-fusion/SIMPLIFIED-FUSIONS.json': '4491cfe2a1f3e48510b33403b9b50c704865c3b1dc6d659ef5157840654e8fc3', + 'caller-joint/joint_algebra.py': '5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232', + 'caller-joint/validate_recipe_links.py': '7457b3672d5a73c584d2073b5d3312e6429fd3f433151f15f8f07da33aa4c59a', +} +for relative, expected in PINS.items(): + if hashlib.sha256((RUNDIR / relative).read_bytes()).hexdigest() != expected: + raise ValueError('frozen source pin: ' + relative) +sys.path.insert(0, str(RUNDIR / 'caller-joint')) +from joint_algebra import * +from validate_recipe_links import compile_literal, compile_recipe, embedding_circuit + + +def extra(e): + return tuple(e.get('extra_global_phase_exponent_by_f_mod4', + [e.get('phase_exponent', 0)*(1-r) % 4 for r in range(4)])) + + +def produce(): + admitted = json.loads((RUNDIR / 'two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json').read_text()) + source = json.loads((RUNDIR / 'folded-fusion/SIMPLIFIED-FUSIONS.json').read_text()) + f = next(f for f in admitted['fixtures'] if f['q'] == 2) + old = next(f for f in source['fixtures'] if f['q'] == 2) + E = f['events']; m, n, cut = f['ambient_arity'], f['banks'], 69 + need(E[cut]['label'] == 'final independent a J query', 'exact local physical entrance cut') + suffix = copy.deepcopy(E[cut:]) + inverse = copy.deepcopy(f['inverse_events'][:len(suffix)]) + compiled = {} + used_pool = {} + # Every unchanged suffix unary retains an explicit source-event binding. + for direction, events in [('forward', suffix), ('inverse', inverse)]: + for e in events: + if e['kind'] in ('ADD', 'SCALE', 'BANK_SWAP'): + continue + source_event = old['events'][e['source_event_ordinal']] + g = qc.decode(source_event, m) + if e['source_operator_is_adjoint']: + g = g.inv() + e['x_monomial'] = g.data() + op = compile_literal(e['one_coordinate_literal_circuit'], m) + need(op.tab == tuple(tuple(t) for t in e['one_coordinate_tableau']), 'actual signed source unary') + need(ce.rank(x for x,z,p in op.tab[m:]) == e['rank_per_f'], 'actual source unary native rank') + # The physical definition is compared with the pinned symbolic + # coordinate definition using a separately constructed circuit. + from joint_prefix import inverse_transpose + circ=[] + for i,a in enumerate(g.alpha): + if a%4 == 1:circ.append(('C',1<>j&1:circ.extend([('C',1<>i)&1)for i in range(m))), + ('phase',(g.constant+g.global_phase)%4)]) + same(compile_literal(circ,m), op, 'actual source unary exact Gaussian phase') + need(extra(e) == tuple(g.global_phase*(1-r)%4 for r in range(4)), 'actual all-f source tensor phase correction') + if e['kind'] == 'NATIVE': + key=e['native_recipe_id']; rec=f['native_recipe_pool'][key] + local_n=len(rec['one_coordinate_tableau'])//2 + selected=compile_recipe(rec['selected_native_recipe'],local_n) + full=compile_literal(embedding_circuit(selected.circuit,e['recipe_embedding'],m),m) + same(full,op,'every used forward/inverse selected source recipe and embedding') + need(tuple(rec['extra_global_phase_exponent_by_f_mod4'])==extra(e),'selected source recipe tensor-phase correction') + used_pool[key]=rec + compiled[(direction,e['label'])] = op + M = qc.replay(suffix,n,m); Mi = qc.replay(inverse,n,m) + need(mm(M,Mi) == mm(Mi,M) == eye(n,m), 'complete serialized suffix inverse both orders on every arbitrary input') + A = qc.decode(next(e for e in suffix if e['label']=='final independent a J query'),m) + W = qc.decode(next(e for e in suffix if e['label']=='dual Q1 recovery'),m) + reverse_events = [e for e in suffix if e['label'] in ('w reverse2 ADDRESS','w reverse2 selected native2','final extraction D_final inverse sign')] + RR = qc.identity(m) + for e in reverse_events:RR = qc.decode(e,m) @ RR + F5 = prefix(m,5); Q = j_operator(m).inv() @ plane_swap(m,0,1) @ n_pair(m,0).inv() @ j_operator(m) @ j_operator(m) + need(mono(A) == mono(F5@j_operator(m)@F5.inv()), 'actual A definition') + need(mono(W) == mono(F5@Q.inv()@F5.inv()), 'actual W definition') + minus = qc.Mono(qc.identity(m).rows,0,(0,)*m,(0,)*m,0,2) + need(mono(RR) == mono(minus@n_pair(m,5)@plane_swap(m,0,5)), 'actual reverse-current operator and minus phase') + I = mono(qc.identity(m)); Z = {}; IW = add(I,scale(mono(W),-1)) + expected = [[{}for _ in range(n)]for _ in range(n)] + expected[0][0] = mono(A) + expected[1][0] = scale(mono(W@A),-1); expected[1][2] = IW; expected[1][3] = mono(W@RR); expected[1][4] = IW + expected[2][0] = scale(mono(A),-1); expected[2][2] = I + expected[3][0] = scale(mono(A@W@A),-1); expected[3][1] = mono(A) + expected[3][2] = product(mono(A),IW) + expected[3][3] = product(mono(A),product(scale(IW,-1),mono(RR))) + expected[3][4] = scale(mono(A@W),-1) + expected[4][4] = I; expected[5][5] = I + need(M == expected, 'literal entire local block equals six-by-six symbolic operator target') + need(len(M[1][3]) == 1 and qc.rank(next(iter(M[1][3])).polar()) == 6, 'single actual arity-six input3/output1 coefficient') + # Independently lower that exact coefficient to certify its uniform row + # support. This recipe is a witness, not a proposed complete cleanup. + C = ce.ident(m); ce_extra = [0]*4 + for e in reverse_events + [next(e for e in suffix if e['label']=='dual Q1 recovery')]: + C = C.then(compile_literal(e['one_coordinate_literal_circuit'],m)) + ce_extra = [(x+y)%4 for x,y in zip(ce_extra,extra(e))] + need(ce.rank(x for x,z,p in C.tab[m:]) == 6, 'coefficient physical B-rank6') + recipe, lowered = ce.lower_child(C) + need(recipe['rank'] == 6, 'explicit selected Fourier rank for support witness') + same(lowered,C,'support-witness selected child exact Gaussian phase') + same(compile_recipe(recipe,m),C,'independent support-witness recipe recompilation') + before = sum(e['rank_per_f']for e in E[:cut]if e['kind']=='NATIVE') + local_hist = Counter(e['rank_per_f']for e in suffix if e['kind']=='NATIVE') + local = sum(r*c for r,c in local_hist.items()) + need(before == 66 and local == 10 and before+local == f['native_mass'] == 76, 'complete unchanged-prefix plus local-native bill') + need(f['stock'] == 72 and f['stock']-before == 6, 'exact below-stock local threshold') + mutant = [[dict(v) for v in row] for row in M];mutant[1][3] = {} + need(mutant != M, 'discarding arbitrary incoming bank3 changes an original coefficient') + omitted_reverse = [e for e in suffix if e['label'] != 'w reverse2 selected native2'] + wrong = qc.replay(omitted_reverse,n,m) + need(wrong != M and len(wrong[1][3]) == 1, 'omitting the reverse-current native query changes the arbitrary-input block') + need(qc.rank(next(iter(wrong[1][3])).polar()) == 4, 'omitted reverse query spuriously lowers the witness rank') + need(not any(e['kind']=='SCALE'for e in suffix),'actual suffix needs no hidden SCALE cancellation') + return dict(status='PASS_EXACT_COUPLED_CLEANUP_BLOCK_AND_SUPPORT_BOUNDARY', no_new_kappa=True, + producer_sha256=hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + source_pins=[dict(path=str(RUNDIR/p),sha256=h)for p,h in PINS.items()], + q=2,banks=n,ambient_arity=m,cut_event_ordinal=cut,cut_label=E[cut]['label'], + unchanged_prefix_native_mass=before,local_native_histogram=dict(sorted(local_hist.items())),local_native_mass=local, + complete_mass=76,endpoint_stock=72,strict_improvement_requires_local_native_mass_less_than=6, + events=suffix,inverse_events=inverse,native_recipe_pool=used_pool, + all_original_local_columns=n,literal_inverse_orders=2, + complete_local_matrix=sm(M),complete_local_inverse=sm(Mi), + operators=dict(A=A.data(),W=W.data(),R=RR.data()), + unavoidable_entry=dict(row=1,column=3,operator=serial(M[1][3]),native_arity_per_f=6, + one_coordinate_tableau=C.tab,one_coordinate_literal_circuit=C.circuit, + extra_global_phase_exponent_by_f_mod4=ce_extra, + support_witness_selected_native_recipe=recipe, + role='Only certifies row support of an entry; not an executed new cleanup/native invoice.'), + all_f_support_inequality='sum_native_arities_R_f + binary_fullbank_ADD_count_S_f >=6f', + constant_scan_consequence='For this exact local interface, bounded-in-f ADD count implies liminf R_f/f>=6; unchanged prefix66f then gives asymptotic total>=72f.', + finite_f_scope='R_f>=6f-S_f, not a pointwise native-only6f lower bound when S_f is positive.', + non_native_event_counts=dict(Counter(e['kind']for e in suffix if e['kind']!='NATIVE')), + negative_controls=['Discarding arbitrary incoming bank3 deletes a nonzero arity6 coefficient and is rejected.', + 'Omitting reverse-current N5 changes the exact matrix and spuriously lowers entry rank6 to4; rejected.'], + limits=['Any replacement must realize this exact current-input matrix on all arbitrary banks, not only a clean/correlated subspace.', + 'Arbitrary extra dirty registers restored are permitted by the support proof; their identity coefficient rows start with support1.', + 'Native rank mass lower bound uses monomial adapters/scalars of row support1 and binary ADD/COPY gates, counting every support-doubling scan.', + 'Growing O(f) ADD counts, partial/fused scan machine models, changed input/output gauges or an earlier fresh/source/coupled cut require separate analysis.', + 'No expensive enumeration, new full cleanup factorization, supplier, owner, BIT, recurrence or kappa admission.']) + + +def main(): + p = argparse.ArgumentParser();p.add_argument('--write',action='store_true');a=p.parse_args() + result=json.loads(json.dumps(produce()));out=HERE/'LOCAL-BLOCK.json' + if a.write:out.write_text(json.dumps(result,indent=2,sort_keys=True)+'\n') + else:need(json.loads(out.read_text())==result,'saved coupled local block') + print(result['status'],'fixed66 + local10; unavoidable entry6f; no bounded-scan local bill<6f') + + +if __name__=='__main__':main() diff --git a/research/coupled-tail-support-floor/source/coupled-tail-escape/q3_tail.py b/research/coupled-tail-support-floor/source/coupled-tail-escape/q3_tail.py new file mode 100644 index 0000000000..7cf3206bb1 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-escape/q3_tail.py @@ -0,0 +1,69 @@ +#!/usr/bin/env python3 +"""Exact q3 suffix and the same isolated entry support boundary. +Apache-2.0. Substantial OpenAI Codex assistance. No all-q caller claim. +""" +from pathlib import Path +import argparse,copy,hashlib,json,sys +sys.dont_write_bytecode=True +HERE=Path(__file__).resolve().parent +sys.path.insert(0,str(HERE)) +import local_block as base +from joint_algebra import * +from validate_recipe_links import compile_literal,compile_recipe,embedding_circuit + + +def produce(): + R=base.RUNDIR + a=next(f for f in json.loads((R/'two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json').read_text())['fixtures']if f['q']==3) + b=next(f for f in json.loads((R/'folded-fusion/SIMPLIFIED-FUSIONS.json').read_text())['fixtures']if f['q']==3) + cut=next(i for i,e in enumerate(a['events'])if e['label']=='final independent a J query') + E=copy.deepcopy(a['events'][cut:]);Ei=copy.deepcopy(a['inverse_events'][:len(E)]);n,m=8,16;pool={} + for events in(E,Ei): + for e in events: + if e['kind']in('ADD','SCALE','BANK_SWAP'):continue + old=b['events'][e['source_event_ordinal']];g=qc.decode(old,m) + op=compile_literal(old['one_coordinate_literal_circuit'],m) + ep=tuple(old['phase_exponent']*(1-r)%4 for r in range(4)) + if e['source_operator_is_adjoint']:g=g.inv();op=op.adjoint();ep=tuple(-x%4 for x in ep) + e['x_monomial']=g.data();actual=compile_literal(e['one_coordinate_literal_circuit'],m) + same(actual,op,'q3 actual source unary signed operator and Gaussian phase') + need(base.extra(e)==ep,'q3 all-f source phase') + if e['kind']=='NATIVE': + rec=a['native_recipe_pool'][e['native_recipe_id']];d=len(rec['one_coordinate_tableau'])//2 + selected=compile_recipe(rec['selected_native_recipe'],d) + full=compile_literal(embedding_circuit(selected.circuit,e['recipe_embedding'],m),m) + same(full,actual,'q3 current forward/inverse selected recipe') + need(tuple(rec['extra_global_phase_exponent_by_f_mod4'])==ep,'q3 selected recipe all-f phase') + pool[e['native_recipe_id']]=rec + M=qc.replay(E,n,m);Mi=qc.replay(Ei,n,m) + need(mm(M,Mi)==mm(Mi,M)==eye(n,m),'q3 serialized entire local inverse bothorders') + reverse=[e for e in E if e['label'].startswith('w reverse')and e['kind']!='ADD' or e['label']=='final extraction D_final inverse sign'] + W=next(e for e in E if e['label']=='dual Q1 recovery');Rop=qc.identity(m) + C=ce.ident(m);phase=[0]*4 + for e in reverse+[W]: + C=C.then(compile_literal(e['one_coordinate_literal_circuit'],m));phase=[(x+y)%4 for x,y in zip(phase,base.extra(e))] + for e in reverse:Rop=qc.decode(e,m)@Rop + need(M[1][3]==mono(qc.decode(W,m)@Rop),'q3 exact single WR incoming3/output1 coefficient') + need(len(M[1][3])==1 and ce.rank(x for x,z,p in C.tab[m:])==8,'q3 native arity8 entry') + rec,compiled=ce.lower_child(C);same(compiled,C,'q3 support witness exact Gaussian lowering');same(compile_recipe(rec,m),C,'q3 support recipe recompilation') + need(rec['rank']==8,'q3 support witness Fourier rank') + local=sum(e['rank_per_f']for e in E if e['kind']=='NATIVE');before=a['native_mass']-local + need((cut,local,before,a['stock'])==(119,12,120,128),'q3 exact local/full invoice') + return dict(status='PASS_Q3_COUPLED_SUFFIX_SUPPORT_GATE',no_new_kappa=True,producer_sha256=hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + q=3,banks=n,ambient_arity=m,cut_event_ordinal=cut,unchanged_prefix_native_mass=before,local_native_mass=local,whole_native_mass=132,stock=128, + events=E,inverse_events=Ei,native_recipe_pool=pool,complete_local_matrix=sm(M),complete_local_inverse=sm(Mi), + unavoidable_entry=dict(row=1,column=3,operator=serial(M[1][3]),native_arity_per_f=8,one_coordinate_tableau=C.tab, + one_coordinate_literal_circuit=C.circuit,extra_global_phase_exponent_by_f_mod4=phase,support_witness_recipe=rec), + support_inequality='R_f+S_f>=8f; fixed120f prefix prevents total<128f for bounded-in-f ADD scans.', + source_pins=[dict(path=str(R/p),sha256=h)for p,h in base.PINS.items()],base_producer_sha256=hashlib.sha256(Path(base.__file__).read_bytes()).hexdigest(), + scope='Exact q3 local suffix on all8 arbitrary incoming banks and both serialized inverse orders; conditional all-q tail lemma is separate, not an all-q complete caller.') + + +def main(): + p=argparse.ArgumentParser();p.add_argument('--write',action='store_true');a=p.parse_args();out=json.loads(json.dumps(produce()));target=HERE/'Q3-LOCAL-BLOCK.json' + if a.write:target.write_text(json.dumps(out,indent=2,sort_keys=True)+'\n') + else:need(json.loads(target.read_text())==out,'saved q3 local suffix') + print(out['status'],'prefix120/local12/entry8/stock128') + + +if __name__=='__main__':main() diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/AUDIT.json b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/AUDIT.json new file mode 100644 index 0000000000..0df2fbffb2 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/AUDIT.json @@ -0,0 +1,95 @@ +{ + "cases": [ + { + "all_current_columns": 6, + "banks": 6, + "controls": [ + "actual reverse-query omission rejected", + "f2-only native phase mutant rejected" + ], + "cut": 69, + "literal_inverse_orders": 2, + "local_histogram": { + "2": 3, + "4": 1 + }, + "local_native_mass": 10, + "prefix_native_histogram": { + "2": 33 + }, + "prefix_native_mass": 66, + "q": 2, + "single_entry_arity": 6, + "single_entry_row_support": "2^(6f) in every row; exact Bruhat factors are monomial/native/monomial", + "stock": 72, + "used_native_recipes": 8, + "whole_native_mass": 76 + }, + { + "all_current_columns": 8, + "banks": 8, + "controls": [ + "actual reverse-query omission rejected", + "f2-only native phase mutant rejected" + ], + "cut": 119, + "literal_inverse_orders": 2, + "local_histogram": { + "2": 4, + "4": 1 + }, + "local_native_mass": 12, + "prefix_native_histogram": { + "2": 60 + }, + "prefix_native_mass": 120, + "q": 3, + "single_entry_arity": 8, + "single_entry_row_support": "2^(8f) in every row; exact Bruhat factors are monomial/native/monomial", + "stock": 128, + "used_native_recipes": 8, + "whole_native_mass": 132 + } + ], + "conditional_tail_rank_grid": [ + { + "coefficient_rank": 6, + "q": 2 + }, + { + "coefficient_rank": 8, + "q": 3 + }, + { + "coefficient_rank": 10, + "q": 4 + }, + { + "coefficient_rank": 12, + "q": 5 + }, + { + "coefficient_rank": 14, + "q": 6 + }, + { + "coefficient_rank": 16, + "q": 7 + }, + { + "coefficient_rank": 18, + "q": 8 + }, + { + "coefficient_rank": 20, + "q": 9 + }, + { + "coefficient_rank": 22, + "q": 10 + } + ], + "no_new_kappa": true, + "scope": "Exact q2/q3 current-input suffixes, all-f phases; conditional all-q tail pattern only. Support inequality charges every elementary binary ADD and same-volume full-bank native macro. No pointwise native-only floor or partial-volume claim.", + "status": "PASS_INDEPENDENT_COUPLED_TAIL_ENTRY_PHASE_INVOICE_AND_SUPPORT_REVIEW" +} diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/HANDOFF.md b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/HANDOFF.md new file mode 100644 index 0000000000..55a18eba18 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/HANDOFF.md @@ -0,0 +1,38 @@ +# Coupled-tail independent audit + +No defect found in the covered exact q2/q3 suffixes, support lemma or +conditional full-scan bridge. See `REVIEW.md` and `AUDIT.json`. + +The independent literal replay verifies all current-input columns, both +serialized inverse orders, native recipes/embeddings, Gaussian f residues, +the complete q2 symbolic matrix and explicit inverse, and exact WR entry. +The q2 entrance is cut69: prefix66/local10/entry6/stock72. The q3 entrance +is cut119: prefix120/local12/entry8/stock128. Source slices are bound to the +frozen admitted full word. The previous complete-prefix semantic audit is +retained; its native invoice is recounted here. + +The precise local bound is R_f+S_f>=6f/8f with EVERY binary full-bank +ADD/COPY accumulation counted. It is not a pointwise pure-native floor. +Arbitrary restored dirty banks are allowed. The support-only child recipe +is not counted as an executed new query. Omitting a reverse native query +and mutating only the f2 phase residue are rejecting controls. + +The full-scan corollary assumes actual work>=c V_f S_f and total available +budget o(V_f f), or O(V_f f^lambda P(f)) with P=o(f^(1-lambda)). Under +equal-volume full-bank normalization the resulting limiting moment also +fails strictly for every positive b. No unrestricted precision factor, +partial-volume primitive or free fused scan is inferred. The all-q tail +extension is conditional; complete exact suffix fixtures remain q2/q3. + +Reproduce from this directory: + +``` +python3.12 -B audit_tail.py +python3.12 -B -O audit_tail.py +python3.12 -B validate_review.py +python3.12 -B -O validate_review.py +``` + +Owned/source hashes are in MANIFEST.json and SOURCE-PINS.json. All previous +reviews, producer inputs, primary checkout and publication/BIT resources +remain untouched. No new supplier, global obstruction or kappa is claimed. diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/MANIFEST.json b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/MANIFEST.json new file mode 100644 index 0000000000..ac4d4abc42 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/MANIFEST.json @@ -0,0 +1,42 @@ +{ + "files": [ + { + "bytes": 2255, + "path": "AUDIT.json", + "sha256": "c1b850bfdab5328a1ecaabf36400b4d49830131cb8eb6e0ed5c74ff5d975efe0" + }, + { + "bytes": 1844, + "path": "HANDOFF.md", + "sha256": "fec073544043700346cd4601d646e2b68a07eeac6ee7d053f416e0a69527b9ba" + }, + { + "bytes": 8008, + "path": "REVIEW.md", + "sha256": "dc3d42299d482d71bb06cb0d668ae6bfbc7bf3c6ba1068f840e706858b67123a" + }, + { + "bytes": 8551, + "path": "SOURCE-PINS.json", + "sha256": "e86465b4fb10b3597cc6ec59ce8f24e828301683a5e7f8e1b51d646ae83dabc8" + }, + { + "bytes": 695, + "path": "VALIDATION.json", + "sha256": "3b56a7d435fb88054ef73c4a1f26701cda45f7129e25d745323cceb35480467b" + }, + { + "bytes": 9836, + "path": "audit_tail.py", + "sha256": "18f72f8e4e69595484304e1bacdb3d8f8bfc3f9bfad71aa1038adfb1808f955d" + }, + { + "bytes": 882, + "path": "validate_review.py", + "sha256": "51c079b41571d73af9548fb23502117112d1ac3ac8f64a7149c6d997c1e6033f" + } + ], + "no_new_kappa": true, + "scope": "Independent exact q2/q3 coupled-tail entry/inverse/native phase review, conditional support/full-scan bridge; no all-q complete caller.", + "source_count": 33 +} diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/REVIEW.md b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/REVIEW.md new file mode 100644 index 0000000000..8a7212f5a4 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/REVIEW.md @@ -0,0 +1,149 @@ +# Independent coupled-tail review + +No correctness defect was found within the declared current-input/full-bank +macro interface. All source and prior review directories remain unchanged. +This review covers the frozen `../coupled-tail-escape/` package and the +conditional full-scan bridge in section4 of +`../joint-threshold-screen/PROOF.md`; it does not independently review that +screen's upstream candidate, selected-record or numerical planning claims. + +## Exact suffix and coefficient + +The local words are exact contiguous slices of the previously admitted +complete source, including their serialized inverse slices. The q2 cut is +event69, just before the final independent-a query; q3 is event119. Since +the unchanged complete prefix is reversible on arbitrary fields, the local +entrance fields are independent. No zero or correlation promise may be +used by a replacement required to implement this full local interface. + +An independent literal Gaussian/tensor-family replay checks the entire +local matrix, the saved inverse and both product orders. It also checks +every actual native forward/inverse recipe, coordinate embedding, literal +definition, signed tableau and four-residue phase correction; the recipe +pool is used-only. The newly introduced symbolic `x_monomial` shadows are +compared to the actual literal operators rather than used as unchecked +replacements. The complete q2 six-row matrix in the source proof agrees, +including bank2's public-isolation change and arbitrary retained banks4/5. +The explicit prose inverse was independently assembled and agrees too. + +Let A=FJF^-1, W=FQ^-1F^-1 and R be the ordered reverse-current product. +For both fixtures the output1/input3 block is exactly the single operator +WR, with its actual Gaussian sign and tensor residues. In q2, +`R=-N5 P5`; its order is the chronological P5, N5, then minus sign. +Because W is confined to planes0/1 and has native rank4, the disjoint +fresh N5 contributes2. Thus WR has rank6. The actual q3 reverse product +contributes the two disjoint fresh planes5/7 and gives rank8. The literal +support-witness recipes recompile to the coefficient with the exact +Gaussian phase. They certify support; they are not added to the executed +invoice as a new cleanup call. + +All native invoices are recounted from the actual complete source events: + +| q | Cut | Prefix | Local histogram | Local bill | Whole | Stock | Entry arity | +| --- | ---: | ---: | --- | ---: | ---: | ---: | ---: | +| 2 | 69 | 66 | H2=3,H4=1 | 10 | 76 | 72 | 6 | +| 3 | 119 | 120 | H2=4,H4=1 | 12 | 132 | 128 | 8 | + +Every figure is multiplied by f. The unchanged prefix's complete operator +admission is inherited from the pinned previous independent audit; this +review recounts its actual invoice and independently verifies the entire +local current-input operator. Omitting one actual reverse-current native +query changes the local matrix and spuriously lowers the entry rank by2. +An f=2-only phase mutation is also rejected. These are all-input controls, +not clean-state tests. + +## Support inequality and arbitrary dirty banks + +Let h be the maximum row support of the cumulative coefficient matrix on +all current original and auxiliary bank/address coordinates. Initially +h=1 on identity rows (zero rows, if separately permitted, do not hurt). +An address/phase monomial, scalar multiplication or bank permutation does +not increase h. A native rank-r macro has exactly2^r entries per row, so +its output row is a sum of at most2^r prior rows and h increases by at +most that factor. A counted binary ADD or target accumulation combines +two previous rows and increases h by at most2. Arbitrary coefficients or +cancellation only reduce support relative to this union bound. + +Thus every output row of any proposed replacement has support at most +`2^(R_f+S_f)`, where R_f is the sum of actual native macroarities and S_f +counts every elementary binary ADD/COPY accumulation. The required WR +block has exactly `2^(6f)` or `2^(8f)` entries in every row: its exact +native/monomial/native-adapter witness preserves row support. Inputs of +other banks occupy disjoint coefficient columns, so they cannot cancel +this required independent-input block. Additional arbitrary dirty banks +only add initial identity columns; restoring them cannot remove the old +input3 coefficient. Hence + + q2: R_f+S_f>=6f, q3: R_f+S_f>=8f. + +This permits arbitrary new scalar/monomial coupling topology inside this +fixed local block. It does not fix the old ADD graph or confine edits to +one row. It assumes the declared linear macro alphabet; arbitrary nonlinear +value gates or support-growing primitives with an omitted charge are not +licensed by the proof. + +The exact finite-f bound is `R_f>=nf-S_f`, n=6/8, not a native-only +pointwise `R_f>=nf`. Bounded or sublinear S_f gives only +`liminf R_f/f>=n`. Together with the fixed prefixes66f/120f, that excludes +a fixed asymptotic below-stock native deficit at these entrances. It does +not prove the local optimum is6/8 or10/12. + +The support count uses the SAME-VOLUME FULL-BANK native query macro tariff. +It does not identify unweighted macroarity with the cost of arbitrary +striped or partial-volume primitive queries. Such queries need their own +weighted invoice and implementation analysis. COPY is not a free fan-in +primitive; every binary target accumulation must be counted. + +## Conditional all-q tail pattern + +For the stated repeating tail, R_q is a scalar unit times the ordered +product of reverse-current native/permutation factors on odd planes5..k. +Each P_s commutes with N_t for distinct fresh s,t, so those N factors can +be grouped on the left without moving them through W. W remains supported +on planes0/1. The remaining ADDRESS product is a right monomial, and + + nu(W R_q)=4+2(q-1)=2q+2. + +The independent q2..10 arity grid corroborates this disjoint-support proof. +The exact complete suffix fixtures are only q2/q3. The all-q cost statement +is conditional on the declared tail event pattern, unchanged boundary, +and stock+4 complete profile; it is not a newly compiled all-q supplier. +The scalar phase epsilon_q must be retained for operator equality although +it does not affect the support bound. + +## Full-scan bridge + +Section4 of the threshold note is correct under its explicit cost premises: +the counted operations must incur actual work +`T_scan(f)>=c V_f S_f` for fixed c>0, and the complete available overhead +must be `o(V_f f)`. Merely writing down a sequence of formal full-field +ADDs is not a lower bound for a different fused or partial-volume primitive +implementation. Here S_f counts actual elementary binary operations in the +declared macro model, with all required per-record work charged. + +A fixed native shortfall `R_f<=(n-delta)f` forces `S_f>=delta f`, giving +`T_scan=Omega(V_f f)`. It cannot fit a budget +`O(V_f f^lambda P(f))` with lambda<1 and +`P(f)=o(f^(1-lambda))`. An unrestricted precision/field/controller multiplier +cannot be dropped. The threshold note explicitly leaves the changed +caller/source/precision linkage unproved; this review does too. + +Under that sublinear full-scan budget S_f=o(f). For equal-volume full-bank +child normalization and p=1-b in(0,1), subadditivity gives +`sum x_i^p >= (sum x_i)^p`. The limiting cleanup moment is therefore at +least `(n/m)^p=(1/2)^p`. The actual fixed prefixes give respectively + + 33(1/6)^p+(1/2)^p > 6, + 60(1/8)^p+(1/2)^p > 8. + +These strict inequalities follow because at p=1 the sums are exactly +stock and every displayed fraction is below1. They exclude a favorable +native component moment for these fixed cuts under that normalization +and scan budget. They do not themselves prove a new multiplication +recurrence or a precision/tape theorem. + +Changed earlier cuts, output or entrance gauges, owner contracts, native +alphabet, physical volumes, helper interactions outside this block or +partial/fused machine primitives reopen a premise. No local minimum, +global caller lower bound, formal-kernel certificate, BIT result or kappa +claim is made. diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/SOURCE-PINS.json b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/SOURCE-PINS.json new file mode 100644 index 0000000000..104ecdec8e --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/SOURCE-PINS.json @@ -0,0 +1,171 @@ +{ + "files": [ + { + "bytes": 17392, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-changed-endpoints-20261019T0153Z/stabilizer-escape/full_stabilizer_bound.py", + "sha256": "f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75" + }, + { + "bytes": 2125, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/free_ops.py", + "sha256": "5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77" + }, + { + "bytes": 9769, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_family.py", + "sha256": "88f425d12baf8a4f849cccd24605f21680eb8ce8d199054db4b4e7734eca72b6" + }, + { + "bytes": 4005, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_prefix.py", + "sha256": "9ec10cb0243c0c829475ad7290f4953cdff27cb0f90f70b687c4bbee98af676b" + }, + { + "bytes": 3919, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/pivot_plane_probe.py", + "sha256": "fcd0a4a0a301c4fddfb8b132894e8b5b751b08cacdb0e5ed41e80b0d4903d499" + }, + { + "bytes": 7160, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/conjugated_reflection.py", + "sha256": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f" + }, + { + "bytes": 10638, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/even_parity_source.py", + "sha256": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3" + }, + { + "bytes": 6086, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/lifted_algebra.py", + "sha256": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9" + }, + { + "bytes": 3533, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/native_model.py", + "sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3" + }, + { + "bytes": 11641, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/orthogonal_source_normalizer.py", + "sha256": "c6373762bd15763625cc9237bb280a5e26ab8e53d6bfb034474f068b1525e6fa" + }, + { + "bytes": 11772, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/root-chronology/quadratic_charts.py", + "sha256": "de2a36f6a6b567360c90477b58da44e2f1b618fd006d058ab1ea04e983952c3f" + }, + { + "bytes": 5327, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/joint_algebra.py", + "sha256": "5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232" + }, + { + "bytes": 2030, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/MANIFEST.json", + "sha256": "ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3" + }, + { + "bytes": 17680, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/audit_gates.py", + "sha256": "051ba51e02e9f143b8a8bea0b91d69e7e1e32edf0f98d2d40db290f02043d460" + }, + { + "bytes": 2424, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "sha256": "f3b8c42c0fe7d5c5a542e38fe0b3d14601c170959e18a45b60f26128703560b2" + }, + { + "bytes": 3049, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/HANDOFF.md", + "sha256": "25aa7a2e7408cca9402e34ba809bb8a487c79a4d012d5b8c4700dc81502741aa" + }, + { + "bytes": 178927, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/LOCAL-BLOCK.json", + "sha256": "aad2ee156a1f1e028b4e0329b4af1c38285f0be90c27da720d4bb71885c29294" + }, + { + "bytes": 1301, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/MANIFEST.json", + "sha256": "f3c5b9829e61866988b0843e5bcb637fb0ae37434e2f8e6ef74bdeef079e126e" + }, + { + "bytes": 7537, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/PROOF.md", + "sha256": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587" + }, + { + "bytes": 275744, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "sha256": "3ad4d1bb498cd67588af0c0558c32b441b35dac56b9f3bb7001ae317fadc28fa" + }, + { + "bytes": 1947, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/VALIDATION.json", + "sha256": "e1b6ccf248fa65973645d41b34a7119f07df5d70e73dcfb36cf335ff2ec45e31" + }, + { + "bytes": 11678, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "bytes": 4952, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/q3_tail.py", + "sha256": "8fac76761684d17231ae4d766b7d9464a4ff5675e99038dfbd839bb8cf0d1082" + }, + { + "bytes": 16507, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/audit_fusions.py", + "sha256": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173" + }, + { + "bytes": 11890, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/joint_coefficient_gate.py", + "sha256": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07" + }, + { + "bytes": 9394, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/literal_inverse_binding.py", + "sha256": "74bdbc9c35db4153e00ed15c8d9df27b63e1c50cd76fcd33f987f3f97d412d96" + }, + { + "bytes": 692, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/MANIFEST.json", + "sha256": "e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c" + }, + { + "bytes": 15067, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/PROOF.md", + "sha256": "0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232" + }, + { + "bytes": 2438797, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "sha256": "30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f" + }, + { + "bytes": 3949, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/MANIFEST.json", + "sha256": "44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da" + }, + { + "bytes": 9496, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/AUDIT.json", + "sha256": "e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7" + }, + { + "bytes": 9188, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/MANIFEST.json", + "sha256": "4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e" + }, + { + "bytes": 6824, + "path": "/Users/ross/git/math/integer-mult-bounds/research/kernel92-frame-composition/vendor/pr531/vendor/clifford/clifford_exact.py", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + } + ], + "scientific_main": "20ecf2891d80b5acf18d980b2164fb44ea7faa90", + "threshold_review_scope": "Section4 conditional scan/moment argument only, not its upstream candidate or numerical planning claims." +} diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/VALIDATION.json b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/VALIDATION.json new file mode 100644 index 0000000000..21f9ee3afd --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/VALIDATION.json @@ -0,0 +1,20 @@ +{ + "arbitrary_current_columns": [ + 6, + 8 + ], + "commands": [ + "python3.12 -B audit_tail.py", + "python3.12 -B -O audit_tail.py" + ], + "conditional_tail_rank_grid_q": "2..10", + "exact_local_cases": 2, + "inverse_orders_each": 2, + "negative_controls": [ + "omitted reverse native query changes matrix and lowers witness rank spuriously", + "f2-only native phase residue rejected" + ], + "no_new_kappa": true, + "scope": "Selected actual suffix recipes/phases, source slices and complete native invoices; support-only witness not charged as new query. Conditional same-volume/full-bank scan and precision-budget assumptions explicit.", + "status": "PASS_NORMAL_AND_OPTIMIZED" +} diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/audit_tail.py b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/audit_tail.py new file mode 100644 index 0000000000..1b67e0b4c4 --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/audit_tail.py @@ -0,0 +1,104 @@ +#!/usr/bin/env python3 +"""Independent exact current-input suffix, native and support witness audit. +Apache-2.0; substantial OpenAI Codex assistance. No new supplier claim. +""" +from pathlib import Path +from fractions import Fraction +from collections import Counter +import argparse,copy,hashlib,json,sys,types +sys.dont_write_bytecode=True +HERE=Path(__file__).resolve().parent;R=HERE.parent;SOURCE=R/'coupled-tail-escape' +p=R/'completed-gates-review/audit_gates.py';a=types.ModuleType('frozen_review_algebra');a.__file__=str(p) +exec(compile(p.read_bytes(),str(p),'exec',dont_inherit=True,optimize=0),a.__dict__) +ind=a.independent;ja,qc=a.ja,a.qc +def unary(e,m): + clean={k:v for k,v in e.items()if k!='x_monomial'};op=ind.event_op(clean,m) + family=ind.from_circuit(op,0);ex=e['extra_global_phase_exponent_by_f_mod4'];units=ind.UNITS + family={k:tuple(c*units[ex[r]%4]for r,c in enumerate(v))for k,v in family.items()} + symbolic=ind.old.serialized_family([dict(x_monomial=e['x_monomial'],coefficients_by_f_mod4=[['1','0']for _ in range(4)])]) + a.need(family==symbolic,'literal unary and symbolic source all-f phases agree') + return family +def replay(E,n,m): + M=ind.identity(n,m) + for e in E: + if e['kind']=='ADD': + d,s=e['dst'],e['src'];M[d]=[ind.add(x,ind.scale(y,Fraction(e['coefficient'])))for x,y in zip(M[d],M[s])] + elif e['kind']=='SCALE':M[e['bank']]=[ind.scale(x,Fraction(e['coefficient']))for x in M[e['bank']]] + elif e['kind']=='BANK_SWAP':i,j=e['banks'];M[i],M[j]=M[j],M[i] + else: + U=unary(e,m);M[e['bank']]=[ind.product(U,x)for x in M[e['bank']]] + return M +def family_entry(entry,m): + op=ind.op_of(json.dumps(entry['one_coordinate_literal_circuit']),m);E=ind.from_circuit(op,0);ex=entry['extra_global_phase_exponent_by_f_mod4'] + return op,{k:tuple(c*ind.UNITS[ex[r]%4]for r,c in enumerate(v))for k,v in E.items()} +def check(f,admitted): + q=f['q'];n,m=f['banks'],f['ambient_arity'];cut=f['cut_event_ordinal'];E=f['events'];Ei=f['inverse_events'];pool=f['native_recipe_pool'];cache={} + source=next(x for x in admitted['fixtures']if x['q']==q) + a.need(cut==({2:69,3:119}[q])and source['events'][cut]['label']=='final independent a J query','actual cut before final independent a query') + a.need([{k:v for k,v in e.items()if k!='x_monomial'}for e in E]==source['events'][cut:],'entire local word exact admitted-source slice') + a.need([{k:v for k,v in e.items()if k!='x_monomial'}for e in Ei]==source['inverse_events'][:len(E)],'entire serialized inverse exact source slice') + used=set() + for e in E+Ei: + if e['kind']in('ADD','SCALE','BANK_SWAP'):continue + clean={k:v for k,v in e.items()if k!='x_monomial'};ind.native_check(clean,pool,m,cache);unary(e,m) + if e['kind']=='NATIVE':used.add(e['native_recipe_id']) + a.need(used==set(pool),'native pool is used-only in forward/inverse') + M,Mi=replay(E,n,m),replay(Ei,n,m) + a.need(ind.mm(M,Mi)==ind.identity(n,m)==ind.mm(Mi,M),'both full arbitrary-current-input inverse orders') + a.need(M==[[ind.old.serialized_family(x)for x in row]for row in f['complete_local_matrix']],'saved complete local matrix') + a.need(Mi==[[ind.old.serialized_family(x)for x in row]for row in f['complete_local_inverse']],'saved complete local inverse') + F=a.F(m,2*q+1);J=ja.j_operator(m);Q=J.inv()@a.P(m,1)@a.N(m,0).inv()@J@J;A=F@J@F.inv();W=F@Q.inv()@F.inv() + reverse=[e for e in E if (e['label'].startswith('w reverse')and e['kind']not in('ADD','SCALE','BANK_SWAP'))or e['label']=='final extraction D_final inverse sign'] + RR=qc.identity(m) + for e in reverse:RR=qc.decode(e,m)@RR + expected=a.oldexpr(W@RR);a.need(M[1][3]==expected,'single exact input3/output1 WR coefficient all-f phase') + entry=f['unavoidable_entry'];op,fam=family_entry(entry,m) + a.need(fam==expected==ind.old.serialized_family(entry['operator']),'literal support witness and current-input coefficient coincide') + rank=a.rank(x for x,z,p in op.tab[m:]);a.need(rank==2*q+2==entry['native_arity_per_f'],'actual coefficient native B-rank') + recipe=entry.get('support_witness_selected_native_recipe',entry.get('support_witness_recipe')) + lowered=ind.old.compile_recipe(recipe,m);a.need(recipe['rank']==rank and ind.equal_op(lowered,op),'support-only Bruhat recipe actual Gaussian phase') + a.need(a.eq(W,a.N(m,1)@Q.inv()@a.N(m,1).inv()),'W support is confined to original planes0/1') + if q==2: + I=a.oldexpr(qc.identity(m));AA,WW,RRR=a.oldexpr(A),a.oldexpr(W),a.oldexpr(RR);IW=ind.add(I,ind.scale(WW,-1));target=[[{}for _ in range(n)]for _ in range(n)] + target[0][0]=AA;target[1][0]=ind.scale(ind.product(WW,AA),-1);target[1][2]=IW;target[1][3]=expected;target[1][4]=IW + target[2][0]=ind.scale(AA,-1);target[2][2]=I + target[3][0]=ind.scale(ind.product(AA,ind.product(WW,AA)),-1);target[3][1]=AA;target[3][2]=ind.product(AA,IW);target[3][3]=ind.product(AA,ind.product(ind.scale(IW,-1),RRR));target[3][4]=ind.scale(ind.product(AA,WW),-1) + target[4][4]=I;target[5][5]=I;a.need(M==target,'entire independent q2 six-row symbolic matrix') + # Independently assemble the prose inverse from its y-coordinate + # equations, rather than merely multiplying the saved inverse. + e0=[I if j==0 else{}for j in range(n)];e1=[I if j==1 else{}for j in range(n)];e2=[I if j==2 else{}for j in range(n)];e3=[I if j==3 else{}for j in range(n)];e4=[I if j==4 else{}for j in range(n)];e5=[I if j==5 else{}for j in range(n)] + x0=[ind.product(a.oldexpr(A.inv()),x)for x in e0];x2=[ind.add(x,y)for x,y in zip(e2,e0)];x4=e4 + z=[ind.add(ind.product(a.oldexpr(W.inv()),ind.add(ind.add(y,ind.scale(b,-1)),ind.scale(c,-1))),ind.add(ind.add(d,b),c))for y,b,c,d in zip(e1,x2,x4,e0)] + x3=[ind.product(a.oldexpr(RR.inv()),x)for x in z] + x1=[ind.add(ind.add(ind.product(a.oldexpr(A.inv()),d),zj),ind.add(ind.scale(y,-1),c))for d,zj,y,c in zip(e3,z,e1,x4)] + a.need(Mi==[x0,x1,x2,x3,x4,e5],'explicit q2 inverse formulas every current column') + hist=Counter(e['rank_per_f']for e in E if e['kind']=='NATIVE');local=sum(r*c for r,c in hist.items());prefix=sum(e['rank_per_f']for e in source['events'][:cut]if e['kind']=='NATIVE') + prefix_hist=Counter(e['rank_per_f']for e in source['events'][:cut]if e['kind']=='NATIVE');a.need(prefix_hist=={2:{2:33,3:60}[q]},'actual fixed-prefix rank2 profile for moment bridge') + a.need((prefix,local)==({2:(66,10),3:(120,12)}[q])and prefix==f['unchanged_prefix_native_mass']and local==f['local_native_mass'],'complete prefix and suffix invoice from actual native events') + a.need(prefix+local==source['native_mass']and source['stock']-prefix==rank,'exact stock deficit threshold') + # Controls operate on the actual local word, never a clean-state promise. + bad=[e for e in E if e['label']!=('w reverse2 selected native2')];MB=replay(bad,n,m) + a.need(MB!=M and MB[1][3]!=expected,'omitted actual reverse query changes required coefficient') + a.need(len(MB[1][3])==1,'omitted-query control retains a single ray') + key=next(iter(MB[1][3]));a.need(a.native(qc.Mono(key[0],key[1],key[2],key[3]))==2*q,'omitted-query spuriously drops support rank by2') + modified=copy.deepcopy(E);u=next(e for e in modified if e['kind']=='NATIVE');u['extra_global_phase_exponent_by_f_mod4'][2]^=1 + try:replay(modified,n,m) + except ValueError as ex:a.need('phases agree'in str(ex),'specific all-f phase mutation rejection') + else:raise ValueError('f2-only phase mutation accepted') + return dict(q=q,cut=cut,banks=n,all_current_columns=n,literal_inverse_orders=2,used_native_recipes=len(used),prefix_native_histogram=dict(prefix_hist),prefix_native_mass=prefix,local_histogram=dict(hist),local_native_mass=local,whole_native_mass=prefix+local,stock=source['stock'],single_entry_arity=rank,controls=['actual reverse-query omission rejected','f2-only native phase mutant rejected'],single_entry_row_support='2^('+str(rank)+'f) in every row; exact Bruhat factors are monomial/native/monomial') +def run(): + a.need(a.sha(SOURCE/'MANIFEST.json')=='f3c5b9829e61866988b0843e5bcb637fb0ae37434e2f8e6ef74bdeef079e126e','assigned frozen manifest') + for x in json.loads((SOURCE/'MANIFEST.json').read_text())['files']:a.need(a.sha(SOURCE/x['path'])==x['sha256'],'frozen source file '+x['path']) + admitted=json.loads((R/'two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json').read_text());cases=[check(json.loads((SOURCE/p).read_text()),admitted)for p in('LOCAL-BLOCK.json','Q3-LOCAL-BLOCK.json')] + grid=[] + for q in range(2,11): + m=4*q+4;k=2*q+1;F=a.F(m,k);J=ja.j_operator(m);Q=J.inv()@a.P(m,1)@a.N(m,0).inv()@J@J;W=F@Q.inv()@F.inv();Ns=qc.identity(m);Ps=qc.identity(m) + for s in range(5,k+1,2):Ns=Ns@a.N(m,s);Ps=Ps@a.P(m,s) + a.need(a.native(W)==4 and a.native(W@Ns@Ps)==2*q+2,'disjoint-support conditional tail arity') + grid.append(dict(q=q,coefficient_rank=2*q+2)) + return dict(status='PASS_INDEPENDENT_COUPLED_TAIL_ENTRY_PHASE_INVOICE_AND_SUPPORT_REVIEW',cases=cases,conditional_tail_rank_grid=grid,no_new_kappa=True,scope='Exact q2/q3 current-input suffixes, all-f phases; conditional all-q tail pattern only. Support inequality charges every elementary binary ADD and same-volume full-bank native macro. No pointwise native-only floor or partial-volume claim.') +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('--write',action='store_true');args=p.parse_args();out=json.loads(json.dumps(run()));dest=HERE/'AUDIT.json' + if args.write:dest.write_text(json.dumps(out,indent=2,sort_keys=True)+'\n') + else:a.need(json.loads(dest.read_text())==out,'saved independent audit') + print(out['status']);print([(x['q'],x['prefix_native_mass'],x['local_native_mass'],x['single_entry_arity'])for x in out['cases']]) diff --git a/research/coupled-tail-support-floor/source/coupled-tail-independent-review/validate_review.py b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/validate_review.py new file mode 100644 index 0000000000..a0fae517ea --- /dev/null +++ b/research/coupled-tail-support-floor/source/coupled-tail-independent-review/validate_review.py @@ -0,0 +1,19 @@ +#!/usr/bin/env python3 +"""Read-only fail-closed validation of the coupled-tail audit freeze. +Apache-2.0; substantial OpenAI Codex assistance. +""" +from pathlib import Path +import hashlib,json,sys +sys.dont_write_bytecode=True +HERE=Path(__file__).resolve().parent +def need(c,m): + if not c:raise ValueError(m) +def check(p,x): + raw=p.read_bytes();need(hashlib.sha256(raw).hexdigest()==x['sha256'] and len(raw)==x['bytes'],'source/file mismatch '+str(p)) +def main(): + m=json.loads((HERE/'MANIFEST.json').read_text());pins=json.loads((HERE/'SOURCE-PINS.json').read_text()) + for x in m['files']:check(HERE/x['path'],x) + for x in pins['files']:check(Path(x['path']),x) + need(m['no_new_kappa'] is True,'claim scope') + print('PASS_FROZEN_COUPLED_TAIL_INDEPENDENT_REVIEW',len(m['files']),'owned files',len(pins['files']),'read-only sources') +if __name__=='__main__':main() diff --git a/research/coupled-tail-support-floor/source/early-cut58-independent-review/AUDIT.json b/research/coupled-tail-support-floor/source/early-cut58-independent-review/AUDIT.json new file mode 100644 index 0000000000..0309d8f2b4 --- /dev/null +++ b/research/coupled-tail-support-floor/source/early-cut58-independent-review/AUDIT.json @@ -0,0 +1,24 @@ +{ + "all_current_input_columns": 6, + "ambient_arity": 12, + "banks": 6, + "controls": [ + "actual odd b accumulator omission", + "lost RP=-T sign" + ], + "limits": "Planning-only. Neutral serialized schema is operator-verified, not independently selected-native admitted. No cost16 suffix, all-q compiler, native saving or kappa claim.", + "literal_inverse_orders": 2, + "neutral_factorization_mass": 22, + "phase_scope": "All positive f by exact four-residue tensor-family Gaussian algebra", + "prefix_native_mass": 54, + "q": 2, + "status": "PASS_INDEPENDENT_CUT58_PLANNING_MATRIX", + "stock": 72, + "suffix_native_histogram": { + "2": 9, + "4": 1 + }, + "suffix_native_mass": 22, + "used_selected_source_recipes": 8, + "whole_native_mass": 76 +} diff --git a/research/coupled-tail-support-floor/source/early-cut58-independent-review/HANDOFF.md b/research/coupled-tail-support-floor/source/early-cut58-independent-review/HANDOFF.md new file mode 100644 index 0000000000..7500a2159c --- /dev/null +++ b/research/coupled-tail-support-floor/source/early-cut58-independent-review/HANDOFF.md @@ -0,0 +1,5 @@ +# Frozen review handoff + +Independent review PASS for the pinned cut58 planning matrix, all current inputs, both literal inverse orders, source native/phase bindings, RP=-T and the rank-neutral rewrite. Prefix54 plus suffix22 remains mass76/stock72. The target suffix<=16 is OPEN. No selected-native admission of the simplified full schema, native saving or kappa claim. + +Read REVIEW.md and AUDIT.json. Both normal and optimized verification pass. This optional review does not enlarge the completed odd-kernel publication claim. diff --git a/research/coupled-tail-support-floor/source/early-cut58-independent-review/MANIFEST.json b/research/coupled-tail-support-floor/source/early-cut58-independent-review/MANIFEST.json new file mode 100644 index 0000000000..a0736d96f6 --- /dev/null +++ b/research/coupled-tail-support-floor/source/early-cut58-independent-review/MANIFEST.json @@ -0,0 +1,41 @@ +{ + "files": [ + { + "bytes": 757, + "path": "AUDIT.json", + "sha256": "8167d024e84d6b3b3763a20fd8a2730ea572f6c331ad71b8c3cfeb4acc6984b5" + }, + { + "bytes": 529, + "path": "HANDOFF.md", + "sha256": "ca6ad58a72f80d86705e6f18ad57a5c7e1aa8e66c761bfbe4a78b367b7ea570a" + }, + { + "bytes": 2045, + "path": "REVIEW.md", + "sha256": "2890cbaa950c9bed28dfb7f375e9fe3d0c300a81eb337be43bb5488f3d822b55" + }, + { + "bytes": 10629, + "path": "SOURCE-PINS.json", + "sha256": "d5187158f6d6016e39b338b5ac4df616275bbf264672d5611f9b0ced76d670d3" + }, + { + "bytes": 216, + "path": "VALIDATION.json", + "sha256": "68730984544922ed03b17377219f355a7f4fb3361ab649c64ec07542996d86d5" + }, + { + "bytes": 5077, + "path": "audit_cut58.py", + "sha256": "dded71129aa71f5133e3410df76c088ff478312d903b1baa817aad79541b32b6" + }, + { + "bytes": 391, + "path": "validate_review.py", + "sha256": "36dbef6426fc9a60eb9f22eb9367feb6fdbf38cd463aef04079c4877026d121e" + } + ], + "no_new_kappa": true, + "status": "FROZEN_INDEPENDENT_PLANNING_ONLY_REVIEW" +} diff --git a/research/coupled-tail-support-floor/source/early-cut58-independent-review/REVIEW.md b/research/coupled-tail-support-floor/source/early-cut58-independent-review/REVIEW.md new file mode 100644 index 0000000000..b849f01825 --- /dev/null +++ b/research/coupled-tail-support-floor/source/early-cut58-independent-review/REVIEW.md @@ -0,0 +1,13 @@ +# Independent cut58 planning review + +PASS for the exact finite q2 interface and the rank-neutral factorization. This is a planning appendix, not a native saving or a completed supplier. + +The independently assembled six-bank matrix matches every arbitrary current input column. Literal forward and inverse source slices compose to identity in both orders. Every used source unary is reconstructed from its signed circuit and all four Gaussian phase residues; source selected-native recipes and embeddings are checked in both directions. The source pool is used-only. The exact identities RP=-T and [K,T]=[W,T]=0 hold as operators including global phase. + +The review rebuilds all 36 matrix entries directly from the prose operators rather than treating the saved matrix as its oracle. It separately replays the simplified event sequence in the tensor-family operator algebra. Both give the same map. Omitting the actual source b-accumulator or replacing the -T entry by +T changes this arbitrary-input map. + +The actual prefix costs54 and the suffix costs22, with suffix profile9H2+H4. The simplified factorization has the same invoice22, so the full source remains76 against stock72. A suffix costing16 would yield70; none is constructed or excluded. This review does not turn the simplified serialization into a new selected-native admission. Its unary operators are the admitted source operators, but a complete new schema/compiler link remains distinct. + +The all-f claim uses exact tensor-family Gaussian algebra, not f1 tableau equality. It covers all positive f for this pinned q2 word. It gives no all-q caller, cost16 lower bound, heterogeneous or partial-volume invoice, owner interface, controller, precision, storage or kappa result. The largest-entry support gate alone does not settle the cost16 target. + +Reproduce from this directory with `python3 -B audit_cut58.py` and `python3 -B -O audit_cut58.py`. The source manifest and transitive independent algebra dependencies are frozen in SOURCE-PINS.json. No author source was modified. diff --git a/research/coupled-tail-support-floor/source/early-cut58-independent-review/SOURCE-PINS.json b/research/coupled-tail-support-floor/source/early-cut58-independent-review/SOURCE-PINS.json new file mode 100644 index 0000000000..bf81d3abd7 --- /dev/null +++ b/research/coupled-tail-support-floor/source/early-cut58-independent-review/SOURCE-PINS.json @@ -0,0 +1,214 @@ +{ + "files": [ + { + "bytes": 17392, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-changed-endpoints-20261019T0153Z/stabilizer-escape/full_stabilizer_bound.py", + "sha256": "f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75" + }, + { + "bytes": 2125, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/free_ops.py", + "sha256": "5806fe91b9fda162d5986b12e085b14eb3df9a4703f749f61c1f10363138ca77" + }, + { + "bytes": 9769, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_family.py", + "sha256": "88f425d12baf8a4f849cccd24605f21680eb8ce8d199054db4b4e7734eca72b6" + }, + { + "bytes": 4005, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/nested_prefix.py", + "sha256": "9ec10cb0243c0c829475ad7290f4953cdff27cb0f90f70b687c4bbee98af676b" + }, + { + "bytes": 3919, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/caller/pivot_plane_probe.py", + "sha256": "fcd0a4a0a301c4fddfb8b132894e8b5b751b08cacdb0e5ed41e80b0d4903d499" + }, + { + "bytes": 7160, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/conjugated_reflection.py", + "sha256": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f" + }, + { + "bytes": 10638, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/even_parity_source.py", + "sha256": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3" + }, + { + "bytes": 6086, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/lifted_algebra.py", + "sha256": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9" + }, + { + "bytes": 3533, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/native_model.py", + "sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3" + }, + { + "bytes": 11641, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/orthogonal_source_normalizer.py", + "sha256": "c6373762bd15763625cc9237bb280a5e26ab8e53d6bfb034474f068b1525e6fa" + }, + { + "bytes": 11772, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/root-chronology/quadratic_charts.py", + "sha256": "de2a36f6a6b567360c90477b58da44e2f1b618fd006d058ab1ea04e983952c3f" + }, + { + "bytes": 5327, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/caller-joint/joint_algebra.py", + "sha256": "5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232" + }, + { + "bytes": 2030, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/MANIFEST.json", + "sha256": "ef3697eece91ee6d52ae3f5e88b95028091829d6961118052dff1e25df212ba3" + }, + { + "bytes": 17680, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/completed-gates-review/audit_gates.py", + "sha256": "051ba51e02e9f143b8a8bea0b91d69e7e1e32edf0f98d2d40db290f02043d460" + }, + { + "bytes": 2424, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/ALL-Q-TAIL-LEMMA.md", + "sha256": "f3b8c42c0fe7d5c5a542e38fe0b3d14601c170959e18a45b60f26128703560b2" + }, + { + "bytes": 3049, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/HANDOFF.md", + "sha256": "25aa7a2e7408cca9402e34ba809bb8a487c79a4d012d5b8c4700dc81502741aa" + }, + { + "bytes": 178927, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/LOCAL-BLOCK.json", + "sha256": "aad2ee156a1f1e028b4e0329b4af1c38285f0be90c27da720d4bb71885c29294" + }, + { + "bytes": 1301, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/MANIFEST.json", + "sha256": "f3c5b9829e61866988b0843e5bcb637fb0ae37434e2f8e6ef74bdeef079e126e" + }, + { + "bytes": 7537, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/PROOF.md", + "sha256": "5b4300fb15364dbdb17974d6d0bb7d387a189ff814fd0293057ea2a47ac58587" + }, + { + "bytes": 275744, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/Q3-LOCAL-BLOCK.json", + "sha256": "3ad4d1bb498cd67588af0c0558c32b441b35dac56b9f3bb7001ae317fadc28fa" + }, + { + "bytes": 1947, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/VALIDATION.json", + "sha256": "e1b6ccf248fa65973645d41b34a7119f07df5d70e73dcfb36cf335ff2ec45e31" + }, + { + "bytes": 11678, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/local_block.py", + "sha256": "ac8abc744c616e60a221e8fadf1b590f2248f953bafcb2f61675d1c2541f7fe1" + }, + { + "bytes": 4952, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-escape/q3_tail.py", + "sha256": "8fac76761684d17231ae4d766b7d9464a4ff5675e99038dfbd839bb8cf0d1082" + }, + { + "bytes": 1250, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/MANIFEST.json", + "sha256": "db91e3ac03e43cb848b7ca6fb6ca314755573142227e330f2f0293011501f8dd" + }, + { + "bytes": 8551, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/SOURCE-PINS.json", + "sha256": "e86465b4fb10b3597cc6ec59ce8f24e828301683a5e7f8e1b51d646ae83dabc8" + }, + { + "bytes": 9836, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/coupled-tail-independent-review/audit_tail.py", + "sha256": "18f72f8e4e69595484304e1bacdb3d8f8bfc3f9bfad71aa1038adfb1808f955d" + }, + { + "bytes": 237184, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/CUT58.json", + "sha256": "7553ec4f63272cd4b8efb16b2ec01183240be248e36a5dc45df32f9ebd24de58" + }, + { + "bytes": 1338, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/HANDOFF.md", + "sha256": "31da85394448775676ded8fabbf6ce2c894da9eb0d0e799129e42710ca91d29c" + }, + { + "bytes": 805, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/MANIFEST.json", + "sha256": "2b5df5dc85e4799116177fac51ffc801357c243189b80563891cb534d1ce6a12" + }, + { + "bytes": 4503, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/PROOF.md", + "sha256": "96372d990703d9775eda33d6b9d47c915f8c5b94b7c3d5c4fd82278fd0ecf2f3" + }, + { + "bytes": 837, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/VALIDATION.md", + "sha256": "2d33306afb4fcac0d7af57e492f89ccf33fea74d022d1788970cd116130080aa" + }, + { + "bytes": 7865, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/early-cut58-planning/cut58.py", + "sha256": "0df94525632944ef6b4441159d481317fa7f4bcaf9c8b121d73ae06c545b0b02" + }, + { + "bytes": 16507, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/fusion-audit/audit_fusions.py", + "sha256": "26c35f6d61ad6568da1c650a343b82caea174330ff8054c4cdab1fe183ad2173" + }, + { + "bytes": 11890, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/joint_coefficient_gate.py", + "sha256": "43bc5229a10e7ed6af3d5bff057c61cfd6d37a222cc0a2eb2e88cbe0ac410d07" + }, + { + "bytes": 9394, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-native/literal_inverse_binding.py", + "sha256": "74bdbc9c35db4153e00ed15c8d9df27b63e1c50cd76fcd33f987f3f97d412d96" + }, + { + "bytes": 692, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/MANIFEST.json", + "sha256": "e90d8163c1e5c9797534dd3ed7d6279d1095ff001d84b20dd5c33f8d70d68c6c" + }, + { + "bytes": 15067, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/joint-threshold-screen/PROOF.md", + "sha256": "0eb564effb343e2a20af79445b6a319b719621965b2dc82a303bc6541e34d232" + }, + { + "bytes": 2438797, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json", + "sha256": "30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f" + }, + { + "bytes": 3949, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-continuation/MANIFEST.json", + "sha256": "44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da" + }, + { + "bytes": 9496, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/AUDIT.json", + "sha256": "e3333eb9c0166a2b66bec2599e8c837a5fd6459e560abcb190c792653bca2ed7" + }, + { + "bytes": 9188, + "path": "/Users/ross/git/math/.research-automation/runs/kappa-joint-cleanup-20261019T1133Z/two-site-independent-audit/MANIFEST.json", + "sha256": "4e52d2469b648d73c2af67615116c994b434fdcca2cd0aa573debe98db87324e" + }, + { + "bytes": 6824, + "path": "/Users/ross/git/math/integer-mult-bounds/research/kernel92-frame-composition/vendor/pr531/vendor/clifford/clifford_exact.py", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + } + ] +} diff --git a/research/coupled-tail-support-floor/source/early-cut58-independent-review/VALIDATION.json b/research/coupled-tail-support-floor/source/early-cut58-independent-review/VALIDATION.json new file mode 100644 index 0000000000..609c80e44e --- /dev/null +++ b/research/coupled-tail-support-floor/source/early-cut58-independent-review/VALIDATION.json @@ -0,0 +1,10 @@ +{ + "negative_controls": [ + "actual source accumulator omission changes matrix", + "lost RP=-T sign changes matrix" + ], + "no_new_kappa": true, + "normal": "PASS", + "optimized": "PASS", + "source_files": 42 +} diff --git a/research/coupled-tail-support-floor/source/early-cut58-independent-review/audit_cut58.py b/research/coupled-tail-support-floor/source/early-cut58-independent-review/audit_cut58.py new file mode 100644 index 0000000000..b6902b9ed2 --- /dev/null +++ b/research/coupled-tail-support-floor/source/early-cut58-independent-review/audit_cut58.py @@ -0,0 +1,56 @@ +#!/usr/bin/env python3 +"""Independent cut58 planning matrix audit; no supplier improvement. Apache-2.0.""" +from pathlib import Path +from collections import Counter +from fractions import Fraction +import json,sys,types,hashlib,argparse +sys.dont_write_bytecode=True +HERE=Path(__file__).resolve().parent;R=HERE.parent;S=R/'early-cut58-planning' +p=R/'coupled-tail-independent-review/audit_tail.py';h=types.ModuleType('frozen_tail_review');h.__file__=str(p);exec(compile(p.read_bytes(),str(p),'exec',optimize=0),h.__dict__) +a=h.a;ind=h.ind;qc=h.qc +def need(v,s): + if not v:raise ValueError(s) +def shadow(E,n,m): + M=ind.identity(n,m) + for e in E: + if e['kind']=='ADD':M[e['dst']]=[ind.add(x,ind.scale(y,Fraction(e['coefficient'])))for x,y in zip(M[e['dst']],M[e['src']])] + elif e['kind']=='SCALE':M[e['bank']]=[ind.scale(x,Fraction(e['coefficient']))for x in M[e['bank']]] + elif e['kind']=='BANK_SWAP':i,j=e['banks'];M[i],M[j]=M[j],M[i] + else: + U=a.oldexpr(qc.decode(e,m));M[e['bank']]=[ind.product(U,x)for x in M[e['bank']]] + return M +def run(): + need(a.sha(S/'MANIFEST.json')=='2b5df5dc85e4799116177fac51ffc801357c243189b80563891cb534d1ce6a12','assigned manifest') + for x in json.loads((S/'MANIFEST.json').read_text())['files']:need(a.sha(S/x['path'])==x['sha256'],'source pin '+x['path']) + f=json.loads((S/'CUT58.json').read_text());n,m=6,12;E,Ei=f['events'],f['inverse_events'];ad=json.loads((R/'two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json').read_text())['fixtures'][0] + clean=lambda es:[{k:v for k,v in e.items()if k!='x_monomial'}for e in es] + need(ad['q']==2 and clean(E)==ad['events'][58:] and clean(Ei)==ad['inverse_events'][:len(E)],'complete actual admitted source forward/inverse slices') + used=set();cache={} + for e in E+Ei: + if e['kind']in('ADD','SCALE','BANK_SWAP'):continue + h.unary(e,m);ind.native_check({k:v for k,v in e.items()if k!='x_monomial'},f['native_recipe_pool'],m,cache) + if e['kind']=='NATIVE':used.add(e['native_recipe_id']) + need(used==set(f['native_recipe_pool']),'used-only selected source recipes') + M,Mi=h.replay(E,n,m),h.replay(Ei,n,m);I=ind.identity(n,m) + need(ind.mm(M,Mi)==I==ind.mm(Mi,M),'both arbitrary-current-input inverse orders') + need(M==[[ind.old.serialized_family(x)for x in row]for row in f['complete_local_matrix']],'saved matrix') + need(Mi==[[ind.old.serialized_family(x)for x in row]for row in f['complete_local_inverse']],'saved inverse') + ops={k:qc.decode(dict(x_monomial=v),m)for k,v in f['operators'].items()};T,K,W,P,RR=[ops[k]for k in('T','K','W','P','reverse_current')] + need(a.oldexpr(RR@P)==ind.scale(a.oldexpr(T),-1) and a.eq(K@T,T@K)and a.eq(W@T,T@W),'RP=-T and exact commutation including global phase') + Z={};Id=a.oldexpr(qc.identity(m));expr=a.oldexpr + target=[[Z for j in range(n)]for i in range(n)] + target[0][0]=expr(K@T);target[1][0]=ind.scale(expr(W@K@T),-1);target[1][2]=ind.add(expr(T),ind.scale(expr(W@T),-1));target[1][3]=ind.scale(expr(T),-1);target[1][4]=ind.scale(expr(W@T@K),-1) + target[2][0]=ind.scale(expr(K@T),-1);target[2][2]=expr(T);target[2][3]=ind.scale(expr(T),-1);target[2][4]=ind.scale(expr(T@K),-1) + target[3][0]=ind.scale(expr(K@W@K@T),-1);target[3][1]=expr(K@T);target[3][2]=ind.add(expr(K@T),ind.scale(expr(K@W@T),-1));target[3][4]=ind.scale(expr(K@W@T@K),-1);target[4][4]=expr(T@K);target[5][5]=expr(T) + need(M==target,'all six independent matrix rows in prose') + simple=f['simplified_rank_neutral_events'];need(shadow(simple,n,m)==M,'rank-neutral operator factorization all-f phases') + hist=Counter(e['rank_per_f']for e in E if e['kind']=='NATIVE');shist=Counter(e['rank_per_f']for e in simple if e['kind']=='NATIVE');pre=sum(e['rank_per_f']for e in ad['events'][:58]if e['kind']=='NATIVE') + need(pre==54 and hist==shist=={2:9,4:1}and pre+sum(r*c for r,c in hist.items())==76,'actual prefix/suffix and neutral invoices') + mutant=[e for e in E if 'odd b accumulator'not in e['label']];need(len(mutant)>i)&1)<=2,f>=1', + 'rank_checks': rank_checks, + 'actual_row_support_checks': row_checks, + 'all_f_phase_checks': phase_checks, + 'support_tariff': 'For the complete bank-by-address linear tail, let r_j be each native query actual arity and S the number of binary bank-ADD primitives. Then sum_j r_j+S >= (2q+4)f. Monomial ADDRESS/bank routing, nonzero Gaussian pointwise scales and phases have row branching1; each ADD has branching<=2; a rank-r native Fourier child with monomial adapters has branching2^r. Arbitrary cancellations and extra dirty/restored banks cannot increase the upper bound.', + 'bounded_word_corollary': 'If sum r_j=R*f and S=o(f), then R>=2q+4 asymptotically. In particular R<2q cannot provide positive native deficit in such a tail. This is an explicit model premise, not an assertion that bounded-in-f scans are a repository default.', + 'growing_scan_requirement': 'If R<2q, S >= (2q+4-R)f >4f. A paid O(f) full/partial scan construction is not excluded by this combinatorial gate. Its outer-transfer allowance belongs to the root source-bound scan audit.', + 'extra_dirty_banks': 'Any number of independent additional dirty banks may be used and restored exactly. The full required inverse is unique on all inputs, so its original-V/current-bank coefficient remains C_tV. Initial/final zero private cells do not improve the maximum-row-support induction either.', + 'limits': ['The full actual all-q physical prefix and source-bound H/L binding are owned by the caller lane and are not inferred from the homogeneous factory formulas alone.', + 'A changed initial core, right input chart/target operator, coupled owner endpoint, nonlinear computation or scan alphabet outside the stated row-branching model is not covered.', + 'Any operator-valued ADD with multiple monomial terms must expose those primitive ADDs or charge its actual row branching; it is not a free scalar ADD.', + 'No kappa, all-size supplier, owner allocation, precision or fixed-tape claim is made.'], + 'no_new_kappa': True, + } + + +if __name__ == '__main__': + ap = argparse.ArgumentParser(description=__doc__) + ap.add_argument('--write', action='store_true') + args = ap.parse_args() + out = json.loads(json.dumps(run())) + path = HERE / 'JOINT-COEFFICIENT-GATE.json' + if args.write: + path.write_text(json.dumps(out, indent=2, sort_keys=True) + '\n') + else: + need(json.loads(path.read_text()) == out, 'saved joint coefficient gate differs') + print(out['status']) + print('native arity (2q+4)f; exact support tariff sum(r_j)+S >= (2q+4)f') diff --git a/research/coupled-tail-support-floor/source/joint-native/literal_inverse_binding.py b/research/coupled-tail-support-floor/source/joint-native/literal_inverse_binding.py new file mode 100644 index 0000000000..f6af31acbc --- /dev/null +++ b/research/coupled-tail-support-floor/source/joint-native/literal_inverse_binding.py @@ -0,0 +1,228 @@ +#!/usr/bin/env python3 +"""Independent literal-circuit audit of the original-t inverse coefficient. + +No caller X-character algebra is imported. Physical event circuits are +recompiled with the frozen Gaussian Clifford implementation, then their +X-character actions are derived directly gate by gate. Apache-2.0; +substantial OpenAI Codex assistance. No new kappa claim. +""" +from pathlib import Path +from fractions import Fraction +from functools import lru_cache +import argparse +import hashlib +import json +import sys +sys.dont_write_bytecode = True +from joint_coefficient_gate import NATIVE, PIN, operators +from native_model import ce, mul, need, phase, b +from lifted_algebra import G, ONE, ZERO, UNITS + +HERE = Path(__file__).resolve().parent +SOURCE = HERE.parent / 'caller-joint' +SOURCE_PINS = { + 'joint_algebra.py': '5782033e347c9b10ad47c01ed12a0a52ea07e901fa9e8f7aa9d3a2a928327232', + 'joint_prefix.py': 'a4dcaa1ad05ef8dbba60ddd47b3ad44a3095ebb5fd31f6adfb935a7b1c46a2c7', + 'JOINT-PREFIX.json': 'e6e574525a51299bae4fc876c02f0a767d7d927150b7a5fe0a814afd7ec93ebd', +} + + +def par(x): + return x.bit_count() & 1 + + +def mv(rows, x): + return sum(par(row & x) << j for j, row in enumerate(rows)) + + +def circuit_op(events, n): + out = ce.ident(n) + for event in events: + kind = event[0] + if kind == 'P': + gate = ce.perm(n, tuple(event[1])) + elif kind == 'D': + gate = ce.diag(n, tuple(event[1]), tuple(event[2])) + elif kind == 'C': + gate = ce.cgate(n, event[1], event[2]) + elif kind == 'X': + gate = ce.xgate(n, event[1]) + elif kind == 'phase': + gate = phase(n, event[1]) + else: + raise ValueError('uncovered physical primitive ' + kind) + out = out.then(gate) + return out + + +@lru_cache(None) +def pinv_transpose(rows): + return ce.transpose(ce.inv(rows, len(rows)), len(rows)) + + +def x_action(events, n, x): + """Literal action on physical X eigencharacters, including global units.""" + power = 0 + for event in events: + kind = event[0] + if kind == 'P': + x = mv(pinv_transpose(tuple(event[1])), x) + elif kind == 'C': + power += event[2] * par(event[1] & x) + elif kind == 'X': + power += 2 * par(event[1] & x) + elif kind == 'D': + need(not any(event[1]) and all(a % 2 == 0 for a in event[2]), + 'current source literal D is a Pauli; no Fourier-monomial assumption hidden') + x ^= sum(((a // 2) & 1) << j for j, a in enumerate(event[2])) + elif kind == 'phase': + power += event[1] + else: + raise ValueError(kind) + return x, power % 4 + + +def make_key(n, act, qfun): + offset, c = act(0), qfun(0) % 4 + columns = [act(1 << j) ^ offset for j in range(n)] + rows = tuple(sum(((columns[j] >> i) & 1) << j for j in range(n)) for i in range(n)) + alpha = tuple((qfun(1 << j) - c) % 4 for j in range(n)) + quad = [] + for i in range(n): + row = 0 + for j in range(i + 1, n): + v = (qfun((1 << i) | (1 << j)) - c - alpha[i] - alpha[j]) % 4 + need(v % 2 == 0, 'literal phase is a Gaussian quadratic') + row |= (v // 2) << j + quad.append(row) + return (rows, offset, alpha, tuple(quad)), c + + +def act(key, x): + return mv(key[0], x) ^ key[1] + + +def qval(key, x): + return (sum(a for i, a in enumerate(key[2]) if x >> i & 1) + + 2 * sum(par(row & x) for i, row in enumerate(key[3]) if x >> i & 1)) % 4 + + +def units(fn): + return tuple(UNITS[fn(r) % 4] for r in range(4)) + + +def sumexpr(a, c): + out = dict(a) + for k, v in c.items(): + w = tuple(x + y for x, y in zip(out.get(k, (ZERO,) * 4), v)) + if any(w): + out[k] = w + else: + out.pop(k, None) + return out + + +def scale(a, c): + return {k: tuple(x * G(Fraction(c)) for x in v) for k, v in a.items()} if c else {} + + +@lru_cache(None) +def key_product(a, c): + n = len(a[0]) + return make_key(n, lambda x: act(a, act(c, x)), lambda x: qval(c, x) + qval(a, act(c, x))) + + +def product(a, c): + out = {} + for ka, va in a.items(): + for kc, vc in c.items(): + k, constant = key_product(ka, kc) + value = tuple(x * y * u for x, y, u in zip(va, vc, units(lambda r: r * constant))) + out = sumexpr(out, {k: value}) + return out + + +def from_circuit(op, exponent): + key, c = make_key(op.n, lambda x: x_action(op.circuit, op.n, x)[0], + lambda x: x_action(op.circuit, op.n, x)[1]) + return {key: units(lambda r: exponent + (c - exponent) * r)} + + +def serial(a): + return [{'X_character_rows': list(k[0]), 'offset': k[1], 'alpha': list(k[2]), + 'quadratic_upper_rows': list(k[3]), + 'coefficients_by_f_mod4': [x.encode() for x in v]} + for k, v in sorted(a.items())] + + +def inverse_row(fixture, mutate=False): + q, n, m = fixture['q'], fixture['banks'], fixture['ambient_arity'] + identity = from_circuit(ce.ident(m), 0) + row = [{} for _ in range(n)] + row[1] = identity + hist = {} + for event in fixture['events']: + kind = event['kind'] + if kind == 'ADD': + d, s = event['dst'], event['src'] + row[s] = sumexpr(row[s], scale(row[d], -Fraction(event['coefficient']))) + elif kind == 'BANK_SWAP': + i, j = event['banks'] + row[i], row[j] = row[j], row[i] + else: + op = circuit_op(event['one_coordinate_literal_circuit'], m) + need(op.tab == tuple(tuple(x) for x in event['one_coordinate_tableau']), + 'independently recompiled physical event signed tableau') + rank = b.native_rank(op) + if kind == 'NATIVE': + need(rank == event['rank_per_f'], 'actual native event arity, not label') + hist[rank] = hist.get(rank, 0) + 1 + else: + need(rank == 0, 'free physical event is actually monomial') + exponent = -event['phase_exponent'] + value = from_circuit(op.adjoint(), exponent) + row[event['bank']] = product(row[event['bank']], value) + z, J, A, B1, B2, Q1, Dv, F, C, collapsed = operators(q, 1) + target = from_circuit(mul(F, J), 2 * q + 2 - int(mutate)) + actual = product(target, row[3]) + expected = from_circuit(C, 6 - 3 * q) + if mutate: + need(actual != expected, 'missing target-J f-dependent Gaussian unit rejected beyond f1') + else: + need(actual == expected and len(actual) == 1, + 'literal all-f inverse-row coefficient equals independent Clifford formula') + need(hist == {2: n * (2 * q + 1) + q + 2}, 'source/query/idle/continuation profile bound') + return {'q': q, 'independent_original_input_row': 1, 'current_carrier_column': 3, + 'physical_events': len(fixture['events']), 'native_histogram': hist, + 'original_column_binding_all_f': 'PASS' if not mutate else 'MUTANT_REJECTED', + 'actual_coefficient': serial(actual) if not mutate else None} + + +def run(): + for name, digest in SOURCE_PINS.items(): + need(hashlib.sha256((SOURCE / name).read_bytes()).hexdigest() == digest, 'caller source pin ' + name) + source = json.loads((SOURCE / 'JOINT-PREFIX.json').read_text()) + records = [inverse_row(x) for x in source['fixtures']] + inverse_row(source['fixtures'][0], True) + return {'status': 'PASS_INDEPENDENT_LITERAL_ORIGINAL_T_INVERSE_COEFFICIENT', + 'scientific_pin': PIN, 'producer_sha256': hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + 'source_pins': [{'path': str(SOURCE / n), 'sha256': h} for n, h in SOURCE_PINS.items()], + 'fixtures': records, + 'method': 'Derive X-character affine/quadratic action directly from each literal physical circuit; independently recompile every signed tableau; right-multiply the original-t inverse row by each forward primitive inverse. No caller joint_algebra/quadratic_charts module is imported.', + 'all_f_phase': 'Each physical one-coordinate circuit O with exponent e represents i^(e*(1-f))*O^tensor(f). Exact Gaussian coefficient vectors retain every f mod4 residue; native J units are not inferred from f1.', + 'negative_control': 'Omit only the target-J f-dependent tensor unit. This changes the actual desired output gauge and is rejected by the complete inverse coefficient although f1 alone cannot see it. Individual source-query2/query5 unit deletions were insensitive for this selected inverse entry and are not counted as rejected controls.', + 'scope': 'Independent source binding for the required inverse coefficient at q2/q3. Caller owns full physical all-column/inverse prefix; the separate written coefficient/support theorem covers every q satisfying its stated original-column interface.', + 'no_new_kappa': True} + + +if __name__ == '__main__': + ap = argparse.ArgumentParser(description=__doc__) + ap.add_argument('--write', action='store_true') + args = ap.parse_args() + out = json.loads(json.dumps(run())) + path = HERE / 'LITERAL-INVERSE-BINDING.json' + if args.write: + path.write_text(json.dumps(out, indent=2, sort_keys=True) + '\n') + else: + need(json.loads(path.read_text()) == out, 'saved independent physical coefficient binding differs') + print(out['status']) diff --git a/research/coupled-tail-support-floor/source/native-frames/EVEN-PARITY-SOURCE.json b/research/coupled-tail-support-floor/source/native-frames/EVEN-PARITY-SOURCE.json new file mode 100644 index 0000000000..2024887e51 --- /dev/null +++ b/research/coupled-tail-support-floor/source/native-frames/EVEN-PARITY-SOURCE.json @@ -0,0 +1,381 @@ +{ + "actual_checks": [ + { + "f": 1, + "full_endpoint_recipe_actual_phase_checked": true, + "kernel": "even_C", + "query_native_arity": 1, + "query_recipe_actual_phase": true, + "retained_source_native_arity": 6 + }, + { + "f": 1, + "full_endpoint_recipe_actual_phase_checked": true, + "kernel": "quadratic_J", + "query_native_arity": 2, + "query_recipe_actual_phase": true, + "retained_source_native_arity": 6 + }, + { + "f": 2, + "full_endpoint_recipe_actual_phase_checked": true, + "kernel": "even_C", + "query_native_arity": 2, + "query_recipe_actual_phase": true, + "retained_source_native_arity": 12 + }, + { + "f": 2, + "full_endpoint_recipe_actual_phase_checked": true, + "kernel": "quadratic_J", + "query_native_arity": 4, + "query_recipe_actual_phase": true, + "retained_source_native_arity": 12 + }, + { + "f": 3, + "full_endpoint_recipe_actual_phase_checked": false, + "kernel": "even_C", + "query_native_arity": 3, + "query_recipe_actual_phase": true, + "retained_source_native_arity": 18 + }, + { + "f": 3, + "full_endpoint_recipe_actual_phase_checked": false, + "kernel": "quadratic_J", + "query_native_arity": 6, + "query_recipe_actual_phase": true, + "retained_source_native_arity": 18 + } + ], + "all_f_phase_and_recipe_proof": "C_even,f=C_even,1^tensor f. J_f=i^(1-f)J_1^tensor f. E_f=i^(L*(1-f))E_1^tensor f. Therefore each source endpoint K_f E_f=i^((L+exponentK)*(1-f)) (K_1 E_1)^tensor f. Tensor the saved actualonebitnativeandmonomialrecipes, with the displayedleftglobalunit. This proves full actual phases and endpoint adapters for everyf without f1 tableau extrapolation.", + "all_f_two_column_checks": [ + { + "all_f_input_columns": 2, + "kernel": "even_C", + "literal_inverse_orders": 2 + }, + { + "all_f_input_columns": 2, + "kernel": "quadratic_J", + "literal_inverse_orders": 2 + } + ], + "chronological_word": [ + "source=K source", + "target+=source" + ], + "complete_actual_matrix": "On entrance(E*x,E*y), output(K E*x,E*y+K E*x); bothoriginalfields arbitrary. Source remains an isolatedfullnativeoperatorK E on its ownx. No helperor cleanfield is used.", + "endpoint_gauge_obligation": "The fullendpointK E=L C_full R has explicitmonomialleft/rightgauges, bothpaidifused. It isnotexactE. A completecaller whoseindependentoutputsareK_i E may compose the appropriateinputrightgaugesandoutputleftgauges after proving allcolumns. The rightgaugecannotbe dropped at an intermediate mixedcut orassumedto preserve a desiredN response. A dirtyhelper owner mustpriceits actual entrance/terminalresidual; fullarityaloneisnotanownercontract.", + "even_only_limitation": "Every evenparityC_q commutes physicalZ_all andphysicalX_all. BinaryorthogonalA fixes1; itscorrectedtagz hasz.dot1=0 because itsphaseat1 equals1. Thus R_A=P_A Z_z also commutesbothglobalPaulis. Anybankword usingonlythoseevenqueriesandorthogonalcorrectedcontrollerscommutesdiag(Z_all), whereas afullnativeClifford with invertibleB cannotfix nonzeroZ_all. An odd/nativeanchor or a controlleroutside thatrestrictedcommutant is necessary. GeneralADDRESS adapters outside theorthogonalgroup are notcoveredbythisno-even-onlyclaim. IncomingE isexactlysuch analreadypaidanchor.", + "explicit_old_native_source_chart": "Let A be bitwise CNOT p0->p1 and q0->q1, and M_f=X_all_p0 Z_all_p0 P_A. Then J_f=M_f N0 M_f^-1 exactly. ADDRESSconjugation sends theoldnativeC directions to v,w; Z_p0 reverses the v parities with the mandatory i^f factor, and X_p0 supplies the remaining (-1)^f. Thus the phase is i^(f+1). M has oneaffineADDRESS plus onePauliZ scan; applying M^-1,N0,M exposes the sameJ nativequery with bothmonomialadapters paid. This is a source-frame change relative to the retainedincomingE, not a new abstract quadraticalgebra.", + "full_source_rank_proof": "The fullold E has binary symplecticA=D=I,B=I,C=0. A C_even query has B=Gamma=sum qk qkT. All selectedparities in each kernel are pairwiseorthogonal, so Gamma^2=0 and I+Gamma is invertible, inverseI+Gamma. A PauliZ leftfactor doesnotchangeB. Hence both C_even E andJ E have fullnativearity2Lf, for everyL>=2,f>=1. This is a rank/admission statement, not equality of the endpoint withE.", + "incoming_anchor": "The source already equals E*x for arbitrary x, E=product_i N_i fullnative on L>=2 oldplanes. This fullnative anchor is an incoming paid caller premise; no free preparation is claimed. The checked fixture has L=3.", + "limits": [ + "No currentpublicreaderN isreplacedbyJ orC_even withouta newall-columnidentity.", + "No stockor exponentgain isclaimed: thepaid incominganchor, sourceCOPY/readscans, endpointgauges, ownerbinding, precisionandphysicaltapecontract remainrequired.", + "The fullsourceendpointgauge fixturescoverL3; the writtenrankandphaseidentitiesholdallL>=2." + ], + "literal_inverse": [ + "target-=source", + "source=K^-1 source" + ], + "native_query_recipes": { + "even_C": { + "left": { + "linear_Z4": [ + 2, + 0, + 0, + 0, + 0, + 0 + ], + "matrix_rows": [ + 3, + 1, + 4, + 8, + 16, + 32 + ], + "offset": 0, + "phase": 0, + "quadratic_rows": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + "rank": 1, + "right": { + "linear_Z4": [ + 0, + 2, + 0, + 0, + 0, + 0 + ], + "matrix_rows": [ + 2, + 3, + 4, + 8, + 16, + 32 + ], + "offset": 1, + "phase": 1, + "quadratic_rows": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + }, + "quadratic_J": { + "left": { + "linear_Z4": [ + 2, + 2, + 0, + 0, + 0, + 0 + ], + "matrix_rows": [ + 5, + 10, + 1, + 2, + 16, + 32 + ], + "offset": 0, + "phase": 0, + "quadratic_rows": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + }, + "rank": 2, + "right": { + "linear_Z4": [ + 2, + 2, + 2, + 2, + 0, + 0 + ], + "matrix_rows": [ + 4, + 8, + 5, + 10, + 16, + 32 + ], + "offset": 0, + "phase": 2, + "quadratic_rows": [ + 0, + 0, + 0, + 0, + 0, + 0 + ] + } + } + }, + "no_new_kappa": true, + "producer_sha256": "961f136e4bc1b5da930bdd4ba9bbb594892b9e27f7ab44749d747d4fe16b4cb3", + "quadratic_kernel": "Let v_k=p0k+p1k,w_k=q0k+q1k, U=product_k C_v_k C_w_k, Z=Z_all_p0 Z_all_q0, and J_f=i^(f+1) Z U. For each anticommtingparity, Z C_v Z=i C_v^-1; hence ZUZ=i^(2f) U^-1 and J_f^2=i^(2f+2) i^(2f)=-I for everyf. The f-dependentGaussianunit is mandatory. This has exact nativearity2f and is a changed literalJ response, nottheold N0 response.", + "quadratic_query_invoice": { + "ADDRESS_scans_at_most": 2, + "Gaussian_quadratic_phase_scans_at_most": 2, + "H2": 1, + "delivery_ADD_scans": 1, + "native_monomial_adapters": 2, + "native_rank_mass": 2, + "ordinary_helpers": 0, + "private_fields": 0 + }, + "rankf_kernel": "C_even,f=product_k C_(p0k+q0k), with C_q=((1+i)I+(1-i)X_q)/2. Each parity vector has evenweight, and they are independent. Thus nativearityf. Its exact square is X_all_commonp+commonq, a paid ADDRESS translation, not a discarded residual.", + "rankf_query_invoice": { + "ADDRESS_scans_at_most": 2, + "Gaussian_quadratic_phase_scans_at_most": 2, + "H1": 1, + "delivery_ADD_scans": 1, + "native_monomial_adapters": 2, + "native_rank_mass": 1, + "ordinary_helpers": 0, + "private_fields": 0 + }, + "retained_full_endpoint_recipes_L3": { + "even_C": { + "left": { + "linear_Z4": [ + 3, + 3, + 2, + 2, + 2, + 2 + ], + "matrix_rows": [ + 2, + 1, + 4, + 8, + 16, + 32 + ], + "offset": 0, + "phase": 0, + "quadratic_rows": [ + 3, + 3, + 0, + 0, + 0, + 0 + ] + }, + "rank": 6, + "right": { + "linear_Z4": [ + 3, + 3, + 0, + 0, + 0, + 0 + ], + "matrix_rows": [ + 1, + 2, + 4, + 8, + 16, + 32 + ], + "offset": 22, + "phase": 3, + "quadratic_rows": [ + 3, + 3, + 0, + 0, + 0, + 0 + ] + } + }, + "quadratic_J": { + "left": { + "linear_Z4": [ + 3, + 3, + 3, + 3, + 2, + 2 + ], + "matrix_rows": [ + 4, + 8, + 1, + 2, + 16, + 32 + ], + "offset": 0, + "phase": 0, + "quadratic_rows": [ + 5, + 10, + 5, + 10, + 0, + 0 + ] + }, + "rank": 6, + "right": { + "linear_Z4": [ + 1, + 1, + 3, + 3, + 0, + 0 + ], + "matrix_rows": [ + 1, + 2, + 4, + 8, + 16, + 32 + ], + "offset": 22, + "phase": 3, + "quadratic_rows": [ + 5, + 10, + 5, + 10, + 0, + 0 + ] + } + } + }, + "scientific_pin": "20ecf2891d80b5acf18d980b2164fb44ea7faa90", + "source_pins": [ + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/native_model.py", + "sha256": "6397a86bd3d1461be182fcfa8602b0c70c489964a8c14f12436ba2506e11d9e3" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/conjugated_reflection.py", + "sha256": "6b68a4a60b160fe28227c31909ed86bd7f80b1f3e07591032cd001dbeb242f6f" + }, + { + "path": "/Users/ross/git/math/.research-automation/runs/kappa-four-coordinate-20261019T0717Z/native-frames/lifted_algebra.py", + "sha256": "3b9a58a2048a762ab520ac7fdbb28cbfeb7b30345aaeb777d8dabdd9fb1034d9" + } + ], + "status": "PASS_ALL_F_EVEN_PARITY_AND_QUADRATIC_FULL_SOURCE_RESPONSES", + "wrong_constant_i_phase_controls": [ + { + "f": 1, + "wrong_constant_i_rejected": true, + "wrong_constant_i_square_i_exponent": 0 + }, + { + "f": 2, + "wrong_constant_i_rejected": false, + "wrong_constant_i_square_i_exponent": 2 + }, + { + "f": 3, + "wrong_constant_i_rejected": true, + "wrong_constant_i_square_i_exponent": 0 + } + ] +} diff --git a/research/coupled-tail-support-floor/source/native-frames/conjugated_reflection.py b/research/coupled-tail-support-floor/source/native-frames/conjugated_reflection.py new file mode 100644 index 0000000000..341df23adc --- /dev/null +++ b/research/coupled-tail-support-floor/source/native-frames/conjugated_reflection.py @@ -0,0 +1,111 @@ +#!/usr/bin/env python3 +"""One native child for the common conjugate of an unpaired ADDRESS reflection. +Apache-2.0; substantial OpenAI Codex assistance. This is a local resource. +""" +from pathlib import Path +import argparse +import hashlib +import json +from native_model import * +from orthogonal_source_normalizer import reflection +from lifted_algebra import Algebra + +HERE = Path(__file__).resolve().parent + + +def tensor_monomial(recipe, f): + """Lift every one-bit wire and phase bitwise, retaining its actual phase.""" + chunks = len(recipe['matrix_rows']) + n = chunks * f + def bitlift(mask, k): + return sum(1 << (chunk * f + k) for chunk in range(chunks) if (mask >> chunk) & 1) + rows = [bitlift(recipe['matrix_rows'][chunk], k) for chunk in range(chunks) for k in range(f)] + quadratic = [bitlift(recipe['quadratic_rows'][chunk], k) for chunk in range(chunks) for k in range(f)] + alpha = [recipe['linear_Z4'][chunk] for chunk in range(chunks) for k in range(f)] + offset = sum(bitlift(recipe['offset'], k) for k in range(f)) + return mul(phase(n, f * recipe['phase']), ce.xgate(n, offset), + ce.perm(n, rows), ce.diag(n, quadratic, alpha)) + + +def run(): + z1 = Model(1, 3) + R1, _ = reflection(z1, 3, (0, 1, 2, 4)) + base_native = [z1.N, z1.T[0], z1.T[1]] + onebit_conjugates = [mul(Ni, R1, Ni.adjoint()) for Ni in base_native] + recipes = [] + for A in onebit_conjugates: + rec, compiled = ce.lower_child(A) + need(rec['rank'] == 2, 'one-bit conjugate has native rank2') + same(compiled, A, 'actual selected-native one-bit lowering') + recipes.append(rec) + A1, recipe = onebit_conjugates[0], recipes[0] + checks = [] + for f in (1, 2, 3): + z = Model(f, 3) + R, _ = reflection(z, 3, (0, 1, 2, 4)) + for plane, (Ni, rec) in enumerate(zip([z.N, z.T[0], z.T[1]], recipes)): + A = mul(Ni, R, Ni.adjoint()) + left = tensor_monomial(rec['left'], f) + right = tensor_monomial(rec['right'], f) + literal = mul(left, ce.fourier(z.n, range(2 * f)), right) + same(literal, A, 'tensor-lifted native child actual phase') + same(mul(A, A), z.I, 'conjugated reflection literal involution') + need(b.native_rank(A) == 2 * f, 'conjugated reflection rank2f') + need(b.native_rank(left) == b.native_rank(right) == 0, 'literal adapters monomial') + checks.append({'f': f, 'conjugating_old_plane': plane, + 'native_arity': 2 * f, 'inverse': 'same A', + 'tensor_recipe_actual_Gaussian_phase': True}) + + # Independently retain both bank columns over the exact all-f tensor algebra. + a = Algebra(3) + R, A = a.lift(R1), a.lift(A1) + def shear(sign): + out = a.mat_identity(2) + out[0][1] = a.scale(a.one, sign) + return out + E, Ei = shear(1), shear(-1) + BR = a.mat_product(a.mat_product(E, a.diagonal(2, 1, R)), Ei) + conjugated = a.mat_product(a.mat_product(a.diagonal(2, 0, a.N), a.diagonal(2, 1, a.N)), BR) + conjugated = a.mat_product(conjugated, a.mat_product(a.diagonal(2, 0, a.adjoint(a.N)), a.diagonal(2, 1, a.adjoint(a.N)))) + expected = a.mat_product(a.mat_product(E, a.diagonal(2, 1, A)), Ei) + need(conjugated == expected, 'two independent bank-column conjugation identity') + need(a.mat_product(expected, expected) == a.mat_identity(2), 'literal bank word inverse') + return {'status': 'PASS_ALL_F_SINGLE_CHILD_CONJUGATED_UNPAIRED_REFLECTION', + 'scientific_pin': PIN, + 'producer_sha256': hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + 'reflection_source_sha256': hashlib.sha256((HERE/'orthogonal_source_normalizer.py').read_bytes()).hexdigest(), + 'native_model_sha256': hashlib.sha256((HERE/'native_model.py').read_bytes()).hexdigest(), + 'actual_operator': 'R=P_(I+vv^T), v=(1,1,1,0,1,0) on completed(p0,q0,p1,q1,p2,q2); A=N0 R N0^-1.', + 'all_f_tensor_identity': 'R_f is the bitwise tensor product of R_1. N_f=i^(1-f) N_1^tensor f after regrouping address coordinates. Its global unit cancels in conjugation, so A_f=A_1^tensor f literally, including phase. Tensoring the explicit one-bit monomial/native/monomial equality therefore gives A_f=L_f C_(2f) R_f_adapter. All three factors have fixed bitwise controllers; no f1 tableau-only inference is used.', + 'native_rank_proof': 'The binary B block of A_1 has rank2. Direct sums under bitwise tensor regrouping have rank2f, so A_f and its inverse have exact native arity2f for every f>=1. A_f^2=I by conjugation of R_f^2=I.', + 'one_bit_selected_native_recipe': recipe, + 'one_bit_selected_native_recipes_by_old_plane': recipes, + 'actual_tensor_recipe_checks': checks, + 'old_plane_extension': 'The same exact single-child admission holds for A_i=N_i R N_i^-1 on each i=0,1,2, with the three explicit recipes retained. Since N_i=i H_i and H_i=Hp_i Hq_i is involutive, this is also H_i R H_i without any external i. The tensor proof and all adapter phase powers apply separately to each saved recipe.', + 'single_unary_invoice': {'native_H2': 1, 'native_rank_mass': 2, + 'monomial_adapters': 2, 'ADDRESS_scans_at_most': 2, + 'Gaussian_quadratic_phase_scans_at_most': 2, + 'ordinary_helpers': 0, 'private_fields': 0}, + 'two_bank_identity': 'For E12=I+e1e2^T and B_R=E12 diag(I,R) E12^-1, Ad_(diag(N,N))(B_R)=E12 diag(I,A) E12^-1. Both independent inputs are retained. Its literal inverse reverses the shears and applies A^-1=A; the entire displayed conjugated word is itself involutive.', + 'two_bank_invoice': {'native_H2': 1, 'native_rank_mass': 2, + 'scalar_ADD_scans': 2, 'monomial_adapters': 2, + 'ordinary_helpers': 0, 'private_fields': 0}, + 'evidence_domain': 'Written all-f exact tensor proof and native B-rank proof; independent actual Gaussian compiled checks at f1/f2/f3; all-f two-bank polynomial coefficients checked in the phase-sensitive tensor algebra.', + 'limits': ['This is a changed legal local bridge, not a completed caller or shared-debt cancellation.', + 'The source-kernel N0R is not assumed quadratic, and no old scalar caller is imported by that assumption.', + 'All bank ADD, ADDRESS and phase scans are paid; no source access, owner, precision, all-size or tape gate is discharged.'], + 'no_new_kappa': True} + + +if __name__ == '__main__': + p = argparse.ArgumentParser(description=__doc__) + p.add_argument('--write', action='store_true') + args = p.parse_args() + out = json.loads(json.dumps(run())) + path = HERE/'CONJUGATED-REFLECTION.json' + if args.write: + path.write_text(json.dumps(out, indent=2, sort_keys=True)+'\n') + else: + need(json.loads(path.read_text()) == out, 'saved conjugated reflection differs') + print(out['status']) + print(out['single_unary_invoice']) diff --git a/research/coupled-tail-support-floor/source/native-frames/even_parity_source.py b/research/coupled-tail-support-floor/source/native-frames/even_parity_source.py new file mode 100644 index 0000000000..602b02f549 --- /dev/null +++ b/research/coupled-tail-support-floor/source/native-frames/even_parity_source.py @@ -0,0 +1,146 @@ +#!/usr/bin/env python3 +"""Paid even-parity native responses preserve an already-full source endpoint. +Apache-2.0; substantial OpenAI Codex assistance. Changed kernel, no free anchor. +""" +from pathlib import Path +import argparse +import hashlib +import json +from native_model import * +from conjugated_reflection import tensor_monomial +from lifted_algebra import Algebra + +HERE=Path(__file__).resolve().parent + + +def parity_query(z,chunks): + out=z.I + for k in range(z.f): + q=sum(1<<(j*z.f+k)for j in chunks) + out=mul(ce.cgate(z.n,q),out) + return out + + +def kernels(z): + C=parity_query(z,(0,1)) + U=mul(parity_query(z,(0,2)),parity_query(z,(1,3))) + Z=pauli(z.n,z=(1<<(2*z.f))-1) + J=mul(phase(z.n,z.f+1),Z,U) + return C,J + + +def source_chart(z): + # A is bitwise CNOT p0->p1 and q0->q1. M=X_p0 Z_p0 P_A. + rows=[1<=2 oldplanes. This fullnative anchor is an incoming paid caller premise; no free preparation is claimed. The checked fixture has L=3.', + 'rankf_kernel':'C_even,f=product_k C_(p0k+q0k), with C_q=((1+i)I+(1-i)X_q)/2. Each parity vector has evenweight, and they are independent. Thus nativearityf. Its exact square is X_all_commonp+commonq, a paid ADDRESS translation, not a discarded residual.', + 'quadratic_kernel':'Let v_k=p0k+p1k,w_k=q0k+q1k, U=product_k C_v_k C_w_k, Z=Z_all_p0 Z_all_q0, and J_f=i^(f+1) Z U. For each anticommtingparity, Z C_v Z=i C_v^-1; hence ZUZ=i^(2f) U^-1 and J_f^2=i^(2f+2) i^(2f)=-I for everyf. The f-dependentGaussianunit is mandatory. This has exact nativearity2f and is a changed literalJ response, nottheold N0 response.', + 'explicit_old_native_source_chart':'Let A be bitwise CNOT p0->p1 and q0->q1, and M_f=X_all_p0 Z_all_p0 P_A. Then J_f=M_f N0 M_f^-1 exactly. ADDRESSconjugation sends theoldnativeC directions to v,w; Z_p0 reverses the v parities with the mandatory i^f factor, and X_p0 supplies the remaining (-1)^f. Thus the phase is i^(f+1). M has oneaffineADDRESS plus onePauliZ scan; applying M^-1,N0,M exposes the sameJ nativequery with bothmonomialadapters paid. This is a source-frame change relative to the retainedincomingE, not a new abstract quadraticalgebra.', + 'full_source_rank_proof':'The fullold E has binary symplecticA=D=I,B=I,C=0. A C_even query has B=Gamma=sum qk qkT. All selectedparities in each kernel are pairwiseorthogonal, so Gamma^2=0 and I+Gamma is invertible, inverseI+Gamma. A PauliZ leftfactor doesnotchangeB. Hence both C_even E andJ E have fullnativearity2Lf, for everyL>=2,f>=1. This is a rank/admission statement, not equality of the endpoint withE.', + 'all_f_phase_and_recipe_proof':'C_even,f=C_even,1^tensor f. J_f=i^(1-f)J_1^tensor f. E_f=i^(L*(1-f))E_1^tensor f. Therefore each source endpoint K_f E_f=i^((L+exponentK)*(1-f)) (K_1 E_1)^tensor f. Tensor the saved actualonebitnativeandmonomialrecipes, with the displayedleftglobalunit. This proves full actual phases and endpoint adapters for everyf without f1 tableau extrapolation.', + 'native_query_recipes':recipes,'retained_full_endpoint_recipes_L3':endpoint_recipes, + 'chronological_word':['source=K source','target+=source'], + 'complete_actual_matrix':'On entrance(E*x,E*y), output(K E*x,E*y+K E*x); bothoriginalfields arbitrary. Source remains an isolatedfullnativeoperatorK E on its ownx. No helperor cleanfield is used.', + 'literal_inverse':['target-=source','source=K^-1 source'], + 'rankf_query_invoice':{'H1':1,'native_rank_mass':1,'delivery_ADD_scans':1, + 'native_monomial_adapters':2,'ADDRESS_scans_at_most':2, + 'Gaussian_quadratic_phase_scans_at_most':2, + 'ordinary_helpers':0,'private_fields':0}, + 'quadratic_query_invoice':{'H2':1,'native_rank_mass':2,'delivery_ADD_scans':1, + 'native_monomial_adapters':2,'ADDRESS_scans_at_most':2, + 'Gaussian_quadratic_phase_scans_at_most':2, + 'ordinary_helpers':0,'private_fields':0}, + 'endpoint_gauge_obligation':'The fullendpointK E=L C_full R has explicitmonomialleft/rightgauges, bothpaidifused. It isnotexactE. A completecaller whoseindependentoutputsareK_i E may compose the appropriateinputrightgaugesandoutputleftgauges after proving allcolumns. The rightgaugecannotbe dropped at an intermediate mixedcut orassumedto preserve a desiredN response. A dirtyhelper owner mustpriceits actual entrance/terminalresidual; fullarityaloneisnotanownercontract.', + 'even_only_limitation':'Every evenparityC_q commutes physicalZ_all andphysicalX_all. BinaryorthogonalA fixes1; itscorrectedtagz hasz.dot1=0 because itsphaseat1 equals1. Thus R_A=P_A Z_z also commutesbothglobalPaulis. Anybankword usingonlythoseevenqueriesandorthogonalcorrectedcontrollerscommutesdiag(Z_all), whereas afullnativeClifford with invertibleB cannotfix nonzeroZ_all. An odd/nativeanchor or a controlleroutside thatrestrictedcommutant is necessary. GeneralADDRESS adapters outside theorthogonalgroup are notcoveredbythisno-even-onlyclaim. IncomingE isexactlysuch analreadypaidanchor.', + 'actual_checks':checks,'all_f_two_column_checks':source_records, + 'wrong_constant_i_phase_controls':phase_mutants, + 'limits':['No currentpublicreaderN isreplacedbyJ orC_even withouta newall-columnidentity.', + 'No stockor exponentgain isclaimed: thepaid incominganchor, sourceCOPY/readscans, endpointgauges, ownerbinding, precisionandphysicaltapecontract remainrequired.', + 'The fullsourceendpointgauge fixturescoverL3; the writtenrankandphaseidentitiesholdallL>=2.'], + 'no_new_kappa':True} + + +if __name__=='__main__': + p=argparse.ArgumentParser(description=__doc__);p.add_argument('--write',action='store_true');args=p.parse_args() + out=json.loads(json.dumps(run()));path=HERE/'EVEN-PARITY-SOURCE.json' + if args.write:path.write_text(json.dumps(out,indent=2,sort_keys=True)+'\n') + else:need(json.loads(path.read_text())==out,'saved even parity source differs') + print(out['status']) diff --git a/research/coupled-tail-support-floor/source/native-frames/lifted_algebra.py b/research/coupled-tail-support-floor/source/native-frames/lifted_algebra.py new file mode 100644 index 0000000000..a63509e504 --- /dev/null +++ b/research/coupled-tail-support-floor/source/native-frames/lifted_algebra.py @@ -0,0 +1,123 @@ +"""Exact all-f tensor algebra with one distinguished Pauli-controlled coordinate. +Apache-2.0; substantial OpenAI Codex assistance. No finite-f extrapolation. +""" +from dataclasses import dataclass +from fractions import Fraction as F +from native_model import * +@dataclass(frozen=True) +class G: + a:F=F(0);b:F=F(0) + def __add__(s,t): + if not isinstance(t,G):t=G(F(t)) + return G(s.a+t.a,s.b+t.b) + def __neg__(s):return G(-s.a,-s.b) + def __sub__(s,t):return s+-t + def __mul__(s,t): + if not isinstance(t,G):t=G(F(t)) + return G(s.a*t.a-s.b*t.b,s.a*t.b+s.b*t.a) + def conj(s):return G(s.a,-s.b) + def __truediv__(s,t): + if not isinstance(t,G):t=G(F(t)) + d=t.a*t.a+t.b*t.b;need(bool(d),'nonzero Gaussian divisor');return s*t.conj()*G(1/d) + def __bool__(s):return bool(s.a or s.b) + def encode(s):return[str(s.a),str(s.b)] +ZERO=G();ONE=G(F(1));I=G(F(0),F(1));UNITS=(ONE,I,-ONE,-I) +def phasevec(q):return tuple(UNITS[(q if isinstance(q,int)else q(r))%4]for r in range(4)) +def cadd(a,c):return tuple(x+y for x,y in zip(a,c)) +def cmul(a,c):return tuple(x*y for x,y in zip(a,c)) +def cconj(a):return tuple(x.conj()for x in a) +def czero(a):return not any(a) +class Algebra: + def __init__(self,stages=4): + self.stages=stages;self.m=2+2*stages;self.rep={};self.products={};self.inverses={};self.phase_cache={};self.model=Model(1,stages);self.idkey=self.canonical(ce.ident(self.m))[0] + self.one={(self.idkey,self.idkey):(ONE,)*4};self.N=self.lift(self.model.N,exponent=1);self.U=self.lift(self.model.U);self.V=self.product(self.N,self.adjoint(self.U));self.P=[self.lift(x)for x in self.model.P];self.T=[self.lift(x,exponent=1)for x in self.model.T];self.Q=[] + for s in range(stages+1):self.Q.append(self.lift(ce.xgate(self.m,1<<(2*s)),ce.ident(self.m))) + def canonical(self,op): + key=op.tab + # Same signed tableau means the representative differs by exactly a Gaussian unit. + state,depth=b.sparse_column(op);first=state[min(state)];q=None + for j in range(4): + a,c=b.gaussian_unit(first,-j) + if a>0 and c>=0:q=j;break + need(q is not None,'canonical Gaussian amplitude phase') + if key not in self.rep:self.rep[key]=op.then(phase(op.n,-q)) + return key,q + def multiply_keys(self,a,c): + if(a,c)not in self.products:self.products[(a,c)]=self.canonical(mul(self.rep[a],self.rep[c])) + return self.products[(a,c)] + def adjoint_key(self,a): + if a not in self.inverses:self.inverses[a]=self.canonical(self.rep[a].adjoint()) + return self.inverses[a] + def lift(self,dist,bulk=None,exponent=0): + if bulk is None:bulk=dist + kd,qd=self.canonical(dist);kb,qb=self.canonical(bulk) + need(b.binary_tableau(dist)==b.binary_tableau(bulk),'distinguished difference must be Pauli only') + return{(kd,kb):phasevec(lambda r:exponent*(1-r)+qd+qb*(r-1))} + def add(self,a,c): + out=dict(a) + for k,v in c.items(): + w=cadd(out.get(k,(ZERO,)*4),v) + if czero(w):out.pop(k,None) + else:out[k]=w + return out + def scale(self,a,c): + if not isinstance(c,G):c=G(F(c)) + return{k:tuple(c*x for x in v)for k,v in a.items()if c} + def product(self,a,c): + out={} + for(ad,ab),av in a.items(): + for(cd,cb),cv in c.items(): + kd,qd=self.multiply_keys(ad,cd);kb,qb=self.multiply_keys(ab,cb);phase=phasevec(lambda r:qd+qb*(r-1));value=cmul(cmul(av,cv),phase);key=(kd,kb);value=cadd(out.get(key,(ZERO,)*4),value) + if czero(value):out.pop(key,None) + else:out[key]=value + return out + def adjoint(self,a): + out={} + for(ad,ab),av in a.items(): + kd,qd=self.adjoint_key(ad);kb,qb=self.adjoint_key(ab);value=cmul(cconj(av),phasevec(lambda r:qd+qb*(r-1)));out=self.add(out,{(kd,kb):value}) + return out + def mat_identity(self,n):return[[dict(self.one)if i==j else{}for j in range(n)]for i in range(n)] + def mat_product(self,a,c): + n=len(a);out=[[{}for j in range(n)]for i in range(n)] + for i in range(n): + for k in range(n): + if not a[i][k]:continue + for j in range(n): + if c[k][j]:out[i][j]=self.add(out[i][j],self.product(a[i][k],c[k][j])) + return out + def router(self,n,a,c,selector=0,sign=1): + out=self.mat_identity(n);Q=self.scale(self.Q[selector],sign);ep=self.scale(self.add(self.one,Q),F(1,2));em=self.scale(self.add(self.one,self.scale(Q,-1)),F(1,2));out[a][a]=out[c][c]=ep;out[a][c]=out[c][a]=em;return out + def diagonal(self,n,bank,op):out=self.mat_identity(n);out[bank][bank]=op;return out + def continuation(self,choice): + if choice=='U':return self.U + if choice=='V':return self.V + # alpha_f=(-i)^(f+1), selected completed fresh1 p-bit. Conditional + # continuation is directly admitted by the R diag(U,I) R word. + need(choice in('C+','C-'),'known role') + Q=self.Q[1];ep=self.scale(self.add(self.one,Q),F(1,2));em=self.scale(self.add(self.one,self.scale(Q,-1)),F(1,2));alpha=phasevec(lambda r:-r-1);av={k:cmul(v,alpha)for k,v in self.V.items()} + return self.add(self.product(ep if choice=='C+'else em,self.U),self.product(em if choice=='C+'else ep,av)) + def box(self,n,stage,kind,target,source,role='U',c=1,target_P=False): + out=self.mat_identity(n);W=self.continuation(role);P=self.P[stage] + if kind=='F':out[source][source]=self.product(W,P);out[target][source]=self.scale(self.N,c) + elif kind=='G': + Wi=self.adjoint(W);out[source][source]=Wi;out[target][target]=P;out[target][source]=self.scale(self.product(self.product(P,self.N),Wi),c) + else:raise ValueError(kind) + if target_P: + need(kind=='F','only forward postdelivery/pre-T target P admitted') + out=self.mat_product(self.diagonal(n,target,P),out) + return out + def allf_target_residual(self,a): + # Right-normalize the desired full native common N. A positive result + # has entries in the fixed distinguished Pauli algebra, bulk identity. + Ni=self.adjoint(self.N);res=[] + for row in a: + rr=[] + for entry in row: + v=self.product(entry,Ni) + if any(kb!=self.idkey for kd,kb in v):return None + if any(b.binary_tableau(self.rep[kd])!=b.binary_tableau(ce.ident(self.m))for kd,kb in v):return None + rr.append(v) + res.append(rr) + return res + def fingerprint(self,a): + return tuple(tuple(tuple(sorted((str(k),tuple((v.a,v.b)for v in vec))for k,vec in entry.items()))for entry in row)for row in a) diff --git a/research/coupled-tail-support-floor/source/native-frames/native_model.py b/research/coupled-tail-support-floor/source/native-frames/native_model.py new file mode 100644 index 0000000000..0ab770f491 --- /dev/null +++ b/research/coupled-tail-support-floor/source/native-frames/native_model.py @@ -0,0 +1,67 @@ +"""Pinned Gaussian Clifford model for common2/fresh2 native bridges. +Apache-2.0; substantial OpenAI Codex assistance. Frozen imports are read only. +""" +from pathlib import Path +import hashlib,importlib.util,sys +sys.dont_write_bytecode=True +BASE=Path(__file__).resolve().parents[1] +PIN='20ecf2891d80b5acf18d980b2164fb44ea7faa90' +CE_PATH=BASE/'vendor/clifford_exact.py' +CE_SHA='2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962' +BOUND_PATH=BASE/'vendor/full_stabilizer_bound.py' +BOUND_SHA='f073a00ad4831616e873eb110fd33ad7226010a7c2f6cfa6a6b63167bf58ef75' +def need(ok,why): + if not ok:raise ValueError(why) +def load(name,path,sha): + need(hashlib.sha256(path.read_bytes()).hexdigest()==sha,'source pin '+str(path)) + spec=importlib.util.spec_from_file_location(name,path);mod=importlib.util.module_from_spec(spec);sys.modules[name]=mod;spec.loader.exec_module(mod);return mod +ce=load('native_frames_pinned_clifford',CE_PATH,CE_SHA) +b=load('native_frames_frozen_independent',BOUND_PATH,BOUND_SHA) +def mul(*ops):return b.standard_product(ce,*ops) +def same(a,c,why,phase=True): + need(a.tab==c.tab,why+' signed tableau') + if phase:need(b.sparse_column(a)==b.sparse_column(c),why+' actual Gaussian phase') +def phase(n,p):return ce.Op(n,ce.identity(n),[('phase',p%4)]) +def symplectic_defect_rank(op): + return b.binary_rank(x^y for x,y in zip(b.binary_tableau(op),b.binary_tableau(ce.ident(op.n)))) +def pauli(n,x=0,z=0,p=0): + out=ce.diag(n,[0]*n,[2*((z>>j)&1)for j in range(n)]) + return mul(phase(n,p),ce.xgate(n,x),out) +def conjugated_pauli(op,x=0,z=0,p=0): + triple=ce.apply(op.tab,(x,z,p));return pauli(op.n,*triple),triple +class Model: + def __init__(self,f=1,stages=4): + need(f>=1 and stages>=1,'positive chunk/stages');self.f=f;self.stages=stages;self.n=(2+2*stages)*f;self.I=ce.ident(self.n) + self.N=self.Npair(0,1);self.U=self.Hp(0);self.V=mul(self.N,self.U.adjoint()) + self.P=[self.swap_pair(s+1)for s in range(stages)];self.T=[self.Npair(2+2*s,3+2*s)for s in range(stages)] + self.Q=ce.xgate(self.n,1) + def Hp(self,chunk): + out=self.I + for j in range(self.f): + bit=chunk*self.f+j;alpha=[0]*self.n;alpha[bit]=2 + out=mul(ce.diag(self.n,[0]*self.n,alpha),ce.cgate(self.n,1<=4,'pqqp uses4 stages');gs=[self.I,self.I];controls=[];F=self.I + for s,(kind,W) in enumerate(zip('FGFG',[self.U,self.V,self.V,self.U])): + required=self.phi(gs[1])if kind=='F'else mul(W,self.N.adjoint(),gs[1],self.N,W.adjoint()) + L=mul(required,gs[0].adjoint());controls.append(L);gs[0]=required + if kind=='F':gs=[gs[0],mul(W,self.P[s],gs[1],W.adjoint())] + else:gs=[mul(W.adjoint(),gs[0],W),mul(self.P[s],gs[1])] + F=mul(self.T[s],F) + return gs,controls diff --git a/research/coupled-tail-support-floor/source/native-frames/orthogonal_source_normalizer.py b/research/coupled-tail-support-floor/source/native-frames/orthogonal_source_normalizer.py new file mode 100644 index 0000000000..9ffbd4da72 --- /dev/null +++ b/research/coupled-tail-support-floor/source/native-frames/orthogonal_source_normalizer.py @@ -0,0 +1,182 @@ +#!/usr/bin/env python3 +"""Gaussian-typed binary orthogonal normalizers at a full source cut. + +This is a genuine bit-linear ADDRESS extension beyond plane permutations +and X translations. It is not itself a completed caller construction. +Apache-2.0; substantial OpenAI Codex assistance. +""" +from pathlib import Path +from fractions import Fraction +import argparse +import hashlib +import json +from native_model import * + +HERE = Path(__file__).resolve().parent + + +def typed_D(model, oldplanes): + alpha, quadratic = [0] * model.n, [0] * model.n + for chunk in range(2 * oldplanes): + for bit in range(model.f): + k = chunk * model.f + bit + alpha[k] = 1 if chunk % 2 == 0 else 3 + quadratic[k] = 1 << k + return ce.diag(model.n, quadratic, alpha) + + +def reflection(model, oldplanes=2, support=(0, 1, 2, 3)): + need(len(support) % 2 == 0 and len(support) > 0, 'even nonempty reflection support') + need(max(support) < 2 * oldplanes, 'reflection uses only completed old chunks') + rows = [1 << j for j in range(model.n)] + for out in support: + for bit in range(model.f): + rows[out * model.f + bit] ^= sum(1 << (src * model.f + bit) + for src in support) + D = typed_D(model, oldplanes) + P = ce.perm(model.n, rows) + return mul(D.adjoint(), P, D), rows + + +def gaussian_add(a, c): + return a[0] + c[0], a[1] + c[1] + + +def unit(power): + return ((1, 0), (0, 1), (-1, 0), (0, -1))[power % 4] + + +def marked_character_checks(): + # Actual 64-point Fourier character sum, independent of Clifford tableaux. + def residual(w): + return tuple(((w >> (2 * k)) ^ (w >> (2 * k + 1))) & 1 for k in range(3)) + + def character_coefficient(w, wp, support): + v = sum(1 << k for k in support) + coefficient = (0, 0) + for x in range(64): + Ax = x ^ (v if (x & v).bit_count() % 2 else 0) + dx = sum((1 if k % 2 == 0 else -1) * ((x >> k) & 1) for k in range(6)) + dAx = sum((1 if k % 2 == 0 else -1) * ((Ax >> k) & 1) for k in range(6)) + sign = 2 * (((w & x).bit_count() + (wp & Ax).bit_count()) % 2) + coefficient = gaussian_add(coefficient, unit(dx - dAx + sign)) + return [Fraction(a, 64) for a in coefficient] + + # The initially proposed balanced reflection is NOT an escape. It maps + # w to w+(v.w+1)v and preserves both the unique mark and its virtual bit. + v = 15 + paired_checked = 0 + for w in range(64): + marks = residual(w) + if sum(marks) != 1: + continue + wp = w ^ (v if ((w & v).bit_count() + 1) % 2 else 0) + owner = marks.index(1) + need(character_coefficient(w, wp, (0, 1, 2, 3)) == [1, 0], 'paired exact character map') + need(residual(wp) == marks and ((w >> (2 * owner)) & 1) == ((wp >> (2 * owner)) & 1), 'paired reflection commutes marked C') + paired_checked += 1 + # Unpaired three-p/one-q reflection is bare ADDRESS, sending q0 to p0+p1+p2. + w, wp = 2, 21 + coefficient = character_coefficient(w, wp, (0, 1, 2, 4)) + need(coefficient == [1, 0], 'unpaired actual character coefficient') + need(residual(w) == (1, 0, 0) and residual(wp) == (1, 1, 1), 'genuine marked-subspace leakage') + return {'paired_negative_control': {'one_mark_characters_checked': paired_checked, + 'marked_C_commutes': True, + 'all_f_lift': 'The map is bitwise. With one residual mark r=(p0,q1^f), its owner inside the balanced support makes v.w=1 at every position and R fixes the character. An owner outside makes R complement only unmarked virtual bits. The marked owner bit is unchanged.'}, + 'unpaired_escape': {'input_X_character': w, 'input_residual_marks': residual(w), + 'output_X_character': wp, 'output_residual_marks': residual(wp), + 'actual_character_matrix_coefficient': [str(x) for x in coefficient], + 'all_f_lift': 'Put ones on all f q0 positions and zeros elsewhere. Bare bitwise ADDRESS sends this X character to ones on all p0,p1,p2 positions, changing exactly one residual mark into three for every f>=1. No diagonal pair gauge can remove this nonzero leakage.'}} + + +def run(): + checks = [] + onebit_recipe = None + for f in (1, 2, 3): + z = Model(f, 2) + R, rows = reflection(z) + oldG = mul(z.N, z.T[0]) + same(mul(R, R), z.I, 'actual orthogonal normalizer involution') + same(mul(R, oldG), mul(oldG, R), 'actual full-source normalizer phase') + need(b.native_rank(R) == 0, 'orthogonal typed reflection is monomial') + # Literal two-bank source insertion, with oldfresh=N1 and newfresh=N2. + actual_source = mul(z.P[1], R.adjoint(), R, z.N, z.T[0]) + actual_cross = mul(z.T[1], R, z.N, z.T[0]) + desired_source = mul(z.T[1], z.T[0], z.P[1]) + desired_cross = mul(z.T[1], z.T[0], z.N, R) + same(actual_source, desired_source, 'unchanged sourcecode and fresh coverage') + same(actual_cross, desired_cross, 'changed delivery N0R on arbitrary source column') + # The raw target coefficient is N2 N1 and is independent of source. + K = mul(z.N, R) + power = z.I + ranks = [] + for exponent in range(1, 5): + power = mul(K, power) + ranks.append(b.native_rank(power)) + same(power, z.I, 'exact quartic phase of this reflection kernel') + need(ranks == [2 * f, 2 * f, 2 * f, 0], 'kernel power is not an unproved full-native completion') + if f == 1: + compiled, onebit_recipe = ce.monomial(R) + same(R, compiled, 'actual literal Gaussian monomial recipe') + checks.append({'f': f, 'native_R': 0, 'source_old_native_planes': [0, 1], + 'new_fresh_plane': 2, 'source_frame_commutes_actual_phase': True, + 'kernel_power_native_arities': ranks, 'kernel_fourth_power': 'I'}) + unpaired_checks = [] + for f in (1, 2): + z = Model(f, 3) + R, rows = reflection(z, 3, (0, 1, 2, 4)) + bare = ce.perm(z.n, rows) + oldG = mul(z.N, z.T[0], z.T[1]) + same(R, bare, 'unpaired typed normalizer is literally bare ADDRESS') + same(mul(R, R), z.I, 'unpaired reflection literal involution') + same(mul(R, oldG), mul(oldG, R), 'unpaired full-source Gaussian phase') + need(b.native_rank(R) == 0, 'unpaired ADDRESS is nativezero') + actual_source = mul(z.P[2], R.adjoint(), R, z.N, z.T[0], z.T[1]) + actual_cross = mul(z.T[2], R, z.N, z.T[0], z.T[1]) + same(actual_source, mul(z.T[2], z.T[0], z.T[1], z.P[2]), 'unpaired unchanged source column') + same(actual_cross, mul(z.T[2], z.T[0], z.T[1], z.N, R), 'unpaired changed cross column phase') + need(b.native_rank(mul(z.N, R)) == 2 * f, 'changed cross native arity') + unpaired_checks.append({'f': f, 'old_native_planes': [0, 1, 2], 'new_fresh_plane': 3, + 'actual_typed_R_equals_bare_ADDRESS': True, 'native_R': 0, + 'source_and_cross_columns_actual_phase': True, + 'kernel_native_arity': 2 * f}) + characters = marked_character_checks() + return {'status': 'PASS_ALL_F_ORTHOGONAL_TYPED_SOURCE_NORMALIZER', + 'scientific_pin': PIN, + 'producer_sha256': hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + 'native_model_sha256': hashlib.sha256((HERE/'native_model.py').read_bytes()).hexdigest(), + 'all_parameter_schema': 'For j old native planes (2j chunks), put D=diag phasei on everyoldp bit and-i on everyoldq bit. Exact G_old=product(N_i)=i^j D^-1 H_all D. If binaryA is orthogonal,A^T A=I, then its literal ADDRESS permutation P_A commutes ordinary WalshH_all. Hence R_A=D^-1 P_A D is monomial and commutesG_old, including all global phases, for every f>=1.', + 'paired_reflection_negative_control': 'On two complete oldplanes v=1111 gives a legal typed R, but it COMMUTES with the marked-residual C. It is not an escape from that grammar floor. Its kernel K=N0R has exact K^4=I and nativearities2f,2f,2f,0 for its first four powers.', + 'explicit_unpaired_reflection': 'On three complete oldplanes ordered(p0,q0,p1,q1,p2,q2), take v=(1,1,1,0,1,0), A=I+vv^T. Its support has three p chunks and one q. v^Tv=0, so A^2=A^T A=I. Apply it bitwise at all f positions. Writing d(x)=sum pbits-sum qbits, if v.x is odd then d(x)-d(Ax)=2 d_v(x)-2=0 mod4; otherwise zero. Thus R_A=D^-1 P_A D=P_A literally, with no extra Gaussian phase.', + 'literal_gaussian_chart': 'Ononebit Hp=e^(-i pi/4) S^-1 H S and Hq=e^(+i pi/4) S H S^-1, S=diag(1,i). Their scalar factors cancel within each actual pairN=i Hp Hq, giving the exact i^j formula above. This is a conjugation identity in Gaussian operators; no irrational phase is introduced by the implementedR, which usesonly D/P_A/D^-1 with Gaussian-unit entries.', + 'source_cut_binding': 'At stagej with oldF=productfresh1..j-1, source N0oldF is full G_old. Insert R before the source delivery and R^-1 immediately after. Then sourcePj and targetNj give boundary Fnew[[Pj,0],[N0R,I]]. The sourceoriginal column, targetoriginal column, arbitrary source crosscolumn and literal inverse all retain their phases. This doesnot assert(N0R)^2=-I.', + 'per_pair_invoice': {'native_H2': 2, 'native_rank_mass': 4, + 'delivery_ADD_scans': 1, + 'existing_source_ADDRESS_scans': 1, + 'new_R_ADDRESS_scans': 2, + 'new_R_diagonal_phase_scans': 0, + 'ordinary_helpers': 0, 'private_fields': 0}, + 'native_zero_lowering': 'The useful unpaired R is the explicit bitwise binary ADDRESS map A=I+vv^T itself. Its inverse is the same literal scan. Both new scans use only completed old chunks. The fixed binary controller and all address/source work remain paid.', + 'paired_one_bit_monomial_recipe': onebit_recipe, + 'paired_actual_checks': checks, + 'unpaired_actual_checks': unpaired_checks, + 'marked_character_checks': characters, + 'evidence_domain': 'Written all-j/all-f orthogonal conjugation proof and explicit all-f bare-phase/leakage proof; actual Gaussian phase/source-column checks for pairedj2 f1/f2/f3 and unpairedj3 f1/f2; independent64-point actual Fourier-character sums. The paired candidate is correctly rejected as a marked-C escape. No f1-only native admission is extrapolated.', + 'limits': ['A complete caller must retain the changed noncommuting kernelsN0R and their independent-input sourcecodes, all public couplings and the literal inverse.', + 'The old scalar quadratic caller cannot be reused by pretendingK^2=-I.', + 'No full exponent, stock/owner, all-size, precision or tape claim is made.'], + 'no_new_kappa': True} + + +if __name__ == '__main__': + p = argparse.ArgumentParser(description=__doc__) + p.add_argument('--write', action='store_true') + args = p.parse_args() + out = json.loads(json.dumps(run())) + path = HERE/'ORTHOGONAL-SOURCE-NORMALIZER.json' + if args.write: + path.write_text(json.dumps(out, indent=2, sort_keys=True)+'\n') + else: + need(json.loads(path.read_text()) == out, 'saved orthogonal normalizer differs') + print(out['status']) + print(out['marked_character_checks']['unpaired_escape']) diff --git a/research/coupled-tail-support-floor/source/portable/local_block.py b/research/coupled-tail-support-floor/source/portable/local_block.py new file mode 100644 index 0000000000..12ba0c10ed --- /dev/null +++ b/research/coupled-tail-support-floor/source/portable/local_block.py @@ -0,0 +1,162 @@ +#!/usr/bin/env python3 +"""Exact arbitrary-input q2 cleanup block and its single-entry support gate. +Apache-2.0. Substantial OpenAI Codex assistance. No new caller/kappa. +""" +from pathlib import Path +from collections import Counter +import argparse, copy, hashlib, json, sys +sys.dont_write_bytecode = True +HERE = Path(__file__).resolve().parent +RUNDIR = HERE.parent +PINS = { + 'two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json': '30d3f569d91304856118796f0c586176d0ad961eff70b09c78fce7532392101f', + 'two-site-continuation/MANIFEST.json': '44f1e264b3087ab8fdb08b4cd6e27befefbba380852b0119321724b7bc41b5da', + 'folded-fusion/SIMPLIFIED-FUSIONS.json': '4491cfe2a1f3e48510b33403b9b50c704865c3b1dc6d659ef5157840654e8fc3', + 'caller-joint/joint_algebra.py': '6fe4de627845a36e2e08723e705daa86959846fe4ea577e94fca233829d7d5c9', + 'caller-joint/validate_recipe_links.py': '30b9ad84008ff6df9597bb95964174745a6cd978b9bfde968e18b8db396416b8', +} +for relative, expected in PINS.items(): + if hashlib.sha256((RUNDIR / relative).read_bytes()).hexdigest() != expected: + raise ValueError('frozen source pin: ' + relative) +sys.path.insert(0, str(RUNDIR / 'caller-joint')) +from joint_algebra import * +from validate_recipe_links import compile_literal, compile_recipe, embedding_circuit + + +def extra(e): + return tuple(e.get('extra_global_phase_exponent_by_f_mod4', + [e.get('phase_exponent', 0)*(1-r) % 4 for r in range(4)])) + + +def produce(): + admitted = json.loads((RUNDIR / 'two-site-continuation/ADMITTED-TWO-SITE-FUSIONS.json').read_text()) + source = json.loads((RUNDIR / 'folded-fusion/SIMPLIFIED-FUSIONS.json').read_text()) + f = next(f for f in admitted['fixtures'] if f['q'] == 2) + old = next(f for f in source['fixtures'] if f['q'] == 2) + E = f['events']; m, n, cut = f['ambient_arity'], f['banks'], 69 + need(E[cut]['label'] == 'final independent a J query', 'exact local physical entrance cut') + suffix = copy.deepcopy(E[cut:]) + inverse = copy.deepcopy(f['inverse_events'][:len(suffix)]) + compiled = {} + used_pool = {} + # Every unchanged suffix unary retains an explicit source-event binding. + for direction, events in [('forward', suffix), ('inverse', inverse)]: + for e in events: + if e['kind'] in ('ADD', 'SCALE', 'BANK_SWAP'): + continue + source_event = old['events'][e['source_event_ordinal']] + g = qc.decode(source_event, m) + if e['source_operator_is_adjoint']: + g = g.inv() + e['x_monomial'] = g.data() + op = compile_literal(e['one_coordinate_literal_circuit'], m) + need(op.tab == tuple(tuple(t) for t in e['one_coordinate_tableau']), 'actual signed source unary') + need(ce.rank(x for x,z,p in op.tab[m:]) == e['rank_per_f'], 'actual source unary native rank') + # The physical definition is compared with the pinned symbolic + # coordinate definition using a separately constructed circuit. + from joint_prefix import inverse_transpose + circ=[] + for i,a in enumerate(g.alpha): + if a%4 == 1:circ.append(('C',1<>j&1:circ.extend([('C',1<>i)&1)for i in range(m))), + ('phase',(g.constant+g.global_phase)%4)]) + same(compile_literal(circ,m), op, 'actual source unary exact Gaussian phase') + need(extra(e) == tuple(g.global_phase*(1-r)%4 for r in range(4)), 'actual all-f source tensor phase correction') + if e['kind'] == 'NATIVE': + key=e['native_recipe_id']; rec=f['native_recipe_pool'][key] + local_n=len(rec['one_coordinate_tableau'])//2 + selected=compile_recipe(rec['selected_native_recipe'],local_n) + full=compile_literal(embedding_circuit(selected.circuit,e['recipe_embedding'],m),m) + same(full,op,'every used forward/inverse selected source recipe and embedding') + need(tuple(rec['extra_global_phase_exponent_by_f_mod4'])==extra(e),'selected source recipe tensor-phase correction') + used_pool[key]=rec + compiled[(direction,e['label'])] = op + M = qc.replay(suffix,n,m); Mi = qc.replay(inverse,n,m) + need(mm(M,Mi) == mm(Mi,M) == eye(n,m), 'complete serialized suffix inverse both orders on every arbitrary input') + A = qc.decode(next(e for e in suffix if e['label']=='final independent a J query'),m) + W = qc.decode(next(e for e in suffix if e['label']=='dual Q1 recovery'),m) + reverse_events = [e for e in suffix if e['label'] in ('w reverse2 ADDRESS','w reverse2 selected native2','final extraction D_final inverse sign')] + RR = qc.identity(m) + for e in reverse_events:RR = qc.decode(e,m) @ RR + F5 = prefix(m,5); Q = j_operator(m).inv() @ plane_swap(m,0,1) @ n_pair(m,0).inv() @ j_operator(m) @ j_operator(m) + need(mono(A) == mono(F5@j_operator(m)@F5.inv()), 'actual A definition') + need(mono(W) == mono(F5@Q.inv()@F5.inv()), 'actual W definition') + minus = qc.Mono(qc.identity(m).rows,0,(0,)*m,(0,)*m,0,2) + need(mono(RR) == mono(minus@n_pair(m,5)@plane_swap(m,0,5)), 'actual reverse-current operator and minus phase') + I = mono(qc.identity(m)); Z = {}; IW = add(I,scale(mono(W),-1)) + expected = [[{}for _ in range(n)]for _ in range(n)] + expected[0][0] = mono(A) + expected[1][0] = scale(mono(W@A),-1); expected[1][2] = IW; expected[1][3] = mono(W@RR); expected[1][4] = IW + expected[2][0] = scale(mono(A),-1); expected[2][2] = I + expected[3][0] = scale(mono(A@W@A),-1); expected[3][1] = mono(A) + expected[3][2] = product(mono(A),IW) + expected[3][3] = product(mono(A),product(scale(IW,-1),mono(RR))) + expected[3][4] = scale(mono(A@W),-1) + expected[4][4] = I; expected[5][5] = I + need(M == expected, 'literal entire local block equals six-by-six symbolic operator target') + need(len(M[1][3]) == 1 and qc.rank(next(iter(M[1][3])).polar()) == 6, 'single actual arity-six input3/output1 coefficient') + # Independently lower that exact coefficient to certify its uniform row + # support. This recipe is a witness, not a proposed complete cleanup. + C = ce.ident(m); ce_extra = [0]*4 + for e in reverse_events + [next(e for e in suffix if e['label']=='dual Q1 recovery')]: + C = C.then(compile_literal(e['one_coordinate_literal_circuit'],m)) + ce_extra = [(x+y)%4 for x,y in zip(ce_extra,extra(e))] + need(ce.rank(x for x,z,p in C.tab[m:]) == 6, 'coefficient physical B-rank6') + recipe, lowered = ce.lower_child(C) + need(recipe['rank'] == 6, 'explicit selected Fourier rank for support witness') + same(lowered,C,'support-witness selected child exact Gaussian phase') + same(compile_recipe(recipe,m),C,'independent support-witness recipe recompilation') + before = sum(e['rank_per_f']for e in E[:cut]if e['kind']=='NATIVE') + local_hist = Counter(e['rank_per_f']for e in suffix if e['kind']=='NATIVE') + local = sum(r*c for r,c in local_hist.items()) + need(before == 66 and local == 10 and before+local == f['native_mass'] == 76, 'complete unchanged-prefix plus local-native bill') + need(f['stock'] == 72 and f['stock']-before == 6, 'exact below-stock local threshold') + mutant = [[dict(v) for v in row] for row in M];mutant[1][3] = {} + need(mutant != M, 'discarding arbitrary incoming bank3 changes an original coefficient') + omitted_reverse = [e for e in suffix if e['label'] != 'w reverse2 selected native2'] + wrong = qc.replay(omitted_reverse,n,m) + need(wrong != M and len(wrong[1][3]) == 1, 'omitting the reverse-current native query changes the arbitrary-input block') + need(qc.rank(next(iter(wrong[1][3])).polar()) == 4, 'omitted reverse query spuriously lowers the witness rank') + need(not any(e['kind']=='SCALE'for e in suffix),'actual suffix needs no hidden SCALE cancellation') + return dict(status='PASS_EXACT_COUPLED_CLEANUP_BLOCK_AND_SUPPORT_BOUNDARY', no_new_kappa=True, + producer_sha256=hashlib.sha256(Path(__file__).read_bytes()).hexdigest(), + source_pins=[dict(path=str(RUNDIR/p),sha256=h)for p,h in PINS.items()], + q=2,banks=n,ambient_arity=m,cut_event_ordinal=cut,cut_label=E[cut]['label'], + unchanged_prefix_native_mass=before,local_native_histogram=dict(sorted(local_hist.items())),local_native_mass=local, + complete_mass=76,endpoint_stock=72,strict_improvement_requires_local_native_mass_less_than=6, + events=suffix,inverse_events=inverse,native_recipe_pool=used_pool, + all_original_local_columns=n,literal_inverse_orders=2, + complete_local_matrix=sm(M),complete_local_inverse=sm(Mi), + operators=dict(A=A.data(),W=W.data(),R=RR.data()), + unavoidable_entry=dict(row=1,column=3,operator=serial(M[1][3]),native_arity_per_f=6, + one_coordinate_tableau=C.tab,one_coordinate_literal_circuit=C.circuit, + extra_global_phase_exponent_by_f_mod4=ce_extra, + support_witness_selected_native_recipe=recipe, + role='Only certifies row support of an entry; not an executed new cleanup/native invoice.'), + all_f_support_inequality='sum_native_arities_R_f + binary_fullbank_ADD_count_S_f >=6f', + constant_scan_consequence='For this exact local interface, bounded-in-f ADD count implies liminf R_f/f>=6; unchanged prefix66f then gives asymptotic total>=72f.', + finite_f_scope='R_f>=6f-S_f, not a pointwise native-only6f lower bound when S_f is positive.', + non_native_event_counts=dict(Counter(e['kind']for e in suffix if e['kind']!='NATIVE')), + negative_controls=['Discarding arbitrary incoming bank3 deletes a nonzero arity6 coefficient and is rejected.', + 'Omitting reverse-current N5 changes the exact matrix and spuriously lowers entry rank6 to4; rejected.'], + limits=['Any replacement must realize this exact current-input matrix on all arbitrary banks, not only a clean/correlated subspace.', + 'Arbitrary extra dirty registers restored are permitted by the support proof; their identity coefficient rows start with support1.', + 'Native rank mass lower bound uses monomial adapters/scalars of row support1 and binary ADD/COPY gates, counting every support-doubling scan.', + 'Growing O(f) ADD counts, partial/fused scan machine models, changed input/output gauges or an earlier fresh/source/coupled cut require separate analysis.', + 'No expensive enumeration, new full cleanup factorization, supplier, owner, BIT, recurrence or kappa admission.']) + + +def main(): + p = argparse.ArgumentParser();p.add_argument('--write',action='store_true');a=p.parse_args() + result=json.loads(json.dumps(produce()));out=HERE/'LOCAL-BLOCK.json' + if a.write:out.write_text(json.dumps(result,indent=2,sort_keys=True)+'\n') + else:need(json.loads(out.read_text())==result,'saved coupled local block') + print(result['status'],'fixed66 + local10; unavoidable entry6f; no bounded-scan local bill<6f') + + +if __name__=='__main__':main() diff --git a/research/coupled-tail-support-floor/source/root-chronology/quadratic_charts.py b/research/coupled-tail-support-floor/source/root-chronology/quadratic_charts.py new file mode 100644 index 0000000000..80f2d4d055 --- /dev/null +++ b/research/coupled-tail-support-floor/source/root-chronology/quadratic_charts.py @@ -0,0 +1,221 @@ +#!/usr/bin/env python3 +"""Exact X-character monomial algebra and bounded quadratic-chart retiming. + +Apache-2.0; substantial OpenAI Codex assistance. Rank screens do not admit a +physical supplier. A saved positive word must separately lower every child. +""" +from dataclasses import dataclass +from functools import lru_cache +from fractions import Fraction +from heapq import nsmallest +from math import isqrt +import argparse, hashlib, json +from pathlib import Path + +HERE=Path(__file__).resolve().parent +def need(c,m): + if not c: raise ValueError(m) +def parity(x): return x.bit_count()&1 +def linear(rows,x): return sum(parity(r&x)<>i&1),None) + need(j is not None,'invertible binary address');a[i],a[j]=a[j],a[i] + for j in range(n): + if j!=i and a[j]>>i&1:a[j]^=a[i] + return tuple(r>>n for r in a) +@lru_cache(None) +def rank(rows): + basis={} + for r in rows: + while r: + p=r.bit_length()-1 + if p in basis:r^=basis[p] + else:basis[p]=r;break + return len(basis) + +@dataclass(frozen=True) +class Mono: + rows:tuple + offset:int + alpha:tuple + quad:tuple + constant:int=0 + global_phase:int=0 + # Actual all-f family: i^global_phase times the f-fold tensor power. + def q(self,x): + return (self.constant+sum(a for i,a in enumerate(self.alpha) if x>>i&1) + +2*sum(parity(r&x) for i,r in enumerate(self.quad) if x>>i&1))%4 + def act(self,x):return linear(self.rows,x)^self.offset + def __matmul__(self,b):return compose(self,b) + def inv(self):return adjoint(self) + def data(self):return dict(rows=list(self.rows),offset=self.offset,alpha=list(self.alpha),quad=list(self.quad),constant=self.constant,global_phase=self.global_phase) + def polar(self): + r=[(self.alpha[i]&1)<>j&1:r[i]^=1<>j)&1)<>i)&1 for i,r in enumerate(rows)),tuple(r&~((1<<(i+1))-1) for i,r in enumerate(rows))) +def old_operator(e,n): + d=e['operator'];p=d['block_permutation'];rows=[0]*n + for i,j in enumerate(p):rows[2*j]=1<<(2*i);rows[2*j+1]=1<<(2*i+1) + out=Mono(tuple(rows),0,(0,)*n,(0,)*n) + alpha=[0]*n;offset=0 + for i in d['native_blocks']:alpha[2*i]=3;alpha[2*i+1]=1;offset^=3<<(2*i) + N=Mono(identity(n).rows,offset,tuple(alpha),(0,)*n,0,(len(d['native_blocks'])+(2 if d['sign']==-1 else 0))%4) + return N@out +def decode(e,n): + if 'x_monomial' in e: + d=e['x_monomial'];return Mono(tuple(d['rows']),d['offset'],tuple(d['alpha']),tuple(d['quad']),d.get('constant',0),d.get('global_phase',0)) + if e['kind']=='ADDRESS_LINEAR': + # Physical P_A acts on X characters by A^-T. + ri=inverse(tuple(e['operator']['address_rows'])) + rows=tuple(sum(((ri[j]>>i)&1)<>j)&1)<>i&1 else 0)for i in range(n)),0,(0,)*n,(0,)*n) + alpha=(3,1,0,0,0,0);N=Mono(I.rows,3,alpha,(0,)*n,0,1) + need(R@R==I and N@N==Mono(I.rows,0,(0,)*n,(0,)*n,0,2),'literal reflection and native square') + A=N@R@N.inv();need(rank(A.polar())==2,'independent conjugated reflection rank') + for a in (R,N,A,N@R): + need(a@a.inv()==I==a.inv()@a,'both literal inverses') + for b in (R,N,A): + c=a@b + for x in range(1<>j&1:out=out.then(ce.cgate(n,1<>i)&1)for i in range(n)])) + units=[UNITS.index(x)for x in v];out=out.then(old.phase(n,units[1])) + need(from_circuit(out,0)=={key:tuple(UNITS[(units[1]*r)%4]for r in range(4))},'independent X-character-to-physical circuit direction/phase') + return out,[(units[r]-r*units[1])%4 for r in range(4)] + + +def native_check(e,pool,m,cache): + op=event_op(e,m) + if e['kind']!='NATIVE':need(b.native_rank(op)==0,'first emitted free operator is physical monomial');return + key=e['native_recipe_id'];need(key in pool,'native pointer exists');p=pool[key] + need(e['extra_global_phase_exponent_by_f_mod4']==p['extra_global_phase_exponent_by_f_mod4'],'native pool phase-vector direction') + if key not in cache: + n=len(p['one_coordinate_tableau'])//2;actual=op_of(json.dumps(p['one_coordinate_definition_circuit']),n) + need(actual.tab==tuple(tuple(x)for x in p['one_coordinate_tableau']),'pool definition tableau') + compiled=old.compile_recipe(p['selected_native_recipe'],n) + need(equal_op(compiled,actual),'selected recipe actual Gaussian ray') + need(b.native_rank(actual)==p['selected_native_recipe']['rank'],'selected recipe rank') + cache[key]=actual + need(len(e['recipe_embedding'])==cache[key].n,'recipe embedding dimension') + embedded=old.circuit_op(old.embedding(cache[key].circuit,e['recipe_embedding'],m),m) + need(equal_op(embedded,op),'actual event equals selected recipe embedding including phase') + cap=int(((m*m-1)//2)**0.5) + need(e['rank_per_f']<=cap and e['rank_per_f']