diff --git a/docs/ci-verification.md b/docs/ci-verification.md index 63ba3e9aa8..52b62d0481 100644 --- a/docs/ci-verification.md +++ b/docs/ci-verification.md @@ -1,8 +1,25 @@ # CI verification -## Current selected-family replay: #6030 +## Current selected-family replay: #7000 with #7001 The [selected record](../certificates/selected-result.json) binds conditional +κ = 0.00363005817 to the [application review](research/pr-intake-evidence/pr7000-application/PROOF-REVIEW.md), +[validation receipts](research/pr-intake-evidence/pr7000-application/VALIDATION.json), +and [explicit source closure](../certificates/frontier7000-source.json). +`make frontier7000-verify` follows that exact-source selected replay. The review +reuses eleven authenticated preceding executions and records seven fresh serial +application, scalar and complete native-catalogue executions. The earlier +monolithic timeout is retained separately and is not completed coverage. +Consult the receipts for exact commands, source heads and limits. + +The five inherited framework assumptions remain. No complete uniform word, +literal multiplier execution, independent human proof or formal-kernel proof +is asserted. Routine research submissions do not need to rerun this +selected-family replay. The sections below preserve historical checkpoints. + +## Historical selected-family replay: #6030 + +The [historical checkpoint](../certificates/checkpoints/frontier6030.json) binds conditional κ = 0.003125804 to the [proof review](research/pr-intake-evidence/pr6030-audit/PROOF-REVIEW.md), [validation receipts](research/pr-intake-evidence/pr6030-audit/VALIDATION.json), and [explicit source closure](../certificates/frontier6030-source.json). diff --git a/research/historical-selected-replay-gap/README.md b/research/historical-selected-replay-gap/README.md index 55d8cc3b49..36d9a873ca 100644 --- a/research/historical-selected-replay-gap/README.md +++ b/research/historical-selected-replay-gap/README.md @@ -69,7 +69,11 @@ python3 -B scripts/research_package.py --package research/historical-selected-re The direct command prints `PASS_HISTORICAL_SELECTED_REPLAY_GAP`. A registered replay prints `PASS_REGISTERED_RESEARCH_PACKAGE`. Both require Git history -containing the two inspected commits. +containing the two inspected commits and the source and manifest objects at +`2485805a6d47f36ea83ddde6327d453ac82d44dc`. The verifier uses a temporary +sparse checkout of that commit, checks the declared source digests there, and +uses its planner and manifest inventory. The recorded rejections and selection +therefore remain reproducible after later changes to the live Makefile or CI guide. ## Open next questions diff --git a/research/historical-selected-replay-gap/SOURCES.json b/research/historical-selected-replay-gap/SOURCES.json index c1010eec95..62bb8b3950 100644 --- a/research/historical-selected-replay-gap/SOURCES.json +++ b/research/historical-selected-replay-gap/SOURCES.json @@ -4,13 +4,13 @@ "files": [ { "path": "Makefile", - "usage": "input", + "usage": "provenance", "git_blob": "0d683a06b9e7ee162496108ce9a7c5d2ee94fccf", "sha256": "4f2d4f2dcd15139ec82658a975f85ed300897385f85799218539f4c8d60567da" }, { "path": "certificates/partial-swap-network.json", - "usage": "input", + "usage": "provenance", "git_blob": "eccafa830c16170c36faf93045ddf1f638f7bcd4", "sha256": "4c0b9d37e1034b2076e30a70f8e514416298c462d9ee98bc87fe6556b14df786" }, @@ -22,7 +22,7 @@ }, { "path": "docs/ci-verification.md", - "usage": "input", + "usage": "provenance", "git_blob": "63ba3e9aa8bdc5e942b56e34244b92b16f854085", "sha256": "c7d3027e9ad8bcbff68f07aa9576b30fb2f3c76c44d876d40c7fdbf4a3e2228a" }, @@ -34,163 +34,163 @@ }, { "path": "research/clifford-state-performance/SOURCE.json", - "usage": "input", + "usage": "provenance", "git_blob": "6f98a0061a5104dfab82c9e806f819b41811f684", "sha256": "396d0f08df24952248140d5c65c51b8c902ef1c580892ff7ea182890530f67ee" }, { "path": "research/community-batch1047-audit/CONTENT-COVERAGE.json", - "usage": "input", + "usage": "provenance", "git_blob": "5e0f92af463ec12c5e1dcc3effd44081a88af647", "sha256": "07a9daeaf2bda308a92e9a4684f13d5fc766c7772d74801fceb7f4599fdab226" }, { "path": "research/community-batch1099-audit/CONTENT-COVERAGE.json", - "usage": "input", + "usage": "provenance", "git_blob": "9e13266bf85e627f1b7dc225e9530ea69fd2c7f0", "sha256": "421e1211fb1897c45621dc6801c276e53f2e6f335583c9c9049e535f87c0a3b1" }, { "path": "research/community-batch932-audit/CONTENT-COVERAGE.json", - "usage": "input", + "usage": "provenance", "git_blob": "cc4d03eb59b9ab3f952735f7e88ff18c2d15d7af", "sha256": "184629cac91a5cfaca50330a88596008b824221433867dcf8117539c913c284a" }, { "path": "research/community-batch970-audit/CONTENT-COVERAGE.json", - "usage": "input", + "usage": "provenance", "git_blob": "8b9f4111badf7de5d97684799560b55110e9da79", "sha256": "23188ed920e38a54006cb883e181585620821c63bf7e8b5e05d32719417cc37e" }, { "path": "research/community-frontier741-audit/CONTENT-COVERAGE.json", - "usage": "input", + "usage": "provenance", "git_blob": "a5300d4e7a5381a3f443fc54c768ca6f0f236d68", "sha256": "3c820fb30e1b4d9bcfc6a7ab524375e5b2abd66b940af2c509146104f0bcd79c" }, { "path": "research/community-frontier890-audit/CONTENT-COVERAGE.json", - "usage": "input", + "usage": "provenance", "git_blob": "d7ff6d777b01d69b6ce84caf25d3b7e4a4d2f211", "sha256": "6b185a9902652f893f3ebd8ada92d2f11b6de6533a9a4d11718a8a4496101128" }, { "path": "research/community-hyperplane599-audit/SOURCE.json", - "usage": "input", + "usage": "provenance", "git_blob": "546f37d326d10a99910ae8f908e71ef768524d98", "sha256": "65099d764bfcc39bda5e4d9966783611b094c3522dbdd1435cd498d657a8ef8e" }, { "path": "research/community-k492-audit/SOURCE.json", - "usage": "input", + "usage": "provenance", "git_blob": "e538481e4cb16ed936d3195f2dfb5b5a9ca0a76b", "sha256": "2c0f4fa5bc150d05658af2e7c54c4d2c337dd52b7efd3d69530ae73bcbdf452a" }, { "path": "research/community-reconciliation92-audit/MANIFEST.json", - "usage": "input", + "usage": "provenance", "git_blob": "2a2e93685173d5f13cbb5abe740f5d90352e0228", "sha256": "5f501f3c118131e7d069f30ad77186eb2ad6961f9680a0ef105f4514ed41808a" }, { "path": "research/partial-swap-digest/baseline.py", - "usage": "input", + "usage": "provenance", "git_blob": "a2f0190704db83bd8ef48e46e723c49b925804fe", "sha256": "81e9af92cdf38243a540cdcff2062778e449467848d444da37a9553c12ca4c34" }, { "path": "research/r420-two-sided-basis/SOURCES.json", - "usage": "input", + "usage": "provenance", "git_blob": "5d718e11e62f4bcadecf1e02d6b61f87dbe190b0", "sha256": "d9810b0d139c5a1211fd2c1f0d142187cc1fca30026e1e7bc4f9ecfacf1596d1" }, { "path": "research/skip-clones/SOURCE.json", - "usage": "input", + "usage": "provenance", "git_blob": "8d1bb3b9c8189e35e5d8bfdfa632d7473e8be0d5", "sha256": "0b68e63e35a97ce6b0cdb6e291b88ebaa8f2dd4afb70b2498f10ee89428258dc" }, { "path": "research/split-skip/SOURCE.json", - "usage": "input", + "usage": "provenance", "git_blob": "2ab610b6ea2edd2865fda793ef2168b0c76afb4f", "sha256": "7c2b4646a3ecfef6f881da5c43e4bd0fa9a4d1b00548b8ab458d897e16735134" }, { "path": "scripts/historical-ci-inputs/Makefile", - "usage": "input", + "usage": "provenance", "git_blob": "aff68409021c9d401a6f8013b9dfd7dbcc30f2a8", "sha256": "ea8830dd79da493e2d75baf753d733ff7efbcf2b4794afe41fae0ac8f3055646" }, { "path": "scripts/historical-ci-inputs/ledger-batch932-run_isolated_tests.py", - "usage": "input", + "usage": "provenance", "git_blob": "65db599ab0b1dea0312c4ca048e0bd0f44c3736f", "sha256": "96ea543e6c707424afe247e77bd86c82152f90fc76a0773c4232145da5cdf8d1" }, { "path": "scripts/historical-ci-inputs/ledger-batch932-test_isolated_test_runner.py", - "usage": "input", + "usage": "provenance", "git_blob": "34820a8f24678f918f4d0e7a35380d8013fc3495", "sha256": "628391b6abfbc8674ceec1751867a4392f2cc0b5b66886243e139af86cf355ac" }, { "path": "scripts/historical-ci-inputs/ledger-batch970-verify_selected_result.py", - "usage": "input", + "usage": "provenance", "git_blob": "c755b76e0d44ba4917aa94440ebe54daefce5b2a", "sha256": "d7fd929726b326aeeaf0a3996475adec88eee9aac09ae0bebeeaa0bc1fc8f199" }, { "path": "scripts/historical-ci-inputs/ledger-frontier741-ci-verification.md", - "usage": "input", + "usage": "provenance", "git_blob": "7f3c012504187917a728b9fe87043f0fc8cd006a", "sha256": "a854022e0e1d5d4db4d60e586be3ea56005013ef14a1fc06d02bc06e8529c4b0" }, { "path": "scripts/historical-ci-inputs/partial-swap-context.json", - "usage": "input", + "usage": "provenance", "git_blob": "ad65114886bf34a4fd27e79f3be502389e689faa", "sha256": "833a9642f33aeab2ffea17ec9c6b82e0a953f90192b2c82e10bef21538dccba9" }, { "path": "scripts/historical-ci-inputs/partial-swap-network.json", - "usage": "input", + "usage": "provenance", "git_blob": "52075f2463f60af5e16571347f24274fce73a1ea", "sha256": "f3c4be597b2f2136da4ae2cc80c7454f63c90aa01f84e5b8131cee4dd55de815" }, { "path": "scripts/partial_swap/shared.py", - "usage": "input", + "usage": "provenance", "git_blob": "44a0e454c70f9c4b98e258b8443612e6a119904b", "sha256": "5a0646a50b9f3e8ea55168620a78e8853b0ab810517cefc8cfb8696aedee278a" }, { "path": "scripts/replay_historical_check.py", - "usage": "input", + "usage": "provenance", "git_blob": "1e92fff2782970ef71378f594f2350d245a4db26", "sha256": "5467619c78183d3adc82b0cb55af28e5c1a01fca2b0588677816244b53e2bafd" }, { "path": "scripts/research_package.py", - "usage": "input", + "usage": "provenance", "git_blob": "091b4c8f58bac9a9580d76025b887dc5c873d05f", "sha256": "e1256016e7f51827d04fa2179255989f639ae1d97afaa9c16265f85a0c6abd70" }, { "path": "scripts/run_isolated_tests.py", - "usage": "input", + "usage": "provenance", "git_blob": "a96ab35b315ce492e7fbbfd6c5ae211aa066b541", "sha256": "49eb56dd0fc0d8d8ffdb209970a7adf2176223580646f575d5c22e59543b381c" }, { "path": "scripts/verify_selected_result.py", - "usage": "input", + "usage": "provenance", "git_blob": "6882a4700e410dec569b51ae2eaf1a19cc019195", "sha256": "d6b305eac5b9bdb8172c469ad30a1655a60fa0aceac8b1bf610e1b73f51babd8" }, { "path": "tests/test_isolated_test_runner.py", - "usage": "input", + "usage": "provenance", "git_blob": "343b24abf6719b81805eba5a84c74e57634c8288", "sha256": "3a5470d0b139828b90e19bf9583ddeafcd69f8e34f2824664eb3a2958a52e34d" } diff --git a/research/historical-selected-replay-gap/VERIFY.json b/research/historical-selected-replay-gap/VERIFY.json index 98553e72ed..ab7efa3471 100644 --- a/research/historical-selected-replay-gap/VERIFY.json +++ b/research/historical-selected-replay-gap/VERIFY.json @@ -4,36 +4,7 @@ "python": "3.12", "requirements": [], "inputs": [ - "Makefile", - "certificates/partial-swap-network.json", - "docs/ci-verification.md", - "research/clifford-state-performance/SOURCE.json", - "research/community-batch1047-audit/CONTENT-COVERAGE.json", - "research/community-batch1099-audit/CONTENT-COVERAGE.json", - "research/community-batch932-audit/CONTENT-COVERAGE.json", - "research/community-batch970-audit/CONTENT-COVERAGE.json", - "research/community-frontier741-audit/CONTENT-COVERAGE.json", - "research/community-frontier890-audit/CONTENT-COVERAGE.json", - "research/community-hyperplane599-audit/SOURCE.json", - "research/community-k492-audit/SOURCE.json", - "research/community-reconciliation92-audit/MANIFEST.json", - "research/partial-swap-digest/baseline.py", - "research/r420-two-sided-basis/SOURCES.json", - "research/skip-clones/SOURCE.json", - "research/split-skip/SOURCE.json", - "scripts/historical-ci-inputs/Makefile", - "scripts/historical-ci-inputs/ledger-batch932-run_isolated_tests.py", - "scripts/historical-ci-inputs/ledger-batch932-test_isolated_test_runner.py", - "scripts/historical-ci-inputs/ledger-batch970-verify_selected_result.py", - "scripts/historical-ci-inputs/ledger-frontier741-ci-verification.md", - "scripts/historical-ci-inputs/partial-swap-context.json", - "scripts/historical-ci-inputs/partial-swap-network.json", - "scripts/partial_swap/shared.py", - "scripts/replay_historical_check.py", - "scripts/research_package.py", - "scripts/run_isolated_tests.py", - "scripts/verify_selected_result.py", - "tests/test_isolated_test_runner.py" + "scripts/research_package.py" ], "commands": [ { diff --git a/research/historical-selected-replay-gap/verify.py b/research/historical-selected-replay-gap/verify.py index 83b995941a..9d266c5a4e 100644 --- a/research/historical-selected-replay-gap/verify.py +++ b/research/historical-selected-replay-gap/verify.py @@ -6,8 +6,10 @@ """ import hashlib import importlib.util +import json import subprocess import sys +import tempfile from pathlib import Path ROOT = Path(__file__).resolve().parents[2] @@ -61,31 +63,47 @@ def require(ok, message): raise SystemExit(message) -def load_checker(): - path = ROOT / "scripts/replay_historical_check.py" - spec = importlib.util.spec_from_file_location("historical_selected_replay_gap_checker", path) +def load_module(path): + spec = importlib.util.spec_from_file_location(path.stem, path) module = importlib.util.module_from_spec(spec) spec.loader.exec_module(module) return module +def checkout_snapshot(snapshot, sources, runner, env): + paths = [runner.canonical_relative_path(row["path"]) for row in sources["files"]] + git = ["git", "-c", "maintenance.auto=false", "-c", "gc.auto=0", + "-c", "core.autocrlf=false"] + subprocess.run([*git, "clone", "--quiet", "--shared", "--no-tags", "--no-checkout", + "--", str(ROOT), str(snapshot)], cwd=ROOT, env=env, check=True) + subprocess.run([*git, "update-ref", "--no-deref", "HEAD", INSPECTED], + cwd=snapshot, env=env, check=True) + # The pinned planner reads omitted manifests from the sparse HEAD/index. + patterns = "".join(f"/{path.as_posix()}\n" for path in paths) + subprocess.run([*git, "sparse-checkout", "set", "--no-cone", "--stdin"], + cwd=snapshot, env=env, input=patterns.encode("utf-8"), check=True) + subprocess.run([*git, "read-tree", "-mu", "HEAD"], cwd=snapshot, env=env, check=True) + for path, row in zip(paths, sources["files"], strict=True): + require(hashlib.sha256((snapshot / path).read_bytes()).hexdigest() == row["sha256"], + "historical checkout source digest changed: " + path.as_posix()) + + def entries(checker): for name, config in checker.CONFIG.items(): for entry in [config, *config.get("additional_inputs", [])]: yield name, entry -def reject(checker, entry): +def reject(root, checker, entry): try: - checker.authenticated_input(ROOT, entry) + checker.authenticated_input(root, entry) except ValueError as exc: return str(exc) raise SystemExit("historical input was admitted: " + entry["path"]) -def main(): - require(not sys.flags.optimize, "assertions must stay enabled") - checker = load_checker() +def check_snapshot(root, env): + checker = load_module(root / "scripts/replay_historical_check.py") selected = [entry for name, entry in entries(checker) if name == "tooling-ledger" and entry["path"] == SELECTED_PATH] require(len(selected) == 1, "selected-result checker overlay is not unique") @@ -94,7 +112,7 @@ def main(): require(entry["accepted_live_sha256"] == [SELECTED_ACCEPTED], "accepted selected-checker successors changed") frozen = (checker.INPUTS / entry["input"]).read_bytes() - live = (ROOT / SELECTED_PATH).read_bytes() + live = (root / SELECTED_PATH).read_bytes() require(hashlib.sha256(frozen).hexdigest() == SELECTED_PIN, "frozen selected checker bytes changed") require(hashlib.sha256(live).hexdigest() == SELECTED_LIVE, "live selected checker digest changed") require(SELECTED_LIVE not in (SELECTED_PIN, SELECTED_ACCEPTED), "live checker was already admitted") @@ -102,7 +120,7 @@ def main(): # live successor, not a broken comparison. require(SELECTED_PIN in (SELECTED_PIN, *entry["accepted_live_sha256"]), "pin membership control failed") - require(reject(checker, entry) == REJECTIONS[SELECTED_PATH][1], + require(reject(root, checker, entry) == REJECTIONS[SELECTED_PATH][1], "selected checker rejection text changed") counts = {path: 0 for path in REJECTIONS} @@ -110,7 +128,7 @@ def main(): for _name, item in entries(checker): if item["path"] not in REJECTIONS: continue - message = reject(checker, item) + message = reject(root, checker, item) counts[item["path"]] += 1 messages.setdefault(item["path"], message) for path, (count, message) in REJECTIONS.items(): @@ -118,20 +136,31 @@ def main(): require(messages[path] == message, "rejection text changed for " + path) require(sum(counts.values()) == 19, "rejection total changed") ci = [item for _name, item in entries(checker) if item["path"] == CI_PATH] - require(len(ci) == 1 and hashlib.sha256((ROOT / CI_PATH).read_bytes()).hexdigest() == CI_LIVE, + require(len(ci) == 1 and hashlib.sha256((root / CI_PATH).read_bytes()).hexdigest() == CI_LIVE, "selected CI note digest changed") diff = subprocess.check_output( - ["git", "diff", "--name-only", PARENT, INSPECTED], cwd=ROOT, text=True) + ["git", "diff", "--name-only", PARENT, INSPECTED], cwd=root, env=env, text=True) changed = sorted(name for name in diff.splitlines() if name) require(changed == CHANGED, "inspected commit diff changed") - sys.path.insert(0, str(ROOT / "scripts")) - from research_package import plan_details - details = plan_details(ROOT, set(changed)) + planner = load_module(root / "scripts/research_package.py") + details = planner.plan_details(root, set(changed)) require([row["package"] for row in details] == PLAN_PACKAGES, "helper plan selection changed") matched = {name for row in details for names in row["causes"].values() for name in names} require(sorted(set(changed) - matched) == UNMATCHED, "unmatched plan paths changed") - require(plan_details(ROOT, set()) == [], "empty change set selected a package") + require(planner.plan_details(root, set()) == [], "empty change set selected a package") + + +def main(): + require(not sys.flags.optimize, "assertions must stay enabled") + sources = json.loads(Path(__file__).with_name("SOURCES.json").read_bytes()) + require(sources["base_commit"] == INSPECTED, "historical checkout base changed") + runner = load_module(ROOT / "scripts/research_package.py") + env = runner.git_source_env() + with tempfile.TemporaryDirectory(prefix="historical-selected-replay-") as temporary: + snapshot = Path(temporary) / "snapshot" + checkout_snapshot(snapshot, sources, runner, env) + check_snapshot(snapshot, env) print("PASS_HISTORICAL_SELECTED_REPLAY_GAP") print("selected_checker_live=" + SELECTED_LIVE) print("rejections=19 distinct_paths=7 plan_packages=9") diff --git a/research/p104-contact134-329-original-clear/LICENSE b/research/p104-contact134-329-original-clear/LICENSE new file mode 100644 index 0000000000..261eeb9e9f --- /dev/null +++ b/research/p104-contact134-329-original-clear/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/research/p104-contact134-329-original-clear/NOTICE b/research/p104-contact134-329-original-clear/NOTICE new file mode 100644 index 0000000000..da80d5abdc --- /dev/null +++ b/research/p104-contact134-329-original-clear/NOTICE @@ -0,0 +1,19 @@ +Ali Romman, with substantial OpenAI Codex assistance. Apache-2.0. + +This contribution adds the timed 757/1255 update to PR7604. It retains the +word and complete application of Hao Yan (@FanPUYen), the two-cut criterion +and contractions of SYLforge/PR7603, DreamingOfClouds/PR7601 token settlement, +ToikY/PR7546 and PR7544 native work, and Rohan Arun/PR7113 signed caller. +Clear1nsight, dillona, CubeJerry and all authors of the retained native, +compiler, pricing, precision, BIT and analytic sources retain their credit. + +The application launcher is derived from Hao Yan's PR7604 launcher. Its exact +original bytes and all counted changes are included. The independent row +interpreters retain Hao Yan's authorship. The Gaussian interpreter retains +DreamingOfClouds' authorship. The discovery reader and stock criterion came +from SYLforge's PR7603 archive; the new timed-stock search is local evidence. + +All files under retained/ are unchanged. SOURCE-VERSIONS.json identifies their +exact public source head, paths and SHA256 hashes. The retained PR7604 source +manifest preserves the earlier origin heads and archive-member attribution. +Historical source notes keep their own historical claims and scope. diff --git a/research/p104-contact134-329-original-clear/PROOF.md b/research/p104-contact134-329-original-clear/PROOF.md new file mode 100644 index 0000000000..7b8677b007 --- /dev/null +++ b/research/p104-contact134-329-original-clear/PROOF.md @@ -0,0 +1,49 @@ +# The 134/329 contact with the original 74 CLEAR rows + +This is the proof for candidate canonical SHA-256 `dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02`. Its comparator is exact [#7642](https://github.com/CrocSwap/integer-mult-bounds/pull/7642) at head `d7f82810689ed2cd649ec9aaaf3b1485b585c82e`, canonical SHA-256 `aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916`. The comparator's complete clean local replay certifies signed conditional κ `0.003650666180757`. Its conservative public value is `0.0036506661663`. This proof keeps the same original private interface and exact signed [#7113 caller](https://github.com/CrocSwap/integer-mult-bounds/pull/7113), head `07a76c5e2738882c0cb322278e56f6cae3c9885d`, byte SHA-256 `255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc`. + +## Literal contact and restored outputs + +Use zero-based clocks in the #7642 word. Role 134 enters the window at chart 3 and first uses its returned row at ADD43528. Role 329 enters at chart 373 and first supplies its returned row at ADD41143. The complete incident clocks in between are `41049, 41051, 42086` on 134 and `41050, 41051, 41142` on 329. + +| Old clock | #7642 | Candidate | +| --- | --- | --- | +| 41049 | MOVE 134 from 3 to 618 | MOVE 134 from 3 to 373 | +| 41050 | MOVE 329 from 373 to 618 | Delete | +| 41051 | `134 -= (1/2)·329` in chart 618 | Same signed scalar ADD in chart 373 | +| 41142 | MOVE 329 from 618 to 733 | MOVE 329 from 373 to 733 | +| 42086 | MOVE 134 from 618 to 913 | MOVE 134 from 373 to 913 | + +Let $F_c$ be the exact canonical signed frame on chart $c$, including global phase. At the two entries write the arbitrary physical streams as $F_3x$ and $F_{373}y$. The old lifts make the two ADD operands $F_{618}x$ and $F_{618}y$, while the new lift and retained sender supply $F_{373}x$ and $F_{373}y$. Coframe scalar ADD is linear. In both words the physical exit pair is +$$ +\bigl(F_{913}(x-y/2),\ F_{733}y\bigr). +$$ +The entire comparison is on independent $x,y$. Both the receiver's signed contribution and the sender's independent value are restored in the required charts before their exterior reads. On the normalized pair the adjoint is $(u,v)\mapsto(u,v-u/2)$, with the same entrance and exit conjugations in reverse order. + +Equivalently, the receiver's retained input follows $F_3\to F_{618}\to F_{913}$ or $F_3\to F_{373}\to F_{913}$. The sender's contribution follows $F_{373}\to F_{618}\to F_{913}$ or $F_{373}\to F_{913}$. The sender's independent exit follows $F_{373}\to F_{618}\to F_{733}$ or $F_{373}\to F_{733}$. Each equality uses cancellation of the same signed intermediate frame and its inverse. All seven changed old/new MOVE pairs and these three compositions passed 512 exact Gaussian forward and 512 adjoint columns each, signed Pauli comparison, and absolute phase. A quarter-turn absolute-phase fault on the new $373\to913$ map rejected. The new rank-two and rank-five catalogue pairs are `373→733` and `373→913`. + +## Chart and private interface + +The authenticated words have identical headers and the complete ledgers validate every chart transition and scalar operand. The new charged public ascents are proper nested inclusions. Their source dimensions are 0 for chart 3 and 2 for chart 373. The old contact chart 618 has dimension 3, and the return charts 733 and 913 have dimensions 4 and 7. The two basis vectors of 373 occur in 618, all basis vectors of 618 occur in 733, and in 913 the basis vectors of 618 are given by `30 = 6 xor 10 xor 18`, `42 = 10 xor 32`, and `321 = 65 xor 256`. Dropping MOVEs and reading scalar instructions in normalized chart coordinates leaves the same 70,377 non-MOVE operations, in order. Exactly one ADD changes chart annotation, and both operands are present together at its new chart. The exact owned-event subsequence includes every contact with an owned source as well as an owned destination. Its 74 INITs, 74 CLEARs, 47 owned MOVEs, peak 50 and 68 owned fields match #7642. + +Thus normalized equality is inductive through all checkpoints, including 1,501 public endpoints, all owned reads and writes and the COPY-zero guard. Each owned interface also has the same declared frame, so its normalized row equality transfers through the identical canonical frame. All 74 actual erased values remain the original #7605/#7642 rows, including CLEAR44 in chart 595 on role 1557. This port uses no added owned field, changed erased value, earlier access from another bank, or strengthened whole-extent reset contract. + +The retained all-positive-column premise lifts the width-one signed quotients to any positive column multiplicity, with the identity on spectators and the inherited rank-scaled child factorization. Equal signed factors cancel under the mixed-product law. Coframe rational scalars act coordinatewise through the retained exact service. The 17-stage signed caller therefore retains its original input/output ports and private obligations. The complete replay rebuilt the caller occurrence, physical binding and tape records for the changed paid itinerary. + +## Directed signed price and all-size boundary + +The replaced local paid ranks $(3,1,1,4)$ become $(2,2,5)$. The independent recount reconstructs every rank from the two literal words and every static operation of the unchanged caller. The signed paid histogram delta is `{1:-34,2:+34,3:-17,4:-17,5:+17}`. Paid counts fall from 110,349 to 110,332. The 22,461 productive positions and their ranks are unchanged. The paid rank mass is 296,156 and the productive rank mass is 297,580 in both words, giving rank surplus 1,424. + +Write $p=1-C$ and $M(C)=\sum_r (T_r-P_r)r^p$. Padding the new rank tuple with zero gives the decreasing tuple $(5,2,2,0)$, which strictly majorizes $(4,3,1,1)$. Strict concavity of $r^p$ for $00. +$$ +The independent outward-rounded rational recount strengthens this to separation at exact $C=0.0036506761807577608622666732886142$, which is the comparator's certified raw upper endpoint plus $10^{-8}$. At that value, the old full signed moment has strictly negative upper bound and the new full signed moment has strictly positive lower bound. The interval engine uses binary range reduction, rational atanh-series logarithm bounds and odd/even alternating exponential bounds. The exact endpoints are stored in the recount receipt. This finite price test concerns the full declared signed rank invoice. + +The normalized scalar charge is unchanged. The complete replay computes an ordinary saving of 17,000 units, from 782,685,204 to 782,668,204. All 3,041 signed catalogue maps and 104 boundaries pass. Context precision is 2,430, and the elementary tape bound is 25,445,676,576. The full replay recomputes the caller, exact-grid and pre-product divisibility, fixed tape, both directed price enclosures, the compiler gate and the 54 strict and four functional outer predicates. These verify conditional κ `0.003650982374396`, strictly above the complete #7642 raw upper bound and by exactly `0.000000316193639` over the certified #7642 value. The maintainer-selected record is separate. + +The five premises remain `native_all_columns`, `owned_erasure`, `compiler`, `precision_tape`, and `analytic_recovery`. The preserved exits retain the same recovery map and fixed deterministic multitape bit machine for every input size. The original decomposition, BIT witness and compiler closure are inherited. The finite changed-word checks and directed positive slack supply their part of the conditional all-size integer-multiplication argument. + +## Provenance + +Clear1nsight's [#7612](https://github.com/CrocSwap/integer-mult-bounds/pull/7612) at `e814828ee5b869c9468282d57ba28c364b07d130` supplies the literal contact repair and signed coefficient. SYLforge's [#7616](https://github.com/CrocSwap/integer-mult-bounds/pull/7616) at `22b310ba50a554b6111804824782793beb41073f` reused the same port in a broader composition with 39 additional stationary owned lifetimes. The present scope is the port on exact #7642 with its original 74-CLEAR contract. DreamingOfClouds's [#7610](https://github.com/CrocSwap/integer-mult-bounds/pull/7610) supplies the main-46 edit in the comparator. [#7605](https://github.com/CrocSwap/integer-mult-bounds/pull/7605) supplies the underlying original interface and retained verification lineage. Rohan Arun's #7113 supplies the signed caller. OpenAI Codex and subagents materially assisted the transplant, exact replays and proof. diff --git a/research/p104-contact134-329-original-clear/README.md b/research/p104-contact134-329-original-clear/README.md new file mode 100644 index 0000000000..d9f3e53753 --- /dev/null +++ b/research/p104-contact134-329-original-clear/README.md @@ -0,0 +1,78 @@ +# Port the 134/329 contact to the original 74-CLEAR word + +**Conditional κ = 0.003650982374396.** This applies the literal [#7612 contact +rechart](https://github.com/CrocSwap/integer-mult-bounds/pull/7612) at +`e814828ee5b869c9468282d57ba28c364b07d130` to +[exact #7642](https://github.com/CrocSwap/integer-mult-bounds/pull/7642) +at `d7f82810689ed2cd649ec9aaaf3b1485b585c82e`, κ `0.003650666180757`. +The exact campaign increase is `0.000000316193639`, or **+0.0086612586%**. +The exact percentage is `31619363900/3650666180757 %`. The admissible point exceeds #7642's exact raw upper bound. + +The common ADD at old clock 41051 moves from chart 618 to 373. Role +134 begins at chart 3 and returns in chart 913 with the old signed +contribution of role 329. Role 329 begins at 373 and returns in chart +733 with its own value. This removes a paid sender MOVE, with the +normalized scalar tape, complete owned interfaces, 74 lifetimes and +required public outputs preserved. [Exact proof](PROOF.md) + +The literal candidate has canonical SHA-256 +`dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02`. +The same [#7113](https://github.com/CrocSwap/integer-mult-bounds/pull/7113) +signed caller at `07a76c5e2738882c0cb322278e56f6cae3c9885d` invokes +it 17 times. The paid delta is `{1:-34,2:+34,3:-17,4:-17,5:+17}`. + +| Complete signed resource | #7642 | This word | +| --- | ---: | ---: | +| Paid positions | 110,349 | 110,332 | +| Productive positions | 22,461 | 22,461 | +| Rank surplus | 1,424 | 1,424 | +| Ordinary upper bound | 782,685,204 | 782,668,204 | +| Context precision coefficient | 2,430 | 2,430 | +| Elementary tape records upper bound | 25,448,575,552 | 25,445,676,576 | +| Signed catalogue maps | 3,040 | 3,041 | + +The complete local native and signed stages exited 0 in 351.77 +and 244.16 seconds. The exact phase gate checked the seven +changed routes and three compositions on every forward and adjoint +column. Retained controls reject a missing MOVE, wrong chart, omitted +ADD and wrong absolute phase. The signed stage checked both exact +prices, 104 boundaries, and 54 strict plus four functional outer +inequalities, including the complete caller, ordinary, precision and +tape costs. [Pinned receipts](receipts/) + +## Reproduce + +Use CPython 3.12, Git and a POSIX environment. From the repository root: + +```sh +python3.12 -I -B research/p104-contact134-329-original-clear/replay.py --work ../contact134-329-replay +python3.12 -B scripts/research_package.py --package research/p104-contact134-329-original-clear +``` + +The first command resolves exact #7605 and #7642 dependencies and +runs the complete native and signed stages with 480 seconds each. +Pass explicit source checkout roots to reuse authenticated dependencies. +The second command covers the sealed bindings and directed invoice. +The generated word is authenticated by canonical decompressed bytes. + +## Credit + +Clear1nsight's #7612 supplies the exact contact rewrite. SYLforge's +[#7616](https://github.com/CrocSwap/integer-mult-bounds/pull/7616) +previously ported it in a larger composition with extra lifetimes. +This isolates its interaction with #7642 on exactly 74 lifetimes. +DreamingOfClouds's #7610 supplies the existing main-46 merge. Ali +Romman's #7605 supplies the native and application lineage through +Hao Yan's #7604. Rohan Arun supplied #7113. Retained compiler, pricing +and recovery authors are attributed in the dependency and notice. +OpenAI Codex and subagents materially assisted the proof, port and +verification. + +## Open next questions + +- Check the exact all-size application and interface transfer through + substantive review. The existing five conditional premises remain. + Start with the compiler maps and complete signed receipt. +- A further paid reduction requires a distinct exact candidate and + the same complete cost checks. No additional candidate is part of + this package. diff --git a/research/p104-contact134-329-original-clear/SHA256SUMS b/research/p104-contact134-329-original-clear/SHA256SUMS new file mode 100644 index 0000000000..fc9c699016 --- /dev/null +++ b/research/p104-contact134-329-original-clear/SHA256SUMS @@ -0,0 +1,30 @@ +c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 ./LICENSE +dd07f1a50c814da884b16359be77c0f3376b119a22ba3178c498517bcd4d519d ./NOTICE +72df90a737000394928a74357a90a979001c5843abf473eb9c40dfc51b7928ab ./PROOF.md +6920286605f002fa0f11780cd1f972d95c35ed22e51ee66215e25be923138c20 ./README.md +9ef68de187d84abf7bd935d9d6ddd9e45ab99ec023bcec0a4b367343399ce962 ./SOURCES.json +38abd70a15c1916531e53d8925491c41a38cb02b8fbbbe779ebcce602eeec181 ./TASK.json +dced6de1a1dcb207d7a16d89aaa8b2a03f2475a86feb989ad3422fdc9f598abd ./VERIFY.json +c4daca22dad319e555ac4fc85a5002f3df789c8f670556b9da288759ccfb495f ./application/patch_native307.py +36f70821203fbd229b669ab7bbb75a74c6cc278763ab2e0072e69e7a645192fc ./application/prepare_307.py +fb88e719d6504824f2cae173981e5af57cd1a5af54a2c125114bcd179da47dd8 ./application/run_stage.py +f4d0b6c9314b838d882d6d06020f24881c19a3fda97a7c00df87b1e920785182 ./checks/pricing.py +c394fc9ae075606172120053c3542ff02e6d326a41b01af9709558e5bdca20bc ./checks/recount307.py +94c0cba86a663e3a6bcbd3a91a559af9b04163732e01b95e9cf2388893c392b6 ./checks/replay_contact_phase.py +974fadc7c8e146936f5b4d29e4a4fda3f765f16c6be57f3f0e58ee2a5e507da2 ./receipts/7642-FINAL.json +7f05df0e39628376003588c905fbd02e51c2cc46f0865888b7954197c8c3344e ./receipts/FINAL.json +991c8108d0e4f5d942968be4f741efeeefd2800fb9d975ee217fa1b48e94b73d ./receipts/NATIVE.json +c94c05f493b3fe9c437187f0c5622870ec1ed25856c0cb896e382991b0e3940c ./receipts/PHASE.json +0229f2e5f67f8c336cc0737a8ed459dbc112a86232c1bf2b7f0ad942004cf92d ./receipts/PORTABILITY.json +9e9c0f2274a2f4bc2bc1f1b9216603f2f4fea2dbcc5f541fbe53119ffc79bdac ./receipts/RECOUNT.json +0911f85779a723d9663c32da357b76f42974735f8f5829af988c4cc0820d2a16 ./receipts/SIGNED.json +a19ef85803a8fbe986bb648db23665eb2c29b1265a198e93328781880adea198 ./receipts/invoice-new.json +856eb248216ca1783ee6bc211893da74bf84c3574ae24345cf82cfc3049051a7 ./receipts/native-stage.json +9e7459596b494c9e7c82a9baf48dc77919d580d3a21688ffa410bf98aa0e0376 ./receipts/native.log +2ce97fd59c78152e5cede9ab71481bf2cf626c8be837f322191e4b5506cd6ac8 ./receipts/signed-stage.json +0cd3600e84b0d171a2999d30191979aec8f8c6b5308264e69e47ecabf5266721 ./receipts/signed.log +7e225471bbfb3f6cdeb3b221314d783572c562f5093af8d9efde94053e67b80a ./replay.py +2617b9ec5811744a3ae006869ea1a5290a90143435a82f10e360a03e3efd874a ./round305/RUN.json +512dbbc3c5133b07400b720f55753e976aca48020e91b2d0086345802de1bc14 ./round305/gate.json +7f08c8d69f0bfa7fce39c1ab51794de94586650f8c5167dfaed27f155e7f776d ./round305/independent.json +e4ccb879d4fd94b7af1c2c3c4a5a1361eb3e2b95288034cbd96396f4e87fdffc ./verify.py diff --git a/research/p104-contact134-329-original-clear/SOURCES.json b/research/p104-contact134-329-original-clear/SOURCES.json new file mode 100644 index 0000000000..af9d22284d --- /dev/null +++ b/research/p104-contact134-329-original-clear/SOURCES.json @@ -0,0 +1,24 @@ +{ + "schema_version": 1, + "base_commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "files": [ + { + "path": "certificates/selected-result.json", + "usage": "provenance", + "git_blob": "75d77b328ea02ded535e7f23aee5b1e55d0bb1a8", + "sha256": "154c3d30455d778fd3343b6b4851f0fa4665f0f7625b0adb3675e2bafbbf6bf1" + }, + { + "path": "docs/research/agent-task-catalog.json", + "usage": "provenance", + "git_blob": "3404fbdd5e7529a0674eef26114b5071e4586cec", + "sha256": "ead6cdc9d0af6d58e8a49744d8ec8c7c15e13d2ba93c276c434bcf9b51b93a81" + }, + { + "path": "LICENSE", + "usage": "provenance", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + } + ] +} diff --git a/research/p104-contact134-329-original-clear/TASK.json b/research/p104-contact134-329-original-clear/TASK.json new file mode 100644 index 0000000000..f70c98bbca --- /dev/null +++ b/research/p104-contact134-329-original-clear/TASK.json @@ -0,0 +1,117 @@ +{ + "schema_version": 1, + "task_id": "p104-side-correction", + "priority_revision": 8, + "base_commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "original_card": { + "id": "p104-side-correction", + "question": "Can joint helper bases and a legal causal split improve the complete P104 productive/paid invoice?", + "starting_points": [ + "docs/research/current-priorities.md", + "docs/research/research-family-status.md", + "certificates/selected-result.json", + "docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md", + "research/p104-helper-subspace-splits/README.md", + "research/dyadic-helper-channel-capacity/README.md" + ], + "methods": [ + "Construct and independently check one source-bound instance of the stated first experiment.", + "Seek an exact counterexample or target-specific complete-budget obstruction to that same proposed change." + ], + "acceptance_gate": "An exact arbitrary-input identity, source/target frame availability and restoration at the chosen cut, plus the complete channel+correction+idle/hosting bill or an explicit favorable bound. The native channel alone is not a supplier. A scoped local result may be retained without a complete supplier. Expanding it into further construction rounds requires the family-level budget and obligation gate in research-family-status.md; an optimistic passing relaxation alone is not acceptance.", + "first_step": { + "command": [ + "python3", + "-B", + "scripts/research_selected_baseline.py" + ], + "expected": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY", + "inspect": "Read revision 8, the selected review and live exact-source handoffs. Then follow this card's bounded first_experiment.", + "scope": "Source-bound orientation only, not a supplier replay or theorem proof." + }, + "first_experiment": "Start with the selected #5599 emitted word and review pending #5718 distinct input/output bases plus #5717/#5719 coverage before claiming work. Pick one uncovered source word, helper group and cut region. Prove the arbitrary-input relation and legal entry/exit corrections, then compare full target and paid profiles. Reject if completion, owned lifetimes or consumer costs repay the gain. A static pairing rank alone is not a physical split.", + "bottleneck_link": "Judge the actual current supplier contract and complete signed target/paid bill; frozen-profile ceilings require an applicability proof.", + "allowed_variations": [ + "One exact source head, helper/cut region or quantified proposition and changed hypothesis; check live handoffs first. Different seeds are not different scopes." + ], + "scope_change_triggers": [ + "Changing source head, helper/cut domain, operation alphabet or caller boundary without recording the new scope.", + "Treating an archived proposal or local numerical pass as complete supplier admission." + ], + "overlap_terms": [ + "P104", + "helper basis", + "helper split", + "5718", + "dyadic capacity" + ], + "existing_checks": [ + { + "scope": "PR #4133: literal-slot defect", + "evidence": "research/p104-literal-slot-defect/README.md", + "remaining": "Independently validate the stated scope or change its producer/consumer premise and pay the complete boundary.", + "status": "author-checked", + "source_commit": "88666f1dee93fbd85b31fd5d6f91a219e111b5f4", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "PR #4136: uniform commutation gap", + "evidence": "research/p104-uniform-commutation-gap/README.md", + "remaining": "Independently validate the stated scope or change its producer/consumer premise and pay the complete boundary.", + "status": "author-checked", + "source_commit": "281ce601a8be9db470de630759179c23e1dfaa88", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "PR #4140: uniform encoding gap", + "evidence": "research/p104-uniform-encoding-gap/README.md", + "remaining": "Independently validate the stated scope or change its producer/consumer premise and pay the complete boundary.", + "status": "author-checked", + "source_commit": "de25c6525aa866962309df5d107b32d55e6e5628", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "PR #4153: source-chart shortcut exhausts its optimistic allowance", + "evidence": "research/p104-source-chart-shortcut/README.md", + "remaining": "Independently validate the stated scope or change its producer/consumer premise and pay the complete boundary.", + "status": "author-checked", + "source_commit": "9123241fea53df77e51ffe30d9aca1625d4bf3a8", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "PR #4154: fiber-tag seam mismatch", + "evidence": "research/p104-fiber-tag-seam/README.md", + "remaining": "Independently validate the stated scope or change its producer/consumer premise and pay the complete boundary.", + "status": "author-checked", + "source_commit": "4ffcdaee5d6255a9cea1fe53a5424435068089d0", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "Selected PR5599: complete helper-subspace construction and independent caller replay; five framework assumptions remain.", + "evidence": "docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md", + "remaining": "The next experiment must identify uncovered source-specific work. Successor archive intake does not transfer this admission.", + "status": "reviewed", + "source_commit": "09dd0965711ca7eeb169057a420abab1c9052137", + "selected_record_sha256": "2a0220e866417774606e0f991e41b9c1d26b1f43b97857238cf478dbc7d330b5" + } + ] + }, + "scope_status": "changed", + "actual_scope": "Qualify the exact PR7612 134/329 contact port on PR7642 with the unchanged 74-lifetime extent and fully charged PR7113 caller.", + "scope_change_reason": "The current task isolates one known rechart from broader changed-lifetime compositions and tests it on the strongest reproduced same-contract word.", + "bottleneck_link": "One paid MOVE disappears per signed invocation while the productive targets and scalar operation stream remain fixed.", + "budget_minutes": 60, + "stop_rule": "One literal five-event edit, with at most 480 seconds each for complete native and signed application. Reject a missing or illegal action, private-state change, cost deficit or bound without directed separation.", + "outcome": "completed", + "evidence": "PROOF.md, round305/gate.json, receipts/PHASE.json, receipts/RECOUNT.json, both full application receipts and VERIFY.json.", + "author": "Campaign contributor", + "ai_assistance": "Material OpenAI Codex and subagent assistance for proof, adaptation, implementation, independent local replays and packaging.", + "open_questions": [ + { + "question": "Can an independent reviewer validate the complete 74-lifetime assumption transfer?", + "why_it_matters": "The strict new exponent depends on the same native, compiler and outer application hypotheses.", + "first_step": "Check the exact signed chart conjugation and run the complete pinned replay.", + "blocked_by": "Existing all-width supplier premises and substantive review." + } + ] +} diff --git a/research/p104-contact134-329-original-clear/VERIFY.json b/research/p104-contact134-329-original-clear/VERIFY.json new file mode 100644 index 0000000000..b99e7fa018 --- /dev/null +++ b/research/p104-contact134-329-original-clear/VERIFY.json @@ -0,0 +1,14 @@ +{ + "schema_version": 1, + "status": "ready", + "python": "3.12", + "requirements": [], + "inputs": [], + "commands": [ + { + "argv": ["{python}", "-I", "-B", "{package}/verify.py"], + "timeout_seconds": 30, + "checks": "Verify source-bound evidence, exact directed invoice separation and the missing-paid-position control. Complete scientific replay of the external pinned closure is available through replay.py." + } + ] +} diff --git a/research/p104-contact134-329-original-clear/application/patch_native307.py b/research/p104-contact134-329-original-clear/application/patch_native307.py new file mode 100644 index 0000000000..9ea61667aa --- /dev/null +++ b/research/p104-contact134-329-original-clear/application/patch_native307.py @@ -0,0 +1,169 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Patch only the native application and chart proof after the R304 adapter.""" + +import argparse +import ast +from hashlib import sha256 +import json +from pathlib import Path + +NEW_SHA = "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" +OLD_SHA = "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916" +BASE_NATIVE = "49372e31656269fcf0d62db2d02739f9163dc5b2406f406cc701a873afb5b220" +CONTACT = "512dbbc3c5133b07400b720f55753e976aca48020e91b2d0086345802de1bc14" + +OLD_REBUILD = " need(new==dict(baseline,program=[event for _,event in candidate_tagged]),'Exact main-46 transplant with unchanged metadata')" +NEW_REBUILD = f''' incumbent_tagged=candidate_tagged + incumbent_path=ROOT/'frozen-composition/7642-WORD.json.gz' + incumbent=read(incumbent_path) + need(incumbent==dict(baseline,program=[event for _,event in incumbent_tagged]),'Exact preserved main-46 transplant') + need(sha256(canonical(incumbent)).hexdigest()=='{OLD_SHA}','Exact #7642 canonical word') + contact_path=ROOT/'frozen-composition/7612-CONTACT.json' + need(sha256(contact_path.read_bytes()).hexdigest()=='{CONTACT}','Exact #7612 port receipt') + plan=read(contact_path) + need(plan['incumbent_word_sha256']=='{OLD_SHA}' and plan['peer_head']=='e814828ee5b869c9468282d57ba28c364b07d130','Exact signed contact sources') + original={{int(clock):event for clock,event in plan['old_events'].items()}} + edits={{int(clock):event for clock,event in plan['proposed_events'].items()}} + need(original=={{41049:['MOVE',134,3,618,False],41050:['MOVE',329,373,618,False], + 41051:['ADD',134,329,'-1/2',618],41142:['MOVE',329,618,733,False], + 42086:['MOVE',134,618,913,False]}},'Exact five original contact events') + need(edits=={{41049:['MOVE',134,3,373,False],41050:None, + 41051:['ADD',134,329,'-1/2',373],41142:['MOVE',329,373,733,False], + 42086:['MOVE',134,373,913,False]}},'Exact one-ADD rechart and paid return changes') + need(all(incumbent_tagged[i][1]==event for i,event in original.items()),'Literal #7642 clock and operand matches') + roles=lambda event: set(event[1:3] if event[0] in ('ADD','COPY') else event[1:2]) + tape=incumbent['program'] + need([i for i in range(41049,42087) if 134 in roles(tape[i])]==[41049,41051,42086] + and [i for i in range(41050,41143) if 329 in roles(tape[i])]==[41050,41051,41142],'No intervening observations of either recharted role') + candidate_tagged=[(tag,edits.get(clock,event)) for clock,(tag,event) in enumerate(incumbent_tagged) + if edits.get(clock,event) is not None] + need(new==dict(incumbent,program=[event for _,event in candidate_tagged]),'Exact literal contact word with unchanged metadata')''' + +OLD_INVENTORY = """ need(all(N[k]==baselineN[k] for k in fixed),'Fixed exact #7605 ownership and target contract') + need(delta(N['paid'],baselineN['paid'])=={1:-2,2:1},'Exact main-46 native saving')""" +NEW_INVENTORY = f""" incumbent_native_path=ROOT/'frozen-composition/7642-NATIVE.json' + need(sha256(incumbent_native_path.read_bytes()).hexdigest()=='{BASE_NATIVE}','Exact #7642 native receipt') + incumbent_receipt=read(incumbent_native_path) + need(normalized(incumbentN)==incumbent_receipt['native'] and incumbent_receipt['word_canonical_sha256']=='{OLD_SHA}','Freshly reconstructed #7642 native inventory') + need(all(incumbentN[k]==baselineN[k] and N[k]==incumbentN[k] for k in fixed),'Exact preserved ownership and target contracts') + need(delta(incumbentN['paid'],baselineN['paid'])=={{1:-2,2:1}},'Inherited main-46 native saving') + need(delta(N['paid'],incumbentN['paid'])=={{1:-2,2:2,3:-1,4:-1,5:1}},'Exact contact native saving')""" + +OLD_FORWARD = """ need(forward==baseline_forward,'Exact #7605 endpoints, versions, all CLEAR rows, COPY rows and owned events') + need(len(forward[0])==1569 and len(forward[2])==74,'All rows and CLEARs checked') + need(delta(grid['opcodes'],baseline_grid['opcodes'])=={'ADD':11,'MOVE':-1},'Full native scalar and MOVE counts')""" +NEW_FORWARD = """ incumbent_forward,incumbent_grid=audit.replay(incumbent,incumbent_tagged,set()) + need(forward==incumbent_forward==baseline_forward,'Exact #7642 and #7605 endpoints, versions, all CLEAR rows, COPY rows and owned events') + need(len(forward[0])==1569 and len(forward[2])==74,'All rows and CLEARs checked') + need(delta(incumbent_grid['opcodes'],baseline_grid['opcodes'])=={'ADD':11,'MOVE':-1},'Inherited main-46 complete opcode counts') + need(delta(grid['opcodes'],incumbent_grid['opcodes'])=={'MOVE':-1},'Exact contact opcode counts and unchanged scalar counts')""" + +OLD_PHASE = """ need({(3,618),(716,807),(327,907),(618,913),(729,808),(3,603),(914,245),(245,127),(914,127)}<=affected,'All inherited and main-46 changed-route pairs') + main46_maps={} + main46_ranks={(914,245):1,(245,127):1,(914,127):2}""" +NEW_PHASE = """ contact_ranks={(3,373):2,(3,618):3,(373,618):1,(373,733):2,(373,913):5,(618,733):1,(618,913):4} + contact_maps={} + incumbent_chart_path=ROOT/'frozen-composition/7642-WORD.json.gz' + incumbent_chart_word=read(incumbent_chart_path) + need(sha256(canonical(incumbent_chart_word)).hexdigest()=='aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916','Exact #7642 phase comparator') + for role in (134,329): + old_role_pairs=[tuple(e[2:4]) for e in incumbent_chart_word['program'] if e[0]=='MOVE' and e[1]==role] + affected |= set(old_role_pairs+new_routes[role]) + need(set(contact_ranks)<=affected,'Every old and new contact chart pair') + need({(3,618),(716,807),(327,907),(618,913),(729,808),(3,603),(914,245),(245,127),(914,127)}<=affected,'All inherited and main-46 changed-route pairs') + main46_maps={} + main46_ranks={(914,245):1,(245,127):1,(914,127):2}""" +OLD_RANKS = """ bad=deepcopy(recipe);bad['left']['phase']=(bad['left']['phase']+1)%4""" +NEW_RANKS = """ if (a,b) in contact_ranks: + need(recipe['rank']==contact_ranks[a,b],'Exact contact rank') + contact_maps[a,b]=actual + bad=deepcopy(recipe);bad['left']['phase']=(bad['left']['phase']+1)%4""" +OLD_PHASE_END = """ return {'all_affected_pairs':report,'changed_public_fields':changed,'wrong_phase_rejected':True, + 'main46_composed_columns':512,'main46_composed_adjoint_columns':512}""" +NEW_PHASE_END = """ contact_compositions={} + for label,left,right in ( + ('134_retained',contact_maps[3,618]+contact_maps[618,913],contact_maps[3,373]+contact_maps[373,913]), + ('329_contribution_to_134',contact_maps[373,618]+contact_maps[618,913],contact_maps[373,913]), + ('329_retained',contact_maps[373,618]+contact_maps[618,733],contact_maps[373,733]), + ): + for x,y in ((left,right),(interpreter.adjoint(left),interpreter.adjoint(right))): + interpreter.equal(x,y,label+' exact signed Pauli action and phase') + for column in range(512): + need(interpreter.state(x,column)==interpreter.state(y,column),label+' exact Gaussian column') + contact_compositions[label]={'columns':512,'adjoint_columns':512,'absolute_phase_verified':True} + return {'all_affected_pairs':report,'changed_public_fields':changed,'wrong_phase_rejected':True, + 'main46_composed_columns':512,'main46_composed_adjoint_columns':512, + 'contact_compositions':contact_compositions}""" + +OLD_CONTROL = """ controls['missing_main46_coframe_correction']=rejects(replay_missing_correction) + bad=deepcopy(new);i=bad['program'].index(['MOVE',485,3,724,False]);bad['program'][i][2]=721""" +NEW_CONTROL = """ controls['missing_main46_coframe_correction']=rejects(replay_missing_correction) + return_move=['MOVE',329,373,733,False] + need(new['program'][41141]==return_move and new['program'].count(return_move)==1,'Unique literal role329 return') + bad=deepcopy(new);bad['program'].remove(return_move) + controls['missing_contact_paid_return']=rejects(lambda:I.native(bad)) + contact_index=41050 + need(new['program'][contact_index]==['ADD',134,329,'-1/2',373],'Literal recharted signed ADD') + bad=deepcopy(new);bad['program'][contact_index][-1]=618 + controls['wrong_contact_chart']=rejects(lambda:I.native(bad)) + bad=deepcopy(new);del bad['program'][contact_index] + bad_contact=candidate_tagged[:contact_index]+candidate_tagged[contact_index+1:] + def replay_missing_contact(): + bad_forward,_=audit.replay(bad,bad_contact,set()) + need(bad_forward==incumbent_forward,'Omitted contact changes exact output or retirement') + controls['missing_contact_add']=rejects(replay_missing_contact) + bad=deepcopy(new);i=bad['program'].index(['MOVE',485,3,724,False]);bad['program'][i][2]=721""" + +CHANGES = ( + (f"if expected != '{OLD_SHA}'", f"if expected != '{NEW_SHA}'"), + ("raise ValueError('Exact main-46 candidate canonical hash')", "raise ValueError('Exact contact-rechart candidate canonical hash')"), + (OLD_REBUILD, NEW_REBUILD), + ("oldN,peerN,baselineN,N=map(I.native,(old,peer,baseline,new))", "oldN,peerN,baselineN,incumbentN,N=map(I.native,(old,peer,baseline,incumbent,new))"), + (OLD_INVENTORY, NEW_INVENTORY), + ("\"=={1:-9,2:-4,4:1,6:1,7:1}\"", "\"=={1:-11,2:-2,3:-1,5:1,6:1,7:1}\""), + ("\"len(old['program'])+174\"", "\"len(old['program'])+173\""), + (OLD_FORWARD, NEW_FORWARD), + (OLD_PHASE, NEW_PHASE), + (OLD_RANKS, NEW_RANKS), + (OLD_PHASE_END, NEW_PHASE_END), + (" i=45385", " i=45384"), + (OLD_CONTROL, NEW_CONTROL), +) + + +def patch_stage(source): + """Return adapted application source and path-independent patch receipt.""" + start = source.index("CHARTS = ") + stop = source.index("def signed_adapter(", start) + native = source[start:stop] + changes = [] + for before, after in CHANGES: + if native.count(before) != 1: + raise ValueError(f"Expected one native patch location: {before[:96]!r}") + native = native.replace(before, after) + changes.append({"before": before, "after": after, "occurrences": 1}) + adapted = source[:start] + native + source[stop:] + ast.parse(adapted) + digest = lambda value: sha256(value.encode()).hexdigest() + return adapted, {"scope": "CHARTS and native_adapter only", + "source_sha256": digest(source), "adapted_sha256": digest(adapted), + "candidate_sha256": NEW_SHA, "edits": changes} + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("application", type=Path) + parser.add_argument("--output", type=Path, required=True) + parser.add_argument("--receipt", type=Path, required=True) + args = parser.parse_args() + adapted, receipt = patch_stage(args.application.read_text()) + with args.output.open("x") as out: + out.write(adapted) + with args.receipt.open("x") as out: + json.dump(receipt, out, indent=2) + out.write("\n") + + +if __name__ == "__main__": + main() diff --git a/research/p104-contact134-329-original-clear/application/prepare_307.py b/research/p104-contact134-329-original-clear/application/prepare_307.py new file mode 100644 index 0000000000..61b02dda1c --- /dev/null +++ b/research/p104-contact134-329-original-clear/application/prepare_307.py @@ -0,0 +1,117 @@ +"""Adapt the frozen #7642 replay to its one literal contact splice.""" +import argparse +from gzip import decompress +from hashlib import sha256 +import json +from pathlib import Path +from shutil import copyfile, copytree + +BASE = "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916" +NEW = "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" +PLAN = "512dbbc3c5133b07400b720f55753e976aca48020e91b2d0086345802de1bc14" +OLD_HEAD = "d7f82810689ed2cd649ec9aaaf3b1485b585c82e" +PEER_HEAD = "e814828ee5b869c9468282d57ba28c364b07d130" +PUBLIC = "0.00365098237428" + + +def replace(text, old, new): + if text.count(old) != 1: + raise ValueError(f"Cannot match source text exactly once: {old!r}") + return text.replace(old, new) + + +def many(text, edits): + for old, new in edits: + text = replace(text, old, new) + return text + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + for name in ("overlay-7642", "output", "candidate", "contact", "invoice"): + parser.add_argument(f"--{name}", type=Path, required=True) + args = parser.parse_args() + assert __debug__ + src = args.overlay_7642 + dst = args.output + assert sha256(decompress((src/"data/word.json.gz").read_bytes())).hexdigest() == BASE + assert sha256(decompress(args.candidate.read_bytes())).hexdigest() == NEW + assert sha256(args.contact.read_bytes()).hexdigest() == PLAN + bill = json.loads(args.invoice.read_bytes()) + assert sum(bill["paid"].values()) == 110332 and sum(bill["targets"].values()) == 22461 + copytree(src, dst) + data = dst / "data" + for name in ("word.json.gz", "NATIVE.json", "SIGNED.json", "FINAL.json", "invoice-new.json"): + alias = "WORD.json.gz" if name == "word.json.gz" else name + copyfile(data/name, data/f"7642-{alias}") + for name in ("NATIVE.json", "SIGNED.json", "FINAL.json"): + (data/name).unlink() + copyfile(args.candidate, data/"word.json.gz") + copyfile(args.contact, data/"contact.json") + copyfile(args.invoice, data/"invoice-new.json") + + target = dst/"application.py" + text = target.read_text() + auth_start = text.index(" word = read(HERE / 'data/word.json.gz')") + auth_stop = text.index(" return word", auth_start) + text = text[:auth_start] + f""" incumbent = read(HERE / 'data/7642-WORD.json.gz') + assert incumbent == {{**old, 'program': program}} + assert digest(canonical(incumbent)) == '{BASE}' + plans = HERE / 'data/contact.json' + assert digest(plans.read_bytes()) == '{PLAN}' + plan = read(plans) + assert plan['incumbent_word_sha256'] == '{BASE}' + edits = {{int(k): v for k, v in plan['proposed_events'].items()}} + assert all(incumbent['program'][int(k)] == v for k, v in plan['old_events'].items()) + word = read(HERE / 'data/word.json.gz') + projected = [edits.get(i, event) for i, event in enumerate(incumbent['program'])] + assert word == {{**incumbent, 'program': [e for e in projected if e is not None]}} + assert digest(canonical(word)) == '{NEW}' + bill = read(HERE / 'data/7642-invoice-new.json') + for r, n in plan['paid_delta'].items(): + bill['paid'][r] += n + assert read(HERE / 'data/invoice-new.json') == bill +""" + text[auth_stop:] + + head = text.index("def signed_adapter(") + tail = text.index("def prepare(", head) + signed = many(text[head:tail], [ + ("FROZEN/'7605-WORD.json.gz'", "FROZEN/'7642-WORD.json.gz'"), + ("FROZEN/'7605-NATIVE.json'", "FROZEN/'7642-NATIVE.json'"), + ("FROZEN/'7605-SIGNED.json'", "FROZEN/'7642-SIGNED.json'"), + ("Pinned literal main46 word", "Pinned literal 134/329 contact word"), + ("=='e20f3f9240ac3f5fa4bbd7ab9b5550d660886901bb209f335409c329ac45d9cd'", f"=='{BASE}'"), + ("Q('0.003650444244716')", "Q('0.003650666180757')"), + ('"{1:-34,2:17}"', '"{1:-34,2:34,3:-17,4:-17,5:17}"'), + ('"==110349"', '"==110332"'), + ("Whole reconstructed #7605 invoice", "Whole reconstructed #7642 invoice"), + ("Strictly higher than #7605 raw crossing", "Strictly higher than #7642 raw crossing"), + ("Exact #7605 invoice rejects the new signed claim", "Exact #7642 invoice rejects the new signed claim"), + ("source_head='e1d2756eecf03e146338239fee81772a99ba8d4c'", f"source_head='{OLD_HEAD}'"), + ("component_head='93fded4340bb08bc1f99d6f18e47a198456a41df'", f"component_head='{PEER_HEAD}'"), + ]) + text = text[:head] + signed + text[tail:] + text = many(text, [ + ("PUBLIC_CLAIM = '0.0036506661663'", f"PUBLIC_CLAIM = '{PUBLIC}'"), + ("NATIVE_MARKER = 'PASS_MAIN46_COMPLETE_NATIVE'", "NATIVE_MARKER = 'PASS_CONTACT134_329_COMPLETE_NATIVE'"), + ("SIGNED_MARKER = 'PASS_MAIN46_COMPLETE_SIGNED_APPLICATION'", "SIGNED_MARKER = 'PASS_CONTACT134_329_COMPLETE_SIGNED_APPLICATION'"), + (" '7610-EDITS.json': HERE / 'data/edits7610.json',", + """ '7610-EDITS.json': HERE / 'data/edits7610.json', + '7642-WORD.json.gz': HERE / 'data/7642-WORD.json.gz', + '7642-NATIVE.json': HERE / 'data/7642-NATIVE.json', + '7642-SIGNED.json': HERE / 'data/7642-SIGNED.json', + '7612-CONTACT.json': HERE / 'data/contact.json',"""), + (" old = read(HERE / 'data/7605-FINAL.json')", " old = read(HERE / 'data/7642-FINAL.json')"), + ("sum(invoice['P'].values()) == 110349", "sum(invoice['P'].values()) == 110332"), + ("assert ordinary == 782685204 < 10**9", "assert ordinary == 782668204 < 10**9"), + ("status='PASS_MAIN46_FINAL_APPLICATION'", "status='PASS_CONTACT134_329_FINAL_APPLICATION'"), + ("paid_calls=110349", "paid_calls=110332"), + ("ordinary_change_over_7605=", "ordinary_change_over_7642="), + ("tape_change_over_7605=", "tape_change_over_7642="), + ]) + compile(text, str(target), "exec") + target.write_text(text) + + +if __name__ == "__main__": + main() diff --git a/research/p104-contact134-329-original-clear/application/run_stage.py b/research/p104-contact134-329-original-clear/application/run_stage.py new file mode 100644 index 0000000000..5e9729b628 --- /dev/null +++ b/research/p104-contact134-329-original-clear/application/run_stage.py @@ -0,0 +1,49 @@ +"""Record one bounded native or signed candidate replay.""" +import argparse +from datetime import datetime, timezone +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time + + +def utc(): + return datetime.now(timezone.utc).isoformat() + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("stage", choices=("native", "signed")) + parser.add_argument("--overlay", type=Path, required=True) + parser.add_argument("--work", type=Path, required=True) + parser.add_argument("--bootstrap", action="store_true") + args = parser.parse_args() + command = [sys.executable, "-I", "-B", str(args.overlay.resolve() / "application.py"), + "--stage", args.stage, "--work", str(args.work.resolve())] + if args.bootstrap: + command.append("--bootstrap") + started = utc() + timestamp = time.monotonic() + base = args.work.parent / f"{args.work.name}-stage" + cap = 480 + with base.with_suffix(".stdout").open("x") as out, base.with_suffix(".stderr").open("x") as err: + runner = subprocess.Popen(command, stdout=out, stderr=err, start_new_session=True) + try: + status = runner.wait(timeout=cap) + except subprocess.TimeoutExpired: + os.killpg(runner.pid, signal.SIGTERM) + runner.wait(timeout=10) + status = 124 + result = {"stage": args.stage, "started_utc": started, "finished_utc": utc(), + "seconds": time.monotonic() - timestamp, "exit": status, "cap_seconds": cap, + "python": sys.version.split()[0], "bootstrap": args.bootstrap} + base.with_suffix(".json").write_text(json.dumps(result, indent=2, sort_keys=True) + "\n") + print(json.dumps(result, sort_keys=True)) + raise SystemExit(status) + + +if __name__ == "__main__": + main() diff --git a/research/p104-contact134-329-original-clear/checks/pricing.py b/research/p104-contact134-329-original-clear/checks/pricing.py new file mode 100644 index 0000000000..40ec194017 --- /dev/null +++ b/research/p104-contact134-329-original-clear/checks/pricing.py @@ -0,0 +1,82 @@ +"""Directed interval arithmetic and the retained signed BIT invoice.""" +from collections import Counter +from fractions import Fraction +from functools import cache + +TARGET = "10018846261809/2500000000000000" +SCALE = 10**49 + + +def rounded(x, upper): + scaled = SCALE*x + if upper: + return Fraction(-((-scaled.numerator) // scaled.denominator), SCALE) + return Fraction(scaled.numerator // scaled.denominator, SCALE) + + +@cache +def log_bounds(x): + z = (x-1)/(x+1) + terms = 60 + exact_partial = 2*sum(z**(2*i+1)/(2*i+1) for i in range(terms)) + tail = 2*z**(2*terms+1)/((2*terms+1)*(1-z*z)) + return rounded(exact_partial, False), rounded(exact_partial+tail, True) + + +@cache +def power_bounds(rank, k): + binary = 2**(rank.bit_length()-1) + shift = binary.bit_length()-1 + l2, u2 = log_bounds(Fraction(2)) + lo, hi = log_bounds(Fraction(rank, binary)) + lo, hi = k*(lo+shift*l2), k*(hi+shift*u2) + assert 0 <= lo <= hi < 1 + + def exponential(z, terms): + total = term = Fraction(1) + for i in range(1, terms+1): + term *= -z/i + total += term + return total + + return rounded(rank*exponential(hi, 35), False), rounded(rank*exponential(lo, 34), True) + + +def cost(hist, k): + lower = upper = Fraction(0) + for r, n in hist.items(): + a, b = (n*x for x in power_bounds(r, k)) + lower += min(a, b) + upper += max(a, b) + return lower, upper + + +def profile(invoice, native, word, ranks): + copies = invoice["native_calls"] + assert copies == len(invoice["native_instances"]) == 36 + assert {tuple((r["stage"], r["copy"])) for r in invoice["native_instances"]} == { + (stage, which) for stage in range(1, 19) for which in (0, 1) + } + assert all(r["ports"] == 111 for r in invoice["native_instances"]) + assert native == Counter({int(r): n for r, n in invoice["native_paid"].items()}) + assert sum(native.values()) == 2871 + caller_paid = {1: 444, **{r: 444 for r in range(7, 57, 7)}} + assert invoice["event_counts"]["QUERY"]*111 == caller_paid[1] + assert invoice["event_counts"]["IDLE_ONE"]*111 == 8*444 + full_paid = Counter({r: copies*n for r, n in native.items()}) + full_paid.update(caller_paid) + + helpers = Counter(ranks[word["final"][j]]-ranks[word["start"][j]] + for j in range(222, word["public"])) + assert helpers == Counter({int(r): n for r, n in invoice["native_helpers"].items()}) + caller_targets = {**{r: 444 for r in range(8, 65, 7)}, 127: 222} + full_targets = Counter({r: copies*n for r, n in helpers.items()}) + full_targets.update(caller_targets) + assert full_paid == Counter({int(r): n for r, n in invoice["paid"].items()}) + assert full_targets == Counter({int(r): n for r, n in invoice["targets"].items()}) + assert sum(full_paid.values()) == invoice["paid_jobs"] + assert sum(full_targets.values()) == invoice["productive_fields"] + signed = full_targets.copy() + signed.subtract(full_paid) + assert sum(r*n for r, n in signed.items()) == invoice["rank_surplus"] + return signed, copies diff --git a/research/p104-contact134-329-original-clear/checks/recount307.py b/research/p104-contact134-329-original-clear/checks/recount307.py new file mode 100644 index 0000000000..efd9c21a6b --- /dev/null +++ b/research/p104-contact134-329-original-clear/checks/recount307.py @@ -0,0 +1,153 @@ +"""Recount exact #7642 and its single #7612 contact edit under signed #7113.""" +import argparse +from collections import Counter +from fractions import Fraction +from gzip import decompress +from hashlib import sha256 +import json +from pathlib import Path +from runpy import run_path +from signal import alarm + +INCUMBENT = "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916" +CANDIDATE = "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" +BASE_HEAD = "d7f82810689ed2cd649ec9aaaf3b1485b585c82e" +CALLER_HEAD = "07a76c5e2738882c0cb322278e56f6cae3c9885d" +SOURCE_7605_PACKAGE = "research/p104-timed-helper757" +SOURCE_7642_PACKAGE = "research/p104-main46-original-clear" +PINS = { + "7642/checks/recount_main46.py": "4b6f8b625805290d4462ce8585c79be507b318d29b6f62ab3e476b476739d5ee", + "7642/checks/pricing.py": "f4d0b6c9314b838d882d6d06020f24881c19a3fda97a7c00df87b1e920785182", + "7642/receipts/FINAL.json": "974fadc7c8e146936f5b4d29e4a4fda3f765f16c6be57f3f0e58ee2a5e507da2", + "7642/receipts/SIGNED.json": "baecea5ce30dc1b75411506ef5f2233edd1906e149a81b6b6a9ddea054d85dc7", + "7605/data/invoice-new.json": "b38afd7ca590b5c4c301ee4fbe0e123f0c7220c2bd1f40c66adf208652e3ce15", + "7605/retained/role902/bench/inputs/7113-CALLER.json": + "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "306/PHASE.json": "c94c05f493b3fe9c437187f0c5622870ec1ed25856c0cb896e382991b0e3940c", +} +EDIT = { + 41049: (["MOVE", 134, 3, 618, False], ["MOVE", 134, 3, 373, False]), + 41050: (["MOVE", 329, 373, 618, False], None), + 41051: (["ADD", 134, 329, "-1/2", 618], ["ADD", 134, 329, "-1/2", 373]), + 41142: (["MOVE", 329, 618, 733, False], ["MOVE", 329, 373, 733, False]), + 42086: (["MOVE", 134, 618, 913, False], ["MOVE", 134, 373, 913, False]), +} + + +def sha(data): + return sha256(data).hexdigest() + + +def operands(e): + return e[1:3] if e[0] in ("ADD", "COPY") else e[1:2] + + +def normalized(tape): + """Operations in canonical chart coordinates, where MOVE is identity.""" + return [e[:-1] if e[0] in ("ADD", "COPY", "SCALE") else e for e in tape if e[0] != "MOVE"] + + +def as_json(path, obj): + with path.open("x") as stream: + stream.write(json.dumps(obj, indent=2) + "\n") + + +def main(): + assert __debug__ + parser = argparse.ArgumentParser(description=__doc__) + for n in ("baseline", "candidate", "source-7605", "source-7642", "phase", "output"): + parser.add_argument(f"--{n}", type=Path, required=True) + args = parser.parse_args() + alarm(30) + sources = {} + for key in PINS: + number, subpath = key.split("/", 1) + roots = {"7605": args.source_7605 / SOURCE_7605_PACKAGE, + "7642": args.source_7642 / SOURCE_7642_PACKAGE} + sources[key] = args.phase if number == "306" else roots[number] / subpath + inputs = {key: path.read_bytes() for key, path in sources.items()} + assert {key: sha(blob) for key, blob in inputs.items()} == PINS + raw = [decompress(p.read_bytes()) for p in (args.baseline, args.candidate)] + assert list(map(sha, raw)) == [INCUMBENT, CANDIDATE] + old, new = map(json.loads, raw) + signed = json.loads(inputs["7642/receipts/SIGNED.json"]) + final = json.loads(inputs["7642/receipts/FINAL.json"]) + phase = json.loads(inputs["306/PHASE.json"]) + caller_pin = "7605/retained/role902/bench/inputs/7113-CALLER.json" + caller = json.loads(inputs[caller_pin]) + assert signed["price"]["new_native"] == final["candidate_canonical_sha256"] == INCUMBENT + assert signed["caller_sha256"] == final["caller_sha256"] == PINS[caller_pin] + assert phase["status"] == "PASS_LITERAL_CONTACT_AND_SIGNED_PHASE" + assert (phase["incumbent_head"],phase["incumbent_canonical_sha256"],phase["candidate_canonical_sha256"]) == (BASE_HEAD, INCUMBENT, CANDIDATE) + tape = old["program"] + assert all(tape[i] == row[0] for i, row in EDIT.items()) + trial = [r for i, e in enumerate(tape) if (r := EDIT.get(i,(e,e))[1]) is not None] + assert new == {**old, "program": trial} + basis = normalized(tape) + assert basis == normalized(trial) + p = old["public"] + owned = [[e for e in w if any(r >= p for r in operands(e))] for w in (tape, trial)] + assert owned[0] == owned[1] + own_counts = Counter(e[0] for e in owned[0]) + assert own_counts["INIT"] == own_counts["CLEAR"] == 74 and own_counts["MOVE"] == 47 + assert old["public"] == 1501 and old["owned_fields"] == 68 + engine = run_path(str(sources["7642/checks/recount_main46.py"])) + before, after = [engine["invoice"](w, caller) for w in (old, new)] + d = engine["difference"] + assert all(before[k] == after[k] for k in + ("owned_rise", "life", "peak", "targets", "native_targets", "caller_paid", + "caller_targets", "scalar_counts", "scalar_upper", "calls")) + assert before["calls"] == 17 and after["life"] == 74 and after["peak"] == 50 + assert d(after["events"], before["events"]) == {"MOVE": -1} + assert d(after["native_paid"], before["native_paid"]) == {1:-2,2:2,3:-1,4:-1,5:1} + delta = d(after["paid"], before["paid"]) + assert delta == {int(k):v for k,v in phase["paid_delta"].items()} + for label, short in (("paid","P"), ("targets","T")): + assert before[label] == {int(r):n for r,n in signed["price"]["after"][short].items()} + masses = [{k: sum(r*n for r,n in row[k].items()) for k in ("paid","targets")} for row in (before,after)] + assert masses[0] == masses[1] and masses[0]["targets"]-masses[0]["paid"] == final["surplus"] == 1424 + populations = [sum(row["paid"].values()) for row in (before, after)] + assert populations == [final["paid_calls"],110332] and sum(after["targets"].values()) == final["productive_calls"] == 22461 + ordinary_before = final["ordinary_bound"] + ordinary_after = ordinary_before - 17*1000 + assert ordinary_after == 782668204 < 10**9 + pricing = run_path(str(sources["7642/checks/pricing.py"])) + floor = Fraction(final["raw_crossing"][1]) + Fraction(1,10**8) + signed_margins = [] + for row in (before, after): + profile = row["targets"].copy() + profile.subtract(row["paid"]) + signed_margins.append(pricing["cost"](profile, floor)) + assert signed_margins[0][1] < 0 < signed_margins[1][0] + + schema = json.loads(inputs["7605/data/invoice-new.json"]) + packet = {k: schema[k] for k in ("schema", "contract")} + paths = {"before": args.output/"invoice-old.json", "after": args.output/"invoice-new.json"} + for side, row in (("before",before),("after",after)): + rec = {**packet, **{name: dict(sorted(row[name].items())) for name in ("paid","targets")}} + as_json(paths[side], rec) + as_json(args.output/"RECOUNT.json", { + "status":"PASS_COMPLETE_LITERAL_INVOICE_NO_FULL_APPLICATION", + "canonical_word_pins":{"old":INCUMBENT,"new":CANDIDATE},"input_pins":PINS, + "benchmark_head":BASE_HEAD,"caller_head":CALLER_HEAD,"native_calls":17, + "paid_delta":delta,"old_paid":before["paid"],"new_paid":after["paid"], + "old_targets":before["targets"],"new_targets":after["targets"], + "native_old_paid":before["native_paid"],"native_new_paid":after["native_paid"], + "native_targets":after["native_targets"],"static_caller_paid":after["caller_paid"], + "static_caller_targets":after["caller_targets"],"paid_counts":populations,"target_count":22461, + "rank_masses":masses,"surplus":1424,"normalised_identical_operations":len(basis), + "owned_event_counts":own_counts,"owned_peak":50,"public_endpoints_inherited":1501, + "owned_clear_rows_inherited_by_identical_normalized_equations":74, + "ordinary_baseline":ordinary_before,"ordinary_projected":ordinary_after, + "ordinary_move_delta":-17000,"same_scalar_charge":after["scalar_upper"], + "old_raw_crossing":final["raw_crossing"],"test_floor":str(floor), + "directed_signed_moments":[list(map(str,i)) for i in signed_margins], + "invoices_sha256":{side:sha(path.read_bytes()) for side,path in paths.items()}, + "pending":["full native/signed replay","precision/tape and compiler/outer gate at new claim"], + }) + alarm(0) + print("PASS_COMPLETE_LITERAL_INVOICE_NO_FULL_APPLICATION") + + +if __name__ == "__main__": + main() diff --git a/research/p104-contact134-329-original-clear/checks/replay_contact_phase.py b/research/p104-contact134-329-original-clear/checks/replay_contact_phase.py new file mode 100644 index 0000000000..33a84b7528 --- /dev/null +++ b/research/p104-contact134-329-original-clear/checks/replay_contact_phase.py @@ -0,0 +1,277 @@ +"""Materialize the single pinned 134/329 contact splice and check its signed maps.""" +import argparse +from collections import Counter +from copy import deepcopy +from gzip import compress, decompress +from hashlib import sha256 +import json +from pathlib import Path +from runpy import run_path +import signal +import sys + +CAP = 60 +INCUMBENT_HEAD = "d7f82810689ed2cd649ec9aaaf3b1485b585c82e" +PEER_HEAD = "e814828ee5b869c9468282d57ba28c364b07d130" +INCUMBENT_CANONICAL = "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916" +RAW_PINS = { + "round305/gate.json": "512dbbc3c5133b07400b720f55753e976aca48020e91b2d0086345802de1bc14", + "round305/independent.json": "7f08c8d69f0bfa7fce39c1ab51794de94586650f8c5167dfaed27f155e7f776d", + "round305/RUN.json": "2617b9ec5811744a3ae006869ea1a5290a90143435a82f10e360a03e3efd874a", + "engines/clifford_exact.py": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962", + "engines/native_verify.py": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38", +} +OLD = { + 41049: ["MOVE", 134, 3, 618, False], + 41050: ["MOVE", 329, 373, 618, False], + 41051: ["ADD", 134, 329, "-1/2", 618], + 41142: ["MOVE", 329, 618, 733, False], + 42086: ["MOVE", 134, 618, 913, False], +} +NEW = { + 41049: ["MOVE", 134, 3, 373, False], + 41050: None, + 41051: ["ADD", 134, 329, "-1/2", 373], + 41142: ["MOVE", 329, 373, 733, False], + 42086: ["MOVE", 134, 373, 913, False], +} +OLD_RANKS = [3, 1, 1, 4] +NEW_RANKS = [2, 2, 5] + + +class GateError(Exception): + pass + + +def need(condition, label): + if not condition: + raise GateError(label) + + +def digest(data): + return sha256(data).hexdigest() + + +def canonical(obj): + return json.dumps(obj, sort_keys=True, separators=(",", ":")).encode() + + +def span(frame): + points = {0} + for v in frame: + need(0 < v < 512 and v not in points, f"invalid frame vector {v}") + points |= {p ^ v for p in points} + return points + + +def operands(event): + return event[1:3] if event[0] in ("ADD", "COPY") else event[1:2] + + +def audit_word(word, spans, state, label): + public = word["public"] + chart = word["initial"] + [None] * word["owned_fields"] + peak = live = 0 + owned_events = [] + pairs = Counter() + rank_counts = Counter() + for clock, e in enumerate(word["program"]): + state["clock"] = clock + op, field, *args = e + need(all(isinstance(r, int) and 0 <= r < len(chart) for r in operands(e)), + f"{label}: invalid field at {clock}") + if any(r >= public for r in operands(e)): + owned_events.append(e) + if op == "MOVE": + a, b, private = args + need(private is (field >= public) and chart[field] == a, + f"{label}: MOVE ownership or source at {clock}") + need(spans[a] < spans[b] or (private and spans[b] < spans[a]), + f"{label}: nonnested MOVE at {clock}") + chart[field] = b + pairs[a, b] += 1 + rank_counts[abs(len(word["frames"][a])-len(word["frames"][b]))] += 1 + elif op == "INIT": + need(field >= public and chart[field] is None, f"{label}: invalid INIT at {clock}") + chart[field] = args[0] + live += 1 + peak = max(peak, live) + elif op == "CLEAR": + need(field >= public and chart[field] == args[0], f"{label}: invalid CLEAR at {clock}") + chart[field] = None + live -= 1 + else: + need(op in ("ADD", "COPY", "SCALE") and chart[field] == args[-1], + f"{label}: scalar destination chart at {clock}") + if op != "SCALE": + need(field != args[0] and chart[args[0]] == args[-1], + f"{label}: scalar source chart at {clock}") + need(live == 0 and chart == word["final"] + [None] * word["owned_fields"], + f"{label}: final chart or lifetime mismatch") + return owned_events, peak, pairs, rank_counts + + +def phase_check(word, old_pairs, new_pairs, engines, state): + comp = run_path(str(engines / "clifford_exact.py")) + interp = run_path(str(engines / "native_verify.py")) + pairs = sorted(set(old_pairs + new_pairs)) + frame_ids = sorted({f for pair in pairs for f in pair}) + frames = {f: word["frames"][f] for f in frame_ids} + canonical_frames = {f: comp["canonical_frame"](9, tuple(frames[f])) for f in frame_ids} + direct_frames = {f: interp["frame"](frames[f], 9) for f in frame_ids} + routes = {} + result = {} + + def exact_equality(left, right, label): + for name, l, r in (("forward", left, right), + ("adjoint", interp["adjoint"](left), interp["adjoint"](right))): + state["subject"] = label + state["direction"] = name + interp["equal"](l, r, f"{label} {name}") + for j in range(512): + state["column"] = j + need(interp["state"](l, j) == interp["state"](r, j), f"{label} {name} column {j}") + result[label] = {"forward_columns": 512, "adjoint_columns": 512, + "signed_pauli_and_absolute_phase": True} + + control_passed = False + for a, b in pairs: + label = f"{a}->{b}" + rank = len(frames[b])-len(frames[a]) + recipe, _ = comp["lower_child"](canonical_frames[a].adjoint().then(canonical_frames[b])) + need(recipe["rank"] == rank, f"wrong compiled rank {label}") + actual = routes[a, b] = interp["recipe"](recipe) + expected = interp["adjoint"](direct_frames[a]) + direct_frames[b] + exact_equality(actual, expected, label) + result[label]["rank"] = rank + if (a, b) == (373, 913): + tampered = deepcopy(recipe) + tampered["left"]["phase"] = (tampered["left"]["phase"] + 1) % 4 + try: + interp["equal"](interp["recipe"](tampered), expected, "one quarter turn fault") + except ValueError as error: + need("exact global phase" in str(error), "phase control rejected for the wrong reason") + control_passed = True + else: + raise GateError("wrong absolute phase accepted") + need(control_passed, "missing wrong-phase control") + exact_equality(routes[3, 618] + routes[618, 913], + routes[3, 373] + routes[373, 913], "134 retained value") + exact_equality(routes[373, 618] + routes[618, 913], + routes[373, 913], "329 contribution to 134") + exact_equality(routes[373, 618] + routes[618, 733], + routes[373, 733], "329 retained value") + return result + + +def gate(args, state): + state["stage"] = "authenticate" + sources = {"word.json.gz": args.word} + sources.update({f"round305/{n}": args.round305 / n for n in ("gate.json", "independent.json", "RUN.json")}) + sources.update({f"engines/{n}": args.engine_root / n for n in ("clifford_exact.py", "native_verify.py")}) + data = {n: p.read_bytes() for n, p in sources.items()} + need({n: digest(data[n]) for n in RAW_PINS} == RAW_PINS, "dependency hash mismatch") + old_raw = decompress(data["word.json.gz"]) + need(digest(old_raw) == INCUMBENT_CANONICAL, "word canonical hash mismatch") + word = json.loads(old_raw) + primary = json.loads(data["round305/gate.json"]) + secondary = json.loads(data["round305/independent.json"]) + summary = json.loads(data["round305/RUN.json"]) + need(primary["status"] == "ELIGIBLE_FOR_BUILD" + and secondary["status"] == "PASS_CONTACT_LOCAL_INDEPENDENT" + and summary["status"] == "ELIGIBLE_FOR_LITERAL_BUILD" + and summary["stages"] == {"gate": 0, "independent": 0} + and primary["incumbent_word_sha256"] == secondary["incumbent_word_sha256"] == INCUMBENT_CANONICAL + and secondary["primary_receipt_sha256"] == RAW_PINS["round305/gate.json"] + and primary["peer_head"] == PEER_HEAD, "round 305 inputs or outcome mismatch") + need({int(k): v for k, v in primary["old_events"].items()} == OLD + and {int(k): v for k, v in primary["proposed_events"].items()} == NEW, "literal frozen edit mismatch") + + state["stage"] = "materialize and compare scalar schedules" + tape = word["program"] + need(len(tape) == 76646 and all(tape[i] == e for i, e in OLD.items()), "incumbent edit clock or event mismatch") + new_tape = [ev for i, old in enumerate(tape) if (ev := NEW.get(i, old)) is not None] + candidate = {**word, "program": new_tape} + need(len(new_tape) == 76645, "changed event total") + for role, clocks in ((134, [41049, 41051, 42086]), (329, [41050, 41051, 41142])): + need([i for i in range(clocks[0], clocks[-1]+1) if role in operands(tape[i])] == clocks, + f"extra incident baseline contact on role {role}") + scalar_old = [e for i, e in enumerate(tape) if e[0] != "MOVE" and i != 41051] + scalar_new = [e for i, e in enumerate(new_tape) if e[0] != "MOVE" and i != 41050] + need(scalar_old == scalar_new and tape[41051][:-1] == new_tape[41050][:-1], + "scalar or guard sequence changed beyond the specified ADD chart") + old_pairs = [tuple(e[2:4]) for e in OLD.values() if e[0] == "MOVE"] + new_pairs = [tuple(e[2:4]) for e in NEW.values() if e and e[0] == "MOVE"] + state["stage"] = "chart and ownership" + spans = list(map(span, word["frames"])) + old_owned, old_peak, old_vocab, old_paid = audit_word(word, spans, state, "old") + new_owned, new_peak, new_vocab, new_paid = audit_word(candidate, spans, state, "candidate") + owned_census = Counter(e[0] for e in new_owned) + need(old_owned == new_owned and old_peak == new_peak == 50 + and owned_census["INIT"] == owned_census["CLEAR"] == 74 + and owned_census["MOVE"] == 47 and word["owned_fields"] == 68, + "owned chart, guard or schedule mismatch") + need(not (new_vocab.keys() - old_vocab.keys() - set(new_pairs)), "unaccounted-for pair") + delta = new_paid.copy() + delta.subtract(old_paid) + paid_delta = {str(r): n * 17 for r, n in sorted(delta.items()) if n} + ranks = [[len(word["frames"][b])-len(word["frames"][a]) for a, b in pairs] + for pairs in (old_pairs, new_pairs)] + need(ranks == [OLD_RANKS, NEW_RANKS] + and paid_delta == primary["paid_delta"] == secondary["paid_delta"], "paid-rank reconstruction differs") + state.pop("clock") + state["stage"] = "compiled signed action" + phase = phase_check(word, old_pairs, new_pairs, args.engine_root, state) + state["stage"] = "write authenticated candidate" + out = canonical(candidate) + packed = compress(out, mtime=0) + with args.candidate.open("xb") as f: + f.write(packed) + return { + "status": "PASS_LITERAL_CONTACT_AND_SIGNED_PHASE", + "incumbent_head": INCUMBENT_HEAD, "incumbent_canonical_sha256": INCUMBENT_CANONICAL, + "incumbent_gzip_sha256_observed": digest(data["word.json.gz"]), + "round305_incumbent_gzip_sha256": primary["word_gzip_sha256"], + "peer": 7612, "peer_head": PEER_HEAD, "candidate_canonical_sha256": digest(out), + "candidate_gzip_sha256": digest(packed), "candidate_events": len(new_tape), + "scalar_events_unchanged_except_one_rechart": len(scalar_new), "recharted_scalar_clock": 41051, + "owned_schedule_events": dict(owned_census), "owned_peak": new_peak, + "same_chart_endpoints": True, "paid_delta": paid_delta, "case_cap": 1, "seconds_cap": CAP, + "pair_occurrences": {f"{a}->{b}": [old_vocab[a, b], new_vocab[a, b]] + for a, b in sorted(set(old_pairs + new_pairs))}, + "wrong_global_phase_rejected": True, "phase": phase, "input_pins": RAW_PINS, + "scope": "literal local arbitrary-input action and chart/schedule checks; complete native and signed cost replay pending", + } + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + for name in ("word", "round305", "engine-root", "candidate"): + parser.add_argument(f"--{name}", type=Path, required=True) + args = parser.parse_args() + if not __debug__: + parser.error("assertions must be enabled for the pinned compiler") + state = {"stage": "starting"} + + def cap(_sig, _frame): + raise TimeoutError + + signal.signal(signal.SIGALRM, cap) + signal.alarm(CAP) + try: + receipt = gate(args, state) + code = 0 + except TimeoutError: + receipt = {"status": "UNRESOLVED_CAP", "seconds_cap": CAP, "last": state} + code = 124 + except (GateError, ValueError, OSError, AssertionError, KeyError, IndexError) as e: + receipt = {"status": "GATE_FAILED", "last": state, "error": str(e)} + code = 1 + finally: + signal.alarm(0) + print(json.dumps(receipt, sort_keys=True), flush=True) + sys.exit(code) + + +if __name__ == "__main__": + main() diff --git a/research/p104-contact134-329-original-clear/receipts/7642-FINAL.json b/research/p104-contact134-329-original-clear/receipts/7642-FINAL.json new file mode 100644 index 0000000000..cbe14b640f --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/7642-FINAL.json @@ -0,0 +1,51 @@ +{ + "assumptions": [ + "native_all_columns", + "owned_erasure", + "compiler", + "precision_tape", + "analytic_recovery" + ], + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "candidate_canonical_sha256": "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916", + "claim": "0.0036506661663", + "comparator_claim": "912611061179/250000000000000", + "comparator_crossing": [ + "3650444244716887763799059457059/1000000000000000000000000000000000", + "36504442447168877637990594570591/10000000000000000000000000000000000" + ], + "framework_claim": "3650666180757/1000000000000000", + "ordinary_bound": 782685204, + "ordinary_change_over_7605": -14008, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "paid_calls": 110349, + "precision_c": 2430, + "productive_calls": 22461, + "public_H": 14259200000000000000, + "public_claim_derivation": "Weakening the stronger complete framework claim; tape H inequalities also checked at the public gate.", + "public_context_bound_bits": 14085, + "raw_crossing": [ + "36506661807577608622666732886141/10000000000000000000000000000000000", + "18253330903788804311333366443071/5000000000000000000000000000000000" + ], + "signed_physical_map_count": 3040, + "status": "PASS_MAIN46_FINAL_APPLICATION", + "surplus": 1424, + "tape": { + "elementary_records_upper": 25448575552, + "monomial_map_slots": 298468, + "native_invocations": 17, + "scalar_services_upper": 43929184 + }, + "tape_change_over_7605": { + "elementary_records_upper": -2898976, + "monomial_map_slots": -34, + "native_invocations": 0, + "scalar_services_upper": 5984 + } +} diff --git a/research/p104-contact134-329-original-clear/receipts/FINAL.json b/research/p104-contact134-329-original-clear/receipts/FINAL.json new file mode 100644 index 0000000000..3ccf638368 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/FINAL.json @@ -0,0 +1,51 @@ +{ + "assumptions": [ + "native_all_columns", + "owned_erasure", + "compiler", + "precision_tape", + "analytic_recovery" + ], + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "candidate_canonical_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "claim": "0.00365098237428", + "comparator_claim": "3650666180757/1000000000000000", + "comparator_crossing": [ + "36506661807577608622666732886141/10000000000000000000000000000000000", + "18253330903788804311333366443071/5000000000000000000000000000000000" + ], + "framework_claim": "912745593599/250000000000000", + "ordinary_bound": 782668204, + "ordinary_change_over_7642": -17000, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "paid_calls": 110332, + "precision_c": 2430, + "productive_calls": 22461, + "public_H": 14259200000000000000, + "public_claim_derivation": "Weakening the stronger complete framework claim; tape H inequalities also checked at the public gate.", + "public_context_bound_bits": 14085, + "raw_crossing": [ + "36509823743962668119328341172747/10000000000000000000000000000000000", + "9127455935990667029832085293187/2500000000000000000000000000000000" + ], + "signed_physical_map_count": 3041, + "status": "PASS_CONTACT134_329_FINAL_APPLICATION", + "surplus": 1424, + "tape": { + "elementary_records_upper": 25445676576, + "monomial_map_slots": 298434, + "native_invocations": 17, + "scalar_services_upper": 43929184 + }, + "tape_change_over_7642": { + "elementary_records_upper": -2898976, + "monomial_map_slots": -34, + "native_invocations": 0, + "scalar_services_upper": 0 + } +} diff --git a/research/p104-contact134-329-original-clear/receipts/NATIVE.json b/research/p104-contact134-329-original-clear/receipts/NATIVE.json new file mode 100644 index 0000000000..c7ca1050f0 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/NATIVE.json @@ -0,0 +1,3709 @@ +{ + "adapter": [ + { + "adapted_sha256": "7893f30045cbde0aa8d3ef2401652aa162d79a6e725dce9a1ab1b3520ed64cc1", + "edits": [ + { + "after": "== 1101", + "before": "== 1080", + "occurrences": 1 + }, + { + "after": "fresh_arbitrary_helpers=18 * 1101", + "before": "fresh_arbitrary_helpers=18 * 1080", + "occurrences": 1 + }, + { + "after": "grid.word_run(word, frac=25), grid.caller_run(caller)", + "before": "grid.word_run(word), grid.caller_run(caller)", + "occurrences": 1 + }, + { + "after": " assert src.count(\"(life, peak, owned_count) == (54, 43, 51)\") == 1\n src=src.replace(\"(life, peak, owned_count) == (54, 43, 51)\",\"(life, peak, owned_count) == (74, 50, 68)\")\n exec(compile(src, str(env_path), 'exec'), env.__dict__)", + "before": " exec(compile(src, str(env_path), 'exec'), env.__dict__)", + "occurrences": 1 + } + ], + "module": "producer_rank9", + "source_name": "candidate_gate.py", + "source_sha256": "e71097ca81a082afd7c647324a6c94cb357aeb1084693a095a0f3e0b45a9b11a" + }, + { + "adapted_sha256": "dc0447d40373cca3b228d3d5c195ead094cd0a38982e7c285a9eb2be87592441", + "edits": [ + { + "after": "2**25", + "before": "2**24", + "occurrences": 1 + }, + { + "after": "26 - (abs(value) & -abs(value)).bit_length()", + "before": "25 - (abs(value) & -abs(value)).bit_length()", + "occurrences": 1 + } + ], + "module": "producer_forward", + "source_name": "audit_native.py", + "source_sha256": "c7d81ad6620de5e46abf97259f62da0138b58a02759c3189e57b8ab176db6bd5" + }, + { + "adapted_sha256": "393fb1a9b62155cc160cb1dfc9c5ddb05e1b87ff8a87506262805eb044e98ad1", + "edits": [ + { + "after": "(life, peak, owned_count) == (74, 50, 68)", + "before": "(life, peak, owned_count) == (54, 43, 51)", + "occurrences": 1 + } + ], + "module": "producer_owned_census", + "source_name": "envelopes.py", + "source_sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f" + }, + { + "adapted_sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "edits": [], + "module": "producer_grid_controls", + "source_name": "independent_bounds.py", + "source_sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5" + }, + { + "adapted_sha256": "a51198e26203fbb35a8b3af2fa17219af1e50de90cc444097a060823fd2a0f7e", + "edits": [ + { + "after": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "before": "cca66a7ec924bab47ccd1410968d16e071a01dc6110b5c08040bd207f753d066", + "occurrences": 1 + } + ], + "module": "producer_signed_routes", + "source_name": "physical_child.py", + "source_sha256": "b61be680bb100bb514dd7320117e5de0d04e95d07f450d17633e374b5711bc2e" + } + ], + "caller": { + "bad_outputs": [], + "caller_denominator_height_bound": 431, + "caller_mass_bound": "2031778024781380738667307850969872261300825114412066667930609010754885615256246771273722516797028373875488084463456734932931819440254377992064287155336455679722182496470290893143689397339193405421398373633/137438953472", + "caller_mass_ceiling_bits": 642, + "max_terms": 3998 + }, + "charts": { + "all_affected_pairs": [ + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 100 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 101 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 327 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 373 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 595 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 603 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 618 + ], + "rank": 3 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 1053 + ], + "rank": 5 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 3, + 1083 + ], + "rank": 7 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 42, + 501 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 93, + 310 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 100, + 356 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 101, + 373 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 128, + 127 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 152, + 127 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 202, + 127 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 238, + 127 + ], + "rank": 4 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 245, + 127 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 310, + 716 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 327, + 783 + ], + "rank": 3 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 327, + 907 + ], + "rank": 5 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 356, + 727 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 373, + 618 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 373, + 733 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 373, + 913 + ], + "rank": 5 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 501, + 513 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 513, + 914 + ], + "rank": 4 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 595, + 603 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 595, + 618 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 603, + 127 + ], + "rank": 7 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 618, + 733 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 618, + 789 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 618, + 913 + ], + "rank": 4 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 716, + 783 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 716, + 807 + ], + "rank": 3 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 727, + 729 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 729, + 789 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 729, + 808 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 733, + 238 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 783, + 807 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 783, + 907 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 789, + 808 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 789, + 913 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 807, + 932 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 808, + 933 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 907, + 177 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 913, + 147 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 914, + 127 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 914, + 245 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 932, + 128 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 933, + 152 + ], + "rank": 1 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 1053, + 1083 + ], + "rank": 2 + }, + { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512, + "pair": [ + 1083, + 202 + ], + "rank": 1 + } + ], + "changed_public_fields": [ + 46, + 100, + 134, + 166, + 315, + 329, + 757, + 761, + 902, + 1077 + ], + "contact_compositions": { + "134_retained": { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512 + }, + "329_contribution_to_134": { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512 + }, + "329_retained": { + "absolute_phase_verified": true, + "adjoint_columns": 512, + "columns": 512 + } + }, + "main46_composed_adjoint_columns": 512, + "main46_composed_columns": 512, + "wrong_phase_rejected": true + }, + "controls": { + "doubled_1438_restoration": true, + "doubled_824_compensation": true, + "doubled_early_encoding": true, + "doubled_late_decoding": true, + "extra_uncharged_owned_lifetime": true, + "insufficient_fractional_grid": true, + "insufficient_odd_grid": true, + "missing_contact_add": true, + "missing_contact_paid_return": true, + "missing_helper757_paid_move": true, + "missing_main46_coframe_correction": true, + "missing_main46_paid_move": true, + "wrong_contact_chart": true, + "wrong_helper757_source": true, + "wrong_main46_move_source": true, + "wrong_move_source": true, + "wrong_output_frame": true + }, + "derived_grid": { + "coefficient_visits": 16463265, + "fractional_bits": 25, + "mass_witness": [ + 66408, + "stored" + ], + "odd_scale": 1125, + "scaled_maximum_mass": "841374570120675/8192", + "unscaled_maximum_mass": "11218327601609/122880" + }, + "forward": { + "coefficient_positions": 2461761, + "copy_guards_checked": 1, + "fractional_bits": 25, + "grid": 1125, + "owned_clear_rows_checked": 74, + "rows": 1569 + }, + "gate": { + "BIT_margin": "11637832889093/100000000000000000", + "BIT_pin": "376669/100000000", + "H": "16533000000000000000000", + "alpha": [ + 0.9999999999999997, + 0.9999999999999997 + ], + "claim": "3650311671109/1000000000000000", + "compiler_gap": "1/100000000000000000", + "delta": [ + 0.887996414368734, + 0.887996414368734 + ], + "derivative_upper": -406285.0088442598, + "gamma": [ + 0.9500970602492114, + 0.9500970602492114 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "3650311671109/1000000000000000": [ + "62266616576466406194593167773068397163563213707790117219758530716562995636029/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "31133308288233203097296583886534198581781606853895058609879265358281497818507/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "365031167110907/100000000000000000": [ + "6226661657646754922499679278978581706946958042073202147074513674662911585753/5000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62266616576467549224996792789785817069469580420732021470745136746629115858493/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2239, + "moment_margin_float": { + "18251558355546637646456919540997/5000000000000000000000000000000000": [ + 2.672808214550261e-29, + 2.672808214550261e-29 + ], + "365031167110907/100000000000000000": [ + 1.0642447603677108e-10, + 1.0642447603677108e-10 + ], + "7300623342218655058582767816399/2000000000000000000000000000000000": [ + -1.459711059854149e-29, + -1.459711059854149e-29 + ] + }, + "moment_margins": { + "18251558355546637646456919540997/5000000000000000000000000000000000": [ + "133640410727513052038068139860531548815410466352207/5000000000000000000000000000000000000000000000000000000000000000000000000000000", + "668202053637565260190340699302657744077052342171407/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "365031167110907/100000000000000000": [ + "532122380183855395963494202201033715542209138996866814058691407004919/5000000000000000000000000000000000000000000000000000000000000000000000000000000", + "2660611900919276979817471011005168577711045694984334070293457045479029/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "7300623342218655058582767816399/2000000000000000000000000000000000": [ + "-729855529927074545454275752538460126037010006350327/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-145971105985414909090855150507692025207401997092197/10000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "18251558355546637646456919540997/5000000000000000000000000000000000", + "7300623342218655058582767816399/2000000000000000000000000000000000" + ], + "tested": "365031167110907/100000000000000000", + "written_log_power": 2240 + }, + "grid": { + "dyadic_height": 25, + "maximum_scaled_mass": "841374570120675/8192", + "odd_divisions": { + "ADD": 5830, + "SCALE": 71 + }, + "odd_grid_lcm": 1125, + "opcodes": { + "ADD": 66502, + "CLEAR": 74, + "COPY": 1, + "INIT": 74, + "MOVE": 6268, + "SCALE": 3726 + }, + "owned_lifetimes": 74, + "owned_peak": 50, + "owned_rise_mass": 56, + "owned_rises": { + "1": 10, + "2": 4, + "3": 1, + "4": 6, + "5": 1, + "6": 1 + }, + "paid": { + "1": 3989, + "2": 852, + "3": 827, + "4": 223, + "5": 345, + "6": 16, + "7": 11, + "8": 5 + } + }, + "invoice": { + "P": { + "1": 72186, + "16": 416, + "2": 15336, + "24": 416, + "3": 14886, + "32": 416, + "4": 4014, + "40": 416, + "48": 416, + "5": 6210, + "56": 416, + "6": 288, + "64": 416, + "7": 198, + "8": 762, + "9": 32 + }, + "S": 1520, + "T": { + "1": 324, + "145": 208, + "17": 416, + "2": 378, + "25": 416, + "3": 846, + "33": 416, + "4": 4050, + "41": 416, + "49": 416, + "5": 1440, + "57": 416, + "6": 774, + "65": 416, + "7": 342, + "73": 416, + "8": 576, + "9": 11504 + }, + "empty_root_credits": 0, + "no_E_credit_crossing": "0.0036503116711093275292913839081994646774530757747862742787281765340", + "raw_crossing": "0.0036503116711093275292913839081994646774530757747862742787281765340" + }, + "limitations": [ + "Five inherited framework assumptions remain.", + "Source-aware retained engines are not independent human/formal acceptance.", + "The complete 17-stage signed application is checked separately." + ], + "native": { + "bad_inputs": [], + "events": 76645, + "helpers": { + "1": 18, + "2": 21, + "3": 47, + "4": 225, + "5": 80, + "6": 43, + "7": 19, + "8": 32, + "9": 616 + }, + "lifetimes": 74, + "owned_peak": 50, + "paid": { + "1": 3989, + "2": 852, + "3": 827, + "4": 223, + "5": 345, + "6": 16, + "7": 11, + "8": 5 + }, + "public": 1501, + "rises": { + "1": 10, + "2": 4, + "3": 1, + "4": 6, + "5": 1, + "6": 1 + } + }, + "ordinary": { + "caller_items": { + "A": { + "envelope": 124674048, + "field_boundary": 94848, + "fused_routes": 0, + "idle_routes": 185472000, + "output_routes": 229056000, + "query_routes": 1152000, + "thin": 6144 + }, + "B": { + "envelope": 39515136, + "field_boundary": 7904, + "fused_routes": 1168000, + "idle_routes": 19552000, + "output_routes": 19088000, + "query_routes": 0, + "thin": 0 + } + }, + "caller_total": 619786080, + "conservative_total": 856694968, + "extra_B_scalar_surcharge": 784256, + "init_clear_allowance": 296, + "lambda_paid_rank1_would_reduce_S_by": 14384, + "lambda_second_charge": 14384000, + "margin_to_billion": 143305032, + "odd_divisions": { + "ADD": 5830, + "SCALE": 71 + }, + "per_input_conversion": 2809872, + "raw_upper": 838716840, + "route_items": { + "first_main_adapter": 416, + "first_main_boundary": 208, + "helper_boundary": 2202, + "moves": 6268, + "owned_lifetime": 296, + "second_main_adapter": 384, + "second_main_boundary": 192 + }, + "routing": 9966000, + "scalar_upper": 2196820 + }, + "physical_checks": [ + "verify_host3_odd.py", + "physical.py" + ], + "precision": { + "Kstar_bits": 14093, + "caller": { + "denominator_height": 431, + "maximum_mass": "2031778024781380738667307850969872261300825114412066667930609010754885615256246771273722516797028373875488084463456734932931819440254377992064287155336455679722182496470290893143689397339193405421398373633/137438953472", + "pre_joint_height": 426, + "pre_joint_mass": "766527916529583301313228867197686200815349463045311717713050641430930492401493758087731346459407655106441982454343595473292801327075604294093436993244143470221321807686760749419510412771973080166736111/17179869184" + }, + "context_c": 1342, + "context_height": 451, + "context_mass_bits": 671, + "rounded_caller": { + "bounds": { + "E_joint_entrance": { + "exact": "28597064155091335647701932703920589586921854994775353752954674649041138685171655263556863576617929621702761309264162406511563748536415249836252362230451814099643147406938799240061227208938850736082961453229580362795029089815362852353244984019452184352584527557966846586806815071419615568107162511789295423521036511405759408498817/58140432535632220280812520816662271754240000000000000000000", + "strict_power_of_two": 896, + "witness": { + "cut": 4982, + "event": 4982, + "factor": "1", + "kind": "stored", + "register": 39 + } + }, + "Gamma_context": { + "exact": "18429493708835795322679754974708253759246683085966522383830952644828233418999381667458250195147160796556081570118635968048218488792611961396216385708202521968016919973179360131715932999930227510639490392568664440642846697781177256962536877253151073076483310983150786298691865779076879194421171749081821168128452972470824881760634397/279074076171034657347900099919978904420352000000000000000000", + "strict_power_of_two": 903, + "witness": { + "cut": 5112, + "factor": "1", + "kind": "public-return", + "register": 75 + } + }, + "M_caller": { + "exact": "71139049377586862629418871698937610393019572652137611543732392122728862032234875850426792200611955874649536689056011773263916935707559511365401032013880904413645069177668118198332454710167691/32768", + "strict_power_of_two": 619, + "witness": { + "cut": 5076, + "event": 5075, + "factor": "1", + "kind": "stored", + "register": 75 + } + }, + "M_context": { + "exact": "348561699523123545438618979057729969553234648856675617481076239529074126605788835108311066206930603123956093484118436789180432995389153903074970854188984769519384999017086369973451692300131308622644788436849907307600098032440962118208192989065785294013001969192373419564213406905221507281849506109628793510603281142662797211121208304349/2480658454853641398648000888177590261514240000000000000000000", + "strict_power_of_two": 915, + "witness": { + "cut": 4983, + "event": 4982, + "factor": "1", + "kind": "stored", + "register": null + } + }, + "M_joint_entrance": { + "exact": "66231921216838714175335242310174311625441766070329537281095337280001689425837300045521194678022507207573740758259597518292006513594483309822197449388620837179777160688120985448681075810705/4096", + "strict_power_of_two": 612, + "witness": { + "cut": 4982, + "event": 4982, + "factor": "1", + "kind": "stored", + "register": 39 + } + }, + "Sigma_caller": { + "exact": "18429493708835795322679754974708253759246683085966522383830952644828233418999381667458250195147160796556081570118635968048218488792611961396216385708202521968016919973179360131715932999930227510639490392568664440642846697781177256962536877253151073076483310983150786298691865779076879194421171749081821168128452972470824881760634397/279074076171034657347900099919978904420352000000000000000000", + "strict_power_of_two": 903, + "witness": { + "cut": 5098, + "event": 5097, + "factor": "1", + "kind": "stored", + "register": 75 + } + }, + "Sigma_context": { + "exact": "2257485763693101780695780184985583589009278635790749583600292282205882491598828087518670472489188477473849837278301452561462316873853963215942762228577623255301705607901416902742361869130338542587240280320927238814271516709448047263789328703014701758271869983836755038286936810125484044755863666355478782704707023997375869207068901226480329707500128390800776492661259445421617167346358999202144673216226045367627777121638559652796811203470198298912730054630698187223805638015939/528173421161000257405168428989428514420554051672205145781746293186897519837184000000000000000000000000000000000000000", + "strict_power_of_two": 1198, + "witness": { + "cut": 4983, + "event": 4982, + "factor": "1", + "kind": "stored", + "register": null + } + } + }, + "fresh_arbitrary_helpers": 19818, + "helper_allocation_premise": "distinct (stage, helper) public inputs as in frozen caller proof", + "independent_adjoint": { + "E_joint_entrance": { + "entrance_mass": "66231921216838714175335242310174311625441766070329537281095337280001689425837300045521194678022507207573740758259597518292006513594483309822197449388620837179777160688120985448681075810705/4096", + "joint_coefficient": "3341262452763736608333208973454412950850413153418406702391448781717870354386212730465850137279766193453853839111325961239001898880600732238129365028446669327062277635590277335176110963/4096", + "primitive_coefficient": "97386365324171280012900240624596584740208335418838768849197300645798627964098858911945347609583363839763283834626254278123625524137460265198827318958269714035256037492260512470970582090841/16384", + "residual_mass": "28597064155091335647701932703920589586921854994775353752954674649041138685171655263556863576617929621702761309264162406511563748536415249836252362230451814099643147406938799240061227208938850736082961453229580362795029089815362852353244984019452184352584527557966846586806815071419615568107162511789295423521036511405759408498817/58140432535632220280812520816662271754240000000000000000000" + }, + "Gamma_context": { + "entrance_mass": "71139049377586862629418871698937610393019572652137611543732392122728862032234875850426792200611955874649536689056011773263916935707559511365401032013880904413645069177668118198332454710167691/32768", + "joint_coefficient": "3588816846070975662189139150385916018049768310935423284247506919489598097879366381598784768436344948623399851427080856173768395141863135887379886323692161717893814936281078874126758254305/32768", + "primitive_coefficient": "104601728656160061800829059188189517089489205649710398563826603344774845615386975930430446869514605732253126838851071709850611632285445276658068751933727423823199247050168422471008254528236067/131072", + "residual_mass": "18429493708835795322679754974708253759246683085966522383830952644828233418999381667458250195147160796556081570118635968048218488792611961396216385708202521968016919973179360131715932999930227510639490392568664440642846697781177256962536877253151073076483310983150786298691865779076879194421171749081821168128452972470824881760634397/279074076171034657347900099919978904420352000000000000000000" + }, + "M_caller": { + "entrance_mass": "71139049377586862629418871698937610393019572652137611543732392122728862032234875850426792200611955874649536689056011773263916935707559511365401032013880904413645069177668118198332454710167691/32768", + "joint_coefficient": "3588816846070975662189139150385916018049768310935423284247506919489598097879366381598784768436344948623399851427080856173768395141863135887379886323692161717893814936281078874126758254305/32768", + "primitive_coefficient": "104601728656160061800829059188189517089489205649710398563826603344774845615386975930430446869514605732253126838851071709850611632285445276658068751933727423823199247050168422471008254528104995/131072", + "residual_mass": "18429493708835795322679754974708253759246683085966522383830952644828233418999381667458250195147160796556081570118635968048218488792611961396216385708202521968016919973179360131715932999930227510639490392568664440642846697781177256962536877253151073076483310983150786298691586705000708159763823848981901189224032620470824881760634397/279074076171034657347900099919978904420352000000000000000000" + }, + "M_joint_entrance": { + "entrance_mass": "66231921216838714175335242310174311625441766070329537281095337280001689425837300045521194678022507207573740758259597518292006513594483309822197449388620837179777160688120985448681075810705/4096", + "joint_coefficient": "3341262452763736608333208973454412950850413153418406702391448781717870354386212730465850137279766193453853839111325961239001898880600732238129365028446669327062277635590277335176110963/4096", + "primitive_coefficient": "97386365324171280012900240624596584740208335418838768849197300645798627964098858911945347609583363839763283834626254278123625524137460265198827318958269714035256037492260512470970582090841/16384", + "residual_mass": "28597064155091335647701932703920589586921854994775353752954674649041138685171655263556863576617929621702761309264162406511563748536415249836252362230451814099643147406938799240061227208938850736082961453229580362795029089815362852353244984019452184352584527557966846586806815071419615568107162511789295423521036511405759408498817/58140432535632220280812520816662271754240000000000000000000" + }, + "Sigma_caller": { + "entrance_mass": "71139049377586862629418871698937610393019572652137611543732392122728862032234875850426792200611955874649536689056011773263916935707559511365401032013880904413645069177668118198332454710167691/32768", + "joint_coefficient": "3588816846070975662189139150385916018049768310935423284247506919489598097879366381598784768436344948623399851427080856173768395141863135887379886323692161717893814936281078874126758254305/32768", + "primitive_coefficient": "104601728656160061800829059188189517089489205649710398563826603344774845615386975930430446869514605732253126838851071709850611632285445276658068751933727423823199247050168422471008254528236067/131072", + "residual_mass": "18429493708835795322679754974708253759246683085966522383830952644828233418999381667458250195147160796556081570118635968048218488792611961396216385708202521968016919973179360131715932999930227510639490392568664440642846697781177256962536877253151073076483310983150786298691865779076879194421171749081821168128452972470824881760634397/279074076171034657347900099919978904420352000000000000000000" + } + }, + "joint_entries": [ + { + "entrance_defect": "4384", + "entrance_mass": "23859/2", + "event": 49, + "stage": 1 + }, + { + "entrance_defect": "3623719164533627270299358769753710412892369534671654441844298533539606218612844980943944287667135279663566356026829871268594940004376021132958993652187/10645831152764688772121433255004078080000000000000000000", + "entrance_mass": "44760984243/4", + "event": 144, + "stage": 2 + }, + { + "entrance_defect": "10387580397405709477027225395998323146958489038430658022335153807123221527524092396156911425619044160051765509126763532289284882540092243298407684857168943797873/681333193776940081415771728320260997120000000000000000000", + "entrance_mass": "8019347752894898813/16", + "event": 275, + "stage": 3 + }, + { + "entrance_defect": "134050416778866619100721670281143157713141762205930186733253260414698210693008763689927888592557930789074348790099775639993323013284212315891950011545917272332880154421/34066659688847004070788586416013049856000000000000000000", + "entrance_mass": "258721681913211409397548013/2", + "event": 435, + "stage": 4 + }, + { + "entrance_defect": "476142343342941141581450438439605626711406229229943834337860842411483097098078890023552724550488258903219372956146248053716350498093188042370198119660148276939809421786940826237/227111064592313360471923909440086999040000000000000000000", + "entrance_mass": "1102764325780487636837595009524032653/16", + "event": 627, + "stage": 5 + }, + { + "entrance_defect": "854515813333223138947596771834274505698328512467247926774947795704836337478255210668702679479801641206026349757905330086265796006441868404676025480433872107440225299356849642445125779611/170333298444235020353942932080065249280000000000000000000", + "entrance_mass": "659697369868562418053848749577901431896032551/4", + "event": 848, + "stage": 6 + }, + { + "entrance_defect": "12957733930409041624522704927546732750622127019772382784932571626525020385133232394212001382801691460289635744476513966760029340864279935797756563839182068166486373319727824089021932400587375737989/1090133110043104130265234765312417595392000000000000000000", + "entrance_mass": "50017699262951285012300223375874644326538714050483088723/128", + "event": 1101, + "stage": 7 + }, + { + "entrance_defect": "53479495971628217465849721656147538602339505135464405047849833346832540757673070070738841773592955328427499505218403290899609323613442450620752302888535234699171091964382402589027206443034455655571446071803/454222129184626720943847818880173998080000000000000000000", + "entrance_mass": "123860608372223676361208276303474840021608894935793894644443117475/32", + "event": 1383, + "stage": 8 + }, + { + "entrance_defect": "578867790579424455197160315800174674621249020923914476886370928692565040630894029145319350125378156901314544059610499302728005145171294161922439683190410581915223558535514877628758184094087624981309588860869653855627/2725332775107760325663086913281043988480000000000000000000", + "entrance_mass": "446893495694686287960280473450842802655971489871616126572592413520841719161/64", + "event": 1662, + "stage": 9 + }, + { + "entrance_defect": "16613467435609042422617654656395919400159400477220791723173326626520185227744834161405894323100420190402519194619078407079576576970084030989001982030122947755499870078957309434441692783177052990137725040627855629719934324271636283070737148617421524150799866811/681333193776940081415771728320260997120000000000000000000", + "entrance_mass": "1603226733879417057855793968966209778425632456862348198524030211565823693253398434234475406089669867705587698766845597/2", + "event": 3203, + "stage": 10 + }, + { + "entrance_defect": "207238381136012364562985931856615729908718191824273438504194805860907719602113142252906486185009844043331321002855894151572410061998774869735923041959840890166004582852148691472876873137648574644594599960749995741298779038004614880480285270788985450360662143100933574629/10901331100431041302652347653124175953920000000000000000000", + "entrance_mass": "159990737255009044304340266028013949411590186711547802615104749842798991699729693917477577741470706009608765481680513095697397863/256", + "event": 3526, + "stage": 11 + }, + { + "entrance_defect": "924184543989915329760557195291820996105741092570747087420904741398230121931631472605466827630314841021667147306746893643868080582926297157223551051003445996687331256024666451343236157460615778597718706128434167185177299268098095719621841817031837248053565884510241414890652136749/43605324401724165210609390612496703815680000000000000000000", + "entrance_mass": "713482539972112811302498126039122556478474335397824876612540289480809876975347015211250548661355667282704396311981650378099911649135840063/1024", + "event": 3821, + "stage": 12 + }, + { + "entrance_defect": "99397837228460074385044518721452048082727136761375089924792157863294858719577031719701444523814581061158724699405667069426690165801301684387534274977074659188065812464867283680871382295447086903627107440118379723368900763559718920571791897696622403147741930306317857291739412636281001871/4845036044636018356734376734721855979520000000000000000000", + "entrance_mass": "690627858377635566118234917748020783796286454330854789097666289598705747090709204201800639258908872647850357504982405971722609074791401430947671165/1024", + "event": 4088, + "stage": 13 + }, + { + "entrance_defect": "609918463010109012615607091557037030759348252414588829880070369248729841660097672079504881736135861604741576628342442846383608210781568406511875149837620396709000948028595445262643865948951297937355039563433814124733730306217136067114699841954949865592720461182834747562432655138208544551795669173/87210648803448330421218781224993407631360000000000000000000", + "entrance_mass": "470865020405587123936906066570155601953174646068287322382245101819760273515813542612024822098129182481570490831889396523550001544922531326945370763196989399/2048", + "event": 4324, + "stage": 14 + }, + { + "entrance_defect": "60187671533196791081390480112924231541591736284001646037162389000046814098646042018526381562359152879776558958641456187672855202512149253929127449434120369847303357636304416139211404145859380188324534870097291502088914695235835981505345082936763610557849806509051119818711776347155267274341110082875944939/43605324401724165210609390612496703815680000000000000000000", + "entrance_mass": "46465668615402712050475352820015987705766128000689019237904160504542353131957951954454381327545881694314550682714483945959032017848349099581053150524269011108711881/1024", + "event": 4532, + "stage": 15 + }, + { + "entrance_defect": "29401978786138629103651410414158152590193362703607314442384917109709850093873010566015517929158137508911392378596653053218315055731110907747249968256485331016303314082866676744348771394937187069572197430296730240501650015823685317895786764377092297215386053140619186829288855945218374582227813526786186487525037581/348842595213793321684875124899973630525440000000000000000000", + "entrance_mass": "22698711681515933658235268009935719580127806482189476469420786919611768582281970304620813093468639555288906634046185136362302550495196405154606658307111274865117192668126623/8192", + "event": 4709, + "stage": 16 + }, + { + "entrance_defect": "60716460494313777261088737883133817156929703326191548422709982983974860148846715834108752677848777655422387644526269019022304152889262948784153349498330221419542470657942155973520467662123860537260364195780122840784221751092878468624303254745968165372656135696870059113701212767051620404531730337202495867367389658166419/69768519042758664336975024979994726105088000000000000000000", + "entrance_mass": "234369503003028720835110712559034466962392865438574454855472632480300248897620917700915501102797005900029816899906431175273180672543487679750570754841237111980601879269511857634373/8192", + "event": 4858, + "stage": 17 + }, + { + "entrance_defect": "28597064155091335647701932703920589586921854994775353752954674649041138685171655263556863576617929621702761309264162406511563748536415249836252362230451814099643147406938799240061227208938850736082961453229580362795029089815362852353244984019452184352584527557966846586806815071419615568107162511789295423521036511405759408498817/58140432535632220280812520816662271754240000000000000000000", + "entrance_mass": "66231921216838714175335242310174311625441766070329537281095337280001689425837300045521194678022507207573740758259597518292006513594483309822197449388620837179777160688120985448681075810705/4096", + "event": 4982, + "stage": 18 + } + ], + "physical_main_inputs": 3952, + "sites": { + "ADD": 4102, + "IDLE_ODD": 4, + "IDLE_ONE": 96, + "J": 18, + "LAMBDA": 214, + "QUERY": 4, + "SCALE": 298, + "SWAP": 376, + "noninteger_scalar": 1562 + } + }, + "rounded_native": { + "bounds": { + "Gamma": { + "exact": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000", + "strict_power_of_two": 299, + "witness": { + "cut": 76645, + "factor": "1", + "kind": "public-return", + "register": 1498 + } + }, + "M": { + "exact": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "strict_power_of_two": 303, + "witness": { + "cut": 76604, + "factor": "1", + "kind": "stored", + "register": 1498 + } + }, + "Sigma": { + "exact": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000", + "strict_power_of_two": 299, + "witness": { + "cut": 76604, + "factor": "1", + "kind": "stored", + "register": 1498 + } + } + }, + "census": { + "denominator_bits": 20, + "events": 76645, + "lifetimes": 74, + "max_denominator": 655360, + "max_numerator": 14729531, + "numerator_bits": 24, + "opcodes": { + "ADD": 66502, + "CLEAR": 74, + "COPY": 1, + "INIT": 74, + "MOVE": 6268, + "SCALE": 3726 + }, + "owned_labels": 68, + "peak_owned": 50, + "public": 1501, + "scalars": { + "dyadic": 64328, + "integer": 39869, + "noninteger": 30360, + "odd": 5901 + } + }, + "independent_adjoint": { + "Gamma": { + "active_residual_sites": 26667, + "entrance_mass": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "residual_mass": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000" + }, + "M": { + "active_residual_sites": 26667, + "entrance_mass": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "residual_mass": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000" + }, + "Sigma": { + "active_residual_sites": 26667, + "entrance_mass": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "residual_mass": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000" + } + } + }, + "scope": "Exact-child grid and attributed all-fibre error envelope, with one signed unitary per fused event", + "word": { + "coefficient_visits": 16463265, + "dyadic_height": 25, + "mass_witness": [ + 66408, + "stored add" + ], + "maximum_scaled_mass": "841374570120675/8192", + "numerator_bits": 24, + "odd_scale_lcm": 1125 + } + }, + "price": { + "baseline_rejects_new_claim": true, + "candidate_margin_at_old_upper": [ + "86153139642117886627909573402924256079714393618492117176769346395069417359542993/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "86153139642117886627909573402924256079714393618492117176769346395069417378290621/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "claim_decimal": "0.003650311671109", + "gain": "0.000004169485364", + "gain_exact": "1042371341/250000000000000", + "independent_raw_bracket": [ + "0.00365031167110932752929138390819946", + "0.00365031167110932752929138390819947" + ], + "previous_claim": "729228437149/200000000000000", + "raw_bracket": [ + "0.0036503116711093275292913839081994", + "0.0036503116711093275292913839081995" + ] + }, + "signed_routes": { + "ambient": 153, + "bindings": [ + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 69, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 17, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 6 + ], + [ + "XOR", + 0, + 6 + ], + [ + "XOR", + 1, + 4 + ], + [ + "XOR", + 0, + 4 + ], + [ + "SWAP", + 4, + 6 + ], + [ + "XOR", + 6, + 1 + ], + [ + "XOR", + 4, + 1 + ], + [ + "XOR", + 6, + 0 + ], + [ + "XOR", + 4, + 0 + ] + ], + "old9_inverse": [ + 81, + 82, + 4, + 8, + 67, + 32, + 19, + 128, + 256 + ], + "old9_route": [ + 81, + 82, + 4, + 8, + 67, + 32, + 19, + 128, + 256 + ], + "ordinary_elementary_units": 35, + "ordinary_route_units": 19, + "port": 15, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 81, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 64, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 17, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 6 + ], + [ + "XOR", + 0, + 6 + ], + [ + "XOR", + 1, + 4 + ], + [ + "XOR", + 0, + 4 + ], + [ + "SWAP", + 4, + 6 + ], + [ + "XOR", + 6, + 1 + ], + [ + "XOR", + 4, + 1 + ], + [ + "XOR", + 6, + 0 + ], + [ + "XOR", + 4, + 0 + ] + ], + "old9_inverse": [ + 81, + 82, + 4, + 8, + 67, + 32, + 19, + 128, + 256 + ], + "old9_route": [ + 81, + 82, + 4, + 8, + 67, + 32, + 19, + 128, + 256 + ], + "ordinary_elementary_units": 35, + "ordinary_route_units": 19, + "port": 15, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 81, + "stage": 10 + }, + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 63, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 19, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 1, + 4 + ], + [ + "XOR", + 0, + 4 + ], + [ + "SWAP", + 4, + 8 + ], + [ + "XOR", + 8, + 1 + ], + [ + "XOR", + 4, + 1 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 4, + 0 + ] + ], + "old9_inverse": [ + 273, + 274, + 4, + 8, + 259, + 32, + 64, + 128, + 19 + ], + "old9_route": [ + 273, + 274, + 4, + 8, + 259, + 32, + 64, + 128, + 19 + ], + "ordinary_elementary_units": 35, + "ordinary_route_units": 19, + "port": 17, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 273, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 60, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 19, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 1, + 4 + ], + [ + "XOR", + 0, + 4 + ], + [ + "SWAP", + 4, + 8 + ], + [ + "XOR", + 8, + 1 + ], + [ + "XOR", + 4, + 1 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 4, + 0 + ] + ], + "old9_inverse": [ + 273, + 274, + 4, + 8, + 259, + 32, + 64, + 128, + 19 + ], + "old9_route": [ + 273, + 274, + 4, + 8, + 259, + 32, + 64, + 128, + 19 + ], + "ordinary_elementary_units": 35, + "ordinary_route_units": 19, + "port": 17, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 273, + "stage": 10 + }, + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 67, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 30, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 1, + 2 + ], + [ + "XOR", + 0, + 2 + ], + [ + "SWAP", + 2, + 8 + ], + [ + "XOR", + 8, + 1 + ], + [ + "XOR", + 2, + 1 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 2, + 0 + ], + [ + "SWAP", + 0, + 1 + ] + ], + "old9_inverse": [ + 262, + 261, + 259, + 8, + 16, + 32, + 64, + 128, + 7 + ], + "old9_route": [ + 262, + 261, + 259, + 8, + 16, + 32, + 64, + 128, + 7 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 27, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 262, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 61, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 30, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 1, + 2 + ], + [ + "XOR", + 0, + 2 + ], + [ + "SWAP", + 2, + 8 + ], + [ + "XOR", + 8, + 1 + ], + [ + "XOR", + 2, + 1 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 2, + 0 + ], + [ + "SWAP", + 0, + 1 + ] + ], + "old9_inverse": [ + 262, + 261, + 259, + 8, + 16, + 32, + 64, + 128, + 7 + ], + "old9_route": [ + 262, + 261, + 259, + 8, + 16, + 32, + 64, + 128, + 7 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 27, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 262, + "stage": 10 + }, + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 55, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 38, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 6 + ], + [ + "XOR", + 0, + 6 + ], + [ + "XOR", + 1, + 5 + ], + [ + "XOR", + 0, + 5 + ], + [ + "SWAP", + 5, + 6 + ], + [ + "XOR", + 6, + 1 + ], + [ + "XOR", + 5, + 1 + ], + [ + "XOR", + 6, + 0 + ], + [ + "XOR", + 5, + 0 + ], + [ + "SWAP", + 0, + 1 + ] + ], + "old9_inverse": [ + 98, + 97, + 4, + 8, + 16, + 67, + 35, + 128, + 256 + ], + "old9_route": [ + 98, + 97, + 4, + 8, + 16, + 67, + 35, + 128, + 256 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 34, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 98, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 68, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 38, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 6 + ], + [ + "XOR", + 0, + 6 + ], + [ + "XOR", + 1, + 5 + ], + [ + "XOR", + 0, + 5 + ], + [ + "SWAP", + 5, + 6 + ], + [ + "XOR", + 6, + 1 + ], + [ + "XOR", + 5, + 1 + ], + [ + "XOR", + 6, + 0 + ], + [ + "XOR", + 5, + 0 + ], + [ + "SWAP", + 0, + 1 + ] + ], + "old9_inverse": [ + 98, + 97, + 4, + 8, + 16, + 67, + 35, + 128, + 256 + ], + "old9_route": [ + 98, + 97, + 4, + 8, + 16, + 67, + 35, + 128, + 256 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 34, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 98, + "stage": 10 + }, + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 60, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 40, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 1, + 5 + ], + [ + "XOR", + 0, + 5 + ], + [ + "SWAP", + 5, + 8 + ], + [ + "XOR", + 8, + 1 + ], + [ + "XOR", + 5, + 1 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 5, + 0 + ], + [ + "SWAP", + 0, + 1 + ] + ], + "old9_inverse": [ + 290, + 289, + 4, + 8, + 16, + 259, + 64, + 128, + 35 + ], + "old9_route": [ + 290, + 289, + 4, + 8, + 16, + 259, + 64, + 128, + 35 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 35, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 290, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 69, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 40, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 1, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 1, + 5 + ], + [ + "XOR", + 0, + 5 + ], + [ + "SWAP", + 5, + 8 + ], + [ + "XOR", + 8, + 1 + ], + [ + "XOR", + 5, + 1 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 5, + 0 + ], + [ + "SWAP", + 0, + 1 + ] + ], + "old9_inverse": [ + 290, + 289, + 4, + 8, + 16, + 259, + 64, + 128, + 35 + ], + "old9_route": [ + 290, + 289, + 4, + 8, + 16, + 259, + 64, + 128, + 35 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 35, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 290, + "stage": 10 + }, + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 62, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 47, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 2, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 2, + 3 + ], + [ + "XOR", + 0, + 3 + ], + [ + "SWAP", + 3, + 8 + ], + [ + "XOR", + 8, + 2 + ], + [ + "XOR", + 3, + 2 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 3, + 0 + ], + [ + "SWAP", + 0, + 2 + ] + ], + "old9_inverse": [ + 268, + 2, + 265, + 261, + 16, + 32, + 64, + 128, + 13 + ], + "old9_route": [ + 268, + 2, + 265, + 261, + 16, + 32, + 64, + 128, + 13 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 42, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 268, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 62, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 47, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 2, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 2, + 3 + ], + [ + "XOR", + 0, + 3 + ], + [ + "SWAP", + 3, + 8 + ], + [ + "XOR", + 8, + 2 + ], + [ + "XOR", + 3, + 2 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 3, + 0 + ], + [ + "SWAP", + 0, + 2 + ] + ], + "old9_inverse": [ + 268, + 2, + 265, + 261, + 16, + 32, + 64, + 128, + 13 + ], + "old9_route": [ + 268, + 2, + 265, + 261, + 16, + 32, + 64, + 128, + 13 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 42, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 268, + "stage": 10 + }, + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 60, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 52, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 2, + 7 + ], + [ + "XOR", + 0, + 7 + ], + [ + "XOR", + 2, + 5 + ], + [ + "XOR", + 0, + 5 + ], + [ + "SWAP", + 5, + 7 + ], + [ + "XOR", + 7, + 2 + ], + [ + "XOR", + 5, + 2 + ], + [ + "XOR", + 7, + 0 + ], + [ + "XOR", + 5, + 0 + ], + [ + "SWAP", + 0, + 2 + ] + ], + "old9_inverse": [ + 164, + 2, + 161, + 8, + 16, + 133, + 64, + 37, + 256 + ], + "old9_route": [ + 164, + 2, + 161, + 8, + 16, + 133, + 64, + 37, + 256 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 47, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 164, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 69, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 52, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 2, + 7 + ], + [ + "XOR", + 0, + 7 + ], + [ + "XOR", + 2, + 5 + ], + [ + "XOR", + 0, + 5 + ], + [ + "SWAP", + 5, + 7 + ], + [ + "XOR", + 7, + 2 + ], + [ + "XOR", + 5, + 2 + ], + [ + "XOR", + 7, + 0 + ], + [ + "XOR", + 5, + 0 + ], + [ + "SWAP", + 0, + 2 + ] + ], + "old9_inverse": [ + 164, + 2, + 161, + 8, + 16, + 133, + 64, + 37, + 256 + ], + "old9_route": [ + 164, + 2, + 161, + 8, + 16, + 133, + 64, + 37, + 256 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 47, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 164, + "stage": 10 + }, + { + "body_swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "caller_fields": [ + 56, + 57 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 59, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 60, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 3, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 3, + 4 + ], + [ + "XOR", + 0, + 4 + ], + [ + "SWAP", + 4, + 8 + ], + [ + "XOR", + 8, + 3 + ], + [ + "XOR", + 4, + 3 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 4, + 0 + ], + [ + "SWAP", + 0, + 3 + ] + ], + "old9_inverse": [ + 280, + 2, + 4, + 273, + 265, + 32, + 64, + 128, + 25 + ], + "old9_route": [ + 280, + 2, + 4, + 273, + 265, + 32, + 64, + 128, + 25 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 55, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 280, + "stage": 9 + }, + { + "body_swaps": [ + [ + 1, + 81 + ], + [ + 2, + 82 + ], + [ + 3, + 83 + ], + [ + 4, + 84 + ], + [ + 5, + 85 + ], + [ + 6, + 86 + ], + [ + 7, + 87 + ], + [ + 8, + 88 + ] + ], + "caller_fields": [ + 58, + 59 + ], + "checks": [ + { + "omitted_q_translation_failures": 512, + "tests": 512, + "width": 1 + }, + { + "omitted_q_translation_failures": 55, + "tests": 128, + "width": 2 + }, + { + "omitted_q_translation_failures": 128, + "tests": 128, + "width": 3 + } + ], + "logical_child_rank": 9, + "native_live_role": 60, + "negative_axis_translation_slot": 0, + "old9_elementary_passes": [ + [ + "XOR", + 3, + 8 + ], + [ + "XOR", + 0, + 8 + ], + [ + "XOR", + 3, + 4 + ], + [ + "XOR", + 0, + 4 + ], + [ + "SWAP", + 4, + 8 + ], + [ + "XOR", + 8, + 3 + ], + [ + "XOR", + 4, + 3 + ], + [ + "XOR", + 8, + 0 + ], + [ + "XOR", + 4, + 0 + ], + [ + "SWAP", + 0, + 3 + ] + ], + "old9_inverse": [ + 280, + 2, + 4, + 273, + 265, + 32, + 64, + 128, + 25 + ], + "old9_route": [ + 280, + 2, + 4, + 273, + 265, + 32, + 64, + 128, + 25 + ], + "ordinary_elementary_units": 37, + "ordinary_route_units": 19, + "port": 55, + "positive_child_slots": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8 + ], + "q": 280, + "stage": 10 + } + ], + "paid_calls": 32, + "proposed_sha": "9557f713ab4ffb91ede05e8a6d5668c694b9940fc16f2f2d657e2f2b2cac2d3f", + "status": "PASS_PHYSICAL_RANK9_ALGEBRA", + "word_sha": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" + }, + "source_head": "58a9d052143f5d85295ed2d0163591c47f89a331", + "source_word_canonical_sha256": "5044adee019f073f286789ccb688ffca76d42b60518242bb4daea818d33d337a", + "status": "PASS_CONTACT134_329_COMPLETE_NATIVE", + "timings": [ + { + "elapsed_seconds": 99.48150396347046, + "stage": "authenticated source, complete frame and adjoint checks" + }, + { + "elapsed_seconds": 165.85923194885254, + "stage": "complete forward grid, COPY guards and all public/owned endpoints" + }, + { + "elapsed_seconds": 184.31541514396667, + "stage": "complete ingredient invoices, both directed prices, all outer gates and precision" + }, + { + "elapsed_seconds": 349.52797508239746, + "stage": "all affected Gaussian columns and absolute phase, finite physical replay and signed routes" + } + ], + "word_canonical_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" +} diff --git a/research/p104-contact134-329-original-clear/receipts/PHASE.json b/research/p104-contact134-329-original-clear/receipts/PHASE.json new file mode 100644 index 0000000000..df4d2ba6de --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/PHASE.json @@ -0,0 +1 @@ +{"candidate_canonical_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", "candidate_events": 76645, "candidate_gzip_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744", "case_cap": 1, "incumbent_canonical_sha256": "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916", "incumbent_gzip_sha256_observed": "6741296608b3177d647b45a95f069c12a80af851f6ddfde44a1ef8e66d4f8091", "incumbent_head": "d7f82810689ed2cd649ec9aaaf3b1485b585c82e", "input_pins": {"engines/clifford_exact.py": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962", "engines/native_verify.py": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38", "round305/RUN.json": "2617b9ec5811744a3ae006869ea1a5290a90143435a82f10e360a03e3efd874a", "round305/gate.json": "512dbbc3c5133b07400b720f55753e976aca48020e91b2d0086345802de1bc14", "round305/independent.json": "7f08c8d69f0bfa7fce39c1ab51794de94586650f8c5167dfaed27f155e7f776d"}, "owned_peak": 50, "owned_schedule_events": {"ADD": 412, "CLEAR": 74, "COPY": 1, "INIT": 74, "MOVE": 47, "SCALE": 22}, "paid_delta": {"1": -34, "2": 34, "3": -17, "4": -17, "5": 17}, "pair_occurrences": {"3->373": [2, 3], "3->618": [1, 0], "373->618": [2, 1], "373->733": [0, 1], "373->913": [0, 1], "618->733": [2, 1], "618->913": [2, 1]}, "peer": 7612, "peer_head": "e814828ee5b869c9468282d57ba28c364b07d130", "phase": {"134 retained value": {"adjoint_columns": 512, "forward_columns": 512, "signed_pauli_and_absolute_phase": true}, "3->373": {"adjoint_columns": 512, "forward_columns": 512, "rank": 2, "signed_pauli_and_absolute_phase": true}, "3->618": {"adjoint_columns": 512, "forward_columns": 512, "rank": 3, "signed_pauli_and_absolute_phase": true}, "329 contribution to 134": {"adjoint_columns": 512, "forward_columns": 512, "signed_pauli_and_absolute_phase": true}, "329 retained value": {"adjoint_columns": 512, "forward_columns": 512, "signed_pauli_and_absolute_phase": true}, "373->618": {"adjoint_columns": 512, "forward_columns": 512, "rank": 1, "signed_pauli_and_absolute_phase": true}, "373->733": {"adjoint_columns": 512, "forward_columns": 512, "rank": 2, "signed_pauli_and_absolute_phase": true}, "373->913": {"adjoint_columns": 512, "forward_columns": 512, "rank": 5, "signed_pauli_and_absolute_phase": true}, "618->733": {"adjoint_columns": 512, "forward_columns": 512, "rank": 1, "signed_pauli_and_absolute_phase": true}, "618->913": {"adjoint_columns": 512, "forward_columns": 512, "rank": 4, "signed_pauli_and_absolute_phase": true}}, "recharted_scalar_clock": 41051, "round305_incumbent_gzip_sha256": "d65839ddd8e514eccb8cb463b90f4043866995d3994908368c940dd302d48adc", "same_chart_endpoints": true, "scalar_events_unchanged_except_one_rechart": 70376, "scope": "literal local arbitrary-input action and chart/schedule checks; complete native and signed cost replay pending", "seconds_cap": 60, "status": "PASS_LITERAL_CONTACT_AND_SIGNED_PHASE", "wrong_global_phase_rejected": true} diff --git a/research/p104-contact134-329-original-clear/receipts/PORTABILITY.json b/research/p104-contact134-329-original-clear/receipts/PORTABILITY.json new file mode 100644 index 0000000000..183d395cb6 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/PORTABILITY.json @@ -0,0 +1,7 @@ +{ + "complete_run_generated_native_sha256": "37c19251e7057c8e638ef9a53270747616a730e0a9c45e79ff4f96a9e7f3f99c", + "clean_checkout_generated_native_sha256": "8e70ede63a924e4babe202bd23a56ef6cfaaeffa4dc494fb38315e3aa5e60b85", + "both_generated_signed_sha256": "d5e18dce27e9fbd465cb2b8a4456aa03b20983f8b88d8c6e3c1738e05ac06138", + "scope": "Prepared from freshly fetched exact #7605 and #7642 heads. The native text differs by exactly one generated gzip-transport check. The canonical #7642 hash and reconstructed equality remain required. Signed text matches byte for byte.", + "status": "PASS_DEFAULT_ACQUISITION_FROZEN_PREPARATION_AND_VERIFIER_COMPARISON" +} diff --git a/research/p104-contact134-329-original-clear/receipts/RECOUNT.json b/research/p104-contact134-329-original-clear/receipts/RECOUNT.json new file mode 100644 index 0000000000..539f0cce92 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/RECOUNT.json @@ -0,0 +1,212 @@ +{ + "status": "PASS_COMPLETE_LITERAL_INVOICE_NO_FULL_APPLICATION", + "canonical_word_pins": { + "old": "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916", + "new": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" + }, + "input_pins": { + "7642/checks/recount_main46.py": "4b6f8b625805290d4462ce8585c79be507b318d29b6f62ab3e476b476739d5ee", + "7642/checks/pricing.py": "f4d0b6c9314b838d882d6d06020f24881c19a3fda97a7c00df87b1e920785182", + "7642/receipts/FINAL.json": "974fadc7c8e146936f5b4d29e4a4fda3f765f16c6be57f3f0e58ee2a5e507da2", + "7642/receipts/SIGNED.json": "baecea5ce30dc1b75411506ef5f2233edd1906e149a81b6b6a9ddea054d85dc7", + "7605/data/invoice-new.json": "b38afd7ca590b5c4c301ee4fbe0e123f0c7220c2bd1f40c66adf208652e3ce15", + "7605/retained/role902/bench/inputs/7113-CALLER.json": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "306/PHASE.json": "c94c05f493b3fe9c437187f0c5622870ec1ed25856c0cb896e382991b0e3940c" + }, + "benchmark_head": "d7f82810689ed2cd649ec9aaaf3b1485b585c82e", + "caller_head": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "native_calls": 17, + "paid_delta": { + "1": -34, + "2": 34, + "3": -17, + "4": -17, + "5": 17 + }, + "old_paid": { + "1": 68231, + "2": 14450, + "4": 3808, + "3": 14076, + "5": 5848, + "6": 272, + "7": 187, + "8": 741, + "9": 32, + "56": 416, + "48": 416, + "40": 416, + "32": 416, + "24": 416, + "16": 416, + "64": 208 + }, + "new_paid": { + "1": 68197, + "2": 14484, + "4": 3791, + "3": 14059, + "5": 5865, + "6": 272, + "7": 187, + "8": 741, + "9": 32, + "56": 416, + "48": 416, + "40": 416, + "32": 416, + "24": 416, + "16": 416, + "64": 208 + }, + "old_targets": { + "9": 10888, + "2": 357, + "4": 3825, + "8": 544, + "7": 323, + "3": 799, + "5": 1360, + "6": 731, + "1": 306, + "137": 208, + "65": 416, + "57": 416, + "49": 416, + "41": 416, + "33": 416, + "25": 416, + "17": 416, + "73": 208 + }, + "new_targets": { + "9": 10888, + "2": 357, + "4": 3825, + "8": 544, + "7": 323, + "3": 799, + "5": 1360, + "6": 731, + "1": 306, + "137": 208, + "65": 416, + "57": 416, + "49": 416, + "41": 416, + "33": 416, + "25": 416, + "17": 416, + "73": 208 + }, + "native_old_paid": { + "1": 3991, + "2": 850, + "4": 224, + "3": 828, + "5": 344, + "6": 16, + "7": 11, + "8": 5 + }, + "native_new_paid": { + "1": 3989, + "2": 852, + "4": 223, + "3": 827, + "5": 345, + "6": 16, + "7": 11, + "8": 5 + }, + "native_targets": { + "9": 616, + "2": 21, + "4": 225, + "8": 32, + "7": 19, + "3": 47, + "5": 80, + "6": 43, + "1": 18 + }, + "static_caller_paid": { + "8": 656, + "9": 32, + "56": 416, + "48": 416, + "40": 416, + "32": 416, + "24": 416, + "16": 416, + "1": 384, + "64": 208 + }, + "static_caller_targets": { + "137": 208, + "65": 416, + "57": 416, + "49": 416, + "41": 416, + "33": 416, + "25": 416, + "17": 416, + "9": 416, + "73": 208 + }, + "paid_counts": [ + 110349, + 110332 + ], + "target_count": 22461, + "rank_masses": [ + { + "paid": 296156, + "targets": 297580 + }, + { + "paid": 296156, + "targets": 297580 + } + ], + "surplus": 1424, + "normalised_identical_operations": 70377, + "owned_event_counts": { + "INIT": 74, + "ADD": 412, + "MOVE": 47, + "SCALE": 22, + "CLEAR": 74, + "COPY": 1 + }, + "owned_peak": 50, + "public_endpoints_inherited": 1501, + "owned_clear_rows_inherited_by_identical_normalized_equations": 74, + "ordinary_baseline": 782685204, + "ordinary_projected": 782668204, + "ordinary_move_delta": -17000, + "same_scalar_charge": 2196820, + "old_raw_crossing": [ + "36506661807577608622666732886141/10000000000000000000000000000000000", + "18253330903788804311333366443071/5000000000000000000000000000000000" + ], + "test_floor": "18253380903788804311333366443071/5000000000000000000000000000000000", + "directed_signed_moments": [ + [ + "-38714417158758524494080327511345539311534453377/10000000000000000000000000000000000000000000000000", + "-19357208579379262247040163755672769655767193987/5000000000000000000000000000000000000000000000000" + ], + [ + "118530772879100418393633422327403650468758400223/1000000000000000000000000000000000000000000000000", + "296326932197751045984083555818509126171896016921/2500000000000000000000000000000000000000000000000" + ] + ], + "invoices_sha256": { + "before": "856725ac84910174d3b9cdb06e84251e1363f983c574ceff6c3bc11df9b0c958", + "after": "a19ef85803a8fbe986bb648db23665eb2c29b1265a198e93328781880adea198" + }, + "pending": [ + "full native/signed replay", + "precision/tape and compiler/outer gate at new claim" + ] +} diff --git a/research/p104-contact134-329-original-clear/receipts/SIGNED.json b/research/p104-contact134-329-original-clear/receipts/SIGNED.json new file mode 100644 index 0000000000..08ed14ed72 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/SIGNED.json @@ -0,0 +1,1716 @@ +{ + "adapter": { + "adapted_sha256": { + "check_odd_partial_admission.py": "be1129a6d8097c21569ee8efd67c3dd2493096df291efb61320b1e41ed371519", + "check_odd_precision.py": "047e42381b8f2ac47229689afe643574d360b3f00e1d7e292d6474167d195dd3", + "emit_odd_type_ab.py": "6fd9f61f9ba6c726524d1a585d0201b0eac61829ccae6be598f0f0fc1cb64f1a" + }, + "edits": [ + { + "file": "emit_odd_type_ab.py", + "new": "invoice=json.loads((root/\"COHORT-PRICE.json\").read_text())", + "old": "invoice=next(x for x in json.loads((root/\"SHORT-CALLER-RAW-PRICE.json\").read_text())[\"rows\"] if tuple(x[\"shape\"])==shape)" + }, + { + "file": "check_odd_partial_admission.py", + "new": "actual_native=ind.native(w)\nassert actual_native==N and not N[\"bad_inputs\"], \"Fresh complete native inventory and arbitrary-input adjoint\"", + "old": "previous=json.loads((root/\"SHORT-ADMISSION-PARTIAL.json\").read_text())\nassert previous[\"native_sha256\"]==digest and not N[\"bad_inputs\"]" + }, + { + "file": "check_odd_partial_admission.py", + "new": "claim=Q('0.003650982374396')", + "old": "claim=Q(\".00363797977\")" + }, + { + "file": "check_odd_partial_admission.py", + "new": "tested=claim+Q(7,10**17)\nwhile tested>=Q(reference[\"raw_bracket\"][0]):\n tested=claim+(tested-claim)/10", + "old": "tested=claim+Q(7,10**17)" + }, + { + "file": "check_odd_partial_admission.py", + "new": "g=gate(invoice,claim,tested,*bracket,r[\"gate\"][\"BIT_pin\"])\ntry:\n gate(invoice,claim,Q(bracket[0]),*bracket,r[\"gate\"][\"BIT_pin\"])\nexcept AssertionError:\n crossing_probe_rejected=True\nelse:\n raise AssertionError(\"Probe at lower crossing unexpectedly accepted\")", + "old": "g=gate(invoice,claim,tested,*bracket,r[\"gate\"][\"BIT_pin\"])" + }, + { + "file": "check_odd_partial_admission.py", + "new": "\"crossing_probe_rejected\":crossing_probe_rejected,\"scope\":\"Fresh complete changed-native arbitrary-input adjoint;", + "old": "\"scope\":\"Reuse exact same native word all-column adjoint;" + }, + { + "file": "check_odd_precision.py", + "new": "patch('(life, peak, owned_count) == (54, 43, 51)','(life, peak, owned_count) == (74, 50, 68)')\nenv=ModuleType(\"short_envelope\")", + "old": "env=ModuleType(\"short_envelope\")" + }, + { + "file": "check_odd_precision.py", + "new": "", + "old": "previous=json.loads((root/\"SHORT-PRECISION.json\").read_text())" + }, + { + "file": "check_odd_precision.py", + "new": "assert grid_receipt[\"caller_sha256\"]==sha256(cpath.read_bytes()).hexdigest()", + "old": "assert previous[\"native_sha256\"]==sha and grid_receipt[\"caller_sha256\"]==sha256(cpath.read_bytes()).hexdigest()" + }, + { + "file": "check_odd_precision.py", + "new": "wg=grid.word_run(w, frac=25)\nwp,wr=env.native_envelope(w)\nwg=json.loads(json.dumps(wg,default=str));wr=json.loads(json.dumps(wr,default=str))\nassert wg==r[\"precision\"][\"word\"] and wr==r[\"precision\"][\"rounded_native\"], \"Fresh changed-native grid and envelope\"", + "old": "wg=previous[\"native_grid\"]\nwr=previous[\"rounded_native\"]\nwp={key:(Q(v[\"exact\"]),v[\"witness\"]) for key,v in wr[\"bounds\"].items()}" + } + ] + }, + "assumptions": [ + "native_all_columns", + "owned_erasure", + "compiler", + "precision_tape", + "analytic_recovery" + ], + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "catalogue": [ + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 1000, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "e2d81c0e0a22c73a803ab43c79d5ff0450d7f110503d2f629e87d2176f2df27e", + "main_boundary_digest": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", + "main_boundary_pairs": 0, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 0, + "slice_stop": 1000, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + }, + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 1000, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "e0aa3664a5ef17e03ac69d54ed627b44f50f7768bd34fdb673597a71b62727b6", + "main_boundary_digest": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", + "main_boundary_pairs": 0, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 1000, + "slice_stop": 2000, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + }, + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 1000, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "52924f4f1827a09473c7bf2bd5804f882768c8f4c5de51abe2de8c66347a6315", + "main_boundary_digest": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", + "main_boundary_pairs": 0, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 2000, + "slice_stop": 3000, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + }, + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 41, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "53d9bc53e503f37a86180a3f9ab2c8d027b5bcf88c25177379ee9949efe32e9b", + "main_boundary_digest": "ad959887c990b8862a0e60db3f53d5195a1c9d667c1593f0101adc8db18f27fa", + "main_boundary_pairs": 104, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 3000, + "slice_stop": 3041, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + } + ], + "checks": { + "ODD-8X9-APPLICATION-CHECKS.json": { + "assumptions": [ + "native_all_columns", + "owned_erasure", + "compiler", + "precision_tape", + "analytic_recovery" + ], + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "candidate": "912745593599/250000000000000", + "catalogue": [ + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 1000, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "e2d81c0e0a22c73a803ab43c79d5ff0450d7f110503d2f629e87d2176f2df27e", + "log_sha256": "aada3538f645f7053119e251ea3029c640fbab1110ae503c9b35341800ff8f27", + "main_boundary_digest": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", + "main_boundary_pairs": 0, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 0, + "slice_stop": 1000, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + }, + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 1000, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "e0aa3664a5ef17e03ac69d54ed627b44f50f7768bd34fdb673597a71b62727b6", + "log_sha256": "5277861f9d4774c937cd3bca39bf8f1c2c05cfab7a7cb4edff6e5eb0836d4222", + "main_boundary_digest": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", + "main_boundary_pairs": 0, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 1000, + "slice_stop": 2000, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + }, + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 1000, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "52924f4f1827a09473c7bf2bd5804f882768c8f4c5de51abe2de8c66347a6315", + "log_sha256": "9ff267c7685ca2ecb29c126b7e1a800e79ef442b7a81c938756053ca20c9d88d", + "main_boundary_digest": "4f53cda18c2baa0c0354bb5f9a3ecbe5ed12ab4d8e11ba873c2f11161202b945", + "main_boundary_pairs": 0, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 2000, + "slice_stop": 3000, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + }, + { + "catalogue_digest": "7af396bc2f9960ddc3c5851761243ddace2e9a16c205c2808601b9cbcfd5e235", + "catalogue_size": 3041, + "checked_maps": 41, + "distinct_helper_maps": 187, + "distinct_paid_maps": 2956, + "exact_recipe_digest": "53d9bc53e503f37a86180a3f9ab2c8d027b5bcf88c25177379ee9949efe32e9b", + "log_sha256": "e2f5b4ec6ce048a9270811bb974525681b7b052817b68dc1e97513335caa35d2", + "main_boundary_digest": "ad959887c990b8862a0e60db3f53d5195a1c9d667c1593f0101adc8db18f27fa", + "main_boundary_pairs": 104, + "phase_control_rejected": true, + "scope": "Complete signed Pauli action plus exact Gaussian global phase; for Clifford maps these determine every matrix column. Generic tensor-product and physical grammar application is written in the review. No random-field substitution.", + "slice_start": 3000, + "slice_stop": 3041, + "status": "PASS_CURRENT_NATIVE_CATALOGUE_SLICE", + "word_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744" + } + ], + "fixed_tape_counts": { + "H": 16540500000000000000000, + "Kstar_bits": 14093, + "actual_ambient": 145, + "caller_odd_scale": 675, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "common_grid": { + "fractional": "p+D", + "signed_width": "p+h+2D+3", + "temp_padding": 26 + }, + "compiler_ambient_cap": 153, + "context_bound_bits": 14104, + "context_c": 2430, + "elementary_records_per_map_upper": 85264, + "elementary_records_upper": 25445676576, + "log_power": 2241, + "max_scalar_numerator_bits": 24, + "monomial_map_slots": 298434, + "native_invocations": 17, + "native_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "owned_banks_per_raw_occurrence": 1156, + "scalar_macro_inputs": { + "caller": 117856, + "conversions": 58522, + "native": 1196409 + }, + "scalar_services_upper": 43929184, + "scalar_steps_coefficient": 46063088041984, + "scope": "Exact finite-cost and common-format substitutions in the selected #7000 conditional application proof, using the conservative primitive movement and scalar constants there. The premise is the complete signed native/physical binding and retained compiler, BIT, stock, and outer contracts. This script counts the raw occurrence, not an enumerated top-level compiled multiplier.", + "tested_claim": "912745593599/250000000000000" + }, + "native_archive_sha256": "9cab99591ce19425b261104c7381335a5ccf53c57b5973f27b649a52becc2744", + "native_canonical_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "numeric_gate": { + "BIT_margin": "11570762560393/100000000000000000", + "BIT_pin": "376669/100000000", + "H": "16540500000000000000000", + "alpha": [ + 0.9999999999999998, + 0.9999999999999998 + ], + "claim": "912745593599/250000000000000", + "compiler_gap": "1/100000000000000000", + "delta": [ + 0.9081492647186458, + 0.9081492647186458 + ], + "derivative_upper": -381044.5576627248, + "gamma": [ + 0.9409417437394345, + 0.9409417437394345 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "365098237439607/100000000000000000": [ + "62277568404888463247124326082938799188230459185180550099867983320295033559887/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62277568404888463247124326082938799188230459185180550099867983320295033560859/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "912745593599/250000000000000": [ + "62277568404887320235385841930379929193171991283605172463147238789066067321901/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "7784696050610915029423230241297491149146498910450646557893404848633258415361/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2240, + "moment_margin_float": { + "365098237439607/100000000000000000": [ + 7.618791798648004e-11, + 7.618791798648004e-11 + ], + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + 1.8797676369546983e-29, + 1.8797676369546983e-29 + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + -1.9913349374351847e-29, + -1.9913349374351847e-29 + ] + }, + "moment_margins": { + "365098237439607/100000000000000000": [ + "7618791798648004348379112523493074115477630107777311970258301641229217/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "1904697949662001087094778130873268528869407526944327992564575419944491/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + "1879767636954698318070955092294394623099419846361589/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "75190705478187932722838203691775784923976795418781/4000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + "-1991334937435184693665027950007502540128856748825443/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-1991334937435184693665027950007502540128856710016451/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36509823743962668119328341172747/10000000000000000000000000000000000", + "9127455935990667029832085293187/2500000000000000000000000000000000" + ], + "tested": "365098237439607/100000000000000000", + "written_log_power": 2241 + }, + "physical_binding": { + "ambient": 145, + "complete_paid_position_digest": "e2f33c15b1677c2a6878cff4f79b50a2bae0471199e4ecb6cb6e2402269c4d4e", + "fresh_helpers": 18717, + "idle_uses": 3392, + "lambda_uses": 11280, + "native_calls": 17, + "native_contact_boundaries": 13600, + "native_public": 1501, + "nonzero_boundary_translations": 13600, + "paid": { + "1": 68197, + "16": 416, + "2": 14484, + "24": 416, + "3": 14059, + "32": 416, + "4": 3791, + "40": 416, + "48": 416, + "5": 5865, + "56": 416, + "6": 272, + "64": 208, + "7": 187, + "8": 741, + "9": 32 + }, + "paid_positions": 110332, + "phase_record_digest": "586ab7499fb677afdd83c397ea0b6d3b25f73ea6cdfa1ec95dd68adccff935ad", + "productive_fields": 22461, + "query_uses": 384, + "rank_surplus": 1424, + "reserved_native_banks": 1156, + "reserved_serial_query_lambda_bank": 1, + "targets": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 731, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10888 + } + }, + "scope": "Conditional component application to the exact 8+9 source with the selected completed BIT predecessor and inherited five assumptions. Checks every normalized endpoint, every paid/helper nested chart map up to exact signed Pauli and absolute phase, caller occurrence/phase, precision, finite scalar and route bounds, and numeric gates. Does not run a compiled Turing machine, select an upstream frontier, or claim human/formal review.", + "source_unit_ordinary": { + "all_caller_scalar_surcharge": 2248928, + "caller_items": { + "A": { + "envelope": 102076416, + "field_boundary": 89856, + "fused_routes": 0, + "idle_routes": 170112000, + "output_routes": 213120000, + "query_routes": 1152000, + "thin": 6144 + }, + "B": { + "envelope": 35730432, + "field_boundary": 7488, + "fused_routes": 1168000, + "idle_routes": 18016000, + "output_routes": 17760000, + "query_routes": 0, + "thin": 0 + } + }, + "caller_total": 559238336, + "charged_caller_odd_conversions": 479232, + "conservative_total": 782668204, + "init_clear_allowance": 296, + "lambda_paid_rank1_would_reduce_S_by": 11280, + "lambda_second_charge": 11280000, + "margin_to_billion": 217331796, + "odd_divisions": { + "ADD": 5830, + "SCALE": 71 + }, + "per_input_conversion": 2653768, + "raw_upper": 766006276, + "route_items": { + "first_main_adapter": 416, + "first_main_boundary": 208, + "helper_boundary": 2202, + "moves": 6268, + "owned_lifetime": 296, + "second_main_adapter": 384, + "second_main_boundary": 192 + }, + "routing": 9966000, + "scalar_upper": 2196820 + }, + "status": "PASS_8X9_EXACT_COMPONENT_APPLICATION_CHECKS" + }, + "ODD-ADMISSION-PARTIAL.json": { + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "compiler_outer": { + "BIT_margin": "11570762560393/100000000000000000", + "BIT_pin": "376669/100000000", + "H": "16540500000000000000000", + "alpha": [ + 0.9999999999999998, + 0.9999999999999998 + ], + "claim": "912745593599/250000000000000", + "compiler_gap": "1/100000000000000000", + "delta": [ + 0.9081492647186458, + 0.9081492647186458 + ], + "derivative_upper": -381044.5576627248, + "gamma": [ + 0.9409417437394345, + 0.9409417437394345 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "365098237439607/100000000000000000": [ + "62277568404888463247124326082938799188230459185180550099867983320295033559887/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62277568404888463247124326082938799188230459185180550099867983320295033560859/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "912745593599/250000000000000": [ + "62277568404887320235385841930379929193171991283605172463147238789066067321901/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "7784696050610915029423230241297491149146498910450646557893404848633258415361/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2240, + "moment_margin_float": { + "365098237439607/100000000000000000": [ + 7.618791798648004e-11, + 7.618791798648004e-11 + ], + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + 1.8797676369546983e-29, + 1.8797676369546983e-29 + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + -1.9913349374351847e-29, + -1.9913349374351847e-29 + ] + }, + "moment_margins": { + "365098237439607/100000000000000000": [ + "7618791798648004348379112523493074115477630107777311970258301641229217/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "1904697949662001087094778130873268528869407526944327992564575419944491/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + "1879767636954698318070955092294394623099419846361589/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "75190705478187932722838203691775784923976795418781/4000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + "-1991334937435184693665027950007502540128856748825443/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-1991334937435184693665027950007502540128856710016451/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36509823743962668119328341172747/10000000000000000000000000000000000", + "9127455935990667029832085293187/2500000000000000000000000000000000" + ], + "tested": "365098237439607/100000000000000000", + "written_log_power": 2241 + }, + "crossing_probe_rejected": true, + "finite_rank9_fields": [ + { + "child_rank": 9, + "denominator": 512, + "exponent": 1, + "mutated_entries": { + "missing global phase": 8, + "missing multiplicity": 0 + }, + "spectators": 136, + "stage": 8, + "swaps": [ + [ + 1, + 65 + ], + [ + 2, + 66 + ], + [ + 3, + 67 + ], + [ + 4, + 68 + ], + [ + 5, + 69 + ], + [ + 6, + 70 + ], + [ + 7, + 71 + ], + [ + 8, + 72 + ] + ], + "tested_entries": 262144, + "width": 1 + }, + { + "child_rank": 9, + "denominator": 262144, + "exponent": 2, + "mutated_entries": { + "missing global phase": 8, + "missing multiplicity": 8 + }, + "spectators": 272, + "stage": 8, + "swaps": [ + [ + 1, + 65 + ], + [ + 2, + 66 + ], + [ + 3, + 67 + ], + [ + 4, + 68 + ], + [ + 5, + 69 + ], + [ + 6, + 70 + ], + [ + 7, + 71 + ], + [ + 8, + 72 + ] + ], + "tested_entries": 1024, + "width": 2 + }, + { + "child_rank": 9, + "denominator": 134217728, + "exponent": 3, + "mutated_entries": { + "missing global phase": 8, + "missing multiplicity": 8 + }, + "spectators": 408, + "stage": 8, + "swaps": [ + [ + 1, + 65 + ], + [ + 2, + 66 + ], + [ + 3, + 67 + ], + [ + 4, + 68 + ], + [ + 5, + 69 + ], + [ + 6, + 70 + ], + [ + 7, + 71 + ], + [ + 8, + 72 + ] + ], + "tested_entries": 1024, + "width": 3 + }, + { + "child_rank": 9, + "denominator": 512, + "exponent": 1, + "mutated_entries": { + "missing global phase": 8, + "missing multiplicity": 0 + }, + "spectators": 136, + "stage": 9, + "swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "tested_entries": 262144, + "width": 1 + }, + { + "child_rank": 9, + "denominator": 262144, + "exponent": 2, + "mutated_entries": { + "missing global phase": 8, + "missing multiplicity": 8 + }, + "spectators": 272, + "stage": 9, + "swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "tested_entries": 1024, + "width": 2 + }, + { + "child_rank": 9, + "denominator": 134217728, + "exponent": 3, + "mutated_entries": { + "missing global phase": 8, + "missing multiplicity": 8 + }, + "spectators": 408, + "stage": 9, + "swaps": [ + [ + 1, + 73 + ], + [ + 2, + 74 + ], + [ + 3, + 75 + ], + [ + 4, + 76 + ], + [ + 5, + 77 + ], + [ + 6, + 78 + ], + [ + 7, + 79 + ], + [ + 8, + 80 + ] + ], + "tested_entries": 1024, + "width": 3 + } + ], + "invoice": { + "P": { + "1": 68197, + "16": 416, + "2": 14484, + "24": 416, + "3": 14059, + "32": 416, + "4": 3791, + "40": 416, + "48": 416, + "5": 5865, + "56": 416, + "6": 272, + "64": 208, + "7": 187, + "8": 741, + "9": 32 + }, + "S": 1424, + "T": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 731, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10888 + }, + "empty_root_credits": 0, + "no_E_credit_crossing": "0.0036509823743962668119328341172747485589725622541753236732719166242", + "raw_crossing": "0.0036509823743962668119328341172747485589725622541753236732719166242" + }, + "native_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "ordinary": { + "all_caller_scalar_surcharge": 2248928, + "caller_items": { + "A": { + "envelope": 102076416, + "field_boundary": 89856, + "fused_routes": 0, + "idle_routes": 170112000, + "output_routes": 213120000, + "query_routes": 1152000, + "thin": 6144 + }, + "B": { + "envelope": 35730432, + "field_boundary": 7488, + "fused_routes": 1168000, + "idle_routes": 18016000, + "output_routes": 17760000, + "query_routes": 0, + "thin": 0 + } + }, + "caller_total": 559238336, + "charged_caller_odd_conversions": 479232, + "conservative_total": 782668204, + "init_clear_allowance": 296, + "lambda_paid_rank1_would_reduce_S_by": 11280, + "lambda_second_charge": 11280000, + "margin_to_billion": 217331796, + "odd_divisions": { + "ADD": 5830, + "SCALE": 71 + }, + "per_input_conversion": 2653768, + "raw_upper": 766006276, + "route_items": { + "first_main_adapter": 416, + "first_main_boundary": 208, + "helper_boundary": 2202, + "moves": 6268, + "owned_lifetime": 296, + "second_main_adapter": 384, + "second_main_boundary": 192 + }, + "routing": 9966000, + "scalar_upper": 2196820 + }, + "scope": "Fresh complete changed-native arbitrary-input adjoint; fresh exact signed caller and invoice, ordinary source-unit upper bill, inherited numerical compiler and outer inequalities, and signed rank9 child finite field routes. Fresh integrated physical native/caller and changed-word precision/occurrence application remain separate." + }, + "ODD-CALLER-EXACT-GRID.json": { + "caller_odd_scale": "675", + "caller_odd_scale_bits": 10, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "grid_exponents": [ + 381, + 3, + 2 + ], + "peak_terms": 3752, + "preproduct_exact_divisions": 176874, + "prime_order": [ + 2, + 3, + 5 + ], + "safe_valuation_bound": [ + 381, + 69, + 62 + ], + "scope": "Independent integer Laurent caller endpoint and pre-product divisibility. Valuation bound propagates complete field operators whose Gaussian coefficients have only power-of-two denominators, so odd factors are sourced only from the charged scalar operations. Fixed conversion and storage bounds still needed." + }, + "ODD-FIXED-TAPE-COUNTS.json": { + "H": 16540500000000000000000, + "Kstar_bits": 14093, + "actual_ambient": 145, + "caller_odd_scale": 675, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "common_grid": { + "fractional": "p+D", + "signed_width": "p+h+2D+3", + "temp_padding": 26 + }, + "compiler_ambient_cap": 153, + "context_bound_bits": 14104, + "context_c": 2430, + "elementary_records_per_map_upper": 85264, + "elementary_records_upper": 25445676576, + "log_power": 2241, + "max_scalar_numerator_bits": 24, + "monomial_map_slots": 298434, + "native_invocations": 17, + "native_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "owned_banks_per_raw_occurrence": 1156, + "scalar_macro_inputs": { + "caller": 117856, + "conversions": 58522, + "native": 1196409 + }, + "scalar_services_upper": 43929184, + "scalar_steps_coefficient": 46063088041984, + "scope": "Exact finite-cost and common-format substitutions in the selected #7000 conditional application proof, using the conservative primitive movement and scalar constants there. The premise is the complete signed native/physical binding and retained compiler, BIT, stock, and outer contracts. This script counts the raw occurrence, not an enumerated top-level compiled multiplier.", + "tested_claim": "912745593599/250000000000000" + }, + "ODD-PHYSICAL-BINDING.json": { + "aliased_main_rejected": true, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "native_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "occurrence_and_geometry": { + "ambient": 145, + "complete_paid_position_digest": "e2f33c15b1677c2a6878cff4f79b50a2bae0471199e4ecb6cb6e2402269c4d4e", + "fresh_helpers": 18717, + "idle_uses": 3392, + "lambda_uses": 11280, + "native_calls": 17, + "native_contact_boundaries": 13600, + "native_public": 1501, + "nonzero_boundary_translations": 13600, + "paid": { + "1": 68197, + "16": 416, + "2": 14484, + "24": 416, + "3": 14059, + "32": 416, + "4": 3791, + "40": 416, + "48": 416, + "5": 5865, + "56": 416, + "6": 272, + "64": 208, + "7": 187, + "8": 741, + "9": 32 + }, + "paid_positions": 110332, + "phase_record_digest": "586ab7499fb677afdd83c397ea0b6d3b25f73ea6cdfa1ec95dd68adccff935ad", + "productive_fields": 22461, + "query_uses": 384, + "rank_surplus": 1424, + "reserved_native_banks": 1156, + "reserved_serial_query_lambda_bank": 1, + "targets": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 731, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10888 + } + }, + "patched_application_sha256": "733b31b1cee4567b466fdf834a34460b530f1f87ca6dca9270c0fabb2cf89849", + "scope": "Current caller port and ownership substitution, full phase-polynomial native contact identities on disjoint stage axes, whole signed idle/output geometry, and ordered paid positions. Retains the standard nested chart and local operator premises and requires separate full native replay and complete fixed-tape tariff application.", + "source_reviewer_sha256": "d98987db98553dc55bfc80e3ca47abfcd51c57af6f8cda61101391d8eae94184" + }, + "ODD-PRECISION.json": { + "caller_grid": { + "caller_odd_scale": "675", + "caller_odd_scale_bits": 10, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "grid_exponents": [ + 381, + 3, + 2 + ], + "peak_terms": 3752, + "preproduct_exact_divisions": 176874, + "prime_order": [ + 2, + 3, + 5 + ], + "safe_valuation_bound": [ + 381, + 69, + 62 + ], + "scope": "Independent integer Laurent caller endpoint and pre-product divisibility. Valuation bound propagates complete field operators whose Gaussian coefficients have only power-of-two denominators, so odd factors are sourced only from the charged scalar operations. Fixed conversion and storage bounds still needed." + }, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "context_c": 2430, + "context_height": 406, + "context_mass_bits": 1215, + "native_grid": { + "coefficient_visits": 16463265, + "dyadic_height": 25, + "mass_witness": [ + 66408, + "stored add" + ], + "maximum_scaled_mass": "841374570120675/8192", + "numerator_bits": 24, + "odd_scale_lcm": 1125 + }, + "native_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "precision_program_sha256": "9362598a87627d4bfd0adb2a6ca02fb7510067a43965a6029f5aa3c6bb7d1ab2", + "rounded_caller": { + "bounds": { + "E_joint_entrance": { + "exact": "3702985034012582048569442666440240422177961728078747939895648311128205885163273576971046337899690101688183843603448768836204409181169182815772884120179384201633673733981701848546701837073579408068839254502914180690998917375865197267593601737414759453189703408620574400700252398278614457761441554445371548929455956641085248070709328463541325121770660753266367861118940249514344813806717171454335561899305895044521562309349599497797258889449/621565922642917122701475579763837894656000000000000000000000000000000000000000000000", + "strict_power_of_two": 1179, + "witness": { + "cut": 4691, + "event": 4691, + "factor": "1", + "kind": "stored", + "register": 36 + } + }, + "Gamma_context": { + "exact": "95565164464824643908427931170340050250259553507501479597117172730660221145874675014205104649335631860987230408290107843663148952200046002834389982759877418877563748421606279672673095895576603295572038196855357263136759100321490434839085598159633226512607040136515118118121772480140802423242076095860599026622487516191917990256608351896460248367704830356070588446932601246955350391278888121841234641950862972194556592385466361350912909151779/466174441982187842026106684822878420992000000000000000000000000000000000000000000000", + "strict_power_of_two": 1184, + "witness": { + "cut": 4783, + "factor": "1", + "kind": "public-return", + "register": 37 + } + }, + "M_caller": { + "exact": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "strict_power_of_two": 897, + "witness": { + "cut": 4751, + "event": 4750, + "factor": "1", + "kind": "stored", + "register": 37 + } + }, + "M_context": { + "exact": "982542389917550246854426446141927192527938192064281789818052219712344016473850636821070704446215033127484602734662997665787320055623005015336316419913388651045627048923815530345823745875079416642521298216065872358198561380436979687043443732105381768685485670180968317144202781762931897575789735490670150279180717575068715076489116107352533433610883960935747297034527420447133178665939045177137533885747612024605957609383690307030666351084764157/5525030423492596646235338486789670174720000000000000000000000000000000000000000000000", + "strict_power_of_two": 1194, + "witness": { + "cut": 4692, + "event": 4691, + "factor": "1", + "kind": "stored", + "register": null + } + }, + "M_joint_entrance": { + "exact": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "strict_power_of_two": 892, + "witness": { + "cut": 4691, + "event": 4691, + "factor": "1", + "kind": "stored", + "register": 36 + } + }, + "Sigma_caller": { + "exact": "95565164464824643908427931170340050250259553507501479597117172730660221145874675014205104649335631860987230408290107843663148952200046002834389982759877418877563748421606279672673095895576603295572038196855357263136759100321490434839085598159633226512607040136515118118121772480140802423242076095860599026622487516191917990256608351896460248367704830356070588446932601246955350391278888121841234641950862972194556592385466361350912909151779/466174441982187842026106684822878420992000000000000000000000000000000000000000000000", + "strict_power_of_two": 1184, + "witness": { + "cut": 4753, + "event": 4752, + "factor": "1", + "kind": "stored", + "register": 37 + } + }, + "Sigma_context": { + "exact": "292317978940636509773825527475123872815404011408269785873780933043912937059887909675634516893201914377770501649628392440235733964303220717937316724905489238988261293360050373272117623375965205369415993171409289221972778781249040148117982654676934028490922011885414022023679057444338991221228927777570938120265714601474854322867596412252749407500857370081484723256593032523900064738607928901716753133940157197247656117469585129774511457179977395627865844878187279740143123193654677196093033889845122487975117839033020943108405149354534250299203195794013707452625640349658924919318994847483/5646579936229456007840352585096220475858963262973477037060052051047627725209600000000000000000000000000000000000000000000000000000000000000000", + "strict_power_of_two": 1481, + "witness": { + "cut": 4692, + "event": 4691, + "factor": "1", + "kind": "stored", + "register": null + } + } + }, + "fresh_arbitrary_helpers": 18717, + "helper_allocation_premise": "distinct (stage, helper) public inputs as in frozen caller proof", + "independent_adjoint": { + "E_joint_entrance": { + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "joint_coefficient": "144218124282401204617230263054514744346632405857442589144991781917530152132889870002846209306787762894150543865356389849084238452276894627352790762454037345126994351979907477144401257368423063007427271766117739822282248246858569624239109891511459830034432108241771054783468611278140179030295737/14596463012695312500000000000", + "primitive_coefficient": "1237373204913668966810008103424843603237049842106979534739539344726881600855129275554334885562896567825503574055929527662143657491595081161117482238618339640110136792453314323518006796600687371906278112102741547626404362403105174332310591538741639237757093806525664195341657589882317257470101709011/175157556152343750000000000000", + "residual_mass": "3702985034012582048569442666440240422177961728078747939895648311128205885163273576971046337899690101688183843603448768836204409181169182815772884120179384201633673733981701848546701837073579408068839254502914180690998917375865197267593601737414759453189703408620574400700252398278614457761441554445371548929455956641085248070709328463541325121770660753266367861118940249514344813806717171454335561899305895044521562309349599497797258889449/621565922642917122701475579763837894656000000000000000000000000000000000000000000000" + }, + "Gamma_context": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796379192959369382262182067424881/131368167114257812500000000000", + "residual_mass": "95565164464824643908427931170340050250259553507501479597117172730660221145874675014205104649335631860987230408290107843663148952200046002834389982759877418877563748421606279672673095895576603295572038196855357263136759100321490434839085598159633226512607040136515118118121772480140802423242076095860599026622487516191917990256608351896460248367704830356070588446932601246955350391278888121841234641950862972194556592385466361350912909151779/466174441982187842026106684822878420992000000000000000000000000000000000000000000000" + }, + "M_caller": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796247824792255124449682067424881/131368167114257812500000000000", + "residual_mass": "95565164464824643908427931170340050250259553507501479597117172730660221145874675014205104649335631860987230408290107843663148952200046002834389982759877418877563748421606279672673095895576603295572038196855357263136759100321490434839085598159633226512607040136515118118121772480140802423242076095860599026622487516191917990256608351896460248367704830356070122272490619059113324284594065243420242641950862972194556592385466361350912909151779/466174441982187842026106684822878420992000000000000000000000000000000000000000000000" + }, + "M_joint_entrance": { + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "joint_coefficient": "144218124282401204617230263054514744346632405857442589144991781917530152132889870002846209306787762894150543865356389849084238452276894627352790762454037345126994351979907477144401257368423063007427271766117739822282248246858569624239109891511459830034432108241771054783468611278140179030295737/14596463012695312500000000000", + "primitive_coefficient": "1237373204913668966810008103424843603237049842106979534739539344726881600855129275554334885562896567825503574055929527662143657491595081161117482238618339640110136792453314323518006796600687371906278112102741547626404362403105174332310591538741639237757093806525664195341657589882317257470101709011/175157556152343750000000000000", + "residual_mass": "3702985034012582048569442666440240422177961728078747939895648311128205885163273576971046337899690101688183843603448768836204409181169182815772884120179384201633673733981701848546701837073579408068839254502914180690998917375865197267593601737414759453189703408620574400700252398278614457761441554445371548929455956641085248070709328463541325121770660753266367861118940249514344813806717171454335561899305895044521562309349599497797258889449/621565922642917122701475579763837894656000000000000000000000000000000000000000000000" + }, + "Sigma_caller": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796379192959369382262182067424881/131368167114257812500000000000", + "residual_mass": "95565164464824643908427931170340050250259553507501479597117172730660221145874675014205104649335631860987230408290107843663148952200046002834389982759877418877563748421606279672673095895576603295572038196855357263136759100321490434839085598159633226512607040136515118118121772480140802423242076095860599026622487516191917990256608351896460248367704830356070588446932601246955350391278888121841234641950862972194556592385466361350912909151779/466174441982187842026106684822878420992000000000000000000000000000000000000000000000" + } + }, + "joint_entries": [ + { + "entrance_defect": "1435/4", + "entrance_mass": "2067/2", + "event": 43, + "stage": 1 + }, + { + "entrance_defect": "44045271562414607385070694100848878830649970214640998300308242799410301667613809653627062016393442485428676224821580589531167225853539212246960543211039/13307288940955860965151791568755097600000000000000000000", + "entrance_mass": "56849465528/5", + "event": 137, + "stage": 2 + }, + { + "entrance_defect": "66922034578150238850734125616677000110334880306020737947007125435658415181264454602682398876814058563139710286817407917140669529859582596301468271153308805457034399/1277499738331762652654571990600489369600000000000000000000", + "entrance_mass": "899756300051784928313/5", + "event": 268, + "stage": 3 + }, + { + "entrance_defect": "62331487293685206886772084129702705108902752367900150427200056858798715165575248360700174283200967764801782047638172693625490369693325924718006672346760145869066893243040607/1277499738331762652654571990600489369600000000000000000000", + "entrance_mass": "2514111326902273689027625979152/15", + "event": 432, + "stage": 4 + }, + { + "entrance_defect": "12732915211945000430383922444540404204408282591355768726956118456231927582163659672656248912615818265693347839517599823868475400712482846547844874056536497391510071218112927987507750297/1277499738331762652654571990600489369600000000000000000000", + "entrance_mass": "513576167499541081817002847690160861158177/15", + "event": 633, + "stage": 5 + }, + { + "entrance_defect": "1219176434798837528625752910718673574872220665657151520170809476127217846711458765785174881903435910878094976432192784455034247281803733483432868308444851306601463914860006828662125561152841114373/19162496074976439789818579859007340544000000000000000000000", + "entrance_mass": "49174910102467876864090432969907258581035345395534834/225", + "event": 867, + "stage": 6 + }, + { + "entrance_defect": "130031390635815724459286652607997167419934211872002283705385341599362993489158824934051077529763435201702988275098190625779137119783399329918475974807745538808797742497855554768767158464452207847961125245323/2129166230552937754424286651000815616000000000000000000000", + "entrance_mass": "47202796791779792903787260464709452698419616298153732189406926691/225", + "event": 1138, + "stage": 7 + }, + { + "entrance_defect": "37859860255896347183274225196849323358416827285941338162951521816315340368772273847093803197421502981381092366477698557370081623494902610480358845295609842616884048935247428017668491951748091020969803534480565259647551129117/2395312009372054973727322482375917568000000000000000000000000", + "entrance_mass": "1527059719525243651854937925515623170877847518562264265010551055991429949116792541/28125", + "event": 1423, + "stage": 8 + }, + { + "entrance_defect": "13501687774792728000358308133930218252690344679471934352574015011422282505339233810605504401228149694477993818704067901878535825504542302634802317161175116257860840352150323583270125134731155680562550754756340788847472427655800043552300440788072568932957712266611867884495110185730509485815381647966191507998047460438121166507954085536673660196829592848576657/2762515211746298323117669243394835087360000000000000000000000000000000000000000000", + "entrance_mass": "45382020709918266925583064268574418985484021788023395083741971786893952543604385214817042722264713249357732585113211736557042182118473445437784492974844696068231496289005681248244219743195326431922663592509646282903/2703048706054687500000000", + "event": 3058, + "stage": 9 + }, + { + "entrance_defect": "5134035530704154848866877875009413831865786826760395550680543160318835154499583640089912742154561472428983193213269799095679660544289656176910793989591328079169541476679807816809154991350653985905284117362948195829869262427807589761219431028220296967530241782747058797756821898128329411120551962124026741511697779034615173316645960184060055387508404682735530215608765257803/69062880293657458077941731084870877184000000000000000000000000000000000000000000000", + "entrance_mass": "17256576412236653193246225901973714737195067836439327666112948810725372605325768521068989782195051084826433423902219365061463548934152577319772447024097669813834215493691840531234110147024064996639957180865886380686899413865699437/67576217651367187500000000", + "event": 3377, + "stage": 10 + }, + { + "entrance_defect": "2449375472212090571730487186129557738812174961048865825602140514664383987767737856008999040562059113822037194789992501027885376883365033201516258729902217597375997511579668234004784586516058722638159961993286490164930996889888484379184042085035296570346113358530925831656200999780753461002911205109775136881956127398154520674130931038331278039490220456124336146108878159845697647722857/2302096009788581935931391036162362572800000000000000000000000000000000000000000000", + "entrance_mass": "8232867642949280967953864719378369729636081542640965177026582834276172086852779069019078166383458700724373015543641299678854718814560615654710102550769670203427726502361438450768012893674227975469242856299447027845030556012745339827937032703/2252540588378906250000000", + "event": 3674, + "stage": 11 + }, + { + "entrance_defect": "30779863887579817094420500467515924792101921724783755077833274424989665745473028558670670779623965120836202274373192768399703337390022431337789521711153090542687785769505177318902828834440080479443956095360900568458088191450481417850158869473192997929948855876289582532980643937625592531214358436073814801335667882297076454812757601052723774278100643080905359778334770670253168542508733518148420489/310782961321458561350737789881918947328000000000000000000000000000000000000000000000", + "entrance_mass": "103457615351059805192637231353494210876529187337645013912367786609511281374638184501291799844537790265462481580051228205479278831706979374022592427678836083146990308179368316797029946556942233864286312243671687806427572314354434738422294564686254956597631/304092979431152343750000000", + "event": 3934, + "stage": 12 + }, + { + "entrance_defect": "2027450049141115136923788274397442070532040345246237500683260350562976903207884150457691941997169137265189066567497773029683621136766981838339020508378702531193810989644325447171585651064331805277514791651277808365345707339151588869159985525381406652682264402809028091705245580843320312977854741890144379394308317072863514362440688196857359307772562596124824834849834403474401402554895307650985985831463241/77695740330364640337684447470479736832000000000000000000000000000000000000000000000", + "entrance_mass": "6814687293408352348961376609223100753789665399854180217091951198766673494955017243489117504312576625705862588971333049204842152193259763726092611947454717867967563820647006231530855513792517852570389360287582421241328472893443552787136426885585158158296407747039/76023244857788085937500000", + "event": 4149, + "stage": 13 + }, + { + "entrance_defect": "81425584045785218406278635400285326976091555997870073877253611104159025028514178638775085642667967212471199838744979858273916612034487960222040404922947988062851351604321065154170251839003776429457250260343107265292001813202490891724176820054746313963125417647846158056386604710057783909170039194562988371424984311758262598480485353804145180764257412354043208742133652656204003409034983754003215082022277200427527729/621565922642917122701475579763837894656000000000000000000000000000000000000000000000", + "entrance_mass": "273688564209132230699064882255651065961520374651451250325109091529813162250488973700796593555467744131430272845604649750549608356985710665121874068107850799585492748533787927289567936649257940207702597871193107311090132538524151482351564937285621850171994049078063458209591/608185958862304687500000000", + "event": 4337, + "stage": 14 + }, + { + "entrance_defect": "1556219079838789694452331908768065748993774043337930690772311819708941393735735738113878487627345148686339693753824084860783926896331775883666865010107865623799205839235393350526155837919747209841153883535291693313261758802109768562835921914405933308973690238267820504690581982523145399371184302276713342637609713290114849283902942344190507500080629002420640626426949272287443441314410909373983166463701642027154490394993659/310782961321458561350737789881918947328000000000000000000000000000000000000000000000", + "entrance_mass": "5230780602279043381317572379439763694807653157987526423412516241866438709931406455512285461654380762978554988724296151241130161368896505647624919395909388513302452136334767445346454946237326490486725295589968816639097338790755366202380875008783642473174121062695038054202858248061/304092979431152343750000000", + "event": 4485, + "stage": 15 + }, + { + "entrance_defect": "1722719638054434564918809945883582091375478041595669193600637922402215678237315259659500678851599529611544394451496112353935270946636018838736705396661955330267709016414829054395241064286804099097599567203890625780220790294983924421479233894314396981877606038661223870553301231757494492410341605532025631991221050460882002681556016886195819688489955240094432844693446905966068930291069807261252138800467760562056983044277113379704697/621565922642917122701475579763837894656000000000000000000000000000000000000000000000", + "entrance_mass": "5790424100720951765768300756324298709533962301792798636386692749870979029496708556989270788662796627612885676197810930990877069943243536093513215980405080279750566239442965631097385199413957318608000177913047677092759213914423460784984181631621622445055356552059259436283593839861423838063/608185958862304687500000000", + "event": 4606, + "stage": 16 + }, + { + "entrance_defect": "3702985034012582048569442666440240422177961728078747939895648311128205885163273576971046337899690101688183843603448768836204409181169182815772884120179384201633673733981701848546701837073579408068839254502914180690998917375865197267593601737414759453189703408620574400700252398278614457761441554445371548929455956641085248070709328463541325121770660753266367861118940249514344813806717171454335561899305895044521562309349599497797258889449/621565922642917122701475579763837894656000000000000000000000000000000000000000000000", + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "event": 4691, + "stage": 17 + } + ], + "physical_main_inputs": 3744, + "sites": { + "ADD": 4126, + "IDLE_ODD": 4, + "IDLE_ONE": 90, + "J": 17, + "LAMBDA": 178, + "QUERY": 4, + "SCALE": 312, + "SWAP": 52, + "noninteger_scalar": 1752 + } + }, + "rounded_native": { + "bounds": { + "Gamma": { + "exact": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000", + "strict_power_of_two": 299, + "witness": { + "cut": 76645, + "factor": "1", + "kind": "public-return", + "register": 1498 + } + }, + "M": { + "exact": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "strict_power_of_two": 303, + "witness": { + "cut": 76604, + "factor": "1", + "kind": "stored", + "register": 1498 + } + }, + "Sigma": { + "exact": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000", + "strict_power_of_two": 299, + "witness": { + "cut": 76604, + "factor": "1", + "kind": "stored", + "register": 1498 + } + } + }, + "census": { + "denominator_bits": 20, + "events": 76645, + "lifetimes": 74, + "max_denominator": 655360, + "max_numerator": 14729531, + "numerator_bits": 24, + "opcodes": { + "ADD": 66502, + "CLEAR": 74, + "COPY": 1, + "INIT": 74, + "MOVE": 6268, + "SCALE": 3726 + }, + "owned_labels": 68, + "peak_owned": 50, + "public": 1501, + "scalars": { + "dyadic": 64328, + "integer": 39869, + "noninteger": 30360, + "odd": 5901 + } + }, + "independent_adjoint": { + "Gamma": { + "active_residual_sites": 26667, + "entrance_mass": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "residual_mass": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000" + }, + "M": { + "active_residual_sites": 26667, + "entrance_mass": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "residual_mass": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000" + }, + "Sigma": { + "active_residual_sites": 26667, + "entrance_mass": "78941172123474282481272172643695803739697901574889833881787125239603235858700978302713238015950824336528506150356728366958370199550124467161768665667/9084442583692534418876956377603479961600000000000000000000", + "residual_mass": "25676280650839484381881789045310459168378099316745820846194659809252440772139678603169399325072304543078265869792685909517795524091914753902112177/42583324611058755088485733020016312320000000000000000000" + } + } + }, + "scope": "Fixed integer Laurent grid with charged odd caller scale, and pinned attributed forward/adjoint all-fibre defect engine applied to the emitted 17-stage caller. Each LAMBDA, QUERY and signed/unsigned idle is one unitary with one child defect. The caller allocation assumes independent stage helpers. Full physical application remains separate." + }, + "ODD-TYPE-AB-REPLAY.json": { + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "paid": { + "1": 68197, + "16": 416, + "2": 14484, + "24": 416, + "3": 14059, + "32": 416, + "4": 3791, + "40": 416, + "48": 416, + "5": 5865, + "56": 416, + "6": 272, + "64": 208, + "7": 187, + "8": 741, + "9": 32 + }, + "raw_bracket": [ + "36509823743962668119328341172747/10000000000000000000000000000000000", + "9127455935990667029832085293187/2500000000000000000000000000000000" + ], + "replay": { + "bad_outputs": [], + "caller_denominator_height_bound": 578, + "caller_mass_bound": "854474036861847560509026474008040300059938928517783661039773198072080884690114508581583887358835968277340425788985297793555303569703690223623950838857161290503004459697662544865276977234864184443860251086668962688762176068520364648820282528496698239206689277049335412289161443623602012468587331439851515703/168151253906250000000000000000000", + "caller_mass_ceiling_bits": 910, + "max_terms": 3752 + }, + "scope": "Exact emitted signed Laurent caller endpoint and recomputed native/caller paid and target profiles. Physical address bindings, independent branch-source composition, ordinary units, precision and outer gates are still required.", + "shape": [ + 8, + 9 + ], + "source_word_sha256": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "target": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 731, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10888 + } + } + }, + "claim": "912745593599/250000000000000", + "component_head": "e814828ee5b869c9468282d57ba28c364b07d130", + "elapsed_seconds": 242.21869206428528, + "price": { + "after": { + "P": { + "1": 68197, + "16": 416, + "2": 14484, + "24": 416, + "3": 14059, + "32": 416, + "4": 3791, + "40": 416, + "48": 416, + "5": 5865, + "56": 416, + "6": 272, + "64": 208, + "7": 187, + "8": 741, + "9": 32 + }, + "S": 1424, + "T": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 731, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10888 + }, + "empty_root_credits": 0, + "no_E_credit_crossing": "0.0036509823743962668119328341172747485589725622541753236732719166242", + "raw_crossing": "0.0036509823743962668119328341172747485589725622541753236732719166242" + }, + "before": { + "P": { + "1": 68231, + "16": 416, + "2": 14450, + "24": 416, + "3": 14076, + "32": 416, + "4": 3808, + "40": 416, + "48": 416, + "5": 5848, + "56": 416, + "6": 272, + "64": 208, + "7": 187, + "8": 741, + "9": 32 + }, + "S": 1424, + "T": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 731, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10888 + }, + "empty_root_credits": 0, + "no_E_credit_crossing": "0.0036506661807577608622666732886141624491521873554928521214500102703", + "raw_crossing": "0.0036506661807577608622666732886141624491521873554928521214500102703" + }, + "gate": { + "BIT_margin": "11570762560393/100000000000000000", + "BIT_pin": "376669/100000000", + "H": "16540500000000000000000", + "alpha": [ + 0.9999999999999998, + 0.9999999999999998 + ], + "claim": "912745593599/250000000000000", + "compiler_gap": "1/100000000000000000", + "delta": [ + 0.9081492647186458, + 0.9081492647186458 + ], + "derivative_upper": -381044.5576627248, + "gamma": [ + 0.9409417437394345, + 0.9409417437394345 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "365098237439607/100000000000000000": [ + "62277568404888463247124326082938799188230459185180550099867983320295033559887/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62277568404888463247124326082938799188230459185180550099867983320295033560859/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "912745593599/250000000000000": [ + "62277568404887320235385841930379929193171991283605172463147238789066067321901/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "7784696050610915029423230241297491149146498910450646557893404848633258415361/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2240, + "moment_margin_float": { + "365098237439607/100000000000000000": [ + 7.618791798648004e-11, + 7.618791798648004e-11 + ], + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + 1.8797676369546983e-29, + 1.8797676369546983e-29 + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + -1.9913349374351847e-29, + -1.9913349374351847e-29 + ] + }, + "moment_margins": { + "365098237439607/100000000000000000": [ + "7618791798648004348379112523493074115477630107777311970258301641229217/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "1904697949662001087094778130873268528869407526944327992564575419944491/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + "1879767636954698318070955092294394623099419846361589/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "75190705478187932722838203691775784923976795418781/4000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + "-1991334937435184693665027950007502540128856748825443/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-1991334937435184693665027950007502540128856710016451/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36509823743962668119328341172747/10000000000000000000000000000000000", + "9127455935990667029832085293187/2500000000000000000000000000000000" + ], + "tested": "365098237439607/100000000000000000", + "written_log_power": 2241 + }, + "native_baseline_rejects_new_claim": true, + "new_native": "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02", + "old_native": "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916", + "price": { + "baseline_rejects_new_claim": true, + "candidate_margin_at_old_upper": [ + "3060047010229303697170736082222475663130463358554215542759721341204855210117793/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "6120094020458607394341472164444951326260926717108431085519442682409710437448739/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "claim_decimal": "0.003650982374396", + "gain": "3.16193639E-7", + "gain_exact": "316193639/1000000000000000", + "independent_raw_bracket": [ + "0.00365098237439626681193283411727474", + "0.00365098237439626681193283411727475" + ], + "previous_claim": "3650666180757/1000000000000000", + "raw_bracket": [ + "0.0036509823743962668119328341172747", + "0.0036509823743962668119328341172748" + ] + }, + "public_claim_gate": { + "BIT_margin": "2314152513/20000000000000", + "BIT_pin": "376669/100000000", + "H": "14259200000000000000", + "alpha": [ + 0.9999999999999392, + 0.9999999999999392 + ], + "claim": "91274559357/25000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9081492647186155, + 0.9081492647186155 + ], + "derivative_upper": -381044.5576627248, + "gamma": [ + 0.940941743739392, + 0.940941743739392 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "73019647487/20000000000000": [ + "124555136808272396471620240838534967977827092676139002828165163302665034023371/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "15569392101034049558952530104816870997228386584517375353520645412833129253163/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "91274559357/25000000000000": [ + "778469605037414831216546409042187402461889531139881032534882530096515681107/625000000000000000000000000000000000000000000000000000000000000000000000000000", + "24911027361197274598929485089349996878780464996476193041116240963088501795809/20000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2240, + "moment_margin_float": { + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + 1.8797676369546983e-29, + 1.8797676369546983e-29 + ], + "73019647487/20000000000000": [ + 1.7910357478202374e-08, + 1.7910357478202374e-08 + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + -1.9913349374351847e-29, + -1.9913349374351847e-29 + ] + }, + "moment_margins": { + "36509823743962668119328341172747/10000000000000000000000000000000000": [ + "1879767636954698318070955092294394623099419846361589/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "75190705478187932722838203691775784923976795418781/4000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "73019647487/20000000000000": [ + "447758936955059387179319116622799890491070034708580560586176480296715303/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "358207149564047509743455293298239912392856027766864448468941184245040589/20000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9127455935990667029832085293187/2500000000000000000000000000000000": [ + "-1991334937435184693665027950007502540128856748825443/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-1991334937435184693665027950007502540128856710016451/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36509823743962668119328341172747/10000000000000000000000000000000000", + "9127455935990667029832085293187/2500000000000000000000000000000000" + ], + "tested": "73019647487/20000000000000", + "written_log_power": 2241 + }, + "signed_incumbent_rejects_new_claim": true + }, + "source_head": "d7f82810689ed2cd649ec9aaaf3b1485b585c82e", + "status": "PASS_CONTACT134_329_COMPLETE_SIGNED_APPLICATION", + "timings": [ + { + "check": "emit_odd_type_b.py", + "seconds": 3.0738916397094727 + }, + { + "check": "emit_odd_type_ab.py", + "seconds": 1.4727342128753662 + }, + { + "check": "check_odd_caller_exact_grid.py", + "seconds": 2.763334035873413 + }, + { + "check": "check_odd_physical_binding.py", + "seconds": 5.847289800643921 + }, + { + "check": "check_odd_precision.py", + "seconds": 9.214117050170898 + }, + { + "check": "check_odd_partial_admission.py", + "seconds": 10.963520050048828 + }, + { + "check": "check_odd_fixed_tape_counts.py", + "seconds": 0.35316896438598633 + } + ] +} diff --git a/research/p104-contact134-329-original-clear/receipts/invoice-new.json b/research/p104-contact134-329-original-clear/receipts/invoice-new.json new file mode 100644 index 0000000000..36d6ec6b79 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/invoice-new.json @@ -0,0 +1,47 @@ +{ + "schema": "integer-mult-recursive-invoice/v1", + "contract": { + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields", + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls" + }, + "paid": { + "1": 68197, + "2": 14484, + "3": 14059, + "4": 3791, + "5": 5865, + "6": 272, + "7": 187, + "8": 741, + "9": 32, + "16": 416, + "24": 416, + "32": 416, + "40": 416, + "48": 416, + "56": 416, + "64": 208 + }, + "targets": { + "1": 306, + "2": 357, + "3": 799, + "4": 3825, + "5": 1360, + "6": 731, + "7": 323, + "8": 544, + "9": 10888, + "17": 416, + "25": 416, + "33": 416, + "41": 416, + "49": 416, + "57": 416, + "65": 416, + "73": 208, + "137": 208 + } +} diff --git a/research/p104-contact134-329-original-clear/receipts/native-stage.json b/research/p104-contact134-329-original-clear/receipts/native-stage.json new file mode 100644 index 0000000000..fe1fede499 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/native-stage.json @@ -0,0 +1,10 @@ +{ + "bootstrap": true, + "cap_seconds": 480, + "exit": 0, + "finished_utc": "2026-11-17T19:25:11.367923+00:00", + "python": "3.12.14", + "seconds": 351.77047724928707, + "stage": "native", + "started_utc": "2026-11-17T19:19:19.609101+00:00" +} diff --git a/research/p104-contact134-329-original-clear/receipts/native.log b/research/p104-contact134-329-original-clear/receipts/native.log new file mode 100644 index 0000000000..9dfca67eba --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/native.log @@ -0,0 +1,24 @@ +PASS authenticated source, complete frame and adjoint checks +PASS complete forward grid, COPY guards and all public/owned endpoints +caller 0 terms 77 +caller 500 terms 621 +caller 1000 terms 2648 +caller 1500 terms 3619 +caller 2000 terms 1590 +caller 2500 terms 398 +caller 3000 terms 1918 +caller 3500 terms 1797 +caller 4000 terms 1817 +caller 4500 terms 912 +caller 5000 terms 167 +PASS complete ingredient invoices, both directed prices, all outer gates and precision +events 76645 public 1501 owned roles 68 paid {1: 3989, 2: 852, 3: 827, 4: 223, 5: 345, 6: 16, 7: 11, 8: 5} owned UP {1: 10, 2: 4, 3: 1, 4: 6, 5: 1, 6: 1} helpers {1: 18, 2: 21, 3: 47, 4: 225, 5: 80, 6: 43, 7: 19, 8: 32, 9: 616} +endpoint bad rows 0 odd certificate S 1125 +PASS_HOST3 decoupled ports 96 hosted ports 8 +gate interpreter agrees with the library on 4 exact state vectors +replayed 76645 events, 2956 chart pairs, 22s +prime 1000000009 seed 11: helper rows bad 0 (of 1101), X rows bad 0, Y rows bad 0, X2 rows bad 0, Y2 rows bad 0 (of 104 ports; 96 with second mains) +tableau on 104 ports: XX!=D 0 YY!=D 0 YX!=Q^-1D 0 XY!=QD 0 | controls matching (must be 0): 0 0 +PASS_PHYSICAL 29s +PASS all affected Gaussian columns and absolute phase, finite physical replay and signed routes +PASS_CONTACT134_329_COMPLETE_NATIVE 0.003650311671109 diff --git a/research/p104-contact134-329-original-clear/receipts/signed-stage.json b/research/p104-contact134-329-original-clear/receipts/signed-stage.json new file mode 100644 index 0000000000..9019b8b84d --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/signed-stage.json @@ -0,0 +1,10 @@ +{ + "bootstrap": true, + "cap_seconds": 480, + "exit": 0, + "finished_utc": "2026-11-17T19:29:16.875536+00:00", + "python": "3.12.14", + "seconds": 244.15709429234266, + "stage": "signed", + "started_utc": "2026-11-17T19:25:12.718226+00:00" +} diff --git a/research/p104-contact134-329-original-clear/receipts/signed.log b/research/p104-contact134-329-original-clear/receipts/signed.log new file mode 100644 index 0000000000..9b4e71c9a1 --- /dev/null +++ b/research/p104-contact134-329-original-clear/receipts/signed.log @@ -0,0 +1,48 @@ +PASS two complete literal invoices and both directed prices 0.003650982374396 +RUN emit_odd_type_b.py +caller 0 terms 41 +caller 500 terms 1178 +caller 1000 terms 2699 +caller 1500 terms 1262 +caller 2000 terms 881 +caller 2500 terms 2484 +caller 3000 terms 765 +caller 3500 terms 640 +caller 0 terms 41 +caller 500 terms 1178 +caller 1000 terms 2701 +caller 1500 terms 1264 +caller 2000 terms 881 +caller 2500 terms 2485 +caller 3000 terms 765 +caller 3500 terms 641 +PASS exact short type B 3877 events Counter({8: 34, 9: 4, 56: 4, 48: 4, 40: 4, 32: 4, 24: 4, 16: 4, 64: 2}) +RUN emit_odd_type_ab.py +caller 0 terms 73 +caller 500 terms 1076 +caller 1000 terms 2476 +caller 1500 terms 1334 +caller 2000 terms 2078 +caller 2500 terms 1235 +caller 3000 terms 2978 +caller 3500 terms 2335 +caller 4000 terms 1046 +caller 4500 terms 299 +PASS exact short A+B 4783 events 3752 ['36509823743962668119328341172747/10000000000000000000000000000000000', '9127455935990667029832085293187/2500000000000000000000000000000000'] +RUN check_odd_caller_exact_grid.py +PASS odd caller grid [381, 69, 62] [381, 3, 2] scale bits 10 checked 176874 +RUN check_odd_physical_binding.py +PASS exact physical binding 110332 13600 22461 +RUN check_odd_precision.py +PASS short precision 406 1215 2430 +RUN check_odd_partial_admission.py +ordinary bill 782668204 +PASS partial signed short gates 782668204 912745593599/250000000000000 {'strict_count': 54, 'functional_count': 4, 'minimum_margin': '1/1000000000000000000', 'BIT_just_below_effective_rejected': True} +RUN check_odd_fixed_tape_counts.py +PASS finite tariff substitution 43929184 25445676576 precision 2430 +RUN complete catalogue 0 1000 +RUN complete catalogue 1000 2000 +RUN complete catalogue 2000 3000 +RUN complete catalogue 3000 3041 +PASS complete 8+9 component application checks 912745593599/250000000000000 3041 110332 +PASS_CONTACT134_329_COMPLETE_SIGNED_APPLICATION 0.003650982374396 diff --git a/research/p104-contact134-329-original-clear/replay.py b/research/p104-contact134-329-original-clear/replay.py new file mode 100644 index 0000000000..fbfccf483c --- /dev/null +++ b/research/p104-contact134-329-original-clear/replay.py @@ -0,0 +1,165 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Reconstruct the 134/329 contact edit and replay the complete native and signed application.""" + +import argparse +from gzip import decompress +from hashlib import sha256 +import json +from pathlib import Path +from shutil import copyfile +import subprocess +import sys + +ROOT = Path(__file__).resolve().parent +RECEIPTS = ROOT / "receipts" +REMOTE = "https://github.com/CrocSwap/integer-mult-bounds.git" +HEADS = { + 7605: "e1d2756eecf03e146338239fee81772a99ba8d4c", + 7642: "d7f82810689ed2cd649ec9aaaf3b1485b585c82e", +} +PACKAGES = { + 7605: Path("research/p104-timed-helper757"), + 7642: Path("research/p104-main46-original-clear"), +} +OLD_WORD = "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916" +NEW_WORD = "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" +GZIP_OBSERVATIONS = {"incumbent_gzip_sha256_observed", "candidate_gzip_sha256"} + + +def require(condition, message): + if not condition: + raise ValueError(message) + + +def git(checkout, *args): + return subprocess.check_output(["git", "-C", str(checkout), *args], text=True, timeout=120).strip() + + +def source_checkout(pr, explicit, work): + root = explicit.resolve() if explicit else work / f"source-{pr}" + if explicit is None: + root.mkdir() + git(root, "init", "-q") + git(root, "remote", "add", "source", REMOTE) + git(root, "config", "remote.source.promisor", "true") + git(root, "config", "remote.source.partialclonefilter", "blob:none") + git(root, "sparse-checkout", "set", "--no-cone", f"/{PACKAGES[pr]}/") + git(root, "fetch", "-q", "--no-tags", "--depth=1", "--filter=blob:none", "source", HEADS[pr]) + require(git(root, "rev-parse", "FETCH_HEAD") == HEADS[pr], f"Inexact fetch for #{pr}") + git(root, "checkout", "--detach", "-q", HEADS[pr]) + require(git(root, "rev-parse", "HEAD") == HEADS[pr], f"Wrong source checkout for #{pr}") + require(not git(root, "status", "--porcelain", "--untracked-files=all", "--", str(PACKAGES[pr])), + f"Modified source package for #{pr}") + require((root / PACKAGES[pr]).is_dir(), f"Missing package for #{pr}") + return root + + +def run(work, name, script, *args, timeout): + stdout, stderr = work / f"{name}.stdout", work / f"{name}.stderr" + with stdout.open("xb") as out, stderr.open("xb") as err: + result = subprocess.run([sys.executable, "-I", "-B", str(script), *map(str, args)], + stdout=out, stderr=err, timeout=timeout) + if result.returncode: + sys.stderr.buffer.write(stderr.read_bytes()) + sys.stderr.buffer.write(stdout.read_bytes()) + result.check_returncode() + print(f"PASS {name}", flush=True) + return stdout + + +def require_word(path, expected): + require(sha256(decompress(path.read_bytes())).hexdigest() == expected, + f"Canonical word digest differs for {path.name}") + + +def require_json(actual, expected, *, container_observations=()): + fresh = json.loads(actual.read_bytes()) + sealed = json.loads(expected.read_bytes()) + for key in container_observations: + fresh.pop(key, None) + sealed.pop(key, None) + require(fresh == sealed, f"Fresh receipt differs from {expected.name}") + + +def reconstruct_7642(work, source_7605, source_7642): + package = source_7642 / PACKAGES[7642] + run(work, "verify-7642", package / "verify.py", timeout=30) + # This published runner checks the exact #7605 138-file source closure. + finite = work / "predecessor-finite" + run(work, "finite-7642", package / "replay.py", "--source-checkout", source_7605, + "--work", finite, "--finite-only", timeout=180) + old_word = finite / "word.json.gz" + require_word(old_word, OLD_WORD) + return package, finite, old_word + + +def main(): + if sys.implementation.name != "cpython" or sys.version_info[:2] != (3, 12) or not __debug__: + raise ValueError("Use CPython 3.12 with assertions enabled") + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--work", type=Path, required=True, help="a new evidence directory") + parser.add_argument("--source-7605", type=Path, help="existing checkout at the exact #7605 head") + parser.add_argument("--source-7642", type=Path, help="existing checkout at the exact #7642 head") + parser.add_argument("--prepare-only", action="store_true", help="stop before starting native replay") + args = parser.parse_args() + + work = args.work.resolve() + work.mkdir() + src_7605 = source_checkout(7605, args.source_7605, work) + src_7642 = source_checkout(7642, args.source_7642, work) + pkg_7642, finite, old_word = reconstruct_7642(work, src_7605, src_7642) + candidate = work / "word.json.gz" + phase = run(work, "contact-phase", ROOT / "checks/replay_contact_phase.py", + "--word", old_word, "--round305", ROOT / "round305", + "--engine-root", src_7605 / PACKAGES[7605] / "retained/role902/independent/engines", + "--candidate", candidate, timeout=65) + require_word(candidate, NEW_WORD) + require_json(phase, RECEIPTS / "PHASE.json", container_observations=GZIP_OBSERVATIONS) + + recount = work / "recount" + recount.mkdir() + run(work, "signed-invoice-recount", ROOT / "checks/recount307.py", "--baseline", old_word, + "--candidate", candidate, "--source-7605", src_7605, "--source-7642", src_7642, + "--phase", RECEIPTS / "PHASE.json", "--output", recount, timeout=35) + require_json(recount / "RECOUNT.json", RECEIPTS / "RECOUNT.json") + require_json(recount / "invoice-new.json", RECEIPTS / "invoice-new.json") + + old_overlay = work / "overlay-7642" + run(work, "prepare-7642", pkg_7642 / "application/prepare_overlay.py", + "--source-checkout", src_7605, "--overlay", old_overlay, "--candidate", old_word, + "--peer-edits", pkg_7642 / "inputs/edits7610.json", "--invoice-receipt", finite / "INVOICE.json", + timeout=35) + old_app = old_overlay / "application.py" + old_patch = old_overlay / "application-checked.py" + run(work, "adapt-native-7642", pkg_7642 / "application/patch_native.py", old_app, + "--output", old_patch, "--receipt", work / "NATIVE-PATCH-7642.json", timeout=20) + old_patch.replace(old_app) + for artifact in ("NATIVE.json", "SIGNED.json", "FINAL.json"): + copyfile(pkg_7642 / "receipts" / artifact, old_overlay / "data" / artifact) + + overlay = work / "overlay" + run(work, "prepare-contact", ROOT / "application/prepare_307.py", + "--overlay-7642", old_overlay, "--output", overlay, "--candidate", candidate, + "--contact", ROOT / "round305/gate.json", "--invoice", recount / "invoice-new.json", + timeout=35) + app = overlay / "application.py" + patch = overlay / "application-checked.py" + run(work, "adapt-native-contact", ROOT / "application/patch_native307.py", app, + "--output", patch, "--receipt", work / "NATIVE-PATCH-CONTACT.json", timeout=20) + patch.replace(app) + if args.prepare_only: + print("PASS exact contact, phase, invoice and overlay preparation", flush=True) + return + + for artifact in ("NATIVE.json", "SIGNED.json", "FINAL.json"): + copyfile(RECEIPTS / artifact, overlay / "data" / artifact) + for stage in ("native", "signed"): + run(work, f"complete-{stage}", ROOT / "application/run_stage.py", stage, "--overlay", overlay, + "--work", work / stage, timeout=500) + require_json(work / "signed/FINAL.json", RECEIPTS / "FINAL.json") + print("PASS full 134/329 conditional native and signed application", flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-contact134-329-original-clear/round305/RUN.json b/research/p104-contact134-329-original-clear/round305/RUN.json new file mode 100644 index 0000000000..ab01b1b43c --- /dev/null +++ b/research/p104-contact134-329-original-clear/round305/RUN.json @@ -0,0 +1 @@ +{"case_cap": 1, "last_stage": "independent", "seconds": 0.38275791611522436, "seconds_cap": 30, "stages": {"gate": 0, "independent": 0}, "status": "ELIGIBLE_FOR_LITERAL_BUILD"} diff --git a/research/p104-contact134-329-original-clear/round305/gate.json b/research/p104-contact134-329-original-clear/round305/gate.json new file mode 100644 index 0000000000..37092586e7 --- /dev/null +++ b/research/p104-contact134-329-original-clear/round305/gate.json @@ -0,0 +1 @@ +{"case": "role134-329-618-to-373", "case_cap": 1, "directed_moments": {"old": ["-38714417158758524494080327511345539311534453377/10000000000000000000000000000000000000000000000000", "-19357208579379262247040163755672769655767193987/5000000000000000000000000000000000000000000000000"], "trial": ["118530772879100418393633422327403650468758400223/1000000000000000000000000000000000000000000000000", "296326932197751045984083555818509126171896016921/2500000000000000000000000000000000000000000000000"]}, "first_affected_read": 41051, "incumbent_public_kappa": "36506661663/10000000000000", "incumbent_raw_crossing": ["36506661807577608622666732886141/10000000000000000000000000000000000", "18253330903788804311333366443071/5000000000000000000000000000000000"], "incumbent_word_sha256": "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916", "moment_gain_over_crossing": ["612009402045860739434147216517091585623386085317/5000000000000000000000000000000000000000000000000", "306004701022930369717073608258628946008437482811/2500000000000000000000000000000000000000000000000"], "named_operands": {"134": {"entry_chart": 3, "incident_clocks": [41049, 41051, 42086], "last_earlier_contact": 33626, "next_exterior_contact": 43528, "restoration_clock": 42086, "return_chart": 913}, "329": {"entry_chart": 373, "incident_clocks": [41050, 41051, 41142], "last_earlier_contact": 38870, "next_exterior_contact": 41143, "restoration_clock": 41142, "return_chart": 733}}, "native_new_ranks": [2, 2, 5], "native_old_ranks": [3, 1, 1, 4], "next_gate": "exact compiled signed forward and adjoint maps, complete owned/CLEAR replay, full signed application", "old_events": {"41049": ["MOVE", 134, 3, 618, false], "41050": ["MOVE", 329, 373, 618, false], "41051": ["ADD", 134, 329, "-1/2", 618], "41142": ["MOVE", 329, 618, 733, false], "42086": ["MOVE", 134, 618, 913, false]}, "ordinary_routing_delta": -17000, "paid_delta": {"1": -34, "2": 34, "3": -17, "4": -17, "5": 17}, "peer": 7612, "peer_head": "e814828ee5b869c9468282d57ba28c364b07d130", "pins": {"caller": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", "final": "974fadc7c8e146936f5b4d29e4a4fda3f765f16c6be57f3f0e58ee2a5e507da2", "peer_builder": "53c9ce7ee29208467dd087b8f2d805636eb3bf9260bf6e262dc5ca463f9705ff", "pricing": "f4d0b6c9314b838d882d6d06020f24881c19a3fda97a7c00df87b1e920785182", "signed": "baecea5ce30dc1b75411506ef5f2233edd1906e149a81b6b6a9ddea054d85dc7", "word": "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916"}, "productive_delta": {}, "proposed_events": {"41049": ["MOVE", 134, 3, 373, false], "41050": null, "41051": ["ADD", 134, 329, "-1/2", 373], "41142": ["MOVE", 329, 373, 733, false], "42086": ["MOVE", 134, 373, 913, false]}, "scalar_opcode_delta": {}, "seconds_cap": 30, "status": "ELIGIBLE_FOR_BUILD", "test_floor": "18253380903788804311333366443071/5000000000000000000000000000000000", "word_gzip_sha256": "d65839ddd8e514eccb8cb463b90f4043866995d3994908368c940dd302d48adc"} diff --git a/research/p104-contact134-329-original-clear/round305/independent.json b/research/p104-contact134-329-original-clear/round305/independent.json new file mode 100644 index 0000000000..7e5b5a2186 --- /dev/null +++ b/research/p104-contact134-329-original-clear/round305/independent.json @@ -0,0 +1 @@ +{"adjoint_columns": [["1", "-1/2"], ["0", "1"]], "case_cap": 1, "controls": {"missing_return_rejected": true, "missing_signed_add_rejected": true}, "forward_columns": [["1", "0"], ["-1/2", "1"]], "incumbent_word_sha256": "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916", "paid_delta": {"1": -34, "2": 34, "3": -17, "4": -17, "5": 17}, "positive_tariff_proof": "strict concavity for 0 < 1-kappa < 1", "primary_receipt_sha256": "512dbbc3c5133b07400b720f55753e976aca48020e91b2d0086345802de1bc14", "scope": "normalized arbitrary-input maps and charts; compiled phase-bearing replay pending", "seconds_cap": 30, "status": "PASS_CONTACT_LOCAL_INDEPENDENT"} diff --git a/research/p104-contact134-329-original-clear/verify.py b/research/p104-contact134-329-original-clear/verify.py new file mode 100644 index 0000000000..3a50a7771c --- /dev/null +++ b/research/p104-contact134-329-original-clear/verify.py @@ -0,0 +1,87 @@ +"""Authenticate the artifact and independently certify its signed invoice price.""" +from fractions import Fraction as Q +from hashlib import sha256 +import json +from pathlib import Path +from runpy import run_path + + +ROOT = Path(__file__).resolve().parent +INCUMBENT = "aa83ede3e5833d43606d711068619db0dc28cbcd858dd11e8e89da6d09883916" +CANDIDATE = "dcd797e45b6d4b74411a8a73a9b6e8247bb2ea8744924332b0dd43db3e219f02" +CALLER = "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc" + + +def authenticate(): + seen = set() + for line in (ROOT / "SHA256SUMS").read_text().splitlines(): + digest, name = line.split(" ", 1) + path = Path(name) + assert not path.is_absolute() and ".." not in path.parts and path not in seen + seen.add(path) + source = ROOT / path + assert source.resolve() == source and sha256(source.read_bytes()).hexdigest() == digest, name + actual = {p.relative_to(ROOT) for p in ROOT.rglob("*") if p.is_file() and "__pycache__" not in p.parts} + assert actual == seen | {Path("SHA256SUMS")} + + +def read(name): + return json.loads((ROOT / "receipts" / name).read_bytes()) + + +def paid_check(old, new): + delta = {k: new.get(k, 0) - old.get(k, 0) for k in new.keys() | old.keys()} + assert {k: n for k, n in delta.items() if n} == {"1":-34, "2":34, "3":-17, "4":-17, "5":17} + assert (sum(old.values()), sum(new.values())) == (110349, 110332) + + +def price_vector(invoice): + paid, target = invoice["P"], invoice["T"] + return {int(r): target.get(r, 0) - paid.get(r, 0) for r in target.keys() | paid.keys()} + + +def main(): + assert __debug__ + authenticate() + native, signed, final, incumbent = [read(n) for n in ("NATIVE.json","SIGNED.json","FINAL.json","7642-FINAL.json")] + assert native["status"] == "PASS_CONTACT134_329_COMPLETE_NATIVE" + assert signed["status"] == "PASS_CONTACT134_329_COMPLETE_SIGNED_APPLICATION" + assert final["status"] == "PASS_CONTACT134_329_FINAL_APPLICATION" + assert incumbent["candidate_canonical_sha256"] == INCUMBENT + assert native["word_canonical_sha256"] == final["candidate_canonical_sha256"] == CANDIDATE + assert final["caller_sha256"] == signed["caller_sha256"] == incumbent["caller_sha256"] == CALLER + assert signed["source_head"] == "d7f82810689ed2cd649ec9aaaf3b1485b585c82e" + assert signed["component_head"] == "e814828ee5b869c9468282d57ba28c364b07d130" + controls = ("missing_contact_paid_return","wrong_contact_chart","missing_contact_add") + assert all(native["controls"][c] for c in controls) + + price, recount = signed["price"], read("RECOUNT.json") + old, new = price["before"], price["after"] + assert price["new_native"] == CANDIDATE and price["old_native"] == INCUMBENT + assert old["P"] == recount["old_paid"] and new["P"] == recount["new_paid"] + assert old["T"] == new["T"] == recount["new_targets"] and sum(new["T"].values()) == 22461 + assert old["S"] == new["S"] == 1424 and not new["empty_root_credits"] + paid_check(old["P"], new["P"]) + bad = new["P"].copy() + bad["5"] -= 1 + try: + paid_check(old["P"], bad) + except AssertionError: + pass + else: + raise AssertionError("Missing rank-five paid position control accepted") + + cost = run_path(str(ROOT / "checks/pricing.py"))["cost"] + claim = Q(final["framework_claim"]) + previous = Q(incumbent["framework_claim"]) + assert Q(signed["claim"]) == claim + assert final["comparator_crossing"] == incumbent["raw_crossing"] + assert claim > Q(incumbent["raw_crossing"][1]) > previous + assert cost(price_vector(old), claim)[1] < 0 < cost(price_vector(new), claim)[0] + assert final["ordinary_bound"] == recount["ordinary_projected"] == 782668204 + assert final["precision_c"] == 2430 and final["signed_physical_map_count"] >= 3000 + print("PASS exact contact price separation and evidence bindings") + + +if __name__ == "__main__": + main()