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-relay-cut-recoding/.gitattributes b/research/p104-relay-cut-recoding/.gitattributes new file mode 100644 index 0000000000..85aa032067 --- /dev/null +++ b/research/p104-relay-cut-recoding/.gitattributes @@ -0,0 +1 @@ +credits/PR7669-PROVENANCE.md -text whitespace=cr-at-eol diff --git a/research/p104-relay-cut-recoding/CUTS.json b/research/p104-relay-cut-recoding/CUTS.json new file mode 100644 index 0000000000..c6b92caba9 --- /dev/null +++ b/research/p104-relay-cut-recoding/CUTS.json @@ -0,0 +1,48 @@ +[ + {"kind":"pivot","direction":"forward","remove":91157,"pivot":91200,"source_chart":3,"combination":[[91200,"-2/3"]],"sender":[[-1260,"1"],[-1205,"2"],[-1034,"1/3"],[-983,"-2/3"],[-982,"-2/3"],[-981,"-2/3"],[-980,"2/3"],[-979,"-2/3"],[-977,"-2/3"],[-976,"-2/3"],[-969,"-2/3"],[-964,"2/3"],[-963,"2/3"],[-961,"-2/3"],[-960,"-2/3"],[-959,"-2/3"],[-958,"2/3"],[-955,"-2/3"],[-954,"2/3"],[-952,"-2/3"],[-951,"-2/3"],[-950,"-2/3"],[-937,"2/3"],[-936,"2/3"],[-935,"-2/3"],[-934,"-2/3"],[-933,"-4/3"],[-932,"-2/3"],[-931,"-2/3"],[-929,"-2/3"],[-922,"-2/3"],[-921,"-2/3"],[-920,"-2/3"],[-919,"-2/3"],[-911,"-2/3"],[-910,"2/3"],[-909,"2/3"],[-908,"2/3"],[-900,"4/3"],[-899,"-2/3"],[-898,"-2/3"],[-896,"-2/3"],[-895,"-2/3"],[-890,"2/3"],[-889,"-2/3"],[-884,"-2/3"],[-883,"-2/3"],[-768,"1/2"],[-727,"1/12"],[-601,"-1/3"],[-570,"-1"],[-569,"-1/2"],[-568,"-3/2"],[-567,"-1/2"],[-566,"-3/4"],[-555,"-2/3"],[-552,"-1/12"],[-523,"1"],[-509,"2"],[-505,"-1/6"],[-496,"2"],[-429,"2/3"],[-384,"-1"],[-367,"-1/6"],[-364,"-1/6"],[-349,"-1/12"],[-279,"2"],[-173,"-1/3"],[-165,"1/3"],[-153,"-1/3"],[-151,"-1/3"],[-143,"-1/3"],[-132,"-1/3"],[-130,"-1/3"]],"receiver":[[95933,"2/3"]]}, + {"kind":"pivot","direction":"forward","remove":100142,"pivot":104294,"source_chart":1031,"combination":[[104294,"10"],[104488,"-3"]],"sender":[[-1499,"1"]],"receiver":[[103616,"2"],[103617,"-11/2"],[103621,"-11/2"],[103625,"3/4"],[103645,"-5/2"],[103646,"-5/2"],[103765,"3/4"],[103766,"9/2"],[103905,"2"],[103911,"-1"],[103912,"-3/4"],[103972,"-1"],[103973,"-2"],[103974,"-1"],[103975,"2"],[104055,"1"],[104056,"2"],[104104,"-4"],[104105,"1"],[104289,"5/2"],[104448,"-3/4"],[104449,"9/2"]]}, + {"kind":"pivot","direction":"forward","remove":98855,"pivot":104187,"source_chart":807,"combination":[[104187,"-1"],[104188,"1/2"]],"sender":[[97558,"-1"],[99958,"1"]],"receiver":[[103550,"1"],[104143,"-1"],[104144,"1/2"],[104279,"-1/2"]]}, + {"kind":"pivot","direction":"forward","remove":98052,"pivot":103768,"source_chart":549,"combination":[[103768,"1"]],"sender":[[95997,"-1/2"],[97406,"-1/2"],[98070,"1"]],"receiver":[[104179,"1/2"]]}, + {"kind":"pivot","direction":"transpose","remove":100209,"pivot":100188,"source_chart":1098,"combination":[[100188,"-1/4"]],"sender":[[100619,"1"]],"receiver":[[96764,"1/2"]]}, + {"kind":"pivot","direction":"transpose","remove":90639,"pivot":89999,"source_chart":318,"combination":[[89999,"1"]],"sender":[[98207,"2"],[98415,"1"]],"receiver":[[89956,"-1"],[89970,"1"],[90003,"-1"],[90005,"-1"],[90135,"1"],[97589,"-1"]]}, + {"kind":"pivot","direction":"transpose","remove":90646,"pivot":88793,"source_chart":336,"combination":[[88793,"1/2"]],"sender":[[98408,"1"],[98427,"1/2"]],"receiver":[[88473,"1/2"],[88475,"-1/2"],[88763,"-1/2"],[88800,"-1/2"],[88836,"-1/2"],[91075,"1/2"]]}, + {"kind":"pivot","direction":"transpose","remove":94655,"pivot":88524,"source_chart":412,"combination":[[88524,"1/2"]],"sender":[[97734,"1/2"],[98719,"1"]],"receiver":[[88526,"-1/2"],[88694,"1/2"],[88702,"-1/2"],[88720,"-1/2"],[88738,"-1/2"],[97728,"1/2"]]}, + {"kind":"pivot","direction":"forward","remove":88524,"pivot":97734,"source_chart":3,"combination":[[97734,"1"]],"sender":[[-1117,"1"],[-1095,"1"],[-969,"1/2"],[-964,"-1/2"],[-935,"1/2"],[-908,"-1/2"]],"receiver":[[98650,"1/2"]]}, + {"kind":"pivot","direction":"forward","remove":88793,"pivot":98427,"source_chart":3,"combination":[[98427,"2"]],"sender":[[-1474,"1"],[-1472,"4"],[-1471,"3/2"],[-1470,"2"],[-1450,"2"],[-1344,"2/3"],[-1341,"-1"],[-1329,"2"],[-1319,"-1"],[-1312,"1"],[-1308,"-1/2"],[-1296,"-1/16"],[-1288,"1/4"],[-1285,"-1/2"],[-1280,"-1/2"],[-1266,"-1/8"],[-1256,"-1/2"],[-1251,"1/2"],[-1250,"-1/4"],[-1249,"-1/2"],[-1246,"1/2"],[-1243,"-1/2"],[-1241,"1/4"],[-1239,"-1/2"],[-1237,"1"],[-1236,"1/2"],[-1235,"-1/2"],[-1234,"-1/2"],[-1230,"-1/2"],[-1229,"-1/2"],[-1228,"1/2"],[-1223,"-1/2"],[-1216,"-1"],[-1215,"-1"],[-1209,"-2"],[-1203,"-1"],[-1202,"-1"],[-1191,"1/4"],[-1189,"1/4"],[-1188,"1"],[-1185,"-1/2"],[-1177,"-1/2"],[-1176,"-1/2"],[-1173,"1"],[-1172,"-8"],[-1171,"2"],[-1114,"1/2"],[-1107,"1/2"],[-1106,"1/2"],[-1096,"-1/4"],[-1082,"2"],[-1080,"-1/4"],[-1075,"1/4"],[-1074,"1/4"],[-1071,"-1"],[-1069,"-1"],[-1066,"1"],[-1047,"-1"],[-1044,"2"],[-1043,"1/2"],[-1040,"1"],[-1038,"-1"],[-1036,"2"],[-1035,"1/2"],[-1033,"2"],[-1028,"-1"],[-1020,"-2"],[-1014,"-2"],[-1010,"2"],[-995,"-1/4"],[-964,"-1"],[-958,"-1"],[-914,"-1/2"],[-908,"-1"],[-890,"-1"],[-813,"-1/4"],[-811,"4"],[-790,"-1"],[-757,"-2"],[-753,"1/2"],[-734,"-8"],[-733,"-4"],[-705,"5/2"],[-698,"1/4"],[-660,"-1/2"],[-656,"-1/4"],[-644,"-1/4"],[-642,"-1/4"],[-641,"1/8"],[-636,"-1/4"],[-625,"1/4"],[-620,"1/4"],[-618,"-1/4"],[-612,"-1/2"],[-610,"1/8"],[-609,"1/8"],[-600,"1/2"],[-591,"-1/4"],[-590,"-2"],[-588,"-1/4"],[-584,"-1/4"],[-583,"-1/4"],[-569,"1/2"],[-565,"1/2"],[-564,"1/2"],[-545,"7/2"],[-544,"4"],[-539,"1/2"],[-538,"-2"],[-537,"4"],[-532,"-2"],[-531,"1"],[-529,"7/4"],[-528,"2"],[-523,"-1"],[-518,"2"],[-513,"2"],[-512,"2"],[-498,"1/4"],[-497,"-1"],[-492,"2"],[-480,"1"],[-471,"1"],[-470,"1"],[-449,"2"],[-443,"-1/2"],[-442,"2"],[-441,"-2"],[-440,"-5/4"],[-435,"1/2"],[-430,"-8"],[-419,"-1/2"],[-418,"-2"],[-415,"2"],[-410,"1/4"],[-409,"1/8"],[-400,"2"],[-389,"1/4"],[-384,"1"],[-364,"-1"],[-361,"2"],[-349,"1/2"],[-337,"3/2"],[-321,"-1/2"],[-320,"-1"],[-317,"3/4"],[-314,"2"],[-312,"1"],[-307,"1/2"],[-284,"3"],[-282,"-1"],[-281,"2"],[-277,"1/4"],[-273,"5/2"],[-269,"4"],[-268,"1/8"],[-265,"2"],[-258,"-1"],[-256,"-1/4"],[-240,"1/4"],[-239,"1/4"],[-237,"-3/2"],[-231,"2"],[-174,"1"],[-151,"1/2"],[-130,"1/2"],[-127,"-1/8"],[-22,"-1"]],"receiver":[[98407,"-2"]]}, + {"kind":"pivot","direction":"forward","remove":89999,"pivot":98207,"source_chart":3,"combination":[[98207,"1"]],"sender":[[-1046,"1"],[-1000,"1"],[-972,"1"],[-943,"-1"]],"receiver":[[98210,"-1"]]}, + {"kind":"pivot","direction":"transpose","remove":90640,"pivot":89956,"source_chart":318,"combination":[[89956,"1"]],"sender":[[91111,"1"],[96223,"-1"]],"receiver":[[89970,"-1"],[90135,"-1"],[90656,"-1"],[91077,"1/2"],[97589,"1/2"]]}, + {"kind":"pivot","direction":"transpose","remove":90647,"pivot":88473,"source_chart":336,"combination":[[88473,"-2"]],"sender":[[96070,"2"],[96183,"1"]],"receiver":[[88475,"2"],[88763,"2"],[91075,"-1"],[96115,"-1"]]}, + {"kind":"pivot","direction":"transpose","remove":94656,"pivot":88694,"source_chart":412,"combination":[[88694,"-2"]],"sender":[[95776,"2"],[95797,"1"]],"receiver":[[88702,"2"],[88720,"2"],[95769,"-1"],[97728,"-1"]]}, + {"kind":"pivot","direction":"forward","remove":88473,"pivot":96070,"source_chart":3,"combination":[[96070,"1"]],"sender":[[-1062,"1"],[-1019,"1"],[-974,"-1"],[-941,"1"]],"receiver":[[96073,"-1"]]}, + {"kind":"pivot","direction":"forward","remove":88694,"pivot":95776,"source_chart":3,"combination":[[95776,"1/2"]],"sender":[[-1474,"1"],[-1473,"1/16"],[-1467,"1/4"],[-1344,"2/3"],[-1320,"-1/8"],[-1319,"-1/2"],[-1312,"-1/4"],[-1310,"-1/8"],[-1285,"-1/8"],[-1280,"-1/4"],[-1273,"1/2"],[-1266,"1/16"],[-1265,"-1/2"],[-1261,"-1/4"],[-1260,"1/2"],[-1257,"1/2"],[-1256,"-1/4"],[-1254,"1/4"],[-1250,"-1/4"],[-1249,"-1/2"],[-1248,"1/2"],[-1246,"1/2"],[-1245,"3/4"],[-1237,"-1/4"],[-1236,"1/4"],[-1235,"-1/2"],[-1234,"-1/2"],[-1231,"-1/8"],[-1230,"-1/4"],[-1229,"1/4"],[-1211,"-1/2"],[-1209,"1/2"],[-1204,"-1/2"],[-1200,"-1/4"],[-1199,"1/2"],[-1197,"-1/4"],[-1195,"-1/2"],[-1194,"-1/8"],[-1192,"1/4"],[-1189,"1/8"],[-1188,"1"],[-1187,"1/4"],[-1183,"-1/8"],[-1182,"-1/4"],[-1181,"-1/4"],[-1179,"-1/2"],[-1178,"-1/4"],[-1177,"-1/2"],[-1176,"-1/2"],[-1175,"1/4"],[-1174,"1/2"],[-1173,"-1"],[-1170,"-1/4"],[-1167,"-1/4"],[-1165,"1/2"],[-1162,"1"],[-1161,"1/2"],[-1145,"-1/2"],[-1143,"-1/2"],[-1140,"-1/2"],[-1129,"-1/8"],[-1127,"1/2"],[-1125,"1/2"],[-1123,"1/2"],[-1111,"-1/8"],[-1106,"-1/4"],[-1105,"-1/4"],[-1096,"-1/4"],[-1095,"-1/2"],[-1085,"1/8"],[-1078,"-1/2"],[-1073,"1/8"],[-1069,"-1/2"],[-1066,"1/4"],[-1063,"-1/2"],[-1059,"1/2"],[-1056,"1/2"],[-1049,"1/2"],[-1043,"-1/2"],[-1040,"1"],[-1034,"-1/4"],[-1033,"1/2"],[-1028,"-1"],[-1027,"-1/2"],[-1023,"-1/2"],[-1018,"1/2"],[-1012,"1/2"],[-1004,"1/8"],[-1000,"-1/4"],[-992,"-1/2"],[-988,"1/2"],[-985,"1/2"],[-984,"1/2"],[-983,"1/2"],[-982,"1/2"],[-981,"1/2"],[-976,"-1/2"],[-975,"-1/2"],[-974,"1/2"],[-973,"1/2"],[-972,"1/2"],[-969,"-1/2"],[-965,"-1/2"],[-964,"-1/2"],[-962,"-1/2"],[-958,"1/2"],[-957,"-1/2"],[-955,"-1/2"],[-946,"-1/2"],[-945,"-1/2"],[-944,"-1/2"],[-943,"1/2"],[-942,"1/2"],[-941,"1/2"],[-935,"1/2"],[-931,"-1/2"],[-929,"-1/2"],[-928,"-1"],[-927,"-1/2"],[-926,"-1/2"],[-923,"1/2"],[-922,"1/2"],[-921,"1/2"],[-920,"1/2"],[-919,"1/2"],[-917,"-1/2"],[-915,"1/2"],[-914,"-1/4"],[-913,"-1/2"],[-912,"-1/2"],[-908,"1/2"],[-907,"1/2"],[-905,"1/2"],[-904,"1/2"],[-903,"1"],[-901,"-1/2"],[-899,"1/2"],[-898,"-1/2"],[-897,"1/2"],[-896,"-1/2"],[-891,"1/2"],[-890,"-1/2"],[-888,"-1/2"],[-887,"-1/2"],[-883,"-1/2"],[-831,"1/2"],[-813,"1/4"],[-794,"-1/2"],[-761,"1/4"],[-733,"-4"],[-680,"-1/8"],[-665,"-1/2"],[-660,"-3/4"],[-656,"-1/4"],[-644,"-1/4"],[-642,"1/8"],[-641,"1/16"],[-636,"-1/4"],[-618,"1/8"],[-612,"1/4"],[-610,"-1/16"],[-593,"-1/8"],[-591,"1/8"],[-568,"1/4"],[-566,"1/8"],[-563,"-1/4"],[-562,"1/8"],[-561,"-1/2"],[-559,"1/2"],[-553,"-1/4"],[-552,"1/8"],[-551,"1/64"],[-548,"-1"],[-546,"1"],[-544,"-1/2"],[-540,"-1/2"],[-537,"1"],[-526,"-1/4"],[-524,"-1/4"],[-523,"1/2"],[-520,"-1/2"],[-519,"1/2"],[-514,"1/2"],[-509,"-1/2"],[-503,"1/4"],[-495,"1/2"],[-491,"-1/2"],[-485,"-1/16"],[-480,"-1"],[-471,"1"],[-470,"-1"],[-465,"-1/8"],[-462,"-1/4"],[-440,"-1/8"],[-429,"1/4"],[-419,"1/4"],[-408,"1/4"],[-405,"1/4"],[-365,"-1/4"],[-364,"-1"],[-361,"1/4"],[-357,"1/8"],[-355,"-1/16"],[-353,"1/8"],[-349,"1/2"],[-343,"-1/4"],[-335,"-1/16"],[-314,"1/2"],[-303,"1/16"],[-285,"-3/4"],[-284,"1"],[-282,"-1"],[-277,"1/4"],[-273,"1/4"],[-270,"1/8"],[-269,"4"],[-266,"1/128"],[-253,"1/64"],[-248,"-1/4"],[-244,"1/4"],[-243,"-1/4"],[-206,"-1/8"],[-174,"-1"],[-165,"1/4"],[-160,"-1/4"],[-4,"1/32"]],"receiver":[]}, + {"kind":"pivot","direction":"transpose","remove":91083,"pivot":90656,"source_chart":533,"combination":[[90656,"1"]],"sender":[[91864,"-1/2"],[99443,"1"],[99445,"1/2"]],"receiver":[[89956,"1"],[91114,"-1"]]}, + {"kind":"group","direction":"forward","incoming":94878,"outgoing":97358,"hub":520,"innovation":[[94878,"1"]],"receiver":[[97279,"-1"]],"group":[[94878,"1"],[97323,"-1"]]}, + {"kind":"group","direction":"forward","incoming":95267,"outgoing":103609,"hub":696,"innovation":[[95267,"1"],[100478,"1/2"]],"receiver":[[100491,"-1/3"]],"group":[[95267,"-1/3"],[100478,"-1/3"]]}, + {"kind":"group","direction":"forward","incoming":97657,"outgoing":103605,"hub":649,"innovation":[[97657,"1"],[97860,"1/2"]],"receiver":[[98581,"1/3"]],"group":[[97657,"1/3"],[97860,"1/3"]]}, + {"kind":"group","direction":"forward","incoming":99569,"outgoing":99936,"hub":929,"innovation":[[99569,"1"]],"receiver":[[101132,"1"]],"group":[[99569,"-1"]]}, + {"kind":"group","direction":"forward","incoming":97702,"outgoing":103833,"hub":982,"innovation":[[97702,"1"]],"receiver":[[102254,"-2"]],"group":[[97702,"1/2"],[100036,"2"]]}, + {"kind":"group","direction":"forward","incoming":98493,"outgoing":103414,"hub":912,"innovation":[[98493,"1"],[98495,"1"]],"receiver":[[98497,"-1/2"]],"group":[[98493,"1"],[98495,"1/2"]]}, + {"kind":"group","direction":"forward","incoming":101250,"outgoing":104372,"hub":1014,"innovation":[[101250,"1"]],"receiver":[[102749,"1"]],"group":[[100922,"-1"],[101250,"-1"]]}, + {"kind":"group","direction":"transpose","incoming":97429,"outgoing":97427,"hub":9,"innovation":[[97429,"1"]],"receiver":[[97896,"-1"]],"group":[[97429,"-1"],[97939,"1"]]}, + {"kind":"group","direction":"transpose","incoming":97662,"outgoing":97660,"hub":638,"innovation":[[97662,"1"]],"receiver":[[97808,"2"]],"group":[[97662,"1/2"],[98582,"-2"]]}, + {"kind":"group","direction":"transpose","incoming":97820,"outgoing":97467,"hub":637,"innovation":[[97820,"1"]],"receiver":[[97836,"2"]],"group":[[97820,"1/2"],[99797,"-2"]]}, + {"kind":"group","direction":"transpose","incoming":98247,"outgoing":97877,"hub":686,"innovation":[[98247,"1"]],"receiver":[[98251,"2"]],"group":[[98247,"1/2"],[98623,"-2"]]}, + {"kind":"group","direction":"transpose","incoming":98266,"outgoing":97879,"hub":685,"innovation":[[98266,"1"]],"receiver":[[98273,"2"]],"group":[[98266,"1/2"],[98375,"-2"]]}, + {"kind":"group","direction":"transpose","incoming":98291,"outgoing":97456,"hub":684,"innovation":[[98291,"1"]],"receiver":[[98235,"-1"]],"group":[[98291,"-1"],[99934,"1"]]}, + {"kind":"group","direction":"transpose","incoming":97392,"outgoing":97390,"hub":506,"innovation":[[97392,"1"]],"receiver":[[97380,"-1"]],"group":[[97392,"-1"],[97928,"1"]]}, + {"kind":"group","direction":"transpose","incoming":100336,"outgoing":100334,"hub":278,"innovation":[[100336,"1"]],"receiver":[[96138,"-1"]],"group":[[100336,"-1"],[100584,"1"]]}, + {"kind":"group","direction":"transpose","incoming":100352,"outgoing":95889,"hub":467,"innovation":[[100352,"1"]],"receiver":[[96121,"-1"]],"group":[[100352,"-1"],[100613,"1"]]}, + {"kind":"group","direction":"transpose","incoming":95382,"outgoing":95042,"hub":442,"innovation":[[95382,"1"]],"receiver":[[96240,"1"]],"group":[[95382,"-1"],[99195,"-1"]]}, + {"kind":"group","direction":"transpose","incoming":98837,"outgoing":91397,"hub":330,"innovation":[[98837,"1"],[99583,"1"]],"receiver":[[91589,"2"]],"group":[[98837,"1/2"],[99583,"-2"]]}, + {"kind":"group","direction":"transpose","incoming":98847,"outgoing":98802,"hub":430,"innovation":[[98847,"1"],[99724,"1"]],"receiver":[[98799,"1"]],"group":[[99724,"-1"]]}, + {"kind":"group","direction":"transpose","incoming":98849,"outgoing":95356,"hub":450,"innovation":[[98849,"1"]],"receiver":[[98950,"-2/3"]],"group":[[98849,"1/2"],[99725,"2/3"]]}, + {"kind":"feedback","direction":"forward","incoming":100727,"outgoing":100729,"hub":916,"innovation":[[100727,"1"]],"receiver":[[100694,"2"],[100744,"-2"]],"sender":[[-1463,"2"],[-1163,"1"],[-732,"-1"],[-425,"1"]]}, + {"kind":"feedback","direction":"forward","incoming":101932,"outgoing":103800,"hub":222,"innovation":[[101932,"1"]],"receiver":[],"sender":[[-1483,"-1/4"],[-1293,"-1/4"],[-754,"-1/2"],[-711,"1/2"]]}, + {"kind":"feedback","direction":"forward","incoming":99570,"outgoing":101132,"hub":778,"innovation":[[99570,"1"]],"receiver":[[98907,"1"]],"sender":[[98900,"1"],[98902,"1"]]}, + {"kind":"pivot","direction":"forward","remove":94878,"pivot":97358,"source_chart":595,"combination":[[97358,"-1"]],"sender":[[-1452,"1"]],"receiver":[[96708,"-2"],[96709,"-2"],[96715,"-2"],[97266,"-2"]]}, + {"kind":"pivot","direction":"forward","remove":99570,"pivot":101132,"source_chart":722,"combination":[[101132,"1"]],"sender":[[97596,"1"],[98422,"1"],[98900,"1"]],"receiver":[]}, + {"kind":"group","direction":"forward","incoming":98900,"outgoing":101132,"hub":778,"innovation":[[98900,"1"],[98902,"1"]],"receiver":[[98907,"1"]],"group":[[98900,"1"],[98902,"1"]]}, + {"kind":"pivot","direction":"transpose","remove":97429,"pivot":97427,"source_chart":660,"combination":[[97427,"-1"]],"sender":[[-760,"1"]],"receiver":[[95896,"-1"],[95955,"-1"],[95962,"1"],[96297,"1"]]}, + {"kind":"pivot","direction":"transpose","remove":103800,"pivot":101932,"source_chart":127,"combination":[[101932,"-1/4"]],"sender":[[-1293,"1"]],"receiver":[[101874,"1"]]}, + {"kind":"pivot","direction":"transpose","remove":99936,"pivot":101132,"source_chart":127,"combination":[[101132,"-3"]],"sender":[[-1474,"1"],[-1473,"-1/2"],[-1471,"6"],[-1467,"3"],[-1450,"-3"],[-1344,"-6"],[-1330,"3"],[-1323,"3/2"],[-1322,"-3/2"],[-1319,"-3/8"],[-1318,"3/2"],[-1310,"-3/2"],[-1308,"9/4"],[-1307,"-33/8"],[-1303,"3/2"],[-1301,"3/2"],[-1295,"-3/4"],[-1294,"3/4"],[-1287,"-3/2"],[-1280,"-3/2"],[-1278,"-1/2"],[-1274,"3"],[-1273,"9/16"],[-1265,"3/8"],[-1263,"-3/2"],[-1261,"-9"],[-1258,"-3/2"],[-1257,"-3/4"],[-1254,"-2"],[-1251,"-195/2"],[-1246,"18"],[-1244,"3/16"],[-1242,"3/2"],[-1237,"1/2"],[-1235,"3/4"],[-1234,"3/4"],[-1228,"3/2"],[-1223,"1/4"],[-1222,"-7/16"],[-1217,"15/16"],[-1216,"3/8"],[-1215,"-3/8"],[-1208,"6"],[-1207,"3/8"],[-1204,"-3/4"],[-1189,"3"],[-1184,"-2"],[-1183,"-4"],[-1182,"3/4"],[-1181,"3/4"],[-1177,"-3/2"],[-1174,"-9/32"],[-1172,"6"],[-1171,"-9/2"],[-1158,"6"],[-1156,"3/2"],[-1153,"6"],[-1147,"9/2"],[-1145,"6"],[-1144,"-6"],[-1140,"3/8"],[-1138,"3"],[-1137,"3"],[-1133,"-3"],[-1129,"25/8"],[-1123,"-3"],[-1122,"-3"],[-1119,"3"],[-1117,"-6"],[-1112,"3"],[-1111,"3"],[-1107,"-3"],[-1105,"15"],[-1103,"-3/4"],[-1095,"6"],[-1080,"3/2"],[-1078,"9/2"],[-1075,"3"],[-1074,"-6"],[-1071,"-3/2"],[-1061,"-3/2"],[-1059,"3/4"],[-1056,"-3/4"],[-1049,"3/8"],[-1045,"-9"],[-1044,"3/2"],[-1043,"-3"],[-1040,"6"],[-1030,"-2"],[-1028,"1/2"],[-1008,"-15/2"],[-881,"-3/2"],[-872,"3"],[-826,"-3"],[-813,"3/2"],[-809,"3/2"],[-793,"-3/2"],[-791,"3"],[-768,"-3"],[-762,"8"],[-753,"51/8"],[-734,"3/2"],[-733,"-3/2"],[-727,"-6"],[-712,"6"],[-705,"3/2"],[-698,"-3/4"],[-696,"-3/2"],[-692,"-1"],[-689,"3/4"],[-682,"3/2"],[-681,"-3/2"],[-680,"-3/2"],[-672,"-3/4"],[-666,"-3/4"],[-660,"-1"],[-656,"3/2"],[-644,"-3/2"],[-625,"3"],[-620,"3/2"],[-618,"-3/2"],[-610,"-3"],[-609,"3"],[-600,"-3"],[-593,"-9/4"],[-592,"-1/4"],[-591,"3/2"],[-590,"-1/2"],[-588,"7/2"],[-587,"3"],[-584,"3/2"],[-583,"-3/2"],[-582,"-15/4"],[-581,"9/4"],[-579,"3"],[-578,"-3/2"],[-574,"-3/2"],[-573,"-3/2"],[-572,"6"],[-571,"6"],[-570,"-3/2"],[-568,"3/2"],[-566,"-3"],[-563,"-3/2"],[-562,"3"],[-561,"-6"],[-560,"-3"],[-559,"-6"],[-550,"3/2"],[-549,"3/2"],[-548,"-3/2"],[-545,"9/4"],[-544,"3/4"],[-542,"-3/2"],[-541,"3/2"],[-539,"6"],[-537,"3/2"],[-533,"-3/2"],[-532,"-3/4"],[-531,"6"],[-530,"-3"],[-529,"3/2"],[-528,"9/2"],[-524,"-3/2"],[-523,"3"],[-507,"3/2"],[-506,"-3/2"],[-503,"3"],[-500,"-3/2"],[-499,"-3/2"],[-498,"-3/2"],[-497,"-6"],[-496,"-3/2"],[-495,"3"],[-491,"-6"],[-490,"-3/2"],[-486,"6"],[-485,"6"],[-483,"6"],[-480,"3"],[-479,"3"],[-477,"-3/4"],[-476,"3/4"],[-473,"6"],[-471,"-3"],[-470,"3"],[-469,"-3/2"],[-467,"-3"],[-466,"3"],[-465,"3"],[-459,"-6"],[-450,"-6"],[-449,"6"],[-448,"-3"],[-446,"-3"],[-445,"-3"],[-444,"3"],[-443,"-3"],[-440,"3/2"],[-439,"-9/2"],[-438,"-3"],[-435,"3"],[-431,"3"],[-430,"-6"],[-420,"-3/4"],[-418,"3/4"],[-408,"-3/2"],[-400,"6"],[-399,"-3"],[-398,"-3/2"],[-397,"3/2"],[-394,"3"],[-393,"-6"],[-373,"-3/2"],[-367,"3"],[-365,"-3"],[-364,"-3"],[-361,"-3/2"],[-359,"-3/2"],[-357,"-6"],[-353,"3/2"],[-352,"-3/4"],[-350,"3/4"],[-349,"-6"],[-348,"3/2"],[-343,"-3"],[-337,"-3/4"],[-333,"6"],[-329,"-3"],[-321,"3"],[-317,"-3"],[-314,"3"],[-312,"-3"],[-307,"-9/2"],[-303,"6"],[-289,"6"],[-284,"-3/2"],[-282,"-3"],[-277,"1"],[-273,"-3/4"],[-269,"-3"],[-265,"-3/4"],[-256,"-3/2"],[-252,"-3/2"],[-251,"6"],[-244,"-3"],[-237,"3/2"],[-231,"-3/2"],[-174,"3/4"],[-48,"-6"]],"receiver":[[101133,"3"]]} +] diff --git a/research/p104-relay-cut-recoding/LICENSE b/research/p104-relay-cut-recoding/LICENSE new file mode 100644 index 0000000000..261eeb9e9f --- /dev/null +++ b/research/p104-relay-cut-recoding/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-relay-cut-recoding/NOTICE b/research/p104-relay-cut-recoding/NOTICE new file mode 100644 index 0000000000..4a24e9bcb7 --- /dev/null +++ b/research/p104-relay-cut-recoding/NOTICE @@ -0,0 +1,7 @@ +Apache License 2.0. Prepared for Ali Romman with substantial OpenAI Codex assistance in research, implementation, verification and writing. + +This contribution supplies the ordered 46-cut certificate on the exact #7704 graph, the source and receiver recoding with scalar feedback, its 3 witnesses, the composition checks and the signed application. + +SYLforge supplied the nine-swap source word in #7700. DreamingOfClouds and SYLforge supplied the preceding native searches. Clear1nsight supplied the #7704 role-1256 contraction and the open pivot-combination question, the #7682 role-230 reroute and the #7697 chart-595 split. DreamingOfClouds supplied the grouped hub mechanism in #7705 on a different graph. Ali Romman supplied the banked transfer pivots and catalogue method in #7674 and the predecessor common-grid construction in #7663. Rohan Arun supplied the signed caller lineage. Jerry Chen (CubeJerry) supplied the selected complex application and BIT input. Douglas Colkitt and the credited repository contributors supplied the source framework, compiler, operator engines, comparison tools and research infrastructure. + +The files under vendor/ and data/ retain their published bytes. SOURCE-PINS.json identifies each original file and commit. The catalogue checker adapts the #7674 checker to the new graph and adds signed contact checks. The independent operator producer and checker and the directed invoice tools come from the canonical source files in SOURCES.json. The original supplier notices, including those for the outer gate, are under credits/. Preserve these notices with the reused material. diff --git a/research/p104-relay-cut-recoding/PROOF.md b/research/p104-relay-cut-recoding/PROOF.md new file mode 100644 index 0000000000..33e792f4e6 --- /dev/null +++ b/research/p104-relay-cut-recoding/PROOF.md @@ -0,0 +1,47 @@ +# Cut identities and the signed application + +## Source and realization + +Fold the 154,768-event #7700 word. A negative token `~r` denotes public entrance $r$. A nonnegative paid token denotes a complete returned bank. The fold verifies the 235 private retirements and the 6,144 paid events. Contract the rank-three plus rank-three relay on owner 1256 as specified by #7704. The parent has 6,143 paid returns. `sources()` reproduces the published graph hash before applying the first edit. In the source replay 42 CLEAR relations have zero value and 193 equal a combination of other live values. The new graph uses fresh banks with complete addressed retirement. [Constructor](recoding.py) · [Parent contract](vendor/construct.py) · [Source retirement replay](witness.py) + +At chart $A$, each returned token represents a rational form in independent public entrance signals. For a column entering at chart $E$, the physical factor is $T_A T_E^{-1}$. Transport to chart $B$ applies $T_B T_A^{-1}$. Thus all terms in a local sum have the required physical factor after normalization. Every new transfer has strictly nested binary chart spans and the corresponding positive job rank. The operator checker reconstructs the signed Pauli action and checks absolute phase against the ordered frame composition. Each intermediate schedule checks the chart and topological availability of every donor. A transposed edit reverses the normalized scalar DAG, applies the identity there, then transposes back. Equality of the transposed linear maps gives equality in the original direction. All final transfers receive a forward physical check. [Native catalogue](catalogue.py) · [Exact network rules](vendor/network.py) + +## Eliminating a paid return + +Suppose every reader $m$ of return $t$ sends its value $h_m$ to the same chart. Choose coefficients $c_m$ such that $Y=\sum_m c_m h_m$ has nonzero coefficient on $t$. The supplied sender and receiver banks obey $S=Y+D$ on every independent input. Remove $t$ and send $S$ on a retained reader's route. The other readers subtract their multiple of $Y$ to cancel $t$. The destination obtains $Y=S-D$ and reconstructs every old reader from the residuals and the defining combination. The retained reader has $c_m\ne0$, so this last scalar solve is exact. The witness checker tests the identity before each edit. The new donor graph must pass the cochart and acyclicity checks. [Pivot implementation from #7674](vendor/network.py) · [Cut checks](witness.py) + +## Rerouting a group and recovering the missing direction + +Take arrivals $G$ from $P$ to $Q$, one departing edge $j$ from $Q$ to $T$, and a candidate receiver chart $R$. Choose a rational direction $v$ on $G$ with $v_t=1$. For every surviving $k\in G$, send $h'_k=h_k-v_k h_t$. Entries outside the support of $v$ keep their values. A row $L$ that uses $G$ has response $L v$. A zero response means that dropping coordinate $t$ and reading the rebased arrivals evaluates exactly the same row. + +For a **grouped reroute**, choose $Y=\sum_{k\in G}g_k h_k$ with $s=g v\ne0$. Chart $P$ can send $Y$ on $t$ to $R$ because all group members originate there. The witness gives $h_j=Y+D$, with $D$ in the old banks at $R$. For another row $L_m$ at $Q$, subtract $z_mY$, where $z_m=(L_m v)/s$. The result has zero response. A row with $z_m\ne0$ must send its value to $R$. At $R$ restore $h_m=h'_m+z_mY$ wherever a later row needs it, including the banks in $D$. Edge $j$ now sends its original value from $R$ to $T$. + +For a **feedback reroute**, take $Y=h_j$ and $s=L_jv\ne0$. The witness gives $Y=S+\sum_i d_i h_i$ with $S$ in the original banks at $P$ and $d_i$ on banks at $R$. Send $S$ on the redirected edge $t$. Form the same residuals using $z_m=(L_mv)/s$. The receiver solves + +$$ +\left(1-\sum_m d_m z_m\right)Y=S+\sum_i d_i h'_i. +$$ + +For unaffected receiver banks, $h'_i=h_i$ and $z_i=0$. The scalar determinant must be nonzero. Substitution recovers every affected old bank, and edge $j$ sends $Y$ from $R$. Here “feedback” refers to a scalar equation for the old values. Its solved expression uses only earlier banks in the final schedule. The checker verifies the source identity over the rationals and checks all donor sites after substitution. [Exact transformation](recoding.py) · [Witnesses in application order](CUTS.json) + +**Cut 38.** The old chart path is $3\to772\to127$ and the new hub is 916. The two ranks change from $(4,5)$ to $(7,2)$. The response of row 100729 on incoming token 100727 is $1/2$. Row 100744 needs the correction $2Y$. The supplied identity uses receiver coefficients $+2$ on 100694 and $-2$ on 100744. With $S$ the four-term sender, the recovered row is +$$ +Y=(S+2h_{100694}-2h'_{100744})/5. +$$ +The physical checker runs the actual coefficient divisions over independent input columns. + +**Cuts 40 and 42.** No paid edge connected chart 1067 to chart 778 before cut 40. The old path for keys 99570 and 101132 was $722\to1067\to929$. Send $S=h_{98900}+h_{98902}$ from 722 to 778. Bank 98907 supplies the third summand at 778. No other row needs a correction. The reroute has ranks $(3,1)$ in place of $(2,2)$. Cut 42 removes 99570 and sends the retained rank-four job directly from 722 to 929. Cuts 43 and 46 reuse the same key 101132, first in a grouped reroute and then in a transposed elimination. Its final rank is three. [Per-cut ranks and determinants](results/witness-1.json) + +The discovery search used exact arithmetic modulo $2^{61}-1$ to nominate cocharted intersections of sender and receiver spans. At each group it found directions in the kernel of rows whose destinations could not receive a correction. It tested available local donors, rejected cycles and reconstructed rational witnesses. It also tested charts outside the old receiver's neighbors. The proof consumes only the explicit rational witnesses. Search coverage and optimality are open. + +## Physical costs and the outer claim + +The 400 mains implement the signed shears and butterflies on 96 type-A and eight type-B ports. Each of 1,101 helper outputs receives its original arbitrary input at the required final chart. The 16 calls use distinct helper owners. Adding 3,536 signed root owners gives 21,152 productive jobs. The signed caller checks 4,192 events and 153,295 exact pre-product divisions. Checks at the port-stage bindings carry the before and after Gaussian phase corrections. [Caller](vendor/caller16.py) · [Port bindings](catalogue.py) · [Ownership and price](verify.py) + +For $n=1501$ and $k=6121$, use $n$ immutable entrances, $k$ complete returned banks, $n$ deferred terminal banks, one serial sender and four numeric scratch homes. This gives $2n+k+5=9128$ numerical homes. Each stage also owns a dummy origin, a guide and four separate guarded streams. An occupied home is fully overwritten on retirement. The input owners remain available until terminal installation. The checker runs the held-bank trace, detects premature sender reuse, and charges initialization, selection, return, overwrite and stream resets. The per-invocation bounds are 1,517,726 reset services and 413,036 typed transfer legs. All 16 stages together charge 55,104 complete odd conversions, 124,542,464 scalar services and 279,808 ordinary map slots. [Full receipts](results/application.json) · [Original physical construction](https://github.com/CrocSwap/integer-mult-bounds/blob/e29a5ae8591243c1178067727f12ce4abefa0b93/research/cf6a-banked-role1256-relay/PHYSICAL.md) + +The candidate's native path grid is $2025\cdot2^{20}$. The native and caller conversions have separate lifetimes. The no-cancellation envelope over the actual caller and native paths gives binary height $338$ and mass width $578$ per unfinished context, hence $c=1156$. For the newly computed $H=14617400000000000000$, the bit length of $c\,1920\,153^{1920}(H+1)^2$ is 14,083 and is less than $H$. This pays the depth debt in the retained common-root induction. The original root has grid $2^{-(p+D)}$ and signed width $W=p+h+2D+3$. The largest native or caller coefficient uses 13 bits. The retained transducer uses $W+26$ in a temporary and checks its exact remainder. Its service includes a complete padded scan. [Physical arithmetic and bounds](vendor/physical.py) · [Common-root induction](https://github.com/CrocSwap/integer-mult-bounds/blob/e54523517d0f03e58352e647c403a5af3e525a57/research/odd-native-common-grid/PROOF.md) + +Use the complete positive ordinary-work bound $G$ and distinct held stock $O$ in the selected substitution $Z=W_p+O$, $E_0=64(Z+N+P+G+1)^3$, $B_0=P+E_0$, $C_0=32NB_0^2$. Here $W_p$ is the compiled productive width, $N$ is compiler rank and $P$ is paid mass. Every new term, complete-view selector, guard, adapter, parked ancestor and stage tuple has finite cost in this substitution. The signed price compares complete paid and target histograms at the same ambient rank 137. The directed gate verifies the complex template, the input lift, the conservative BIT floor 0.00376669 and all 58 outer conditions. The smallest strict margin is $10^{-15}$. [Application receipt](results/application.json) · [Selected application and finite-cost substitution](https://github.com/CrocSwap/integer-mult-bounds/blob/e54523517d0f03e58352e647c403a5af3e525a57/docs/research/pr-intake-evidence/pr7000-application/PROOF-REVIEW.md) + +The conditional claim uses the five supplied interfaces for native realization at every column multiplicity, owned erasure, compiler closure, precision and tape, and analytic recovery. The finite checks establish this graph, this caller and the numerical hypotheses. Independent scientific review and a materialized uniform multiplier remain open. [Named assumptions](vendor/selected-claim.json) diff --git a/research/p104-relay-cut-recoding/README.md b/research/p104-relay-cut-recoding/README.md new file mode 100644 index 0000000000..c4649d06be --- /dev/null +++ b/research/p104-relay-cut-recoding/README.md @@ -0,0 +1,48 @@ +# Recoding cuts on the role-1256 relay + +The 16-stage signed P104 application gives **conditional $\kappa\ge 0.00374039009039$**. The lower bound exceeds the upper endpoint of the #7704 parent by **0.00001034832006** (0.27743%). The preceding #7674 contribution gained 0.0000041662072 over its own parent. The present increment is 2.48 times that gain. The selected #7000 reference on the pinned main branch is 0.00363005817. Scientific admission of the new construction requires independent review. [Parent and its tighter bracket](https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19708867) · [Previous contribution](https://github.com/CrocSwap/integer-mult-bounds/pull/7674) · [Selected review](https://github.com/CrocSwap/integer-mult-bounds/blob/e54523517d0f03e58352e647c403a5af3e525a57/docs/research/pr-intake-evidence/pr7000-application/PROOF-REVIEW.md) + +| Quantity | Role-1256 graph | This graph | +| --- | ---: | ---: | +| Paid transfers per native invocation | 6,143 | 6,121 | +| Paid jobs across the full caller | 101,840 | 101,488 | +| Productive jobs across the full caller | 21,152 | 21,152 | +| Paid rank mass | 271,568 | 271,568 | +| Productive rank mass | 272,896 | 272,896 | +| Local scalar terms per invocation | 172,414 | 177,531 | +| Numerical homes per invocation | 9,150 | 9,128 | +| Charged scalar services across the full caller | 122,001,408 | 124,542,464 | +| Directed raw crossing | (0.00373004177032, 0.00373004177033) | (0.00374039009047, 0.00374039009048) | + +## Construction + +Start with SYLforge's nine-swap word and Clear1nsight's contracted role-1256 relay. The certificate gives 22 paid-edge eliminations, 21 grouped reroutes and three reroutes that construct a signal from banks at two different charts. Six of the 24 reroutes change two incoming signals together. The last five eliminations use the recoded graph. The sequence uses the banked pivot method of #7674 and the grouped hub method of DreamingOfClouds, who applied it to the 1,502-owner chart-595 graph in #7705. Each of the 46 witnesses here applies to the 1,501-owner relay graph at its position in the sequence. [Source word](https://github.com/CrocSwap/integer-mult-bounds/pull/7700) · [Role-1256 relay](https://github.com/CrocSwap/integer-mult-bounds/pull/7704) · [Grouped hubs](https://github.com/CrocSwap/integer-mult-bounds/pull/7705) · [Ordered witnesses](CUTS.json) + +A short example starts with cut 40. It sends the sum of two existing banks from chart 722 to chart 778. Chart 778 already holds the missing summand. This changes two rank-two jobs into jobs of ranks three and one. Cut 42 replaces those two jobs by one rank-four job. Another example, cut 38, uses a receiver correction with determinant five. It recovers the desired signal exactly, including division by five, on the checked integer grid. [Proof and examples](PROOF.md) · [Even-numbered cut receipts](results/witness-1.json) + +## Verification and cost + +The replay reconstructs the parent from its raw chronological word and its published relay contract. It checks the rational identity for each cut on independent inputs and the fully phased operator for each of 3,023 ordered native or helper chart pairs. For the 54 distinct pairs rerouted at surviving paid slots it also checks all 512 forward and all 512 adjoint columns. The 104 main-port adapters and 1,664 port-stage bindings pass the exact signed contact check. The forward sweep verifies all 1,501 public rows with 9,280,471 exact coefficient products. A separate reverse sweep compares all 1,501 parent and candidate columns. [Replay manifest](VERIFY.json) · [Reverse-column receipt](results/witness-0.json) + +Across all 16 stages, the changes to the paid histogram at ranks one through seven are $(-288,+48,-368,+96,+80,+48,+32)$. All target counts agree with the parent. The integer concave-tariff test certifies a strict cost decrease for every power $r^t$ with $0 /tmp/p104-relay-cut-graph.json +``` + +## Open next questions + +- Can one receiver solve for two independent missing signals at once? Start with two directions at an actual middle chart. Check the rank of the receiver's $2\times2$ system and direct every surviving dependency to an available bank. A complete, cheaper invoice is still required. +- Can an independent implementation reproduce cuts 38 and 40 from the pinned parent? Compare every public row, then join the final graph to the charged physical schedule and the signed caller. This would address the new work that needs scientific review. + +Ali Romman prepared this work with substantial OpenAI Codex assistance. The source manifests bind each reused file and preserve the original notices. New work uses Apache-2.0. [Attribution](NOTICE) · [External source pins](SOURCE-PINS.json) · [Canonical inputs](SOURCES.json) · [Coordination](https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19709868) diff --git a/research/p104-relay-cut-recoding/SOURCE-PINS.json b/research/p104-relay-cut-recoding/SOURCE-PINS.json new file mode 100644 index 0000000000..56b71be1ac --- /dev/null +++ b/research/p104-relay-cut-recoding/SOURCE-PINS.json @@ -0,0 +1,191 @@ +[ + { + "path": "vendor/construct.py", + "source_path": "research/cf6a-banked-role1256-relay/construct.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "25115bba74690dd19dfbd987a1eb47d471f14f2d", + "sha256": "f45dab80a16b2293488dd6a37048b965a46c572619b191062bc1511c5c0ce4ff" + }, + { + "path": "vendor/physical.py", + "source_path": "research/cf6a-banked-role1256-relay/physical.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "e7c4e5798bd37df287f431069ab0cffe73dbe3a3", + "sha256": "24c9cf906596c9ef1533c1d25f61403db3ff6389478f64359d9d12c5fef87b69" + }, + { + "path": "vendor/network.py", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/network.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "0ebc1925c40cc6c11af59e405221ea51801a6e92", + "sha256": "a9169fd6ad0a13c69cf39bd32649d53256f6d6fa2ed2ceda854f848b64f4c546" + }, + { + "path": "vendor/native.py", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/native.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "3e09f65fe33e162e1a5e2e0433b7ea4483759b3a", + "sha256": "788465324eb8693a698c75cb3dfdf1b82297324d5583910107ecad4600645e43" + }, + { + "path": "vendor/caller16.py", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/caller16.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "2865530b7878dec54286a67e82b83093911ec43c", + "sha256": "ced48867f07ca0143604aa98cfd74fa7453696b9d3221f7c230d73e9ab9ba81f" + }, + { + "path": "vendor/binding16.py", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/binding16.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "d07341b81719d96e336a47907d48c73772ec1ccb", + "sha256": "589058311e44f2d8909495c005bee6d54828ebe561d4673b599193d269006170" + }, + { + "path": "vendor/upstream_application.py", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/upstream_application.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "1a6d358cbec88e70615e5314cdfca9e123124f83", + "sha256": "d98987db98553dc55bfc80e3ca47abfcd51c57af6f8cda61101391d8eae94184" + }, + { + "path": "vendor/interval_gate.py", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/interval_gate.py", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "e24dc46079b4c25152f5afc096dda2ce8ee58ff5", + "sha256": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5" + }, + { + "path": "vendor/selected-claim.json", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/selected-claim.json", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "c9b816f8445be9dc19b2259e03e9d8709d18c87a", + "sha256": "3f8add8252adb223b60418ec69351a69b6b5edfe601ec1c6b4b65cd9e2afd9b2" + }, + { + "path": "vendor/selected-bit-ambient.json", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/selected-bit-ambient.json", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "cd19f356a5549f6b70557095e7745cdddde0485c", + "sha256": "437ad2f9e7956e7f2b477b546f53a6c8cfa0567e207024300e9a7e58d3c0202c" + }, + { + "path": "vendor/selected-validation.json", + "source_path": "research/cf6a-banked-role1256-relay/engines/caller/selected-validation.json", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "7291ce5ab9c59f07ead921fbad9966b4a54e3292", + "sha256": "e1374a98b240d7f9f2cca2a1e74b93f240b1bfc94b8cc4b94a385a50281d494e" + }, + { + "path": "data/WORD.json.gz", + "source_path": "research/cf6a-banked-role1256-relay/data/WORD.json.gz", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "890579b0b7e12f3a6a70c3612f40cc6ccbc569d5", + "sha256": "50c1facfc5626c060560e2f354b71bd92d0bb1c1e853b2aad72abcbaaa5328a5" + }, + { + "path": "data/CERTS.json", + "source_path": "research/cf6a-banked-role1256-relay/data/CERTS.json", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "ed66fa483232fcf743aa9a69ce48d79abc0a58c9", + "sha256": "39ef28b708cd8bf1166b111d656809407b370dd11cd81a8e43820779f995aca3" + }, + { + "path": "data/CALLER.json.gz", + "source_path": "research/cf6a-banked-role1256-relay/data/CALLER.json.gz", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "26a75a1ae32cb4944a65281cfb08775967cb39a0", + "sha256": "d889996a337f648087208ab51c98eaf052705d4fca88b5d01b6e9257a829897a" + }, + { + "path": "data/CALLER-PHASE-BASES.json", + "source_path": "research/cf6a-banked-role1256-relay/data/CALLER-PHASE-BASES.json", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "3e4aa383a5e3343c4688bff62bd39587b90c31b4", + "sha256": "325a1eb4aa7fe5f918b1d8344b88ad132ef4606268bccec20f223ace5feda18b" + }, + { + "path": "data/PARENT-PRICE.json", + "source_path": "research/cf6a-banked-role1256-relay/evidence/PRICE.json", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "b323c5f3b0c2c80ae641722c689b6951bd8dc526", + "sha256": "d6eb916179ba86082a31911494739d034daa615d2c252dc5ef094d9b7e9cfcb5" + }, + { + "path": "credits/PR7704-NOTICE", + "source_path": "research/cf6a-banked-role1256-relay/NOTICE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "7d2dfec60a3a8c30bbc639104905d5ce1c0926e4", + "sha256": "49657dd50c9431642a9527b0d625197cb34d1838dcf00fe4d92040f9605c8ce0" + }, + { + "path": "LICENSE", + "source_path": "research/cf6a-banked-role1256-relay/LICENSE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + }, + { + "path": "credits/7658-NOTICE", + "source_path": "research/cf6a-banked-role1256-relay/credits/7658-NOTICE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "2baa2a719ea3a9ec94c2e7aec72702ec8c92b346", + "sha256": "2732575164931c53cc4bc57145c31d87741489e3048afee6899e856c0ea503b5" + }, + { + "path": "credits/7700-CITATION.cff", + "source_path": "research/cf6a-banked-role1256-relay/credits/7700-CITATION.cff", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "d80f6b8660d6caaa82cb194fc22d0817d642d043", + "sha256": "50399ea15e9ce49baafbd00d6da16e662ac46c566e3c04af3993e23cf0b62ff4" + }, + { + "path": "credits/7700-NOTICE", + "source_path": "research/cf6a-banked-role1256-relay/credits/7700-NOTICE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "59d8e0cf3102e15bd11db430838365531e2d7f18", + "sha256": "b49022cb4104d90b182e4c335f670faf45529025b15db77bf0291835083c28bd" + }, + { + "path": "credits/OUTER-GATE-NOTICE", + "source_path": "research/cf6a-banked-role1256-relay/credits/OUTER-GATE-NOTICE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "1bc9b4da2b8398954cd7a49356eb9d397785d0a6", + "sha256": "cadbc642ca84311d2c7a6cf704c7828cb4cf77e3c784b66e4c6e8a5c28002fb8" + }, + { + "path": "credits/PR7663-NOTICE", + "source_path": "research/cf6a-banked-role1256-relay/credits/PR7663-NOTICE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "6ce1bc49a3612c9e906df02de81bcba84be8e803", + "sha256": "5fd4367578d2339fbdcd7dc116b6c12cb4fa72e92d2e3d67be537a36c8bd9d40" + }, + { + "path": "credits/PR7669-PROVENANCE.md", + "source_path": "research/cf6a-banked-role1256-relay/credits/PR7669-PROVENANCE.md", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "bbee2437f012c3268eb5cd920adfa37394c1de72", + "sha256": "706c6c852e87e371ddf1828244b2f0c2b00279728818023aa911c8947d69ab83" + }, + { + "path": "credits/PR7674-NOTICE", + "source_path": "research/cf6a-banked-role1256-relay/credits/PR7674-NOTICE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "951f081717e0769f3bcc0f442f133965c064d2ce", + "sha256": "382537634a3d9fa0a8089d6121a506a399382f9310088b1f29586dcc93eec92d" + }, + { + "path": "credits/PR7682-NOTICE", + "source_path": "research/cf6a-banked-role1256-relay/credits/PR7682-NOTICE", + "commit": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "git_blob": "4654631de087fe5034d30abc17e9d57582e5ed9c", + "sha256": "7590f71de481c424d2315e9ea4884bea1557481676fa5f930f7a0bed637a56a1" + }, + { + "path": "credits/PR7705-NOTICE", + "source_path": "research/p104-banked-hub-reroutes/NOTICE", + "commit": "f5d42b523a53977256e4c56faf587e1bee58a2b3", + "git_blob": "2a92a9df69de4335966a1b12f79355244a7710f4", + "sha256": "43510816b93ea09e0d716ccc6261c84ce081821c0d5dea7d6e748863d55f8f40" + } +] diff --git a/research/p104-relay-cut-recoding/SOURCES.json b/research/p104-relay-cut-recoding/SOURCES.json new file mode 100644 index 0000000000..f51fc62b8a --- /dev/null +++ b/research/p104-relay-cut-recoding/SOURCES.json @@ -0,0 +1,42 @@ +{ + "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": "research/shared-wire-split-composition/frozen/clifford_exact.py", + "usage": "input", + "git_blob": "166841a037f069249f6f7f6dedb89248812f59e2", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + }, + { + "path": "research/shared-wire-split-composition/frozen/native_verify.py", + "usage": "input", + "git_blob": "2c209dfa9cfade3bc20ac5fc9d876b433a147f8c", + "sha256": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38" + }, + { + "path": "scripts/compare_recursive_invoices.py", + "usage": "input", + "git_blob": "fda2a852e9937e42fe40df0707694465ca7c1b48", + "sha256": "3930c22c11da7bc6042cfeb6e459ecb06e4478430037bee3469d034353855fc6" + }, + { + "path": "scripts/evaluate_recursive_power.py", + "usage": "input", + "git_blob": "ca50f8021fc3238a58fd420383f4619a8d008ace", + "sha256": "52b20f41fd0bb55fa88dccd6015af2ce358917817b9506720f3e60ce681cc3ad" + } + ] +} diff --git a/research/p104-relay-cut-recoding/TASK.json b/research/p104-relay-cut-recoding/TASK.json new file mode 100644 index 0000000000..b7845f9369 --- /dev/null +++ b/research/p104-relay-cut-recoding/TASK.json @@ -0,0 +1,132 @@ +{ + "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": "refined", + "actual_scope": "Can banked cut recoding lower the complete signed invoice on the exact role-1256 relay of PR 7704?", + "scope_change_reason": "The cf6a handoff asked whether paid-transfer pivots compose with the contracted relay. The separate chart-595 and productive-owner threads use different public boundaries.", + "bottleneck_link": "The retained P104 signed caller repeats each paid native rank 16 times. A legal concentration of paid rank, with the same productive boundary, reduces the signed power cost.", + "budget_minutes": 180, + "stop_rule": "Publish the first complete conditional bound whose gain over the PR 7704 upper endpoint exceeds 0.0000041662072, after checks of causality, operators, ownership, physical costs and price.", + "outcome": "completed", + "evidence": "CUTS.json, recoding.py, results/application.json, both witness receipts and five catalogue receipts.", + "author": "Ali Romman", + "ai_assistance": "Substantial OpenAI Codex assistance in research, implementation, verification and writing.", + "open_questions": [ + { + "question": "Can a receiver use two independent cut directions in one step?", + "why_it_matters": "The observed direction has dimension one even where two incoming signals change.", + "first_step": "At an actual middle chart, compute a two-dimensional residual and test whether its 2 by 2 recovery matrix is invertible on cocharted banks. Price all new links and replay the full graph.", + "blocked_by": "A legal causal witness with strictly better complete signed cost is still required." + }, + { + "question": "Does an independent implementation reproduce the scalar-feedback case at cuts 38 and 40?", + "why_it_matters": "This is the new dependency used by the stronger application.", + "first_step": "Rebuild the exact source and compare all public columns before and after each cut, then reprice the 16-stage invoice.", + "blocked_by": "Independent scientific review and a disposition from the project remain open." + } + ], + "coordination": { + "canonical": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19709868", + "comparator": "https://github.com/CrocSwap/integer-mult-bounds/pull/7704", + "comparator_head": "e29a5ae8591243c1178067727f12ce4abefa0b93", + "upstream_main": "e54523517d0f03e58352e647c403a5af3e525a57", + "priority_revision": 8, + "checkpoint_utc": "2026-11-18T14:08+00:00", + "overlap": "Checked the start, handoff and mechanism boards, open proposals and the local overlap report. The #7705 group mechanism operates on the separate chart-595 graph. No competing claim on this exact graph and cut sequence appeared." + } +} diff --git a/research/p104-relay-cut-recoding/VERIFY.json b/research/p104-relay-cut-recoding/VERIFY.json new file mode 100644 index 0000000000..8785673736 --- /dev/null +++ b/research/p104-relay-cut-recoding/VERIFY.json @@ -0,0 +1,101 @@ +{ + "schema_version": 1, + "status": "ready", + "python": "3.12", + "requirements": [], + "inputs": [ + "research/shared-wire-split-composition/frozen/clifford_exact.py", + "research/shared-wire-split-composition/frozen/native_verify.py", + "scripts/compare_recursive_invoices.py", + "scripts/evaluate_recursive_power.py" + ], + "commands": [ + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py" + ], + "timeout_seconds": 125, + "checks": "Rebuild the source, cut graph, signed caller and price. Check all normalized outputs, occupied-bank schedules, exact products and odd divisions, charged services, directed root signs and all 58 outer predicates. Reject a causal cycle, a wrong chart and a live sender overwrite." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/witness.py", + "0" + ], + "timeout_seconds": 125, + "checks": "Verify the 23 odd-numbered cut identities on independent inputs. Compare all parent and final public columns with a separate reverse accumulation. Reject altered signs." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/witness.py", + "1" + ], + "timeout_seconds": 125, + "checks": "Verify the 23 even-numbered cut identities on independent inputs. Check all 235 raw source CLEAR identities and reject altered signs." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/catalogue.py", + "0" + ], + "timeout_seconds": 155, + "checks": "Check the signed Pauli action, absolute phase and rank for this slice of the final chart pairs. Compare every forward and adjoint column on its changed pairs. Verify the assigned main adapters and all sixteen signed contacts per port. Reject two phase faults." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/catalogue.py", + "1" + ], + "timeout_seconds": 155, + "checks": "Check the signed Pauli action, absolute phase and rank for this slice of the final chart pairs. Compare every forward and adjoint column on its changed pairs. Verify the assigned main adapters and all sixteen signed contacts per port. Reject two phase faults." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/catalogue.py", + "2" + ], + "timeout_seconds": 155, + "checks": "Check the signed Pauli action, absolute phase and rank for this slice of the final chart pairs. Compare every forward and adjoint column on its changed pairs. Verify the assigned main adapters and all sixteen signed contacts per port. Reject two phase faults." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/catalogue.py", + "3" + ], + "timeout_seconds": 155, + "checks": "Check the signed Pauli action, absolute phase and rank for this slice of the final chart pairs. Compare every forward and adjoint column on its changed pairs. Verify the assigned main adapters and all sixteen signed contacts per port. Reject two phase faults." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/catalogue.py", + "4" + ], + "timeout_seconds": 155, + "checks": "Check the signed Pauli action, absolute phase and rank for this slice of the final chart pairs. Compare every forward and adjoint column on its changed pairs. Verify the assigned main adapters and all sixteen signed contacts per port. Reject two phase faults." + } + ] +} diff --git a/research/p104-relay-cut-recoding/catalogue.py b/research/p104-relay-cut-recoding/catalogue.py new file mode 100644 index 0000000000..0be42c8ba0 --- /dev/null +++ b/research/p104-relay-cut-recoding/catalogue.py @@ -0,0 +1,124 @@ +"""Check every native transfer, helper job and main-port adapter.""" +from collections import Counter +from functools import cache +from hashlib import sha256 +from pathlib import Path +import copy +import sys + +HERE = Path(__file__).resolve().parent +sys.path.insert(0, str(HERE)) +from recoding import apply, encoded, need, read, receipt, sources +from network import main_roles +from binding16 import contact_phase +from upstream_application import boundary + +ROOT = HERE.parents[1] +sys.path.insert(0, str(ROOT / "research/shared-wire-split-composition/frozen")) +import clifford_exact as producer +import native_verify as checker + + +def span(basis): + points = {0} + for v in basis: + need(type(v) is int and 0 < v < 512 and v not in points, "independent native axes") + points |= {x ^ v for x in points} + return sum(1 << x for x in points) + + +def rank_data(word, net): + masks = [span(b) for b in word["frames"]] + dimensions = [len(b) for b in word["frames"]] + + def rank(pair): + a, b = pair + need(0 <= a < len(masks) and 0 <= b < len(masks), "frame index") + intersection = (masks[a] & masks[b]).bit_count() + need(intersection in (1 << dimensions[a], 1 << dimensions[b]) and dimensions[a] != dimensions[b], "positive nested pair") + return abs(dimensions[a] - dimensions[b]) + + mains = main_roles(word) + helper_pairs = [(net.initial[r], net.final[r]) for r in range(len(net.initial)) if r not in mains] + return Counter(map(rank, net.moves.values())), Counter(map(rank, helper_pairs)), set(helper_pairs) + + +def verify(shard, parts=5): + word, parent, cuts = sources() + net = apply(parent, cuts, word["frames"]) + _, _, helpers = rank_data(word, net) + pairs = sorted(set(net.moves.values()) | helpers) + rerouted = {pair for node, pair in net.moves.items() if pair != parent.moves[node]} + basis = word["frames"] + + @cache + def chart(i): + return producer.canonical_frame(9, tuple(basis[i])) + + @cache + def frame(i): + return checker.frame(basis[i], 9) + + records = [] + exhaustive = [] + assigned = sorted(rerouted)[shard::parts] + sorted(set(pairs) - rerouted)[shard::parts] + for a, b in assigned: + recipe, _ = producer.lower_child(chart(a).adjoint().then(chart(b))) + need(recipe["rank"] == abs(len(basis[a]) - len(basis[b])) > 0, "physical rank") + actual = checker.recipe(recipe) + target = checker.adjoint(frame(a)) + frame(b) + checker.equal(actual, target, "signed Pauli action and Gaussian phase") + if (a, b) in rerouted: + for u, v in ((actual, target), (checker.adjoint(actual), checker.adjoint(target))): + for col in range(512): + need(checker.state(u, col) == checker.state(v, col), "literal Gaussian column") + exhaustive.append([a, b]) + if not records: + wrong = copy.deepcopy(recipe) + wrong["left"]["phase"] = (wrong["left"]["phase"] + 1) % 4 + bad = checker.recipe(wrong) + need(checker.tableau(bad) == checker.tableau(actual), "phase-only mutation") + try: + checker.equal(bad, target, "altered phase") + except ValueError: + pass + else: + raise ValueError("incorrect absolute phase accepted") + records.append([a, b, recipe]) + ports = 0 + by_q = read(HERE / "data/CALLER-PHASE-BASES.json")["by_q"] + contacts = [] + rejected_shift = False + for x, q in list(zip(word["live"], word["ports"], strict=True))[shard::parts]: + a, b = net.initial[x], net.final[x + 112] + first, _ = producer.lower_child(producer.cgate(9, q, 1).adjoint().then(chart(a))) + last, _ = producer.lower_child(chart(b).adjoint().then(producer.cgate(9, q, -1).then(producer.fourier(9)))) + need(first["rank"] == last["rank"] == 0 and not basis[net.initial[x + 112]], "main adapters") + checker.equal(checker.recipe(first), (("C", q, -1),) + frame(a), "main input phase") + checker.equal(checker.recipe(last), checker.adjoint(frame(b)) + (("C", q, -1),) + checker.fourier(9), "main output phase") + checker.equal(frame(net.final[x]), checker.fourier(9), "full main endpoint") + ports += 1 + for stage in range(1, 17): + shifts, fault = contact_phase(q, by_q[str(q)], stage, 137) + contacts.append([q, stage, shifts]) + if fault and not rejected_shift: + transform, (before, after) = fault + try: + boundary(before, after, transform, omit_translation=True) + except ValueError as exc: + need(str(exc) == "forward contact includes its phase", "contact control") + rejected_shift = True + else: + raise ValueError("omitted contact phase accepted") + need(rejected_shift, "nontrivial phase control") + return dict(slice=shard, total=len(pairs), checked=len(records), columns=exhaustive, + ports=ports, contacts=len(contacts), contact_sha256=sha256(encoded(contacts)).hexdigest(), + recipes_sha256=sha256(encoded(records)).hexdigest()) + + +if __name__ == "__main__": + shard = int(sys.argv[1]) + need(sys.flags.optimize == 0 and 0 <= shard < 5, "catalogue configuration") + result = verify(shard) + receipt(f"catalogue-{shard}", result) + print("PASS_CUT_CATALOGUE", shard, result["checked"], len(result["columns"]), result["contacts"]) diff --git a/research/p104-relay-cut-recoding/credits/7658-NOTICE b/research/p104-relay-cut-recoding/credits/7658-NOTICE new file mode 100644 index 0000000000..2baa2a719e --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/7658-NOTICE @@ -0,0 +1,21 @@ +Apache-2.0. DreamingOfClouds with Claude Opus 5.5 (Anthropic), via Claude Code. + +The base word (data/base-7641-word.json.gz, unmodified bytes, sha256 de43ed04f58133eaef8f8d12a9dae1e6e8aa7f9721044200cc839673d86fd7c1) +is the word of our #7641 (20 swap-then-delete composites on SYLforge's #7637), vendored as data only. #7641's own base is SYLforge's +#7637 candidate word, whose notices read: + + "Apache-2.0. Local H5B + E1/E4 combination experiment, prepared with OpenAI assistance. + All earlier contributors and notices in hydrogen-bounded-verification-20261117/NOTICE remain credited. In particular: Ali Romman + (#7605), SYLforge, Clear1nsight, DreamingOfClouds, and all upstream contributors listed there." + +#7637's recorded technique credits: DreamingOfClouds #7630 (E1 rebirth/canceller, E4 existing-co-presence reroute), Clear1nsight +#7631/#7633 (efficient E4 integration, E1 prefix/tail settlement), and SYLforge's H5B literal-frame-restored archive. Its lineage +also carries Clear1nsight's #7626/#7314/#7274, Rohan Arun's #7277 and signed #7113 caller, and the contributors named in the +retained sources. #7641, #7637 and their code are not run by this package; only their words are read as data. + +This package adds five edits found by a large-neighbourhood search (one SWAP-NULL relabel of two helpers with a stay deletion, one main +stop removal, three helper stay deletions with re-placed contacts) and one hub re-settle. The helper-stay deletion with re-charted +contacts (E3) is of the type introduced by Clear1nsight's #7612 and ToikY's #7643. check.py is our own code: its replay, crossing and +column-test sections come from our #7630-on-#7623, swap-composite and #7641 packages; its column tests follow the description of the +affected-pair tests in #7620's README and native runner. The CLEAR certificate check implements the acceptance rule of #7620's +verify_certificates (read, not run). No other author's code was run; their words are read as data. diff --git a/research/p104-relay-cut-recoding/credits/7700-CITATION.cff b/research/p104-relay-cut-recoding/credits/7700-CITATION.cff new file mode 100644 index 0000000000..d80f6b8660 --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/7700-CITATION.cff @@ -0,0 +1,55 @@ +cff-version: 1.2.0 +message: >- + Please cite the selected composition and its constituent contributions, + this project and the upstream manuscript. The selected checkpoint is PR4470 on the cumulative productive-helper framework; consult certificates/selected-result.json for publication status. + Project-level authorship identifies the maintainer, not sole authorship of + the community result. See CONTRIBUTORS.md and the frozen source notices. +title: "A sharper exponent for integer multiplication" +authors: + - family-names: Colkitt + given-names: Douglas +license: Apache-2.0 +type: software +version: "community-joint4470-2026-10-22" +date-released: 2026-10-22 +repository-code: "https://github.com/CrocSwap/integer-mult-bounds" +url: "https://github.com/CrocSwap/integer-mult-bounds" +abstract: >- + Community research on integer multiplication. The selected maintainer-reviewed + conditional construction has kappa = 60403/20000000 = 0.00302015. + Cinna Davis's PR4470 joint helper frames and query-thinned controller build on + her preceding constructions, zxv's native/productive-helper and compiler work, + Jacob Alan Sussman's mixed-target recursion, and the cumulative community + framework. Exact finite replays and independent audits retain explicit + all-column/native, owned-erasure, compiler, precision/tape, analytic, prime + and recovery assumptions. This is not a complete formal multiplication proof. +preferred-citation: + type: software + title: "A sharper exponent for integer multiplication: community research repository" + authors: + - family-names: Colkitt + given-names: Douglas + year: 2026 + url: "https://github.com/CrocSwap/integer-mult-bounds" + notes: >- + Maintainer citation only, not sole authorship of the mathematical result. + Credit Cinna Davis (PR4470/4447/4441/4440/4416), zxv (PR4359/4433), + Jacob Alan Sussman (PR4268), independent auditors Mihir Srivastava and + Ryanson Jonathan, Mark/Matarener for the commutation question, and the full + geometry, binary, native, precision and outer lineage, including Rohan Arun, + Jeremy Kothe, Chafik Boukhalfa and the contributors listed in CONTRIBUTORS.md + and docs/research/community-joint4470-contributors.md. Cite constituent PRs + where their results are used; preserve their licenses and assistance disclosures. +keywords: + - integer multiplication + - computational complexity + - exact arithmetic + - parameter optimization + - reproducible research +references: + - type: unpublished + title: "Integer multiplication below n log n" + authors: + - name: OpenAI + year: 2026 + url: "https://github.com/openai/math/tree/adc7f1241b42e322a6451854ab7e4b4c146bf78a/preprints/Integer-multiplication-below-n-log-n-September-23-2026" diff --git a/research/p104-relay-cut-recoding/credits/7700-NOTICE b/research/p104-relay-cut-recoding/credits/7700-NOTICE new file mode 100644 index 0000000000..59d8e0cf31 --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/7700-NOTICE @@ -0,0 +1,415 @@ +A sharper exponent for integer multiplication +Copyright 2026 Douglas Colkitt + +This project includes unmodified source files from OpenAI's manuscript +"Integer multiplication below n log n" and its accompanying repository: +https://github.com/openai/math +Commit: adc7f1241b42e322a6451854ab7e4b4c146bf78a + +The original manuscript identifies OpenAI as its author. Its Apache-2.0 +license is retained at upstream/LICENSE. The exact source URLs and hashes +are recorded in upstream/manifest.json. Proposed modifications are supplied +as separate files under patches/; upstream source files remain unchanged. + +The original local research note, scripts, certificates, patches, and +documentation were prepared by Douglas Colkitt with assistance from OpenAI +Codex. The community release incorporates work by the contributors identified +in the notices below; it is not solely Douglas Colkitt's work. +This project is not an official OpenAI release or an OpenAI endorsement. + +Related contributions (not imported in this checkpoint): +Zhihao Chen (jacklightChen), PR #7, supplied an earlier ternary five-subset +motif, finite-alphabet transfer and a different compressed producer: +https://github.com/CrocSwap/integer-mult-bounds/pull/7 +The present checkpoint claims no priority for that motif. Related compressed +complex-network work was submitted by eumemic in PR #3: +https://github.com/CrocSwap/integer-mult-bounds/pull/3 +The pending contributions and their stronger bounds require their own review; +this notice does not represent adoption or verification of their claims. + +Additional community work, including parallel and superseded submissions, is +acknowledged in CONTRIBUTORS.md, with pinned submission metadata in +docs/research/contribution-snapshot.json. These acknowledgements do not imply +joint authorship of the checkpoint, incorporation of pending code, or verification +of submitted mathematical claims. Original source-specific notices remain in force. + +Community release (accepted by conditional maintainer audit): +The following original contributor notices apply to the imported PR #39 chain. +The preceding non-import statements describe the preserved 2^-30 checkpoint. + +Ternary five-subset construction and common-four-point resynthesis +Copyright 2026 Zhihao Chen (jacklightChen) + +This is Zhihao Chen's first submission of this specific construction to this +repository. Research, proof development, code and verification were prepared +with substantial assistance from GPT-6 Astra (OpenAI Codex), as identified by +the contributor. This is not independent review or an OpenAI endorsement. +Future research building on this contribution should explicitly acknowledge +Zhihao Chen (jacklightChen), cite the accompanying note and pull request, and +retain the preceding contributors' attribution. This notice records research +provenance; the repository's Apache-2.0 license remains unchanged. + +Dependencies retained from eumemic's Claude-assisted PRs #3 and #5: +https://github.com/CrocSwap/integer-mult-bounds/pull/3 +https://github.com/CrocSwap/integer-mult-bounds/pull/5 +PR #5 commit: d3d370c34937503bd3fa63c83d505a05e8e50893 +These include complex_circuit.py, complex_network.py, fast_gaussian.py, +their generators, construction notes and certificates. The Gaussian input +scaling proof is corrected in this derivative; see the modification notice below. +Aligned pairing also appears in Bortlesboat's PR #2. Retained totals and bank +sharing appear in dleen's PR #4 and cheaper retained centers in eumemic's PR #6. +Their results and ideas are credited separately from this new construction. + +Bulk recursion and controlled tensor basis, 8 October 2026 +Copyright 2026 icekylinx + +The new projector batching, controlled simultaneous basis, mixed-width tape +recursions, whole-residual complex recursion, and dependency-path precision +guard in the batched-23 proof package are contributed by icekylinx, developed +with substantial OpenAI GPT-6 Astra assistance. Review corrections and +repository integration were prepared with OpenAI Codex assistance. They build on the retained +PR #7 finite producers and the preceding contributions credited above. +The new package retains the repository's Apache-2.0 license and the original +authors' attribution. It is not an official OpenAI release or endorsement. + +Modification notice, 8 October 2026 (icekylinx): the retained fast Gaussian +proof now bounds shifted approximation error by F=2^ceil(1.14 alpha^2). +The P=34p precision budget and asymptotic exponent are unchanged. New batching +checks are integrated into make verify. Existing attribution and licenses +are retained. + +Partial-swap extension, 8 October 2026 +Copyright 2026 icekylinx + +The partial-swap framing, binary retained-total triple construction, +dependency-preserving positive labels and carrier reuse, unequal (25,23,57) +common basis, improved complex batching, and exact assembly are contributed +by icekylinx with substantial OpenAI GPT-6 Astra and Codex assistance. +This extension directly inherits PR #10, commit +62691e395a0458ce089a1c7b5d89e74291e95e29. The portable producer adapters +modify the retained paired-exclusion and shared-point implementations credited +above. The original licenses, attribution, and Gaussian correction are retained. + +Endpoint-gauge extension, 8 October 2026 +Copyright 2026 icekylinx + +The complementary auxiliary endpoint gauges, (32,30,40) controlled basis, +general nondegenerate binary phase residuals, retained-center complex producer, +updated path guard and exact assembly are contributed by icekylinx with +substantial OpenAI GPT-6 Astra and Codex assistance. This extension inherits +f2ab41aebad47861caf6316282c1793e5513845e and its PR #10 ancestry. New portable +adapters retain the paired-exclusion and shared-point contributions credited +above. Original licenses, notices and the Gaussian correction are retained. + +Structured-basis and semantic-bulk extension, 8 October 2026 +Copyright 2026 icekylinx + +The selected (32,30,36) bit construction, A1/A5 block refinements, fixed +middle-axis I+J profiles with bounded-minor CRT certificates, mixed dyadic +complex centers, complete data-front batching and circuit-specific assembly +are contributed by icekylinx with substantial OpenAI GPT-6 Astra and Codex +assistance. The immediate parent is ed90fd940279c336ebc45968631bdebfb087b505. + +The semantic/bulk compatibility argument, literal scalar charge, product row +stock and parameterization adapt Zhihao Chen (jacklightChen)'s PR #23, +commit 661ebabc1076c9f525d7ce4967c876b203fa9827. Translated complex endpoints +are adopted from the same contributor's PR #21, +commit 5ba6cf0bfb68f2be8d15610e7972207c50254d6a, following eumemic's source-frame +work and the earlier nested-basis contributions. + +Completed-child semantic precision, arbitrary-coordinate routing, phase-cell +Gaussian inversion and bulk tape transfer are credited to the RaD project +(hipotures), commit 45d9b60355872041f9275f77c057514def0d45bc, exposed through +PR #20 at 4f8d6c8272b5ff307a0da51df545ec3cd96a8b6e. Their selected proof +sources retain their separate CC0 license and original NOTICE under +references/semantic-bulk/rad20. The PR #23 source retains its recorded OpenAI +Codex assistance; RaD retains its recorded Codex and GPT-6.1-Sol Ultra +assistance. These are source attributions, not claims about this session's +runtime model. Related contributions by Rohan Arun and Aurel Prosz remain +acknowledged in the imported notices. No exclusive priority or additional +license condition is asserted. + +Copied retained-center extension, 8 October 2026 +Copyright 2026 icekylinx + +The copied retained-center schedule in both orientations, its complex-phase +transfer, the Wm-N+L rank budget, and the selected (25,23)/(28,28) composition +are contributed by icekylinx with substantial OpenAI GPT-6 Astra and Codex +assistance. This extension inherits PR #32 at +0ef3aeb61f55cc0b321ce6a0ef00acee25cefe52 and the preceding PR #10/#18/#24 work. + +The two-stage topology and paid copied-stream endpoint correction are due +to Aurel Prosz (Paureel), c82d09eb4781b68435e3fa3eb6beea72fa900fab, +through Zhihao Chen (jacklightChen)'s PR #29 unequal-axis composition, +9d963275075fa98f1da821e27757b238dafd6b3c. That source also credits Swapnil +Jain's two-stage development at ae405eb474d1486b2d8aef90139869f927f4836a. + +The contiguous corner method, incidence factorization and exact partition +certificates are due to Rohan Arun (PR #31), method commit +02f68f95369c39955c5ffcfddbd75cd83e26b305. The selected (25,23) certificate +specializes Dominik Scholz's parameterization (PR #33), +a499a345c040aa15b68e984a0904eadc485c7a7e. Their source notices and proof +snapshots are preserved in references/copied-centers. Historical OpenAI +Codex, GPT-6 Astra and Anthropic Claude Opus 5.5 assistance is credited to +the respective imported sources. Existing PR #21/#23 and RaD attribution, +licenses and the Gaussian correction remain in force. + +Copied centers with reversed (23,25) data corners, 2026-10-08 +Rohan Arun with substantial OpenAI Codex assistance supplies the composition, +exact dimension23 controls and cost/assembly integration. James Chang's PR34 +supplies the reversed boundary family; icekylinx's PR36 supplies copied retained +centers and the selected complex graph. The balanced assembly remains attributed +to RaD/hipotures and its PR34 specialization. Retain Dominik Scholz PR33, Rohan +Arun PR31, Zhihao Chen PR29/21/23, Paureel/Aurel Prosz, Swapnil Jain, icekylinx, +eumemic, Douglas Colkitt, OpenAI and all earlier notices and hypotheses. +This is not a claim of formal verification, new foundational rank identities, +global optimality or measured runtime speedup. + +Fixed middle basis with copied reversed corners (2026-10-08): +Rohan Arun, with substantial OpenAI Codex assistance. Composition and +simultaneous-basis proof retain icekylinx PR32/36, James Chang PR34, +Dominik Scholz PR35/38, Zhihao Chen, Paureel, Swapnil Jain, RaD/hipotures, +eumemic and all preceding attribution and licenses. See research/copied-fixed-reversed. + +Changed-graph composition with copied centers and fixed bases, 8 October 2026 +Prepared with OpenAI Codex assistance. +The new composition uses icekylinx PR36 copied centers and PR32 fixed-I+J +projectors/profiler, Dominik Scholz PR35 two fixed factors and CRT argument, +Zhihao Chen (jacklightChen) PR29/23 interfaces, Aurel Prosz (Paureel) and +Swapnil Jain's two-stage development, Rohan Arun PR25/31 corner methods, +Dominik Scholz PR33/38 dimension/composition work; James Chang (jamesyc) +PR34 reversed geometry and balanced transfer; Rohan Arun PR37/39/40 +reversed integration, modular data tests and both-fixed baseline; +RaD (hipotures) PR41 changed scalar DAGs, alternating point order and +independent role compiler; RaD balanced routing/bulk interfaces, and all +retained predecessors. +Complete attribution and the conditional proof boundary are recorded in +research/copied-fixed/PROOF.md; imported originals and source pins are retained. +Original Apache-2.0 and CC0 notices remain applicable. + +Community follow-up integration (PRs #49, #45 and #26), 8 October 2026: +Rohan Arun contributes weighted carrier matching and climbed summand/leave-one-out +orders (PRs #44/#47/#49), with Anthropic Claude assistance. The final construction +composes Chafik Boukhalfa's changed-graph checks, exact rational data recovery and +reordered exclusion sums (PRs #43/#46/#48, OpenAI Codex assistance) with RaD / +hipotures's alternating pair order and independent physical role compiler (#41). +All predecessor attribution and conditional proof interfaces remain in force. + +Alejandro Zarzuelo Urdiales contributes Gaussian parity and canonical arithmetic +proofs, finite tensor execution, profile precision accounting and mixed-center +reference checks (#45), with substantial OpenAI Codex assistance. See +research/gaussian-parity-synthesis/PROVENANCE.md for his full attribution. +Ryan S / princezuda contributes historical Lean certificate arithmetic, algebraic +frame/movement/guard lemmas and independent paired-circuit checks (#26). Original +source notices and historical snapshots are preserved. Neither formal package +claims a full formal proof of the multiplication algorithm or a new kappa. + +Joint frame compilation of skip-prefix strips + +The local compiler and exact finite witnesses were prepared by eumemic with +substantial OpenAI Codex assistance. Avi Eisenberg / ikeboy with Anthropic +Claude assistance supplied the unmodified PR #53 skip-prefix producer. +The pinned PR #48 pipeline is Chafik Boukhalfa's contribution, incorporating +Rohan Arun, RaD / hipotures, icekylinx, Dominik Scholz, James Chang, +Zhihao Chen, Aurel Prosz / Paureel, Swapnil Jain, eumemic, Douglas Colkitt, +OpenAI, David Harvey, Joris van der Hoeven and the earlier contributors +credited in the retained sources. See references/frame-compiler/pr48/NOTICE +and references/frame-compiler/pr53/NOTICE for their original attribution. +No authorship or review by those predecessors is claimed for this compiler. + +Joint dual-skip/frame-compiler composition (2026-10-08) +--------------------------------------------------- +Rohan Gupta / gupt1156 with Anthropic Claude assistance: PR55 dual-skip +scalar graph; original LICENSE and NOTICE are retained under +references/frame-compiler/pr55. eumemic with substantial OpenAI Codex +assistance: PR57 joint reversible frame compiler, serialized physical-word +replay and profile reconstruction. Chafik Boukhalfa with OpenAI Codex +assistance: this composition, independent integration and exact certificate. +Avi Eisenberg / ikeboy, Rohan Arun, RaD / hipotures, icekylinx, and all +predecessor authors retain the notices above and in pinned source files. +No original copyright or Apache-2.0 notice is removed. + +Ranked reclamation after the PR58 joint-dual composition (2026-10-08) +---------------------------------------------------------------- +Chafik Boukhalfa with OpenAI Codex assistance: prioritize retired physical +slots by descending current frame rank, retaining slot ID as the tie-breaker; +complete replay, exact profiles, comparison and adversarial controls. +The dedicated joint_dual_reclaim_compiler.py is derived from eumemic's PR57 +compiler. Its original shared compiler remains byte-identical. The PR55 +producer and all preceding attribution remain unchanged. The complete PR58 +comparison certificate and its original source/proof provenance are retained +under references/frame-compiler/pr58. + +Skip-prefix strip producer, 8 October 2026 +By Avi Eisenberg (ikeboy), with Anthropic Claude (Claude Opus 5.5) +assistance. The skip-prefix leave-one-out strip layout in +research/skip-strips/skip_graph.py is new. Everything else reuses Chafik +Boukhalfa's PR #43/#46/#48 research/copied-fixed pipeline, its verification +code, exact data recovery and support-order sorting, together with: +- Rohan Arun's PR #44 weighted carrier matching optimizer; +- RaD (hipotures) PR #41 alternating point order; +- every predecessor credited above. +Complete attribution and the conditional proof boundary are recorded in +research/skip-strips/PROOF.md. Original Apache-2.0 and CC0 notices remain +applicable. + +Local split-pair skip-prefix research continuation (2026-10-08) +Prepared with substantial OpenAI Codex assistance at the user's request. +New contribution: singleton/pair recursive partition refinement, finite summand +order and moment search, and verified composition with inherited paid clones. +Avi Eisenberg/ikeboy with Anthropic Claude assistance: PR53 skip-prefix strips. +Chafik Boukhalfa with OpenAI Codex assistance: PR54 original-envelope clone +specialization and PR43/46/48 checking interfaces. RaD/hipotures: PR51 +whole-chain/source-partition cloning and earlier producer/interfaces. +Rohan Arun: PR44 weighted matching and earlier fixed/reversed work, with all +stated historical AI assistance. All predecessor notices remain applicable. + +Original-envelope whole-chain clones on skip-prefix strips (research/skip-clones): +Chafik Boukhalfa, prepared with OpenAI Codex assistance. The complete-chain +source-partition clone operation is adapted from RaD / hipotures, PR #51, +with original envelopes retained here. The scalar base is Avi Eisenberg's +PR #53 skip-prefix layout, prepared with Anthropic Claude assistance. +All credited PR #43/#46/#48, PR #44 and earlier code/proof notices remain +in force. This extension is provided under the repository's Apache-2.0 terms. + +Community review checkpoint #50–#61, 8 October 2026 +Maintainer integration and independent arithmetic: Douglas Colkitt, with OpenAI Codex. +Avi Eisenberg / ikeboy: skip-prefix strip framework (#53), with Anthropic Claude. +Rohan Gupta / gupt1156: parallel order search (#50, stated Antigravity assistance) +and dual-suffix strips (#55, Anthropic Claude assistance). +Eumemic: equal-frame joint compilation and paid signal reclamation (#57), with Codex. +Chafik Boukhalfa: original-envelope paid clones (#54), composition (#58) and ranked +reclamation (#60), with Codex. Rohan Arun: order search (#52) and positive-frame +composition (#56), with Anthropic Claude and stated Codex validation assistance. +RaD / hipotures: enlarged frames, source partitions and paid whole-chain clones +(#51), with Codex. Rohan Garg / rohangar1: singleton/pair recursion and paid-clone +composition (#59), with Codex. Alejandro Zarzuelo Urdiales: exact parameter +refinement, scoped Lean arithmetic, matrix/parity and search tools (#61), with +his disclosed multi-tool and Codex assistance. +Parallel #50/#52 records are reviewed and credited without replacing the earlier +climbed-48 implementation; their exact commit history is retained. The separate +#51 witness is retained as research; its source-graph/negative-basis data proof +has not received the same full replay as #56's consumed compiler machinery. +See docs/research/community-round2-review.md for precise validation boundaries. +All earlier licenses, contributions and notices remain applicable. + +Interval strips and core-aware pair assembly + +The interval leave-one-out strips and the core-aware group-pair assembly in +research/pair-assembly were prepared by Avi Eisenberg / ikeboy with Anthropic +Claude assistance. They build on PR #53's skip-prefix pipeline and its +inherited PR #48 sources. The stacked witness in research/pair-assembly/frame +uses eumemic's PR #57 joint frame compiler unchanged; its driver and verifier +are adaptations of PR #57's skip_frame_compiler.py, skip_frame_compose.py and +verify_skip_frame.py. Original notices are retained. + +Stopped product-ring extension, 9 October 2026 +Copyright 2026 icekylinx + +The opposite-bank generic projector factorization, componentwise atom-ring +adapters, stopped recurrence and outer ordinary-interchange conversion, +aligned pair-star producer with rational centers, exact denominator-21 +grid and selected (23,23)/(24,24) composition are contributed by icekylinx +with substantial OpenAI GPT-6 Astra and Codex assistance. This extension +builds on merged PR #36, 11817ccacb564bb7f98789c20dc11d3fece207e3, and is +integrated on upstream main 56b66d58297deca1d7dd130247d720e960f77a37. + +The retained ordinary leaf uses the preceding projector, corner and +copied-center proofs. The selected two-stage topology retains Aurel Prosz +(Paureel), Swapnil Jain and Zhihao Chen's credits; the semantic assembly +retains PR #21/#23 and RaD's attribution. Paired producers, carrier matching, +original source notices and each imported license remain unchanged. + +Partial-gauge extension, 9 October 2026 +Copyright 2026 icekylinx + +The pair-first cube assembly, compatible backward frame enlargement, +partial source-gauge schedule and stopped whole-projector composition are +contributed by icekylinx with substantial OpenAI GPT-6 Astra and Codex +assistance, extending PR #104 at 948ce1510df750f4c18b96bdaef436a86f8bf834. + +The physical deferred bit word, reflected event accounting, fan-order +clarification and signed two-stage endpoint are adopted from Zhihao Chen +(jacklightChen), PR #97, e15350b66e4bf796153a68c240a6cc1b788abe3e, with +Codex assistance. Its deferred readouts, V leaves, lifted frames and frozen +witness originate in Swapnil Jain's 741e7aa078392553815df7926ee17ac5e25a8c38, +with the original Claude disclosure retained. Cyclic interval and core-aware +pair primitives build on Avi Eisenberg (ikeboy), PR #62, +ad0f25ff7b23cff7f08ad237c2254e6ecf74257e, with Anthropic Claude assistance. +Prior two-stage, copied-center, ordinary-leaf, semantic/bulk, routing and +precision credits remain in force. Imported source notices and licenses +are preserved under references/partial-gauge/; see SOURCES.json. + +Three-stage cover extension, 9 October 2026 +Copyright 2026 icekylinx + +The arbitrary-subspace Clifford frame theorem, three-stage Cayley geometry, +weighted q-adic GL cover, unit-lower weighted compiler, charged local-ring +fallback, uniform batching, internal row borrowing and exact composition +are contributed by icekylinx with substantial OpenAI GPT-6 Astra assistance. This +repository integration uses Codex assistance and extends +PR #115, cf60442983c153a3a0f5272ea4713f99eba13c86. + +The selected local complex DAG and support/label replay are adopted from +Copyright 2026 eumemic, PR #117, cbb05ce504d571546d9b7794c186a613c659c3bf, +with its original Apache-2.0 terms and Claude assistance disclosure. +The unchanged bit physical word retains Zhihao Chen (jacklightChen), +PR #97, and Swapnil Jain's underlying witness and assistance notices. +The prior opposite-bank, stopped ordinary-leaf, copied-center, topology, +semantic/bulk, precision and analytic credits remain applicable. +Original source notices and license bytes are preserved in +references/three-stage-cover/pr117/ and references/partial-gauge/. + +Paired-cube and shared-core extension, 9 October 2026 +Copyright 2026 icekylinx + +The paired-coordinate triple-cube identity, signed overlap channels, +original-source involution, coordinate-star centers, concrete frame/carrier +compiler, chronological source gauges, PR97 gauge-subset selection, +orthogonal cross-stage routing and exact supplier/assembly integration +are contributed by icekylinx with substantial OpenAI GPT-6 Astra assistance. +Repository integration uses Codex assistance and extends PR #130 at +6a9970a530119174507904e23592fd59ede19a5d. + +The substantial completed-core workspace-sharing principle is credited to +an664, PR #128, 530588a019b4a74f09180680c9e3961bf649ec89, with its reported +OpenAI Codex assistance. No source code, partition or serialized witness +from that PR is imported. The new routing and paired-motif integration +are described separately and claim no exclusive priority for broad sharing, +paired-coordinate, Fourier or carrier-matching ideas. + +Selected coarse queries restrict the retained eumemic PR #117 positive DAG; +its original Apache-2.0 and Claude assistance notices remain unchanged. +The bit word and original frames retain Zhihao Chen's PR #97 and Swapnil +Jain's frozen witness, notices and historical assistance disclosures. +Earlier generalized Clifford, three-stage, uniform weighted recursion, +ordinary-leaf, semantic/bulk, precision and analytic credits remain in force. +Source-specific license bytes are preserved under references/. + +October 9 recycled-bit integration: +DaysSky (#150), William Porter/hpst3r (#147), Thomas Marchand/Th0rgal (#146), +Rohan Gupta/gupt1156 (#148), James Chang/jamesyc (#124), SovereignSteak (#122). +The original notices and assistance disclosures are retained under research/, +including research/recycled-bit-integration/NOTICE. Andrew Barnes/Bortlesboat +(#101) repairs shared verifiers using rfu08's #64 counterexample. rfu08's +scoped finite and formal-transfer packages are included separately; they do +not establish the full multiplication theorem. Earlier and parallel credits +remain applicable. Douglas Colkitt integrated these with OpenAI Codex assistance. + +SovereignSteak PR151 independently supplies the matching gauge/recycling +composition and the selected 473/10^6 atom refinement; its original package +and assistance disclosure are retained under research/gauge-recycling/. + +October 9 coordinated-frame and completed-entrance-bank integration: +Dugongue PR186, 166a34d75e853e933855f0f7e940fe77c4bb6b8d, builds on +Chafik Boukhalfa/chafreaky's PR181, 7fb2194801e3a10f54772c7f0d5505035a4fc0ad, +and eumemic's PR168 v4, 4a3c769e5c5430e7114c4d3e099ff34664677f17. +The frozen package and prerequisite archive preserve all author, source-license +and assistance notices, including PR175's compiler optimization. DaysSky's +carrier closure, James Chang's terminal substitution and balanced assembly, +geckods' stopping refinements and all preceding framework credits remain. +Rohan Arun's PR185 bootstrap and chafreaky's PR182 bit refinement are reviewed +parallel contributions; their gains are not added to the selected witness. +Douglas Colkitt integrated the package and supplied the bank scheduling +supplement with OpenAI Codex assistance, under Apache-2.0. The all-size +interfaces remain conditional; finite verification is not full formalization. diff --git a/research/p104-relay-cut-recoding/credits/OUTER-GATE-NOTICE b/research/p104-relay-cut-recoding/credits/OUTER-GATE-NOTICE new file mode 100644 index 0000000000..1bc9b4da2b --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/OUTER-GATE-NOTICE @@ -0,0 +1,13 @@ +# Attribution and source reuse + +New independent operator/invoice verification and fixed-grid interval implementation: OpenAI Codex-assisted research session, 2026-11-10. Apache-2.0. + +DreamingOfClouds supplied the #6936 native predecessor and #6937 shared-wire backup/E-free root. CubeJerry supplied #6912 caller blocks, #6980's QUERY-only caller and #6970/#6985 precision methods. Preserve Ali Romman's #5599 helper-split attribution, icekylinx's #104 odd-grid attribution and unpaidmoon's #6930 width-phase attribution in the parent construction. + +Three unchanged source files are authenticated by exact SHA256 and source commit/path in `INDEPENDENT-SOURCES.json`: + +- #6970 `independent_bounds.py`: fixed integer-grid and positive caller-transfer engine. +- #6985 `envelopes.py`: positive forward envelopes and backward covector witnesses. +- #6985 `source_binding.py`: retained helper functions for the envelope engine. + +The adapter applies only two literal helper-census substitutions in memory and records them. It does not call that adaptation an independent mathematical implementation. The new reverse native operator, formal caller ring and elementary interval engine do not import the source authors' operator or invoice checkers. diff --git a/research/p104-relay-cut-recoding/credits/PR7663-NOTICE b/research/p104-relay-cut-recoding/credits/PR7663-NOTICE new file mode 100644 index 0000000000..6ce1bc49a3 --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/PR7663-NOTICE @@ -0,0 +1,7 @@ +Apache-2.0. Ali Romman with substantial OpenAI Codex assistance. + +The new material is the joint chart assignment, its source-bound operator and caller checks, and the fresh-cost complete-root scalar and private-bank specialization. The parent data are from Clear1nsight's PR #7660 on DreamingOfClouds' PRs #7658 and #7641 and SYLforge's PR #7637. The contributors credited in those sources retain their credit. Original notices are in source/parent-NOTICE, source/physical-NOTICE and source/word-NOTICE. + +Rohan Arun supplied the 17-stage signed caller in PR #7113. The unmodified interval gate and the exact caller data come from its pinned source. See source/caller-NOTICE and source/independent-NOTICE, and the source file inventory for all consumed bytes. The two operator engines and integer power evaluator come from the declared current-main inputs. + +Jerry Chen (CubeJerry) supplied selected PRs #7000 and #7001. The selected application and its phase, common-root, finite-cost and compiler arguments, the odd-native common-grid package, the prior typed six-Gamma reset of PR #7586 and the contributors credited in those records provided the foundations used here. PR #7661 independently derives the fixed caller residuals. PR #7662 supplies a rounded parent-clock alternative. This package uses neither implementation. diff --git a/research/p104-relay-cut-recoding/credits/PR7669-PROVENANCE.md b/research/p104-relay-cut-recoding/credits/PR7669-PROVENANCE.md new file mode 100644 index 0000000000..bbee2437f0 --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/PR7669-PROVENANCE.md @@ -0,0 +1,43 @@ +# Provenance, credit and scope + +This is a cumulative contribution. Thank you to everyone who has made their constructions, exact inputs, failure cases and careful reviews available. Those contributions made this composition possible; the small increment here should not obscure the much larger body of work it rests on. We aim to leave equally inspectable material for the next researcher. + +## Direct lineage and reused methods + +- **SYLforge, #7637:** the H5B frame-restored233-CLEAR construction is the published ancestor of this research. The present K372-2 source retains its descendants rather than starting a new independent construction. [PR7637](https://github.com/CrocSwap/integer-mult-bounds/pull/7637). +- **DreamingOfClouds, #7641 and #7658:** #7641 combines20 edits over #7637. #7658 supplies the large-neighbourhood construction and its exact joint hub reconstruction: helper360/537 SWAP-NULL relabel, main176 bypass, helper236 contact re-chart, helper370 last-stay removal and helper461 first-stay removal. The source explicitly credits its #7630/#7636 relabel lineage and #7634 swap law. Our source descends from this word; those gains are not claimed as new work here. [PR7641](https://github.com/CrocSwap/integer-mult-bounds/pull/7641), [PR7658](https://github.com/CrocSwap/integer-mult-bounds/pull/7658). +- **Clear1nsight:** the contact re-chart type from #7612 and the24-bit coefficient-splitting report are part of the construction's lineage. #7626 contributed source isolation/portable materialization, and #7631/#7633 are credited by the parent lineage. #7660 separately published the role379 shortcut already present in our source; we do not count its rediscovery as another improvement. [PR7612](https://github.com/CrocSwap/integer-mult-bounds/pull/7612), [coefficient report](https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406), [PR7660](https://github.com/CrocSwap/integer-mult-bounds/pull/7660). +- **ToikY, #7643:** the contact re-chart work is explicitly credited by #7658 alongside Clear1nsight's #7612. Its74-erasure contract and κ are not added to this candidate. No shared CI repair is copied by this PR. [PR7643](https://github.com/CrocSwap/integer-mult-bounds/pull/7643). +- **Rohan Arun, #7113:** the signed caller/accounting lineage underlies the actual16-call composition. Its original source commit is07a76c5e2738882c0cb322278e56f6cae3c9885d. We recount the literal16-call input here; we do not substitute historical17-call constants. [PR7113](https://github.com/CrocSwap/integer-mult-bounds/pull/7113). +- **Ali Romman and upstream contributors:** #7605 supplies an earlier exact protected/application checkpoint cited by the #7637 lineage. The two unmodified directed invoice comparison files are copied from canonical upstream base e54523517d0f03e58352e647c403a5af3e525a57, retaining their attribution and Apache-2.0 headers. Their arithmetic is not a full scientific acceptance gate. [PR7605](https://github.com/CrocSwap/integer-mult-bounds/pull/7605). +- **CubeJerry, Douglas Colkitt and the earlier source contributors:** the retained framework, primitive/service work and repository infrastructure form part of the inherited basis. This package does not claim that their open supplier obligations are resolved by a successful finite replay. + +## What this contribution adds + +The predecessor K372-2 supplies five EARLY edits (1188,1013,940,1141,1195, with940/1141 sharing one ADD). This construction recomputes the1517/770 bypass on that actual source and combined it with a three-field triangle repair. The new contribution is their compatible composition, exact12-block edit, final235 CLEAR witnesses and a small reproducible publication package. Substantial OpenAI Codex assistance was used for research and packaging. New work is Apache-2.0. + +Exact source canonical:3dd1199d95291ee96e6c0aeb6f55f86244a569b1d4975840bf0207e2dcf9c025. Exact candidate canonical:ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d. Byte hashes are in MANIFEST.json. The12 edit blocks specify every changed event and leave all other fields unchanged. The parent research generators are not silently imported; this publication uses the transparent exact edit as its deterministic reconstruction recipe. + +## Related work, not automatically incorporated + +Ali Romman's #7662 studies one half-ADD rounding-error propagation with CubeJerry's service contract. Nick Petalas's #7654 provides a scoped minimal-rank interpolation result used as background when assessing structural repairs. Neither is a substitute for this candidate's entire rounded caller or physical supply proof. Their actual domains and assumptions must be checked before application. [PR7662](https://github.com/CrocSwap/integer-mult-bounds/pull/7662), [PR7654](https://github.com/CrocSwap/integer-mult-bounds/pull/7654). + +At the publication checkpoint, upstream main remained e54523517d0f03e58352e647c403a5af3e525a57. Ali Romman's #7663 uses a separate17-call full-private-bank model and changed helper endpoints; Clear1nsight's #7664 concerns180erasures/17calls; #7666 charges bank selection and return without claiming a new κ. K372-4 is later, separate research with changed helper-boundary conditions. None is silently folded into ee251f60 or used to assert identical physical assumptions. This is not a claim to the greatest bound across all models. + +## Fresh versus reused evidence + +Publication replay freshly reconstructs the whole word, runs exact rows/CLEAR, recounts native/caller histograms and checks the four directed price points. Normal, optimized Python and a Git-free committed-byte export were tested. The recorded ordinary/precision/native-phase/owner evidence retains its narrower scope and original source identifiers; it is not advertised as freshly rerun. No selected record, frozen predecessor package or common verifier is changed. + +## Editorial normalization of publication labels + +The follow-up editorial commit replaces workstation labels with construction terminology. It changes no candidate, edit, certificate, invoice, numeric result, executable code or contributor attribution. The original recorded bytes remain retrievable at commit `95d476623f1468822057554475dc8badb19bfa44`. Evidence JSON field labels and descriptive scopes are normalized, not recomputed scientific results. In NATIVE-EVIDENCE-REUSE.json, `predecessor-receipt:K372-2/NATIVE-NEW.json` is a historical receipt identifier, not a packaged file path. In PRICE-SUMMARY.json, recorded command invoice arguments now use the equivalent packaged `data/INVOICE.json` path; this is a portability transcription, not the verbatim original command. The fresh replay constructs and runs its own package-relative command. MANIFEST.json authenticates the edited publication bytes. + +Evidence byte-custody mapping (original -> editorially normalized SHA-256): + +- `evidence/BUILD.json`: `4744201691120223ded62a3e0d55ea1029203f3ea996305163e7db8d9e3679a4` -> `a0bafbb3f44920ed6ac1ed3d83385f025f5bbbcf5e9c8013ab1ca55ccf23c32d`. + +- `evidence/NATIVE-EVIDENCE-REUSE.json`: `6615b8a051ac9e4d8c73b5decf8a70d2a33d14da0c4c369574dec946984aa351` -> `84bab14d5c584aa8853b8e1025b562541ac6657e458d120ec803f2bc149c3eb8`. + +- `evidence/ROLE770-BUILD.json`: `c4ee72317678791d4b801479df0af052f3a50662c11ce3f3393b2151368fc92d` -> `1c400f16efbc427c40c811a57dc656fe97c2c84f94c71529e2c5c0598b146369`. + +- `evidence/PRICE-SUMMARY.json`: `c2777382c677634f7017b68c55dbd831a40945b77057f26b738f857c17ee8759` -> `d13741fe3217a01edd0b79b40dad037e644e441fbbc300838df99c0b050a5f42`. diff --git a/research/p104-relay-cut-recoding/credits/PR7674-NOTICE b/research/p104-relay-cut-recoding/credits/PR7674-NOTICE new file mode 100644 index 0000000000..951f081717 --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/PR7674-NOTICE @@ -0,0 +1,7 @@ +Apache License 2.0. Research prepared for Ali Romman with substantial OpenAI Codex assistance. + +New work includes the fifteen certified sender/receiver pivots, the forward and transposed communication construction, the complete native row checker, and the finite stock and precision application for this 16-call program. + +SYLforge supplied the composition, native word reconstruction, published invoice and exact 16-stage caller bytes from PR #7669. Their original PROVENANCE.md is preserved in source/7669-CREDITS.md. It credits the H5B work of SYLforge, DreamingOfClouds' joint native reconstructions, Clear1nsight's coefficient splitting, role-379 and helper work, Rohan Arun's signed caller lineage, and prior contributions from CubeJerry, Douglas Colkitt and others. The source/ directory holds the exact file bytes identified in SOURCE-PINS.json. + +The group-ring caller checker, independent operator checks, bit service, finite-cost method and field guide adapt the corresponding code and arguments of Ali Romman's PR #7663. That package in turn builds on the contributors named in its preserved source/7663-NOTICE. The unchanged directed log/exp gate retains its listed sources in source/gate-NOTICE. Earlier paid-transfer and bank-support constructions include PRs #7434 and #7576. Jerry Chen (CubeJerry) supplied the selected PRs #7000 and #7001 and the typed initializer in PR #7586. The per-call odd-grid induction and the selected application review provide the complete-root realization and finite-cost substitution. Douglas Colkitt and the credited repository authors supplied the pinned operator engines, price evaluator and research workflow. The license accompanies this package. diff --git a/research/p104-relay-cut-recoding/credits/PR7682-NOTICE b/research/p104-relay-cut-recoding/credits/PR7682-NOTICE new file mode 100644 index 0000000000..4654631de0 --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/PR7682-NOTICE @@ -0,0 +1,9 @@ +Apache License 2.0. Research prepared for Clear1nsight with substantial OpenAI Codex assistance. + +Ali Romman supplied the fifteen exact banked pivots and the frozen #7674 baseline, along with the complete signed 16-call graph and application method. The original notices remain at peer/NOTICE, peer/source/7663-NOTICE and peer/source/gate-NOTICE. Read peer/SOURCE-PINS.json for each ancestry binding and ASSETS.json for the exact vendored bytes at scientific commit 26b6c469aa6c4aa04322ce25a22150f90e5fb14e and refreshed head 28b2af322a1fab01b3734365988930920f9dda48. + +SYLforge supplied the #7669 composition, native source pins and literal caller. Its preserved parent provenance is peer/source/7669-CREDITS.md. Retain DreamingOfClouds' #7641/#7658 lineage, Clear1nsight's integer scalar/contact work including #7612, ToikY's #7643 contact-rechart precedent, Rohan Arun's #7113 signed-caller lineage, 5080's helper work, and all other contributors named in the original records. Ali Romman's #7663 exact-grid and extent proof and #7666/#7670 selection and guide work supply relevant implementation precedents. Jerry Chen (CubeJerry) supplied the selected #7000/#7001 applications and #7586 typed initialization. Douglas Colkitt and the authors in the original notices supplied the frozen native compiler, independent checker, price evaluator and package infrastructure. + +The release base reuses ToikY's exact shared CI and historical replay sync 0eabc624a9bc9ed2847719efd63390db4d297df4 above canonical e54523517d0f03e58352e647c403a5af3e525a57. This workflow provenance is separate from the banked construction and its mathematical comparison. + +This package credits the original role-230 splice and its same-contract transfer to the unchanged fifteen-pivot graph, the independent exact wire and price replays, matched complete resource accounting and source-bound native and caller verification. The original works retain their authorships and licenses. diff --git a/research/p104-relay-cut-recoding/credits/PR7704-NOTICE b/research/p104-relay-cut-recoding/credits/PR7704-NOTICE new file mode 100644 index 0000000000..7d2dfec60a --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/PR7704-NOTICE @@ -0,0 +1,5 @@ +Apache License 2.0. Prepared for Clear1nsight with substantial OpenAI Codex and ChatGPT Pro assistance. + +SYLforge supplied the cf6a nine-swap word and its normalized verification in #7700. DreamingOfClouds contributed the #7641 and #7658 swap searches. Ali Romman supplied the changed helper contract in #7663 and the charged bank construction in #7674. Rohan Arun and the #7113 lineage supplied the signed caller. The bank, native, physical and directed price methods reuse work by Ali Romman, SYLforge, Clear1nsight and the contributors credited in #7669, #7682 and #7697. Jerry Chen (CubeJerry) supplied the selected #7000 and #7001 application. Douglas Colkitt and the recorded authors supplied the selected framework, compiler, checker and package infrastructure. + +This contribution identifies and contracts the two paid transfers on helper 1256, reconstructs the banked graph from the supplied source, and checks the resulting physical application and complete signed price. The separate investigation and technical review were performed with Codex agents. Preserve the original notices and citations in credits/ when redistributing the source data or derived engines. See SOURCES.json for pinned upstream inputs and ASSETS.json for file-level custody. diff --git a/research/p104-relay-cut-recoding/credits/PR7705-NOTICE b/research/p104-relay-cut-recoding/credits/PR7705-NOTICE new file mode 100644 index 0000000000..2a92a9df69 --- /dev/null +++ b/research/p104-relay-cut-recoding/credits/PR7705-NOTICE @@ -0,0 +1,7 @@ +Apache License 2.0. Research prepared by DreamingOfClouds with Claude Opus 5.5 (Anthropic), via Claude Code. + +The contribution is the hub-reroute construction: its search, the exact builder, the 21 reroutes and the checks in this package. All code here is newly written, and predecessor packages were read as data only. + +Clear1nsight supplied the chart-595 helper split (PR #7697) and the role-230 rechart (PR #7682), which is the first hub reroute. Ali Romman supplied the banked-transfer circuit and its fifteen pivots (PR #7674). SYLforge supplied the #7669 word and the signed sixteen-call caller. DreamingOfClouds, Rohan Arun, Jerry Chen (CubeJerry), Douglas Colkitt and the authors credited in the inherited notices supplied predecessor constructions, the selected framework and the repository infrastructure. + +The exact predecessor notices are in `credits/`. `source/` holds the K372-2 word, the twelve #7669 edits and the 16-call caller as published with #7669. `ASSETS.json` binds every package file. diff --git a/research/p104-relay-cut-recoding/data/CALLER-PHASE-BASES.json b/research/p104-relay-cut-recoding/data/CALLER-PHASE-BASES.json new file mode 100644 index 0000000000..3e4aa383a5 --- /dev/null +++ b/research/p104-relay-cut-recoding/data/CALLER-PHASE-BASES.json @@ -0,0 +1 @@ +{"by_q":{"100":[2,97,8,16,69,37,128,256],"11":[13,14,7,16,32,64,128,256],"112":[2,4,8,97,81,49,128,256],"13":[14,11,7,16,32,64,128,256],"131":[133,134,8,16,32,64,7,256],"133":[134,131,8,16,32,64,7,256],"134":[133,131,8,16,32,64,7,256],"138":[137,4,131,16,32,64,11,256],"14":[13,11,7,16,32,64,128,256],"140":[2,137,133,16,32,64,13,256],"145":[146,4,8,131,32,64,19,256],"146":[145,4,8,131,32,64,19,256],"148":[2,145,8,133,32,64,21,256],"152":[2,4,145,137,32,64,25,256],"161":[162,4,8,16,131,64,35,256],"164":[2,161,8,16,133,64,37,256],"168":[2,4,161,16,137,64,41,256],"176":[2,4,8,161,145,64,49,256],"19":[21,22,8,7,32,64,128,256],"191":[253,251,247,239,223,254,127,256],"193":[194,4,8,16,32,131,67,256],"194":[193,4,8,16,32,131,67,256],"196":[2,193,8,16,32,133,69,256],"200":[2,4,193,16,32,137,73,256],"208":[2,4,8,193,32,145,81,256],"21":[22,19,8,7,32,64,128,256],"22":[21,19,8,7,32,64,128,256],"223":[253,251,247,239,254,191,127,256],"224":[2,4,8,16,193,161,97,256],"239":[253,251,247,254,223,191,127,256],"247":[253,251,254,239,223,191,127,256],"251":[253,254,247,239,223,191,127,256],"253":[254,251,247,239,223,191,127,256],"254":[253,251,247,239,223,191,127,256],"259":[261,262,8,16,32,64,128,7],"26":[25,4,19,11,32,64,128,256],"261":[262,259,8,16,32,64,128,7],"262":[261,259,8,16,32,64,128,7],"265":[266,4,259,16,32,64,128,11],"268":[2,265,261,16,32,64,128,13],"273":[274,4,8,259,32,64,128,19],"274":[273,4,8,259,32,64,128,19],"276":[2,273,8,261,32,64,128,21],"28":[2,25,21,13,32,64,128,256],"280":[2,4,273,265,32,64,128,25],"290":[289,4,8,16,259,64,128,35],"292":[2,289,8,16,261,64,128,37],"296":[2,4,289,16,265,64,128,41],"304":[2,4,8,289,273,64,128,49],"319":[381,379,375,367,351,382,128,127],"321":[322,4,8,16,32,259,128,67],"322":[321,4,8,16,32,259,128,67],"324":[2,321,8,16,32,261,128,69],"328":[2,4,321,16,32,265,128,73],"336":[2,4,8,321,32,273,128,81],"35":[37,38,8,16,7,64,128,256],"351":[381,379,375,367,382,319,128,127],"352":[2,4,8,16,321,289,128,97],"367":[381,379,375,382,351,319,128,127],"37":[38,35,8,16,7,64,128,256],"375":[381,379,382,367,351,319,128,127],"379":[381,382,375,367,351,319,128,127],"38":[37,35,8,16,7,64,128,256],"381":[382,379,375,367,351,319,128,127],"382":[381,379,375,367,351,319,128,127],"385":[386,4,8,16,32,64,259,131],"386":[385,4,8,16,32,64,259,131],"388":[2,385,8,16,32,64,261,133],"392":[2,4,385,16,32,64,265,137],"400":[2,4,8,385,32,64,273,145],"41":[42,4,35,16,11,64,128,256],"415":[445,443,439,431,446,64,319,191],"416":[2,4,8,16,385,64,289,161],"431":[445,443,439,446,415,64,319,191],"439":[445,443,446,431,415,64,319,191],"44":[2,41,37,16,13,64,128,256],"443":[445,446,439,431,415,64,319,191],"445":[446,443,439,431,415,64,319,191],"446":[445,443,439,431,415,64,319,191],"463":[477,475,471,478,32,415,351,223],"471":[477,475,478,463,32,415,351,223],"475":[477,478,471,463,32,415,351,223],"477":[478,475,471,463,32,415,351,223],"478":[477,475,471,463,32,415,351,223],"487":[493,491,494,16,463,431,367,239],"49":[50,4,8,35,19,64,128,256],"493":[494,491,487,16,463,431,367,239],"494":[493,491,487,16,463,431,367,239],"499":[501,502,8,487,471,439,375,247],"50":[49,4,8,35,19,64,128,256],"501":[502,499,8,487,471,439,375,247],"502":[501,499,8,487,471,439,375,247],"505":[506,4,499,491,475,443,379,251],"506":[505,4,499,491,475,443,379,251],"508":[2,505,501,493,477,445,381,253],"56":[2,4,49,41,25,64,128,256],"69":[70,67,8,16,32,7,128,256],"70":[69,67,8,16,32,7,128,256],"73":[74,4,67,16,32,11,128,256],"74":[73,4,67,16,32,11,128,256],"81":[82,4,8,67,32,19,128,256],"84":[2,81,8,69,32,21,128,256],"88":[2,4,81,73,32,25,128,256],"98":[97,4,8,16,67,35,128,256]},"full_phase_table_sha256":"c5916ff312678f12aba403847643fbbc29f643acec60bdf836fa56cd3e8251fa"} diff --git a/research/p104-relay-cut-recoding/data/CALLER.json.gz b/research/p104-relay-cut-recoding/data/CALLER.json.gz new file mode 100644 index 0000000000..26a75a1ae3 Binary files /dev/null and b/research/p104-relay-cut-recoding/data/CALLER.json.gz differ diff --git a/research/p104-relay-cut-recoding/data/CERTS.json b/research/p104-relay-cut-recoding/data/CERTS.json new file mode 100644 index 0000000000..ed66fa4832 --- /dev/null +++ b/research/p104-relay-cut-recoding/data/CERTS.json @@ -0,0 +1,1569 @@ +{ + "candidate_canonical_sha256": "ae62d5d8bef6f7146454b4b3643e487a58380c606a16c5baef7bf0dcf9df1472", + "certificate_rule": "Exact equality to other live public/owned rows; cross-chart sources allowed", + "clear_event_index": { + "100041": { + "550": "1" + }, + "100071": { + "578": "-1/2" + }, + "100124": { + "1334": "1", + "1336": "-2", + "1337": "-1", + "1362": "1", + "1377": "-2", + "1386": "-1/2", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "767": "1/2", + "901": "-1" + }, + "100138": { + "1255": "1/3", + "133": "1", + "1334": "-2/3", + "1336": "4/3", + "1337": "2/3", + "1362": "-1/3", + "1377": "4/3", + "1386": "1", + "483": "1", + "494": "2/3", + "506": "1/2", + "519": "7/6", + "543": "7/6", + "695": "5/3", + "697": "-2/3", + "698": "2/3", + "700": "-1/3", + "701": "-1/3", + "702": "-1/2", + "733": "1/3", + "767": "-5/6", + "883": "2/3", + "892": "2/3", + "901": "2/3", + "929": "2/3", + "962": "2/3", + "981": "2/3" + }, + "100145": { + "1255": "1/2", + "133": "3/2", + "1334": "-1", + "1336": "1/2", + "1337": "1", + "1362": "-1/2", + "1377": "2", + "1386": "3/2", + "1498": "2", + "483": "3/2", + "494": "1", + "506": "3/4", + "519": "7/4", + "543": "7/4", + "695": "5/2", + "697": "-1", + "698": "1", + "700": "-1/2", + "701": "-1/2", + "702": "-3/4", + "733": "1/2", + "767": "-5/4", + "883": "1", + "892": "1", + "901": "1", + "929": "1", + "962": "1", + "981": "1" + }, + "100199": { + "1255": "1/2", + "1262": "-2", + "133": "-1/2", + "1334": "1", + "1337": "-1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "499": "-2", + "519": "-1", + "543": "-1", + "695": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "900": "1", + "901": "-1", + "929": "1", + "962": "1", + "981": "1" + }, + "100202": { + "1158": "-1/2", + "1160": "-1", + "1207": "2", + "1243": "-2", + "1400": "2", + "146": "4", + "1463": "-4/3", + "1479": "-3", + "1495": "-2", + "228": "2", + "428": "-1", + "430": "-1", + "451": "-1", + "508": "2", + "581": "1", + "582": "1", + "637": "-1", + "922": "-1", + "925": "1", + "974": "1", + "983": "-1" + }, + "100262": { + "1449": "1", + "1450": "1", + "268": "-1", + "38": "1", + "546": "1/2", + "578": "-1/2", + "648": "-1", + "652": "-1", + "654": "-1" + }, + "100370": { + "1473": "-1", + "165": "1" + }, + "100653": { + "133": "-3", + "1334": "2", + "1336": "-1", + "1337": "-1", + "1362": "2", + "1377": "-4", + "1386": "-3", + "1498": "-2", + "483": "-3", + "494": "-2", + "506": "-3/2", + "519": "-7/2", + "543": "-7/2", + "695": "-7/2", + "697": "2", + "698": "-2", + "700": "1", + "701": "1", + "702": "-3/2", + "767": "5/2", + "901": "-2", + "986": "2" + }, + "100775": { + "242": "1", + "499": "1" + }, + "100831": { + "430": "1" + }, + "100850": { + "1404": "1", + "359": "-1/2" + }, + "100855": { + "328": "1", + "573": "1" + }, + "100897": { + "498": "1" + }, + "100900": { + "1395": "1", + "551": "1" + }, + "100903": { + "1410": "1", + "392": "1" + }, + "101017": { + "294": "1" + }, + "101025": { + "501": "1" + }, + "101028": { + "295": "1" + }, + "101066": { + "547": "-1/2" + }, + "101116": { + "474": "1" + }, + "101153": { + "577": "-1/2" + }, + "101165": { + "1463": "1/2" + }, + "101326": { + "511": "1" + }, + "101338": { + "1405": "1", + "354": "-1/2" + }, + "101676": { + "498": "-3/2", + "540": "2" + }, + "101714": { + "344": "2", + "512": "-3/2" + }, + "101731": { + "28": "2", + "513": "-3/2" + }, + "101741": { + "1435": "1", + "366": "1" + }, + "101816": { + "274": "1", + "457": "1" + }, + "101851": { + "510": "-3/2", + "528": "2" + }, + "101867": { + "151": "-2", + "501": "-1", + "528": "-4", + "60": "-2", + "623": "-1", + "625": "-1/2", + "626": "1", + "628": "2", + "629": "2", + "630": "2", + "768": "1/2" + }, + "101889": { + "917": "-1" + }, + "101897": { + "1016": "-1", + "1018": "-1", + "1031": "-1", + "1033": "-1", + "1043": "-1/2", + "1047": "-1/2", + "1049": "-1/2", + "1205": "-2", + "1206": "2", + "1232": "-1", + "1238": "1/2", + "129": "-1/2", + "1291": "-1", + "1302": "-1", + "1303": "-1/2", + "1322": "-1", + "1323": "-1", + "1324": "1/2", + "1325": "1/2", + "1394": "1/2", + "1427": "-1", + "150": "-1/2", + "28": "-1", + "296": "-1", + "344": "-1", + "402": "-2", + "407": "-2", + "418": "-2", + "423": "-2", + "484": "-2", + "485": "2", + "540": "-1", + "568": "2", + "569": "2", + "570": "-1/2", + "575": "2", + "576": "3/2", + "651": "-1", + "661": "-1", + "662": "-1", + "707": "-1/2", + "732": "-1/2", + "810": "-1/2", + "882": "-1", + "883": "-1", + "888": "-1", + "889": "1", + "894": "-1", + "895": "-1", + "897": "-1", + "898": "-1", + "907": "1", + "908": "1", + "910": "-1", + "918": "-1", + "919": "-1", + "920": "-1", + "921": "-1", + "928": "-1", + "930": "-1", + "932": "-1", + "933": "-1", + "934": "-1", + "935": "1", + "950": "-1", + "952": "-1", + "953": "1", + "954": "-1", + "957": "1", + "958": "-1", + "959": "-1", + "963": "1", + "968": "-1", + "975": "-1", + "976": "-1", + "977": "-1", + "979": "1", + "980": "-1", + "981": "-1", + "982": "-1", + "995": "-2" + }, + "102006": { + "580": "1" + }, + "102010": { + "428": "-3", + "474": "-1/2" + }, + "102033": { + "294": "-3/2", + "408": "2" + }, + "102075": { + "553": "1" + }, + "102146": { + "295": "-1/2", + "424": "-3" + }, + "102234": { + "546": "1", + "577": "-1" + }, + "102242": { + "547": "1", + "578": "-1" + }, + "102333": { + "558": "1", + "575": "-1" + }, + "102340": { + "558": "-1", + "575": "1" + }, + "102355": { + "559": "1", + "576": "-1" + }, + "102362": { + "559": "-1", + "576": "1" + }, + "102412": { + "546": "-1", + "577": "1" + }, + "102485": { + "516": "2" + }, + "102501": { + "523": "1", + "580": "2" + }, + "102508": { + "523": "1/2", + "580": "-2" + }, + "102527": { + "268": "-1", + "568": "1" + }, + "102679": { + "1410": "-1", + "526": "-3/2" + }, + "102694": { + "1399": "-1", + "527": "-3/2" + }, + "102709": { + "490": "1/2", + "550": "-2" + }, + "102779": { + "1434": "1/2", + "553": "-2" + }, + "102801": { + "430": "-2", + "457": "-1/4" + }, + "102929": { + "547": "-1", + "578": "1" + }, + "102963": {}, + "102975": { + "356": "2", + "500": "-3/2" + }, + "103007": { + "295": "-3/2", + "424": "2" + }, + "103031": { + "428": "2", + "474": "-3/2" + }, + "103051": { + "278": "-3/2", + "562": "2" + }, + "103089": { + "438": "-1", + "585": "-2" + }, + "103110": { + "106": "-5/4", + "1162": "4", + "1163": "-4", + "1365": "1", + "1373": "2", + "1380": "1", + "1385": "7/4", + "1392": "-1/2", + "1397": "-8", + "1448": "-1", + "240": "3/4", + "405": "-2", + "41": "-1", + "42": "1/2", + "728": "1", + "813": "2" + }, + "103119": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "103133": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "103334": { + "862": "-1" + }, + "103340": { + "1000": "-1/2", + "1206": "-3", + "1207": "1", + "1208": "-1/2", + "1343": "-1/4", + "1344": "-1/4", + "1346": "-1/4", + "1347": "-1/4", + "1354": "1", + "1393": "-1/4", + "1445": "1", + "1458": "-1/2", + "1460": "-2", + "1466": "1", + "1477": "1", + "1490": "2", + "226": "1", + "230": "1", + "449": "-4", + "473": "1", + "485": "1", + "496": "1", + "508": "1", + "521": "1", + "544": "1", + "7": "-1/2", + "779": "-1/2", + "857": "-1/2", + "87": "-1/2", + "882": "-1/2", + "883": "-1/2", + "884": "-1/2", + "888": "-1/2", + "889": "1/2", + "890": "-1/2", + "894": "-1/2", + "898": "-1/2", + "902": "-1/2", + "903": "-1/2", + "904": "-1/2", + "905": "-1/2", + "906": "-1/2", + "907": "-1/2", + "910": "-1/2", + "914": "-1/2", + "918": "-1/2", + "919": "-1/2", + "920": "-1/2", + "921": "-1/2", + "922": "-1/2", + "931": "-1/2", + "932": "-1/2", + "933": "-1/2", + "934": "-1/2", + "940": "-1/2", + "941": "-1/2", + "942": "-1/2", + "946": "-1/2", + "947": "-1/2", + "948": "-1/2", + "949": "-1/2", + "950": "-1/2", + "951": "-1/2", + "958": "-1/2", + "959": "-1/2", + "960": "-1/2", + "965": "-1/2", + "966": "-1/2", + "967": "-1/2", + "971": "-1/2", + "972": "-1/2", + "973": "-1/2", + "976": "-1/2", + "977": "-1/2", + "978": "-1/2", + "980": "-1/2", + "981": "-1/2", + "982": "-1/2", + "983": "-1/2", + "984": "-1/2", + "985": "-1/2", + "990": "1", + "994": "1/2" + }, + "103367": { + "742": "1/4", + "998": "1/2" + }, + "103456": { + "126": "1/4", + "15": "1/4", + "164": "1/4", + "679": "-1/4", + "682": "-1/4" + }, + "103466": { + "126": "-1/4", + "164": "1/4", + "413": "1/2", + "679": "-1/4", + "682": "-1/4" + }, + "103604": { + "126": "1/4", + "15": "1/4", + "164": "1/4", + "679": "-1/4", + "682": "-1/4" + }, + "103608": { + "126": "-1/4", + "164": "1/4", + "413": "1/2", + "679": "-1/4", + "682": "-1/4" + }, + "103657": {}, + "103744": { + "108": "-1", + "1492": "-2", + "22": "-1/2", + "23": "-1/2", + "320": "-1/2", + "333": "-1", + "49": "1" + }, + "103837": {}, + "103839": {}, + "103840": {}, + "103842": {}, + "103843": {}, + "103861": {}, + "103878": {}, + "103918": {}, + "103922": {}, + "103965": { + "1082": "-1", + "794": "-4" + }, + "104013": {}, + "104176": { + "1074": "1/2", + "1221": "1", + "1222": "1", + "1255": "1", + "1311": "1", + "1312": "1", + "1313": "1", + "1314": "1/2", + "1356": "1", + "757": "1/2", + "796": "1/2", + "890": "-1", + "906": "-1", + "942": "-1", + "943": "1", + "956": "1", + "964": "1", + "971": "-1" + }, + "104195": {}, + "104258": {}, + "104340": {}, + "104341": {}, + "104349": {}, + "104355": {}, + "104356": {}, + "104366": {}, + "104369": {}, + "104379": {}, + "104385": {}, + "104388": {}, + "104389": {}, + "104393": {}, + "104406": {}, + "104407": {}, + "104414": {}, + "104428": {}, + "104429": {}, + "104445": { + "1025": "-2", + "1029": "-5/2", + "831": "-1", + "864": "2" + }, + "104476": { + "1499": "1", + "998": "-1" + }, + "104481": {}, + "104482": {}, + "104500": { + "863": "1" + }, + "104503": {}, + "154767": { + "770": "1" + }, + "89018": {}, + "89756": { + "233": "1" + }, + "89953": { + "1072": "1", + "500": "-1" + }, + "90303": { + "1089": "1", + "510": "-1" + }, + "90305": { + "22": "1/4", + "23": "-3/4", + "320": "1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "-1" + }, + "90687": {}, + "91048": { + "110": "-3/8", + "20": "1/8", + "37": "1/8", + "432": "1/2", + "433": "1/8", + "435": "1/2", + "437": "-1/4", + "442": "3/2", + "735": "3/8" + }, + "91146": { + "29": "-1/4", + "30": "-3/4", + "352": "-1/8", + "353": "1/4", + "355": "-1/2", + "357": "1/4", + "362": "-1/2", + "59": "1/4" + }, + "91219": {}, + "91288": {}, + "91372": { + "500": "1" + }, + "91562": { + "628": "-2", + "630": "-2" + }, + "91564": { + "30": "1/4", + "352": "-1/8", + "353": "-1/4", + "355": "1/2", + "357": "-1/4", + "362": "-1/2", + "59": "-1/2" + }, + "91569": { + "106": "-2", + "1165": "-1", + "1365": "1", + "1380": "-1", + "1385": "1", + "240": "1", + "403": "2", + "405": "1/4", + "728": "-4", + "729": "4", + "730": "4", + "813": "2" + }, + "91572": { + "30": "-3/4", + "352": "-1/8", + "353": "1/4", + "355": "1/2", + "357": "1/4", + "362": "-1/2" + }, + "91575": { + "30": "-1/4", + "352": "-1/8", + "353": "-1/4", + "355": "-1/2", + "357": "-1/4", + "362": "-1/2" + }, + "91596": { + "30": "-3/2", + "352": "-1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "1", + "59": "1" + }, + "91868": { + "17": "-5/8", + "273": "-1/2", + "275": "-1", + "277": "1/2", + "282": "-1", + "77": "-1/2" + }, + "91895": {}, + "91931": { + "22": "1/8", + "23": "1/8", + "320": "1/8", + "321": "1/4", + "323": "1/2", + "325": "1/4", + "330": "-1/2" + }, + "91988": { + "1385": "-1/4", + "240": "-1/4" + }, + "91999": { + "385": "-1/4", + "387": "-1/2", + "389": "-1/4", + "394": "-1/2", + "64": "1/8" + }, + "92006": { + "1173": "1", + "573": "-1" + }, + "92008": { + "106": "-3/2", + "1162": "-2", + "1165": "-2", + "1365": "1/4", + "1380": "-1/4", + "1385": "-1/2", + "240": "-1/2", + "401": "1/16", + "403": "2", + "405": "7/16", + "41": "1/2", + "730": "2", + "813": "-1/2", + "814": "-2", + "876": "-1/2" + }, + "92038": { + "18": "1/4", + "288": "-1/4", + "289": "-1/2", + "291": "-1/2", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "92119": { + "103": "1/2", + "17": "-5/8", + "272": "-1/2", + "273": "-1/2", + "275": "-1", + "277": "1/2", + "282": "1" + }, + "92125": { + "23": "-1/4", + "320": "-1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "1" + }, + "92233": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "-1" + }, + "92243": { + "385": "1/2", + "387": "-1", + "389": "-1/2", + "394": "-1", + "64": "1/4", + "96": "1" + }, + "92260": {}, + "92280": { + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "-1", + "64": "-1/4", + "65": "-1/2", + "96": "1/2" + }, + "92284": { + "29": "-1/2", + "30": "-1/4", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "-1", + "59": "1/2" + }, + "92536": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "291": "5/2", + "293": "-1", + "298": "-1", + "39": "1/4", + "40": "1/4" + }, + "92717": { + "104": "1/2", + "1179": "-1", + "416": "-1/2", + "417": "1", + "421": "1/2", + "426": "2" + }, + "92742": { + "17": "-1/4", + "273": "1/2", + "275": "-1", + "277": "-1/2", + "282": "-1" + }, + "92856": { + "224": "1/8", + "225": "1/2", + "227": "-1", + "229": "-1/4", + "234": "-1/2", + "57": "-1/8", + "81": "1/8" + }, + "92899": { + "23": "1/4", + "320": "1/4", + "321": "1/2", + "323": "1", + "325": "1/2", + "330": "-1" + }, + "92904": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "-1" + }, + "92936": { + "18": "1/4", + "288": "1/4", + "289": "-1/2", + "298": "-1", + "39": "-1/4", + "40": "1/4" + }, + "92968": { + "384": "-1/2", + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "1", + "64": "-3/4" + }, + "93003": { + "1120": "1", + "358": "-1" + }, + "93005": { + "30": "-1/4", + "352": "-1/2", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "1", + "59": "1/2" + }, + "93009": { + "26": "1/4", + "368": "-3/4", + "369": "-1/2", + "371": "-1", + "373": "1/2", + "378": "1", + "8": "1/4" + }, + "93063": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "293": "-1", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "93073": { + "107": "-1/4", + "304": "-1/4", + "305": "1/2", + "307": "-1", + "309": "-1/2", + "314": "1", + "35": "1/4", + "45": "1/4" + }, + "93111": { + "17": "-1/4", + "273": "1/2", + "275": "-1", + "277": "-1/2", + "282": "1" + }, + "93118": { + "1086": "1", + "513": "-1" + }, + "93120": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "1" + }, + "93275": { + "106": "-5/64", + "1154": "1/2", + "1162": "-1/2", + "1163": "-1/4", + "1168": "-1", + "1173": "1/2", + "1349": "1/4", + "1365": "1/16", + "1373": "1/8", + "1380": "1/16", + "1385": "-9/64", + "1392": "-1/32", + "1448": "-1/16", + "240": "-13/64", + "402": "1/4", + "405": "-1/8", + "41": "-1/16", + "42": "1/32", + "570": "-1", + "573": "1/2", + "728": "5/16", + "813": "1/8", + "875": "1/2" + }, + "93278": { + "106": "-5/4", + "1162": "-8", + "1163": "-4", + "1365": "1", + "1373": "2", + "1380": "1", + "1385": "7/4", + "1392": "-1/2", + "1448": "-1", + "240": "3/4", + "405": "-2", + "41": "-1", + "42": "1/2", + "728": "1", + "813": "2" + }, + "93329": { + "1343": "-1", + "1344": "-1", + "1346": "-1", + "1347": "-1" + }, + "93419": { + "26": "-1/8", + "368": "1/8", + "369": "1/4", + "371": "-1/2", + "372": "-1/2", + "373": "-1/4", + "377": "-1", + "378": "1/2", + "8": "1/8" + }, + "94322": { + "26": "-3/8", + "368": "1/8", + "369": "1/4", + "371": "-1/2", + "373": "1/4", + "378": "-1/2", + "8": "-3/8" + }, + "94679": {}, + "94893": { + "104": "-3/8", + "1179": "1/2", + "1185": "4", + "1388": "-4", + "1391": "-3", + "416": "3/8", + "417": "-1/4", + "419": "-1/2", + "421": "-1/8", + "426": "1/2", + "43": "-1/2", + "788": "4", + "815": "-4" + }, + "94930": { + "86": "1" + }, + "95064": { + "385": "1/4", + "387": "-1/2", + "389": "1/4", + "394": "-1/2", + "64": "-1/8", + "65": "-1/4", + "96": "3/8" + }, + "95872": { + "1402": "1", + "290": "1" + }, + "95946": { + "1112": "1/2", + "350": "1/2" + }, + "96007": { + "1470": "-1", + "169": "1" + }, + "96147": { + "1471": "-1", + "203": "1" + }, + "96360": { + "103": "1", + "108": "1", + "18": "1", + "45": "1", + "61": "1", + "63": "1" + }, + "96394": { + "1206": "1/3", + "1455": "-2/3", + "1460": "2/3", + "449": "4/3" + }, + "96427": { + "368": "1/4", + "721": "-1", + "723": "-1", + "724": "-1", + "725": "-1", + "9": "1/4" + }, + "96445": { + "368": "1/4", + "9": "1/4" + }, + "96484": { + "368": "1", + "9": "1" + }, + "96522": { + "1144": "4", + "1390": "-2", + "26": "5/2", + "368": "3/8", + "369": "-1/4", + "371": "1/2", + "373": "-1/4", + "378": "-1/2", + "381": "2", + "723": "2", + "725": "-2", + "8": "1/8", + "865": "8", + "95": "1/4" + }, + "96525": { + "1138": "4", + "1390": "-2", + "26": "5/2", + "368": "3/8", + "369": "-1/4", + "371": "-1/2", + "373": "-1/4", + "378": "-1/2", + "381": "2", + "723": "2", + "724": "-2", + "8": "1/8", + "865": "8", + "95": "1/4" + }, + "96724": {}, + "96957": { + "256": "1/4", + "336": "1/4" + }, + "96992": { + "1020": "2/3", + "1023": "-4/3", + "1025": "-2/3", + "1029": "-1/3", + "831": "1/3" + }, + "97194": { + "1098": "1", + "337": "-1/4", + "341": "1/4", + "346": "-1/2", + "58": "-1/8", + "712": "-7/4", + "714": "1/4", + "93": "-1/4" + }, + "97219": { + "1207": "-2", + "1479": "3", + "451": "2", + "581": "-1", + "582": "-1" + }, + "97234": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "1390": "-1/4", + "26": "1/16", + "3": "1/16", + "546": "1", + "550": "-1/2", + "553": "-1/2", + "67": "1/32", + "721": "-1/4", + "724": "-1/4", + "725": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "97243": { + "1102": "1", + "1106": "1/2", + "1110": "1/2", + "1113": "-1/2", + "1224": "-1/2", + "1249": "1", + "1280": "1", + "1341": "-1/4", + "1342": "-1/4", + "1355": "1", + "338": "-1/4", + "348": "1/2", + "526": "1/2", + "712": "-1/4", + "714": "-1/4", + "863": "-2" + }, + "97269": { + "640": "-1/2", + "641": "-1/2" + }, + "97291": { + "913": "-1", + "927": "1" + }, + "97325": { + "228": "1" + }, + "97351": { + "92": "1/4" + }, + "97368": { + "1078": "1", + "1080": "1", + "1258": "1", + "1259": "1", + "1340": "1", + "146": "-2", + "1479": "1", + "451": "1", + "496": "2", + "497": "-2", + "581": "-1", + "582": "-1", + "889": "-1", + "895": "1", + "897": "1", + "898": "-1", + "907": "1", + "919": "-1" + }, + "97377": { + "146": "-1/2" + }, + "97423": { + "1469": "-1", + "223": "1" + }, + "97474": { + "1484": "1/2", + "34": "-1/2", + "49": "-1/2" + }, + "97859": { + "125": "1", + "1457": "-1" + }, + "97883": { + "139": "1", + "1474": "-1" + }, + "97920": { + "1472": "-1", + "163": "1" + }, + "97927": { + "1465": "-1", + "201": "1" + }, + "98067": { + "752": "-1", + "891": "1", + "937": "-1" + }, + "98072": { + "611": "1", + "613": "1", + "752": "1", + "891": "-1", + "937": "1" + }, + "98079": { + "1277": "-1", + "1279": "2", + "1368": "-3", + "1374": "2", + "1551": "2", + "476": "-1", + "489": "-1", + "524": "1", + "607": "-1", + "608": "-1/4", + "610": "3/4", + "611": "-1", + "612": "-1", + "613": "-1/2", + "770": "1" + }, + "98307": { + "128": "1", + "1476": "-1" + }, + "98315": { + "119": "1", + "1475": "-1" + }, + "98318": { + "1458": "-1", + "154": "1" + }, + "98359": { + "225": "-1/2", + "229": "1/4" + }, + "98449": { + "707": "4" + }, + "98468": { + "1233": "1", + "1381": "1" + }, + "98554": { + "108": "1", + "22": "1/2", + "23": "1/2", + "320": "-1/2", + "333": "2", + "49": "-1" + }, + "98558": { + "1466": "-1" + }, + "98970": { + "1208": "1", + "1461": "-3", + "454": "12" + }, + "99066": { + "1154": "1/2", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1385": "-3/16", + "1448": "1/4", + "1474": "1/2", + "240": "-3/16", + "402": "1/4", + "52": "-1/2", + "570": "-1", + "573": "1/2", + "737": "-1/2", + "875": "1/2", + "882": "1/2", + "895": "1/2", + "897": "1/2", + "907": "-1/2", + "928": "1/2", + "954": "1/2", + "957": "-1/2", + "968": "1/2", + "975": "1/2" + }, + "99218": { + "1031": "-1", + "1033": "-1", + "1221": "-1", + "1222": "-1", + "1224": "-1", + "1302": "-1", + "1311": "-1", + "1312": "-1", + "1319": "-1", + "1338": "-1/2", + "1360": "-1", + "1361": "-1", + "1366": "-1", + "1426": "2", + "251": "2", + "265": "-2", + "471": "4", + "549": "2", + "650": "-1", + "674": "-1", + "704": "-1/2", + "882": "-1", + "884": "-1", + "889": "1", + "905": "-1", + "907": "-1", + "934": "1", + "938": "1", + "939": "1", + "946": "-1", + "947": "-1", + "948": "-1", + "952": "-1", + "955": "1", + "957": "1", + "963": "-1", + "965": "-1", + "968": "1", + "970": "1" + }, + "99279": { + "68": "1", + "777": "1" + }, + "99282": { + "68": "1", + "777": "1" + }, + "99299": { + "68": "1" + }, + "99320": { + "1322": "-1", + "1325": "1/2", + "1394": "1/2", + "1427": "-1", + "30": "-1/8", + "353": "-1/4", + "355": "-1/2", + "357": "-1/4", + "362": "-1/2", + "538": "-1", + "59": "1/8" + }, + "99464": { + "1495": "-2" + }, + "99564": { + "1208": "1" + }, + "99578": { + "1277": "-1/4", + "1279": "1/2", + "1280": "3/8", + "1368": "-3/4", + "1374": "1/2", + "1551": "1/4", + "173": "1/2", + "476": "-1/4", + "489": "-1/4", + "524": "1/4", + "608": "-1/16", + "610": "3/16", + "611": "-1/4", + "612": "-1/4", + "613": "-1/8", + "770": "1/4", + "891": "3/8", + "905": "3/8" + }, + "99593": { + "151": "1/2" + }, + "99778": { + "382": "1/2", + "816": "-1/2" + }, + "99846": { + "559": "-1/2" + }, + "99858": { + "546": "-1/2" + }, + "99866": { + "568": "-1/2" + }, + "99873": { + "575": "-1/2" + }, + "99881": { + "292": "1" + }, + "99884": { + "558": "-1/2" + }, + "99891": { + "1399": "1", + "563": "1" + }, + "99898": { + "1436": "1", + "364": "1" + }, + "99917": { + "428": "1" + }, + "99939": { + "512": "1" + }, + "99965": { + "527": "1" + }, + "99986": { + "523": "-1/2" + } + } +} \ No newline at end of file diff --git a/research/p104-relay-cut-recoding/data/PARENT-PRICE.json b/research/p104-relay-cut-recoding/data/PARENT-PRICE.json new file mode 100644 index 0000000000..b323c5f3b0 --- /dev/null +++ b/research/p104-relay-cut-recoding/data/PARENT-PRICE.json @@ -0,0 +1,865 @@ +{ + "additional_raw_rank_one_rejected_at_7700_upper": { + "binary_rational_log_exp": [ + "-8599742518680357533067603463367982908480171147/11417981541647679048466287755595961091061972992", + "-8599742518680357533067146186196874058483594957/11417981541647679048466287755595961091061972992" + ], + "decimal_fixed_grid": [ + "-37658768703173810917731406481511428721878226526883179610702040435034976026903983/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-75317537406347621835462812963022857443756453053766359221404080870069952022807281/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -0.7531753740634762, + -0.7531753740634762 + ], + "intersection": [ + "-37658768703173810917731406481511428721878226526883179610702040435034976026903983/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-75317537406347621835462812963022857443756453053766359221404080870069952022807281/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "caller_proof_sha256": "f7714c03f0be9fa4213b456e13a12503c6ae681713163ed92f2352cba9981277", + "caller_sha256": "62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf", + "candidate_directed_conditional_lower": "0.0037300417", + "candidate_raw_bracket": [ + "0.0037300417703", + "0.0037300417704" + ], + "compiler": { + "BIT_margin": "3664829993/100000000000000", + "BIT_pin": "376669/100000000", + "H": "14571800000000000000", + "alpha": [ + 0.9999999999079976, + 0.9999999999079976 + ], + "claim": "37300417/10000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.932459171959268, + 0.932459171959268 + ], + "derivative_upper": -348231.39317318436, + "gamma": [ + 0.9335985350170339, + 0.9335985350170339 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "37300417/10000000000": [ + "127134530360326271572598835937424647091694124912458858057301327285391521690487/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "127134530360326271572598835937424647091694124912458858057301327285391521692421/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "373004170007/100000000000000": [ + "127134530362607895381675687722798693621943659918379661239296944961706184739889/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "63567265181303947690837843861399346810971829959189830619648472480853092370921/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2288, + "moment_margin_float": { + "373004170007/100000000000000": [ + 2.482090814436341e-05, + 2.482090814436341e-05 + ], + "37300417703/10000000000000": [ + 7.479904153113623e-09, + 7.479904153113623e-09 + ], + "4662552213/1250000000000": [ + -2.7851760714660898e-08, + -2.7851760714660898e-08 + ] + }, + "moment_margins": { + "373004170007/100000000000000": [ + "155130675902271304546782744281423676599435208746529490810913712459735046739/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "155130675902271304546782744281423676599435208746529490810913712459737281191/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "37300417703/10000000000000": [ + "11687350239240037592917962136848572399312430947002741803132605351040073/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "23374700478480075185835924273697144798624861894005483606265210703196951/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "4662552213/1250000000000": [ + "-174073504466630610065470903760997367134511847373232170315263688230159511/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-4351837611665765251636772594024934178362796184330804257881592205698127/156250000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "37300417703/10000000000000", + "4662552213/1250000000000" + ], + "tested": "373004170007/100000000000000", + "written_log_power": 2289 + }, + "directed_checks": { + "candidate": { + "0.0037266288770": { + "binary_rational_log_exp": [ + "110146112429290604606567564538975360364771565317/91343852333181432387730302044767688728495783936", + "110146112429290604606571222800547397783707378803/91343852333181432387730302044767688728495783936" + ], + "decimal_fixed_grid": [ + "1884125710431073858126657848782854245693081858610941658949929615241590865844213/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "7536502841724295432506631395131416982772327434443766635799718460966363465298837/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 1.2058404546758872, + 1.2058404546758872 + ], + "intersection": [ + "1884125710431073858126657848782854245693081858610941658949929615241590865844213/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "7536502841724295432506631395131416982772327434443766635799718460966363465298837/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.00372934317807": { + "binary_rational_log_exp": [ + "2818239022967321515398684292227978182581801845/11417981541647679048466287755595961091061972992", + "2818239022967321515399141569399087032578378035/11417981541647679048466287755595961091061972992" + ], + "decimal_fixed_grid": [ + "385663478025818408820893547452767852441305421034900637165561236405156999159251/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "1542653912103273635283574189811071409765221684139602548662244945620627998574543/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 0.2468246259365238, + 0.2468246259365238 + ], + "intersection": [ + "385663478025818408820893547452767852441305421034900637165561236405156999159251/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "1542653912103273635283574189811071409765221684139602548662244945620627998574543/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.00372935": { + "binary_rational_log_exp": [ + "5581436334463219388858474474165686286896139553/22835963083295358096932575511191922182123945984", + "22325745337852877555437556113920519545306919579/91343852333181432387730302044767688728495783936" + ], + "decimal_fixed_grid": [ + "95474342824829655710581844236980562996181743627410129581524490015917062779497/390625000000000000000000000000000000000000000000000000000000000000000000000000", + "1527589485197274491369309507791689007938907898038562073304391840254673006412181/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 0.24441431763156393, + 0.24441431763156393 + ], + "intersection": [ + "95474342824829655710581844236980562996181743627410129581524490015917062779497/390625000000000000000000000000000000000000000000000000000000000000000000000000", + "1527589485197274491369309507791689007938907898038562073304391840254673006412181/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.0037300417": { + "binary_rational_log_exp": [ + "2269496499579699112339886117061815702746675/91343852333181432387730302044767688728495783936", + "1134748249789849557999046055195110145029257/45671926166590716193865151022383844364247891968" + ], + "decimal_fixed_grid": [ + "155285251936112315456479371927364985544941032823129586905765382511620851603/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "155285251936112315456479371927364985544941032823129586905765382511622819121/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 2.484564030977797e-05, + 2.484564030977797e-05 + ], + "intersection": [ + "155285251936112315456479371927364985544941032823129586905765382511620851603/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "155285251936112315456479371927364985544941032823129586905765382511622819121/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.00373004170007": { + "binary_rational_log_exp": [ + "1133618684157095783655248945883265353544141/45671926166590716193865151022383844364247891968", + "1133618684157095785484351942546897667451207/45671926166590716193865151022383844364247891968" + ], + "decimal_fixed_grid": [ + "77565337951135652273391372140711838299717604373264745405456856229867593143/3125000000000000000000000000000000000000000000000000000000000000000000000000000", + "38782668975567826136695686070355919149858802186632372702728428114934285411/1562500000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 2.482090814436341e-05, + 2.482090814436341e-05 + ], + "intersection": [ + "77565337951135652273391372140711838299717604373264745405456856229867593143/3125000000000000000000000000000000000000000000000000000000000000000000000000000", + "38782668975567826136695686070355919149858802186632372702728428114934285411/1562500000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.0037300417703": { + "binary_rational_log_exp": [ + "170810815107089745856347365951834932173/22835963083295358096932575511191922182123945984", + "21351351888386332550980676480214280087/2854495385411919762116571938898990272765493248" + ], + "decimal_fixed_grid": [ + "2921837559810009398229490534212143099828107736750685450783151337768941/390625000000000000000000000000000000000000000000000000000000000000000000000000", + "23374700478480075185835924273697144798624861894005483606265210703125569/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 7.479904153113623e-09, + 7.479904153113623e-09 + ], + "intersection": [ + "2921837559810009398229490534212143099828107736750685450783151337768941/390625000000000000000000000000000000000000000000000000000000000000000000000000", + "23374700478480075185835924273697144798624861894005483606265210703125569/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.0037300417704": { + "binary_rational_log_exp": [ + "-1272043558969545601326512534137978060097/45671926166590716193865151022383844364247891968", + "-1272043558969543772223516443172476282645/45671926166590716193865151022383844364247891968" + ], + "decimal_fixed_grid": [ + "-174073504466630610065470903760997367134511847373232170315263688230018769/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-87036752233315305032735451880498683567255923686616085157631844114032911/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -2.7851760714660898e-08, + -2.7851760714660898e-08 + ], + "intersection": [ + "-174073504466630610065470903760997367134511847373232170315263688230018769/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-87036752233315305032735451880498683567255923686616085157631844114032911/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "0.00376669": { + "binary_rational_log_exp": [ + "-591335362699765775587779477507466682058202937257/45671926166590716193865151022383844364247891968", + "-591335362699765775587777648702856973754170593553/45671926166590716193865151022383844364247891968" + ], + "decimal_fixed_grid": [ + "-80921614809779345208660309239435135963074441857437721868148355147975956116123243/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-16184322961955869041732061847887027192614888371487544373629671029595191222833267/1250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -12.947458369564695, + -12.947458369564695 + ], + "intersection": [ + "-80921614809779345208660309239435135963074441857437721868148355147975956116123243/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-16184322961955869041732061847887027192614888371487544373629671029595191222833267/1250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + } + }, + "parent": { + "0.0037266288770": { + "binary_rational_log_exp": [ + "87616520999586356436860558021362289570996605841/91343852333181432387730302044767688728495783936", + "5476032562474147277304013504082088963469594349/5708990770823839524233143877797980545530986496" + ], + "decimal_fixed_grid": [ + "2997482820463951358055314366400162835385567211018285361303574707002155519433447/3125000000000000000000000000000000000000000000000000000000000000000000000000000", + "1198993128185580543222125746560065134154226884407314144521429882800862208157777/1250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 0.9591945025484644, + 0.9591945025484644 + ], + "intersection": [ + "2997482820463951358055314366400162835385567211018285361303574707002155519433447/3125000000000000000000000000000000000000000000000000000000000000000000000000000", + "1198993128185580543222125746560065134154226884407314144521429882800862208157777/1250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.00372934317806": { + "binary_rational_log_exp": [ + "3513072731087581056558636134878271713/22835963083295358096932575511191922182123945984", + "1756536365544247778248071843435770387/11417981541647679048466287755595961091061972992" + ], + "decimal_fixed_grid": [ + "961496762331106105469491593466166006745107573003451180822901611085067/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "480748381165553052734745796733083003372553786501725590411450806513819/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 1.5383948197297697e-10, + 1.5383948197297697e-10 + ], + "intersection": [ + "961496762331106105469491593466166006745107573003451180822901611085067/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "480748381165553052734745796733083003372553786501725590411450806513819/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.00372934317807": { + "binary_rational_log_exp": [ + "-77185449897286687159549629292367323243/22835963083295358096932575511191922182123945984", + "-308741799589143090638448487124340489375/91343852333181432387730302044767688728495783936" + ], + "decimal_fixed_grid": [ + "-2640621396711110824130214277981052164705366344893621459095071968436301/781250000000000000000000000000000000000000000000000000000000000000000000000000", + "-21124971173688886593041714223848417317642930759148971672760575745552869/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -3.379995387790222e-09, + -3.379995387790222e-09 + ], + "intersection": [ + "-2640621396711110824130214277981052164705366344893621459095071968436301/781250000000000000000000000000000000000000000000000000000000000000000000000000", + "-21124971173688886593041714223848417317642930759148971672760575745552869/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "0.00372935": { + "binary_rational_log_exp": [ + "-220208174656571048937187601261143972969413773/91343852333181432387730302044767688728495783936", + "-13763010916035690558345600101387821598028291/5708990770823839524233143877797980545530986496" + ], + "decimal_fixed_grid": [ + "-7533627367627541813100067430002403307800852589193097329217837747435457706957/3125000000000000000000000000000000000000000000000000000000000000000000000000000", + "-15067254735255083626200134860004806615601705178386194658435675494870913473667/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -0.0024107607576408134, + -0.0024107607576408134 + ], + "intersection": [ + "-7533627367627541813100067430002403307800852589193097329217837747435457706957/3125000000000000000000000000000000000000000000000000000000000000000000000000000", + "-15067254735255083626200134860004806615601705178386194658435675494870913473667/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "0.0037300417": { + "binary_rational_log_exp": [ + "-22547843179970276789562156459539016469899168039/91343852333181432387730302044767688728495783936", + "-22547843179970276789558498471163997958811209079/91343852333181432387730302044767688728495783936" + ], + "decimal_fixed_grid": [ + "-1542786036227009219151877897589549964172404882134673335679504983284816846516741/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-1542786036227009219151877897589549964172404882134673335679504983284816844549217/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -0.24684576579632148, + -0.24684576579632148 + ], + "intersection": [ + "-1542786036227009219151877897589549964172404882134673335679504983284816846516741/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-1542786036227009219151877897589549964172404882134673335679504983284816844549217/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "0.00376669": { + "binary_rational_log_exp": [ + "-1205441190891343741717862941413110766080770926801/91343852333181432387730302044767688728495783936", + "-602720595445671870858929642010740904492035444117/45671926166590716193865151022383844364247891968" + ], + "decimal_fixed_grid": [ + "-82479633282710871726630338559963768276036714230854452355227132141419669425195993/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-82479633282710871726630338559963768276036714230854452355227132141419669423239103/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -13.19674132523374, + -13.19674132523374 + ], + "intersection": [ + "-82479633282710871726630338559963768276036714230854452355227132141419669425195993/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-82479633282710871726630338559963768276036714230854452355227132141419669423239103/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + } + }, + "pr7697": { + "0.0037266288769": { + "binary_rational_log_exp": [ + "232545507659746151952354917324438199663/11417981541647679048466287755595961091061972992", + "465091015319493217791309982063881309463/22835963083295358096932575511191922182123945984" + ], + "decimal_fixed_grid": [ + "127291274519233472769203997519077230615453722790866202837657250148507621/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "127291274519233472769203997519077230615453722790866202837657250150445087/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 2.0366603923077357e-08, + 2.0366603923077357e-08 + ], + "intersection": [ + "127291274519233472769203997519077230615453722790866202837657250148507621/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "127291274519233472769203997519077230615453722790866202837657250150445087/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "0.0037266288770": { + "binary_rational_log_exp": [ + "-1369942532622394743019277782030867704733/91343852333181432387730302044767688728495783936", + "-1369942532622391087472877193998301191251/91343852333181432387730302044767688728495783936" + ], + "decimal_fixed_grid": [ + "-3749410873392595679655431723059507792617376757958033443181170458004151/250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-93735271834814891991385793076487694815434418948950836079529261448182809/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -1.499764349357038e-08, + -1.499764349357038e-08 + ], + "intersection": [ + "-3749410873392595679655431723059507792617376757958033443181170458004151/250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-93735271834814891991385793076487694815434418948950836079529261448182809/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "0.00372934317807": { + "binary_rational_log_exp": [ + "-43839880305028402292405273277837321203230122961/45671926166590716193865151022383844364247891968", + "-87679760610056804584806891053447765483439728929/91343852333181432387730302044767688728495783936" + ], + "decimal_fixed_grid": [ + "-749911583833253089832106024172330327972473432008454018650275797846671547764129/781250000000000000000000000000000000000000000000000000000000000000000000000000", + "-2999646335333012359328424096689321311889893728033816074601103191386686190088353/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -0.9598868273065639, + -0.9598868273065639 + ], + "intersection": [ + "-749911583833253089832106024172330327972473432008454018650275797846671547764129/781250000000000000000000000000000000000000000000000000000000000000000000000000", + "-2999646335333012359328424096689321311889893728033816074601103191386686190088353/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "0.0037300417": { + "binary_rational_log_exp": [ + "-110243877546970911130526866643691306567232437991/91343852333181432387730302044767688728495783936", + "-55121938773485455565261605576416195871745057491/45671926166590716193865151022383844364247891968" + ], + "decimal_fixed_grid": [ + "-7543192202528492139256144208768756712795765740879533213558048919462059829308563/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3771596101264246069628072104384378356397882870439766606779024459731029913671007/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -1.2069107524045588, + -1.2069107524045588 + ], + "intersection": [ + "-7543192202528492139256144208768756712795765740879533213558048919462059829308563/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3771596101264246069628072104384378356397882870439766606779024459731029913671007/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + }, + "0.00376669": { + "binary_rational_log_exp": [ + "-646995487152827981213718416067777706663395879963/45671926166590716193865151022383844364247891968", + "-80874435894103497651714573577567045643513410237/5708990770823839524233143877797980545530986496" + ], + "decimal_fixed_grid": [ + "-22134613832332635800020895561260556648617520987783640233939082085370816052063113/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "-88538455329330543200083582245042226594470083951134560935756328341483264206296783/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + -14.166152852692887, + -14.166152852692887 + ], + "intersection": [ + "-22134613832332635800020895561260556648617520987783640233939082085370816052063113/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "-88538455329330543200083582245042226594470083951134560935756328341483264206296783/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": -1 + } + } + }, + "directed_derivatives": { + "candidate": [ + "-24282559494157724427996707839178350203978790334831632206918592558886217002490381400069114204293839749/66749594872528440074844428317798503581334516323645399060845050244444366430645017188217565216768", + "-46488608832412445420146826152022925904325179403192093245734405921064416483351025267061233683896146247/133499189745056880149688856635597007162669032647290798121690100488888732861290034376435130433536" + ], + "parent": [ + "-24286952998087617473630195739562296534072405383791429744029122610905919627114492535415377479658473047/66749594872528440074844428317798503581334516323645399060845050244444366430645017188217565216768", + "-46497492152762412460837139796661265943295755894042586537451271126522905476928668105629448973626855055/133499189745056880149688856635597007162669032647290798121690100488888732861290034376435130433536" + ], + "pr7697": [ + "-24303800780706111582593222086472954800159087338529402766314355398599962851416577389350961089441466519/66749594872528440074844428317798503581334516323645399060845050244444366430645017188217565216768", + "-46532513390279513039604650380563899076444899220863704614057554861848386529360112396083045091821577967/133499189745056880149688856635597007162669032647290798121690100488888732861290034376435130433536" + ] + }, + "graphs": { + "candidate": "8e7b755bd2d2d387bc3d3adfe48100985adf74775ca5acbb143170a3d16b5ccf", + "parent": "72705b094d83d2ba24006661bbb031786a691b776bedb94515b1321e1535105f" + }, + "invoices": { + "candidate": { + "contract": { + "ambient_rank": 137, + "boundary": "actual signed caller research candidate with 16 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "paid": { + "1": 63728, + "16": 416, + "2": 13904, + "24": 416, + "3": 9520, + "32": 416, + "4": 3840, + "40": 416, + "48": 416, + "5": 5824, + "56": 416, + "6": 1520, + "7": 144, + "8": 768, + "9": 96 + }, + "schema": "integer-mult-recursive-invoice/v1", + "targets": { + "1": 288, + "129": 208, + "17": 416, + "2": 336, + "25": 416, + "3": 752, + "33": 416, + "4": 3664, + "41": 416, + "49": 416, + "5": 1216, + "57": 416, + "6": 736, + "65": 416, + "7": 272, + "8": 512, + "9": 10256 + } + }, + "parent": { + "contract": { + "ambient_rank": 137, + "boundary": "actual signed caller research candidate with 16 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "paid": { + "1": 63728, + "16": 416, + "2": 13904, + "24": 416, + "3": 9552, + "32": 416, + "4": 3840, + "40": 416, + "48": 416, + "5": 5824, + "56": 416, + "6": 1504, + "7": 144, + "8": 768, + "9": 96 + }, + "schema": "integer-mult-recursive-invoice/v1", + "targets": { + "1": 288, + "129": 208, + "17": 416, + "2": 336, + "25": 416, + "3": 752, + "33": 416, + "4": 3664, + "41": 416, + "49": 416, + "5": 1216, + "57": 416, + "6": 736, + "65": 416, + "7": 272, + "8": 512, + "9": 10256 + } + } + }, + "physical_join": { + "c": 1156, + "candidate_minus_parent_ordinary": { + "native_numeric_homes": -1, + "odd_conversions": 0, + "ordinary_map_slots": -32, + "reset_services_per_native": -20, + "scalar_services": -4096, + "typed_selected_transfers_per_native": -10 + }, + "compiler_H": 14571800000000000000, + "depth_guard_bits": 14083, + "inherited_private_home_cap_per_native": 15290, + "ordinary_substitution": { + "B_0": "P+E_0", + "C_0": "32*N*B_0^2", + "E_0": "64(Z+N+P+G+1)^3", + "G": "Complete addressed selector, reset, copy, overwrite, exact scalar, phase, guide, view and return work with stored signed budgets.", + "N": "2^H", + "O": "Complete simultaneous typed payload, guide, selector, independent stream, child, compiler and BIT spaces and all parked parent contexts.", + "W": "p+h+2D+3", + "Z": "W_p+O" + }, + "paired": { + "candidate": { + "native": { + "checked_basis_products": 9044092, + "grid": 2123366400, + "public": 1501, + "slots": 6143, + "stock_trace": "53b1cc36c5fbc24869046551ed7528d7f4323aed531daaf4dd26e351cf1215d7", + "terms": 172414 + }, + "ordinary": { + "additional_full_overwrite_steps_per_reset_L_and_constant": [ + 2, + 3 + ], + "compiled_ordinary_work": "Full-view resets, selects, copies, guide and layout setup and return, exact scalar and odd conversions, matchers, fixed descriptors, root normalization, and all native, caller and child adapters.", + "compiled_stock": "Disjoint occurrence-tagged bank tuples, dummy origins, guides and four guarded streams per stage; complete public owners, matching child views, compiler and BIT workspace, and every parked ancestor.", + "layout": { + "aggregate_owned_tuple_M": "sum_stage[(homes+6)(L'+2)+ell(N_c)+ell(W+26)+max(ell(N_c),ell(W+26),ell(homes))+max(N_c,homes)+max(W+26,ell(homes))+10]", + "complete_view_step_bound": "34*(256(M+352)+128) plus fixed-degree descriptor work", + "guide_setup_and_retirement": "q(N_c)+q(W')+22N_cW'+36N_c+7W'+36+7L'+10; q(x)=24x-7popcount(x)+15ell(x)+12; W'=W+26", + "padded_payload": "L'=N_c(2(W+26)+3)", + "per_stage_selector_and_stream_tracks": 11, + "shadow_cells_upper": "M+352" + }, + "native_numeric_homes": 9150, + "native_numeric_homes_plus_dummy": 9151, + "native_paid_wrappers": 98288, + "native_productive_wrappers": 17616, + "odd_conversions": 55104, + "ordinary_elementary_record_upper": 26610490368, + "ordinary_main_pair_slots": 6400, + "ordinary_map_slots": 280512, + "raw_numeric_homes": 146400, + "raw_numeric_homes_plus_dummy": 146416, + "raw_paid_positions": 101840, + "raw_productive_targets": 21152, + "raw_scalar_incidence_allowance_before_factor_32": { + "complete_array_odd_conversions": 55104, + "literal_native_products_and_accumulations": 2758624, + "private_home_flags_and_cleanup": 146400, + "public_boundary_installations_and_scale_preparations": 48032, + "serial_sender_initialization_and_retirement": 196576, + "weighted_signed_caller_operation_slots": 118592, + "width_padded_native_row_lifecycles": 489216 + }, + "reset_services_all_native_stages": 23632864, + "reset_services_by_kind_per_native": { + "dirty_home_initializations_and_retirements": 18300, + "owner_scale_unscale_stream_initializations_and_retirements": 6004, + "sender_reinitializations_and_retirements": 12286, + "term_and_row_stream_initializations_and_retirements": 1440464 + }, + "reset_services_per_native": 1477054, + "root_negative_q_translations": 3536, + "scalar_services": 122001408, + "scalar_step_rate": 2097152, + "selected_total_steps_per_native_L_and_constant": [ + 240903554780, + 1084580962490 + ], + "selected_total_steps_raw_L_and_constant": [ + 3854456876480, + 17353295399840 + ], + "selector_steps_per_selected_service_L_and_constant": [ + 128109, + 576824 + ], + "separate_guarded_guide_tracks_per_native": 1, + "separate_guarded_guide_tracks_raw": 16, + "separate_guarded_streams_per_native": 4, + "separate_guarded_streams_raw": 64, + "typed_selected_transfer_legs_all_native_stages": 6447648, + "typed_selected_transfers_per_native": 402978, + "typed_transfer_legs_by_kind_per_native": { + "complete_scalar_donor_staging_legs": 344828, + "complete_sender_and_terminal_staging_legs": 15288, + "immutable_entrance_and_public_terminal_install_legs": 6004, + "paid_parked_sender_return_and_adapter_legs": 36858 + } + } + }, + "parent": { + "native": { + "checked_basis_products": 9044218, + "grid": 2123366400, + "public": 1501, + "slots": 6144, + "stock_trace": "401a112941c54cb212cf2a6e22ebafc49fdefdfde349f312c8b76777e4745141", + "terms": 172415 + }, + "ordinary": { + "additional_full_overwrite_steps_per_reset_L_and_constant": [ + 2, + 3 + ], + "compiled_ordinary_work": "Full-view resets, selects, copies, guide and layout setup and return, exact scalar and odd conversions, matchers, fixed descriptors, root normalization, and all native, caller and child adapters.", + "compiled_stock": "Disjoint occurrence-tagged bank tuples, dummy origins, guides and four guarded streams per stage; complete public owners, matching child views, compiler and BIT workspace, and every parked ancestor.", + "layout": { + "aggregate_owned_tuple_M": "sum_stage[(homes+6)(L'+2)+ell(N_c)+ell(W+26)+max(ell(N_c),ell(W+26),ell(homes))+max(N_c,homes)+max(W+26,ell(homes))+10]", + "complete_view_step_bound": "34*(256(M+352)+128) plus fixed-degree descriptor work", + "guide_setup_and_retirement": "q(N_c)+q(W')+22N_cW'+36N_c+7W'+36+7L'+10; q(x)=24x-7popcount(x)+15ell(x)+12; W'=W+26", + "padded_payload": "L'=N_c(2(W+26)+3)", + "per_stage_selector_and_stream_tracks": 11, + "shadow_cells_upper": "M+352" + }, + "native_numeric_homes": 9151, + "native_numeric_homes_plus_dummy": 9152, + "native_paid_wrappers": 98304, + "native_productive_wrappers": 17616, + "odd_conversions": 55104, + "ordinary_elementary_record_upper": 26613526016, + "ordinary_main_pair_slots": 6400, + "ordinary_map_slots": 280544, + "raw_numeric_homes": 146416, + "raw_numeric_homes_plus_dummy": 146432, + "raw_paid_positions": 101856, + "raw_productive_targets": 21152, + "raw_scalar_incidence_allowance_before_factor_32": { + "complete_array_odd_conversions": 55104, + "literal_native_products_and_accumulations": 2758640, + "private_home_flags_and_cleanup": 146416, + "public_boundary_installations_and_scale_preparations": 48032, + "serial_sender_initialization_and_retirement": 196608, + "weighted_signed_caller_operation_slots": 118592, + "width_padded_native_row_lifecycles": 489280 + }, + "reset_services_all_native_stages": 23633184, + "reset_services_by_kind_per_native": { + "dirty_home_initializations_and_retirements": 18302, + "owner_scale_unscale_stream_initializations_and_retirements": 6004, + "sender_reinitializations_and_retirements": 12288, + "term_and_row_stream_initializations_and_retirements": 1440480 + }, + "reset_services_per_native": 1477074, + "root_negative_q_translations": 3536, + "scalar_services": 122005504, + "scalar_step_rate": 2097152, + "selected_total_steps_per_native_L_and_constant": [ + 240933720238, + 1084703553942 + ], + "selected_total_steps_raw_L_and_constant": [ + 3854939523808, + 17355256863072 + ], + "selector_steps_per_selected_service_L_and_constant": [ + 128123, + 576880 + ], + "separate_guarded_guide_tracks_per_native": 1, + "separate_guarded_guide_tracks_raw": 16, + "separate_guarded_streams_per_native": 4, + "separate_guarded_streams_raw": 64, + "typed_selected_transfer_legs_all_native_stages": 6447808, + "typed_selected_transfers_per_native": 402988, + "typed_transfer_legs_by_kind_per_native": { + "complete_scalar_donor_staging_legs": 344830, + "complete_sender_and_terminal_staging_legs": 15290, + "immutable_entrance_and_public_terminal_install_legs": 6004, + "paid_parked_sender_return_and_adapter_legs": 36864 + } + } + } + }, + "sha256": "493ba55774b3da20b9d36e290e710ca36286e30a6a4cb85ef9c8d7b89a428e65" + }, + "published_comparator_7697": { + "caller_receipt": "cbef124e8b495b4bec9a1343500766af33b245121a486fff4a619c8eb284f2ad", + "graph": "d5dab11bb773bf5beb8ae2998be1282b243e2d1606c5257896a037c9b52c5c3b", + "head": "f55fc1434436ffa1c6d064a29fc56812044b3157", + "lower": "0.0037266288769", + "signed_invoice_sha256": "6e8229022ef7c9a13a33a8df5e591114eb9de49bb5b7b20628bbe56c3fa2c3a7", + "upper": "0.0037266288770" + }, + "recurrence_anchors": { + "a": "93251042501/25000000000000", + "alpha_reserve": "1/1000000000000000000000000000", + "b": "74600834001/20000000000000", + "beta": "99999999999997/100000000000000", + "carrier_power": 1920, + "claim_and_probe_increment": "1/100000000000000", + "conservative_ambient_cap": 153, + "epsilon": "99999999999999/100000000000000", + "paid_cutoff": 11, + "q": "373004170003/100000000000000", + "tail_power_offset": "1/7", + "tail_ratio_upper": "31/32", + "target_floor": 12, + "test_increment_count": 7 + }, + "relay_credit_at_claim": { + "binary_rational_log_exp": [ + "5637528169117464122168624031727024406522110179/22835963083295358096932575511191922182123945984", + "22550112676469856488674496782022368838614741591/91343852333181432387730302044767688728495783936" + ], + "decimal_fixed_grid": [ + "38573533036973633286683359424036933228948745579187411631660268716683211684199/156250000000000000000000000000000000000000000000000000000000000000000000000000", + "771470660739472665733667188480738664578974911583748232633205374333664233684361/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "display": [ + 0.24687061143663125, + 0.24687061143663125 + ], + "intersection": [ + "38573533036973633286683359424036933228948745579187411631660268716683211684199/156250000000000000000000000000000000000000000000000000000000000000000000000000", + "771470660739472665733667188480738664578974911583748232633205374333664233684361/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "sign": 1 + }, + "selected_BIT": { + "ambient": 134, + "assumptions": [ + { + "id": "native_all_columns", + "statement": "Retained native operators, phase conventions, spectators and whole-job adapters work at every positive column multiplicity." + }, + { + "id": "owned_erasure", + "statement": "Owned streams and suspended centers obey the retained allocation, erasure and ownership contracts." + }, + { + "id": "compiler", + "statement": "The finite mixed-target compiler and chronological product, completion and splitting satisfy the retained uniform closure contract." + }, + { + "id": "precision_tape", + "statement": "Retained fixed-tape movement and precision/storage prescriptions apply to the new fixed finite template." + }, + { + "id": "analytic_recovery", + "statement": "Analytic decomposition, fine-prime avoidance and exact integer recovery follow the retained upstream/outer framework." + } + ], + "outer_floor": "0.00376669", + "rank_encoding": "2^296630000000000", + "retained_completed_saving": "0.00385248", + "selected_source_pins": { + "selected-bit-ambient.json": "437ad2f9e7956e7f2b477b546f53a6c8cfa0567e207024300e9a7e58d3c0202c", + "selected-claim.json": "3f8add8252adb223b60418ec69351a69b6b5edfe601ec1c6b4b65cd9e2afd9b2", + "selected-validation.json": "e1374a98b240d7f9f2cca2a1e74b93f240b1bfc94b8cc4b94a385a50281d494e" + }, + "source_template_saving": "38525299/10000000000" + }, + "signed_paid_delta": { + "3": -32, + "6": 16 + }, + "signed_target_delta": {}, + "source_head": "7d84799a447867d36137d12ef7ca5646154d763c", + "source_word_sha256": "ae62d5d8bef6f7146454b4b3643e487a58380c606a16c5baef7bf0dcf9df1472", + "status": "PASS_CF6A_RELAY_DIRECTED_PRICE_OUTER", + "strict_gap_over_7697_upper": "3412823/1000000000000", + "strict_gap_over_7700_raw_upper": "69852193/100000000000000", + "supplied_comparator_7700_raw_bracket": [ + "0.00372934317806", + "0.00372934317807" + ] +} diff --git a/research/p104-relay-cut-recoding/data/WORD.json.gz b/research/p104-relay-cut-recoding/data/WORD.json.gz new file mode 100644 index 0000000000..890579b0b7 Binary files /dev/null and b/research/p104-relay-cut-recoding/data/WORD.json.gz differ diff --git a/research/p104-relay-cut-recoding/recoding.py b/research/p104-relay-cut-recoding/recoding.py new file mode 100644 index 0000000000..c96d8b844d --- /dev/null +++ b/research/p104-relay-cut-recoding/recoding.py @@ -0,0 +1,155 @@ +"""Rebuild the exact source graph and apply the ordered rational cut certificate.""" +from fractions import Fraction +from hashlib import sha1, sha256 +from pathlib import Path +import json +import sys + +HERE = Path(__file__).resolve().parent +sys.path.insert(0, str(HERE / "vendor")) +import construct +from network import Network, add_scaled, coefficients, encoded, need, pivot, read + + +def sources(): + for item in read(HERE / "SOURCE-PINS.json"): + raw = (HERE / item["path"]).read_bytes() + git_blob = b"blob " + str(len(raw)).encode() + b"\0" + raw + need(sha256(raw).hexdigest() == item["sha256"] and + sha1(git_blob).hexdigest() == item["git_blob"], f"source pin {item['path']}") + word = read(HERE / "data/WORD.json.gz") + certs = read(HERE / "data/CERTS.json") + raw, clears, moves = construct.raw_fold(word, certs["clear_event_index"]) + graph, relay = construct.contract(raw, word["frames"], clears, moves) + parent = construct.serialized(graph, word["frames"], "candidate", + source_banked_graph_sha256=construct.PARENT, paid_relay=relay) + need(sha256(parent).hexdigest() == construct.CHILD, "published role-1256 parent") + net = Network(graph.first, graph.initial, graph.final, graph.moves, graph.forms) + return word, net, read(HERE / "CUTS.json") + + +def combine(weights, forms): + result = {} + for token, weight in weights.items(): + add_scaled(result, forms[token], weight) + return result + + +def check_bank(net, row, chart): + for key in row: + if key < 0: + need(~key < len(net.initial) and net.initial[~key] == chart, "public bank chart") + else: + need(key in net.moves and net.moves[key][1] == chart, "paid bank chart") + + +def dot(row, direction): + return sum(row[k] * direction[k] for k in row.keys() & direction.keys()) + + +def hub(net, edit): + t, j, hub_chart = edit["incoming"], edit["outgoing"], edit["hub"] + source, middle = net.moves[t] + start, target = net.moves[j] + need(start == middle and len({source, middle, hub_chart, target}) >= 3 + and hub_chart not in (source, middle, target), "hub route") + direction = coefficients(edit["innovation"]) + receiver = coefficients(edit["receiver"]) + group = {k for k, pair in net.moves.items() if pair == (source, middle)} + need(direction.get(t) == 1 and direction.keys() <= group, "normalized cut direction") + + feedback = edit["kind"] == "feedback" + if feedback: + local = net.forms[j] + sent = coefficients(edit["sender"]) + else: + local = coefficients(edit["group"]) + need(local.keys() <= group, "local signal group") + sent = combine(local, net.forms) + check_bank(net, sent, source) + check_bank(net, receiver, hub_chart) + response = dot(local, direction) + need(response != 0, "zero response") + moves = dict(net.moves) + moves[t], moves[j] = (source, hub_chart), (hub_chart, target) + forms = dict(net.forms) + forms[t] = sent + for k, weight in direction.items(): + if k != t: + forms[k] = dict(net.forms[k]) + add_scaled(forms[k], net.forms[t], -weight) + + # Remove the transmitted direction from each row at its old receiver. + corrections = {} + for k, row in net.forms.items(): + if k in (t, j) or row.keys().isdisjoint(direction): + continue + ratio = Fraction(dot(row, direction), response) + if ratio: + need(net.moves.get(k) == (middle, hub_chart), "lost receiver component") + corrections[k] = ratio + residual = dict(row) + add_scaled(residual, local, -ratio) + need(dot(residual, direction) == 0, "cut did not cancel") + residual.pop(t, None) + forms[k] = residual + + if feedback: + determinant = 1 - dot(receiver, corrections) + need(determinant != 0, "singular receiver recovery") + recovered = {k: weight / determinant for k, weight in receiver.items()} + add_scaled(recovered, {t: 1}, Fraction(1, determinant)) + else: + recovered = {t: 1} + forms[j] = dict(receiver) + add_scaled(forms[j], recovered, 1) + for k, row in list(forms.items()): + if feedback and k == j: + continue + factor = dot(row, corrections) + if factor: + forms[k] = dict(row) + add_scaled(forms[k], recovered, factor) + if feedback: + forms[j] = recovered + return Network(net.first_output, net.initial, net.final, moves, forms) + + +def apply(net, edits, frames, observer=None): + spans = [construct.span(basis) for basis in frames] + for i, edit in enumerate(edits): + need(edit["direction"] in ("forward", "transpose") + and edit["kind"] in ("pivot", "group", "feedback"), "cut type") + dual = edit["direction"] == "transpose" + before = net.transpose() if dual else net + if edit["kind"] == "pivot": + check_bank(before, coefficients(edit["sender"]), edit["source_chart"]) + check_bank(before, coefficients(edit["receiver"]), before.moves[edit["pivot"]][1]) + if observer: + observer(i, before, edit) + after = pivot(before, edit) if edit["kind"] == "pivot" else hub(before, edit) + changed = [edit["pivot"]] if edit["kind"] == "pivot" else [edit["incoming"], edit["outgoing"]] + for key in changed: + a, b = after.moves[key] + need(spans[a] < spans[b] or spans[b] < spans[a], "strictly nested cut transfer") + after.schedule() + net = after.transpose() if dual else after + return net + + +def layout(word, net): + return dict(frames=word["frames"], initial=net.initial, final=net.final, + first_output=net.first_output, moves=[[k, *ab] for k, ab in sorted(net.moves.items())], + forms=[[k, [[j, str(c)] for j, c in sorted(row.items())]] + for k, row in sorted(net.forms.items())], schedule=net.schedule()) + + +def receipt(name, result): + stored = read(HERE / "results" / (name + ".json")) + need(json.loads(json.dumps(result)) == stored, "receipt mismatch: " + name) + + +if __name__ == "__main__": + word, parent, cuts = sources() + net = apply(parent, cuts, word["frames"]) + sys.stdout.buffer.write(encoded(layout(word, net))) diff --git a/research/p104-relay-cut-recoding/results/application.json b/research/p104-relay-cut-recoding/results/application.json new file mode 100644 index 0000000000..beec452311 --- /dev/null +++ b/research/p104-relay-cut-recoding/results/application.json @@ -0,0 +1,695 @@ +{ + "bracket": [ + "0.00374039009047", + "0.00374039009048" + ], + "caller": { + "calls": 16, + "dyadic_height": 9, + "exact_preproduct_divisions": 153295, + "fixed_caller_paid": { + "1": 384, + "8": 640, + "9": 32, + "16": 416, + "24": 416, + "32": 416, + "40": 416, + "48": 416, + "56": 416 + }, + "fixed_root_targets": { + "9": 416, + "17": 416, + "25": 416, + "33": 416, + "41": 416, + "49": 416, + "57": 416, + "65": 416, + "129": 208 + }, + "odd_scale": 2025, + "peak_scaled_mass": "495734175/2", + "peak_witness": [ + 1196, + "stored sum" + ], + "roles": 68, + "root_owners": 3536, + "uses": { + "ADD": 92400, + "IDLE_ODD": 32, + "IDLE_ONE": 3136, + "LAMBDA": 10672, + "QUERY": 384, + "SCALE": 11728, + "SWAP": 240 + } + }, + "claim": "0.00374039009039", + "compiler": { + "BIT_margin": "1314995477/50000000000000", + "BIT_pin": "376669/100000000", + "H": "14617400000000000000", + "alpha": [ + 0.9999999999999847, + 0.9999999999999847 + ], + "claim": "374039009039/100000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9324656693530149, + 0.9324656693530149 + ], + "derivative_upper": -347252.8794022977, + "gamma": [ + 0.9340309057512434, + 0.9340309057512434 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "187019504523/50000000000000": [ + "31867947428528767731842151578548916126682050789814024673601432161619218289483/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "25494357942823014185473721262839132901345640631851219738881145729295374631979/20000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "374039009039/100000000000000": [ + "127471789711834022913135653400183783077800272130383902178040696620298703349843/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "127471789711834022913135653400183783077800272130383902178040696620298703351763/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2295, + "moment_margin_float": { + "187019504523/50000000000000": [ + 4.136998743571411e-09, + 4.136998743571411e-09 + ], + "374039009047/100000000000000": [ + 6.137146742010277e-10, + 6.137146742010277e-10 + ], + "46754876131/12500000000000": [ + -2.9095693951692108e-09, + -2.9095693951692108e-09 + ] + }, + "moment_margins": { + "187019504523/50000000000000": [ + "25856242147321316140206447966775372880221117214093807126278323532281653/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "25856242147321316140206447966775372880221117214093807126278323534518023/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "374039009047/100000000000000": [ + "3835716713756422793035549018256668483836802086113875291596852829527159/6250000000000000000000000000000000000000000000000000000000000000000000000000000", + "3835716713756422793035549018256668483836802086113875291596852831758451/6250000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "46754876131/12500000000000": [ + "-4546202179951891988309597805342739816873328101587478432603643114003927/1562500000000000000000000000000000000000000000000000000000000000000000000000000", + "-181848087198075679532383912213709592674933124063499137304145724537851/62500000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "374039009047/100000000000000", + "46754876131/12500000000000" + ], + "tested": "187019504523/50000000000000", + "written_log_power": 2296 + }, + "conditional_interfaces": [ + "native_all_columns", + "owned_erasure", + "compiler", + "precision_tape", + "analytic_recovery" + ], + "cut_counts": { + "feedback": 3, + "group": 21, + "pivot": 22 + }, + "graph_sha256": "db10e4ca7154b454f86bf404bc34b3a16d02de6cc008d5227e4eef2654cb0778", + "invoice": { + "contract": { + "ambient_rank": 137, + "boundary": "actual signed caller research candidate with 16 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "paid": { + "1": 63440, + "16": 416, + "2": 13952, + "24": 416, + "3": 9152, + "32": 416, + "4": 3936, + "40": 416, + "48": 416, + "5": 5904, + "56": 416, + "6": 1568, + "7": 176, + "8": 768, + "9": 96 + }, + "schema": "integer-mult-recursive-invoice/v1", + "targets": { + "1": 288, + "129": 208, + "17": 416, + "2": 336, + "25": 416, + "3": 752, + "33": 416, + "4": 3664, + "41": 416, + "49": 416, + "5": 1216, + "57": 416, + "6": 736, + "65": 416, + "7": 272, + "8": 512, + "9": 10256 + } + }, + "paid": 101488, + "paid_delta": { + "1": -288, + "2": 48, + "3": -368, + "4": 96, + "5": 80, + "6": 48, + "7": 32 + }, + "parent_bracket": [ + "0.00373004177032", + "0.00373004177033" + ], + "physical": { + "caller_envelope": { + "binary_height_at_all_completed_cuts_and_products": 325, + "binary_height_at_native_entrances": 318, + "normalized_bound_uses_no_cancellation_or_commutation": true, + "records": 4192, + "scaled_mass_at_all_cuts_and_products": "422697641667541055184649383436611894902745135854144098178147008285122975926924780864462653005878076090749928607858304935653611344748944586891405006118422035825340979484130265226717/787320000000000", + "scaled_mass_at_native_entrances": "841540548201148271304709423731170105326708333407364819898222426096105903810343041288214438457604474421941928920227707368470121101079538458948446020268383922323667853993448395617/100776960000000", + "stages": 16, + "uses": { + "ADD": 92400, + "IDLE_ODD": 32, + "IDLE_ONE": 3136, + "LAMBDA": 10672, + "QUERY": 384, + "SCALE": 11728, + "SWAP": 240 + } + }, + "common_root": { + "H_guard": "bit_length(context_c*1920*153**1920*(H+1)**2) < H for each actual compiler bound H", + "caller_odd": 2025, + "context_binary_bits": 338, + "context_c": 1156, + "context_mass_bits": 578, + "context_mass_bound": "2020364950059785188546063090429257730751564686833621008809099431232135296822118588416990031081746106492475216760882735797197446204639442296081953665424606378202137443179442954993607660812897/3439853568000000", + "exact_grid": "2^(-p-D)", + "native_binary": { + "candidate": 20 + }, + "native_odd": { + "candidate": 2025 + }, + "signed_width": "W=p+h+2D+3", + "temporary_width": "W+26" + }, + "depth_guard": { + "argument_bit_length": 14083, + "compiler_H": 14617400000000000000, + "strict_guard_passed": true + }, + "native": { + "additional_independent_guarded_streams": 4, + "all_public_inputs_preserved_until_final_installs": true, + "checked_nontrivial_divisions": 4863931, + "checked_nontrivial_divisions_by_denominator": { + "2": 2408833, + "3": 68834, + "4": 1669843, + "5": 48656, + "6": 24216, + "8": 417439, + "9": 13, + "10": 6501, + "12": 3606, + "16": 133629, + "20": 14974, + "24": 6633, + "32": 40402, + "40": 620, + "48": 429, + "64": 18896, + "96": 172, + "128": 165, + "192": 60, + "256": 4, + "384": 6 + }, + "coefficient_products": 9280471, + "declared_senders": 1, + "deferred_terminal_banks": 1501, + "exact_all_public_rows": 1501, + "exact_odd_unscale_outputs": 1501, + "fixture_addressed_cells_overwritten": { + "clear_full_sender_after_return": 24484, + "initialize_complete_dirty_home": 36512, + "initialize_empty_sender_before_departure": 24484, + "retire_complete_home": 36512 + }, + "fixture_addressed_cells_per_home": 4, + "guarded_dummy_slots": 1, + "immutable_entry_banks": 1501, + "immutable_paid_return_banks": 6121, + "live_sender_alias_control_rejected": true, + "max_outstanding_native_senders": 1, + "maximum_exact_row_prefix_mass_scaled": "27984388275/16", + "minimum_product_grid": 921600, + "minimum_snapshot_grid": 23040, + "missing_odd_factor_controls": { + "3": { + "coefficient": "-2/3", + "denominator": 3, + "donor": -1474, + "entrance_column": 1473, + "numerator_without_factor": -52428800, + "positive_remainder": 1, + "removed_factor": 81, + "row": 88440 + }, + "5": { + "coefficient": "1/10", + "denominator": 10, + "donor": -1320, + "entrance_column": 1319, + "numerator_without_factor": 84934656, + "positive_remainder": 6, + "removed_factor": 25, + "row": 88808 + } + }, + "native_scalar_scratch_homes": 4, + "numerical_homes": 9128, + "paid_native_ranks": { + "1": 3941, + "2": 872, + "3": 572, + "4": 246, + "5": 369, + "6": 98, + "7": 11, + "8": 8, + "9": 4 + }, + "path_grid": 2123366400, + "path_grid_height": 20, + "path_grid_odd": 2025, + "positive_helper_ranks": { + "1": 18, + "2": 21, + "3": 47, + "4": 229, + "5": 76, + "6": 46, + "7": 17, + "8": 32, + "9": 615 + }, + "positive_path_mass_bound_unscaled": "2400793347841/69120", + "positive_path_mass_peak_node": 156140, + "public": 1501, + "retired_and_guards_restored": true, + "same_owner_complete_fixture_outputs": 1501, + "selected_logical_operations": { + "clear_full_sender_after_return": 6121, + "initialize_complete_dirty_home": 9128, + "initialize_empty_sender_before_departure": 6121, + "read_immutable_donor": 177531, + "read_parked_sender": 6121, + "read_terminal_for_same_owner_install": 1501, + "retire_complete_home": 9128, + "stage_full_sender": 6121, + "write_complete_return": 6121, + "write_entrance": 1501, + "write_terminal": 1501 + }, + "separate_guide_tracks": 1, + "slots": 6121, + "terms": 177531, + "trace_sha256": "0d2dfdb751c6f0ca29a3ef52bc463ee57656be06e264a9d74ef8084f12e2eb0e", + "tracked_stream_reset_visits": 540215 + }, + "ordinary": { + "additional_full_overwrite_steps_per_reset_L_and_constant": [ + 2, + 3 + ], + "compiled_ordinary_work": "Full-view resets, selects, copies, guide and layout setup and return, exact scalar and odd conversions, matchers, fixed descriptors, root normalization, and all native, caller and child adapters.", + "compiled_stock": "Disjoint occurrence-tagged bank tuples, dummy origins, guides and four guarded streams per stage; complete public owners, matching child views, compiler and BIT workspace, and every parked ancestor.", + "layout": { + "aggregate_owned_tuple_M": "sum_stage[(homes+6)(L'+2)+ell(N_c)+ell(W+26)+max(ell(N_c),ell(W+26),ell(homes))+max(N_c,homes)+max(W+26,ell(homes))+10]", + "complete_view_step_bound": "34*(256(M+352)+128) plus fixed-degree descriptor work", + "guide_setup_and_retirement": "q(N_c)+q(W')+22N_cW'+36N_c+7W'+36+7L'+10; q(x)=24x-7popcount(x)+15ell(x)+12; W'=W+26", + "padded_payload": "L'=N_c(2(W+26)+3)", + "per_stage_selector_and_stream_tracks": 11, + "shadow_cells_upper": "M+352" + }, + "native_numeric_homes": 9128, + "native_numeric_homes_plus_dummy": 9129, + "native_paid_wrappers": 97936, + "native_productive_wrappers": 17616, + "odd_conversions": 55104, + "ordinary_elementary_record_upper": 26543706112, + "ordinary_main_pair_slots": 6400, + "ordinary_map_slots": 279808, + "raw_numeric_homes": 146048, + "raw_numeric_homes_plus_dummy": 146064, + "raw_paid_positions": 101488, + "raw_productive_targets": 21152, + "raw_scalar_incidence_allowance_before_factor_32": { + "complete_array_odd_conversions": 55104, + "literal_native_products_and_accumulations": 2840496, + "private_home_flags_and_cleanup": 146048, + "public_boundary_installations_and_scale_preparations": 48032, + "serial_sender_initialization_and_retirement": 195872, + "weighted_signed_caller_operation_slots": 118592, + "width_padded_native_row_lifecycles": 487808 + }, + "reset_services_all_native_stages": 24283616, + "reset_services_by_kind_per_native": { + "dirty_home_initializations_and_retirements": 18256, + "owner_scale_unscale_stream_initializations_and_retirements": 6004, + "sender_reinitializations_and_retirements": 12242, + "term_and_row_stream_initializations_and_retirements": 1481224 + }, + "reset_services_per_native": 1517726, + "root_negative_q_translations": 3536, + "scalar_services": 124542464, + "scalar_step_rate": 2097152, + "selected_total_steps_per_native_L_and_constant": [ + 246809218422, + 1111211094456 + ], + "selected_total_steps_raw_L_and_constant": [ + 3948947494752, + 17779377511296 + ], + "selector_steps_per_selected_service_L_and_constant": [ + 127801, + 575459 + ], + "separate_guarded_guide_tracks_per_native": 1, + "separate_guarded_guide_tracks_raw": 16, + "separate_guarded_streams_per_native": 4, + "separate_guarded_streams_raw": 64, + "typed_selected_transfer_legs_all_native_stages": 6608576, + "typed_selected_transfers_per_native": 413036, + "typed_transfer_legs_by_kind_per_native": { + "complete_scalar_donor_staging_legs": 355062, + "complete_sender_and_terminal_staging_legs": 15244, + "immutable_entrance_and_public_terminal_install_legs": 6004, + "paid_parked_sender_return_and_adapter_legs": 36726 + } + }, + "partial_clear_control": { + "dirty_unaddressed_last_cell_rejected": true, + "neighbor_unchanged": true + }, + "scalars": { + "coefficient_bits": 13, + "component_padding": 26, + "distinct_scalar_and_conversion_factors": 684, + "rejected_one_tick_denominators": [ + 2, + 3, + 5, + 7 + ], + "retained_max_bits": 24, + "signed_bit_transducer_cases": 4104 + } + }, + "powers": [ + [ + "parent", + "0.00373004177032", + "lower", + { + "lower": "-1496508466540981329594386786348762314112419719428895920648738139559/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "upper": "-1496508466540981329594386786348762314112419719428895920648734624417/3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + ], + [ + "parent", + "0.00373004177033", + "higher", + { + "lower": "22576528637372510171943954836057324278158033490699559504377165067791/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "upper": "22576528637372510171943954836057324278158033490699559504377171722649/7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + ], + [ + "parent", + "0.00374039009039", + "higher", + { + "lower": "13229811831965427000328743591257049300044622162971635460725558491622036808281/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "upper": "13229811831965427000328743591257049300044622162971635460725558491622040243595/3618502788666131106986593281521497120414687020801267626233049500247285301248" + } + ], + [ + "candidate", + "0.00374039009039", + "lower", + { + "lower": "-26053208525573464502058539321570242725047950269508182440027912001885/904625697166532776746648320380374280103671755200316906558262375061821325312", + "upper": "-208425668204587716016468314572561941800383602156065459520223289148107/7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + ], + [ + "candidate", + "0.00374039009046", + "lower", + { + "lower": "-1871217686290178727785499778182903377316733974195001051914050296055/452312848583266388373324160190187140051835877600158453279131187530910662656", + "upper": "-7484870745160714911141999112731613509266935896780004207656199520219/1809251394333065553493296640760748560207343510400633813116524750123642650624" + } + ], + [ + "candidate", + "0.00374039009047", + "lower", + { + "lower": "-2220728260041744648020387964002015902777330738386348136884677732813/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "upper": "-1110364130020872324010193982001007951388665369193174068442337068989/1809251394333065553493296640760748560207343510400633813116524750123642650624" + } + ], + [ + "candidate", + "0.00374039009048", + "higher", + { + "lower": "21056569940474835912050381350317462609887671491455495468646402762269/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "upper": "21056569940474835912050381350317462609887671491455495468646409735773/7237005577332262213973186563042994240829374041602535252466099000494570602496" + } + ] + ], + "preflight": { + "assurance": { + "contract": "Exact matching user declarations; mathematical applicability is not verified.", + "inconclusive": "Mixed hinge signs do not establish a power-moment crossing or failure.", + "input_binding": "SHA-256 identifies the exact input bytes read, when loaded by this CLI.", + "scope": "Histogram arithmetic only. Histogram correctness, circuit legality, ownership, phases, precision, supplier admission and compiler endpoints are not validated." + }, + "classification": "uniformly_better", + "contract": { + "ambient_rank": 137, + "boundary": "actual signed caller research candidate with 16 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "delta_paid": { + "1": -288, + "2": 48, + "3": -368, + "4": 96, + "5": 80, + "6": 48, + "7": 32 + }, + "delta_targets": {}, + "hinges": [ + { + "rank": 0, + "value": 0 + }, + { + "rank": 1, + "value": -352 + }, + { + "rank": 2, + "value": -416 + }, + { + "rank": 3, + "value": -528 + }, + { + "rank": 4, + "value": -272 + }, + { + "rank": 5, + "value": -112 + }, + { + "rank": 6, + "value": -32 + }, + { + "rank": 7, + "value": 0 + } + ], + "method_credit": "Classical concave order/majorization; mightyOil's t16-moment-order-audit and its retained predecessors. No new theorem claim.", + "power_moment": { + "exponent": "0 < t < 1", + "new_minus_old_sign": "strictly_negative", + "tariff": "r^t" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "rank_mass": { + "delta": { + "paid": 0, + "paid_minus_targets": 0, + "targets": 0 + }, + "new": { + "paid": 271568, + "paid_minus_targets": -1328, + "targets": 272896 + }, + "old": { + "paid": 271568, + "paid_minus_targets": -1328, + "targets": 272896 + } + }, + "schema": "integer-mult-recursive-invoice-comparison/v1", + "signed_net_delta": { + "1": -288, + "2": 48, + "3": -368, + "4": 96, + "5": 80, + "6": 48, + "7": 32 + }, + "tariff_class": "increasing concave f on nonnegative ranks, with f(0)=0", + "uniform_order": "weak; some concave tariffs can give equality" + }, + "probe": "0.00374039009046", + "productive": 21152, + "signed_rank_surplus": 1328, + "stages": [ + [ + 1, + 400, + 1101 + ], + [ + 2, + 400, + 1101 + ], + [ + 3, + 400, + 1101 + ], + [ + 4, + 400, + 1101 + ], + [ + 5, + 400, + 1101 + ], + [ + 6, + 400, + 1101 + ], + [ + 7, + 400, + 1101 + ], + [ + 8, + 400, + 1101 + ], + [ + 9, + 400, + 1101 + ], + [ + 10, + 400, + 1101 + ], + [ + 11, + 400, + 1101 + ], + [ + 12, + 400, + 1101 + ], + [ + 13, + 400, + 1101 + ], + [ + 14, + 400, + 1101 + ], + [ + 15, + 400, + 1101 + ], + [ + 16, + 400, + 1101 + ] + ] +} diff --git a/research/p104-relay-cut-recoding/results/catalogue-0.json b/research/p104-relay-cut-recoding/results/catalogue-0.json new file mode 100644 index 0000000000..33ebb9a0de --- /dev/null +++ b/research/p104-relay-cut-recoding/results/catalogue-0.json @@ -0,0 +1,55 @@ +{ + "checked": 605, + "columns": [ + [ + 3, + 278 + ], + [ + 3, + 450 + ], + [ + 3, + 536 + ], + [ + 3, + 744 + ], + [ + 261, + 912 + ], + [ + 430, + 1072 + ], + [ + 478, + 649 + ], + [ + 602, + 637 + ], + [ + 637, + 631 + ], + [ + 686, + 696 + ], + [ + 916, + 127 + ] + ], + "contact_sha256": "13f71e0115c2abe48b1eca8f7a0f933ebb0d57776c80c997637a6834c53b21b8", + "contacts": 336, + "ports": 21, + "recipes_sha256": "ab9890a74e4f11d8f2f37d5716558309d488021afa7a22d4a0a837ba4ed423a7", + "slice": 0, + "total": 3023 +} diff --git a/research/p104-relay-cut-recoding/results/catalogue-1.json b/research/p104-relay-cut-recoding/results/catalogue-1.json new file mode 100644 index 0000000000..8849787385 --- /dev/null +++ b/research/p104-relay-cut-recoding/results/catalogue-1.json @@ -0,0 +1,55 @@ +{ + "checked": 605, + "columns": [ + [ + 3, + 318 + ], + [ + 3, + 467 + ], + [ + 3, + 571 + ], + [ + 3, + 778 + ], + [ + 278, + 660 + ], + [ + 442, + 776 + ], + [ + 506, + 635 + ], + [ + 602, + 638 + ], + [ + 638, + 649 + ], + [ + 696, + 127 + ], + [ + 982, + 127 + ] + ], + "contact_sha256": "e37430827ae563d7df272b46079af5c3959c37df7b589272e51cab0e0bc70f23", + "contacts": 336, + "ports": 21, + "recipes_sha256": "6b54794c215b57fc772f8df5a60a5718509ac3f8f3e70e34219a5922ae92cdd5", + "slice": 1, + "total": 3023 +} diff --git a/research/p104-relay-cut-recoding/results/catalogue-2.json b/research/p104-relay-cut-recoding/results/catalogue-2.json new file mode 100644 index 0000000000..a396f2955f --- /dev/null +++ b/research/p104-relay-cut-recoding/results/catalogue-2.json @@ -0,0 +1,55 @@ +{ + "checked": 605, + "columns": [ + [ + 3, + 330 + ], + [ + 3, + 506 + ], + [ + 3, + 660 + ], + [ + 3, + 916 + ], + [ + 324, + 982 + ], + [ + 449, + 929 + ], + [ + 507, + 696 + ], + [ + 602, + 684 + ], + [ + 649, + 127 + ], + [ + 778, + 127 + ], + [ + 1014, + 127 + ] + ], + "contact_sha256": "c776f72f2592a1c9de9c0ca881de43efcb1002c224773fda22103927a9461e35", + "contacts": 336, + "ports": 21, + "recipes_sha256": "6350644be9207187f44e5867724eac785b60528dd194e12c220b849a47b4ef26", + "slice": 2, + "total": 3023 +} diff --git a/research/p104-relay-cut-recoding/results/catalogue-3.json b/research/p104-relay-cut-recoding/results/catalogue-3.json new file mode 100644 index 0000000000..e922a1911a --- /dev/null +++ b/research/p104-relay-cut-recoding/results/catalogue-3.json @@ -0,0 +1,55 @@ +{ + "checked": 605, + "columns": [ + [ + 3, + 430 + ], + [ + 3, + 521 + ], + [ + 3, + 717 + ], + [ + 3, + 1098 + ], + [ + 330, + 807 + ], + [ + 450, + 1072 + ], + [ + 549, + 127 + ], + [ + 602, + 685 + ], + [ + 684, + 674 + ], + [ + 807, + 127 + ], + [ + 1031, + 127 + ] + ], + "contact_sha256": "d035b45e1c0885a5bf3f08fdc20272477916ee48d53f035f7f3a89079f1318db", + "contacts": 336, + "ports": 21, + "recipes_sha256": "beff778aa5e1ed458155f1e761e88f4b0bd6496b3548a13b94c8dcd87db59222", + "slice": 3, + "total": 3023 +} diff --git a/research/p104-relay-cut-recoding/results/catalogue-4.json b/research/p104-relay-cut-recoding/results/catalogue-4.json new file mode 100644 index 0000000000..23da39800f --- /dev/null +++ b/research/p104-relay-cut-recoding/results/catalogue-4.json @@ -0,0 +1,51 @@ +{ + "checked": 603, + "columns": [ + [ + 3, + 442 + ], + [ + 3, + 533 + ], + [ + 3, + 720 + ], + [ + 117, + 127 + ], + [ + 364, + 1014 + ], + [ + 467, + 649 + ], + [ + 595, + 529 + ], + [ + 602, + 686 + ], + [ + 685, + 682 + ], + [ + 912, + 127 + ] + ], + "contact_sha256": "625b3e7b5cb464db659f9deb02cca7f5a511b9251b9d51d8eaa230633778516b", + "contacts": 320, + "ports": 20, + "recipes_sha256": "6805fcec0d6e4b73ae41bc580e7a05618fd52de52bd40f881925b92eb080fc54", + "slice": 4, + "total": 3023 +} diff --git a/research/p104-relay-cut-recoding/results/witness-0.json b/research/p104-relay-cut-recoding/results/witness-0.json new file mode 100644 index 0000000000..1fd1bf91df --- /dev/null +++ b/research/p104-relay-cut-recoding/results/witness-0.json @@ -0,0 +1,470 @@ +{ + "checks": [ + { + "direction": "forward", + "keys": [ + 91157, + 91200 + ], + "kind": "pivot", + "new_ranks": [ + 6 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 1 + }, + { + "direction": "forward", + "keys": [ + 98855, + 104187 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 3 + }, + { + "direction": "transpose", + "keys": [ + 100209, + 100188 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 5 + }, + { + "direction": "transpose", + "keys": [ + 90646, + 88793 + ], + "kind": "pivot", + "new_ranks": [ + 2 + ], + "old_ranks": [ + 1, + 1 + ], + "step": 7 + }, + { + "direction": "forward", + "keys": [ + 88524, + 97734 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 9 + }, + { + "direction": "forward", + "keys": [ + 89999, + 98207 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 11 + }, + { + "direction": "transpose", + "keys": [ + 90647, + 88473 + ], + "kind": "pivot", + "new_ranks": [ + 2 + ], + "old_ranks": [ + 1, + 1 + ], + "step": 13 + }, + { + "direction": "forward", + "keys": [ + 88473, + 96070 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 15 + }, + { + "direction": "transpose", + "keys": [ + 91083, + 90656 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 1, + 2 + ], + "step": 17 + }, + { + "charts": [ + 507, + 707, + 127, + 696 + ], + "direction": "forward", + "keys": [ + 95267, + 103609 + ], + "kind": "group", + "new_ranks": [ + 5, + 2 + ], + "old_ranks": [ + 4, + 3 + ], + "step": 19 + }, + { + "charts": [ + 449, + 1067, + 127, + 929 + ], + "direction": "forward", + "keys": [ + 99569, + 99936 + ], + "kind": "group", + "new_ranks": [ + 5, + 2 + ], + "old_ranks": [ + 3, + 4 + ], + "step": 21 + }, + { + "charts": [ + 261, + 730, + 127, + 912 + ], + "direction": "forward", + "keys": [ + 98493, + 103414 + ], + "kind": "group", + "new_ranks": [ + 4, + 2 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 23 + }, + { + "charts": [ + 660, + 661, + 3, + 9 + ], + "direction": "transpose", + "keys": [ + 97429, + 97427 + ], + "kind": "group", + "new_ranks": [ + 6, + 1 + ], + "old_ranks": [ + 4, + 3 + ], + "step": 25 + }, + { + "charts": [ + 631, + 641, + 602, + 637 + ], + "direction": "transpose", + "keys": [ + 97820, + 97467 + ], + "kind": "group", + "new_ranks": [ + 4, + 1 + ], + "old_ranks": [ + 3, + 2 + ], + "step": 27 + }, + { + "charts": [ + 682, + 689, + 602, + 685 + ], + "direction": "transpose", + "keys": [ + 98266, + 97879 + ], + "kind": "group", + "new_ranks": [ + 4, + 1 + ], + "old_ranks": [ + 3, + 2 + ], + "step": 29 + }, + { + "charts": [ + 635, + 546, + 3, + 506 + ], + "direction": "transpose", + "keys": [ + 97392, + 97390 + ], + "kind": "group", + "new_ranks": [ + 5, + 2 + ], + "old_ranks": [ + 4, + 3 + ], + "step": 31 + }, + { + "charts": [ + 649, + 562, + 3, + 467 + ], + "direction": "transpose", + "keys": [ + 100352, + 95889 + ], + "kind": "group", + "new_ranks": [ + 5, + 2 + ], + "old_ranks": [ + 4, + 3 + ], + "step": 33 + }, + { + "charts": [ + 807, + 1097, + 3, + 330 + ], + "direction": "transpose", + "keys": [ + 98837, + 91397 + ], + "kind": "group", + "new_ranks": [ + 4, + 2 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 35 + }, + { + "charts": [ + 1072, + 755, + 3, + 450 + ], + "direction": "transpose", + "keys": [ + 98849, + 95356 + ], + "kind": "group", + "new_ranks": [ + 4, + 2 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 37 + }, + { + "charts": [ + 117, + 542, + 127, + 222 + ], + "determinant": "1", + "direction": "forward", + "keys": [ + 101932, + 103800 + ], + "kind": "feedback", + "new_ranks": [ + 3, + 1 + ], + "old_ranks": [ + 2, + 2 + ], + "prior_edge_to_hub": true, + "step": 39 + }, + { + "direction": "forward", + "keys": [ + 94878, + 97358 + ], + "kind": "pivot", + "new_ranks": [ + 6 + ], + "old_ranks": [ + 5, + 1 + ], + "step": 41 + }, + { + "charts": [ + 3, + 722, + 929, + 778 + ], + "direction": "forward", + "keys": [ + 98900, + 101132 + ], + "kind": "group", + "new_ranks": [ + 6, + 1 + ], + "old_ranks": [ + 3, + 4 + ], + "step": 43 + }, + { + "direction": "transpose", + "keys": [ + 103800, + 101932 + ], + "kind": "pivot", + "new_ranks": [ + 4 + ], + "old_ranks": [ + 1, + 3 + ], + "step": 45 + } + ], + "rejected_signs": [ + "feedback", + "group", + "pivot" + ], + "reverse": { + "columns": 1501, + "final_grid": 2123366400, + "final_products": 7654503, + "parent_grid": 2123366400, + "parent_products": 6605457 + } +} diff --git a/research/p104-relay-cut-recoding/results/witness-1.json b/research/p104-relay-cut-recoding/results/witness-1.json new file mode 100644 index 0000000000..29958c2bcd --- /dev/null +++ b/research/p104-relay-cut-recoding/results/witness-1.json @@ -0,0 +1,470 @@ +{ + "checks": [ + { + "direction": "forward", + "keys": [ + 100142, + 104294 + ], + "kind": "pivot", + "new_ranks": [ + 4 + ], + "old_ranks": [ + 3, + 1 + ], + "step": 2 + }, + { + "direction": "forward", + "keys": [ + 98052, + 103768 + ], + "kind": "pivot", + "new_ranks": [ + 2 + ], + "old_ranks": [ + 1, + 1 + ], + "step": 4 + }, + { + "direction": "transpose", + "keys": [ + 90639, + 89999 + ], + "kind": "pivot", + "new_ranks": [ + 2 + ], + "old_ranks": [ + 1, + 1 + ], + "step": 6 + }, + { + "direction": "transpose", + "keys": [ + 94655, + 88524 + ], + "kind": "pivot", + "new_ranks": [ + 2 + ], + "old_ranks": [ + 1, + 1 + ], + "step": 8 + }, + { + "direction": "forward", + "keys": [ + 88793, + 98427 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 10 + }, + { + "direction": "transpose", + "keys": [ + 90640, + 89956 + ], + "kind": "pivot", + "new_ranks": [ + 2 + ], + "old_ranks": [ + 1, + 1 + ], + "step": 12 + }, + { + "direction": "transpose", + "keys": [ + 94656, + 88694 + ], + "kind": "pivot", + "new_ranks": [ + 2 + ], + "old_ranks": [ + 1, + 1 + ], + "step": 14 + }, + { + "direction": "forward", + "keys": [ + 88694, + 95776 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 16 + }, + { + "charts": [ + 595, + 737, + 529, + 520 + ], + "direction": "forward", + "keys": [ + 94878, + 97358 + ], + "kind": "group", + "new_ranks": [ + 5, + 1 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 18 + }, + { + "charts": [ + 478, + 646, + 127, + 649 + ], + "direction": "forward", + "keys": [ + 97657, + 103605 + ], + "kind": "group", + "new_ranks": [ + 5, + 2 + ], + "old_ranks": [ + 4, + 3 + ], + "step": 20 + }, + { + "charts": [ + 324, + 854, + 127, + 982 + ], + "direction": "forward", + "keys": [ + 97702, + 103833 + ], + "kind": "group", + "new_ranks": [ + 4, + 2 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 22 + }, + { + "charts": [ + 364, + 896, + 127, + 1014 + ], + "direction": "forward", + "keys": [ + 101250, + 104372 + ], + "kind": "group", + "new_ranks": [ + 4, + 2 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 24 + }, + { + "charts": [ + 649, + 640, + 602, + 638 + ], + "direction": "transpose", + "keys": [ + 97662, + 97660 + ], + "kind": "group", + "new_ranks": [ + 4, + 1 + ], + "old_ranks": [ + 3, + 2 + ], + "step": 26 + }, + { + "charts": [ + 696, + 688, + 602, + 686 + ], + "direction": "transpose", + "keys": [ + 98247, + 97877 + ], + "kind": "group", + "new_ranks": [ + 4, + 1 + ], + "old_ranks": [ + 3, + 2 + ], + "step": 28 + }, + { + "charts": [ + 674, + 687, + 602, + 684 + ], + "direction": "transpose", + "keys": [ + 98291, + 97456 + ], + "kind": "group", + "new_ranks": [ + 4, + 1 + ], + "old_ranks": [ + 3, + 2 + ], + "step": 30 + }, + { + "charts": [ + 660, + 561, + 3, + 278 + ], + "direction": "transpose", + "keys": [ + 100336, + 100334 + ], + "kind": "group", + "new_ranks": [ + 5, + 2 + ], + "old_ranks": [ + 4, + 3 + ], + "step": 32 + }, + { + "charts": [ + 776, + 577, + 3, + 442 + ], + "direction": "transpose", + "keys": [ + 95382, + 95042 + ], + "kind": "group", + "new_ranks": [ + 4, + 2 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 34 + }, + { + "charts": [ + 1072, + 748, + 3, + 430 + ], + "direction": "transpose", + "keys": [ + 98847, + 98802 + ], + "kind": "group", + "new_ranks": [ + 4, + 2 + ], + "old_ranks": [ + 3, + 3 + ], + "step": 36 + }, + { + "charts": [ + 3, + 772, + 127, + 916 + ], + "determinant": "5", + "direction": "forward", + "keys": [ + 100727, + 100729 + ], + "kind": "feedback", + "new_ranks": [ + 7, + 2 + ], + "old_ranks": [ + 4, + 5 + ], + "prior_edge_to_hub": true, + "step": 38 + }, + { + "charts": [ + 722, + 1067, + 929, + 778 + ], + "determinant": "1", + "direction": "forward", + "keys": [ + 99570, + 101132 + ], + "kind": "feedback", + "new_ranks": [ + 3, + 1 + ], + "old_ranks": [ + 2, + 2 + ], + "prior_edge_to_hub": false, + "step": 40 + }, + { + "direction": "forward", + "keys": [ + 99570, + 101132 + ], + "kind": "pivot", + "new_ranks": [ + 4 + ], + "old_ranks": [ + 3, + 1 + ], + "step": 42 + }, + { + "direction": "transpose", + "keys": [ + 97429, + 97427 + ], + "kind": "pivot", + "new_ranks": [ + 7 + ], + "old_ranks": [ + 6, + 1 + ], + "step": 44 + }, + { + "direction": "transpose", + "keys": [ + 99936, + 101132 + ], + "kind": "pivot", + "new_ranks": [ + 3 + ], + "old_ranks": [ + 2, + 1 + ], + "step": 46 + } + ], + "raw_clears": { + "nonzero": 193, + "total": 235, + "zero": 42 + }, + "rejected_signs": [ + "feedback", + "group", + "pivot" + ] +} diff --git a/research/p104-relay-cut-recoding/vendor/binding16.py b/research/p104-relay-cut-recoding/vendor/binding16.py new file mode 100644 index 0000000000..d07341b817 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/binding16.py @@ -0,0 +1,280 @@ +"""Complete occurrence and source-bound phase specialization of #7000/#7113. + +The degree-two phase polynomial and translation checks are reused unchanged +from Douglas Colkitt's retained upstream_application.py. See SOURCE-PINS.json. +""" + +from collections import Counter + +from caller16 import literal_layout, require +from upstream_application import boundary, digest, dot, polynomial, sub, terms, translation + + +def route(q, basis, stage, ambient): + native = [q, *basis] + require(len(native) == 9 and all(0 < v < 512 for v in native), + "nine central directions") + require(all(dot(a, b) == (i == j) for i, a in enumerate(native) + for j, b in enumerate(native)), "orthonormal central directions") + fresh = [1 << (9 + 8 * (stage - 1) + j) for j in range(8)] + mask = 511 | sum(fresh) + + def transform(value): + central = value & 511 + out = value & ~mask + if dot(central, q): + out ^= q + for basis_vector, axis in zip(basis, fresh, strict=True): + if dot(central, basis_vector): + out ^= axis + if value & axis: + out ^= basis_vector + return out + + axes = [1 << j for j in range(ambient)] + require(all(transform(transform(a)) == a for a in axes), "full route involution") + require(transform(q) == q, "preserved head direction") + require(all(transform(a) == a for a in axes if not mask & a), "complete spectators") + return transform + + +def contact_phase(q, basis, stage, ambient): + move = route(q, basis, stage, ambient) + before_axes = [1 << j for j in range(9 + 8 * (stage - 1))] + after_axes = [1 << j for j in range(9 + 8 * stage)] + spectator = [1 << j for j in range(9, 9 + 8 * stage)] + x0 = terms((a, 1) for a in before_axes) + y0 = terms([*x0.items(), (q, -1)]) + x1 = terms((a, 1) for a in after_axes) + y1 = terms([*x1.items(), (q, -1)]) + nx0 = terms([(a, 1) for a in spectator] + [(q, 1)]) + ny0 = terms((a, 1) for a in spectator) + nx1 = terms((a, 1) for a in [*spectator, *[1 << j for j in range(9)]]) + ny1 = terms([*nx1.items(), (q, -1)]) + pairs = ((x0, nx0), (y0, ny0), (nx1, x1), (ny1, y1)) + shifts = [boundary(a, b, move) for a, b in pairs] + body = terms((1 << j, 1) for j in range(9 + 8 * (stage - 1), 9 + 8 * stage)) + require(not polynomial(sub(sub(x1, x0), body)) + and not polynomial(sub(sub(y1, y0), body)) + and not polynomial(sub(sub(y1, x0), terms([*body.items(), (q, -1)]))) + and not polynomial(sub(sub(x1, y0), terms([*body.items(), (q, 1)]))), + "all four signed contact operators") + require(polynomial(sub(terms([(q, 1)]), terms([(q, -1)]))), + "query orientation discrimination") + # The two signed head corrections and the Q^2 term of LAMBDA. + require(translation(sub(terms([(q, 1)]), terms([(q, -1)]))) == q + and translation(terms([(q, 2)])) == q, "ordinary head translations") + first_shift = next((i for i, shift in enumerate(shifts) if shift), None) + return shifts, (move, pairs[first_shift]) if first_shift is not None else None + + +def native_inventory(word, helpers): + dimensions = [len(frame) for frame in word["frames"]] + public = word["public"] + owned = {} + lifetimes = [] + moves = [] + paid = Counter() + opcodes = Counter() + live_peak = 0 + for clock, event in enumerate(word["program"]): + op, role, *args = event + opcodes[op] += 1 + if op == "INIT": + require(public <= role < public + word["owned_fields"] and role not in owned, + "fresh owned lifetime") + owned[role] = len(lifetimes) + lifetimes.append([role, clock, args[0], None, None]) + live_peak = max(live_peak, len(owned)) + elif op == "CLEAR": + require(role in owned, "ordered owned retirement") + lifetime = lifetimes[owned.pop(role)] + lifetime[3:] = [clock, args[0]] + elif op == "MOVE": + first, last, is_owned = args + rank = abs(dimensions[last] - dimensions[first]) + require(rank > 0 and is_owned == (role >= public), "positive paid native rank") + require(not is_owned or role in owned, "current private MOVE owner") + moves.append((clock, role, first, last, rank, owned.get(role))) + paid[rank] += 1 + require(not owned and len(lifetimes) == 235 and live_peak == 51, "full 235-lifetime closure") + targets = Counter() + for role in helpers: + rank = dimensions[word["final"][role]] - dimensions[word["initial"][role]] + require(rank > 0, "positive independently owned helper target") + targets[rank] += 1 + return lifetimes, moves, paid, targets, opcodes + + +def complete_binding(word, caller, phases, signed): + stages, types, role_sets = literal_layout(caller, word) + ambient = caller["ambient_rank"] + public = word["public"] + require(public == 1501 and word["owned_fields"] == 68, "exact native public/private header") + ports = word["ports"] + live = word["live"] + h = word["hosted"] + second = dict(zip(h["Dports"], zip(h["X2"], h["Y2"], strict=True), strict=True)) + main = set(live) | {r + 112 for r in live} | set(h["X2"]) | set(h["Y2"]) + helpers = sorted(set(range(public)) - main) + require(len(live) == len(ports) == 104 and len(set(ports)) == 104 + and len(main) == 400 and len(helpers) == 1101, "actual native partition") + special_helpers = (325, 1087) + for role in special_helpers: + pair = [word["initial"][role], word["final"][role]] + require(role in helpers and pair == [3, 237] + and not word["frames"][pair[0]] + and word["frames"][pair[1]] == [30, 75, 138, 266], + "explicit arbitrary-input rank-four helper boundary") + by_q = {row["q"]: row["idle_children"][0]["orthogonal_axes"][:8] + for row in phases["recipes"]} + require(set(ports) <= set(by_q), "every actual port has a pinned phase basis") + for port, (first, q) in enumerate(zip(live, ports, strict=True)): + companion = first + 112 + fin = word["frames"][word["final"][companion]] + require(word["frames"][word["initial"][first]] == [q] + and not word["frames"][word["initial"][companion]] + and word["frames"][word["final"][first]] == [1 << j for j in range(9)] + and len(fin) == 8 and all(dot(q, axis) == 0 for axis in fin), + "actual main source and target charts") + if port in second: + x2, y2 = second[port] + require(all(word[key][a] == word[key][b] + for key in ("initial", "final") + for a, b in ((first, x2), (companion, y2))), + "separate second plane with identical charts") + + lifetime_plan, moves, native_paid, helper_targets, opcodes = native_inventory(word, helpers) + roots = {("main", port, role) for kind, spec in types.items() + for port in spec["ports"] for role in role_sets[kind]} + require(len(roots) == signed["root_owners"] == 3536, "distinct root owner count") + fresh_helpers = set() + paid = Counter() + targets = Counter() + phase_rows = [] + occurrences = [] + owner_maps = [] + phase_fault_rejected = False + signed_idles = 0 + special_owners = [] + for clock, event in enumerate(caller["events"]): + if event[0] == "J": + _, stage, a, b = event + owners = {} + for port, first in enumerate(live): + pair = a[:2] if port in second else b[:2] + first_pair = ((first, pair[0]), (first + 112, pair[1])) + if port in second: + first_pair += tuple(zip(second[port], a[2:], strict=True)) + for slot, role in first_pair: + tag = ("main", port, role) + require(tag in roots and slot not in owners, "injective main assignment") + owners[slot] = tag + shifts, fault = contact_phase(ports[port], by_q[ports[port]], stage, ambient) + phase_rows.append([clock, port, shifts, 2 if port in second else 1]) + if fault and not phase_fault_rejected: + transform, (before, after) = fault + try: + boundary(before, after, transform, omit_translation=True) + except ValueError as exc: + require(str(exc) == "forward contact includes its phase", + "phase control rejection reason") + phase_fault_rejected = True + else: + raise ValueError("omitted contact translation escaped") + require(set(owners) == main and len(set(owners.values())) == 400, + "all source main slots have different physical owners") + for role in helpers: + tag = ("helper", stage, role) + require(tag not in fresh_helpers and tag not in roots, "fresh arbitrary helper") + fresh_helpers.add(tag) + owners[role] = tag + if role in special_helpers: + special_owners.append({ + "tag": tag, "stage": stage, "caller_clock": clock, + "initial_chart": 3, "final_chart": 237, "target_rank": 4, + "exit_ordered_basis": word["frames"][237], + }) + require(set(owners) == set(range(public)) and len(set(owners.values())) == public, + "full public-field injection") + owner_maps.append([stage, sorted(owners.items())]) + for native_clock, role, first, last, rank, owned in moves: + tag = owners[role] if owned is None else ("owned", stage, owned) + require(tag not in roots or owned is None, "private owner separation") + paid[rank] += 1 + occurrences.append([clock, native_clock, tag, rank, first, last]) + targets.update(helper_targets) + continue + + kind, op, role, *args = event + if op not in {"QUERY", "IDLE_ONE", "IDLE_ODD"}: + continue + if op == "QUERY": + rank = 1 + else: + rank = 8 * len(args[0]) + int(op == "IDLE_ODD") + for port in types[kind]["ports"]: + tag = ("query_scratch", clock, port) if op == "QUERY" else ("main", port, role) + require((tag not in roots) if op == "QUERY" else tag in roots, "caller paid owner") + occurrences.append([clock, op, tag, rank]) + paid[rank] += 1 + signed_idles += int(op == "IDLE_ODD") + require(len(owner_maps) == stages and len(fresh_helpers) == 17616 and phase_fault_rejected, + "complete 16-call owners and phase control") + require(len(special_owners) == len({row["tag"] for row in special_owners}) == 32, + "distinct stage-tagged arbitrary helper 325 and 1087 ingress/egress") + root_targets = Counter() + root_negative = 0 + for kind, spec in types.items(): + for phase, coeff_phase, *selection in spec["diagonal"]: + require(coeff_phase == 0 and any(selection), "whole positive target endpoint") + for port in spec["ports"]: + q = ports[port] + axes = [1 << (9 + 8 * j + offset) for j, yes in enumerate(selection) + if yes for offset in range(8)] + require(len(axes) == len(set(axes)) and all(a < 1 << ambient for a in axes), + "positive target complete distinct axes") + actual = terms([(q, phase)] + [(axis, 1) for axis in axes]) + positive = terms((a, 1) for a in ([q] if phase else []) + axes) + require(translation(sub(positive, actual)) == (q if phase == -1 else 0), + "exact negative root translation") + root_targets[len(axes) + int(bool(phase))] += 1 + root_negative += int(phase < 0) + targets.update(root_targets) + references = Counter({rank: stages * count for rank, count in native_paid.items()}) + references.update(signed["fixed_caller_paid"]) + require(paid == references and root_targets == Counter(signed["fixed_root_targets"]), + "independent decomposition and occurrence invoices agree") + require(len(occurrences) == sum(paid.values()) and sum(targets.values()) == 21152, + "complete paid and productive owner count") + contacts = sum(4 * row[3] for row in phase_rows) + nonzero = sum(row[3] * sum(bool(v) for v in row[2]) for row in phase_rows) + require(contacts == nonzero == 12800, "all 12,800 absolute phase translations charged") + return { + "ambient": ambient, + "calls": stages, + "native_public": public, + "main_per_native": len(main), + "fresh_helpers": len(fresh_helpers), + "role_325_and_1087_helper_owners": special_owners, + "root_owners": len(roots), + "productive_fields": sum(targets.values()), + "paid_positions": len(occurrences), + "native_paid": dict(native_paid), + "native_targets": dict(helper_targets), + "paid": dict(paid), + "targets": dict(targets), + "phase_digest": digest(phase_rows), + "owner_map_digest": digest(owner_maps), + "ordered_paid_digest": digest(occurrences), + "contacts": contacts, + "nonzero_contact_translations": nonzero, + "phase_omission_rejected": phase_fault_rejected, + "signed_idle_ordinary_corrections": signed_idles, + "negative_root_ordinary_corrections": root_negative, + "owned_lifetimes_per_native": len(lifetime_plan), + "owned_lifetime_plan_digest": digest(lifetime_plan), + "owned_fresh_homes_per_raw_caller": stages * len(lifetime_plan), + "owned_resets_per_raw_caller": 2 * stages * len(lifetime_plan), + "native_opcodes": dict(opcodes), + } diff --git a/research/p104-relay-cut-recoding/vendor/caller16.py b/research/p104-relay-cut-recoding/vendor/caller16.py new file mode 100644 index 0000000000..2865530b78 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/caller16.py @@ -0,0 +1,182 @@ +"""Exact signed caller replay, adapted from Ali Romman's #7663 caller.py. + +See SOURCE-PINS.json for Rohan Arun's literal #7113-derived caller and +the attributed reference engines. Apache-2.0. +""" + +from collections import Counter +from fractions import Fraction +from functools import cache + + +def require(condition, message): + if not condition: + raise ValueError(message) + + +def exact_div(numerator, denominator): + quotient, remainder = divmod(numerator, denominator) + require(remainder == 0, "inexact caller pre-product") + return quotient + + +def literal_layout(caller, word): + stages = caller["stages"] + require(stages == 16 and caller["ambient_rank"] == 9 + 8 * stages == 137, + "literal 16-call, 137-axis layout") + require(len(caller["events"]) == 4192, "literal caller event count") + types = caller["types"] + require(set(types) == {"A", "B"}, "literal type partition") + require(all(spec["roles"] == 34 for spec in types.values()), "literal 34+34 roles") + require(types["A"]["ports"] == word["hosted"]["Dports"], "hosted port assignment") + require((len(types["A"]["ports"]), len(types["B"]["ports"])) == (96, 8), + "literal 96+8 ports") + require(sorted(types["A"]["ports"] + types["B"]["ports"]) == list(range(104)), + "disjoint complete 104-port assignment") + role_sets = { + kind: set(range(spec["offset"], spec["offset"] + spec["roles"])) + for kind, spec in types.items() + } + require(role_sets["A"].isdisjoint(role_sets["B"]) + and role_sets["A"] | role_sets["B"] == set(range(caller["roles"])), + "disjoint complete root role ranges") + h = word["hosted"] + coefficients = tuple(Fraction(h[k]) for k in ("alpha", "beta", "alpha2", "beta2")) + require(coefficients == (-1, Fraction(1, 2), -1, 0), "joint normalized source coefficients") + require(Fraction(types["A"]["alpha2"]) == coefficients[2], "A second-plane coefficient") + return stages, types, role_sets + + +def signed_caller(caller, word, odd_scale, dyadic_height): + stages, types, role_sets = literal_layout(caller, word) + unit = odd_scale << dyadic_height + zero = (0,) * stages + rows = [{(r, 0, zero): (unit, 0)} for r in range(caller["roles"])] + paid = Counter() + targets = Counter() + uses = Counter() + calls = [] + checks = 0 + peak = unit + peak_at = (-1, "entrance") + clock = -1 + + def observe(row, site): + nonlocal peak, peak_at + mass = sum(abs(real) + abs(imag) for real, imag in row.values()) + if mass > peak: + peak, peak_at = mass, (clock, site) + + @cache + def shifted(exponents, shift): + result = list(exponents) + for stage in shift: + result[stage - 1] += 1 + return tuple(result) + + def term(row, ar=1, ai=0, denominator=1, phase=0, shift=()): + nonlocal checks + out = {} + for (role, q, powers), (x, y) in row.items(): + real, imag = ar * x - ai * y, ar * y + ai * x + if denominator != 1: + real, imag = exact_div(real, denominator), exact_div(imag, denominator) + checks += 1 + if real or imag: + key = (role, (q + phase) % 4, shifted(powers, shift) if shift else powers) + out[key] = (real, imag) + observe(out, "scaled separate term") + return out + + def add(a, b): + out = a.copy() + for key, (u, v) in b.items(): + x, y = out.get(key, (0, 0)) + if x + u or y + v: + out[key] = (x + u, y + v) + else: + out.pop(key, None) + observe(out, "stored sum") + return out + + for clock, event in enumerate(caller["events"]): + kind = event[0] + if kind == "J": + _, stage, (x, y, u, v), (a, b, alpha, beta) = event + require(stage == len(calls) + 1, "chronological joint occurrences") + require(Fraction(alpha) == -1 and Fraction(beta) == Fraction(1, 2), + "literal joint coefficients") + require(len({x, y, u, v}) == 4 and {x, y, u, v} <= role_sets["A"] + and a != b and {a, b} <= role_sets["B"], "joint owner alias") + calls.append(stage) + rows[y] = add(rows[y], term(rows[x], phase=-1)) + rows[u] = add(rows[u], term(rows[v], -1, phase=1)) + first, second = rows[a], rows[b] + rows[a] = add(first, term(second, -1, phase=1)) + rows[b] = add(term(second, denominator=2), + term(first, denominator=2, phase=-1)) + for role in (x, y, u, v, a, b): + rows[role] = term(rows[role], shift=(stage,)) + continue + + _, op, role, *args = event + require(kind in role_sets and role in role_sets[kind], "caller target owner") + replicas = len(types[kind]["ports"]) + uses[op] += replicas + if op in {"ADD", "SWAP", "QUERY"}: + require(args[0] in role_sets[kind] and args[0] != role, "caller donor owner") + if op == "SWAP": + other, = args + rows[role], rows[other] = rows[other], rows[role] + elif op == "QUERY": + donor, sign = args + require(sign in (-1, 1), "caller query orientation") + rows[role] = add(rows[role], term(rows[donor], phase=sign)) + paid[1] += replicas + elif op in {"ADD", "SCALE"}: + factor = Fraction(args[-1]) + donor = args[0] if op == "ADD" else role + contribution = term(rows[donor], factor.numerator, denominator=factor.denominator) + rows[role] = add(rows[role], contribution) if op == "ADD" else contribution + elif op == "LAMBDA": + sign, = args + require(sign in (-1, 1), "caller LAMBDA sign") + old = rows[role] + rows[role] = add(term(old, 1, sign, 2), term(old, 1, -sign, 2, phase=2)) + else: + require(op in {"IDLE_ONE", "IDLE_ODD"}, "known caller operation") + block = tuple(args[0]) + require(block and len(block) == len(set(block)) + and all(1 <= k <= stages for k in block), "whole idle stage subset") + if op == "IDLE_ODD": + require(len(args) == 2 and len(block) == 1 and args[1] == -1, + "literal signed rank-nine child") + else: + require(len(args) == 1, "literal unit idle") + phase = args[1] if op == "IDLE_ODD" else 0 + rows[role] = term(rows[role], phase=phase, shift=block) + paid[8 * len(block) + phase % 2] += replicas + + require(calls == list(range(1, stages + 1)), "all 16 native invocations") + for spec in types.values(): + require(len(spec["diagonal"]) == spec["roles"], "complete diagonal") + for off, (phase, coefficient_phase, *powers) in enumerate(spec["diagonal"]): + role = spec["offset"] + off + require(phase in (-1, 0, 1) and coefficient_phase == 0 and len(powers) == stages + and set(powers) <= {0, 1} and any(powers), "positive whole root target") + require(rows[role] == {(role, phase % 4, tuple(powers)): (unit, 0)}, + "exact signed root endpoint") + targets[8 * sum(powers) + phase % 2] += len(spec["ports"]) + return { + "fixed_caller_paid": dict(paid), + "fixed_root_targets": dict(targets), + "uses": dict(uses), + "calls": stages, + "roles": len(rows), + "root_owners": sum(targets.values()), + "dyadic_height": dyadic_height, + "odd_scale": odd_scale, + "peak_scaled_mass": str(Fraction(peak, 1 << dyadic_height)), + "peak_witness": peak_at, + "exact_preproduct_divisions": checks, + } diff --git a/research/p104-relay-cut-recoding/vendor/construct.py b/research/p104-relay-cut-recoding/vendor/construct.py new file mode 100644 index 0000000000..25115bba74 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/construct.py @@ -0,0 +1,277 @@ +#!/usr/bin/env python3 +"""Rebuild the exact banked #7700 graph and its role-1256 relay contraction.""" + +import argparse +from dataclasses import dataclass +from fractions import Fraction +from functools import cache +from graphlib import TopologicalSorter +import gzip +from hashlib import sha256 +import json +from pathlib import Path + + +HERE = Path(__file__).resolve().parent +DATA = HERE / "data" +SOURCE_HEAD = "7d84799a447867d36137d12ef7ca5646154d763c" +WORD = "ae62d5d8bef6f7146454b4b3643e487a58380c606a16c5baef7bf0dcf9df1472" +CERTS = "39ef28b708cd8bf1166b111d656809407b370dd11cd81a8e43820779f995aca3" +CALLER = "62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf" +DONOR_HEAD = "28b2af322a1fab01b3734365988930920f9dda48" +PARENT = "72705b094d83d2ba24006661bbb031786a691b776bedb94515b1321e1535105f" +CHILD = "8e7b755bd2d2d387bc3d3adfe48100985adf74775ca5acbb143170a3d16b5ccf" +PINS = { + "WORD.json.gz": ("50c1facfc5626c060560e2f354b71bd92d0bb1c1e853b2aad72abcbaaa5328a5", WORD), + "CERTS.json": (CERTS, CERTS), + "CALLER.json.gz": ("d889996a337f648087208ab51c98eaf052705d4fca88b5d01b6e9257a829897a", CALLER), + "PARENT-GRAPH.json.gz": ("c86288cddb4b80af3c8128c9a0d2f7a1e82bae64c5152a0d96a19d166afaab1d", PARENT), + "CANDIDATE-GRAPH.json.gz": ("0177c25371181e3b1f2c13325eb8434fbf6384a9ab99a612849efd5d0f6ab2cc", CHILD), +} +REMOVE = 95828 +KEEP = 104442 +ROLE = 1256 +START, RELAY, END = (476, 878, 127) + + +def need(condition, message): + if not condition: + raise ValueError(message) + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def digest(raw): + return sha256(raw).hexdigest() + + +def read(name): + path = DATA / name + packed = path.read_bytes() + packed_sha, raw_sha = PINS[name] + need(digest(packed) == packed_sha, f"transport hash of {name}") + raw = gzip.decompress(packed) if path.suffix == ".gz" else packed + need(digest(raw) == raw_sha, f"decoded hash of {name}") + return raw + + +@cache +def rational(literal): + number = Fraction(literal) + need(number and str(number) == literal, "reduced nonzero rational literal") + return number + + +def accumulate(row, source, factor): + for token, value in source.items(): + total = row.get(token, 0) + factor * value + if total: + row[token] = total + else: + row.pop(token, None) + + +@dataclass +class Graph: + """Every paid result is a distinct stable token. Terminals are never donors.""" + + first: int + initial: list + final: list + moves: dict + forms: dict + + def schedule(self): + terminals = set(range(self.first, self.first + len(self.final))) + need(self.forms.keys() == terminals | self.moves.keys(), "complete paid and public forms") + dependencies = {} + for key in sorted(self.forms): + source = self.moves[key][0] if key in self.moves else self.final[key - self.first] + dependencies[key] = [] + for donor in sorted(self.forms[key]): + if donor >= 0: + need(donor in self.moves and self.moves[donor][1] == source, + f"same ordered chart for paid donor at {key}") + dependencies[key].append(donor) + else: + role = ~donor + need(0 <= role < len(self.initial) and self.initial[role] == source, + f"same ordered chart for input donor at {key}") + return list(TopologicalSorter(dependencies).static_order()) + + def transpose(self): + def reverse(node): + if node < 0: + return self.first + ~node + if node >= self.first: + return ~(node - self.first) + return node + + rows = {key: {} for key in self.moves} + rows.update({self.first + r: {} for r in range(len(self.initial))}) + for key, row in self.forms.items(): + for donor, weight in row.items(): + rows[reverse(donor)][reverse(key)] = weight + return Graph(self.first, self.final, self.initial, + {key: (b, a) for key, (a, b) in self.moves.items()}, rows) + + +@dataclass +class Clear: + clock: int + role: int + chart: int + born: int + left: dict + right: dict + sources: list + + +def raw_fold(word, certificates): + """Apply the attributed #7674 folding rule and capture both CLEAR sides.""" + n = word["public"] + start, end, program = word["initial"], word["final"], word["program"] + first = len(program) + capacity = n + word["owned_fields"] + need(n == len(start) == len(end) == 1501 and first == 154768 and capacity == 1569, + "exact raw denominator") + rows = [{~r: Fraction(1)} for r in range(n)] + [None] * word["owned_fields"] + charts = start[:] + [None] * word["owned_fields"] + active, moves, forms, raw_moves = {}, {}, {}, {} + witnesses = [] + peak = 0 + for clock, event in enumerate(program): + op, role, *args = event + need(type(role) is int and 0 <= role < capacity, "literal raw owner label") + if op == "INIT": + need(n <= role and role not in active and rows[role] is None, "new private owner") + need(0 <= args[0] < len(word["frames"]), "valid INIT chart") + charts[role] = args[0] + rows[role] = {} + active[role] = clock + peak = max(peak, len(active)) + continue + row = rows[role] + need(row is not None, "current live field") + if op == "MOVE": + a, b, owned = args + need(type(owned) is bool and owned == (role >= n) and a == charts[role] + and 0 <= b < len(word["frames"]), "literal owner and MOVE charts") + moves[clock], forms[clock] = (a, b), row + raw_moves[clock] = [role, a, b, owned, active.get(role)] + charts[role], rows[role] = b, {clock: Fraction(1)} + continue + need(charts[role] == args[-1], "literal scalar chart") + if op == "CLEAR": + need(role in active and str(clock) in certificates, f"certified private retirement {clock}") + relation = {} + sources = [] + for label, literal in sorted(certificates[str(clock)].items(), key=lambda item: int(item[0])): + field = int(label) + need(0 <= field < capacity and field != role and rows[field] is not None, + f"other live CLEAR witness source at {clock}") + factor = rational(literal) + accumulate(relation, rows[field], factor) + sources.append([field, charts[field], str(factor)]) + witnesses.append(Clear(clock, role, charts[role], active.pop(role), row, relation, sources)) + charts[role], rows[role] = None, None + elif op == "SCALE": + factor = rational(args[0]) + rows[role] = {token: coefficient * factor for token, coefficient in row.items()} + else: + donor, literal, _ = args + need(op == "ADD" and 0 <= donor < capacity and donor != role + and rows[donor] is not None and charts[donor] == charts[role], "other cocharted ADD") + accumulate(row, rows[donor], rational(literal)) + need(charts[:n] == end and all(value is None for value in charts[n:]) and not active, + "same public exit and complete private retirement") + need(peak == 51 and len(moves) == 6144 and len(witnesses) == len(certificates) == 235, + "complete native MOVE and CLEAR custody") + forms.update({first + r: rows[r] for r in range(n)}) + return Graph(first, start, end, moves, forms), witnesses, raw_moves + + +def span(basis): + values = {0} + for axis in basis: + need(type(axis) is int and 0 < axis < 512 and axis not in values, + "independent binary ordered chart") + values |= {axis ^ value for value in values} + return values + + +def contract(source, atlas, witnesses, raw_moves): + a, c, b = START, RELAY, END + need(raw_moves[REMOVE] == [ROLE,a,c,False,None] and raw_moves[KEEP] == [ROLE,c,b,False,None], + "literal route anchors and owner") + need(source.moves[REMOVE] == (a,c) and source.moves[KEEP] == (c,b) + and source.forms[KEEP] == {REMOVE: Fraction(1)}, "pure relay at the anchored paid reader") + readers = [key for key,row in source.forms.items() if REMOVE in row] + need(readers == [KEEP] and all(REMOVE not in clear.left and REMOVE not in clear.right for clear in witnesses), + "sole reader and no original CLEAR incidence") + basis_a,basis_c,basis_b = (atlas[x] for x in (a,c,b)) + need(span(basis_a) < span(basis_c) < span(basis_b) + and tuple(map(len,(basis_a,basis_c,basis_b))) == (3,6,9), "positive 3+3→6 chart nesting") + marks = { + "remove":REMOVE,"keep":KEEP,"charts":[a,c,b],"ranks":[3,3,6],"scale":"1", + "removed_raw_move":raw_moves[REMOVE],"surviving_raw_move_before":raw_moves[KEEP], + "direct_pair_already_paid":(a,b) in source.moves.values(), + "all_readers_of_removed":readers,"raw_clear_use_of_removed":False, + } + forms,moves = dict(source.forms),dict(source.moves) + forms[KEEP] = forms.pop(REMOVE) + del moves[REMOVE] + moves[KEEP] = (a,b) + return Graph(source.first,source.initial,source.final,moves,forms),marks + + +def serialized(graph, frames, kind, **extra): + metadata = { + "schema":"p104-exact-banked-dag/v1","kind":kind,"source_pr":7700,"source_pr_head":SOURCE_HEAD, + "source_word_sha256":WORD,"caller_sha256":CALLER, + "source_clear_certificates_sha256":CERTS,"reference_bank_head":DONOR_HEAD,**extra, + } + return canonical({ + "metadata":metadata,"frames":frames,"initial":graph.initial,"final":graph.final, + "first_output":graph.first,"moves":[[key,*route] for key,route in sorted(graph.moves.items())], + "forms":[[key,[[token,str(value)] for token,value in sorted(row.items())]] + for key,row in sorted(graph.forms.items())], + "schedule":graph.schedule(), + }) + + +def rebuild(): + word = json.loads(read("WORD.json.gz")) + certs = json.loads(read("CERTS.json")) + caller = json.loads(read("CALLER.json.gz")) + need(certs["candidate_canonical_sha256"] == WORD and caller["stages"] == 16 + and caller["ambient_rank"] == 137, "literal source and signed caller binding") + certificates = certs["clear_event_index"] + parent,witnesses,raw_moves = raw_fold(word,certificates) + child,mark = contract(parent,word["frames"],witnesses,raw_moves) + graphs = { + "PARENT-GRAPH.json.gz":serialized(parent,word["frames"],"parent"), + "CANDIDATE-GRAPH.json.gz":serialized(child,word["frames"],"candidate", + source_banked_graph_sha256=PARENT,paid_relay=mark), + } + for name,raw in graphs.items(): + need(raw == read(name), f"deterministic reconstruction of decoded {name}") + return word,certificates,parent,child,witnesses,mark,graphs + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--out-dir", type=Path, help="Optional directory for regenerated gzip artifacts") + args = parser.parse_args() + *_,graphs = rebuild() + if args.out_dir: + for name,raw in graphs.items(): + with (args.out_dir/name).open("xb") as stream: + stream.write(gzip.compress(raw,mtime=0)) + print("PASS_CF6A_REBUILD", PARENT, CHILD) + + +if __name__=="__main__": + main() diff --git a/research/p104-relay-cut-recoding/vendor/interval_gate.py b/research/p104-relay-cut-recoding/vendor/interval_gate.py new file mode 100644 index 0000000000..e24dc46079 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/interval_gate.py @@ -0,0 +1,128 @@ +#!/usr/bin/env python3 +"""Independent certified fixed-grid intervals (80 decimal places). +ln via 2 atanh after binary range reduction; exp(-x) via alternating +Taylor brackets. Uses only integer floor/ceiling, not Decimal transcendents. +""" +from fractions import Fraction as F +from functools import lru_cache +from pathlib import Path +import json,argparse +if not __debug__: raise RuntimeError('Run without -O; assertions are proof checks.') +B=10**80 + +def ceildiv(a,b):return -((-a)//b) +def exact(q): + q=F(q);return q.numerator*B//q.denominator,ceildiv(q.numerator*B,q.denominator) +def add(a,b):return a[0]+b[0],a[1]+b[1] +def sub(a,b):return a[0]-b[1],a[1]-b[0] +def mul(a,b): + p=[a[i]*b[j] for i in (0,1) for j in (0,1)];return min(p)//B,ceildiv(max(p),B) +def div(a,b): + assert b[0]>0 + p=[F(a[i]*B,b[j]) for i in (0,1) for j in (0,1)] + return min(p).__floor__(),max(p).__ceil__() +def smul(a,q):return mul(a,exact(q)) +def atanh_log(y): + yi=exact(y);yy=mul(yi,yi);p=yi;s=(0,0) + for j in range(100):s=add(s,smul(p,F(2,2*j+1)));p=mul(p,yy) + # 0 <= tail <= 2 y^201/[201(1-y^2)] < 3*(1/3)^201. + return s[0],s[1]+ceildiv(3*B,3**201) +@lru_cache(None) +def log(r): + assert r>=1 + k=r.bit_length()-1;y=F(r-2**k,r+2**k) + a=atanh_log(y);b=atanh_log(F(1,3));return add(a,smul(b,k)) +def expminus(x): + assert 0<=x[0]<=x[1]0 and margins[str(hi)][1]<0 and margins[str(tested)][0]>0 + target=moment(T,tested);paid=moment(P,tested) + alpha=div(paid,target) + # Tail exponent = 1-tested+1/7; argument exp may not be negative. + # r^(1-tested+1/7)=r^(1-tested)* exp(log(r)/7). + def exppos(x): + assert 0<=x[0]<=x[1]0 and gap.numerator==1;step=gap.denominator + wins=lambda j:(step*j+1)**written<2**j + l,h=1,2 + while not wins(h):l,h=h,2*h + while h-l>1: + m=(l+h)//2 + if wins(m):h=m + else:l=m + assert wins(h) and not wins(h-1) + # Monotonicity: upper derivative bound on [0, cap]. + derivative=(0,0) + for rr in T.keys()|P.keys(): + c=T.get(rr,0)-P.get(rr,0);r=int(rr) + term=mul(power(r,cap if c>=0 else 0),log(r));derivative=add(derivative,smul(term,-c)) + assert derivative[1]<0 + result=dict(claim=str(claim),tested=str(tested),raw_bracket=[str(lo),str(hi)],moment_margins={k:show(v) for k,v in margins.items()},moment_margin_float={k:value(v) for k,v in margins.items()},derivative_upper=float(F(derivative[1],B)),alpha=value(alpha),gamma=value(gamma),delta=value(delta),minimum_log_power=lp,written_log_power=written,compiler_gap=str(gap),H=str(step*h),BIT_pin=str(cap),BIT_margin=str(cap-tested)) + # Outer formulas evaluated independently after algebraically substituting + # b=k+5g,a=k+4g,q=k+3g,epsilon=1-g,beta=1-3g. + k=claim;g=gap;b=k+5*g;a=k+4*g;q=k+3*g;ep=1-g;be=1-3*g;r0=g/10;stop=layout=g + sig=1-b;tau=1-a;internal=tau+(1-stop)*max(sig-tau,0);leaf=sig+stop*(1-sig);lam=1-(q+a)/2;xi=ep*(1+q)-F(3,32)+layout;key=be+1-ep + M=[ep*q,a,1-ep+q*be,1-ep+a*be,1-ep+be,F(3,32)+xi-ep,xi+F(1,2)-ep,ep,1-(ep+be+48-128+2)] + checks=[cap-a,b-a,q,b-q,a-q,stop,1-stop,(1-stop)*b-a,1-internal-q,1-leaf-q,lam-tau,lam-sig,lam-internal,1-q-lam,1-q-leaf,ep,1-ep,xi-F(1,2),ep-xi,be,ep-be,1-be,1-(2*xi-2)-r0-be,1-(2*xi-2)-be,1-ep-r0,1-ep,r0,1-key,1-be-2*(1-ep),128-48-be,layout,ep-a,F(1,32)-b,F(2**45-7**16),F(2),2-xi,F(5),1-be,1-be,1-ep,M[2]-M[0],g,k-F('.001730970419199163702738'),1-ep,F(11,2)]+[x-k for x in M] + functional=[1-be,be*(1-F(3,1000)),128-48-ep-be-1,be*(1-F(1,250))] + assert len(checks)==54 and len(functional)==4 and min(checks+functional)>0 + result['outer']=dict(strict_count=54,functional_count=4,minimum_margin=str(min(checks+functional)),BIT_just_below_effective_rejected=(a-F(1,10**12))-a<0) + # Input-lift is only needed on [1-tested_complex,1]. A stronger BIT + # pin is irrelevant to this interval; the source's crude BIT-wide bound + # is not imported beyond its valid range. + pos={7:1,3:1,5:1};neg={9:1,4:1,1:2};d1=(0,0);curvature=(0,0) + for hist,sign in ((pos,1),(neg,-1)): + for r,c in hist.items(): + d1=add(d1,smul(log(r),sign*c*r)) + curvature=add(curvature,smul(mul(log(r),log(r)),c*r)) + lift_cap=cap if cap<=F('.00376669') else tested + assert tested<=lift_cap and F(d1[1],B)+lift_cap*F(curvature[1],B)<0 + lifts={} + for price in (claim,tested): + lift=sub(moment(pos,price),moment(neg,price));assert lift[0]>0 + assert price*(-F(d1[1],B))-price*price*F(curvature[1],B)/2>0 + lifts[str(price)]=show(lift) + result['input_lift']=dict(margins=lifts,interval_kappa_cap=str(lift_cap),derivative_upper_on_required_interval=str(F(d1[1],B)+lift_cap*F(curvature[1],B)),source_BIT_wide_crude_bound_would_be=str(F(d1[1],B)+cap*F(curvature[1],B))) + return result +if __name__=='__main__': + p=argparse.ArgumentParser();p.add_argument('audit');p.add_argument('--claim',default='.00362852408');p.add_argument('--tested',default='.00362852408007');p.add_argument('--lower',default='.00362852408398727978896072723289');p.add_argument('--upper',default='.00362852408398727978896072723290');p.add_argument('--out',required=True);p.add_argument('--bit-pin',default='.00376669');a=p.parse_args() + r=gate(json.loads(Path(a.audit).read_text())['invoice'],a.claim,a.tested,a.lower,a.upper,a.bit_pin);Path(a.out).write_text(json.dumps(r,indent=2)+'\n');print(json.dumps(r,indent=2)) diff --git a/research/p104-relay-cut-recoding/vendor/native.py b/research/p104-relay-cut-recoding/vendor/native.py new file mode 100644 index 0000000000..3e09f65fe3 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/native.py @@ -0,0 +1,132 @@ +"""Check exact rational signals, all endpoints, and the common integer grid.""" +from fractions import Fraction +from math import lcm +from pathlib import Path +import sys + +HERE = Path(__file__).resolve().parent +sys.path.insert(0, str(HERE)) +from network import add_scaled, coefficients, fold, main_roles, need, pivot, read, source_word + + +def grid(net, order): + denominators = {~r: 1 for r in range(len(net.initial))} + common = 1 + for node in order: + bound = 1 + for donor, factor in net.forms[node].items(): + bound = lcm(bound, denominators[donor] * factor.denominator) + denominators[node] = bound + common = lcm(common, bound) + return common + + +def evaluate(net, requested=None): + order = net.schedule() + if requested is not None: + active = set(requested) + for k in reversed(order): + if k in active: + active.update(net.forms[k]) + order = [k for k in order if k in active] + unit = grid(net, order) + values = {~r: {r: unit} for r in range(len(net.initial))} + mass = {~r: unit for r in range(len(net.initial))} + peak = unit + work = 0 + for k in order: + row = {} + bound = 0 + for donor, factor in sorted(net.forms[k].items()): + a, b = factor.numerator, factor.denominator + bound += abs(a) * mass[donor] // b + for i, value in values[donor].items(): + quotient, remainder = divmod(a * value, b) + need(remainder == 0, "native term left the grid") + new = row.get(i, 0) + quotient + if new: + row[i] = new + else: + row.pop(i, None) + work += len(values[donor]) + peak = max(peak, bound) + values[k] = row + mass[k] = sum(map(abs, row.values())) + return unit, values, peak, work + + +def expected(word, unit): + n = word["public"] + out = [{r: unit} for r in range(n)] + hosted = word["hosted"] + a_ports = set(hosted["Dports"]) + for j, x in enumerate(word["live"]): + y = x + 112 + if j in a_ports: + out[y][x] = unit + else: + need(unit % 2 == 0, "butterfly half") + out[x][y] = -unit + out[y] = {x: unit // 2, y: unit // 2} + for x, y in zip(hosted["X2"], hosted["Y2"], strict=True): + out[x][y] = -unit + return out + + +def check_endpoints(net, word): + unit, rows, peak, terms = evaluate(net) + targets = expected(word, unit) + need([rows[net.first_output + r] for r in range(len(targets))] == targets, "native output matrix") + power = (unit & -unit).bit_length() - 1 + numerator_bits = max(abs(c.numerator).bit_length() for row in net.forms.values() for c in row.values()) + denominator_bits = max(c.denominator.bit_length() for row in net.forms.values() for c in row.values()) + return dict(grid=str(unit), odd=unit >> power, dyadic_height=power, peak_scaled_mass=str(Fraction(peak, 1 << power)), + checked_products=terms, terms=sum(map(len, net.forms.values())), slots=len(net.moves), + coefficient_bits=max(numerator_bits, denominator_bits), public=len(targets), mains=len(main_roles(word))) + + +def verify_pivot(net, edit): + combo = coefficients(edit["combination"]) + source = coefficients(edit["sender"]) + side = coefficients(edit["receiver"]) + _, values, _, _ = evaluate(net, combo.keys() | source.keys() | side.keys()) + target = {} + for m, a in combo.items(): + add_scaled(target, values[m], a) + for m, a in side.items(): + add_scaled(target, values[m], a) + got = {} + for m, a in source.items(): + add_scaled(got, values[m], a) + need(target == got, "saved signal identity") + + +def check_pivots(): + word = source_word() + net = fold(word) + edits = read(HERE / "PIVOTS.json") + checked = 0 + for i, edit in enumerate(edits): + if edit["direction"] == "transpose": + net = net.transpose() + verify_pivot(net, edit) + if i == 0: + donor, weight = edit["sender"][0] + corrupted = dict(edit, sender=[[donor, str(-Fraction(weight))], *edit["sender"][1:]]) + try: + verify_pivot(net, corrupted) + except ValueError as exc: + need(str(exc) == "saved signal identity", "sender sign control reason") + else: + raise ValueError("incorrect sender sign accepted") + checked += 1 + net = pivot(net, edit) + if edit["direction"] == "transpose": + net = net.transpose() + return checked + + +if __name__ == "__main__": + checked = check_pivots() + need(checked == read(HERE / "RESULT.json")["pivot_checks"], "pivot coverage") + print("PASS_EXACT_PIVOTS", checked) diff --git a/research/p104-relay-cut-recoding/vendor/network.py b/research/p104-relay-cut-recoding/vendor/network.py new file mode 100644 index 0000000000..0ebc1925c4 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/network.py @@ -0,0 +1,217 @@ +"""Construct the communication circuit and apply the rational pivots.""" +from dataclasses import dataclass +from fractions import Fraction +from functools import cache +from graphlib import TopologicalSorter +from hashlib import sha1, sha256 +from pathlib import Path +import gzip +import json + +HERE = Path(__file__).resolve().parent +PARENT = "ee251f6005d2a92b887c5b804bd7aac05989d278b2c9ccb3c3091b50d533b08d" + + +def need(condition, message): + if not condition: + raise ValueError(message) + + +def encoded(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def read(path): + raw = path.read_bytes() + return json.loads(gzip.decompress(raw) if path.suffix == ".gz" else raw) + + +def source_word(): + for pin in read(HERE / "SOURCE-PINS.json"): + raw = (HERE / pin["file"]).read_bytes() + need(sha256(raw).hexdigest() == pin["sha256"], "source SHA-256") + need(sha1(f"blob {len(raw)}\0".encode() + raw).hexdigest() == pin["git_blob"], "source Git blob") + base = read(HERE / "source/K372-2-WORD.json.gz") + patch = read(HERE / "source/source-edits.json") + need(sha256(encoded(base)).hexdigest() == patch["source"], "source edit origin") + result = [] + cursor = 0 + for edit in patch["edits"]: + start, stop = edit["start"], edit["stop"] + need(cursor <= start <= stop <= len(base["program"]), "source edit range") + need(base["program"][start:stop] == edit["before"], "source edit preimage") + result.extend(base["program"][cursor:start]) + result.extend(edit["after"]) + cursor = stop + result.extend(base["program"][cursor:]) + word = dict(base, program=result) + need(sha256(encoded(word)).hexdigest() == patch["candidate"] == PARENT, "parent word") + return word + + +def main_roles(word): + h = word["hosted"] + return set(word["live"]) | {i + 112 for i in word["live"]} | set(h["X2"]) | set(h["Y2"]) + + +@cache +def rational(literal): + return Fraction(literal) + + +def add_scaled(row, donor, factor): + for index, value in donor.items(): + new = row.get(index, 0) + factor * value + if new: + row[index] = new + else: + row.pop(index, None) + + +@dataclass +class Network: + first_output: int + initial: list + final: list + moves: dict + forms: dict + + def schedule(self): + for node, form in self.forms.items(): + chart = self.moves[node][0] if node < self.first_output else self.final[node - self.first_output] + for donor in form: + if donor < 0: + need(0 <= ~donor < len(self.initial), "input owner") + donor_chart = self.initial[~donor] + else: + need(donor in self.moves, "missing donor") + donor_chart = self.moves[donor][1] + need(donor_chart == chart, "nonlocal scalar") + need(set(self.forms) == self.moves.keys() | set(range(self.first_output, self.first_output + len(self.final))), + "output inventory") + dependencies = {node: sorted(i for i in self.forms[node] if i >= 0) for node in sorted(self.forms)} + return list(TopologicalSorter(dependencies).static_order()) + + def transpose(self): + def reverse(node): + if node < 0: + return self.first_output + ~node + if node >= self.first_output: + return ~(node - self.first_output) + return node + + edges = {k: {} for k in self.moves} + edges.update({self.first_output + r: {} for r in range(len(self.initial))}) + for node, form in self.forms.items(): + for donor, coefficient in form.items(): + edges[reverse(donor)][reverse(node)] = coefficient + moves = {k: (b, a) for k, (a, b) in self.moves.items()} + return Network(self.first_output, self.final, self.initial, moves, edges) + + +def fold(word): + n = word["public"] + rows = [{~r: 1} for r in range(n)] + [None] * word["owned_fields"] + charts = word["initial"][:] + [None] * word["owned_fields"] + forms, moves = {}, {} + for clock, event in enumerate(word["program"]): + op, r = event[:2] + if op == "INIT": + need(r >= n and rows[r] is None, "private birth") + rows[r], charts[r] = {}, event[2] + continue + need(rows[r] is not None, "inactive register") + if op == "MOVE": + _, _, a, b, owned = event + need(charts[r] == a and owned == (r >= n), "original transfer") + moves[clock], forms[clock] = (a, b), rows[r] + rows[r], charts[r] = {clock: 1}, b + else: + need(charts[r] == event[-1], "original scalar chart") + if op == "CLEAR": + need(r >= n, "public retirement") + rows[r], charts[r] = None, None + elif op == "SCALE": + rows[r] = {k: v * rational(event[2]) for k, v in rows[r].items()} + else: + need(op == "ADD" and event[2] != r and charts[event[2]] == charts[r], "original donor") + add_scaled(rows[r], rows[event[2]], rational(event[3])) + need(charts[:n] == word["final"] and all(f is None for f in charts[n:]), "original exit") + first = len(word["program"]) + forms.update({first + r: rows[r] for r in range(n)}) + return Network(first, word["initial"], word["final"], moves, forms) + + +def coefficients(entries): + result = {k: rational(v) for k, v in entries} + need(len(entries) == len(result) and all(result.values()), "sparse coefficient list") + return result + + +def pivot(net, edit): + drop, lead = edit["remove"], edit["pivot"] + combination = coefficients(edit["combination"]) + sender = coefficients(edit["sender"]) + side = coefficients(edit["receiver"]) + need(lead in combination and drop in net.moves and lead in net.moves, "pivot slots") + _, middle = net.moves[drop] + old, destination = net.moves[lead] + uses = {m: row[drop] for m, row in net.forms.items() if drop in row} + need(old == middle and combination.keys() <= uses.keys(), "pivot combination") + need(all(net.moves.get(m) == (middle, destination) for m in uses), "shared destination") + aggregate = {} + for m, weight in combination.items(): + add_scaled(aggregate, net.forms[m], weight) + response = aggregate.get(drop, 0) + need(response, "zero pivot response") + + forms = net.forms.copy() + del forms[drop] + forms[lead] = sender + for m, weight in uses.items(): + if m != lead: + residual = net.forms[m].copy() + add_scaled(residual, aggregate, -Fraction(weight, response)) + need(drop not in residual, "uncancelled transfer") + forms[m] = residual + + combined = {lead: 1} + add_scaled(combined, side, -1) + recovered = {} + for m, weight in uses.items(): + if m == lead: + row = {k: -v / combination[lead] for k, v in combination.items() if k != lead} + else: + row = {m: 1} + add_scaled(row, combined, Fraction(weight, response)) + recovered[m] = row + for k, row in list(forms.items()): + affected = row.keys() & recovered.keys() + if affected: + new = {i: v for i, v in row.items() if i not in affected} + for i in affected: + add_scaled(new, recovered[i], row[i]) + forms[k] = new + moves = net.moves.copy() + del moves[drop] + moves[lead] = (edit["source_chart"], destination) + return Network(net.first_output, net.initial, net.final, moves, forms) + + +def networks(word): + parent = fold(word) + net = parent + receipts = [] + for edit in read(HERE / "PIVOTS.json"): + direction = edit["direction"] + need(direction in ("forward", "transpose"), "pivot direction") + if direction == "transpose": + net = net.transpose() + before = len(net.moves) + net = pivot(net, edit) + if direction == "transpose": + net = net.transpose() + net.schedule() + need(len(net.moves) == before - 1, "paid slot count") + receipts.append([direction, edit["remove"], edit["pivot"], len(net.moves)]) + return parent, net, receipts diff --git a/research/p104-relay-cut-recoding/vendor/physical.py b/research/p104-relay-cut-recoding/vendor/physical.py new file mode 100644 index 0000000000..e7c4e5798b --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/physical.py @@ -0,0 +1,868 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Exact grids and occupied bank schedules for the cf6a banked relay. + +Adapt the guarded bank and exact-root accounting of #7697, based on #7682. +The graph folds the supplied #7700 tape and contracts its role-1256 relay. +""" + +from argparse import ArgumentParser +from collections import Counter +from fractions import Fraction +import gzip +from hashlib import sha256 +import importlib.util +import json +from math import gcd, lcm +from pathlib import Path + + +HERE = Path(__file__).resolve().parent +PEER = "72705b094d83d2ba24006661bbb031786a691b776bedb94515b1321e1535105f" +CANDIDATE = "8e7b755bd2d2d387bc3d3adfe48100985adf74775ca5acbb143170a3d16b5ccf" +SOURCE_WORD = "ae62d5d8bef6f7146454b4b3643e487a58380c606a16c5baef7bf0dcf9df1472" +SOURCE_HEAD = "7d84799a447867d36137d12ef7ca5646154d763c" +SOURCE_CERTS = "39ef28b708cd8bf1166b111d656809407b370dd11cd81a8e43820779f995aca3" +CALLER = "62d94fb992acab0a71c3d12f22be4ce63f4f65e5cbe3f420b93aa1393ffa8dcf" +CALLER_REPLAY = "ced48867f07ca0143604aa98cfd74fa7453696b9d3221f7c230d73e9ab9ba81f" +STAGES = 16 +CALLER_ODD = 2025 +COMPILER_H = 14571800000000000000 +AMBIENT_CAP = 153 +PROTECTED_HELPERS = (325, 1087) +OLD_NATIVE_STOCK = 15290 +REMOVED, SURVIVOR = 95828, 104442 +RELAY_ROLE = 1256 +RELAY_CHARTS = (476, 878, 127) +PAYLOAD_AXES = 4 + + +def require(condition, reason): + if not condition: + raise ValueError(reason) + + +def encoded(data): + return json.dumps(data, sort_keys=True, separators=(",", ":")).encode() + + +def load_gzip(path, pin, *, canonical=True): + packed = path.read_bytes() + raw = gzip.decompress(packed) + require(sha256(raw).hexdigest() == pin, f"wrong decoded hash for {path.name}") + data = json.loads(raw) + require(not canonical or encoded(data) == raw, f"noncanonical data for {path.name}") + return data, sha256(packed).hexdigest() + + +def chart_span(basis): + span = {0} + for axis in basis: + require(type(axis) is int and 0 < axis < 512 and axis not in span, + "invalid independent ordered chart basis") + span |= {axis ^ vector for vector in span} + return span + + +def exact_coefficient(text): + value = Fraction(text) + require(value and str(value) == text, "noncanonical or zero scalar incidence") + return value + + +def exact_div(value, denominator): + result, remainder = divmod(value, denominator) + require(remainder == 0, "nonintegral scalar pre-product") + return result + + +def grid_parts(grid): + height = (grid & -grid).bit_length() - 1 + return grid >> height, height + + +def ceiling_bits(value): + return (-(-value.numerator // value.denominator)).bit_length() + + +def public_interface(graph, layout): + n = len(graph["initial"]) + require(layout["public"] == n == len(graph["final"]) == 1501 + and len(layout["live"]) == len(layout["ports"]) == 104, + "complete public and port denominators") + hosted = layout["hosted"] + hosted_ports = set(hosted["Dports"]) + second_planes = list(zip(hosted["X2"], hosted["Y2"], strict=True)) + require(len(hosted_ports) == len(second_planes) == 96, "actual 96 hosted ports") + live = layout["live"] + mains = set(live) | {role + 112 for role in live} | set(hosted["X2"]) | set(hosted["Y2"]) + require(len(mains) == 400 and mains <= set(range(n)), "400 distinct real main slots") + for port, (x, q) in enumerate(zip(live, layout["ports"], strict=True)): + y = x + 112 + initial, final = graph["initial"], graph["final"] + frames = graph["frames"] + require(frames[initial[x]] == [q] and frames[initial[y]] == [] + and frames[final[x]] == [1 << j for j in range(9)] + and len(frames[final[y]]) == 8 + and all((v & q).bit_count() % 2 == 0 for v in frames[final[y]]), + f"main binding at port {port}") + for position, pair in zip(hosted["Dports"], second_planes, strict=True): + original = (live[position], live[position] + 112) + require(all(graph[boundary][a] == graph[boundary][b] + for boundary in ("initial", "final") for a, b in zip(original, pair)), + "separate hosted main partners in the same charts") + require(all(r not in mains and (graph["initial"][r], graph["final"][r]) == (3, 237) + for r in PROTECTED_HELPERS), "fixed rank-four same-owner helper boundaries") + return mains, hosted_ports, second_planes + + +def expected_rows(n, layout, interface, unit): + mains, hosted, second = interface + rows = [{r: unit} for r in range(n)] + for port, x in enumerate(layout["live"]): + y = x + 112 + if port in hosted: + rows[y][x] = unit + else: + rows[x][y] = -unit + rows[y] = {x: exact_div(unit, 2), y: exact_div(unit, 2)} + for x, y in second: + rows[x][y] = -unit + require(all(r in mains or row == {r: unit} for r, row in enumerate(rows)), + "independent arbitrary helper definition") + return rows + + +def graph_inputs(graph): + n = len(graph["initial"]) + first = graph["first_output"] + require(n == 1501 and first == 154768, "stable paid and public namespace") + moves = {key: (a, b) for key, a, b in graph["moves"]} + rows = {key: [(donor, exact_coefficient(coef)) for donor, coef in terms] + for key, terms in graph["forms"]} + terminal_keys = set(range(first, first + n)) + order = graph["schedule"] + require(len(moves) == len(graph["moves"]) and all(0 <= key < first for key in moves), + "exact positive paid slots") + require(len(rows) == len(graph["forms"]) == len(moves) + n + and set(rows) == moves.keys() | terminal_keys and moves.keys().isdisjoint(terminal_keys) + and len(order) == len(rows) and set(order) == rows.keys(), + "exact held-bank schedule denominator") + require(all([donor for donor, _ in row] == sorted({donor for donor, _ in row}) + for row in rows.values()), "unique donor keys in literal scalar order") + return moves, rows + + +def graph_bounds(graph, moves, rows, mains): + frames = graph["frames"] + spans = list(map(chart_span, frames)) + starts, ends = graph["initial"], graph["final"] + first = graph["first_output"] + n = len(starts) + require(all(type(chart) is int and 0 <= chart < len(spans) for chart in (*starts, *ends)), + "valid public charts") + + def rank(a, b, helper=False): + require(0 <= a < len(spans) and 0 <= b < len(spans), "valid paid chart IDs") + require(spans[a] < spans[b] or (not helper and spans[b] < spans[a]), + "strictly nested positive paid or helper charts") + return abs(len(frames[b]) - len(frames[a])) + + paid = Counter(rank(a, b) for a, b in moves.values()) + productive = Counter(rank(starts[r], ends[r], helper=True) for r in range(n) if r not in mains) + available = {~r: (chart, 1, Fraction(1)) for r, chart in enumerate(starts)} + grid, peak_mass, peak_node = 1, Fraction(1), None + for key in graph["schedule"]: + a = moves[key][0] if key in moves else ends[key - first] + row_grid, mass = 1, Fraction() + for donor, q in rows[key]: + require(donor in available and available[donor][0] == a, + f"donor unavailable or in wrong chart at row {key}") + _, divisor, weight = available[donor] + row_grid = lcm(row_grid, divisor * q.denominator) + mass += abs(q) * weight + grid = lcm(grid, row_grid) + if mass > peak_mass: + peak_mass, peak_node = mass, key + if key in moves: + available[key] = (moves[key][1], row_grid, mass) + odd, height = grid_parts(grid) + return { + "public": n, "slots": len(moves), "terms": sum(map(len, rows.values())), + "path_grid": grid, "path_grid_odd": odd, "path_grid_height": height, + "positive_path_mass_bound_unscaled": str(peak_mass), + "positive_path_mass_peak_node": peak_node, + "paid_native_ranks": dict(paid), "positive_helper_ranks": dict(productive), + } + + +def exact_basis_grid(graph, moves, rows, grid, expected): + """Check every separate rational product, prefix and installed basis row.""" + values = {~r: {r: grid} for r in range(len(graph["initial"]))} + product_gcd = snapshot_gcd = grid + odd_factors = {} + for prime in (3, 5): + reduced = grid + while reduced % prime == 0: + reduced //= prime + require(reduced < grid, f"missing expected odd prime {prime}") + odd_factors[prime] = grid // reduced + off_grid_controls = {} + n_checks = nontrivial = 0 + divisors = Counter() + peak_absolute = grid + for key in graph["schedule"]: + row, row_bound = {}, 0 + for donor, q in rows[key]: + a, b = q.numerator, q.denominator + n_checks += len(values[donor]) + nontrivial += len(values[donor]) if b != 1 else 0 + if b != 1: + divisors[b] += len(values[donor]) + for column, value in values[donor].items(): + product = exact_div(a * value, b) + product_gcd = gcd(product_gcd, product) + if len(off_grid_controls) < len(odd_factors): + for prime, factor in odd_factors.items(): + if prime not in off_grid_controls and product % factor: + require(value % factor == 0, "first under-scaled donor already off grid") + reduced_numerator = a * (value // factor) + require(reduced_numerator % b, "removed odd factor must cause a literal DIV fault") + off_grid_controls[prime] = { + "row": key, "donor": donor, "entrance_column": column, + "coefficient": str(q), "removed_factor": factor, + "numerator_without_factor": reduced_numerator, "denominator": b, + "positive_remainder": reduced_numerator % b, + } + row_bound += abs(product) + result = row.get(column, 0) + product + if result: + row[column] = result + else: + row.pop(column, None) + peak_absolute = max(peak_absolute, row_bound) + for value in row.values(): + snapshot_gcd = gcd(snapshot_gcd, value) + if key in moves: + values[key] = row + else: + require(row == expected[key - graph["first_output"]], f"wrong normalized endpoint {key}") + return { + "coefficient_products": n_checks, "checked_nontrivial_divisions": nontrivial, + "checked_nontrivial_divisions_by_denominator": dict(divisors), + "exact_all_public_rows": len(expected), + "minimum_product_grid": grid // product_gcd, "minimum_snapshot_grid": grid // snapshot_gcd, + "maximum_exact_row_prefix_mass_scaled": str(Fraction(peak_absolute, 1 << grid_parts(grid)[1])), + "missing_odd_factor_controls": off_grid_controls, + } + + +class HeldBank: + """Finite extent fixture with typed payloads and separately guarded streams.""" + + def __init__(self, homes): + self.homes = homes + self.blank = (None, None, (0,) * PAYLOAD_AXES) + self.left_guard = object() + self.right_guard = object() + self.dummy = object() + self.left = self.left_guard + self.right = self.right_guard + self.slots = [self.dummy] + [ + (("dirty", slot), -1, tuple((-1)**axis * (slot + axis) for axis in range(PAYLOAD_AXES))) + for slot in range(1, homes + 1) + ] + self.head = 0 + self.operations = Counter() + self.overwritten_cells = Counter() + self.trace = sha256() + # GET restores the selector head. Its complete donor and the running + # accumulator have independent backing throughout the term. + self.streams = {name: None for name in ("accumulator", "donor", "product", "quotient")} + self.stream_resets = 0 + + def access(self, slot, operation, replacement=None, *, require_blank=False, clear=False): + require(self.head == 0 and 1 <= slot <= self.homes, "bad guarded bank selection") + self.head = slot + try: + old = self.slots[slot] + require(not require_blank or old == self.blank, + "send or install before previous full owner extent cleared") + if clear: + require(replacement is None and len(old[2]) == PAYLOAD_AXES, "wrong reset extent") + # Scan every addressed payload cell without inspecting its + # value or treating a normalized zero as a reset. + cleared = tuple(0 for _ in old[2]) + self.slots[slot] = (None, None, cleared) + self.overwritten_cells[operation] += len(cleared) + if replacement is not None: + require(len(replacement[2]) == PAYLOAD_AXES, "wrong staged copy extent") + tag, chart, payload = replacement + self.slots[slot] = (tag, chart, tuple(cell for cell in payload)) + self.operations[operation] += 1 + self.trace.update(encoded([operation, slot, old[0], replacement[0] if replacement else None])) + return old + finally: + self.head = 0 + + def reset_stream(self, name): + live = self.streams[name] + if live is not None: + require(len(live) == PAYLOAD_AXES, "wrong stream reset extent") + self.streams[name] = None + self.stream_resets += 1 + + def close(self): + require(self.head == 0 and self.slots[0] is self.dummy + and self.left is self.left_guard and self.right is self.right_guard + and all(slot == self.blank for slot in self.slots[1:]) + and all(stream is None for stream in self.streams.values()), + "packed bank and four stream retirement") + + +def rejected_write(bank, slot, record, control_operation): + try: + bank.access(slot, control_operation, record, require_blank=True) + except ValueError as failure: + require(str(failure) == "send or install before previous full owner extent cleared" + and bank.head == 0, "wrong dirty or outstanding-sender control failure") + else: + raise ValueError("dirty or held payload accepted as blank") + + +def partial_clear_control(): + bank = HeldBank(2) + old_unselected = bank.slots[2] + # A missing final address remains dirty even though the tag, chart, and + # all earlier positions have been cleared. + bank.slots[1] = (None, None, (0,) * (PAYLOAD_AXES - 1) + (17,)) + record = (("fresh", 0), 3, (1,) * PAYLOAD_AXES) + rejected_write(bank, 1, record, "partial_clear_fault") + residue = bank.access(1, "clear_every_address", clear=True) + require(residue[2][-1] == 17 and bank.slots[1] == bank.blank and bank.slots[2] == old_unselected, + "complete overwrite must remove the residual and preserve neighbors") + bank.access(1, "accepted_after_full_clear", record, require_blank=True) + return {"dirty_unaddressed_last_cell_rejected": True, "neighbor_unchanged": True} + + +def held_schedule(graph, moves, rows, grid, expected, control=False): + n, k, first = len(graph["initial"]), len(moves), graph["first_output"] + entrance = {~r: r + 1 for r in range(n)} + returned = {key: n + i + 1 for i, key in enumerate(sorted(moves))} + terminal = {first + r: n + k + r + 1 for r in range(n)} + sender = 2*n + k + 1 + scratch = range(sender + 1, sender + 5) + allocated = set(entrance.values()) | set(returned.values()) | set(terminal.values()) | {sender} | set(scratch) + require(allocated == set(range(1, 2*n + k + 6)), "injective bank home plan") + bank = HeldBank(len(allocated)) + odd = grid_parts(grid)[0] + binary_grid = grid // odd + public = [ + (("public", r), chart, tuple( + binary_grid * ((r * (719 - 41*axis) + 29 + 37*axis) % 127 - 63) + for axis in range(PAYLOAD_AXES) + )) + for r, chart in enumerate(graph["initial"]) + ] + original_public = public.copy() + for slot in sorted(allocated): + old = bank.access(slot, "initialize_complete_dirty_home", clear=True) + require(all(old[2]), "every initial fixture address must be dirty") + for r, (_, chart, value) in enumerate(public): + scaled = tuple(x * odd for x in value) + bank.access(entrance[~r], "write_entrance", (("entry", r), chart, scaled), require_blank=True) + known = dict(entrance) + installed = set() + outstanding = None + attempted_early_reuse = False + + for key in graph["schedule"]: + paid = key in moves + source, destination = moves[key] if paid else (graph["final"][key - first], None) + require(bank.streams["accumulator"] is None, "running accumulator already occupied") + bank.streams["accumulator"] = (0,) * PAYLOAD_AXES + for donor, q in rows[key]: + require(donor in known, "read before donor RETURN") + tag, chart, value = bank.access(known[donor], "read_immutable_donor") + require(tag == (("entry", ~donor) if donor < 0 else ("returned", donor)) + and chart == source, "wrong owner or chart at guarded GET") + require(all(bank.streams[name] is None for name in ("donor", "product", "quotient")), + "term workspace was live before GET") + bank.streams["donor"] = tuple(cell for cell in value) + bank.streams["product"] = tuple(q.numerator * x for x in bank.streams["donor"]) + bank.streams["quotient"] = tuple(exact_div(x, q.denominator) for x in bank.streams["product"]) + bank.streams["accumulator"] = tuple(a + b for a, b in zip( + bank.streams["accumulator"], bank.streams["quotient"], strict=True)) + for name in ("donor", "product", "quotient"): + bank.reset_stream(name) + value = bank.streams["accumulator"] + if paid: + require(outstanding is None and key not in known, "invalid new native sender") + bank.access(sender, "initialize_empty_sender_before_departure", require_blank=True, clear=True) + record = (("sender", key), source, value) + bank.access(sender, "stage_full_sender", record, require_blank=True) + outstanding = key + if control and key == SURVIVOR: + rejected_write(bank, sender, (("sender", key + 1), source, value), "early_sender_fault") + require(bank.slots[sender] == record and key not in known and bank.slots[returned[key]] == bank.blank, + "fault disturbed the parked sender or exposed an incomplete return") + attempted_early_reuse = True + held_tag, held_chart, held_value = bank.access(sender, "read_parked_sender") + require(outstanding == key and held_tag == ("sender", key) and held_chart == source, + "parked sender must survive until shape and complete return") + # Native checks supply both complete adapters and the paid + # Gaussian child. Their normalized composite preserves this value. + returned_record = (("returned", key), destination, held_value) + bank.access(returned[key], "write_complete_return", returned_record, require_blank=True) + bank.access(sender, "clear_full_sender_after_return", clear=True) + require(bank.head == 0, "sender head not restored after full retirement") + outstanding = None + known[key] = returned[key] + else: + role = key - first + bank.access(terminal[key], "write_terminal", (("terminal", role), source, value), require_blank=True) + bank.reset_stream("accumulator") + + require(outstanding is None and len(known) == n+k and public == original_public, + "all full public entrances must remain intact throughout the native schedule") + for role in range(n): + tag, chart, values = bank.access(terminal[first + role], "read_terminal_for_same_owner_install") + predicted = tuple(exact_div( + sum(q * original_public[i][2][axis] for i, q in expected[role].items()), grid) + for axis in range(PAYLOAD_AXES)) + unscaled = tuple(exact_div(value, odd) for value in values) + require(tag == ("terminal", role) and chart == graph["final"][role] and unscaled == predicted, + "wrong extent, chart, value or same-owner terminal install") + public[role] = (("public", role), chart, unscaled) + installed.add(role) + bank.trace.update(encoded(["public_install_and_unscale", role, chart])) + require(installed == set(range(n)) and all( + record[:2] == (("public", role), graph["final"][role]) for role, record in enumerate(public)), + "every public owner fully installed exactly once") + for slot in sorted(allocated): + bank.access(slot, "retire_complete_home", clear=True) + bank.close() + terms = sum(map(len, rows.values())) + wanted = { + "initialize_complete_dirty_home": len(allocated), "write_entrance": n, + "read_immutable_donor": terms, "initialize_empty_sender_before_departure": k, + "stage_full_sender": k, "read_parked_sender": k, "write_complete_return": k, + "clear_full_sender_after_return": k, "write_terminal": n, + "read_terminal_for_same_owner_install": n, "retire_complete_home": len(allocated), + } + resets = { + op: count * PAYLOAD_AXES for op, count in wanted.items() + if op in {"initialize_complete_dirty_home", "initialize_empty_sender_before_departure", + "clear_full_sender_after_return", "retire_complete_home"} + } + require(bank.operations == wanted and bank.overwritten_cells == resets + and bank.stream_resets == 3*terms+k+n, "complete independent selected replay counts") + return { + "numerical_homes": len(allocated), "guarded_dummy_slots": 1, "separate_guide_tracks": 1, + "max_outstanding_native_senders": 1, "declared_senders": 1, + "immutable_entry_banks": n, "immutable_paid_return_banks": k, + "deferred_terminal_banks": n, "native_scalar_scratch_homes": 4, + "additional_independent_guarded_streams": len(bank.streams), + "trace_sha256": bank.trace.hexdigest(), "selected_logical_operations": dict(bank.operations), + "fixture_addressed_cells_per_home": PAYLOAD_AXES, + "fixture_addressed_cells_overwritten": dict(bank.overwritten_cells), + "tracked_stream_reset_visits": bank.stream_resets, + "same_owner_complete_fixture_outputs": len(installed), "exact_odd_unscale_outputs": len(installed), + "retired_and_guards_restored": True, "live_sender_alias_control_rejected": attempted_early_reuse, + "all_public_inputs_preserved_until_final_installs": True, + } + + +def scalar_service(value, coefficient, signed_width): + """Finite signed carry, quotient, exact remainder and padded installation.""" + a, b = abs(coefficient.numerator), coefficient.denominator + magnitude = abs(value) + require(magnitude.bit_length() < signed_width, "input width") + padding = signed_width + 26 + carry, bits = 0, [] + for j in range(padding): + carry += a * ((magnitude >> j) & 1) + bits.append(carry & 1) + carry >>= 1 + require(carry == 0, "padded product overflow") + quotient = remainder = 0 + for bit in reversed(bits): + trial = 2 * remainder + bit + next_bit = int(trial >= b) + remainder = trial - next_bit * b + quotient = (quotient << 1) | next_bit + require(remainder == 0, "physical remainder") + require(quotient.bit_length() < signed_width, "installed scalar overflow") + return -quotient if (value < 0) != (coefficient.numerator < 0) else quotient + + +def scalar_cases(graph_rows, caller, scales): + factors = {factor for rows in graph_rows for row in rows.values() for _, factor in row} + factors.update(Fraction(event[-1]) for event in caller["events"] + if event[0] != "J" and event[1] in ("ADD", "SCALE")) + factors.update((Fraction(-1), Fraction(1), Fraction(-1, 2), Fraction(1, 2))) + for scale in scales: + factors.update((Fraction(scale), Fraction(1, scale), Fraction(-1, scale))) + bits = max(max(abs(q.numerator).bit_length(), q.denominator.bit_length()) for q in factors) + require(bits <= 24, "all literal scalar and division conversions fit W+26") + cases = 0 + for coefficient in sorted(factors): + for k in (0, -127, -1, 1, 19, (1 << 68) + 1): + value = k * coefficient.denominator + signed_width = max(3, abs(value).bit_length()+2, abs(k * coefficient.numerator).bit_length()+2) + require(scalar_service(value, coefficient, signed_width) == k * coefficient.numerator, + "fixed scalar sign/carry/remainder or installation") + cases += 1 + rejected_denominators = (2, 3, 5, 7) + for denominator in rejected_denominators: + try: + scalar_service(1, Fraction(-1, denominator), 3) + except ValueError as failure: + require(str(failure) == "physical remainder", "wrong inexact scalar rejection") + else: + raise ValueError("nonintegral scalar installed") + return {"distinct_scalar_and_conversion_factors": len(factors), "signed_bit_transducer_cases": cases, + "coefficient_bits": bits, "rejected_one_tick_denominators": rejected_denominators, + "retained_max_bits": 24, "component_padding": 26} + + +def caller_envelope(caller): + """Majorize raw caller products with no cancellation or operator commutation.""" + roles = [(0, Fraction(1)) for _ in range(caller["roles"])] + max_height, max_mass = 0, Fraction(1) + pre_height, pre_mass = 0, Fraction(1) + visits = Counter() + + def observe(*values): + nonlocal max_height, max_mass + for height, mass in values: + max_height = max(max_height, height) + max_mass = max(max_mass, mass) + + def scale(value, factor): + height, mass = value + return height + grid_parts(factor.denominator)[1], abs(factor) * mass + + def add(first, second): + return max(first[0], second[0]), first[1] + second[1] + + stages = [] + for event in caller["events"]: + if event[0] == "J": + _, stage, (x, y, u, v), (a, b, alpha, beta) = event + require((Fraction(alpha), Fraction(beta)) == (-1, Fraction(1, 2)), + "exact signed joint envelope coefficients") + stages.append(stage) + pre_height = max(pre_height, *(roles[j][0] for j in (x, y, u, v, a, b))) + pre_mass = max(pre_mass, *(roles[j][1] for j in (x, y, u, v, a, b))) + roles[y], roles[u] = add(roles[y], roles[x]), add(roles[u], roles[v]) + old_a, old_b = roles[a], roles[b] + roles[a] = add(old_a, old_b) + roles[b] = add(scale(old_a, Fraction(1, 2)), scale(old_b, Fraction(1, 2))) + observe(roles[y], roles[u], roles[a], roles[b]) + continue + kind, op, role, *args = event + visits[op] += len(caller["types"][kind]["ports"]) + if op == "ADD": + term = scale(roles[args[0]], Fraction(args[-1])) + roles[role] = add(roles[role], term) + observe(term) + elif op == "SCALE": + roles[role] = scale(roles[role], Fraction(args[-1])) + elif op == "SWAP": + donor = args[0] + roles[role], roles[donor] = roles[donor], roles[role] + elif op == "QUERY": + roles[role] = add(roles[role], roles[args[0]]) + elif op == "LAMBDA": + height, mass = roles[role] + # (1 ± i)/2 and (1 ∓ i)/2 each have Gaussian l1 norm one. + roles[role] = height + 1, 2 * mass + else: + require(op in {"IDLE_ONE", "IDLE_ODD"}, "unknown signed caller operation") + observe(roles[role]) + require(stages == list(range(1, STAGES+1)), "complete exact 16-stage raw schedule") + return { + "records": len(caller["events"]), "stages": len(stages), "uses": dict(visits), + "binary_height_at_all_completed_cuts_and_products": max_height, + "binary_height_at_native_entrances": pre_height, + "scaled_mass_at_all_cuts_and_products": str(CALLER_ODD * max_mass), + "scaled_mass_at_native_entrances": str(CALLER_ODD * pre_mass), + "normalized_bound_uses_no_cancellation_or_commutation": True, + } + + +def replay_caller(caller, layout): + path = HERE / "engines/caller/caller16.py" + require(sha256(path.read_bytes()).hexdigest() == CALLER_REPLAY, "wrong signed caller engine") + spec = importlib.util.spec_from_file_location("physical_signed_caller16", path) + require(spec is not None and spec.loader is not None, "signed caller engine must be loadable") + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module) + result = module.signed_caller(caller, layout, CALLER_ODD, 9) + require(result["calls"] == STAGES and result["roles"] == 68 and result["root_owners"] == 3536 + and result["exact_preproduct_divisions"] == 153295 + and Fraction(result["peak_scaled_mass"]) == Fraction(495734175, 2), + "exact inherited caller odd scale and literal divide replay") + roots_q = sum(len(specification["ports"]) * sum(row[0] < 0 for row in specification["diagonal"]) + for specification in caller["types"].values()) + require(roots_q == 3536, "charge all root negative-q ordinary translations") + envelope = caller_envelope(caller) + require(envelope["uses"] == result["uses"], "independent weighted caller operation count") + return result, envelope, roots_q + + +def ordinary_budget(native, signed, roots_q, scalar_bits): + n, k, terms, homes = (native[key] for key in ("public", "slots", "terms", "numerical_homes")) + conversions = 2 * (signed["root_owners"] + STAGES * n) + reset_counts = { + "dirty_home_initializations_and_retirements": 2 * homes, + "term_and_row_stream_initializations_and_retirements": 8 * (terms + k + n), + "owner_scale_unscale_stream_initializations_and_retirements": 4 * n, + "sender_reinitializations_and_retirements": 2 * k, + } + transfer_counts = { + "complete_scalar_donor_staging_legs": 2 * terms, + "complete_sender_and_terminal_staging_legs": 2 * (k + n), + "paid_parked_sender_return_and_adapter_legs": 6 * k, + "immutable_entrance_and_public_terminal_install_legs": 4 * n, + } + resets, transfers = sum(reset_counts.values()), sum(transfer_counts.values()) + selector_l = 14*homes + 9 + selector_constant = 63*homes - 7*homes.bit_count() + 27*homes.bit_length() + 59 + # Allow the separate full overwrite scan for every reset, in addition + # to the selector/reset bound, including the stream resets. + selections = [resets*(selector_l+2) + transfers*(selector_l+128), + resets*(selector_constant+3) + transfers*(selector_constant+320)] + selected = native["selected_logical_operations"] + checked_home_resets = sum(selected[op] for op in native["fixture_addressed_cells_overwritten"]) + checked_copy_visits = sum(selected.values()) - checked_home_resets + require(checked_home_resets == 2*(homes+k) + and resets >= checked_home_resets + native["tracked_stream_reset_visits"], + "full occupied resets, sender reuse and independent stream resets charged") + require(checked_copy_visits == terms+3*(k+n) and transfers == 2*checked_copy_visits + 2*k, + "all staged copy visits plus complete paid adapter legs charged") + p = STAGES * k + sum(signed["fixed_caller_paid"].values()) + t = STAGES * sum(native["positive_helper_ranks"].values()) + sum(signed["fixed_root_targets"].values()) + uses = signed["uses"] + maps = 2*(p+t+STAGES*400) + 2*(uses["IDLE_ONE"]+uses["IDLE_ODD"]) + maps += 3*uses["QUERY"] + uses["LAMBDA"] + uses["IDLE_ODD"] + roots_q + scalar_counts = { + "literal_native_products_and_accumulations": STAGES * terms, + "width_padded_native_row_lifecycles": STAGES * 4 * (k + n), + "public_boundary_installations_and_scale_preparations": STAGES * 2 * n, + "private_home_flags_and_cleanup": STAGES * homes, + "serial_sender_initialization_and_retirement": STAGES * 2 * k, + "weighted_signed_caller_operation_slots": sum(uses.values()), + "complete_array_odd_conversions": conversions, + } + scalar_count = 32 * sum(scalar_counts.values()) + require(homes <= OLD_NATIVE_STOCK and native["additional_independent_guarded_streams"] == 4, + "retained numerical home ceiling and extra independent streams") + return { + "native_numeric_homes": homes, "native_numeric_homes_plus_dummy": homes+1, + "raw_numeric_homes": STAGES*homes, "raw_numeric_homes_plus_dummy": STAGES*(homes+1), + "separate_guarded_guide_tracks_per_native": 1, "separate_guarded_guide_tracks_raw": STAGES, + "separate_guarded_streams_per_native": 4, "separate_guarded_streams_raw": STAGES*4, + "odd_conversions": conversions, "reset_services_per_native": resets, + "typed_selected_transfers_per_native": transfers, + "reset_services_by_kind_per_native": reset_counts, + "typed_transfer_legs_by_kind_per_native": transfer_counts, + "reset_services_all_native_stages": STAGES * resets, + "typed_selected_transfer_legs_all_native_stages": STAGES * transfers, + "selector_steps_per_selected_service_L_and_constant": [selector_l, selector_constant], + "additional_full_overwrite_steps_per_reset_L_and_constant": [2, 3], + "selected_total_steps_per_native_L_and_constant": selections, + "selected_total_steps_raw_L_and_constant": [STAGES * part for part in selections], + "scalar_services": scalar_count, "scalar_step_rate": 2**max(20, scalar_bits+8), + "raw_scalar_incidence_allowance_before_factor_32": scalar_counts, + "ordinary_map_slots": maps, "ordinary_elementary_record_upper": maps*4*(AMBIENT_CAP+1)**2, + "raw_paid_positions": p, "raw_productive_targets": t, "root_negative_q_translations": roots_q, + "native_paid_wrappers": STAGES * k, + "native_productive_wrappers": STAGES * sum(native["positive_helper_ranks"].values()), + "ordinary_main_pair_slots": STAGES * 400, + "compiled_ordinary_work": "Full-view resets, selects, copies, guide and layout setup and return, exact scalar and odd conversions, matchers, fixed descriptors, root normalization, and all native, caller and child adapters.", + "compiled_stock": "Disjoint occurrence-tagged bank tuples, dummy origins, guides and four guarded streams per stage; complete public owners, matching child views, compiler and BIT workspace, and every parked ancestor.", + "layout": { + "padded_payload": "L'=N_c(2(W+26)+3)", + "per_stage_selector_and_stream_tracks": 11, + "guide_setup_and_retirement": "q(N_c)+q(W')+22N_cW'+36N_c+7W'+36+7L'+10; q(x)=24x-7popcount(x)+15ell(x)+12; W'=W+26", + "aggregate_owned_tuple_M": "sum_stage[(homes+6)(L'+2)+ell(N_c)+ell(W+26)+max(ell(N_c),ell(W+26),ell(homes))+max(N_c,homes)+max(W+26,ell(homes))+10]", + "shadow_cells_upper": "M+352", + "complete_view_step_bound": "34*(256(M+352)+128) plus fixed-degree descriptor work", + }, + } + + +def root_envelope(native, caller): + max_binary = max(caller["binary_height_at_all_completed_cuts_and_products"], + *(caller["binary_height_at_native_entrances"] + side["path_grid_height"] + for side in native.values())) + max_mass = max(Fraction(caller["scaled_mass_at_all_cuts_and_products"]), + *(Fraction(caller["scaled_mass_at_native_entrances"]) * side["path_grid_odd"] + * Fraction(side["positive_path_mass_bound_unscaled"]) + for side in native.values())) + mass_bits = ceiling_bits(max_mass) + c = 2 * max(max_binary, mass_bits) + return { + "caller_odd": CALLER_ODD, + "native_odd": {side: audit["path_grid_odd"] for side, audit in native.items()}, + "native_binary": {side: audit["path_grid_height"] for side, audit in native.items()}, + "context_mass_bound": str(max_mass), "context_mass_bits": mass_bits, + "context_binary_bits": max_binary, "context_c": c, + "H_guard": "bit_length(context_c*1920*153**1920*(H+1)**2) < H for each actual compiler bound H", + "exact_grid": "2^(-p-D)", + "signed_width": "W=p+h+2D+3", + "temporary_width": "W+26", + } + + +def relay_edit(parent, candidate, word): + require(all(parent[field] == candidate[field] == word[field] + for field in ("frames", "initial", "final")), + "same complete raw chart atlas and public owner shapes") + require(parent["first_output"] == candidate["first_output"] == len(word["program"]), + "stable raw clocks and complete public output namespace") + enter, middle, leave = RELAY_CHARTS + require(word["program"][REMOVED] == ["MOVE", RELAY_ROLE, enter, middle, False] + and word["program"][SURVIVOR] == ["MOVE", RELAY_ROLE, middle, leave, False], + "literal nonproductive source relay on owner 1256") + parent_moves, parent_rows = graph_inputs(parent) + child_moves, child_rows = graph_inputs(candidate) + raw_moves = {clock: (event[2], event[3]) for clock, event in enumerate(word["program"]) + if event[0] == "MOVE"} + require(parent_moves == raw_moves and len(raw_moves) == 6144 and len(child_moves) == 6143, + "exact source and contracted paid denominators") + require(child_moves == {key: (enter, leave) if key == SURVIVOR else edge + for key, edge in parent_moves.items() if key != REMOVED}, + "only one direct paid edge replaces the two source children") + require(parent_rows[SURVIVOR] == [(REMOVED, Fraction(1))] + and [key for key, terms in parent_rows.items() if any(donor == REMOVED for donor, _ in terms)] + == [SURVIVOR], + "pure single-consumer relay") + require(child_rows == {key: parent_rows[REMOVED] if key == SURVIVOR else terms + for key, terms in parent_rows.items() if key != REMOVED}, + "retained paid sender uses exactly four substituted source terms") + edited = {REMOVED, SURVIVOR} + require([key for key in candidate["schedule"] if key not in edited] + == [key for key in parent["schedule"] if key not in edited], + "relative schedule order of all rows outside the relay") + positions = (parent["schedule"].index(REMOVED), parent["schedule"].index(SURVIVOR), + candidate["schedule"].index(SURVIVOR)) + require(positions == (3308, 4114, 3310), "exact old and new zero-based relay schedule positions") + a, b, c = (chart_span(word["frames"][chart]) for chart in RELAY_CHARTS) + require(a < b < c and (len(a), len(b), len(c)) == (8, 64, 512), + "strict consecutive ranks 3+3, direct rank 6") + return {"role": RELAY_ROLE, "removed_paid_key": REMOVED, "surviving_paid_key": SURVIVOR, + "ordered_charts": list(RELAY_CHARTS), "old_ranks": [3, 3], "new_rank": 6, + "new_sender_donors": [[donor, str(coef)] for donor, coef in child_rows[SURVIVOR]], + "schedule_positions_zero_based": {"parent_removed": positions[0], "parent_survivor": positions[1], + "candidate_survivor": positions[2]}, + "relative_order_unchanged_rows": len(candidate["schedule"]) - 1, + "row_later_relay_consumers": 1, "new_recursive_charges_outside_replacement": 0} + + +def check_raw_clear_inventory(word, certs): + indices = {str(clock) for clock, event in enumerate(word["program"]) if event[0] == "CLEAR"} + certificates = certs["clear_event_index"] + count = sum(len(terms) for terms in certificates.values()) + require(certs["candidate_canonical_sha256"] == SOURCE_WORD and set(certificates) == indices + and len(indices) == 235 and count == 1135, "source raw CLEAR certificate inventory") + return {"raw_clear_clocks": len(indices), "normalized_source_terms": count, + "bank_execution_source": "complete addressed retirement in the new banked schedule", + "raw_clear_role": "source-word chronological normalized proof; graph replay checks its own ownership"} + + +def check_depth_guard(root, h): + require(h > 0, "positive compiler H") + k_star = 1920 * 153**1920 * (h + 1)**2 + bits = (root["context_c"] * k_star).bit_length() + require(bits < h, "common exact-root depth guard") + return {"compiler_H": h, "argument_bit_length": bits, "strict_guard_passed": True} + + +def qualify(parent, candidate, word, certs, caller, h): + relay = relay_edit(parent, candidate, word) + clear_inventory = check_raw_clear_inventory(word, certs) + signed, caller_bound, roots_q = replay_caller(caller, word) + native, all_rows = {}, [] + for side, graph in (("parent", parent), ("candidate", candidate)): + interface = public_interface(graph, word) + moves, rows = graph_inputs(graph) + all_rows.append(rows) + audit = graph_bounds(graph, moves, rows, interface[0]) + grid = audit["path_grid"] + expected = expected_rows(audit["public"], word, interface, grid) + native[side] = { + **audit, + **exact_basis_grid(graph, moves, rows, grid, expected), + **held_schedule(graph, moves, rows, grid, expected, control=side == "candidate"), + } + parent_audit, child = native["parent"], native["candidate"] + require(parent_audit["path_grid"] == 2025 << 20 and parent_audit["terms"] == 172415 + and parent_audit["coefficient_products"] == 9044218, "independent G3 folded native anchor") + require(set(child["missing_odd_factor_controls"]) == {3, 5} and child["live_sender_alias_control_rejected"], + "actual under-scaled literal divisions and outstanding sender controls must reject") + old_paid = Counter(parent_audit["paid_native_ranks"]) + new_paid = Counter(child["paid_native_ranks"]) + require(new_paid - old_paid == {6: 1} and old_paid - new_paid == {3: 2} + and child["positive_helper_ranks"] == parent_audit["positive_helper_ranks"], + "exact paid replacement, unchanged productive ranks") + require(sum(rank * count for rank, count in new_paid.items()) + == sum(rank * count for rank, count in old_paid.items()), "paid rank mass conservation") + require((parent_audit["numerical_homes"], child["numerical_homes"]) == (9151, 9150), + "complete serial sender realization on both exact graphs") + root = root_envelope(native, caller_bound) + scalars = scalar_cases(all_rows, caller, (CALLER_ODD, *root["native_odd"].values())) + ordinary = {side: ordinary_budget(audit, signed, roots_q, scalars["coefficient_bits"]) + for side, audit in native.items()} + return { + "status": "PASS_CF6A_RELAY_BANK_PHYSICAL", + "scope": "Complete folded normalized products, all public endpoints, charged guarded bank schedules, finite scalar services and common exact root under the retained physical and recursive interfaces.", + "relay": relay, "raw_clear_source_inventory": clear_inventory, + "native": native, "ordinary": ordinary, "scalar_services": scalars, + "physical_controls": partial_clear_control(), + "caller_exact": signed, "caller_hereditary_envelope": caller_bound, "common_exact_root": root, + "bit_guard": check_depth_guard(root, h), + "both_graphs_respect_historical_numeric_homes_and_streams": True, + "inherited_private_home_cap_per_stage": OLD_NATIVE_STOCK, + "raw_stage_count": STAGES, + } + + +def main(): + parser = ArgumentParser(description=__doc__) + parser.add_argument("--parent", type=Path, default=HERE / "data/PARENT-GRAPH.json.gz") + parser.add_argument("--candidate", type=Path, default=HERE / "data/CANDIDATE-GRAPH.json.gz") + parser.add_argument("--word", type=Path, default=HERE / "data/WORD.json.gz") + parser.add_argument("--certs", type=Path, default=HERE / "data/CERTS.json") + parser.add_argument("--caller", type=Path, default=HERE / "data/CALLER.json.gz") + parser.add_argument("--candidate-sha256", default=CANDIDATE) + parser.add_argument("--compiler-H", type=int, default=COMPILER_H) + parser.add_argument("--out", type=Path) + args = parser.parse_args() + require(args.candidate_sha256 == CANDIDATE, "wrong frozen candidate pin") + parent, parent_gzip = load_gzip(args.parent, PEER) + child, child_gzip = load_gzip(args.candidate, CANDIDATE) + word, word_gzip = load_gzip(args.word, SOURCE_WORD) + caller, caller_gzip = load_gzip(args.caller, CALLER, canonical=False) + certs_raw = args.certs.read_bytes() + require(sha256(certs_raw).hexdigest() == SOURCE_CERTS, "wrong literal raw CLEAR certificate binding") + result = qualify(parent, child, word, json.loads(certs_raw), caller, args.compiler_H) + result.update({ + "graphs": {"parent": PEER, "candidate": CANDIDATE}, "caller_sha256": CALLER, + "source_head": SOURCE_HEAD, "source_word_sha256": SOURCE_WORD, "source_certs_sha256": SOURCE_CERTS, + "transport_sha256": {"parent": parent_gzip, "candidate": child_gzip, "word": word_gzip, + "caller": caller_gzip}, + }) + if args.out is None: + print(json.dumps(result, sort_keys=True, indent=2)) + else: + with args.out.open("x", encoding="utf-8") as handle: + json.dump(result, handle, sort_keys=True, indent=2) + handle.write("\n") + print(result["status"]) + + +if __name__ == "__main__": + main() diff --git a/research/p104-relay-cut-recoding/vendor/selected-bit-ambient.json b/research/p104-relay-cut-recoding/vendor/selected-bit-ambient.json new file mode 100644 index 0000000000..cd19f356a5 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/selected-bit-ambient.json @@ -0,0 +1,98 @@ +{ + "name": "bit-ambient", + "command": [ + "/usr/local/bin/python3.12", + "-I", + "-B", + "docs/research/pr-intake-evidence/pr7000-admission/check_bit_ambient.py" + ], + "base": "17469fff78c22941280f04d39dc5a1faee09c840", + "started_at": "2026-11-10T13:34:04.485882+00:00", + "exit_code": 0, + "wall_seconds": 0.26789799984544516, + "peak_sampled_descendant_kib": 1600, + "stop": null, + "limits": { + "seconds": 30, + "descendant_kib": 1048576, + "sampling_seconds": 0.2, + "serial": true + }, + "python": "3.12.8 (v3.12.8:2dc476bcb91, Dec 3 2024, 14:43:19) [Clang 13.0.0 (clang-1300.0.29.30)]", + "platform": "macOS-26.6.2-arm64-arm-64bit", + "source_sha256": { + "research/shared-wire-split-composition/native-accounting.json": "ec4f2657a6c172a16c68e958e865ef7bf5217a47814fb506e6e144d19daeaebc", + "research/shared-wire-split-composition/INDEPENDENT-NOTICE.md": "cadbc642ca84311d2c7a6cf704c7828cb4cf77e3c784b66e4c6e8a5c28002fb8", + "research/shared-wire-split-composition/INDEPENDENT-SOURCES.json": "dced1457df5230466ba6202fd6d4595bc2b7fb2a65302806bf2720b1837ff350", + "research/shared-wire-split-composition/SOURCES.json": "c66f8049a4e4bf9890d5f7d9f386de2c4897490f8f5e48edcc69a54b9333d103", + "research/shared-wire-split-composition/NATIVE-INPUTS.json": "9bb6c1567783661334d6c1d23f715ce5635cbbb513678819ab9e020a34c7e4c0", + "research/shared-wire-split-composition/VERIFY.json": "f27f759db9707cf5e8e4a331ca509401186c994ed661a9f4b480961642d5544f", + "research/shared-wire-split-composition/LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "research/shared-wire-split-composition/INDEPENDENT-REVIEW.md": "c24c7ee899c258420e281afe4e6dfcd890adf552b469822a38c13898bcd2a936", + "research/shared-wire-split-composition/compose.py": "f057d659243575529cfd89a5534c8f333d0716897ee495bfe3de67eeb0970c20", + "research/shared-wire-split-composition/interval_gate.py": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "research/shared-wire-split-composition/reproduce.py": "9b9fca18bf28c627ff29ba06048503af0cb5f27a4ffabeadffed50e0678c96c9", + "research/shared-wire-split-composition/FULL-RESULT.json": "d9ba709fa5dcefffe3f3abdcf34600ce188224703cfd743e6db8b58ba4816cb7", + "research/shared-wire-split-composition/TASK.json": "60e22522e87684c068f32c8ec687305f2be934f2800e2f10a55483bff02506a1", + "research/shared-wire-split-composition/VALIDATION.md": "582d71db76db5ac7bcfb2f9a962479d1a76d321c7536f08347f16fe01ec9d52e", + "research/shared-wire-split-composition/chart_delta.json": "881bc1bb93e1738aa9269f41af6db0ef80b377920aed6f91e79b9b6ed70e5deb", + "research/shared-wire-split-composition/independent.py": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "research/shared-wire-split-composition/NOTICE": "da12736e2e824167ff56f2ecb623a5f88f75a270410360890f61dffc33bab249", + "research/shared-wire-split-composition/chart_delta.py": "865f1e526663cb6e53092db66b5fdabae5ed37a0afe7520bdbe1bb21d0266d38", + "research/shared-wire-split-composition/README.md": "f8d540c9f505d5856416897c231bcb9186f873f6148b68b9f23fedac70313831", + "research/shared-wire-split-composition/split_build.py": "54f80d3c557175acfc2cf13059f00f004be3f18fb6c76946e05efe8ca8b5f33a", + "research/shared-wire-split-composition/independent_construction.py": "1e8d66885afce4181ff6195c31aa3445886410b13faf1c8c7321f3ae7fc9554e", + "research/shared-wire-split-composition/precision_replay.py": "850d9098c5946ab27ef5228acc54d59df2196e72259d3e21588ec0c319c8f5ee", + "research/shared-wire-split-composition/VERIFY-INDEPENDENT.json": "820992b885fffaee53854be2c0200b7d4bf96ec678c305b1eff3e6be1364b3e3", + "research/shared-wire-split-composition/CONSTRUCTION-REVIEW.md": "038392a7c5f1705b1978bcc35f9dc889d4ccd457a1f32c384a500c81259e978b", + "research/shared-wire-split-composition/build_wire.py": "b0e1f38dd70f7c1a6f4d9ec8289c76747f558dc8e1ba44b22dd58ff82870e6bd", + "research/shared-wire-split-composition/full_verify.py": "08134736288c3a1067d61185f195c645aa2624051b45c808b2447360d2d20ae0", + "research/shared-wire-split-composition/verify.py": "d2a291f8f4ea6dce51648ba44614d655b47e8e38d235458ac64924af7552b57b", + "research/shared-wire-split-composition/CONSTRUCTION.md": "40249ccc0854393aa3a6ff14845879407ebeb0bc365f14c49ab155489addb436", + "research/shared-wire-split-composition/frozen/verify_host3_odd.py": "e75ad2096ba2587d1dc9c8982b2c2eb7c6fd2636a80adcd943314ef2cf6fd258", + "research/shared-wire-split-composition/frozen/clifford_exact.py": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962", + "research/shared-wire-split-composition/frozen/physical.py": "4e995d1158033d83bf69b671f23dc7924d66edbbe07623ba063ba7421234ea20", + "research/shared-wire-split-composition/frozen/native_verify.py": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38", + "research/shared-wire-split-composition/data/caller.json": "3828d53e80ea97e8b866320f081af20b6b93bfebd58b95b56b85a7afe151af5e", + "research/shared-wire-split-composition/data/split759.proof.json": "35f8b64110957b6f51fd8dd0e53326c466e2ffeecf9254012f0e55a5275bea81", + "research/shared-wire-split-composition/data/bit-admission.json": "a46b6c6040f75184cab5467656811ad988c216e3bc8e44d595a5015b6e49620b", + "research/shared-wire-split-composition/data/split759_450.proof.json": "78b25749911131b50bb4565b17a06d08ccf4b511ec05e598e7f146c96aed4174", + "research/shared-wire-split-composition/data/wh_6937.json.gz": "25326dac562fa07edd28a6daf302de0c27f5f2e82f610eaf3671d39575f8dbea", + "research/shared-wire-split-composition/data/final.json.gz": "2b94953dc14a122e3ef089633f05b58ec689ec5156feb7c784ed3e137dc01883", + "research/shared-wire-split-composition/data/extra_wire_spec.json": "b065bd6c3b0762bc90f5cd0a0c1fb6b9664edefc5a1becbff6734a72ab7698d8", + "research/shared-wire-split-composition/data/main_6936.json.gz": "273e81f176f001684b1fa3eb857992bf58b54748004fcfe806b83adb48d2cc00", + "research/shared-wire-split-composition/retained/query-only-precision-envelope/envelopes.py": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "research/shared-wire-split-composition/retained/query-only-precision-envelope/source_binding.py": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "research/shared-wire-split-composition/retained/odd-native-common-grid/independent_bounds.py": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "research/paired-query-only-bit/SOURCES.json": "1037b0a2d0d60d998630d0d6faf80bc8f2d4351ba1a50dcdfa9f7e86e44019fd", + "research/paired-query-only-bit/PROOF.md": "3c32eb61bec108aceee3d2d676c2c115391f5d0f9845ac209214bb58ef4ebee4", + "research/paired-query-only-bit/INDEPENDENT-REVIEW.json": "e44a7204dcac835817e89be12fc0fb33d981c99ed6ebc3e33b48e49d2fdaeeb3", + "research/paired-query-only-bit/VERIFY.json": "774280bdef625e08e3f854a0f886f65b4283db17fcb397efe7556f97082cbaad", + "research/paired-query-only-bit/check.py": "460ed9a77d66264b00c31d0a7f8dab1db9aab21ec4cc0eaf0452bd4be4ef585e", + "research/paired-query-only-bit/LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "research/paired-query-only-bit/EFREE-CALLER.json.gz": "757b3523798f840bdb02028b23708c3416627a99ea09e7a3c4bcdc5cd0c7ce4b", + "research/paired-query-only-bit/EFREE-RESULT.json": "a46b6c6040f75184cab5467656811ad988c216e3bc8e44d595a5015b6e49620b", + "research/paired-query-only-bit/TASK.json": "4c76a0988a076598a22473b2849f062116e09613939a4a4fb672e5792c5c7906", + "research/paired-query-only-bit/VALIDATION.md": "1cc6f940cf4ce1cc6c54c9d07fd2574c1bdbb543097eede31ad78836b1918903", + "research/paired-query-only-bit/NOTICE": "8c73eaf46327f01b4cfc18640b5e5f552648fc5e4427cbccd42af5e7ecd3b732", + "research/paired-query-only-bit/README.md": "cfdb5e13f1b7571a76f6d645eb3bcc703e545e55a34a6fdc08a8e6f96ba1a9a8", + "research/paired-query-only-bit/INPUT-PINS.json": "84007e990d41cf4aac3cd9c1a08984b895fff20acdefc99d464262ec2ad694d4", + "research/paired-query-only-bit/independent/bit_review.py": "6db4b1657bac033ed526fb714b4830b51ae2260d2ce11c3ef0b9e907cadd47db", + "research/paired-query-only-bit/independent/interval_gate.py": "8dc2bc4c64cba3f83c664373984a075f1a14b4d53958084091345c8cab189dec", + "research/paired-query-only-bit/data/selected_review.md": "8bd158b8ef68202000f167b9b78db0b31531b5b067b5cbd91b5bf35f3ddd1ab6", + "research/paired-query-only-bit/data/selected_record.json": "9b8d0eea95b3bf0dfcb7938a732a6439b87a2685dec2a5ab9e525b3b34debbfa", + "research/paired-query-only-bit/data/selected_claim.json": "9cee8a1304fa893be3d3b641eda42fdd9b2fd6a5ac2124fb891de7a1a5e8d92e", + "research/paired-query-only-bit/data/query_only_6980.json": "3828d53e80ea97e8b866320f081af20b6b93bfebd58b95b56b85a7afe151af5e", + "research/paired-query-only-bit/data/6980_PROOF.md": "0cede285a98dd61b78020651202729c6d9cd16fb078ee5fe9a01aa2400df5432", + "research/paired-query-only-bit/data/6834_result.json": "5c3dd8b954de767e41ec7b3d51895ed8c28968d39cb6af57a84c01683f5780ae", + "research/paired-query-only-bit/retained/audit_binary_mixed.py": "bb6616dbf536acf10163b8fff65ebfa69d01dfdeda3c0ead388c03377361b298", + "research/paired-query-only-bit/retained/NOTICE": "620e4ec6f537fa1c071f019ac92fa0e4eec8ab487c811e84153292b981de0424", + "research/paired-query-only-bit/retained/inputs/independent_interval.py": "9293f567aa4afd9b4e618f1cddd3cf66eea51c5e194e3c578e7a8f4db6e04a57", + "research/paired-query-only-bit/retained/inputs/BIT-NATIVE-WORD.json.gz": "51203e7fc75ba10bd3ac3f8e675759f47e13d262bea66b6600d1e515095cad78", + "research/paired-query-only-bit/retained/inputs/credited_trim.py": "fcff17fdd3108be68761fbde0fcbfe218be166cf518c99f7163e60d53ab785d9", + "research/paired-query-only-bit/retained/inputs/inputs/exact_arithmetic.py": "0ce7e7137422d5ffeda22085c81fa88471bbe963100fdad62e659f1e3bf89326" + }, + "source_unchanged": true, + "log": "bit-ambient.log", + "log_sha256": "90e8b8bba405ec40d89c6f522cceb48fe873e51527f39a88d0c61b4f1990f98e" +} diff --git a/research/p104-relay-cut-recoding/vendor/selected-claim.json b/research/p104-relay-cut-recoding/vendor/selected-claim.json new file mode 100644 index 0000000000..c9b816f844 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/selected-claim.json @@ -0,0 +1,65 @@ +{ + "schema": "proposed-conditional-integer-multiplication-claim/1", + "kappa": "363005817/100000000000", + "source_result": "research/shared-wire-split-composition/FULL-RESULT.json", + "uniform_templates": [ + { + "family": "complex", + "rank_encoding": "2^14174600000000000000", + "saving": "181502908503/50000000000000", + "ambient": 153 + }, + { + "family": "BIT before cover", + "rank_encoding": "2^296630000000000", + "saving": "38525299/10000000000", + "ambient": 134 + } + ], + "covered_BIT_saving": "19262649/5000000000", + "ordinary_BIT_saving": "4815653101/1250000000000", + "admitted_BIT_saving": "12039/3125000", + "complex_BIT_premise": "376669/100000000", + "BIT_bootstrap": [ + "17/5000", + "38507/10000000", + "12039/3125000" + ], + "nine_outer_savings": { + "main_transform": "36300581700299636994182997/10000000000000000000000000000", + "global_coordinate_router": "90751454251/25000000000000", + "fused_gaussian": "36300581700398910982548991/10000000000000000000000000000", + "group_bit_router": "9075145425124727745637247/2500000000000000000000000000", + "group_scans": "49999999999999/50000000000000", + "boundary_algebraic_matrix": "36300581700399636994182997/10000000000000000000000000000", + "sparse_union_movement": "4098800581700399636994182997/10000000000000000000000000000", + "polynomial_products": "99999999999999/100000000000000", + "microbox_face_corrections": "1925000000000001/25000000000000" + }, + "outer_formula_source": "research/shared-wire-split-composition/interval_gate.py", + "limiting_outer_saving": "36300581700299636994182997/10000000000000000000000000000", + "strict_limiting_slack": "299636994182997/10000000000000000000000000000", + "assumptions": [ + { + "id": "native_all_columns", + "statement": "Retained native operators, phase conventions, spectators and whole-job adapters work at every positive column multiplicity." + }, + { + "id": "owned_erasure", + "statement": "Owned streams and suspended centers obey the retained allocation, erasure and ownership contracts." + }, + { + "id": "compiler", + "statement": "The finite mixed-target compiler and chronological product, completion and splitting satisfy the retained uniform closure contract." + }, + { + "id": "precision_tape", + "statement": "Retained fixed-tape movement and precision/storage prescriptions apply to the new fixed finite template." + }, + { + "id": "analytic_recovery", + "statement": "Analytic decomposition, fine-prime avoidance and exact integer recovery follow the retained upstream/outer framework." + } + ], + "scope": "Conditional shared-native mixed caller with exact common-grid scalar service; five inherited assumptions. No materialized uniform word, complete multiplier, independent human proof or formal-kernel acceptance." +} diff --git a/research/p104-relay-cut-recoding/vendor/selected-validation.json b/research/p104-relay-cut-recoding/vendor/selected-validation.json new file mode 100644 index 0000000000..7291ce5ab9 --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/selected-validation.json @@ -0,0 +1,223 @@ +{ + "schema_version": 1, + "status": "admitted_conditional", + "base": "f16923d466a6aba912299882e0545564d2ba7bb2", + "source_heads": { + "7000": "93effe2a135bf57b9e484cb630d8dd057159aec9", + "7001": "d777f3a0aa2878bea0478918923dabcf86b9878b" + }, + "selected_frontier_changed": true, + "selected_kappa": "0.00363005817", + "previous_kappa": "0.003125804", + "registered_replays_complete": true, + "all_jobs_finished": true, + "receipts": [ + { + "name": "bit-primary", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/bit-primary.json", + "sha256": "2bd4ae504350b8189e5a25c8e55212666ad15e16e3d85a824691513f0f498b11", + "wall_seconds": 13.74172916682437, + "peak_sampled_descendant_kib": 32544, + "exit_code": 0 + }, + { + "name": "bit-independent", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/bit-independent.json", + "sha256": "16088896d2b49bb81d17b778f162e41aee988188d79e76bdffe967ac0e9d40ff", + "wall_seconds": 0.4980977922677994, + "peak_sampled_descendant_kib": 34128, + "exit_code": 0 + }, + { + "name": "complex-primary", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/complex-primary.json", + "sha256": "fab9a2ead4a6212f3bc262a8da1019a623c420af02a38edb63807516b5cee8bf", + "wall_seconds": 99.33472337480634, + "peak_sampled_descendant_kib": 241472, + "exit_code": 0 + }, + { + "name": "complex-independent", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/complex-independent.json", + "sha256": "cbecd914e3a231b915ab4826a0046c0118fe1c800f2cca5a5c1e9586aa87d7e7", + "wall_seconds": 84.73606283264235, + "peak_sampled_descendant_kib": 110064, + "exit_code": 0 + }, + { + "name": "complex-physical", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/complex-physical.json", + "sha256": "fab7f7e00d40a09508a5bee285dc8fb33f06c92f48ed86e1f99affc35207627c", + "wall_seconds": 80.88798883417621, + "peak_sampled_descendant_kib": 699600, + "exit_code": 0 + }, + { + "name": "owned-factorizations", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/owned-factorizations.json", + "sha256": "938d1791dc320d7fa0bdb44ef318641960798823cd66c4074a037bb9c7682bd9", + "wall_seconds": 22.427095042075962, + "peak_sampled_descendant_kib": 102480, + "exit_code": 0 + }, + { + "name": "lambda-algebra", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/lambda-algebra.json", + "sha256": "bc871b73eaf56318c8be84b117c6f8e7eed8db4e0f9d0ab729eeb5d425a4a1d7", + "wall_seconds": 0.5506485840305686, + "peak_sampled_descendant_kib": 17728, + "exit_code": 0 + }, + { + "name": "bit-ambient", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/bit-ambient.json", + "sha256": "437ad2f9e7956e7f2b477b546f53a6c8cfa0567e207024300e9a7e58d3c0202c", + "wall_seconds": 0.26789799984544516, + "peak_sampled_descendant_kib": 1600, + "exit_code": 0 + }, + { + "name": "bit-ambient-optimized", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/bit-ambient-optimized.json", + "sha256": "977abde2a364af1a0153033f759cc2d90ea79b6f266bcdbb0830c52d22976ded", + "wall_seconds": 0.26918487483635545, + "peak_sampled_descendant_kib": 2272, + "exit_code": 0 + }, + { + "name": "interface-bindings", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/interface-bindings.json", + "sha256": "e3313b43b32169fba878600b43a722c51cce770f685f151433a7addeff25c3d3", + "wall_seconds": 0.28022624971345067, + "peak_sampled_descendant_kib": 1920, + "exit_code": 0 + }, + { + "name": "interface-bindings-optimized", + "receipt": "docs/research/pr-intake-evidence/pr7000-admission/interface-bindings-optimized.json", + "sha256": "030311e1fcdf372c059545a8c355cf09b4931fda34b7759333406f14d837b2bd", + "wall_seconds": 0.28489804081618786, + "peak_sampled_descendant_kib": 4832, + "exit_code": 0 + }, + { + "name": "application", + "receipt": "docs/research/pr-intake-evidence/pr7000-application/application.json", + "sha256": "b6ca671c7101674a40a2c30fdea0ec95f08f9b61bbc9a0926d38da9a6942e14b", + "wall_seconds": 49.84868695773184, + "peak_sampled_descendant_kib": 105232, + "exit_code": 0 + }, + { + "name": "application-optimized", + "receipt": "docs/research/pr-intake-evidence/pr7000-application/application-optimized.json", + "sha256": "f8989171cd7561dccd1ce0db3a7cb119640b965d7f6212d21e9f2d7f16590365", + "wall_seconds": 38.167422249913216, + "peak_sampled_descendant_kib": 106320, + "exit_code": 0 + }, + { + "name": "scalar", + "receipt": "docs/research/pr-intake-evidence/pr7000-application/scalar.json", + "sha256": "d3eb6cf49dd74cc78ea85703236ec1e31a84b6c52e5a42311a65b7a19faeb669", + "wall_seconds": 10.96639662515372, + "peak_sampled_descendant_kib": 47040, + "exit_code": 0 + }, + { + "name": "scalar-optimized", + "receipt": "docs/research/pr-intake-evidence/pr7000-application/scalar-optimized.json", + "sha256": "13e86b7a72e98e8189c964969b43fb055291f5b2efa92fc7ca63e5bf6b8324bb", + "wall_seconds": 15.716162957716733, + "peak_sampled_descendant_kib": 45600, + "exit_code": 0 + }, + { + "name": "native-catalogue-0", + "receipt": "docs/research/pr-intake-evidence/pr7000-application/native-catalogue-0.json", + "sha256": "60911939b399975817334f2ab0e33e1b3d15ac937baab1bc82573f18c761766e", + "wall_seconds": 222.34261462511495, + "peak_sampled_descendant_kib": 58640, + "exit_code": 0 + }, + { + "name": "native-catalogue-1", + "receipt": "docs/research/pr-intake-evidence/pr7000-application/native-catalogue-1.json", + "sha256": "d7cb2b5ac7ebdfdde129877916bded5c5dfc386316b6395dbe58ebbefdd7c69d", + "wall_seconds": 249.59168437542394, + "peak_sampled_descendant_kib": 58624, + "exit_code": 0 + }, + { + "name": "native-catalogue-2", + "receipt": "docs/research/pr-intake-evidence/pr7000-application/native-catalogue-2.json", + "sha256": "2e1f8fd8e4504b2495d07488bf9831e913c706a3e94d1c4de3c1866c585cacaa", + "wall_seconds": 338.04289187537506, + "peak_sampled_descendant_kib": 59712, + "exit_code": 0 + } + ], + "historical_input_aliases": { + "cc723faaf0d182693f69d51ad8a5b3d483103e4a8d0e2ecbbcb5e1508e77404e": "docs/research/pr-intake-evidence/pr7000-application/orchestration-initial.txt", + "8b8067cfd88d785a74c68e8b8e519b3b90c2122298aa3c1b29cb51efea164b63": "docs/research/pr-intake-evidence/pr7000-application/orchestration-monolithic.txt" + }, + "nonexecuted_inventory_changes": { + "scalar": { + "docs/research/pr-intake-evidence/pr7000-application/check_application.py": "c44411369b8bfa66ed2865b0be15ccb45b7410d0a34d2fa24b6fe0fc6a08b17d" + }, + "scalar-optimized": { + "docs/research/pr-intake-evidence/pr7000-application/check_application.py": "c44411369b8bfa66ed2865b0be15ccb45b7410d0a34d2fa24b6fe0fc6a08b17d" + } + }, + "nonexecuted_inventory_changes_reason": "The scalar harness inventoried check_application.py but did not execute or import it. Later changes added application controls; both application modes then passed at its current hash. Both exact scalar executions used the unchanged current scalar checker. Orchestration snapshots retain the earlier harness bytes.", + "prior_review_checker_sha256": { + "check_bit_ambient.py": "e8dabd0285c2ea84472a588a0f6f56e0a7865535ba5f0109db56b08cb7e79886", + "check_interface_bindings.py": "24f5a3c1660b2490981c3af2bd00791c95a0eae373b20db08854d61362c5e08f" + }, + "failed_attempt": { + "receipt": "docs/research/pr-intake-evidence/pr7000-application/native-catalogue.json", + "sha256": "aed71658d6b85b37c44bfb961c9f56c7d72e625b9d5fcc8b492b75d17ce4aa6c", + "original_checker": "docs/research/pr-intake-evidence/pr7000-application/native-catalogue-monolithic.txt", + "scope": "600-second monolithic timeout; no successful coverage reused. Disjoint bounded parts replace it." + }, + "coverage": [ + "All five registered candidate/BIT checks reused at unchanged scientific input hashes.", + "Current complete native catalogue: 3057 maps, 104 main boundary pairs, exact signed Pauli action and absolute Gaussian phase.", + "All 14400 complex native contacts and current paid-owner lists; all 636 BIT frames and 111 main charts.", + "Exact fixed-rational scalar reference normal/optimized; common-grid and fixed-tape scan application supplied in the review.", + "Current root/complete-spectator layouts, owned lifetimes, full cost units and fresh thresholds applied under the same five assumptions." + ], + "remaining": [], + "retained_assumptions": [ + { + "id": "native_all_columns", + "statement": "Retained native operators, phase conventions, spectators and whole-job adapters work at every positive column multiplicity." + }, + { + "id": "owned_erasure", + "statement": "Owned streams and suspended centers obey the retained allocation, erasure and ownership contracts." + }, + { + "id": "compiler", + "statement": "The finite mixed-target compiler and chronological product, completion and splitting satisfy the retained uniform closure contract." + }, + { + "id": "precision_tape", + "statement": "Retained fixed-tape movement and precision/storage prescriptions apply to the new fixed finite template." + }, + { + "id": "analytic_recovery", + "statement": "Analytic decomposition, fine-prime avoidance and exact integer recovery follow the retained upstream/outer framework." + } + ], + "reuse_invalidation": "Any changed executed checker, source data, imported engine, occurrence recipe or application premise invalidates its affected coverage. Orchestration-only historical aliases and the scalar job's nonexecuted application checker are explicit. The previous selected record is preserved byte-for-byte as frontier6030.json.", + "scope": "Maintainer conditional application admission; finite checks and a written specialization, not a complete multiplier, independent human proof or formal-kernel acceptance.", + "review_files_sha256": { + "PROOF-REVIEW.md": "4501502c2ceb9759b20372435fe4beb51082c5a5e2910c1fd5dbe6edca415055", + "SOURCES.json": "8fa7eb44bcc8c7d442848b9f51e9b5e26413a433ebc382f302c350981871265c", + "check_application.py": "d98987db98553dc55bfc80e3ca47abfcd51c57af6f8cda61101391d8eae94184", + "check_exact_scalar.py": "f83e506617a92027b3ff82f28bc043e34e890951eb7f3bd930e08c6c02a04a9d", + "check_native_catalogue.py": "6120e1ea1e07eeba757694d209437a38f121b0a377cc466889a30fa52c561472", + "replay_bounded.py": "ed8324a1f126d3282e312ecc252e4f4847ec50aed9e8b70d00b98d4b9ab96a16" + } +} diff --git a/research/p104-relay-cut-recoding/vendor/upstream_application.py b/research/p104-relay-cut-recoding/vendor/upstream_application.py new file mode 100644 index 0000000000..1a6d358cbe --- /dev/null +++ b/research/p104-relay-cut-recoding/vendor/upstream_application.py @@ -0,0 +1,369 @@ +#!/usr/bin/env python3 +"""Exact-source caller geometry, occurrence allocation and rational BIT frames. + +No contributor scientific module is imported. Complex phase-polynomial +method credited to the retained fragment physical audit; here coefficients +of the full degree-two polynomial are constructed instead of probing it. +OpenAI Codex assistance for Douglas Colkitt. Apache-2.0. +""" +from collections import Counter +from copy import deepcopy +from fractions import Fraction as Q +from hashlib import sha256 +from pathlib import Path +import gzip +import json + +HERE = Path(__file__).resolve().parent +ROOT = HERE.parents[3] + + +def need(ok, message): + if not ok: + raise ValueError(message) + + +def read(path): + raw = (ROOT / path).read_bytes() + pin = next(p for p in json.loads((HERE / 'SOURCES.json').read_text())['files'] + if p['path'] == path) + need(sha256(raw).hexdigest() == pin['sha256'], 'source bytes: ' + path) + return json.loads(gzip.decompress(raw) if path.endswith('.gz') else raw) + + +def digest(value): + return sha256(json.dumps(value, sort_keys=True, separators=(',', ':')).encode()).hexdigest() + + +def bits(n): + result = [] + while n: + a = n & -n + result.append(a) + n ^= a + return result + + +def dot(a, b): + return (a & b).bit_count() % 2 + + +def terms(items): + c = Counter() + for v, a in items: + c[v] += a + return {v: a % 4 for v, a in c.items() if v and a % 4} + + +def sub(a, b): + return terms(list(a.items()) + [(v, -c) for v, c in b.items()]) + + +def polynomial(t): + # parity(sum x_i) = sum x_i - 2 sum_{i 0, 'positive complete helper job') + T[rank] += 1 + need(len(mapping) == len(set(mapping.values())) == word['public'], 'injective native inputs') + for r in range(word['public'], word['public']+word['owned_fields']): + mapping[r] = ('owned', ci, r-word['public']) + need(len(set(mapping.values())) == word['public']+51, 'owned/public separation') + for ni, move in native_moves: + _, r, start, end, owned = move + rank = abs(len(word['frames'][end])-len(word['frames'][start])) + need(owned == (r >= word['public']) and rank > 0, 'actual paid owner class') + P[rank] += 1 + occurrences.append([ci, ni, list(mapping[r]), rank, start, end]) + for pi, q in enumerate(word['ports']): + transform = route(q, by_q[q], stage) + before_axes = [1 << j for j in range(9+8*(stage-1))] + after_axes = [1 << j for j in range(9+8*stage)] + spectator = [1 << j for j in range(9, 9+8*stage)] + x0 = terms((a, 1) for a in before_axes) + y0 = terms(list(x0.items())+[(q, -1)]) + x1 = terms((a, 1) for a in after_axes) + y1 = terms(list(x1.items())+[(q, -1)]) + nx0 = terms([(a, 1) for a in spectator]+[(q, 1)]) + ny0 = terms((a, 1) for a in spectator) + nx1 = terms((a, 1) for a in spectator+[1 << j for j in range(9)]) + ny1 = terms(list(nx1.items())+[(q, -1)]) + shifts = [boundary(a, b, transform) for a, b in + ((x0, nx0), (y0, ny0), (nx1, x1), (ny1, y1))] + body = terms((1 << j, 1) for j in range(9+8*(stage-1), 9+8*stage)) + for actual, expected in ((sub(x1,x0),body), (sub(y1,y0),body), + (sub(y1,x0),terms(list(body.items())+[(q,-1)])), + (sub(x1,y0),terms(list(body.items())+[(q,1)]))): + need(not polynomial(sub(actual,expected)), 'all four contact operators') + need(polynomial(sub(terms([(q,1)]),terms([(q,-1)]))), 'wrong query orientation rejected') + phase_records.append([ci,pi,shifts,2 if pi in second else 1]) + else: + ty, op, r, *a = e + kind = caller['types'][ty] + used = [r] + ([a[0]] if op in ('ADD','SWAP','QUERY') else []) + need(all(kind['offset'] <= x < kind['offset']+kind['roles'] for x in used), 'caller owners stay in type') + need(len(used) == len(set(used)), 'distinct scalar/query owners') + if op in ('QUERY','IDLE_ONE'): + if op == 'QUERY': + need(a[1] in (-1,1), 'signed completed query') + rank = 1; query_uses += len(kind['ports']) + else: + selected = a[0] + need(selected and len(selected)==len(set(selected)) + and all(1 <= s <= 18 for s in selected), 'whole idle stage axes') + rank = 8*len(selected); idle_uses += len(kind['ports']) + for pi in kind['ports']: + owner = ['query_scratch',ci,pi] if op == 'QUERY' else ['main',pi,r] + occurrences.append([ci,op,owner,rank]); P[rank] += 1 + elif op == 'LAMBDA': + need(a[0] in (-1,1), 'global normalizer sign') + lambda_uses += len(kind['ports']) + need(stage_order == list(range(1,19)), 'fresh chronological native stages') + for kind in caller['types'].values(): + for diagonal in kind['diagonal']: + qp, zero, *selection = diagonal + need(qp in (-1,0,1) and zero == 0 and len(selection)==18 + and set(selection)<={0,1} and any(selection), 'positive nonempty root endpoint') + rank = abs(qp)+8*sum(selection) + for pi in kind['ports']: + q = word['ports'][pi] + axes = [1 << (9+8*j+k) for j,yes in enumerate(selection) if yes for k in range(8)] + actual = terms([(q,qp)]+[(a,1) for a in axes]) + target = terms((a,1) for a in ([q] if qp else [])+axes) + need(translation(sub(target,actual)) == (q if qp == -1 else 0), 'whole output correction') + T[rank] += 1 + for name, actual in [('P',P),('T',T)]: + need(actual == Counter({int(k):v for k,v in receipt['invoice'][name].items()}), 'independent '+name+' invoice') + need(sum(T.values()) == len(owners), 'every productive target is one actual owner') + need(len(occurrences) == sum(P.values()), 'every paid position retained in order') + return dict(ambient=153, native_calls=18, native_public=1480, fresh_helpers=19440, + productive_fields=len(owners), paid_positions=len(occurrences), + complete_paid_position_digest=digest(occurrences), + native_contact_boundaries=sum(4*r[3] for r in phase_records), + phase_record_digest=digest(phase_records), nonzero_boundary_translations=sum(sum(bool(x) for x in r[2])*r[3] for r in phase_records), + reserved_native_banks=18*51, reserved_serial_query_lambda_bank=1, + query_uses=query_uses, idle_uses=idle_uses, lambda_uses=lambda_uses, + paid=dict(sorted(P.items())), targets=dict(sorted(T.items())), + rank_surplus=sum(r*T[r] for r in T)-sum(r*P[r] for r in P)) + + +def inverse(matrix): + n = len(matrix) + a = [[Q(x) for x in row]+[Q(i==j) for j in range(n)] for i,row in enumerate(matrix)] + det = Q(1) + for j in range(n): + pivot = next((i for i in range(j,n) if a[i][j]),None) + need(pivot is not None, 'rational basis invertible') + if pivot != j: + a[j],a[pivot] = a[pivot],a[j]; det = -det + v = a[j][j]; det *= v; a[j] = [x/v for x in a[j]] + for i in range(n): + if i != j: + v = a[i][j] + a[i] = [x-v*y for x,y in zip(a[i],a[j])] + return [row[n:] for row in a], det + + +def bit_application(word, caller, receipt): + ff = word['frames']; determinants=[]; denominator_witnesses=set() + for label, frame in ff.items(): + B,A = frame['B'],frame['A']; d = frame['dim'] + need(len(B)==d and len(A)==8-d and all(len(v)==8 for v in B+A), 'rational frame dimensions') + need(all(sum(Q(x)*Q(y) for x,y in zip(b,a))==0 for b in B for a in A), 'complement annihilation') + inv, det = inverse(list(zip(*(B+A)))) + determinants.append([label,str(det)]) + denominator_witnesses.add(abs(det.numerator)); denominator_witnesses.add(det.denominator) + for row in inv: + denominator_witnesses.update(x.denominator for x in row) + for row in B+A: + denominator_witnesses.update(Q(x).denominator for x in row) + charts=[] + for port in range(111): + head=ff[str(word['start'][port])]; body=ff[str(word['final'][port+111])] + need(head['dim']==1 and body['dim']==7, 'actual main head/body ranks') + u=head['B'][0] + need(all(sum(Q(x)*Q(y) for x,y in zip(u,v))==0 for v in body['B']), 'main complement') + inv,det=inverse(list(zip(*([u]+body['B'])))) + charts.append([port,str(det)]) + denominator_witnesses.update([abs(det.numerator),det.denominator]) + for row in inv:denominator_witnesses.update(x.denominator for x in row) + P,T=Counter(),Counter(); positions=[]; names={('main',pi,r) for pi in range(111) for r in range(38)} + calls=[] + for ci,e in enumerate(caller['events']): + op=e[0] + if op=='LOCAL': + _,stage,src,dst=e; calls.append(stage) + mapping={i:('main',i,src) for i in range(111)} + mapping.update({i+111:('main',i,dst) for i in range(111)}) + for r in range(222,word['public']): + owner=('helper',ci,r); need(owner not in names,'fresh BIT helper');names.add(owner);mapping[r]=owner + T[abs(ff[str(word['start'][r])]['dim']-ff[str(word['final'][r])]['dim'])]+=1 + need(len(mapping)==len(set(mapping.values()))==659,'injective BIT occurrence') + for r in range(659,659+word['owned_fields']):mapping[r]=('owned',ci,r-659) + for ni,move in enumerate(word['program']): + if move[0]=='MOVE': + _,r,a,b=move;rank=abs(ff[str(a)]['dim']-ff[str(b)]['dim']) + P[rank]+=1;positions.append([ci,ni,list(mapping[r]),rank,a,b]) + elif op=='QUERY': + need(e[1]!=e[2] and 0<=min(e[1:])<=max(e[1:])<38,'BIT query owners') + for pi in range(111):P[1]+=1;positions.append([ci,op,['query_scratch',ci,pi],1]) + elif op=='IDLE_ONE': + _,owner,ss=e;need(ss and len(ss)==len(set(ss)) and all(1<=s<=18 for s in ss),'BIT idle axes') + for pi in range(111):P[7*len(ss)]+=1;positions.append([ci,op,['main',pi,owner],7*len(ss)]) + need(calls==[s for s in range(1,19) for _ in range(2)],'paired native chronology') + for d in caller['diagonal']: + need(d['q']==1 and d['stages'] and len(d['stages'])==len(set(d['stages'])),'BIT positive endpoint') + T[1+7*len(d['stages'])]+=111 + need(P==Counter({int(k):v for k,v in receipt['paid'].items()}) and + T==Counter({int(k):v for k,v in receipt['targets'].items()}),'complete BIT invoice') + need(sum(T.values())==len(names)==19950,'BIT owner count') + return dict(ambient=134, rational_frames=len(ff), rational_main_charts=len(charts), + rational_determinants_digest=digest(determinants), + finite_prime_exclusion_witness_count=len(denominator_witnesses), + finite_prime_exclusion_witness_digest=digest(sorted(denominator_witnesses)), + native_calls=len(calls), fresh_helpers=36*437, productive_fields=len(names), + paid_positions=len(positions), complete_paid_position_digest=digest(positions), + reserved_native_banks=36*word['owned_fields'], reserved_serial_query_bank=1, + rank_surplus=sum(r*T[r] for r in T)-sum(r*P[r] for r in P)) + + +def main(): + p='research/shared-wire-split-composition/' + w,c,r=read(p+'data/final.json.gz'),read(p+'data/caller.json'),read(p+'FULL-RESULT.json') + phases=read('research/p104-two-chain-shared-native/retained/runtime/DATA-PHASES.json') + complex_result=complex_application(w,c,r,phases) + p='research/paired-query-only-bit/' + bw,bc,br=read(p+'retained/inputs/BIT-NATIVE-WORD.json.gz'),read(p+'EFREE-CALLER.json.gz'),read(p+'EFREE-RESULT.json') + bit_result=bit_application(bw,bc,br) + controls={} + def reject(name, action): + try:action() + except ValueError as error:controls[name]=str(error) + else:raise ValueError('negative control accepted: '+name) + alias=deepcopy(c);joint=next(e for e in alias['events'] if e[0]=='J');joint[2][2]=joint[2][0] + reject('same_frame_main_alias',lambda:complex_application(w,alias,r,phases)) + reordered=deepcopy(c);joint=next(e for e in reordered['events'] if e[0]=='J');joint[1]=2 + reject('wrong_stage',lambda:complex_application(w,reordered,r,phases)) + bad_bit=deepcopy(bw);bad_bit['frames']['0']['A'][1]=bad_bit['frames']['0']['A'][0][:] + reject('singular_BIT_spectator_basis',lambda:bit_application(bad_bit,bc,br)) + q=w['ports'][0];basis=next(x for x in phases['recipes'] if x['q']==q)['idle_children'][0]['orthogonal_axes'][:8] + reject('singular_complex_route',lambda:route(q,basis[:-1]+basis[:1],1)) + transform=route(q,basis,1) + before=terms((1< Fraction("0.00385248") > Fraction(BIT) + and repair["exit_code"] == 0 and repair["source_unchanged"] + and validation["status"] == "admitted_conditional" and validation["registered_replays_complete"], + "selected BIT and ambient repair") + need(assumptions == ["native_all_columns", "owned_erasure", "compiler", "precision_tape", + "analytic_recovery"], "inherited scientific interfaces") + return assumptions + + +def stage_owners(word, caller): + h = word["hosted"] + second = dict(zip(h["Dports"], zip(h["X2"], h["Y2"], strict=True), strict=True)) + mains = main_roles(word) + helpers = sorted(set(range(word["public"])) - mains) + seen = set() + stages = [] + for event in caller["events"]: + if event[0] != "J": + continue + _, stage, type_a, type_b = event + owners = {} + for port, x in enumerate(word["live"]): + slots = (x, x + 112) + if port in second: + slots += second[port] + roles = type_a if port in second else type_b[:2] + owners.update(zip(slots, [(port, role) for role in roles], strict=True)) + need(set(owners) == mains and len(set(owners.values())) == 400, "injective main assignment") + fresh = {("helper", stage, r) for r in helpers} + need(len(fresh) == 1101 and fresh.isdisjoint(seen), "fresh productive owners") + seen.update(fresh) + stages.append([stage, len(owners), len(fresh)]) + need(len(stages) == 16, "actual joint stages") + return stages + + +def bill(word, net, signed, contract): + native, helper, _ = rank_data(word, net) + calls = signed["calls"] + paid = Counter({r: n*calls for r,n in native.items()}) + paid.update(signed["fixed_caller_paid"]) + targets = Counter({r: n*calls for r,n in helper.items()}) + targets.update(signed["fixed_root_targets"]) + return dict(schema="integer-mult-recursive-invoice/v1", contract=contract, + paid={str(r): n for r,n in sorted(paid.items())}, + targets={str(r): n for r,n in sorted(targets.items())}) + + +def price(parent, child): + empty = dict(child, paid={}, targets={}) + checks = [] + for name, data, at, sign in ( + ("parent", parent, PARENT_LOWER, "lower"), ("parent", parent, PARENT_UPPER, "higher"), + ("parent", parent, CLAIM, "higher"), ("candidate", child, CLAIM, "lower"), + ("candidate", child, PROBE, "lower"), ("candidate", child, LOWER, "lower"), + ("candidate", child, UPPER, "higher")): + result = evaluate(empty, data, 1-Fraction(at), 256) + need(result["classification"] == "new_cost_" + sign, "independent signed moment") + checks.append([name, at, sign, result["new_minus_old"]]) + paid = {int(r): n for r,n in child["paid"].items()} + target = {int(r): n for r,n in child["targets"].items()} + compiler = gate({"P": paid, "T": target}, CLAIM, PROBE, LOWER, UPPER, BIT) + return checks, compiler + + +def physical_application(graph, word, caller, signed, h): + interface = physical.public_interface(graph, word) + moves, rows = physical.graph_inputs(graph) + audit = physical.graph_bounds(graph, moves, rows, interface[0]) + grid = audit["path_grid"] + expected = physical.expected_rows(audit["public"], word, interface, grid) + audit.update(physical.exact_basis_grid(graph, moves, rows, grid, expected)) + audit.update(physical.held_schedule(graph, moves, rows, grid, expected, control=True)) + need(audit["live_sender_alias_control_rejected"] and set(audit["missing_odd_factor_controls"]) == {3, 5}, + "parked sender and odd-grid controls") + envelope = physical.caller_envelope(caller) + need(envelope["uses"] == signed["uses"], "weighted signed caller counts") + root = physical.root_envelope({"candidate": audit}, envelope) + guard = physical.check_depth_guard(root, h) + scalars = physical.scalar_cases([rows], caller, (signed["odd_scale"], audit["path_grid_odd"])) + translations = sum(len(kind["ports"])*sum(row[0] < 0 for row in kind["diagonal"]) + for kind in caller["types"].values()) + ordinary = physical.ordinary_budget(audit, signed, translations, scalars["coefficient_bits"]) + return dict(native=audit, caller_envelope=envelope, common_root=root, depth_guard=guard, + ordinary=ordinary, scalars=scalars, partial_clear_control=physical.partial_clear_control()) + + +def schedule_controls(net): + moves = net.moves.copy() + key = next(iter(moves)) + _, dst = moves[key] + moves[key] = (dst, dst) + forms = net.forms.copy() + forms[key] = {key: Fraction(1)} + try: + Network(net.first_output, net.initial, net.final, moves, forms).schedule() + except CycleError: + pass + else: + raise ValueError("cycle control") + try: + Network(net.first_output, net.initial, net.final, moves, net.forms).schedule() + except ValueError as exc: + need(str(exc) == "nonlocal scalar", "wrong-chart rejection reason") + else: + raise ValueError("nonlocal read control") + + +def application(): + assumptions = selected_bit() + word, source, edits = sources() + net = apply(source, edits, word["frames"]) + schedule_controls(net) + caller = read(HERE / "data/CALLER.json.gz") + signed = signed_caller(caller, word, 2025, 9) + stages = stage_owners(word, caller) + published = read(HERE / "data/PARENT-PRICE.json")["invoices"]["candidate"] + parent = bill(word, source, signed, published["contract"]) + child = bill(word, net, signed, published["contract"]) + need(parent == published and parent["targets"] == child["targets"], "matched parent boundary") + preflight = compare_invoices(parent, child) + need(preflight["classification"] == "uniformly_better", "concave tariff comparison") + signs, compiler = price(parent, child) + graph = layout(word, net) + machine = physical_application(graph, word, caller, signed, int(compiler["H"])) + costs = machine["ordinary"] + paid, target = sum(child["paid"].values()), sum(child["targets"].values()) + surplus = sum(int(r)*n for r,n in child["targets"].items()) - sum(int(r)*n for r,n in child["paid"].items()) + need((paid, target, surplus) == (costs["raw_paid_positions"], costs["raw_productive_targets"], 1328), + "match positive physical and recursive counts") + delta = {r: child["paid"].get(r, 0) - parent["paid"].get(r, 0) + for r in child["paid"].keys() | parent["paid"].keys()} + return dict(claim=CLAIM, probe=PROBE, bracket=[LOWER, UPPER], parent_bracket=[PARENT_LOWER, PARENT_UPPER], + graph_sha256=sha256(encoded(graph)).hexdigest(), cut_counts=dict(Counter(e["kind"] for e in edits)), + invoice=child, paid_delta={r: n for r,n in delta.items() if n}, paid=paid, + productive=target, signed_rank_surplus=surplus, caller=signed, stages=stages, + preflight=preflight, powers=signs, compiler=compiler, physical=machine, + conditional_interfaces=assumptions) + + +if __name__ == "__main__": + need(sys.flags.optimize == 0, "compiler assertions enabled") + result = application() + receipt("application", result) + print("PASS_RELAY_CUT_APPLICATION", result["claim"], result["paid"], result["productive"]) diff --git a/research/p104-relay-cut-recoding/witness.py b/research/p104-relay-cut-recoding/witness.py new file mode 100644 index 0000000000..ca17bd7cad --- /dev/null +++ b/research/p104-relay-cut-recoding/witness.py @@ -0,0 +1,142 @@ +"""Check each cut identity and compare all public columns in reverse order.""" +from copy import deepcopy +from math import lcm +from pathlib import Path +import sys + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +from recoding import HERE, Network, apply, coefficients, combine, construct, dot, need, read, receipt, sources +from native import evaluate, verify_pivot +from network import add_scaled + + +def identity(before, edit): + if edit["kind"] == "pivot": + verify_pivot(before, edit) + return + incoming = coefficients(edit["sender" if edit["kind"] == "feedback" else "group"]) + receiver = coefficients(edit["receiver"]) + j = edit["outgoing"] + _, values, _, _ = evaluate(before, incoming.keys() | receiver.keys() | {j}) + predicted = combine(incoming, values) + add_scaled(predicted, combine(receiver, values), 1) + need(predicted == values[j], "saved hub signal") + + +def reverse_columns(net): + order = net.schedule()[::-1] + grid = {i: 1 for i in net.forms} + grid.update({~i: 1 for i in range(len(net.initial))}) + for i in order: + for donor, q in net.forms[i].items(): + grid[donor] = lcm(grid[donor], grid[i] * q.denominator) + unit = lcm(*grid.values()) + sums = {i: {} for i in grid} + for role in range(len(net.final)): + sums[net.first_output + role] = {role: unit} + products = 0 + for i in order: + row = sums.pop(i) + for donor, q in net.forms[i].items(): + output = sums[donor] + for j, value in row.items(): + term, rem = divmod(q.numerator * value, q.denominator) + need(rem == 0, "reverse pre-product division") + result = output.get(j, 0) + term + if result: + output[j] = result + else: + output.pop(j, None) + products += len(row) + return sums, unit, products + + +def source_clears(word): + entries = read(HERE / "data/CERTS.json")["clear_event_index"] + raw, clears, _ = construct.raw_fold(word, entries) + wanted = {i for clear in clears for row in (clear.left, clear.right) for i in row} + raw_net = Network(raw.first, raw.initial, raw.final, raw.moves, raw.forms) + _, values, _, _ = evaluate(raw_net, wanted) + zeros = 0 + for clear in clears: + left = combine(clear.left, values) + need(left == combine(clear.right, values), f"source CLEAR at {clear.clock}") + zeros += not left + need((len(clears), zeros) == (235, 42), "all source retirements") + return dict(total=len(clears), zero=zeros, nonzero=len(clears)-zeros) + + +def cut_record(index, net, edit, frames): + def rank(a, b): + return abs(len(frames[a]) - len(frames[b])) + + if edit["kind"] == "pivot": + first, second = edit["remove"], edit["pivot"] + source, middle = net.moves[first] + _, target = net.moves[second] + return dict(step=index + 1, kind="pivot", direction=edit["direction"], keys=[first, second], + old_ranks=[rank(source, middle), rank(middle, target)], + new_ranks=[rank(edit["source_chart"], target)]) + first, second, hub = edit["incoming"], edit["outgoing"], edit["hub"] + source, middle = net.moves[first] + _, target = net.moves[second] + record = dict(step=index + 1, kind=edit["kind"], direction=edit["direction"], keys=[first, second], + charts=[source, middle, target, hub], old_ranks=[rank(source, middle), rank(middle, target)], + new_ranks=[rank(source, hub), rank(hub, target)]) + if edit["kind"] == "feedback": + v = coefficients(edit["innovation"]) + response = dot(net.forms[second], v) + side = coefficients(edit["receiver"]) + feedback = sum(weight * dot(net.forms[k], v) / response for k, weight in side.items() if k >= 0) + record.update(determinant=str(1-feedback), prior_edge_to_hub=(middle, hub) in net.moves.values()) + return record + + +def check(shard): + word, parent, edits = sources() + checks = [] + mutated = set() + + def observe(i, net, edit): + if i % 2 != shard: + return + identity(net, edit) + checks.append(cut_record(i, net, edit, word["frames"])) + if edit["kind"] not in mutated: + altered = deepcopy(edit) + field = "group" if edit["kind"] == "group" else "sender" + if not altered[field]: + return + token, v = altered[field][0] + altered[field][0] = [token, str(-coefficients([[token, v]])[token])] + try: + identity(net, altered) + except ValueError as exc: + need(str(exc) in ("saved hub signal", "saved signal identity"), "mutation rejection") + mutated.add(edit["kind"]) + else: + raise ValueError("wrong signal sign accepted") + + net = apply(parent, edits, word["frames"], observe) + need(mutated == {row["kind"] for row in checks}, "signal mutation coverage") + result = dict(checks=checks, rejected_signs=sorted(mutated)) + if shard == 0: + old, a, old_work = reverse_columns(parent) + new, b, new_work = reverse_columns(net) + need(old.keys() == new.keys() == {~i for i in range(len(net.initial))}, "reverse owners") + for i, row in old.items(): + need(row.keys() == new[i].keys() and all(v*b == new[i][j]*a for j,v in row.items()), + f"reverse public column {~i}") + result["reverse"] = dict(columns=len(old), parent_grid=a, final_grid=b, + parent_products=old_work, final_products=new_work) + else: + result["raw_clears"] = source_clears(word) + return result + + +if __name__ == "__main__": + shard = int(sys.argv[1]) + need(sys.flags.optimize == 0 and shard in (0, 1), "witness slice") + result = check(shard) + receipt(f"witness-{shard}", result) + print("PASS_CUT_IDENTITIES", shard, len(result["checks"]), result["rejected_signs"])