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-180-contact-application/INDEPENDENT.json b/research/p104-180-contact-application/INDEPENDENT.json new file mode 100644 index 0000000000..3ca5841ff1 --- /dev/null +++ b/research/p104-180-contact-application/INDEPENDENT.json @@ -0,0 +1,67 @@ +{ + "caller_head": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "claim": "0.0036813560186", + "files": { + "base": { + "path": "inputs/native/source-word.json.gz", + "raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "sha256": "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659" + }, + "base_clear": { + "path": "inputs/native/source-clear.json", + "sha256": "94809b766d041f6bb400df151de5702c5e8ec0a8a47c80ddfe5b2b3a5e0f09d2" + }, + "caller_archive": { + "path": "application-evidence/signed-replay/data/caller-closure.tar.gz", + "sha256": "6f6f67b5b1ef44d6a5085dfd518c0b488ae91dbeee49d0bdbec4cf63a2f41735" + }, + "interpreter": { + "path": "src/native/engines/rows_7660.py", + "sha256": "8391dcaee8e81715c496f6215ef2541715e718daa13b16ae18a06f88e7094d91" + }, + "low_b": { + "path": "inputs/independent/lowered-b.json.gz", + "raw_sha256": "2ea3a954f053b4cec96f1b03830353b79c32bb74160a023b96e40872759ad560", + "sha256": "172331a17fa9dc7a8f7602aac6b0915052e9fb12cba295479561d7fb2901d985" + }, + "low_b_clear": { + "path": "inputs/independent/lowered-b-clear.json", + "sha256": "1cf6339c3c4851393ddfb082a3fe4b9bf2db88920d6836e182292cf710de131f" + }, + "low_base": { + "path": "inputs/lowered/source/WORD.json.gz", + "raw_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a" + }, + "low_c": { + "path": "inputs/lowered/candidate/WORD.json.gz", + "raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7" + }, + "low_c_clear": { + "path": "inputs/native/combined-clear.json", + "sha256": "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff" + }, + "peer_result": { + "path": "inputs/independent/7661-RESULT.json", + "sha256": "76dc631e58109d363f31ba439a10907fbe5e39b0850cd87e6fe1bb6056d1d31f" + }, + "raw_b": { + "path": "inputs/independent/raw-b.json.gz", + "raw_sha256": "9b5b66e93f91c9538525d8d7b1278e0f203058d5cd4e1351fa06f8315fdaa555", + "sha256": "869504fb9f9d994c1ee9b9e5a3a83fb2fcb8cd5455b7639c1ee2bcd195086d5c" + }, + "raw_c": { + "path": "inputs/native/raw-combined.json.gz", + "raw_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "sha256": "3fb11603e14fc9d67aff97e1b0e737f98c1395180ff71119fa64b4d8acaa8626" + }, + "raw_c_clear": { + "path": "inputs/native/combined-clear.json", + "sha256": "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff" + } + }, + "probe": "0.00368135601867", + "publication_head": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "source_head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75" +} diff --git a/research/p104-180-contact-application/INVENTORY.json b/research/p104-180-contact-application/INVENTORY.json new file mode 100644 index 0000000000..4d4676b174 --- /dev/null +++ b/research/p104-180-contact-application/INVENTORY.json @@ -0,0 +1,815 @@ +{ + "file_count": 106, + "files": { + "INDEPENDENT.json": { + "bytes": 2911, + "origin": "current contribution", + "sha256": "f4cb6f9e7c267ce6d4700601c59abbecaeb15f30e471ec3bf3c0b5efb1de9bfc" + }, + "LICENSE": { + "bytes": 11357, + "commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "origin": "published Git blob", + "path": "LICENSE", + "repository": "CrocSwap/integer-mult-bounds", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + }, + "NOTICE": { + "bytes": 1362, + "origin": "current contribution", + "sha256": "9ac7b350f0a661ddfebfe7fc9a9fb0226adfb0ed0c6b27eb1bfe572a6ca212cc" + }, + "PROOF.md": { + "bytes": 4265, + "origin": "current contribution", + "sha256": "b7f3885a42176346faad14d50f0e15a6c9b0599e2ca0619a04dafc14bc8f5dfe" + }, + "README.md": { + "bytes": 8181, + "origin": "current contribution", + "sha256": "f4f20b536032da9c8aa4c659bfc4ca321f76cc96623ee4865b58a64bc6e97d10" + }, + "RESOURCE.json": { + "bytes": 1238, + "origin": "current contribution", + "sha256": "7e190242d1b94d3ef18bf1a96957504b0b8e32deda11e49c23d56f1b0d72d65f" + }, + "SCALAR-PROOF.md": { + "bytes": 3061, + "origin": "current contribution", + "sha256": "0a645964b5e2db3afd0c1c4dd0259a5fef346d099e975282e72a95dfaa8fc302" + }, + "SOURCES.json": { + "bytes": 346, + "origin": "current contribution", + "sha256": "cd7084e91c727b356e8ded15488d58608f8d8b5b89d28460c0dc708300d71157" + }, + "TASK.json": { + "bytes": 7928, + "origin": "current contribution", + "sha256": "89e2db19231909ce0fb119772a6fc75007860158f84cdf3b23163232017e13c4" + }, + "VERIFY.json": { + "bytes": 1143, + "origin": "current contribution", + "sha256": "f0ec7b91821902b0665717ac3667a30ecb257d7024be27530120877c4a1723e5" + }, + "application-evidence/NOTICE": { + "bytes": 895, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "6bec37798ca6e281611b27d05281015c8e6897a7", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/NOTICE", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "2a6866cd67ac34a9a3cb82df4faffe19a08ba1aeab9f67436764c15bb443b07c" + }, + "application-evidence/SOURCE-INPUTS.json": { + "bytes": 8628, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "79a06d2c21a030eede97a0971c7aa998889202af", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/SOURCE-INPUTS.json", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "8851d08cacad58e70ee4c63eecd922673e0ff6baa7a85338e4489c4e69591708" + }, + "application-evidence/resource-replay/NOTICE-RETAINED": { + "bytes": 893, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "a3687d65a00794277cdaad37558d24008cbc37f5", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/NOTICE-RETAINED", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "da12736e2e824167ff56f2ecb623a5f88f75a270410360890f61dffc33bab249" + }, + "application-evidence/resource-replay/engines/ordinary.py": { + "bytes": 5711, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "4dd6c57de1d7f95007c53c7c981934ba5a8cc0e2", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/ordinary.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "f0325ce12226a53f52d75ba3e068f0f7d4cb80c827e302617d94ba14a10883fc" + }, + "application-evidence/resource-replay/engines/qualify.py": { + "bytes": 7408, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "89de00bdd69b889177fd19cade961332021e5dca", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/qualify.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "02bc6cd1a627562e69be4d2dc756e3da55048395a0b85605849b9209ec7a1902" + }, + "application-evidence/resource-replay/engines/tape_scalar.py": { + "bytes": 3870, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "475be01f90fa787a559b6eb0a9625e2e1d4ee1ed", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/tape_scalar.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "9a22a356f3efa5605c852607b0791ecd7c6b2ef0641ae4bf0c2483c1544d31aa" + }, + "application-evidence/resource-replay/engines/vendor/ODD-CALLER-EXACT-GRID.json": { + "bytes": 684, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "1ba429a3908ee85e6c14b366a8c03c19d6e5c6c0", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/ODD-CALLER-EXACT-GRID.json", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "87d25d9fa3778bf4784e3a9e17f32ce5ba372663c6e97392cc62b87e6719042c" + }, + "application-evidence/resource-replay/engines/vendor/ODD-TYPE-AB-CALLER.json": { + "bytes": 117156, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "9451ceaf6e8e037894680b549f3ef41c21b260d7", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/ODD-TYPE-AB-CALLER.json", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc" + }, + "application-evidence/resource-replay/engines/vendor/check_odd_fixed_tape_counts.py": { + "bytes": 4247, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "6873f9618d59d489b67b9eaca45e6142a16b53f3", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/check_odd_fixed_tape_counts.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb" + }, + "application-evidence/resource-replay/engines/vendor/derive_grid.py": { + "bytes": 1510, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "f8cb37f00bcd197d77bbb205dae3c1a40c0aa680", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/derive_grid.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0" + }, + "application-evidence/resource-replay/engines/vendor/envelopes.py": { + "bytes": 14441, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "70c8ca23763e30c924fb726b74b82f44d344c65f", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/envelopes.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f" + }, + "application-evidence/resource-replay/engines/vendor/independent.py": { + "bytes": 11970, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "1ae1d7c680ad86c0fa999f2e8f0c09e966fc07a0", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/independent.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874" + }, + "application-evidence/resource-replay/engines/vendor/independent_bounds.py": { + "bytes": 11449, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "8fe729386f81e6973bbe7ecaa5dbb4bf86281908", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/independent_bounds.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5" + }, + "application-evidence/resource-replay/engines/vendor/source_binding.py": { + "bytes": 2424, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "9f0e0a8cbaf48266cf9c6aa8b263505e9569390c", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/engines/vendor/source_binding.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd" + }, + "application-evidence/resource-replay/preflight.py": { + "bytes": 16261, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "28f3a6a9712678070066bfd385393c3f7843dc07", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/resource-replay/preflight.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "532be27b5689df79b9b843a639137bd6da353974d526a460cbabd44cbf3ce5f7" + }, + "application-evidence/signed-replay/data/OBSERVED.json": { + "bytes": 7918, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "1bc0dd6c88725dcece906bf74fcd0aee32441c01", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/data/OBSERVED.json", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "2ae6b56b5338e824e31851e828a087b17e493641d51375c23f996b3c06c25754" + }, + "application-evidence/signed-replay/data/SOURCE-CLOSURE.json": { + "bytes": 30817, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "00a48ac333f9d503670826e952acc05c8e191f2c", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/data/SOURCE-CLOSURE.json", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "0867688e8dcf88a9d101e0a74f0bc673773b3d1df1360b81a63e6fa3bdfd622d" + }, + "application-evidence/signed-replay/data/caller-closure.tar.gz": { + "bytes": 932699, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "74e81a44e2d80885d15e0c97c2c018fba772f7ac", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/data/caller-closure.tar.gz", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "6f6f67b5b1ef44d6a5085dfd518c0b488ae91dbeee49d0bdbec4cf63a2f41735" + }, + "application-evidence/signed-replay/driver/engines.py": { + "bytes": 7822, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "6f6f342ad0d5e48fc7149a37ef5b4dd2dc7a8bf5", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/driver/engines.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "3c7acc3de8709c9e2aa1211b7cea9e3711789256778e43a82093074afd570f89" + }, + "application-evidence/signed-replay/driver/guard.py": { + "bytes": 6774, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "851d466b15fda8584fae96118eaafc818b457d04", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/driver/guard.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "134f02c54632f84d2d265efb7d032ec2400aa70cfa636376bcde193fdafd2392" + }, + "application-evidence/signed-replay/driver/native_ingredient.py": { + "bytes": 3029, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "18fbab90c5b3f8223cfe1671299e61f95d16b57b", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/driver/native_ingredient.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "a455469277054a2cb5949c6d98f5a4ae6f31f16acba31e0eeea360b43b0f4ceb" + }, + "application-evidence/signed-replay/driver/run.py": { + "bytes": 18249, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "804c5c926ab35c36925908a8c6db2f2ebb6cfbcd", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/driver/run.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "2b9c6977c03840a5f3ca8b14188c0770866656bcc1581e7809f1f7efe87f2548" + }, + "application-evidence/signed-replay/replay.py": { + "bytes": 14190, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "7f551e01ca53f755587f789c3956e96c91574af0", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/signed-replay/replay.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "af3b332298c24e6fd9d536d4aefc0fc9883d1d87b9121654f87c7d4cf8e6dbcd" + }, + "evidence/BINDING.json": { + "bytes": 3828, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded BINDING.json", + "sha256": "93b68a72789de49eb6e79ef1a1f0ad8593429bd72c31d0536e249f27b5ca0a72" + }, + "evidence/INDEPENDENT-RESULT.json": { + "bytes": 23752, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded INDEPENDENT-RESULT.json", + "sha256": "1794ae71cb74cd69076462e8c0e39df94ddb4a3618a2618098308291f3e5ed31" + }, + "evidence/NATIVE-LAUNCH.json": { + "bytes": 1505, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded NATIVE-LAUNCH.json", + "sha256": "d46ede3052c79de7a73aed6ea4b63bcaf721b4774994f9f6463ca697a31692cf" + }, + "evidence/NATIVE-RESULT.json": { + "bytes": 39456, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded NATIVE-RESULT.json", + "sha256": "2f31e368e7b456a3b0ea6746d341badf7e4a48b59d25b030ac072428a5c71ab8" + }, + "evidence/OPERATORS.json": { + "bytes": 3434, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded OPERATORS.json", + "sha256": "e1991a2d46d5caa537fbada5d49e48857f6bae426824c81736bc1af7de7d31fb" + }, + "evidence/PHYSICAL-1000000009.json": { + "bytes": 4751, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded PHYSICAL-1000000009.json", + "sha256": "d6e15a8c61c44ebe7a473bb50b1b1558f84748db8de6d9a9c2516069df3da9c4" + }, + "evidence/PHYSICAL-998244353.json": { + "bytes": 2025, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded PHYSICAL-998244353.json", + "sha256": "25cdaf152d274f19a4197b30a26174e1bc796f72b600ea4e439d7e4a22021bf4" + }, + "evidence/RESOURCE-AUTHORIZATION.json": { + "bytes": 651, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded RESOURCE-AUTHORIZATION.json", + "sha256": "6babf4b22c96456d310e6ec73be7f0b1a7de000592764143942bc0a0ad58ff4c" + }, + "evidence/SCALAR-DOMAIN.json": { + "bytes": 691, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SCALAR-DOMAIN.json", + "sha256": "eefe53568710f819bb2a514673ba707f2143a17c0ac774279caa905b7beed2da" + }, + "evidence/SCALAR-START.json": { + "bytes": 441, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SCALAR-START.json", + "sha256": "de7bf781fcb8d54abf682291b8aa5db96306800477aa14522a3e4abe45a494a7" + }, + "evidence/SIGNED-AUTHORIZATION.json": { + "bytes": 484, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SIGNED-AUTHORIZATION.json", + "sha256": "f199788f241d5b0da0dee17faad1b810a6036a1fe34c81520e66feef94503397" + }, + "evidence/SIGNED-COMPLETION.json": { + "bytes": 390, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SIGNED-COMPLETION.json", + "sha256": "f7632b02b7e25936464ce1d4a500238fc3efb7adabe6c1ceb30c62040e5db933" + }, + "evidence/SIGNED-EXIT.json": { + "bytes": 161, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SIGNED-EXIT.json", + "sha256": "a16f65fb7640e6451a3dd072d5581b815913c6a2fe159a289ebc4a09e99ef83f" + }, + "evidence/SIGNED-EXPECTED.json": { + "bytes": 106857, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SIGNED-EXPECTED.json", + "sha256": "92e59a2f548cfc1b7d6d54ce7f60c846ccf15df458ebdf978d7c9c654a72fc47" + }, + "evidence/SIGNED-PRICE-OUTER.json": { + "bytes": 177189, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SIGNED-PRICE-OUTER.json", + "sha256": "96aeec5c083de245c01662d4cb309e424c48a1c26861d5057f3166ff62219cab" + }, + "evidence/SIGNED-RESULT.json": { + "bytes": 108017, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded SIGNED-RESULT.json", + "sha256": "f30fa4ed2357d7dc4e11b3f04058f0a81140342229b270f9d3933dc00d6ee27d" + }, + "evidence/core-authorization.json": { + "bytes": 491, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded core-authorization.json", + "sha256": "696f623d03ec161292d92014b80ab9fd669dd469909913e1292d5a46b6219188" + }, + "evidence/native-authorization.json": { + "bytes": 587, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "original guarded native-authorization.json", + "sha256": "8474efef4781d15cfb70824d17398053b5fb0bfe9fbedeb543ee403486175a18" + }, + "evidence/pr7636/mutation/INVOICE.json": { + "bytes": 594, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "97e3f76e15331e8749d5b0b048ff7f288b09886b", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/evidence/pr7636/mutation/INVOICE.json", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "f6fcd020e866625c4c10a40513f30dd368fa7adb7573b539d684580fadebe7ee" + }, + "evidence/resources/resource-candidate/EXIT.json": { + "bytes": 161, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource EXIT.json", + "sha256": "e40b1aa4be7a93bba53be6e2f1119192b25b359895ec0c6c74e7e1a2e29856b4" + }, + "evidence/resources/resource-candidate/GRID.json": { + "bytes": 30869, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource GRID.json", + "sha256": "e596d28ab544e001ad6d0d264c3ed15e5e01ff1f3ff983dc82bd9e6f17527c2d" + }, + "evidence/resources/resource-candidate/LITERALS.json": { + "bytes": 1385, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource LITERALS.json", + "sha256": "9571007d3f6726591d451a928b0130913e8e1b17d2d565bfd16c1e2b65d5cf0d" + }, + "evidence/resources/resource-candidate/ORDINARY.json": { + "bytes": 2715, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource ORDINARY.json", + "sha256": "bb899760c4aeba1dff7931ed5835672228ef8edc50e55c86c0e97707660f57e7" + }, + "evidence/resources/resource-candidate/RESULT.json": { + "bytes": 840, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource RESULT.json", + "sha256": "630c4bd29e1cbb4d77dbc0a53aafd4965c11e6d62c206741ad8d1ab1aae1f2f5" + }, + "evidence/resources/resource-candidate/START.json": { + "bytes": 786, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource START.json", + "sha256": "790a05ce57631f2940ab30b47d4c13290739ffab4f5427da75094cc9bfff42f2" + }, + "evidence/resources/resource-candidate/TAPE-SCALAR.json": { + "bytes": 1320, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource TAPE-SCALAR.json", + "sha256": "8e232f4cacbce5828c27cfc0bc08b60a821238d442cf5140bdbd89e332a217fe" + }, + "evidence/resources/resource-candidate/TARIFF.json": { + "bytes": 858, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "candidate resource TARIFF.json", + "sha256": "c292162165962948e719e6de8abde42f5169ca40e199d70935b9d5de06f5619e" + }, + "evidence/resources/resource-source/EXIT.json": { + "bytes": 161, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource EXIT.json", + "sha256": "39d76541d00882f234d3cd831d246e7939480f4ab60db7db938326ee2780d760" + }, + "evidence/resources/resource-source/GRID.json": { + "bytes": 30868, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource GRID.json", + "sha256": "101d3c66b3decd2231705ffb0dda7151437715aa6265baef2bd484309388ff04" + }, + "evidence/resources/resource-source/LITERALS.json": { + "bytes": 1385, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource LITERALS.json", + "sha256": "df852def07e9fc2c68d80514d1acbbbd7af326c8a0a276932b55960752e99c0d" + }, + "evidence/resources/resource-source/ORDINARY.json": { + "bytes": 2715, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource ORDINARY.json", + "sha256": "0726007bfea9d0623048055bc48dff86e08897ebcb9ac43978d07f19569c5617" + }, + "evidence/resources/resource-source/RESULT.json": { + "bytes": 837, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource RESULT.json", + "sha256": "4dd9b1c7e63d18685199aca19f00cf77c675bce8c854b70e193ce7b5e0f5588f" + }, + "evidence/resources/resource-source/START.json": { + "bytes": 783, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource START.json", + "sha256": "fa30b64b1c675f66a60723eb43e48f8a04b477b81e1a67ad123a2f718f26b139" + }, + "evidence/resources/resource-source/TAPE-SCALAR.json": { + "bytes": 1320, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource TAPE-SCALAR.json", + "sha256": "3ab31ab19e01dd85808a0a4f8a1b3d6a1a51aca52abd7882e6e7577acabc9a1b" + }, + "evidence/resources/resource-source/TARIFF.json": { + "bytes": 858, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "source resource TARIFF.json", + "sha256": "7f1707725feade5be796635610195e4132f1e0cb99b95b762f540c0ba35f8f63" + }, + "inputs/independent/7661-RESULT.json": { + "bytes": 2532, + "commit": "1e6fd08a7c4fb616ea802c5f432f58594d14a107", + "git_blob": "9dc6582ccebb4fc642fcbc55ed6bf3f9a69f1e9d", + "origin": "published Git blob", + "path": "research/caller-8x9-derived-residuals/RESULT.json", + "pr": 7661, + "repository": "aliromman/integer-mult-bounds", + "sha256": "76dc631e58109d363f31ba439a10907fbe5e39b0850cd87e6fe1bb6056d1d31f" + }, + "inputs/independent/lowered-b-clear.json": { + "bytes": 26140, + "origin": "current contribution", + "sha256": "1cf6339c3c4851393ddfb082a3fe4b9bf2db88920d6836e182292cf710de131f" + }, + "inputs/independent/lowered-b.json.gz": { + "bytes": 838915, + "origin": "current contribution", + "sha256": "172331a17fa9dc7a8f7602aac6b0915052e9fb12cba295479561d7fb2901d985" + }, + "inputs/independent/raw-b.json.gz": { + "bytes": 838914, + "origin": "current contribution", + "sha256": "869504fb9f9d994c1ee9b9e5a3a83fb2fcb8cd5455b7639c1ee2bcd195086d5c" + }, + "inputs/lowered/candidate/CLEAR-CERTIFICATES.json": { + "bytes": 26140, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "clock-indexed CLEAR manifest of the lowered candidate", + "sha256": "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff" + }, + "inputs/lowered/candidate/WORD.json.gz": { + "bytes": 838902, + "origin": "current contribution", + "sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7" + }, + "inputs/lowered/source/CLEAR-CERTIFICATES.json": { + "bytes": 26140, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "clock-indexed CLEAR manifest of the lowered source", + "sha256": "9d804da82abff31b89bbe22112c5513be3239a4bd764bfa83f7dcb026d2fa675" + }, + "inputs/lowered/source/WORD.json.gz": { + "bytes": 838919, + "origin": "current contribution", + "sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a" + }, + "inputs/native/NOTICE-7636": { + "bytes": 1375, + "commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "git_blob": "a44152df19b00e6d33283c292822a078990ef06a", + "origin": "published Git blob", + "path": "research/p104-swap-composites-on7630/NOTICE", + "pr": 7636, + "repository": "DreamingOfClouds/integer-mult-bounds", + "sha256": "50b6dbd0dbdf3be207d80188aeebacececfa754a0d2a0460210dc720b3652d3c" + }, + "inputs/native/NOTICE-7641": { + "bytes": 1734, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "00e82ea9eddf0643ed82d70274a9d85f5aa864cf", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/native-replay/NOTICE-7641", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "13bed2d17fd4ccdfaf32c73fedbb80ebb0c4de836abf366c8bffe89172851a01" + }, + "inputs/native/NOTICE-7660": { + "bytes": 868, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "cd7d35e2cb65e0945b17650aba43ade6e0676856", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/NOTICE", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "a747270c15ce19ff629dfcf86b959de43cf8bf26e1a01c981f6b22961337030c" + }, + "inputs/native/combined-clear.json": { + "bytes": 26140, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "all 180 unlowered joint candidate CLEAR certificates", + "sha256": "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff" + }, + "inputs/native/combined-prior.json": { + "bytes": 5004, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "unlowered joint construction receipt and exact affected columns", + "sha256": "6b0672e4f3329a351ca0e6006274102b32b274fd0b1dde727b2063ca9682943b" + }, + "inputs/native/prior-native.json": { + "bytes": 28774, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "fixed 180-CLEAR catalogue for authenticated group reuse", + "sha256": "a2e29cb40f971aba674487d71002a19b40af124d76fb2a4962958e0ea5e460da" + }, + "inputs/native/prior-pairs.json.gz": { + "bytes": 103553, + "decoded_file": "prior-pairs.json", + "decoded_sha256": "a6645322a783f6160381205b455d410f0a1287f208f18deba156ae7c4aa7f16a", + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "derived MOVE-pair evidence from the earlier lower-family native pass", + "sha256": "69f8cdbdf1628f1e8d18332afafcbaaafc1cb48ee46bdb6d3373a03a6a10b634" + }, + "inputs/native/prior-physical-1000000009.json": { + "bytes": 4751, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "earlier lower-family full physical receipt at prime 1000000009", + "sha256": "c96a11f0104fc9930a392cee0d3862d039c3de8de9e08c7ee4f7c70f781b3ff8" + }, + "inputs/native/prior-physical-998244353.json": { + "bytes": 2026, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "earlier lower-family full physical receipt at prime 998244353", + "sha256": "4bd3cdce0b6042edde5f4cb418e6d348fee78b87509daf6bfbb8586f03f3a2bc" + }, + "inputs/native/raw-combined.json.gz": { + "bytes": 856638, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "unlowered joint contact and role-379 predecessor", + "sha256": "3fb11603e14fc9d67aff97e1b0e737f98c1395180ff71119fa64b4d8acaa8626" + }, + "inputs/native/source-clear.json": { + "bytes": 15149, + "commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "git_blob": "4728a0609e426b09bb225254b83be2f038755283", + "origin": "published Git blob", + "path": "research/p104-swap-composites-on7630/data/clear-certificates.json", + "pr": 7636, + "repository": "DreamingOfClouds/integer-mult-bounds", + "sha256": "94809b766d041f6bb400df151de5702c5e8ec0a8a47c80ddfe5b2b3a5e0f09d2" + }, + "inputs/native/source-word.json.gz": { + "bytes": 856663, + "commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "git_blob": "e53c2271bf0bbcfdcfbc1834bc12ceeb54d52d4b", + "origin": "published Git blob", + "path": "research/p104-swap-composites-on7630/data/word.json.gz", + "pr": 7636, + "repository": "DreamingOfClouds/integer-mult-bounds", + "sha256": "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659" + }, + "retained/pr7636/data/invoice-new.json": { + "bytes": 673, + "commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "git_blob": "93129ac5c420dee957ca4fa0d89505edc99d2d49", + "origin": "published Git blob", + "path": "research/p104-swap-composites-on7630/data/invoice-new.json", + "pr": 7636, + "repository": "DreamingOfClouds/integer-mult-bounds", + "sha256": "18adee673515c4ece7208b53c7cc17a2e121843d55f62067d2e43e341872f0d5" + }, + "retained/pricing/compare_recursive_invoices.py": { + "bytes": 9553, + "commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "git_blob": "fda2a852e9937e42fe40df0707694465ca7c1b48", + "origin": "published Git blob", + "path": "scripts/compare_recursive_invoices.py", + "repository": "CrocSwap/integer-mult-bounds", + "sha256": "3930c22c11da7bc6042cfeb6e459ecb06e4478430037bee3469d034353855fc6" + }, + "retained/pricing/evaluate_recursive_power.py": { + "bytes": 4593, + "commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "git_blob": "ca50f8021fc3238a58fd420383f4619a8d008ace", + "origin": "published Git blob", + "path": "scripts/evaluate_recursive_power.py", + "repository": "CrocSwap/integer-mult-bounds", + "sha256": "52b20f41fd0bb55fa88dccd6015af2ce358917817b9506720f3e60ce681cc3ad" + }, + "src/application/freeze_signed.py": { + "bytes": 4566, + "origin": "current contribution", + "sha256": "7eaa7f33ad35b4d08f67be232ca56e8a1eb87f7a65894623af9a1f2493d25a17" + }, + "src/application/resource_replay.py": { + "bytes": 8358, + "origin": "current contribution", + "sha256": "630629d969bb8044480f8ceebeba08fb7b440650390b81f2d5b78c932126d465" + }, + "src/application/signed_replay.py": { + "bytes": 13395, + "origin": "current contribution", + "sha256": "37ba6ca6002ab89c9e5b6b5b06c238fe5b41ab49a505d03e5c098c6886dbf24e" + }, + "src/check_scalar.py": { + "bytes": 4815, + "origin": "current contribution", + "sha256": "7f3c832a1e83e7263abc8424e8b9701b16e06212b3fa71a8cacf325c629a2bd9" + }, + "src/independent/verify.py": { + "bytes": 20822, + "origin": "current contribution", + "sha256": "8cdeb15562601f73930dea479b14eb0be3ded30220c7e797da00a7924747193e" + }, + "src/native/build_low.py": { + "bytes": 7116, + "origin": "current contribution", + "sha256": "b9b69b1323017ccbc04f72a1b607a1ee07cf3e3ec448c360dd1dfb70be30650c" + }, + "src/native/engines/check_native_7660.py": { + "bytes": 18633, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "c037df14d004b8e42788eef0eff1e137a70ee13d", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/application-evidence/native-replay/check_native.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "6cc127ed1b1eddeadb50b69e672587e2c64378e5e5790357e526a9c022e32760" + }, + "src/native/engines/phase-source7636.py": { + "bytes": 41946, + "commit": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "git_blob": "e4ba38441b59f3fbc48807aade768b98d2e39cca", + "origin": "published Git blob", + "path": "research/p104-swap-composites-on7630/check.py", + "pr": 7636, + "repository": "DreamingOfClouds/integer-mult-bounds", + "sha256": "72dfc0f5435cea2630a0d4e8f466fbb7b866404a22804769c3e690845ca72d2b" + }, + "src/native/engines/physical.py": { + "bytes": 12483, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "origin": "adapted Git source", + "path": "research/p104-role379-idle-stop/application-evidence/native-replay/physical.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "scope": "select the exact transition from the candidate control clock and report elapsed nanoseconds", + "sha256": "e76bc78b132607890b2d9ea234d3a52e608e0e919bdc48308cc0727a2a07c73e" + }, + "src/native/engines/rows_7660.py": { + "bytes": 36086, + "commit": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "git_blob": "12b161d5ca91feac17a860452d9655f79efce07f", + "origin": "published Git blob", + "path": "research/p104-role379-idle-stop/src/direct_replay.py", + "pr": 7660, + "repository": "Clear1nsight/integer-mult-bounds", + "sha256": "8391dcaee8e81715c496f6215ef2541715e718daa13b16ae18a06f88e7094d91" + }, + "src/native/engines/verify_native.py": { + "bytes": 21952, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "retained column and basis verifier used by the lower-family native pass", + "sha256": "b0e073a89ef4d24745e63dfddb1b8b4307d2d1edcee783ad76ab055cb54f836b" + }, + "src/native/engines/walsh.py": { + "bytes": 3451, + "handoff": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "origin": "prior guarded execution", + "scope": "retained column and basis verifier used by the lower-family native pass", + "sha256": "c8d29246c26967315a223cb01f822060e83b3fdedad96d8dbcf878be94c51fac" + }, + "src/native/run_guarded_low.py": { + "bytes": 5368, + "origin": "current contribution", + "sha256": "ab31ee66751a31284beb74810bd25d035746f97c9456ddffee6350ef52441988" + }, + "src/native/verify_low_native.py": { + "bytes": 18578, + "origin": "current contribution", + "sha256": "ac886f049390ba69ad058a56f4a5f2d16c5bd4f62e2efa28e66b1afc8a4c051d" + }, + "verify.py": { + "bytes": 12809, + "origin": "current contribution", + "sha256": "6e737de3fadbd3c8c67ea68a5ceb7853e261069d7525719977d17b82ca927e07" + } + }, + "schema_version": 1 +} diff --git a/research/p104-180-contact-application/LICENSE b/research/p104-180-contact-application/LICENSE new file mode 100644 index 0000000000..261eeb9e9f --- /dev/null +++ b/research/p104-180-contact-application/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-180-contact-application/NOTICE b/research/p104-180-contact-application/NOTICE new file mode 100644 index 0000000000..24106d635f --- /dev/null +++ b/research/p104-180-contact-application/NOTICE @@ -0,0 +1,22 @@ +Apache-2.0. Clear1nsight with substantial OpenAI Codex assistance. ChatGPT Pro +was consulted about contact transport, the exact scalar split and the remaining +rounded-state obligations. The original source and licensing notices accompany +the retained files. + +DreamingOfClouds’ #7636 provides the 180-CLEAR P104 word, on #7630 E6 and its +earlier source chain. #7660 supplies the role-379 contraction, its lower-family +price comparator, separate direct-rational interpreter, application wrappers +and exact source manifests. The lower-family 902/1091 contact, role-379 +composition and native predecessor catalogues were developed for Clear1nsight’s +public #7111 work, with source-specific contribution credit in the appendix. + +Rohan Arun’s #7113 supplies the signed 8+9 caller. The archive preserves its +copyright and credit notices, including DreamingOfClouds, CubeJerry, ToikY, +dillona, Ali Romman and the #7000 application reviewers. The detached peer +result is Ali Romman’s #7661 at 1e6fd08a7c4fb616ea802c5f432f58594d14a107. +Its literal accounting is a separate check on the fixed caller counts. +The two directed-price tools retain the authors and invoice-schema +attribution recorded in their headers. + +The distinct prerequisite commit carries ToikY’s authorship and the upstream +lineage of the existing #7257 navigation and historical-replay repair. diff --git a/research/p104-180-contact-application/PROOF.md b/research/p104-180-contact-application/PROOF.md new file mode 100644 index 0000000000..9069360fe1 --- /dev/null +++ b/research/p104-180-contact-application/PROOF.md @@ -0,0 +1,65 @@ +# Contact transport and signed application + +Represent the value stored in chart c as F_c u, where u is its normalized +row. An exact MOVE from c to d acts as F_d F_c* and preserves u. The source +anchors for the chart edits are clocks 127153, 127445, 127446, 127469, +130068, 131142 and 131294, all zero-based. The scalar lowering affects +source clock 150836 and combined clock 150834. The builder checks these +literals and the remaining tape against both predecessors. [Build receipt](evidence/BINDING.json) + +Role 902 enters at chart 3 with normalized x. Role 1091 enters at 373 +with normalized y. At the source contact in chart 618, the ADD leaves 902 +at F_618 x and sets 1091 to F_618(y + x/2). The candidate does the same in +chart 373. Both routes return F_913 x and F_733(y + x/2), respectively. +The checked receiver path includes the shared 733→238 MOVE before the +next scalar observation. The role-379 bypass composes +(F_1072 F_1065*)(F_1065 F_748*) into F_1072 F_748* during a silent +public residence. The chronology checks cover all literal operands and +CLEAR witnesses. DreamingOfClouds’ contact uses Clear1nsight’s #7612 +move pattern. The #7626 port applies the identity on a 204-CLEAR source. +[#7612](https://github.com/CrocSwap/integer-mult-bounds/pull/7612) · [#7613](https://github.com/CrocSwap/integer-mult-bounds/pull/7613) · [#7626](https://github.com/CrocSwap/integer-mult-bounds/pull/7626) + +The two repaired words execute the same 196,441 normalized scalar and +lifetime instructions. The retagged ADD keeps its roles and coefficient. +Induction on the ordered instructions yields equal formal rows for +arbitrary public inputs under the inherited domain and ownership contracts. +The separate rational replay checks 1,501 public rows, 1,569 terminal +rows and frames, 1,049 protected observations and all 180 ordered CLEARs. +The native check also compares each CLEAR witness role, chart and +coefficient, including 174 nonzero reconstructions. The changed contact +sign preserves the invoice and changes row 795. Stale chart, self-CLEAR, +wrong owner flag, wrong phase and source-width refusals give separate +controls. [Independent result](evidence/INDEPENDENT-RESULT.json) · [Native operators](evidence/OPERATORS.json) + +The exact column check uses an XOR basis completion and a signed diagonal +on Walsh characters. Each of ten affected pair groups and four composed +routes is checked across all 512 forward and 512 adjoint columns. +Another 2,977 exact group proofs transfer through the pinned equality +gate. The dense replay checks 104 raw ports, 1,501 by 512 public outputs, +180 ordered CLEAR payloads and all 68 terminal zero slots under two +moduli. A quarter-turn phase fault changes 237 public outputs at the +first modulus. These dense tests cover their finite inputs. The exact +column and row comparisons supply the arbitrary-input evidence at +their stated boundaries. [Native result](evidence/NATIVE-RESULT.json) + +## Scalar and price + +The earlier lower-180 work accompanying #7660 supplies the scalar +decomposition. This package binds it to the combined word and checks +both signed tie conventions. [Scalar proof](SCALAR-PROOF.md) · [Residue result](evidence/SCALAR-DOMAIN.json) + +The role-379 transition replaces ranks (2, 1) by (3), and the contact +replaces ranks (3, 1, 1, 4) by (2, 2, 5). Each change removes one paid +position per call and preserves rank mass and every productive target. +The full signed margin is `sum_r (T_r - P_r) r^(1-C)`, where T and P +are complete target and paid histograms. It decreases strictly on the +certified interval. At the claim the same-family comparator has +negative margin and the new candidate has positive margin. The two +directed methods bracket the candidate zero. [Exact price](evidence/INDEPENDENT-RESULT.json) · [Signed price and outer checks](evidence/SIGNED-PRICE-OUTER.json) + +The native all-column, owned-erasure, compiler, precision/tape and +analytic-recovery premises remain. The exact half-ADD at candidate clock +127445 needs even donor coordinates and signed range on the admitted +chart-373 states, or a charged total implementation with a proven +rounded-error allowance. A physical provider still needs common U, +whole-private-extent backing, and charged scratch, movement and reset. diff --git a/research/p104-180-contact-application/README.md b/research/p104-180-contact-application/README.md new file mode 100644 index 0000000000..45233a0c49 --- /dev/null +++ b/research/p104-180-contact-application/README.md @@ -0,0 +1,141 @@ +# P104 180-CLEAR contact contraction on the 17-call signed caller + +The exact #7636 candidate combines two chart edits with a two-ADD scalar +lowering. The conditional claim under the retained 17-call rank-145 caller is +**κ ≥ 0.0036813560186**. The complete target-minus-paid crossing lies in +**[0.0036813560187, 0.0036813560188]**. The same-family role-379-only upper +endpoint is **0.0036810345258**, so the guarded claim exceeds it by +**0.0000003214928**. The stronger #7660 signed result is **0.0037170835567** +on its separate 234-CLEAR word. [#7636](https://github.com/CrocSwap/integer-mult-bounds/pull/7636) · [#7660](https://github.com/CrocSwap/integer-mult-bounds/pull/7660) + +| 180-CLEAR word | Paid positions | Productive targets | Raw crossing bracket | +| --- | ---: | ---: | --- | +| Matched lowered #7636 source | 109,652 | 22,461 | [0.0036807241001, 0.0036807241002] | +| Lowered role-379-only comparator | 109,635 | 22,461 | [0.0036810345257, 0.0036810345258] | +| Lowered role-379 and 902/1091 contact | 109,618 | 22,461 | [0.0036813560187, 0.0036813560188] | + +The input from DreamingOfClouds’ #7636 at +`7e68d8dd62d9a38c0f3c942262a7a85ca7125b75` has decoded SHA-256 +`98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2`. +The 202,667-event candidate is +`5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e`, +with 1,501 public roles, 68 owned slots and 180 CLEARs. Its parent +combination was recorded at `375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15`. +It shares public entrance charts 281 and 285 for roles 457 and 461 with +the matched source. Rohan Arun’s exact #7113 caller is pinned at +`07a76c5e2738882c0cb322278e56f6cae3c9885d`. [#7113](https://github.com/CrocSwap/integer-mult-bounds/pull/7113) · [Public scope and predecessor](https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656) + +## Literal change and finite accounting + +Role 379 bypasses its silent chart-1065 residence. Role 902 uses +`3 → 373 → 913`, and role 1091 stays in 373 to receive the same normalized +`+1/2` ADD before moving onward. The wide chart-127 coefficient +`23184221/921600` at unlowered candidate clock 150834 is split into adjacent +`25` and `144221/921600` coefficients on the same target and donor. This +preserves the exact shear and both signed nearest-up and nearest-even updates +on the integer tick model. The original 25-bit literal fails the retained +guard. The repaired word has 24-bit maximum literal numerator width and uses +the same 236 ordinary units for this split, with 544 additional scalar +services in the 17-call schedule. + +Relative to the matched lowered #7636 word, the paid histogram changes by +`{1:-51, 2:+17, 4:-17, 5:+17}`; relative to the lowered role-379-only word +it changes by `{1:-34, 2:+34, 3:-17, 4:-17, 5:+17}`. Every target histogram +entry is preserved. The caller recensus derives 3,776 paid residual positions +and 3,744 residual target owners from the literal #7113 assembly, agreeing +with Ali Romman’s separate exact accounting. Full paid and target histograms +and directed interval signs for all three words appear in the +[independent result](evidence/INDEPENDENT-RESULT.json). [#7661](https://github.com/CrocSwap/integer-mult-bounds/pull/7661) + +Both lowered words use grid `54675 × 2^16`, context 2,164, 42,789,208 +coefficient visits per grid engine per word and the same conditional upper +bound of 112,508,000 scalar services. The conservative ordinary total falls +from 868,475,092 to 868,441,092, including the charge for all 51,034 native +scale-conversion sites. The resource model reports 131,558,908 units of +candidate margin to one billion. + +## Guarded runs + +The matched build took 1.91 s. Separate exact rows, ownership and price +replay took 144.87 s at 525,936 KiB peak RSS. Native execution took +155.19 s at 419,140 KiB. The two resource engines for the source and +candidate took 155.17 s and 156.63 s respectively. The scalar-domain +check took 6.12 s and covered all 921,600 residues and 3,686,400 signed +rounded comparisons. Runs used Linux CPython 3.12.3. + +The signed driver took 313.06 s. It covered all 3,075 catalogue maps, +17 native calls, 104 boundary pairs, 180 owned lifetimes, 54 strict +and four functional outer checks, and tested a separate BIT failure. +It rejected four phase mutations, nine native custody mutations and +seven tape falsifiers. The recorded model uses 1,156 private banks, +297,006 map slots and at most 25,323,919,584 elementary records. +The signed wrapper took 381.41 s including the recorded authorization +wait, peaked at 157,640 KiB and exited successfully. +Original result, price, resource and authorization bytes appear in +the inventory. The cold replay regenerates the path-dependent +launch logs in its own scratch directory. +[Signed result](evidence/SIGNED-RESULT.json) · [Signed comparison](evidence/SIGNED-PRICE-OUTER.json) · [Native execution receipt](evidence/NATIVE-LAUNCH.json) + +## Reproduction + +Linux, CPython 3.12, standard library, and GNU `time`, `timeout`, +`prlimit` and `taskset`. All proof inputs for direct replay are inside +this directory. The generic registration additionally uses the upstream task +catalogue at the base commit to verify card provenance. + +```sh +pkg=research/p104-180-contact-application +python3.12 -I -B "$pkg/verify.py" integrity +python3.12 -B scripts/research_package.py --package "$pkg" +``` + +The registered exact step rebuilds both lowered words, checks the residue +period and reruns the separate rational interpreter, literal caller recensus +and directed price. The registered signed step starts a new native application +on the authenticated pair and binds that run’s actual launch and scientific +receipts to the new #7113 caller replay. It consumes the exact original +independent and paired grid and tariff results as frozen inputs. The registered +resource step reruns the candidate grid and complete ordinary and scalar +accounting. Reproduce the matched source grid separately if required. + +```sh +python3.12 -I -B "$pkg/verify.py" resource-source +``` + +The direct stages `exact`, `native`, `resource-source`, `resource-candidate` +and `signed` accept an optional `--out` to keep a fresh evidence directory +outside the source package. Each can run from an unpacked directory without +Git or network access. Each rebuilt gzip payload is compared against the +immutable decoded bytes before the original compressed stream is supplied to +the signed receipt guard. [Source and evidence inventory](INVENTORY.json) + +## Scope and assumptions + +This is a conditional finite source application. The inherited assumptions cover +all native columns, owned erasure, compiler, precision and tape, and analytic +recovery. The ordinary and tape comparisons use the same tariff for a +whole-private-extent supplier over all 180 owned lifetimes, including the common +(U) error model, the fixed-width backing and the cost of movement and reset. +The raw invoice bracket is the fixed-word price ceiling for this 17-call +mixed-target rank-145 model. The historical `complex-local-word-ceiling` uses +a nine-call rank-73 model with a different coverage identity. The inherited +BIT comparison uses `0.00376669`; the signed claim leaves +`[0.0000000000001, 0.0000000000002]` to the raw crossing bracket under +this invoice. [Proof and scope](PROOF.md) + +## Open next questions + +For the half-ADD on chart 373, derive admitted rounded-state congruence and +signed-range bounds or verify a charged total rounded implementation. Start +with its reachable grid at candidate clock 127445 and demonstrate the +whole-private-extent schedule under the same caller tariff. A physical +provider for arbitrary old private junk and rounded residuals remains open. +See the [task record](TASK.json). + +## Credit + +Clear1nsight with substantial OpenAI Codex assistance, including separately +implemented exact arithmetic, physical and caller checks. ChatGPT Pro informed +the discussion of matched inputs, precision and rounded-state proof limits. +The retained notices credit DreamingOfClouds, Rohan Arun, CubeJerry, ToikY, +Ali Romman and the inherited native, compiler and pricing lineage. [Notice](NOTICE) · [License](LICENSE) diff --git a/research/p104-180-contact-application/RESOURCE.json b/research/p104-180-contact-application/RESOURCE.json new file mode 100644 index 0000000000..4f4e269611 --- /dev/null +++ b/research/p104-180-contact-application/RESOURCE.json @@ -0,0 +1,28 @@ +{ + "candidate": { + "parent": "inputs/native/raw-combined.json.gz", + "word": { + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "clear_sha256": "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff", + "events": 202667, + "gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "parent_split_clock": 150834, + "path": "inputs/lowered/candidate/WORD.json.gz", + "raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e" + } + }, + "scope": "7636-lowered-paired-resource", + "source": { + "parent": "inputs/native/source-word.json.gz", + "word": { + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "clear_sha256": "9d804da82abff31b89bbe22112c5513be3239a4bd764bfa83f7dcb026d2fa675", + "events": 202669, + "gzip_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "parent_split_clock": 150836, + "path": "inputs/lowered/source/WORD.json.gz", + "raw_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8" + } + }, + "source_head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75" +} diff --git a/research/p104-180-contact-application/SCALAR-PROOF.md b/research/p104-180-contact-application/SCALAR-PROOF.md new file mode 100644 index 0000000000..68da4e11f9 --- /dev/null +++ b/research/p104-180-contact-application/SCALAR-PROOF.md @@ -0,0 +1,11 @@ +# The terminal scalar split on integer ticks + +At clock 150834 in the raw combined word, chart 127 contains a target in slot 841 and a distinct preserved donor in slot 284. The two consecutive replacement operations read the same donor. Write its signed tick as $z$, and let $q=23184221/921600$ and $r=144221/921600$. The integer identity $23184221=25\cdot921600+144221$ gives $q=25+r$. The split uses 5- and 18-bit numerators. The superseded literal used 25 bits. The relative word identities and the two literal sites are checked by the accompanying verifier. + +For exact arithmetic, the divisibility domains coincide because the increments differ by the integer $25z$. Both numerators are coprime to 921600, so the domain on a common integer-tick grid is $921600\mid z$. The exact intermediate $y+25z$ lies on the segment from $y$ to $y+qz$, with the same weight $25/q$ in every coordinate. The positive envelope after both operations is exactly $B_y+qB_z$. The intermediate envelope is $B_y+25B_z$. + +Nearest-up rounding $R(t)=\lfloor t+1/2\rfloor$ commutes with every integer translation, including at negative half ties. Therefore $25z+R(rz)=R(qz)$, with precisely the original rounding error. For ties-to-even, every half tie satisfies $z=460800\pmod{921600}$ because the reduced numerator is odd and invertible modulo the denominator. At that residue $25z$ is even, which preserves the selected even endpoint. Away from ties the nearest endpoint translates with every integer. These arguments cover signed donor ticks of any size. The verifier checks a full denominator period with both signs and both tie conventions. The sign of each increment gives a componentwise bound on the stored intermediate between the starting and rounded ending target. A bound on a norm of those two rounded vectors alone need not bound the norm of the intermediate. + +Over exact arithmetic the shear matrix has the form $I+cE$ with $E^2=0$. The reversed transposed factors give the original transpose, with the donor and target exchanged. For rounded nearest-up a successful call is inverted by subtracting the increment actually added to the target. At a half tie, independent nearest-up evaluations at $t$ and $-t$ sum to one tick. Any use of the emitted signed modes relies on their own input, scratch and finite-error guarantees. + +The local equivalence applies to successful calls. Internal products and conversions still require the supplier's range guarantees. If the provider exposes partially applied failing calls, it must provide the failure behaviour required by its interface. For example, with allowed target ticks from −100 through 100, target 0 and donor 4, the first step can write 100 before the second would round the endpoint to 101. Successful-call equivalence alone does not provide rollback. Both instructions are charged. At the earlier contact, candidate clock 127445, the distinct chart-373 half division still needs even donor coordinates and signed range on admitted states, or a separately priced rounded service with a verified error allowance. diff --git a/research/p104-180-contact-application/SOURCES.json b/research/p104-180-contact-application/SOURCES.json new file mode 100644 index 0000000000..a05b865a90 --- /dev/null +++ b/research/p104-180-contact-application/SOURCES.json @@ -0,0 +1,12 @@ +{ + "base_commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "files": [ + { + "git_blob": "3404fbdd5e7529a0674eef26114b5071e4586cec", + "path": "docs/research/agent-task-catalog.json", + "sha256": "ead6cdc9d0af6d58e8a49744d8ec8c7c15e13d2ba93c276c434bcf9b51b93a81", + "usage": "provenance" + } + ], + "schema_version": 1 +} diff --git a/research/p104-180-contact-application/TASK.json b/research/p104-180-contact-application/TASK.json new file mode 100644 index 0000000000..6a78ba2d91 --- /dev/null +++ b/research/p104-180-contact-application/TASK.json @@ -0,0 +1,115 @@ +{ + "actual_scope": "Apply the combined chart-373 902/1091 contact and chart-1065 role-379 bypass to one 180-CLEAR word on exact #7636, lower the wide chart-127 scalar literal, and check the full conditional 17-call #7113 application.", + "ai_assistance": "Substantial OpenAI Codex assistance including separate rational and source-adapter work. ChatGPT Pro consulted on physical contact and arithmetic limits.", + "author": "Clear1nsight", + "base_commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "bottleneck_link": "docs/research/bottleneck-brief.md", + "evidence": "PROOF.md, INVENTORY.json, both scoped grid receipts, the independent exact replay, all fresh native and signed checks, exact scalar residues, complete paid and target invoices, and the negative controls described in README.md.", + "open_questions": [ + { + "blocked_by": "An all-width common-U, physical backing, movement and reset contract for arbitrary admitted old private contents.", + "first_step": "Prove componentwise congruence and signed range at candidate clock 127445 or implement and charge a total rounded half-ADD with its error bound.", + "question": "Can the chart-373 half-ADD and common private-extent supplier be physically realized on the rounded domain?", + "why_it_matters": "The fixed-tape and ordinary bounds depend on the same-tariff whole-private-extent, precision and compiler premises across all 180 lifetimes." + } + ], + "original_card": { + "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.", + "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." + ], + "bottleneck_link": "Judge the actual current supplier contract and complete signed target/paid bill; frozen-profile ceilings require an applicability proof.", + "existing_checks": [ + { + "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.", + "scope": "PR #4133: literal-slot defect", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129", + "source_commit": "88666f1dee93fbd85b31fd5d6f91a219e111b5f4", + "status": "author-checked" + }, + { + "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.", + "scope": "PR #4136: uniform commutation gap", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129", + "source_commit": "281ce601a8be9db470de630759179c23e1dfaa88", + "status": "author-checked" + }, + { + "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.", + "scope": "PR #4140: uniform encoding gap", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129", + "source_commit": "de25c6525aa866962309df5d107b32d55e6e5628", + "status": "author-checked" + }, + { + "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.", + "scope": "PR #4153: source-chart shortcut exhausts its optimistic allowance", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129", + "source_commit": "9123241fea53df77e51ffe30d9aca1625d4bf3a8", + "status": "author-checked" + }, + { + "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.", + "scope": "PR #4154: fiber-tag seam mismatch", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129", + "source_commit": "4ffcdaee5d6255a9cea1fe53a5424435068089d0", + "status": "author-checked" + }, + { + "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.", + "scope": "Selected PR5599: complete helper-subspace construction and independent caller replay; five framework assumptions remain.", + "selected_record_sha256": "2a0220e866417774606e0f991e41b9c1d26b1f43b97857238cf478dbc7d330b5", + "source_commit": "09dd0965711ca7eeb169057a420abab1c9052137", + "status": "reviewed" + } + ], + "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.", + "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." + }, + "id": "p104-side-correction", + "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." + ], + "overlap_terms": [ + "P104", + "helper basis", + "helper split", + "5718", + "dyadic capacity" + ], + "question": "Can joint helper bases and a legal causal split improve the complete P104 productive/paid invoice?", + "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." + ], + "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" + ] + }, + "outcome": "completed", + "schema_version": 1, + "scope_change_reason": "The scoped edit uses the inherited contact, frame and ownership model on another fixed word and compares complete signed invoices without changing helper bases.", + "scope_status": "changed", + "stop_rule": "Reject a decoded word, routed operator, protected observation, CLEAR, caller, resource or conditional price that fails its exact binding. Compare with the exact same-family price upper.", + "task_id": "p104-side-correction" +} diff --git a/research/p104-180-contact-application/VERIFY.json b/research/p104-180-contact-application/VERIFY.json new file mode 100644 index 0000000000..9264be7583 --- /dev/null +++ b/research/p104-180-contact-application/VERIFY.json @@ -0,0 +1,24 @@ +{ + "schema_version": 1, + "status": "ready", + "python": "3.12", + "requirements": [], + "inputs": [], + "commands": [ + { + "argv": ["{python}", "-I", "-B", "{package}/verify.py", "exact"], + "timeout_seconds": 245, + "checks": "Rebuild the decoded words, replay the complete signed integer residue period and its controls, independently check all exact rows, protected observations and CLEARs, recensus the literal 17-call caller and verify directed price signs." + }, + { + "argv": ["{python}", "-I", "-B", "{package}/verify.py", "signed"], + "timeout_seconds": 600, + "checks": "Fresh exact changed native operators and two finite physical replays, exact native custody in the signed gate, and full signed 17-call application and outer checks on the rebuilt candidate." + }, + { + "argv": ["{python}", "-I", "-B", "{package}/verify.py", "resource-candidate", "--resource-wall", "325"], + "timeout_seconds": 350, + "checks": "Recompute the candidate rational and fixed-grid integer envelopes, ordinary tariffs and scalar services, authenticating the full original proof receipts." + } + ] +} diff --git a/research/p104-180-contact-application/application-evidence/NOTICE b/research/p104-180-contact-application/application-evidence/NOTICE new file mode 100644 index 0000000000..6bec37798c --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/NOTICE @@ -0,0 +1,15 @@ +The role-379 finite application evidence and wrappers were prepared by +Clear1nsight with substantial OpenAI Codex assistance. Apache-2.0, see the +registered package LICENSE. + +DreamingOfClouds authored #7658, #7641 and the pinned phase source used in +the predecessor archive. The archived derived word applies Clear1nsight's +51 exact ADD splits to that word. The historical catalogue belongs to the +234-lifetime repair at decoded SHA-256 +f9f9a485712c0c94c9d14370e2a8436414e1b53bdf86550d9d6436835e9e06cb. The upstream +source and predecessor credits are preserved in native-replay/NOTICE-7641. + +The resource rerun preserves the earlier #7641 resource driver and engines +and uses #7113's exact caller by Rohan Arun. Ali Romman, SYLforge, CubeJerry, +DreamingOfClouds and the authors in resource-replay/NOTICE-RETAINED retain +credit for the underlying algorithms, bounds and verifier implementations. diff --git a/research/p104-180-contact-application/application-evidence/SOURCE-INPUTS.json b/research/p104-180-contact-application/application-evidence/SOURCE-INPUTS.json new file mode 100644 index 0000000000..79a06d2c21 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/SOURCE-INPUTS.json @@ -0,0 +1,159 @@ +{ + "claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19695810", + "native_archive_members": { + "pairs/ALL-PAIRS-MANIFEST.json": { + "bytes": 274825, + "scope": "exact retained predecessor column archive", + "sha256": "6e10e6f4d0442c031fae92690287c318619bdfa269687a574babebef9cccfddf", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "pairs/ALL-PAIRS-RESULT.json": { + "bytes": 843, + "scope": "exact retained predecessor column archive", + "sha256": "a0bb80f9220fd6414d45e208af1e5571f51e6ac9f333d412dce19ef82854f541", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "pairs/ALL-PAIRS-SHARD-0.jsonl": { + "bytes": 124632, + "scope": "exact retained predecessor column archive", + "sha256": "9bbb0305bb9e5822c26f8bf0a9f8a2140c048f3d73bcb64d9c22ee7b9d3d990c", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "pairs/ALL-PAIRS-SHARD-1.jsonl": { + "bytes": 124635, + "scope": "exact retained predecessor column archive", + "sha256": "cd0f3955de8a46009c6cc47038768969fff3bc59d4992318c0a82ded183ce935", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "pairs/ALL-PAIRS-SHARD-2.jsonl": { + "bytes": 124524, + "scope": "exact retained predecessor column archive", + "sha256": "8a89ee37401d3156ed9074891508189c439be4611c56401a18fe3bee5ded883c", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "phase-check.py": { + "bytes": 46479, + "scope": "original #7641 exact phase module", + "sha256": "6ca9ec1b134f448fbed59158520c4225679500d5ceafb0410ef790e848fec4bc", + "url": "https://github.com/DreamingOfClouds/integer-mult-bounds/blob/351b09cd4b7ef8e0a24d954a761867960cbb1627/research/p104-swap-composites-on7637/check.py" + }, + "repair-word.json.gz": { + "bytes": 921147, + "scope": "local 51 exact ADD splits of #7641, 234 lifetimes", + "sha256": "676c20c53ebd40120903af86bf17c2116f654ab8ce4aa1833f388a2fc400b511", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + } + }, + "observed_driver_files": { + "native-replay/check_native.py": { + "bytes": 18633, + "scope": "executed native driver", + "sha256": "6cc127ed1b1eddeadb50b69e672587e2c64378e5e5790357e526a9c022e32760" + }, + "native-replay/physical.py": { + "bytes": 12408, + "scope": "executed native driver", + "sha256": "ff91934a4eb5f92778d72407db56c06a6330a5160af009662613e2836933ee42" + }, + "native-replay/run_guarded.sh": { + "bytes": 2437, + "scope": "executed native driver", + "sha256": "de89b65ba5afc136854531882e571c68765af2ecbbea4829cc1c35ce597c0372" + }, + "resource-replay/preflight.py": { + "bytes": 16261, + "scope": "executed resource driver", + "sha256": "532be27b5689df79b9b843a639137bd6da353974d526a460cbabd44cbf3ce5f7" + } + }, + "pr7113": { + "head": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "package": "research/signed-caller-8x9", + "url": "https://github.com/CrocSwap/integer-mult-bounds/pull/7113" + }, + "pr7641": { + "head": "351b09cd4b7ef8e0a24d954a761867960cbb1627", + "url": "https://github.com/CrocSwap/integer-mult-bounds/pull/7641" + }, + "pr7658": { + "head": "0a0e71c34a5ee5a1b59a8fe7bc6abd35a4d3dd82", + "package": "research/p104-lns-on7641", + "url": "https://github.com/CrocSwap/integer-mult-bounds/pull/7658" + }, + "resource_engine_files": { + "resource-replay/engines/ordinary.py": { + "bytes": 5711, + "scope": "preserved local #7641 check dependency", + "sha256": "f0325ce12226a53f52d75ba3e068f0f7d4cb80c827e302617d94ba14a10883fc", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "resource-replay/engines/qualify.py": { + "bytes": 7408, + "scope": "preserved local #7641 check dependency", + "sha256": "02bc6cd1a627562e69be4d2dc756e3da55048395a0b85605849b9209ec7a1902", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "resource-replay/engines/tape_scalar.py": { + "bytes": 3870, + "scope": "preserved local #7641 check dependency", + "sha256": "9a22a356f3efa5605c852607b0791ecd7c6b2ef0641ae4bf0c2483c1544d31aa", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "resource-replay/engines/vendor/ODD-CALLER-EXACT-GRID.json": { + "bytes": 684, + "git_blob": "1ba429a3908ee85e6c14b366a8c03c19d6e5c6c0", + "scope": "byte-bound #7113 caller or retained source", + "sha256": "87d25d9fa3778bf4784e3a9e17f32ce5ba372663c6e97392cc62b87e6719042c", + "url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/expected/ODD-CALLER-EXACT-GRID.json" + }, + "resource-replay/engines/vendor/ODD-TYPE-AB-CALLER.json": { + "bytes": 117156, + "git_blob": "9451ceaf6e8e037894680b549f3ef41c21b260d7", + "scope": "byte-bound #7113 caller or retained source", + "sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/expected/ODD-TYPE-AB-CALLER.json" + }, + "resource-replay/engines/vendor/check_odd_fixed_tape_counts.py": { + "bytes": 4247, + "git_blob": "6873f9618d59d489b67b9eaca45e6142a16b53f3", + "scope": "byte-bound #7113 caller or retained source", + "sha256": "e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb", + "url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_fixed_tape_counts.py" + }, + "resource-replay/engines/vendor/derive_grid.py": { + "bytes": 1510, + "scope": "preserved local #7641 check dependency", + "sha256": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0", + "url": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19691406" + }, + "resource-replay/engines/vendor/envelopes.py": { + "bytes": 14441, + "git_blob": "70c8ca23763e30c924fb726b74b82f44d344c65f", + "scope": "byte-bound #7113 caller or retained source", + "sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/envelopes.py" + }, + "resource-replay/engines/vendor/independent.py": { + "bytes": 11970, + "git_blob": "1ae1d7c680ad86c0fa999f2e8f0c09e966fc07a0", + "scope": "byte-bound #7113 caller or retained source", + "sha256": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/independent.py" + }, + "resource-replay/engines/vendor/independent_bounds.py": { + "bytes": 11449, + "git_blob": "8fe729386f81e6973bbe7ecaa5dbb4bf86281908", + "scope": "byte-bound #7113 caller or retained source", + "sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/odd-native-common-grid/independent_bounds.py" + }, + "resource-replay/engines/vendor/source_binding.py": { + "bytes": 2424, + "git_blob": "9f0e0a8cbaf48266cf9c6aa8b263505e9569390c", + "scope": "byte-bound #7113 caller or retained source", + "sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "url": "https://github.com/CrocSwap/integer-mult-bounds/blob/07a76c5e2738882c0cb322278e56f6cae3c9885d/research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/source_binding.py" + } + }, + "schema": "role379-application-inputs/1" +} diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/NOTICE-RETAINED b/research/p104-180-contact-application/application-evidence/resource-replay/NOTICE-RETAINED new file mode 100644 index 0000000000..a3687d65a0 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/NOTICE-RETAINED @@ -0,0 +1,9 @@ +New shared-wire composition, seventeenth wire, and two enabling splits: developed with substantial OpenAI assistance, 2026. Apache-2.0. + +Frozen predecessor native words and odd verifier: DreamingOfClouds, with Claude Opus 5.5 (Anthropic), from #6936 and #6937. + +Retained Clifford compiler and exact native interpreter retain their original headers and lineage from #6833: native source by DreamingOfClouds; independent-helper mechanism by Ali Romman; inventory, retiming and helper-retirement extensions by Jerry Chen / @CubeJerry with OpenAI assistance. + +Helper-split lemma: Ali Romman (#5599). Shared native applications: CubeJerry (#6916). Caller blocks: CubeJerry (#6912). Owned-rise argument: CubeJerry (#6914). Width-2 phase convention: unpaidmoon (#6930). Odd-grid precedent: icekylinx (#104). + +The higher-level caller and BIT integration require their own source attribution and pins. diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/ordinary.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/ordinary.py new file mode 100644 index 0000000000..4dd6c57de1 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/ordinary.py @@ -0,0 +1,94 @@ +#!/usr/bin/env python3 +"""Recount the retained ordinary model and signed caller surcharges. + +This is an accounting diagnostic. MOVE ranks are counted from declared frame +dimensions, not a substitute for native or physical binding. No supplier +admission or complete changed-grid conversion theorem is claimed. +""" +import collections +import gzip +import hashlib +import json +import resource +import signal +import sys +from fractions import Fraction +from pathlib import Path +from types import ModuleType + +ROOT = Path(__file__).resolve().parent +V = ROOT / 'vendor' +def sha(b): return hashlib.sha256(b).hexdigest() +def need(ok, text): + if not ok: raise ValueError(text) + +def main(): + resource.setrlimit(resource.RLIMIT_AS, (1024**3, 1024**3)) + resource.setrlimit(resource.RLIMIT_CPU, (120, 121)) + signal.alarm(150) + out = ROOT / 'ORDINARY-RESULT.json' + need(not out.exists(), 'exclusive output') + raw = (ROOT.parent/'word7641.json.gz').read_bytes() + need(sha(raw)=='de43ed04f58133eaef8f8d12a9dae1e6e8aa7f9721044200cc839673d86fd7c1','source compressed pin') + data=gzip.decompress(raw) + need(sha(data)=='6a472688bdf2a1b293df0f4f77427a04a1f87c92fedb5b5a6921cc850c272b4f','source decompressed pin') + W=json.loads(data) + caller_raw=(V/'ODD-TYPE-AB-CALLER.json').read_bytes() + need(sha(caller_raw)=='255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc','caller pin') + C=json.loads(caller_raw) + source=(V/'independent.py').read_bytes() + need(sha(source)=='21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874','ordinary source pin') + text=source.decode(); part=text[text.index('def ordinary('):text.index('def main(')] + edits=[('calls=18;', "calls=C['stages'];"), + ('queryroute=sum(p*1000*(2+(e[4]==-1)) for e in qr)', "queryroute=sum(p*1000*(2+(e[4]==-1)) for e in qr)\n fusedroute=sum(36500*p for e in C['events'] if e[:2]==[ty,'IDLE_ODD'])"), + ('idle_routes=idleroute,query_routes=queryroute)', 'idle_routes=idleroute,query_routes=queryroute,fused_routes=fusedroute)')] + for before,after in edits: + need(part.count(before)==1,'unique ordinary adaptation') + part=part.replace(before,after) + engine=ModuleType('ordinary_recount');engine.F=Fraction;engine.Counter=collections.Counter + exec(compile(part,'independent-ordinary-pinned','exec'),engine.__dict__) + moves=collections.Counter() + for e in W['program']: + if e[0]=='MOVE': + rank=abs(len(W['frames'][e[2]])-len(W['frames'][e[3]])) + need(rank>0,'nonzero declared MOVE rank') + moves[rank]+=1 + mains=set(W['live']) | {r+112 for r in W['live']} | set(W['hosted']['X2']) | set(W['hosted']['Y2']) + helpers=collections.Counter(len(W['frames'][W['final'][r]])-len(W['frames'][W['initial'][r]]) for r in range(W['public']) if r not in mains) + need(all(r>0 for r in helpers),'positive helper ranks') + lifetimes=sum(e[0]=='INIT' for e in W['program']) + need(lifetimes==234 and lifetimes==sum(e[0]=='CLEAR' for e in W['program']),'declared lifecycle count') + N={'paid':dict(moves),'helpers':dict(helpers),'lifetimes':lifetimes} + base=engine.ordinary(W,C,N) + surcharge=0 + for e in C['events']: + if e[0]=='J' or e[1] not in ('ADD','SCALE'): continue + q=Fraction(e[-1]);a,d=abs(q.numerator),q.denominator + surcharge+=len(C['types'][e[0]]['ports'])*4*(a.bit_length()+d.bit_length()+1+(a.bit_count() if e[1]=='ADD' else 0)) + conversions=2*sum(t['roles']*len(t['ports']) for t in C['types'].values()) + cg=json.loads((V/'ODD-CALLER-EXACT-GRID.json').read_bytes()) + need(cg['caller_sha256']==sha(caller_raw),'caller grid pin') + odd=int(cg['caller_odd_scale']) + caller_conversions=conversions*4*(odd.bit_length()+1+odd.bit_count()) + total=base['conservative_total']+surcharge+caller_conversions + # Quantify a possible increased native-grid conversion charge separately. + # The actual primitive conversion implementation and overlap with the + # retained per-input conversion allowance are not established here. + native_conversion_sites=2*C['stages']*W['public'] + def conversion_rate(scale): return 4*(scale.bit_length()+1+scale.bit_count()) + native_extra=native_conversion_sites*(conversion_rate(10125)-conversion_rate(1125)) + record={'status':'RETAINED_MODEL_ACCOUNTING_ONLY','source_word_raw_sha256':sha(data),'caller_sha256':sha(caller_raw), + 'source_engine_sha256':sha(source),'adapted_ordinary_sha256':sha(part.encode()),'declared_inventory':N, + 'base':base,'all_caller_scalar_surcharge':surcharge,'charged_caller_odd_conversions':caller_conversions, + 'retained_signed_model_total':total,'retained_signed_model_margin':10**9-total, + 'native_scale_comparison':{'old':1125,'new':10125,'conversion_sites':native_conversion_sites, + 'rate_old':conversion_rate(1125),'rate_new':conversion_rate(10125),'increment_if_all_sites_charged_at_rate_delta':native_extra, + 'status':'sensitivity_only_overlap_with_retained_conversion_unresolved'}, + 'source_7641_reported_ordinary':878834276, + 'limitations':['Declared dimension rank inventory only; no native, physical, signed or compiler admission.', + 'Numerical source-unit model, not measured implementation cost.', + 'Changed native grid conversion overlap, precision/storage, lifetime supplier and all physical costs remain open.']} + with out.open('x') as f: json.dump(record,f,indent=2); f.write('\n') + print(json.dumps({'status':record['status'],'base':base['conservative_total'],'signed_model':total,'sensitivity':native_extra})) + +if __name__=='__main__': main() diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/qualify.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/qualify.py new file mode 100644 index 0000000000..89de00bdd6 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/qualify.py @@ -0,0 +1,127 @@ +#!/usr/bin/env python3 +"""Bounded finite grid and positive-envelope audit; no physical admission. + +Runs only after separate authorization. Uses pinned attributed engines, with +explicit, counted adaptations; see README.md. Does not mutate source inputs. +""" +import argparse +import gzip +import hashlib +import importlib.util +import json +import resource +import signal +import sys +import time +from fractions import Fraction +from pathlib import Path +from types import ModuleType + +HERE = Path(__file__).resolve().parent +V = HERE / 'vendor' +PINS = { + 'derive_grid.py': 'ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0', + 'independent_bounds.py': '198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5', + 'envelopes.py': '783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f', + 'source_binding.py': '624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd', + 'ODD-TYPE-AB-CALLER.json': '255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc', + 'ODD-CALLER-EXACT-GRID.json': '87d25d9fa3778bf4784e3a9e17f32ce5ba372663c6e97392cc62b87e6719042c', +} +WORD_COMPRESSED = 'de43ed04f58133eaef8f8d12a9dae1e6e8aa7f9721044200cc839673d86fd7c1' +WORD_RAW = '6a472688bdf2a1b293df0f4f77427a04a1f87c92fedb5b5a6921cc850c272b4f' + +def digest(data): + return hashlib.sha256(data).hexdigest() + +def module(name, path, replacements=()): + text = path.read_text() + edits = [] + for old, new, count in replacements: + if text.count(old) != count: + raise ValueError('adapter occurrence mismatch: ' + old) + text = text.replace(old, new) + edits.append({'old': old, 'new': new, 'count': count}) + obj = ModuleType(name) + obj.__file__ = str(path) + sys.modules[name] = obj + exec(compile(text, str(path), 'exec'), obj.__dict__) + return obj, {'source_sha256': digest(path.read_bytes()), 'adapted_sha256': digest(text.encode()), 'edits': edits} + +def main(): + if not __debug__: + raise RuntimeError('assertions required') + ap = argparse.ArgumentParser() + ap.add_argument('--word', type=Path, required=True) + ap.add_argument('--output', type=Path, required=True) + ap.add_argument('--cpu-seconds', type=int, default=1800) + ap.add_argument('--wall-seconds', type=int, default=2100) + args = ap.parse_args() + if not 1 <= args.cpu_seconds <= 1800 or not 1 <= args.wall_seconds <= 2100: + raise ValueError('requested limits exceed frozen scope') + resource.setrlimit(resource.RLIMIT_AS, (2 * 1024**3, 2 * 1024**3)) + resource.setrlimit(resource.RLIMIT_CPU, (args.cpu_seconds, args.cpu_seconds + 1)) + signal.alarm(args.wall_seconds) + for name, pin in PINS.items(): + if digest((V / name).read_bytes()) != pin: + raise ValueError('source pin mismatch: ' + name) + compressed = args.word.read_bytes() + if digest(compressed) != WORD_COMPRESSED: + raise ValueError('only pinned #7641 word is authorized') + raw = gzip.decompress(compressed) + if digest(raw) != WORD_RAW: + raise ValueError('decompressed source mismatch') + w = json.loads(raw) + canonical = digest(json.dumps(w, sort_keys=True, separators=(',', ':')).encode()) + caller_bytes = (V / 'ODD-TYPE-AB-CALLER.json').read_bytes() + c = json.loads(caller_bytes) + cg = json.loads((V / 'ODD-CALLER-EXACT-GRID.json').read_bytes()) + if cg['caller_sha256'] != digest(caller_bytes): + raise ValueError('caller grid is not bound to this caller') + start = time.monotonic() + rational, rational_pin = module('resource_rational_grid', V / 'derive_grid.py') + derived, rows = rational.derive(w) + del rows + integer, int_pin = module('resource_integer_grid', V / 'independent_bounds.py') + wg = integer.word_run(w, scale=derived['odd_scale'], frac=derived['fractional_bits']) + if (wg['odd_scale_lcm'], wg['dyadic_height'], Fraction(wg['maximum_scaled_mass'])) != ( + derived['odd_scale'], derived['fractional_bits'], Fraction(derived['scaled_maximum_mass'])): + raise ValueError('independent rational/integer grids disagree') + binding, binding_pin = module('source_binding', V / 'source_binding.py') + changes = [ + ('elif op in ("LAMBDA", "IDLE_ONE"):', 'elif op in ("LAMBDA", "IDLE_ONE", "IDLE_ODD"):', 2), + ('all(0 <= r < 38 for r in ar) and all(38 <= r < 76 for r in br[:2])', 'all(caller["types"]["A"]["offset"] <= r < caller["types"]["A"]["offset"] + caller["types"]["A"]["roles"] for r in ar) and all(caller["types"]["B"]["offset"] <= r < caller["types"]["B"]["offset"] + caller["types"]["B"]["roles"] for r in br[:2])', 1), + ('all(1 <= k <= 18 for k in e[3])', 'all(1 <= k <= caller["stages"] for k in e[3])', 1), + ('need(j_order == list(range(1, 19)), "exact eighteen native calls")', 'need(j_order == list(range(1, caller["stages"] + 1)), "all chronological native calls")', 1), + ('word["public"] - len(mains) == 1061', 'word["public"] - len(mains) == expected_helper_count', 1), + ('physical_main_inputs=3952, fresh_arbitrary_helpers=18 * 1061,', 'physical_main_inputs=sum(t["roles"] * len(t["ports"]) for t in caller["types"].values()), fresh_arbitrary_helpers=caller["stages"] * expected_helper_count,', 1), + ('need(len(e[3]) == len(set(e[3]))', 'need(op != "IDLE_ODD" or (len(e[3]) == 1 and e[4] == -1), "signed child signature")\n need(len(e[3]) == len(set(e[3]))', 1), + ('(life, peak, owned_count) == (54, 43, 51)', '(life, peak, owned_count) == (234, 50, 68)', 1), + ] + # The only lifecycle change is an explicit literal source contract; no + # coefficient, copy, chart, rounding or backward-witness guard is relaxed. + env, env_pin = module('resource_envelopes', V / 'envelopes.py', changes) + mains = set(w['live']) | {r + 112 for r in w['live']} | set(w['hosted']['X2']) | set(w['hosted']['Y2']) + env.expected_helper_count = w['public'] - len(mains) + wp, wr = env.native_envelope(w) + cp, cr = env.caller_envelope(c, wp, w) + height = cg['grid_exponents'][0] + wg['dyadic_height'] + mass = binding.strict_power(cp['M_context'][0]) + cg['caller_odd_scale_bits'] + derived['odd_scale'].bit_length() + context = 2 * max(height, mass) + result = {'status': 'FINITE_GRID_AND_ENVELOPE_ONLY', 'compressed_word_sha256': digest(compressed), + 'decompressed_sha256': digest(raw), 'canonical_word_sha256': canonical, + 'caller_sha256': digest(caller_bytes), 'source_pins': PINS, + 'engines': {'rational': rational_pin, 'integer': int_pin, 'binding': binding_pin, 'envelope': env_pin}, + 'rational_grid': derived, 'integer_grid': wg, 'native_envelope': wr, + 'caller_envelope': cr, 'caller_grid_carried_from_matching_caller': cg, + 'context_height': height, 'context_mass_bits': mass, 'context_c': context, + 'context_le_4096': context <= 4096, 'prior_7637_context': 2458, + 'elapsed_seconds': time.monotonic() - start, + 'scope': 'Conditional positive rounded envelopes and fixed scalar grid; no physical supplier, full signed application, ordinary or fixed-tape qualification.'} + args.output.parent.mkdir(parents=True, exist_ok=True) + with args.output.open('x') as f: + json.dump(result, f, indent=2, default=str) + f.write('\n') + print(json.dumps({'status': result['status'], 'context_c': context, 'le_4096': context <= 4096})) + +if __name__ == '__main__': + main() diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/tape_scalar.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/tape_scalar.py new file mode 100644 index 0000000000..475be01f90 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/tape_scalar.py @@ -0,0 +1,58 @@ +#!/usr/bin/env python3 +"""Literal scalar-service census using retained fixed-tape tariff formula. + +This does not provide the physical binding or map-slot record ceiling. +""" +import collections +import gzip +import hashlib +import json +import resource +import signal +from fractions import Fraction +from pathlib import Path + +ROOT=Path(__file__).resolve().parent +def sha(b):return hashlib.sha256(b).hexdigest() +def need(v,m): + if not v: raise ValueError(m) +def main(): + resource.setrlimit(resource.RLIMIT_AS,(1024**3,1024**3)) + resource.setrlimit(resource.RLIMIT_CPU,(120,121));signal.alarm(150) + out=ROOT/'TAPE-SCALAR-RESULT.json';need(not out.exists(),'exclusive output') + raw=(ROOT.parent/'word7641.json.gz').read_bytes() + need(sha(raw)=='de43ed04f58133eaef8f8d12a9dae1e6e8aa7f9721044200cc839673d86fd7c1','compressed source pin') + data=gzip.decompress(raw);need(sha(data)=='6a472688bdf2a1b293df0f4f77427a04a1f87c92fedb5b5a6921cc850c272b4f','raw source pin') + w=json.loads(data); cr=(ROOT/'vendor/ODD-TYPE-AB-CALLER.json').read_bytes() + need(sha(cr)=='255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc','caller pin') + c=json.loads(cr); cg=json.loads((ROOT/'vendor/ODD-CALLER-EXACT-GRID.json').read_bytes());need(cg['caller_sha256']==sha(cr),'caller-grid pin') + src=(ROOT/'vendor/check_odd_fixed_tape_counts.py').read_bytes() + need(sha(src)=='e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb','tape source pin') + op=collections.Counter(e[0] for e in w['program']) + calls=c['stages'];native=sum(v for k,v in op.items() if k!='MOVE') + caller=sum(len(c['types'][e[0]]['ports']) for e in c['events'] if e[0]!='J') + conversions=2*calls*w['public']+2*sum(t['roles']*len(t['ports']) for t in c['types'].values()) + scalar_services=32*(calls*native+caller+conversions) + scalar_records=[] + for i,e in enumerate(w['program']): + if e[0] in ('ADD','COPY','SCALE'): + q=Fraction(e[2] if e[0]=='SCALE' else e[3]);scalar_records.append((q,'native',i)) + for i,e in enumerate(c['events']): + if e[0]!='J' and e[1] in ('ADD','SCALE'): + q=Fraction(e[-1]);scalar_records.append((q,'caller',i)) + odd=int(cg['caller_odd_scale']) + scalar_records.extend((Fraction(s),'conversion',str(s)) for s in (10125,Fraction(1,10125),odd,Fraction(1,odd))) + largest=max(scalar_records,key=lambda x:abs(x[0].numerator).bit_length()) + largest_q=max(scalar_records,key=lambda x:abs(x[0])) + bits=abs(largest[0].numerator).bit_length() + o={'status':'SCALAR_CENSUS_ONLY','source_raw_sha256':sha(data),'caller_sha256':sha(cr),'fixed_tape_source_sha256':sha(src), + 'opcodes':dict(op),'native_invocations':calls,'native_nonmove_per_call':native,'caller_macros':caller,'conversion_sites':conversions, + 'scalar_macro_inputs':{'native':calls*native,'caller':caller,'conversions':conversions}, + 'scalar_services_upper':scalar_services,'scalar_steps_coefficient':scalar_services*2**20, + 'max_literal_numerator_bits':bits,'max_numerator_witness':[str(largest[0]),largest[1],largest[2]], + 'max_absolute_coefficient':[str(largest_q[0]),largest_q[1],largest_q[2]], + 'retained_24bit_numerator_gate_passes':bits<=24,'retained_scalar_magnitude_lt_2pow16_gate_passes':abs(largest_q[0])+1<2**16, + 'scale_assumed_for_comparison':10125,'scope':'Finite tariff substitutions only; requires fresh matching precision, physical/paid binding, signed application, compiler and supplier. Scale 10125 is the author-reported value pending independent grid outcome.'} + with out.open('x') as f:json.dump(o,f,indent=2);f.write('\n') + print(json.dumps({'status':o['status'],'services':scalar_services,'numerator_bits':bits,'gates':[o['retained_24bit_numerator_gate_passes'],o['retained_scalar_magnitude_lt_2pow16_gate_passes']]})) +if __name__=='__main__':main() diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/ODD-CALLER-EXACT-GRID.json b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/ODD-CALLER-EXACT-GRID.json new file mode 100644 index 0000000000..1ba429a390 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/ODD-CALLER-EXACT-GRID.json @@ -0,0 +1,23 @@ +{ + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "prime_order": [ + 2, + 3, + 5 + ], + "safe_valuation_bound": [ + 381, + 69, + 62 + ], + "grid_exponents": [ + 381, + 3, + 2 + ], + "caller_odd_scale": "675", + "caller_odd_scale_bits": 10, + "preproduct_exact_divisions": 176874, + "peak_terms": 3752, + "scope": "Independent integer Laurent caller endpoint and pre-product divisibility. Valuation bound propagates complete field operators whose Gaussian coefficients have only power-of-two denominators, so odd factors are sourced only from the charged scalar operations. Fixed conversion and storage bounds still needed." +} \ No newline at end of file diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/ODD-TYPE-AB-CALLER.json b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/ODD-TYPE-AB-CALLER.json new file mode 100644 index 0000000000..9451ceaf6e --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/ODD-TYPE-AB-CALLER.json @@ -0,0 +1 @@ +{"schema":"mixed-root-caller/1","stages":17,"ambient_rank":145,"roles":72,"types":{"A":{"form":"two-chain-HOST2","roles":36,"offset":0,"ports":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,18,19,20,21,22,23,24,25,26,28,29,30,31,32,33,36,37,38,39,40,41,43,44,45,46,48,49,50,51,52,53,54,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103],"alpha2":"-1","beta2":"0","diagonal":[[-1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[-1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1],[-1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[-1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1]]},"B":{"form":"hosted-HOST","roles":36,"offset":36,"ports":[15,17,27,34,35,42,47,55],"diagonal":[[-1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[-1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[-1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0],[-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0]],"pairs":[[0,1,"-1","1/2","-1/2"],[2,3,"-1","1/2","-1/2"],[4,5,"-1","1/2","-1/2"],[6,7,"-1","1/2","-1/2"],[8,9,"-1","1/2","-1/2"],[10,11,"-1","1/2","-1/2"],[12,13,"-1","1/2","-1/2"],[14,15,"-1","1/2","-1/2"],[16,17,"-1","1/2","-1/2"],[22,23,"-1","1/2","-1/2"],[24,25,"-1","1/2","-1/2"],[26,27,"-1","1/2","-1/2"],[28,29,"-1","1/2","-1/2"],[30,31,"-1","1/2","-1/2"],[32,33,"-1","1/2","-1/2"],[34,35,"-1","1/2","-1/2"],[36,37,"-1","1/2","-1/2"],[38,39,"-1","1/2","-1/2"]]}},"events":[["B","ADD",37,36,"7"],["B","ADD",38,36,"-1/2"],["B","ADD",39,36,"3/2"],["B","SCALE",36,"-2"],["B","ADD",36,37,"1"],["B","ADD",36,38,"2"],["B","ADD",36,39,"-2"],["B","IDLE_ONE",36,[1]],["B","ADD",36,39,"2"],["B","ADD",36,38,"-2"],["B","ADD",36,37,"-1"],["B","SCALE",36,"-1/2"],["B","ADD",39,36,"-3/2"],["B","ADD",38,36,"1/2"],["B","ADD",37,36,"-7"],["B","ADD",39,37,"-1/2"],["B","SCALE",37,"-2"],["B","ADD",37,38,"4"],["B","ADD",37,39,"-8"],["B","IDLE_ONE",37,[1]],["B","ADD",37,39,"8"],["B","ADD",37,38,"-4"],["B","SCALE",37,"-1/2"],["B","ADD",39,37,"1/2"],["B","ADD",37,36,"1"],["B","ADD",38,36,"1/2"],["B","ADD",39,36,"1/2"],["B","ADD",36,38,"-1"],["B","ADD",38,37,"1/2"],["B","SCALE",37,"-1/2"],["B","ADD",37,38,"2"],["B","ADD",37,39,"-1"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",1,"-1"],["A","ADD",1,0,"1"],["A","ADD",19,18,"-1"],["A","SCALE",19,"-1"],["A","LAMBDA",1,1],["A","LAMBDA",19,-1],["A","SCALE",19,"-1"],["J",1,[1,0,18,19],[36,37,"-1","1/2"]],["A","LAMBDA",1,-1],["A","LAMBDA",19,1],["A","SCALE",19,"-1"],["A","ADD",0,1,"-1"],["A","ADD",18,19,"-1"],["A","SCALE",19,"-1"],["A","ADD",19,18,"1"],["A","ADD",1,0,"-1"],["A","SCALE",1,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"-2"],["B","ADD",37,39,"1"],["B","ADD",37,38,"-2"],["B","SCALE",37,"-2"],["B","ADD",38,37,"-1/2"],["B","ADD",36,38,"1"],["B","ADD",39,36,"-1/2"],["B","ADD",38,36,"-1/2"],["B","ADD",37,36,"-1"],["B","ADD",37,36,"12/5"],["B","ADD",38,36,"1/5"],["B","ADD",39,36,"3/10"],["B","ADD",40,36,"-1/40"],["B","ADD",41,36,"3/40"],["B","SCALE",36,"-1/10"],["B","ADD",36,37,"-1"],["B","ADD",36,38,"-2"],["B","ADD",36,39,"6"],["B","ADD",36,40,"20"],["B","ADD",36,41,"8"],["B","IDLE_ONE",36,[2]],["B","ADD",36,41,"-8"],["B","ADD",36,40,"-20"],["B","ADD",36,39,"-6"],["B","ADD",36,38,"2"],["B","ADD",36,37,"1"],["B","SCALE",36,"-10"],["B","ADD",41,36,"-3/40"],["B","ADD",40,36,"1/40"],["B","ADD",39,36,"-3/10"],["B","ADD",38,36,"-1/5"],["B","ADD",37,36,"-12/5"],["B","ADD",37,36,"7/3"],["B","ADD",38,36,"1/6"],["B","ADD",39,36,"1/6"],["B","ADD",41,36,"1/12"],["B","SCALE",36,"1/3"],["B","ADD",36,37,"-2"],["B","ADD",36,38,"-8"],["B","ADD",36,39,"20"],["B","ADD",36,40,"68"],["B","ADD",36,41,"28"],["B","IDLE_ONE",36,[2]],["B","ADD",36,41,"-28"],["B","ADD",36,40,"-68"],["B","ADD",36,39,"-20"],["B","ADD",36,38,"8"],["B","ADD",36,37,"2"],["B","SCALE",36,"3"],["B","ADD",41,36,"-1/12"],["B","ADD",39,36,"-1/6"],["B","ADD",38,36,"-1/6"],["B","ADD",37,36,"-7/3"],["B","ADD",37,36,"3"],["B","ADD",38,36,"1/2"],["B","ADD",39,36,"3/2"],["B","ADD",40,36,"-1/2"],["B","ADD",41,36,"1/2"],["B","SCALE",36,"-1"],["B","ADD",36,37,"1/2"],["B","ADD",36,39,"-1"],["B","ADD",36,40,"-4"],["B","ADD",38,37,"-1/2"],["B","ADD",39,37,"-2"],["B","ADD",40,37,"1/2"],["B","SCALE",37,"1/2"],["B","ADD",37,38,"1"],["B","ADD",37,39,"-2"],["B","ADD",37,40,"-8"],["B","ADD",37,41,"-4"],["B","SCALE",37,"1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",2,"-1"],["A","ADD",2,0,"1"],["A","ADD",1,0,"-2"],["A","ADD",19,18,"-2"],["A","ADD",20,18,"-1"],["A","SCALE",20,"-1"],["A","LAMBDA",2,1],["A","LAMBDA",20,-1],["A","SCALE",20,"-1"],["J",2,[2,0,18,20],[36,37,"-1","1/2"]],["A","LAMBDA",2,-1],["A","LAMBDA",20,1],["A","SCALE",20,"-1"],["A","ADD",0,2,"-1"],["A","ADD",18,20,"-1"],["A","SCALE",20,"-1"],["A","ADD",20,18,"1"],["A","ADD",19,18,"2"],["A","ADD",1,0,"2"],["A","ADD",2,0,"-1"],["A","SCALE",2,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"2"],["B","ADD",37,41,"4"],["B","ADD",37,40,"8"],["B","ADD",37,39,"2"],["B","ADD",37,38,"-1"],["B","SCALE",37,"2"],["B","ADD",40,37,"-1/2"],["B","ADD",39,37,"2"],["B","ADD",38,37,"1/2"],["B","ADD",36,40,"4"],["B","ADD",36,39,"1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-1"],["B","ADD",41,36,"-1/2"],["B","ADD",40,36,"1/2"],["B","ADD",39,36,"-3/2"],["B","ADD",38,36,"-1/2"],["B","ADD",37,36,"-3"],["B","ADD",37,36,"7"],["B","ADD",38,36,"5/2"],["B","ADD",39,36,"19/2"],["B","ADD",40,36,"-5/4"],["B","ADD",41,36,"-9/4"],["B","ADD",42,36,"-1/2"],["B","ADD",43,36,"3/2"],["B","SCALE",36,"-2"],["B","ADD",36,37,"7"],["B","ADD",36,38,"26"],["B","ADD",36,39,"-66"],["B","ADD",36,40,"-212"],["B","ADD",36,41,"-132"],["B","ADD",36,42,"14"],["B","ADD",36,43,"-26"],["B","IDLE_ONE",36,[3]],["B","ADD",36,43,"26"],["B","ADD",36,42,"-14"],["B","ADD",36,41,"132"],["B","ADD",36,40,"212"],["B","ADD",36,39,"66"],["B","ADD",36,38,"-26"],["B","ADD",36,37,"-7"],["B","SCALE",36,"-1/2"],["B","ADD",43,36,"-3/2"],["B","ADD",42,36,"1/2"],["B","ADD",41,36,"9/4"],["B","ADD",40,36,"5/4"],["B","ADD",39,36,"-19/2"],["B","ADD",38,36,"-5/2"],["B","ADD",37,36,"-7"],["B","ADD",37,36,"22/3"],["B","ADD",38,36,"8/3"],["B","ADD",39,36,"61/6"],["B","ADD",40,36,"-4/3"],["B","ADD",41,36,"-29/12"],["B","ADD",42,36,"-1/2"],["B","ADD",43,36,"5/3"],["B","SCALE",36,"2/3"],["B","ADD",36,37,"2"],["B","ADD",36,38,"8"],["B","ADD",36,39,"-20"],["B","ADD",36,40,"-64"],["B","ADD",36,41,"-40"],["B","ADD",36,42,"4"],["B","ADD",36,43,"-8"],["B","IDLE_ONE",36,[3]],["B","ADD",36,43,"8"],["B","ADD",36,42,"-4"],["B","ADD",36,41,"40"],["B","ADD",36,40,"64"],["B","ADD",36,39,"20"],["B","ADD",36,38,"-8"],["B","ADD",36,37,"-2"],["B","SCALE",36,"3/2"],["B","ADD",43,36,"-5/3"],["B","ADD",42,36,"1/2"],["B","ADD",41,36,"29/12"],["B","ADD",40,36,"4/3"],["B","ADD",39,36,"-61/6"],["B","ADD",38,36,"-8/3"],["B","ADD",37,36,"-22/3"],["B","ADD",37,36,"1"],["B","ADD",38,36,"-1/2"],["B","ADD",39,36,"-5/2"],["B","ADD",40,36,"1/4"],["B","ADD",41,36,"3/4"],["B","ADD",42,36,"1/2"],["B","ADD",43,36,"1/2"],["B","ADD",36,38,"-1"],["B","ADD",36,39,"2"],["B","ADD",36,40,"6"],["B","ADD",36,41,"4"],["B","ADD",36,42,"-1"],["B","ADD",38,37,"-1/2"],["B","ADD",39,37,"-2"],["B","ADD",40,37,"1/4"],["B","ADD",41,37,"1/2"],["B","ADD",42,37,"1/2"],["B","SCALE",37,"-1/2"],["B","ADD",37,39,"-1"],["B","ADD",37,40,"-4"],["B","ADD",37,41,"-2"],["B","ADD",37,42,"2"],["B","ADD",37,43,"-1"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",3,"-1"],["A","ADD",3,0,"1"],["A","ADD",1,0,"-2"],["A","ADD",2,0,"-2"],["A","ADD",19,18,"-2"],["A","ADD",20,18,"-2"],["A","ADD",21,18,"-1"],["A","SCALE",21,"-1"],["A","LAMBDA",3,1],["A","LAMBDA",21,-1],["A","SCALE",21,"-1"],["J",3,[3,0,18,21],[36,37,"-1","1/2"]],["A","LAMBDA",3,-1],["A","LAMBDA",21,1],["A","SCALE",21,"-1"],["A","ADD",0,3,"-1"],["A","ADD",18,21,"-1"],["A","SCALE",21,"-1"],["A","ADD",21,18,"1"],["A","ADD",20,18,"2"],["A","ADD",19,18,"2"],["A","ADD",2,0,"2"],["A","ADD",1,0,"2"],["A","ADD",3,0,"-1"],["A","SCALE",3,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"-2"],["B","ADD",37,43,"1"],["B","ADD",37,42,"-2"],["B","ADD",37,41,"2"],["B","ADD",37,40,"4"],["B","ADD",37,39,"1"],["B","SCALE",37,"-2"],["B","ADD",42,37,"-1/2"],["B","ADD",41,37,"-1/2"],["B","ADD",40,37,"-1/4"],["B","ADD",39,37,"2"],["B","ADD",38,37,"1/2"],["B","ADD",36,42,"1"],["B","ADD",36,41,"-4"],["B","ADD",36,40,"-6"],["B","ADD",36,39,"-2"],["B","ADD",36,38,"1"],["B","ADD",43,36,"-1/2"],["B","ADD",42,36,"-1/2"],["B","ADD",41,36,"-3/4"],["B","ADD",40,36,"-1/4"],["B","ADD",39,36,"5/2"],["B","ADD",38,36,"1/2"],["B","ADD",37,36,"-1"],["B","ADD",37,36,"12/5"],["B","ADD",38,36,"1/5"],["B","ADD",39,36,"3/10"],["B","ADD",40,36,"-1/10"],["B","ADD",41,36,"1/20"],["B","ADD",42,36,"1/5"],["B","ADD",43,36,"3/10"],["B","ADD",44,36,"-1/40"],["B","ADD",45,36,"3/40"],["B","SCALE",36,"-1/10"],["B","ADD",36,37,"-1"],["B","ADD",36,38,"-2"],["B","ADD",36,39,"6"],["B","ADD",36,40,"20"],["B","ADD",36,41,"12"],["B","ADD",36,42,"-2"],["B","ADD",36,43,"6"],["B","ADD",36,44,"20"],["B","ADD",36,45,"8"],["B","IDLE_ONE",36,[4]],["B","ADD",36,45,"-8"],["B","ADD",36,44,"-20"],["B","ADD",36,43,"-6"],["B","ADD",36,42,"2"],["B","ADD",36,41,"-12"],["B","ADD",36,40,"-20"],["B","ADD",36,39,"-6"],["B","ADD",36,38,"2"],["B","ADD",36,37,"1"],["B","SCALE",36,"-10"],["B","ADD",45,36,"-3/40"],["B","ADD",44,36,"1/40"],["B","ADD",43,36,"-3/10"],["B","ADD",42,36,"-1/5"],["B","ADD",41,36,"-1/20"],["B","ADD",40,36,"1/10"],["B","ADD",39,36,"-3/10"],["B","ADD",38,36,"-1/5"],["B","ADD",37,36,"-12/5"],["B","ADD",37,36,"7/3"],["B","ADD",38,36,"1/6"],["B","ADD",39,36,"1/6"],["B","ADD",40,36,"-1/12"],["B","ADD",41,36,"1/12"],["B","ADD",42,36,"1/6"],["B","ADD",43,36,"1/6"],["B","ADD",45,36,"1/12"],["B","SCALE",36,"1/3"],["B","ADD",36,37,"-2"],["B","ADD",36,38,"-8"],["B","ADD",36,39,"20"],["B","ADD",36,40,"64"],["B","ADD",36,41,"40"],["B","ADD",36,42,"-8"],["B","ADD",36,43,"20"],["B","ADD",36,44,"68"],["B","ADD",36,45,"28"],["B","IDLE_ONE",36,[4]],["B","ADD",36,45,"-28"],["B","ADD",36,44,"-68"],["B","ADD",36,43,"-20"],["B","ADD",36,42,"8"],["B","ADD",36,41,"-40"],["B","ADD",36,40,"-64"],["B","ADD",36,39,"-20"],["B","ADD",36,38,"8"],["B","ADD",36,37,"2"],["B","SCALE",36,"3"],["B","ADD",45,36,"-1/12"],["B","ADD",43,36,"-1/6"],["B","ADD",42,36,"-1/6"],["B","ADD",41,36,"-1/12"],["B","ADD",40,36,"1/12"],["B","ADD",39,36,"-1/6"],["B","ADD",38,36,"-1/6"],["B","ADD",37,36,"-7/3"],["B","ADD",37,36,"3"],["B","ADD",38,36,"1/2"],["B","ADD",39,36,"3/2"],["B","ADD",40,36,"-1/4"],["B","ADD",41,36,"-1/4"],["B","ADD",42,36,"1/2"],["B","ADD",43,36,"3/2"],["B","ADD",44,36,"-1/2"],["B","ADD",45,36,"1/2"],["B","SCALE",36,"-1"],["B","ADD",36,37,"1/2"],["B","ADD",36,39,"-1"],["B","ADD",36,40,"-4"],["B","ADD",36,41,"-2"],["B","ADD",36,43,"-1"],["B","ADD",36,44,"-4"],["B","ADD",38,37,"-1/2"],["B","ADD",39,37,"-2"],["B","ADD",40,37,"1/4"],["B","ADD",41,37,"1/2"],["B","ADD",42,37,"-1/2"],["B","ADD",43,37,"-2"],["B","ADD",44,37,"1/2"],["B","SCALE",37,"1/2"],["B","ADD",37,38,"1"],["B","ADD",37,39,"-2"],["B","ADD",37,40,"-6"],["B","ADD",37,41,"-4"],["B","ADD",37,42,"1"],["B","ADD",37,43,"-2"],["B","ADD",37,44,"-8"],["B","ADD",37,45,"-4"],["B","SCALE",37,"1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",4,"-1"],["A","ADD",4,0,"1"],["A","ADD",1,0,"-2"],["A","ADD",2,0,"-2"],["A","ADD",3,0,"-2"],["A","ADD",19,18,"-2"],["A","ADD",20,18,"-2"],["A","ADD",21,18,"-2"],["A","ADD",22,18,"-1"],["A","SCALE",22,"-1"],["A","LAMBDA",4,1],["A","LAMBDA",22,-1],["A","SCALE",22,"-1"],["J",4,[4,0,18,22],[36,37,"-1","1/2"]],["A","LAMBDA",4,-1],["A","LAMBDA",22,1],["A","SCALE",22,"-1"],["A","ADD",0,4,"-1"],["A","ADD",18,22,"-1"],["A","SCALE",22,"-1"],["A","ADD",22,18,"1"],["A","ADD",21,18,"2"],["A","ADD",20,18,"2"],["A","ADD",19,18,"2"],["A","ADD",3,0,"2"],["A","ADD",2,0,"2"],["A","ADD",1,0,"2"],["A","ADD",4,0,"-1"],["A","SCALE",4,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"2"],["B","ADD",37,45,"4"],["B","ADD",37,44,"8"],["B","ADD",37,43,"2"],["B","ADD",37,42,"-1"],["B","ADD",37,41,"4"],["B","ADD",37,40,"6"],["B","ADD",37,39,"2"],["B","ADD",37,38,"-1"],["B","SCALE",37,"2"],["B","ADD",44,37,"-1/2"],["B","ADD",43,37,"2"],["B","ADD",42,37,"1/2"],["B","ADD",41,37,"-1/2"],["B","ADD",40,37,"-1/4"],["B","ADD",39,37,"2"],["B","ADD",38,37,"1/2"],["B","ADD",36,44,"4"],["B","ADD",36,43,"1"],["B","ADD",36,41,"2"],["B","ADD",36,40,"4"],["B","ADD",36,39,"1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-1"],["B","ADD",45,36,"-1/2"],["B","ADD",44,36,"1/2"],["B","ADD",43,36,"-3/2"],["B","ADD",42,36,"-1/2"],["B","ADD",41,36,"1/4"],["B","ADD",40,36,"1/4"],["B","ADD",39,36,"-3/2"],["B","ADD",38,36,"-1/2"],["B","ADD",37,36,"-3"],["B","ADD",37,36,"7"],["B","ADD",38,36,"5/2"],["B","ADD",39,36,"19/2"],["B","ADD",40,36,"-5/4"],["B","ADD",41,36,"-9/4"],["B","ADD",42,36,"5/2"],["B","ADD",43,36,"19/2"],["B","ADD",44,36,"-5/4"],["B","ADD",45,36,"-9/4"],["B","ADD",46,36,"-1/2"],["B","ADD",47,36,"3/2"],["B","SCALE",36,"-2"],["B","ADD",36,37,"7"],["B","ADD",36,38,"26"],["B","ADD",36,39,"-66"],["B","ADD",36,40,"-212"],["B","ADD",36,41,"-132"],["B","ADD",36,42,"26"],["B","ADD",36,43,"-66"],["B","ADD",36,44,"-212"],["B","ADD",36,45,"-132"],["B","ADD",36,46,"14"],["B","ADD",36,47,"-26"],["B","IDLE_ONE",36,[5]],["B","ADD",36,47,"26"],["B","ADD",36,46,"-14"],["B","ADD",36,45,"132"],["B","ADD",36,44,"212"],["B","ADD",36,43,"66"],["B","ADD",36,42,"-26"],["B","ADD",36,41,"132"],["B","ADD",36,40,"212"],["B","ADD",36,39,"66"],["B","ADD",36,38,"-26"],["B","ADD",36,37,"-7"],["B","SCALE",36,"-1/2"],["B","ADD",47,36,"-3/2"],["B","ADD",46,36,"1/2"],["B","ADD",45,36,"9/4"],["B","ADD",44,36,"5/4"],["B","ADD",43,36,"-19/2"],["B","ADD",42,36,"-5/2"],["B","ADD",41,36,"9/4"],["B","ADD",40,36,"5/4"],["B","ADD",39,36,"-19/2"],["B","ADD",38,36,"-5/2"],["B","ADD",37,36,"-7"],["B","ADD",37,36,"22/3"],["B","ADD",38,36,"8/3"],["B","ADD",39,36,"61/6"],["B","ADD",40,36,"-4/3"],["B","ADD",41,36,"-29/12"],["B","ADD",42,36,"8/3"],["B","ADD",43,36,"61/6"],["B","ADD",44,36,"-4/3"],["B","ADD",45,36,"-29/12"],["B","ADD",46,36,"-1/2"],["B","ADD",47,36,"5/3"],["B","SCALE",36,"2/3"],["B","ADD",36,37,"2"],["B","ADD",36,38,"8"],["B","ADD",36,39,"-20"],["B","ADD",36,40,"-64"],["B","ADD",36,41,"-40"],["B","ADD",36,42,"8"],["B","ADD",36,43,"-20"],["B","ADD",36,44,"-64"],["B","ADD",36,45,"-40"],["B","ADD",36,46,"4"],["B","ADD",36,47,"-8"],["B","IDLE_ONE",36,[5]],["B","ADD",36,47,"8"],["B","ADD",36,46,"-4"],["B","ADD",36,45,"40"],["B","ADD",36,44,"64"],["B","ADD",36,43,"20"],["B","ADD",36,42,"-8"],["B","ADD",36,41,"40"],["B","ADD",36,40,"64"],["B","ADD",36,39,"20"],["B","ADD",36,38,"-8"],["B","ADD",36,37,"-2"],["B","SCALE",36,"3/2"],["B","ADD",47,36,"-5/3"],["B","ADD",46,36,"1/2"],["B","ADD",45,36,"29/12"],["B","ADD",44,36,"4/3"],["B","ADD",43,36,"-61/6"],["B","ADD",42,36,"-8/3"],["B","ADD",41,36,"29/12"],["B","ADD",40,36,"4/3"],["B","ADD",39,36,"-61/6"],["B","ADD",38,36,"-8/3"],["B","ADD",37,36,"-22/3"],["B","ADD",37,36,"1"],["B","ADD",38,36,"-1/2"],["B","ADD",39,36,"-5/2"],["B","ADD",40,36,"1/4"],["B","ADD",41,36,"3/4"],["B","ADD",42,36,"-1/2"],["B","ADD",43,36,"-5/2"],["B","ADD",44,36,"1/4"],["B","ADD",45,36,"3/4"],["B","ADD",46,36,"1/2"],["B","ADD",47,36,"1/2"],["B","ADD",36,38,"-1"],["B","ADD",36,39,"2"],["B","ADD",36,40,"6"],["B","ADD",36,41,"4"],["B","ADD",36,42,"-1"],["B","ADD",36,43,"2"],["B","ADD",36,44,"6"],["B","ADD",36,45,"4"],["B","ADD",36,46,"-1"],["B","ADD",38,37,"-1/2"],["B","ADD",39,37,"-2"],["B","ADD",40,37,"1/4"],["B","ADD",41,37,"1/2"],["B","ADD",42,37,"-1/2"],["B","ADD",43,37,"-2"],["B","ADD",44,37,"1/4"],["B","ADD",45,37,"1/2"],["B","ADD",46,37,"1/2"],["B","SCALE",37,"-1/2"],["B","ADD",37,39,"-1"],["B","ADD",37,40,"-4"],["B","ADD",37,41,"-2"],["B","ADD",37,43,"-1"],["B","ADD",37,44,"-4"],["B","ADD",37,45,"-2"],["B","ADD",37,46,"2"],["B","ADD",37,47,"-1"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",5,"-1"],["A","ADD",5,0,"1"],["A","ADD",1,0,"-2"],["A","ADD",2,0,"-2"],["A","ADD",3,0,"-2"],["A","ADD",4,0,"-2"],["A","ADD",19,18,"-2"],["A","ADD",20,18,"-2"],["A","ADD",21,18,"-2"],["A","ADD",22,18,"-2"],["A","ADD",23,18,"-1"],["A","SCALE",23,"-1"],["A","LAMBDA",5,1],["A","LAMBDA",23,-1],["A","SCALE",23,"-1"],["J",5,[5,0,18,23],[36,37,"-1","1/2"]],["A","LAMBDA",5,-1],["A","LAMBDA",23,1],["A","SCALE",23,"-1"],["A","ADD",0,5,"-1"],["A","ADD",18,23,"-1"],["A","SCALE",23,"-1"],["A","ADD",23,18,"1"],["A","ADD",22,18,"2"],["A","ADD",21,18,"2"],["A","ADD",20,18,"2"],["A","ADD",19,18,"2"],["A","ADD",4,0,"2"],["A","ADD",3,0,"2"],["A","ADD",2,0,"2"],["A","ADD",1,0,"2"],["A","ADD",5,0,"-1"],["A","SCALE",5,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"-2"],["B","ADD",37,47,"1"],["B","ADD",37,46,"-2"],["B","ADD",37,45,"2"],["B","ADD",37,44,"4"],["B","ADD",37,43,"1"],["B","ADD",37,41,"2"],["B","ADD",37,40,"4"],["B","ADD",37,39,"1"],["B","SCALE",37,"-2"],["B","ADD",46,37,"-1/2"],["B","ADD",45,37,"-1/2"],["B","ADD",44,37,"-1/4"],["B","ADD",43,37,"2"],["B","ADD",42,37,"1/2"],["B","ADD",41,37,"-1/2"],["B","ADD",40,37,"-1/4"],["B","ADD",39,37,"2"],["B","ADD",38,37,"1/2"],["B","ADD",36,46,"1"],["B","ADD",36,45,"-4"],["B","ADD",36,44,"-6"],["B","ADD",36,43,"-2"],["B","ADD",36,42,"1"],["B","ADD",36,41,"-4"],["B","ADD",36,40,"-6"],["B","ADD",36,39,"-2"],["B","ADD",36,38,"1"],["B","ADD",47,36,"-1/2"],["B","ADD",46,36,"-1/2"],["B","ADD",45,36,"-3/4"],["B","ADD",44,36,"-1/4"],["B","ADD",43,36,"5/2"],["B","ADD",42,36,"1/2"],["B","ADD",41,36,"-3/4"],["B","ADD",40,36,"-1/4"],["B","ADD",39,36,"5/2"],["B","ADD",38,36,"1/2"],["B","ADD",37,36,"-1"],["B","ADD",37,36,"12/5"],["B","ADD",38,36,"1/5"],["B","ADD",39,36,"3/10"],["B","ADD",40,36,"-1/10"],["B","ADD",41,36,"1/20"],["B","ADD",42,36,"1/5"],["B","ADD",43,36,"3/10"],["B","ADD",44,36,"-1/10"],["B","ADD",45,36,"1/20"],["B","ADD",46,36,"1/5"],["B","ADD",47,36,"3/10"],["B","ADD",48,36,"-1/40"],["B","ADD",49,36,"3/40"],["B","SCALE",36,"-1/10"],["B","ADD",36,37,"-1"],["B","ADD",36,38,"-2"],["B","ADD",36,39,"6"],["B","ADD",36,40,"20"],["B","ADD",36,41,"12"],["B","ADD",36,42,"-2"],["B","ADD",36,43,"6"],["B","ADD",36,44,"20"],["B","ADD",36,45,"12"],["B","ADD",36,46,"-2"],["B","ADD",36,47,"6"],["B","ADD",36,48,"20"],["B","ADD",36,49,"8"],["B","IDLE_ONE",36,[6]],["B","ADD",36,49,"-8"],["B","ADD",36,48,"-20"],["B","ADD",36,47,"-6"],["B","ADD",36,46,"2"],["B","ADD",36,45,"-12"],["B","ADD",36,44,"-20"],["B","ADD",36,43,"-6"],["B","ADD",36,42,"2"],["B","ADD",36,41,"-12"],["B","ADD",36,40,"-20"],["B","ADD",36,39,"-6"],["B","ADD",36,38,"2"],["B","ADD",36,37,"1"],["B","SCALE",36,"-10"],["B","ADD",49,36,"-3/40"],["B","ADD",48,36,"1/40"],["B","ADD",47,36,"-3/10"],["B","ADD",46,36,"-1/5"],["B","ADD",45,36,"-1/20"],["B","ADD",44,36,"1/10"],["B","ADD",43,36,"-3/10"],["B","ADD",42,36,"-1/5"],["B","ADD",41,36,"-1/20"],["B","ADD",40,36,"1/10"],["B","ADD",39,36,"-3/10"],["B","ADD",38,36,"-1/5"],["B","ADD",37,36,"-12/5"],["B","ADD",37,36,"7/3"],["B","ADD",38,36,"1/6"],["B","ADD",39,36,"1/6"],["B","ADD",40,36,"-1/12"],["B","ADD",41,36,"1/12"],["B","ADD",42,36,"1/6"],["B","ADD",43,36,"1/6"],["B","ADD",44,36,"-1/12"],["B","ADD",45,36,"1/12"],["B","ADD",46,36,"1/6"],["B","ADD",47,36,"1/6"],["B","ADD",49,36,"1/12"],["B","SCALE",36,"1/3"],["B","ADD",36,37,"-2"],["B","ADD",36,38,"-8"],["B","ADD",36,39,"20"],["B","ADD",36,40,"64"],["B","ADD",36,41,"40"],["B","ADD",36,42,"-8"],["B","ADD",36,43,"20"],["B","ADD",36,44,"64"],["B","ADD",36,45,"40"],["B","ADD",36,46,"-8"],["B","ADD",36,47,"20"],["B","ADD",36,48,"68"],["B","ADD",36,49,"28"],["B","IDLE_ONE",36,[6]],["B","ADD",36,49,"-28"],["B","ADD",36,48,"-68"],["B","ADD",36,47,"-20"],["B","ADD",36,46,"8"],["B","ADD",36,45,"-40"],["B","ADD",36,44,"-64"],["B","ADD",36,43,"-20"],["B","ADD",36,42,"8"],["B","ADD",36,41,"-40"],["B","ADD",36,40,"-64"],["B","ADD",36,39,"-20"],["B","ADD",36,38,"8"],["B","ADD",36,37,"2"],["B","SCALE",36,"3"],["B","ADD",49,36,"-1/12"],["B","ADD",47,36,"-1/6"],["B","ADD",46,36,"-1/6"],["B","ADD",45,36,"-1/12"],["B","ADD",44,36,"1/12"],["B","ADD",43,36,"-1/6"],["B","ADD",42,36,"-1/6"],["B","ADD",41,36,"-1/12"],["B","ADD",40,36,"1/12"],["B","ADD",39,36,"-1/6"],["B","ADD",38,36,"-1/6"],["B","ADD",37,36,"-7/3"],["B","ADD",37,36,"3"],["B","ADD",38,36,"1/2"],["B","ADD",39,36,"3/2"],["B","ADD",40,36,"-1/4"],["B","ADD",41,36,"-1/4"],["B","ADD",42,36,"1/2"],["B","ADD",43,36,"3/2"],["B","ADD",44,36,"-1/4"],["B","ADD",45,36,"-1/4"],["B","ADD",46,36,"1/2"],["B","ADD",47,36,"3/2"],["B","ADD",48,36,"-1/2"],["B","ADD",49,36,"1/2"],["B","SCALE",36,"-1"],["B","ADD",36,37,"1/2"],["B","ADD",36,39,"-1"],["B","ADD",36,40,"-4"],["B","ADD",36,41,"-2"],["B","ADD",36,43,"-1"],["B","ADD",36,44,"-4"],["B","ADD",36,45,"-2"],["B","ADD",36,47,"-1"],["B","ADD",36,48,"-4"],["B","ADD",38,37,"-1/2"],["B","ADD",39,37,"-2"],["B","ADD",40,37,"1/4"],["B","ADD",41,37,"1/2"],["B","ADD",42,37,"-1/2"],["B","ADD",43,37,"-2"],["B","ADD",44,37,"1/4"],["B","ADD",45,37,"1/2"],["B","ADD",46,37,"-1/2"],["B","ADD",47,37,"-2"],["B","ADD",48,37,"1/2"],["B","SCALE",37,"1/2"],["B","ADD",37,38,"1"],["B","ADD",37,39,"-2"],["B","ADD",37,40,"-6"],["B","ADD",37,41,"-4"],["B","ADD",37,42,"1"],["B","ADD",37,43,"-2"],["B","ADD",37,44,"-6"],["B","ADD",37,45,"-4"],["B","ADD",37,46,"1"],["B","ADD",37,47,"-2"],["B","ADD",37,48,"-8"],["B","ADD",37,49,"-4"],["B","SCALE",37,"1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",6,"-1"],["A","ADD",6,0,"1"],["A","ADD",1,0,"-2"],["A","ADD",2,0,"-2"],["A","ADD",3,0,"-2"],["A","ADD",4,0,"-2"],["A","ADD",5,0,"-2"],["A","ADD",19,18,"-2"],["A","ADD",20,18,"-2"],["A","ADD",21,18,"-2"],["A","ADD",22,18,"-2"],["A","ADD",23,18,"-2"],["A","ADD",24,18,"-1"],["A","SCALE",24,"-1"],["A","LAMBDA",6,1],["A","LAMBDA",24,-1],["A","SCALE",24,"-1"],["J",6,[6,0,18,24],[36,37,"-1","1/2"]],["A","LAMBDA",6,-1],["A","LAMBDA",24,1],["A","SCALE",24,"-1"],["A","ADD",0,6,"-1"],["A","ADD",18,24,"-1"],["A","SCALE",24,"-1"],["A","ADD",24,18,"1"],["A","ADD",23,18,"2"],["A","ADD",22,18,"2"],["A","ADD",21,18,"2"],["A","ADD",20,18,"2"],["A","ADD",19,18,"2"],["A","ADD",5,0,"2"],["A","ADD",4,0,"2"],["A","ADD",3,0,"2"],["A","ADD",2,0,"2"],["A","ADD",1,0,"2"],["A","ADD",6,0,"-1"],["A","SCALE",6,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"2"],["B","ADD",37,49,"4"],["B","ADD",37,48,"8"],["B","ADD",37,47,"2"],["B","ADD",37,46,"-1"],["B","ADD",37,45,"4"],["B","ADD",37,44,"6"],["B","ADD",37,43,"2"],["B","ADD",37,42,"-1"],["B","ADD",37,41,"4"],["B","ADD",37,40,"6"],["B","ADD",37,39,"2"],["B","ADD",37,38,"-1"],["B","SCALE",37,"2"],["B","ADD",48,37,"-1/2"],["B","ADD",47,37,"2"],["B","ADD",46,37,"1/2"],["B","ADD",45,37,"-1/2"],["B","ADD",44,37,"-1/4"],["B","ADD",43,37,"2"],["B","ADD",42,37,"1/2"],["B","ADD",41,37,"-1/2"],["B","ADD",40,37,"-1/4"],["B","ADD",39,37,"2"],["B","ADD",38,37,"1/2"],["B","ADD",36,48,"4"],["B","ADD",36,47,"1"],["B","ADD",36,45,"2"],["B","ADD",36,44,"4"],["B","ADD",36,43,"1"],["B","ADD",36,41,"2"],["B","ADD",36,40,"4"],["B","ADD",36,39,"1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-1"],["B","ADD",49,36,"-1/2"],["B","ADD",48,36,"1/2"],["B","ADD",47,36,"-3/2"],["B","ADD",46,36,"-1/2"],["B","ADD",45,36,"1/4"],["B","ADD",44,36,"1/4"],["B","ADD",43,36,"-3/2"],["B","ADD",42,36,"-1/2"],["B","ADD",41,36,"1/4"],["B","ADD",40,36,"1/4"],["B","ADD",39,36,"-3/2"],["B","ADD",38,36,"-1/2"],["B","ADD",37,36,"-3"],["B","ADD",37,36,"7"],["B","ADD",38,36,"5/2"],["B","ADD",39,36,"19/2"],["B","ADD",40,36,"-5/4"],["B","ADD",41,36,"-9/4"],["B","ADD",42,36,"5/2"],["B","ADD",43,36,"19/2"],["B","ADD",44,36,"-5/4"],["B","ADD",45,36,"-9/4"],["B","ADD",46,36,"5/2"],["B","ADD",47,36,"19/2"],["B","ADD",48,36,"-5/4"],["B","ADD",49,36,"-9/4"],["B","ADD",50,36,"-1/2"],["B","ADD",51,36,"3/2"],["B","SCALE",36,"-2"],["B","ADD",36,37,"7"],["B","ADD",36,38,"26"],["B","ADD",36,39,"-66"],["B","ADD",36,40,"-212"],["B","ADD",36,41,"-132"],["B","ADD",36,42,"26"],["B","ADD",36,43,"-66"],["B","ADD",36,44,"-212"],["B","ADD",36,45,"-132"],["B","ADD",36,46,"26"],["B","ADD",36,47,"-66"],["B","ADD",36,48,"-212"],["B","ADD",36,49,"-132"],["B","ADD",36,50,"14"],["B","ADD",36,51,"-26"],["B","IDLE_ONE",36,[7]],["B","ADD",36,51,"26"],["B","ADD",36,50,"-14"],["B","ADD",36,49,"132"],["B","ADD",36,48,"212"],["B","ADD",36,47,"66"],["B","ADD",36,46,"-26"],["B","ADD",36,45,"132"],["B","ADD",36,44,"212"],["B","ADD",36,43,"66"],["B","ADD",36,42,"-26"],["B","ADD",36,41,"132"],["B","ADD",36,40,"212"],["B","ADD",36,39,"66"],["B","ADD",36,38,"-26"],["B","ADD",36,37,"-7"],["B","SCALE",36,"-1/2"],["B","ADD",51,36,"-3/2"],["B","ADD",50,36,"1/2"],["B","ADD",49,36,"9/4"],["B","ADD",48,36,"5/4"],["B","ADD",47,36,"-19/2"],["B","ADD",46,36,"-5/2"],["B","ADD",45,36,"9/4"],["B","ADD",44,36,"5/4"],["B","ADD",43,36,"-19/2"],["B","ADD",42,36,"-5/2"],["B","ADD",41,36,"9/4"],["B","ADD",40,36,"5/4"],["B","ADD",39,36,"-19/2"],["B","ADD",38,36,"-5/2"],["B","ADD",37,36,"-7"],["B","ADD",37,36,"22/3"],["B","ADD",38,36,"8/3"],["B","ADD",39,36,"61/6"],["B","ADD",40,36,"-4/3"],["B","ADD",41,36,"-29/12"],["B","ADD",42,36,"8/3"],["B","ADD",43,36,"61/6"],["B","ADD",44,36,"-4/3"],["B","ADD",45,36,"-29/12"],["B","ADD",46,36,"8/3"],["B","ADD",47,36,"61/6"],["B","ADD",48,36,"-4/3"],["B","ADD",49,36,"-29/12"],["B","ADD",50,36,"-1/2"],["B","ADD",51,36,"5/3"],["B","SCALE",36,"2/3"],["B","ADD",36,37,"2"],["B","ADD",36,38,"8"],["B","ADD",36,39,"-20"],["B","ADD",36,40,"-64"],["B","ADD",36,41,"-40"],["B","ADD",36,42,"8"],["B","ADD",36,43,"-20"],["B","ADD",36,44,"-64"],["B","ADD",36,45,"-40"],["B","ADD",36,46,"8"],["B","ADD",36,47,"-20"],["B","ADD",36,48,"-64"],["B","ADD",36,49,"-40"],["B","ADD",36,50,"4"],["B","ADD",36,51,"-8"],["B","IDLE_ONE",36,[7]],["B","ADD",36,51,"8"],["B","ADD",36,50,"-4"],["B","ADD",36,49,"40"],["B","ADD",36,48,"64"],["B","ADD",36,47,"20"],["B","ADD",36,46,"-8"],["B","ADD",36,45,"40"],["B","ADD",36,44,"64"],["B","ADD",36,43,"20"],["B","ADD",36,42,"-8"],["B","ADD",36,41,"40"],["B","ADD",36,40,"64"],["B","ADD",36,39,"20"],["B","ADD",36,38,"-8"],["B","ADD",36,37,"-2"],["B","SCALE",36,"3/2"],["B","ADD",51,36,"-5/3"],["B","ADD",50,36,"1/2"],["B","ADD",49,36,"29/12"],["B","ADD",48,36,"4/3"],["B","ADD",47,36,"-61/6"],["B","ADD",46,36,"-8/3"],["B","ADD",45,36,"29/12"],["B","ADD",44,36,"4/3"],["B","ADD",43,36,"-61/6"],["B","ADD",42,36,"-8/3"],["B","ADD",41,36,"29/12"],["B","ADD",40,36,"4/3"],["B","ADD",39,36,"-61/6"],["B","ADD",38,36,"-8/3"],["B","ADD",37,36,"-22/3"],["B","ADD",37,36,"1"],["B","ADD",38,36,"-1/2"],["B","ADD",39,36,"-5/2"],["B","ADD",40,36,"1/4"],["B","ADD",41,36,"3/4"],["B","ADD",42,36,"-1/2"],["B","ADD",43,36,"-5/2"],["B","ADD",44,36,"1/4"],["B","ADD",45,36,"3/4"],["B","ADD",46,36,"-1/2"],["B","ADD",47,36,"-5/2"],["B","ADD",48,36,"1/4"],["B","ADD",49,36,"3/4"],["B","ADD",50,36,"1/2"],["B","ADD",51,36,"1/2"],["B","ADD",36,38,"-1"],["B","ADD",36,39,"2"],["B","ADD",36,40,"6"],["B","ADD",36,41,"4"],["B","ADD",36,42,"-1"],["B","ADD",36,43,"2"],["B","ADD",36,44,"6"],["B","ADD",36,45,"4"],["B","ADD",36,46,"-1"],["B","ADD",36,47,"2"],["B","ADD",36,48,"6"],["B","ADD",36,49,"4"],["B","ADD",36,50,"-1"],["B","ADD",38,37,"-1/2"],["B","ADD",39,37,"-2"],["B","ADD",40,37,"1/4"],["B","ADD",41,37,"1/2"],["B","ADD",42,37,"-1/2"],["B","ADD",43,37,"-2"],["B","ADD",44,37,"1/4"],["B","ADD",45,37,"1/2"],["B","ADD",46,37,"-1/2"],["B","ADD",47,37,"-2"],["B","ADD",48,37,"1/4"],["B","ADD",49,37,"1/2"],["B","ADD",50,37,"1/2"],["B","SCALE",37,"-1/2"],["B","ADD",37,39,"-1"],["B","ADD",37,40,"-4"],["B","ADD",37,41,"-2"],["B","ADD",37,43,"-1"],["B","ADD",37,44,"-4"],["B","ADD",37,45,"-2"],["B","ADD",37,47,"-1"],["B","ADD",37,48,"-4"],["B","ADD",37,49,"-2"],["B","ADD",37,50,"2"],["B","ADD",37,51,"-1"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",7,"-1"],["A","ADD",7,0,"1"],["A","ADD",1,0,"-2"],["A","ADD",2,0,"-2"],["A","ADD",3,0,"-2"],["A","ADD",4,0,"-2"],["A","ADD",5,0,"-2"],["A","ADD",6,0,"-2"],["A","ADD",19,18,"-2"],["A","ADD",20,18,"-2"],["A","ADD",21,18,"-2"],["A","ADD",22,18,"-2"],["A","ADD",23,18,"-2"],["A","ADD",24,18,"-2"],["A","ADD",25,18,"-1"],["A","SCALE",25,"-1"],["A","LAMBDA",7,1],["A","LAMBDA",25,-1],["A","SCALE",25,"-1"],["J",7,[7,0,18,25],[36,37,"-1","1/2"]],["A","LAMBDA",7,-1],["A","LAMBDA",25,1],["A","SCALE",25,"-1"],["A","ADD",0,7,"-1"],["A","ADD",18,25,"-1"],["A","SCALE",25,"-1"],["A","ADD",25,18,"1"],["A","ADD",24,18,"2"],["A","ADD",23,18,"2"],["A","ADD",22,18,"2"],["A","ADD",21,18,"2"],["A","ADD",20,18,"2"],["A","ADD",19,18,"2"],["A","ADD",6,0,"2"],["A","ADD",5,0,"2"],["A","ADD",4,0,"2"],["A","ADD",3,0,"2"],["A","ADD",2,0,"2"],["A","ADD",1,0,"2"],["A","ADD",7,0,"-1"],["A","SCALE",7,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"-2"],["B","ADD",37,51,"1"],["B","ADD",37,50,"-2"],["B","ADD",37,49,"2"],["B","ADD",37,48,"4"],["B","ADD",37,47,"1"],["B","ADD",37,45,"2"],["B","ADD",37,44,"4"],["B","ADD",37,43,"1"],["B","ADD",37,41,"2"],["B","ADD",37,40,"4"],["B","ADD",37,39,"1"],["B","SCALE",37,"-2"],["B","ADD",50,37,"-1/2"],["B","ADD",49,37,"-1/2"],["B","ADD",48,37,"-1/4"],["B","ADD",47,37,"2"],["B","ADD",46,37,"1/2"],["B","ADD",45,37,"-1/2"],["B","ADD",44,37,"-1/4"],["B","ADD",43,37,"2"],["B","ADD",42,37,"1/2"],["B","ADD",41,37,"-1/2"],["B","ADD",40,37,"-1/4"],["B","ADD",39,37,"2"],["B","ADD",38,37,"1/2"],["B","ADD",36,50,"1"],["B","ADD",36,49,"-4"],["B","ADD",36,48,"-6"],["B","ADD",36,47,"-2"],["B","ADD",36,46,"1"],["B","ADD",36,45,"-4"],["B","ADD",36,44,"-6"],["B","ADD",36,43,"-2"],["B","ADD",36,42,"1"],["B","ADD",36,41,"-4"],["B","ADD",36,40,"-6"],["B","ADD",36,39,"-2"],["B","ADD",36,38,"1"],["B","ADD",51,36,"-1/2"],["B","ADD",50,36,"-1/2"],["B","ADD",49,36,"-3/4"],["B","ADD",48,36,"-1/4"],["B","ADD",47,36,"5/2"],["B","ADD",46,36,"1/2"],["B","ADD",45,36,"-3/4"],["B","ADD",44,36,"-1/4"],["B","ADD",43,36,"5/2"],["B","ADD",42,36,"1/2"],["B","ADD",41,36,"-3/4"],["B","ADD",40,36,"-1/4"],["B","ADD",39,36,"5/2"],["B","ADD",38,36,"1/2"],["B","ADD",37,36,"-1"],["B","ADD",37,36,"41/15"],["B","ADD",38,36,"11/30"],["B","ADD",39,36,"29/30"],["B","ADD",40,36,"-11/60"],["B","ADD",41,36,"-7/60"],["B","ADD",42,36,"11/30"],["B","ADD",43,36,"29/30"],["B","ADD",44,36,"-11/60"],["B","ADD",45,36,"-7/60"],["B","ADD",46,36,"11/30"],["B","ADD",47,36,"29/30"],["B","ADD",48,36,"-11/60"],["B","ADD",49,36,"-7/60"],["B","ADD",50,36,"7/30"],["B","ADD",51,36,"11/30"],["B","SCALE",36,"-2/15"],["B","ADD",36,37,"55"],["B","ADD",36,38,"218"],["B","ADD",36,39,"-546"],["B","ADD",36,40,"-1748"],["B","ADD",36,41,"-1092"],["B","ADD",36,42,"218"],["B","ADD",36,43,"-546"],["B","ADD",36,44,"-1748"],["B","ADD",36,45,"-1092"],["B","ADD",36,46,"218"],["B","ADD",36,47,"-546"],["B","ADD",36,48,"-1748"],["B","ADD",36,49,"-1092"],["B","ADD",36,50,"-982"],["B","ADD",36,51,"218"],["B","IDLE_ONE",36,[8]],["B","ADD",36,51,"-218"],["B","ADD",36,50,"982"],["B","ADD",36,49,"1092"],["B","ADD",36,48,"1748"],["B","ADD",36,47,"546"],["B","ADD",36,46,"-218"],["B","ADD",36,45,"1092"],["B","ADD",36,44,"1748"],["B","ADD",36,43,"546"],["B","ADD",36,42,"-218"],["B","ADD",36,41,"1092"],["B","ADD",36,40,"1748"],["B","ADD",36,39,"546"],["B","ADD",36,38,"-218"],["B","ADD",36,37,"-55"],["B","SCALE",36,"-15/2"],["B","ADD",51,36,"-11/30"],["B","ADD",50,36,"-7/30"],["B","ADD",49,36,"7/60"],["B","ADD",48,36,"11/60"],["B","ADD",47,36,"-29/30"],["B","ADD",46,36,"-11/30"],["B","ADD",45,36,"7/60"],["B","ADD",44,36,"11/60"],["B","ADD",43,36,"-29/30"],["B","ADD",42,36,"-11/30"],["B","ADD",41,36,"7/60"],["B","ADD",40,36,"11/60"],["B","ADD",39,36,"-29/30"],["B","ADD",38,36,"-11/30"],["B","ADD",37,36,"-41/15"],["B","ADD",36,38,"409/150"],["B","ADD",37,38,"-559/75"],["B","ADD",39,38,"-791/300"],["B","ADD",40,38,"1/2"],["B","ADD",41,38,"191/600"],["B","ADD",42,38,"-1"],["B","ADD",43,38,"-791/300"],["B","ADD",44,38,"1/2"],["B","ADD",45,38,"191/600"],["B","ADD",46,38,"-1"],["B","ADD",47,38,"-791/300"],["B","ADD",48,38,"1/2"],["B","ADD",49,38,"191/600"],["B","ADD",50,38,"-191/300"],["B","ADD",51,38,"-1"],["B","SCALE",38,"1/75"],["B","ADD",38,37,"-2"],["B","ADD",38,39,"20"],["B","ADD",38,40,"64"],["B","ADD",38,41,"40"],["B","ADD",38,42,"-8"],["B","ADD",38,43,"20"],["B","ADD",38,44,"64"],["B","ADD",38,45,"40"],["B","ADD",38,46,"-8"],["B","ADD",38,47,"20"],["B","ADD",38,48,"64"],["B","ADD",38,49,"40"],["B","ADD",38,50,"36"],["B","ADD",38,51,"-8"],["B","IDLE_ONE",38,[8]],["B","ADD",38,51,"8"],["B","ADD",38,50,"-36"],["B","ADD",38,49,"-40"],["B","ADD",38,48,"-64"],["B","ADD",38,47,"-20"],["B","ADD",38,46,"8"],["B","ADD",38,45,"-40"],["B","ADD",38,44,"-64"],["B","ADD",38,43,"-20"],["B","ADD",38,42,"8"],["B","ADD",38,41,"-40"],["B","ADD",38,40,"-64"],["B","ADD",38,39,"-20"],["B","ADD",38,37,"2"],["B","SCALE",38,"75"],["B","ADD",51,38,"1"],["B","ADD",50,38,"191/300"],["B","ADD",49,38,"-191/600"],["B","ADD",48,38,"-1/2"],["B","ADD",47,38,"791/300"],["B","ADD",46,38,"1"],["B","ADD",45,38,"-191/600"],["B","ADD",44,38,"-1/2"],["B","ADD",43,38,"791/300"],["B","ADD",42,38,"1"],["B","ADD",41,38,"-191/600"],["B","ADD",40,38,"-1/2"],["B","ADD",39,38,"791/300"],["B","ADD",37,38,"559/75"],["B","ADD",36,38,"-409/150"],["B","IDLE_ODD",68,[8],-1],["B","IDLE_ODD",69,[8],-1],["B","ADD",37,36,"11/5"],["B","ADD",38,36,"1/10"],["B","ADD",39,36,"-1/10"],["B","ADD",40,36,"-1/20"],["B","ADD",41,36,"3/20"],["B","ADD",42,36,"1/10"],["B","ADD",43,36,"-1/10"],["B","ADD",44,36,"-1/20"],["B","ADD",45,36,"3/20"],["B","ADD",46,36,"1/10"],["B","ADD",47,36,"-1/10"],["B","ADD",48,36,"-1/20"],["B","ADD",49,36,"3/20"],["B","ADD",50,36,"1/10"],["B","ADD",51,36,"-1/10"],["B","SCALE",36,"1/5"],["B","ADD",36,37,"-1/2"],["B","ADD",36,39,"1"],["B","ADD",36,40,"4"],["B","ADD",36,41,"2"],["B","ADD",36,43,"1"],["B","ADD",36,44,"4"],["B","ADD",36,45,"2"],["B","ADD",36,47,"1"],["B","ADD",36,48,"4"],["B","ADD",36,49,"2"],["B","ADD",36,51,"1"],["B","ADD",38,37,"-1/2"],["B","ADD",39,37,"-2"],["B","ADD",40,37,"1/4"],["B","ADD",41,37,"1/2"],["B","ADD",42,37,"-1/2"],["B","ADD",43,37,"-2"],["B","ADD",44,37,"1/4"],["B","ADD",45,37,"1/2"],["B","ADD",46,37,"-1/2"],["B","ADD",47,37,"-2"],["B","ADD",48,37,"1/4"],["B","ADD",49,37,"1/2"],["B","ADD",50,37,"-1/2"],["B","ADD",51,37,"-2"],["B","SCALE",37,"-5/2"],["B","ADD",37,38,"-1"],["B","ADD",37,39,"-2"],["B","ADD",37,40,"-10"],["B","ADD",37,41,"-4"],["B","ADD",37,42,"-1"],["B","ADD",37,43,"-2"],["B","ADD",37,44,"-10"],["B","ADD",37,45,"-4"],["B","ADD",37,46,"-1"],["B","ADD",37,47,"-2"],["B","ADD",37,48,"-10"],["B","ADD",37,49,"-4"],["B","ADD",37,50,"-1"],["B","ADD",37,51,"-2"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","SCALE",8,"-1"],["A","ADD",8,0,"1"],["A","ADD",1,0,"-2"],["A","ADD",2,0,"-2"],["A","ADD",3,0,"-2"],["A","ADD",4,0,"-2"],["A","ADD",5,0,"-2"],["A","ADD",6,0,"-2"],["A","ADD",7,0,"-2"],["A","ADD",19,18,"-2"],["A","ADD",20,18,"-2"],["A","ADD",21,18,"-2"],["A","ADD",22,18,"-2"],["A","ADD",23,18,"-2"],["A","ADD",24,18,"-2"],["A","ADD",25,18,"-2"],["A","ADD",26,18,"-1"],["A","SCALE",26,"-1"],["A","LAMBDA",8,1],["A","LAMBDA",26,-1],["A","SCALE",26,"-1"],["J",8,[8,0,18,26],[36,37,"-1","1/2"]],["A","LAMBDA",8,-1],["A","LAMBDA",26,1],["A","SCALE",26,"-1"],["A","ADD",0,8,"-1"],["A","ADD",18,26,"-1"],["A","SCALE",26,"-1"],["A","ADD",26,18,"1"],["A","ADD",25,18,"2"],["A","ADD",24,18,"2"],["A","ADD",23,18,"2"],["A","ADD",22,18,"2"],["A","ADD",21,18,"2"],["A","ADD",20,18,"2"],["A","ADD",19,18,"2"],["A","ADD",7,0,"2"],["A","ADD",6,0,"2"],["A","ADD",5,0,"2"],["A","ADD",4,0,"2"],["A","ADD",3,0,"2"],["A","ADD",2,0,"2"],["A","ADD",1,0,"2"],["A","ADD",8,0,"-1"],["A","SCALE",8,"-1"],["A","ADD",1,0,"-2"],["A","IDLE_ONE",1,[2,3,4,5,6,7,8]],["A","ADD",1,0,"2"],["A","ADD",2,0,"-2"],["A","IDLE_ONE",2,[3,4,5,6,7,8]],["A","ADD",2,0,"2"],["A","ADD",3,0,"-2"],["A","IDLE_ONE",3,[4,5,6,7,8]],["A","ADD",3,0,"2"],["A","ADD",4,0,"-2"],["A","IDLE_ONE",4,[5,6,7,8]],["A","ADD",4,0,"2"],["A","ADD",5,0,"-2"],["A","IDLE_ONE",5,[6,7,8]],["A","ADD",5,0,"2"],["A","ADD",6,0,"-2"],["A","IDLE_ONE",6,[7,8]],["A","ADD",6,0,"2"],["A","ADD",7,0,"-2"],["A","IDLE_ONE",7,[8]],["A","ADD",7,0,"2"],["A","ADD",19,18,"-2"],["A","IDLE_ONE",19,[2,3,4,5,6,7,8]],["A","ADD",19,18,"2"],["A","ADD",20,18,"-2"],["A","IDLE_ONE",20,[3,4,5,6,7,8]],["A","ADD",20,18,"2"],["A","ADD",21,18,"-2"],["A","IDLE_ONE",21,[4,5,6,7,8]],["A","ADD",21,18,"2"],["A","ADD",22,18,"-2"],["A","IDLE_ONE",22,[5,6,7,8]],["A","ADD",22,18,"2"],["A","ADD",23,18,"-2"],["A","IDLE_ONE",23,[6,7,8]],["A","ADD",23,18,"2"],["A","ADD",24,18,"-2"],["A","IDLE_ONE",24,[7,8]],["A","ADD",24,18,"2"],["A","ADD",25,18,"-2"],["A","IDLE_ONE",25,[8]],["A","ADD",25,18,"2"],["A","SWAP",0,18],["A","ADD",19,0,"-2"],["A","ADD",20,0,"-2"],["A","ADD",21,0,"-2"],["A","ADD",22,0,"-2"],["A","ADD",23,0,"-2"],["A","ADD",24,0,"-2"],["A","ADD",25,0,"-2"],["A","ADD",26,0,"-2"],["A","SWAP",1,19],["A","ADD",1,20,"-1"],["A","ADD",1,21,"1"],["A","ADD",1,22,"-1"],["A","ADD",1,23,"1"],["A","ADD",1,24,"-1"],["A","ADD",1,25,"1"],["A","ADD",1,26,"-1"],["A","ADD",1,27,"-1"],["A","ADD",1,28,"1"],["A","ADD",1,29,"-1"],["A","ADD",1,30,"1"],["A","ADD",1,31,"-1"],["A","ADD",1,32,"1"],["A","ADD",1,33,"-1"],["A","ADD",1,34,"1"],["A","ADD",1,35,"-1"],["A","LAMBDA",1,1],["A","QUERY",0,1,-1],["A","LAMBDA",1,-1],["A","ADD",0,1,"-1"],["A","ADD",1,35,"1"],["A","ADD",1,34,"-1"],["A","ADD",1,33,"1"],["A","ADD",1,32,"-1"],["A","ADD",1,31,"1"],["A","ADD",1,30,"-1"],["A","ADD",1,29,"1"],["A","ADD",1,28,"-1"],["A","ADD",1,27,"1"],["A","ADD",1,26,"1"],["A","ADD",1,25,"-1"],["A","ADD",1,24,"1"],["A","ADD",1,23,"-1"],["A","ADD",1,22,"1"],["A","ADD",1,21,"-1"],["A","ADD",1,20,"1"],["A","SWAP",1,19],["A","ADD",26,0,"2"],["A","ADD",25,0,"2"],["A","ADD",24,0,"2"],["A","ADD",23,0,"2"],["A","ADD",22,0,"2"],["A","ADD",21,0,"2"],["A","ADD",20,0,"2"],["A","ADD",19,0,"2"],["A","SWAP",0,18],["A","SWAP",0,19],["A","ADD",20,0,"-1"],["A","ADD",21,0,"-1"],["A","ADD",22,0,"-1"],["A","ADD",23,0,"-1"],["A","ADD",24,0,"-1"],["A","ADD",25,0,"-1"],["A","ADD",26,0,"-1"],["A","ADD",27,0,"-1"],["A","ADD",28,0,"-1"],["A","ADD",29,0,"-1"],["A","ADD",30,0,"-1"],["A","ADD",31,0,"-1"],["A","ADD",32,0,"-1"],["A","ADD",33,0,"-1"],["A","ADD",34,0,"-1"],["A","ADD",35,0,"-1"],["A","ADD",1,2,"-1"],["A","ADD",1,3,"1"],["A","ADD",1,4,"-1"],["A","ADD",1,5,"1"],["A","ADD",1,6,"-1"],["A","ADD",1,7,"1"],["A","ADD",1,8,"-1"],["A","ADD",1,9,"-1"],["A","ADD",1,10,"1"],["A","ADD",1,11,"-1"],["A","ADD",1,12,"1"],["A","ADD",1,13,"-1"],["A","ADD",1,14,"1"],["A","ADD",1,15,"-1"],["A","ADD",1,16,"1"],["A","ADD",1,17,"-1"],["A","ADD",1,18,"1"],["A","LAMBDA",1,1],["A","QUERY",0,1,-1],["A","LAMBDA",1,-1],["A","ADD",0,1,"-1"],["A","ADD",1,18,"-1"],["A","ADD",1,17,"1"],["A","ADD",1,16,"-1"],["A","ADD",1,15,"1"],["A","ADD",1,14,"-1"],["A","ADD",1,13,"1"],["A","ADD",1,12,"-1"],["A","ADD",1,11,"1"],["A","ADD",1,10,"-1"],["A","ADD",1,9,"1"],["A","ADD",1,8,"1"],["A","ADD",1,7,"-1"],["A","ADD",1,6,"1"],["A","ADD",1,5,"-1"],["A","ADD",1,4,"1"],["A","ADD",1,3,"-1"],["A","ADD",1,2,"1"],["A","ADD",35,0,"1"],["A","ADD",34,0,"1"],["A","ADD",33,0,"1"],["A","ADD",32,0,"1"],["A","ADD",31,0,"1"],["A","ADD",30,0,"1"],["A","ADD",29,0,"1"],["A","ADD",28,0,"1"],["A","ADD",27,0,"1"],["A","ADD",26,0,"1"],["A","ADD",25,0,"1"],["A","ADD",24,0,"1"],["A","ADD",23,0,"1"],["A","ADD",22,0,"1"],["A","ADD",21,0,"1"],["A","ADD",20,0,"1"],["A","SWAP",0,19],["A","ADD",1,0,"-2"],["A","ADD",2,0,"-2"],["A","ADD",3,0,"-2"],["A","ADD",4,0,"-2"],["A","ADD",5,0,"-2"],["A","ADD",6,0,"-2"],["A","ADD",7,0,"-2"],["A","ADD",8,0,"-2"],["A","ADD",19,0,"1"],["A","ADD",20,0,"1"],["A","ADD",21,0,"1"],["A","ADD",22,0,"1"],["A","ADD",23,0,"1"],["A","ADD",24,0,"1"],["A","ADD",25,0,"1"],["A","ADD",26,0,"1"],["A","ADD",27,0,"1"],["A","ADD",28,0,"1"],["A","ADD",29,0,"1"],["A","ADD",30,0,"1"],["A","ADD",31,0,"1"],["A","ADD",32,0,"1"],["A","ADD",33,0,"1"],["A","ADD",34,0,"1"],["A","ADD",35,0,"1"],["A","ADD",1,2,"-1"],["A","ADD",1,3,"1"],["A","ADD",1,4,"-1"],["A","ADD",1,5,"1"],["A","ADD",1,6,"-1"],["A","ADD",1,7,"1"],["A","ADD",1,8,"-1"],["A","ADD",1,9,"-1"],["A","ADD",1,10,"1"],["A","ADD",1,11,"-1"],["A","ADD",1,12,"1"],["A","ADD",1,13,"-1"],["A","ADD",1,14,"1"],["A","ADD",1,15,"-1"],["A","ADD",1,16,"1"],["A","ADD",1,17,"-1"],["A","LAMBDA",1,1],["A","QUERY",0,1,-1],["A","LAMBDA",1,-1],["A","ADD",0,1,"-1"],["A","ADD",1,17,"1"],["A","ADD",1,16,"-1"],["A","ADD",1,15,"1"],["A","ADD",1,14,"-1"],["A","ADD",1,13,"1"],["A","ADD",1,12,"-1"],["A","ADD",1,11,"1"],["A","ADD",1,10,"-1"],["A","ADD",1,9,"1"],["A","ADD",1,8,"1"],["A","ADD",1,7,"-1"],["A","ADD",1,6,"1"],["A","ADD",1,5,"-1"],["A","ADD",1,4,"1"],["A","ADD",1,3,"-1"],["A","ADD",1,2,"1"],["A","ADD",35,0,"-1"],["A","ADD",34,0,"-1"],["A","ADD",33,0,"-1"],["A","ADD",32,0,"-1"],["A","ADD",31,0,"-1"],["A","ADD",30,0,"-1"],["A","ADD",29,0,"-1"],["A","ADD",28,0,"-1"],["A","ADD",27,0,"-1"],["A","ADD",26,0,"-1"],["A","ADD",25,0,"-1"],["A","ADD",24,0,"-1"],["A","ADD",23,0,"-1"],["A","ADD",22,0,"-1"],["A","ADD",21,0,"-1"],["A","ADD",20,0,"-1"],["A","ADD",19,0,"-1"],["A","ADD",8,0,"2"],["A","ADD",7,0,"2"],["A","ADD",6,0,"2"],["A","ADD",5,0,"2"],["A","ADD",4,0,"2"],["A","ADD",3,0,"2"],["A","ADD",2,0,"2"],["A","ADD",1,0,"2"],["A","SWAP",0,1],["A","ADD",2,0,"-1"],["A","ADD",3,0,"-1"],["A","ADD",4,0,"-1"],["A","ADD",5,0,"-1"],["A","ADD",6,0,"-1"],["A","ADD",7,0,"-1"],["A","ADD",8,0,"-1"],["A","ADD",9,0,"-1"],["A","ADD",10,0,"-1"],["A","ADD",11,0,"-1"],["A","ADD",12,0,"-1"],["A","ADD",13,0,"-1"],["A","ADD",14,0,"-1"],["A","ADD",15,0,"-1"],["A","ADD",16,0,"-1"],["A","ADD",17,0,"-1"],["A","LAMBDA",1,1],["A","QUERY",0,1,-1],["A","LAMBDA",1,-1],["A","ADD",0,1,"-1"],["A","ADD",17,0,"1"],["A","ADD",16,0,"1"],["A","ADD",15,0,"1"],["A","ADD",14,0,"1"],["A","ADD",13,0,"1"],["A","ADD",12,0,"1"],["A","ADD",11,0,"1"],["A","ADD",10,0,"1"],["A","ADD",9,0,"1"],["A","ADD",8,0,"1"],["A","ADD",7,0,"1"],["A","ADD",6,0,"1"],["A","ADD",5,0,"1"],["A","ADD",4,0,"1"],["A","ADD",3,0,"1"],["A","ADD",2,0,"1"],["A","SWAP",0,1],["A","ADD",10,0,"2"],["A","IDLE_ONE",10,[9]],["A","ADD",10,0,"-2"],["A","ADD",11,0,"2"],["A","IDLE_ONE",11,[9,10]],["A","ADD",11,0,"-2"],["A","ADD",12,0,"2"],["A","IDLE_ONE",12,[9,10,11]],["A","ADD",12,0,"-2"],["A","ADD",13,0,"2"],["A","IDLE_ONE",13,[9,10,11,12]],["A","ADD",13,0,"-2"],["A","ADD",14,0,"2"],["A","IDLE_ONE",14,[9,10,11,12,13]],["A","ADD",14,0,"-2"],["A","ADD",15,0,"2"],["A","IDLE_ONE",15,[9,10,11,12,13,14]],["A","ADD",15,0,"-2"],["A","ADD",16,0,"2"],["A","IDLE_ONE",16,[9,10,11,12,13,14,15]],["A","ADD",16,0,"-2"],["A","ADD",17,0,"2"],["A","IDLE_ONE",17,[9,10,11,12,13,14,15,16]],["A","ADD",17,0,"-2"],["A","ADD",28,18,"2"],["A","IDLE_ONE",28,[9]],["A","ADD",28,18,"-2"],["A","ADD",29,18,"2"],["A","IDLE_ONE",29,[9,10]],["A","ADD",29,18,"-2"],["A","ADD",30,18,"2"],["A","IDLE_ONE",30,[9,10,11]],["A","ADD",30,18,"-2"],["A","ADD",31,18,"2"],["A","IDLE_ONE",31,[9,10,11,12]],["A","ADD",31,18,"-2"],["A","ADD",32,18,"2"],["A","IDLE_ONE",32,[9,10,11,12,13]],["A","ADD",32,18,"-2"],["A","ADD",33,18,"2"],["A","IDLE_ONE",33,[9,10,11,12,13,14]],["A","ADD",33,18,"-2"],["A","ADD",34,18,"2"],["A","IDLE_ONE",34,[9,10,11,12,13,14,15]],["A","ADD",34,18,"-2"],["A","ADD",35,18,"2"],["A","IDLE_ONE",35,[9,10,11,12,13,14,15,16]],["A","ADD",35,18,"-2"],["B","LAMBDA",36,-1],["B","ADD",37,36,"1"],["B","SCALE",37,"-2"],["B","ADD",37,51,"2"],["B","ADD",37,50,"1"],["B","ADD",37,49,"4"],["B","ADD",37,48,"10"],["B","ADD",37,47,"2"],["B","ADD",37,46,"1"],["B","ADD",37,45,"4"],["B","ADD",37,44,"10"],["B","ADD",37,43,"2"],["B","ADD",37,42,"1"],["B","ADD",37,41,"4"],["B","ADD",37,40,"10"],["B","ADD",37,39,"2"],["B","ADD",37,38,"1"],["B","SCALE",37,"-2/5"],["B","ADD",51,37,"2"],["B","ADD",50,37,"1/2"],["B","ADD",49,37,"-1/2"],["B","ADD",48,37,"-1/4"],["B","ADD",47,37,"2"],["B","ADD",46,37,"1/2"],["B","ADD",45,37,"-1/2"],["B","ADD",44,37,"-1/4"],["B","ADD",43,37,"2"],["B","ADD",42,37,"1/2"],["B","ADD",41,37,"-1/2"],["B","ADD",40,37,"-1/4"],["B","ADD",39,37,"2"],["B","ADD",38,37,"1/2"],["B","ADD",36,51,"-1"],["B","ADD",36,49,"-2"],["B","ADD",36,48,"-4"],["B","ADD",36,47,"-1"],["B","ADD",36,45,"-2"],["B","ADD",36,44,"-4"],["B","ADD",36,43,"-1"],["B","ADD",36,41,"-2"],["B","ADD",36,40,"-4"],["B","ADD",36,39,"-1"],["B","ADD",36,37,"1/2"],["B","SCALE",36,"5"],["B","ADD",51,36,"1/10"],["B","ADD",50,36,"-1/10"],["B","ADD",49,36,"-3/20"],["B","ADD",48,36,"1/20"],["B","ADD",47,36,"1/10"],["B","ADD",46,36,"-1/10"],["B","ADD",45,36,"-3/20"],["B","ADD",44,36,"1/20"],["B","ADD",43,36,"1/10"],["B","ADD",42,36,"-1/10"],["B","ADD",41,36,"-3/20"],["B","ADD",40,36,"1/20"],["B","ADD",39,36,"1/10"],["B","ADD",38,36,"-1/10"],["B","ADD",37,36,"-11/5"],["B","ADD",37,36,"41/15"],["B","ADD",38,36,"7/30"],["B","ADD",39,36,"11/30"],["B","SCALE",36,"-2/15"],["B","ADD",36,37,"-3"],["B","ADD",36,38,"62"],["B","ADD",36,39,"-14"],["B","IDLE_ONE",36,[2,3,4,5,6,7,8]],["B","ADD",36,39,"14"],["B","ADD",36,38,"-62"],["B","ADD",36,37,"3"],["B","SCALE",36,"-15/2"],["B","ADD",39,36,"-11/30"],["B","ADD",38,36,"-7/30"],["B","ADD",37,36,"-41/15"],["B","ADD",36,38,"13/3"],["B","ADD",37,38,"-71/6"],["B","ADD",39,38,"-19/12"],["B","SCALE",38,"1/3"],["B","ADD",38,37,"2"],["B","ADD",38,39,"8"],["B","IDLE_ONE",38,[2,3,4,5,6,7,8]],["B","ADD",38,39,"-8"],["B","ADD",38,37,"-2"],["B","SCALE",38,"3"],["B","ADD",39,38,"19/12"],["B","ADD",37,38,"71/6"],["B","ADD",36,38,"-13/3"],["B","ADD",37,36,"41/15"],["B","ADD",38,36,"11/30"],["B","ADD",39,36,"29/30"],["B","ADD",40,36,"-1/15"],["B","ADD",41,36,"-1/6"],["B","SCALE",36,"2/15"],["B","ADD",36,37,"6"],["B","ADD",36,38,"22"],["B","ADD",36,39,"-56"],["B","ADD",36,40,"-68"],["B","ADD",36,41,"-156"],["B","IDLE_ONE",36,[3,4,5,6,7,8]],["B","ADD",36,41,"156"],["B","ADD",36,40,"68"],["B","ADD",36,39,"56"],["B","ADD",36,38,"-22"],["B","ADD",36,37,"-6"],["B","SCALE",36,"15/2"],["B","ADD",41,36,"1/6"],["B","ADD",40,36,"1/15"],["B","ADD",39,36,"-29/30"],["B","ADD",38,36,"-11/30"],["B","ADD",37,36,"-41/15"],["B","ADD",36,37,"1"],["B","SWAP",36,37],["B","ADD",36,37,"-1"],["B","SWAP",36,37],["B","ADD",36,37,"-1"],["B","SWAP",36,37],["B","ADD",36,37,"-1"],["B","SWAP",36,37],["B","ADD",36,37,"-2"],["B","SWAP",36,37],["B","ADD",36,37,"-1"],["B","SWAP",36,37],["B","ADD",36,37,"-3"],["B","SWAP",36,37],["B","ADD",36,37,"-2"],["B","SWAP",36,37],["B","ADD",36,37,"-2"],["B","SWAP",36,37],["B","SWAP",36,38],["B","ADD",36,38,"-30"],["B","SWAP",36,38],["B","ADD",36,38,"-2"],["B","SWAP",36,38],["B","SWAP",36,39],["B","ADD",36,39,"-161"],["B","SWAP",36,39],["B","ADD",36,40,"1"],["B","SWAP",36,40],["B","ADD",36,40,"-1"],["B","SWAP",36,40],["B","ADD",36,40,"-10"],["B","SWAP",36,40],["B","SWAP",36,41],["B","ADD",36,41,"-28"],["B","SWAP",36,41],["B","SCALE",36,"4"],["B","ADD",36,37,"-93"],["B","ADD",36,38,"-347"],["B","ADD",36,39,"10"],["B","ADD",36,40,"12"],["B","ADD",36,41,"28"],["B","IDLE_ONE",36,[3,4,5,6,7,8]],["B","ADD",36,41,"-28"],["B","ADD",36,40,"-12"],["B","ADD",36,39,"-10"],["B","ADD",36,38,"347"],["B","ADD",36,37,"93"],["B","SCALE",36,"1/4"],["B","SWAP",36,41],["B","ADD",36,41,"28"],["B","SWAP",36,41],["B","SWAP",36,40],["B","ADD",36,40,"10"],["B","SWAP",36,40],["B","ADD",36,40,"1"],["B","SWAP",36,40],["B","ADD",36,40,"-1"],["B","SWAP",36,39],["B","ADD",36,39,"161"],["B","SWAP",36,39],["B","SWAP",36,38],["B","ADD",36,38,"2"],["B","SWAP",36,38],["B","ADD",36,38,"30"],["B","SWAP",36,38],["B","SWAP",36,37],["B","ADD",36,37,"2"],["B","SWAP",36,37],["B","ADD",36,37,"2"],["B","SWAP",36,37],["B","ADD",36,37,"3"],["B","SWAP",36,37],["B","ADD",36,37,"1"],["B","SWAP",36,37],["B","ADD",36,37,"2"],["B","SWAP",36,37],["B","ADD",36,37,"1"],["B","SWAP",36,37],["B","ADD",36,37,"1"],["B","SWAP",36,37],["B","ADD",36,37,"1"],["B","SWAP",36,37],["B","ADD",36,37,"-1"],["B","ADD",37,36,"41/15"],["B","ADD",38,36,"11/30"],["B","ADD",39,36,"29/30"],["B","ADD",40,36,"-11/60"],["B","ADD",41,36,"-7/60"],["B","ADD",42,36,"7/30"],["B","ADD",43,36,"11/30"],["B","SCALE",36,"-2/15"],["B","ADD",36,37,"55"],["B","ADD",36,38,"218"],["B","ADD",36,39,"-546"],["B","ADD",36,40,"-1748"],["B","ADD",36,41,"-1092"],["B","ADD",36,42,"-982"],["B","ADD",36,43,"218"],["B","IDLE_ONE",36,[4,5,6,7,8]],["B","ADD",36,43,"-218"],["B","ADD",36,42,"982"],["B","ADD",36,41,"1092"],["B","ADD",36,40,"1748"],["B","ADD",36,39,"546"],["B","ADD",36,38,"-218"],["B","ADD",36,37,"-55"],["B","SCALE",36,"-15/2"],["B","ADD",43,36,"-11/30"],["B","ADD",42,36,"-7/30"],["B","ADD",41,36,"7/60"],["B","ADD",40,36,"11/60"],["B","ADD",39,36,"-29/30"],["B","ADD",38,36,"-11/30"],["B","ADD",37,36,"-41/15"],["B","ADD",36,38,"409/150"],["B","ADD",37,38,"-559/75"],["B","ADD",39,38,"-791/300"],["B","ADD",40,38,"1/2"],["B","ADD",41,38,"191/600"],["B","ADD",42,38,"-191/300"],["B","ADD",43,38,"-1"],["B","SCALE",38,"1/75"],["B","ADD",38,37,"-2"],["B","ADD",38,39,"20"],["B","ADD",38,40,"64"],["B","ADD",38,41,"40"],["B","ADD",38,42,"36"],["B","ADD",38,43,"-8"],["B","IDLE_ONE",38,[4,5,6,7,8]],["B","ADD",38,43,"8"],["B","ADD",38,42,"-36"],["B","ADD",38,41,"-40"],["B","ADD",38,40,"-64"],["B","ADD",38,39,"-20"],["B","ADD",38,37,"2"],["B","SCALE",38,"75"],["B","ADD",43,38,"1"],["B","ADD",42,38,"191/300"],["B","ADD",41,38,"-191/600"],["B","ADD",40,38,"-1/2"],["B","ADD",39,38,"791/300"],["B","ADD",37,38,"559/75"],["B","ADD",36,38,"-409/150"],["B","ADD",37,36,"41/15"],["B","ADD",38,36,"11/30"],["B","ADD",39,36,"29/30"],["B","ADD",40,36,"-11/60"],["B","ADD",41,36,"-7/60"],["B","ADD",42,36,"11/30"],["B","ADD",43,36,"29/30"],["B","ADD",44,36,"-1/15"],["B","ADD",45,36,"-1/6"],["B","SCALE",36,"2/15"],["B","ADD",36,37,"55"],["B","ADD",36,38,"218"],["B","ADD",36,39,"-546"],["B","ADD",36,40,"-1748"],["B","ADD",36,41,"-1092"],["B","ADD",36,42,"218"],["B","ADD",36,43,"-546"],["B","ADD",36,44,"-656"],["B","ADD",36,45,"-1528"],["B","IDLE_ONE",36,[5,6,7,8]],["B","ADD",36,45,"1528"],["B","ADD",36,44,"656"],["B","ADD",36,43,"546"],["B","ADD",36,42,"-218"],["B","ADD",36,41,"1092"],["B","ADD",36,40,"1748"],["B","ADD",36,39,"546"],["B","ADD",36,38,"-218"],["B","ADD",36,37,"-55"],["B","SCALE",36,"15/2"],["B","ADD",45,36,"1/6"],["B","ADD",44,36,"1/15"],["B","ADD",43,36,"-29/30"],["B","ADD",42,36,"-11/30"],["B","ADD",41,36,"7/60"],["B","ADD",40,36,"11/60"],["B","ADD",39,36,"-29/30"],["B","ADD",38,36,"-11/30"],["B","ADD",37,36,"-41/15"],["B","ADD",36,38,"409/150"],["B","ADD",37,38,"-559/75"],["B","ADD",39,38,"-791/300"],["B","ADD",40,38,"1/2"],["B","ADD",41,38,"191/600"],["B","ADD",42,38,"-1"],["B","ADD",43,38,"-791/300"],["B","ADD",44,38,"109/600"],["B","ADD",45,38,"91/200"],["B","SCALE",38,"-1/75"],["B","ADD",38,37,"-2"],["B","ADD",38,39,"20"],["B","ADD",38,40,"64"],["B","ADD",38,41,"40"],["B","ADD",38,42,"-8"],["B","ADD",38,43,"20"],["B","ADD",38,44,"24"],["B","ADD",38,45,"56"],["B","IDLE_ONE",38,[5,6,7,8]],["B","ADD",38,45,"-56"],["B","ADD",38,44,"-24"],["B","ADD",38,43,"-20"],["B","ADD",38,42,"8"],["B","ADD",38,41,"-40"],["B","ADD",38,40,"-64"],["B","ADD",38,39,"-20"],["B","ADD",38,37,"2"],["B","SCALE",38,"-75"],["B","ADD",45,38,"-91/200"],["B","ADD",44,38,"-109/600"],["B","ADD",43,38,"791/300"],["B","ADD",42,38,"1"],["B","ADD",41,38,"-191/600"],["B","ADD",40,38,"-1/2"],["B","ADD",39,38,"791/300"],["B","ADD",37,38,"559/75"],["B","ADD",36,38,"-409/150"],["B","ADD",37,36,"41/15"],["B","ADD",38,36,"11/30"],["B","ADD",39,36,"29/30"],["B","ADD",40,36,"-11/60"],["B","ADD",41,36,"-7/60"],["B","ADD",42,36,"11/30"],["B","ADD",43,36,"29/30"],["B","ADD",44,36,"-11/60"],["B","ADD",45,36,"-7/60"],["B","ADD",46,36,"7/30"],["B","ADD",47,36,"11/30"],["B","SCALE",36,"-2/15"],["B","ADD",36,37,"55"],["B","ADD",36,38,"218"],["B","ADD",36,39,"-546"],["B","ADD",36,40,"-1748"],["B","ADD",36,41,"-1092"],["B","ADD",36,42,"218"],["B","ADD",36,43,"-546"],["B","ADD",36,44,"-1748"],["B","ADD",36,45,"-1092"],["B","ADD",36,46,"-982"],["B","ADD",36,47,"218"],["B","IDLE_ONE",36,[6,7,8]],["B","ADD",36,47,"-218"],["B","ADD",36,46,"982"],["B","ADD",36,45,"1092"],["B","ADD",36,44,"1748"],["B","ADD",36,43,"546"],["B","ADD",36,42,"-218"],["B","ADD",36,41,"1092"],["B","ADD",36,40,"1748"],["B","ADD",36,39,"546"],["B","ADD",36,38,"-218"],["B","ADD",36,37,"-55"],["B","SCALE",36,"-15/2"],["B","ADD",47,36,"-11/30"],["B","ADD",46,36,"-7/30"],["B","ADD",45,36,"7/60"],["B","ADD",44,36,"11/60"],["B","ADD",43,36,"-29/30"],["B","ADD",42,36,"-11/30"],["B","ADD",41,36,"7/60"],["B","ADD",40,36,"11/60"],["B","ADD",39,36,"-29/30"],["B","ADD",38,36,"-11/30"],["B","ADD",37,36,"-41/15"],["B","ADD",36,38,"409/150"],["B","ADD",37,38,"-559/75"],["B","ADD",39,38,"-791/300"],["B","ADD",40,38,"1/2"],["B","ADD",41,38,"191/600"],["B","ADD",42,38,"-1"],["B","ADD",43,38,"-791/300"],["B","ADD",44,38,"1/2"],["B","ADD",45,38,"191/600"],["B","ADD",46,38,"-191/300"],["B","ADD",47,38,"-1"],["B","SCALE",38,"1/75"],["B","ADD",38,37,"-2"],["B","ADD",38,39,"20"],["B","ADD",38,40,"64"],["B","ADD",38,41,"40"],["B","ADD",38,42,"-8"],["B","ADD",38,43,"20"],["B","ADD",38,44,"64"],["B","ADD",38,45,"40"],["B","ADD",38,46,"36"],["B","ADD",38,47,"-8"],["B","IDLE_ONE",38,[6,7,8]],["B","ADD",38,47,"8"],["B","ADD",38,46,"-36"],["B","ADD",38,45,"-40"],["B","ADD",38,44,"-64"],["B","ADD",38,43,"-20"],["B","ADD",38,42,"8"],["B","ADD",38,41,"-40"],["B","ADD",38,40,"-64"],["B","ADD",38,39,"-20"],["B","ADD",38,37,"2"],["B","SCALE",38,"75"],["B","ADD",47,38,"1"],["B","ADD",46,38,"191/300"],["B","ADD",45,38,"-191/600"],["B","ADD",44,38,"-1/2"],["B","ADD",43,38,"791/300"],["B","ADD",42,38,"1"],["B","ADD",41,38,"-191/600"],["B","ADD",40,38,"-1/2"],["B","ADD",39,38,"791/300"],["B","ADD",37,38,"559/75"],["B","ADD",36,38,"-409/150"],["B","ADD",37,36,"41/15"],["B","ADD",38,36,"11/30"],["B","ADD",39,36,"29/30"],["B","ADD",40,36,"-11/60"],["B","ADD",41,36,"-7/60"],["B","ADD",42,36,"11/30"],["B","ADD",43,36,"29/30"],["B","ADD",44,36,"-11/60"],["B","ADD",45,36,"-7/60"],["B","ADD",46,36,"11/30"],["B","ADD",47,36,"29/30"],["B","ADD",48,36,"-1/15"],["B","ADD",49,36,"-1/6"],["B","SCALE",36,"2/15"],["B","ADD",36,37,"55"],["B","ADD",36,38,"218"],["B","ADD",36,39,"-546"],["B","ADD",36,40,"-1748"],["B","ADD",36,41,"-1092"],["B","ADD",36,42,"218"],["B","ADD",36,43,"-546"],["B","ADD",36,44,"-1748"],["B","ADD",36,45,"-1092"],["B","ADD",36,46,"218"],["B","ADD",36,47,"-546"],["B","ADD",36,48,"-656"],["B","ADD",36,49,"-1528"],["B","IDLE_ONE",36,[7,8]],["B","ADD",36,49,"1528"],["B","ADD",36,48,"656"],["B","ADD",36,47,"546"],["B","ADD",36,46,"-218"],["B","ADD",36,45,"1092"],["B","ADD",36,44,"1748"],["B","ADD",36,43,"546"],["B","ADD",36,42,"-218"],["B","ADD",36,41,"1092"],["B","ADD",36,40,"1748"],["B","ADD",36,39,"546"],["B","ADD",36,38,"-218"],["B","ADD",36,37,"-55"],["B","SCALE",36,"15/2"],["B","ADD",49,36,"1/6"],["B","ADD",48,36,"1/15"],["B","ADD",47,36,"-29/30"],["B","ADD",46,36,"-11/30"],["B","ADD",45,36,"7/60"],["B","ADD",44,36,"11/60"],["B","ADD",43,36,"-29/30"],["B","ADD",42,36,"-11/30"],["B","ADD",41,36,"7/60"],["B","ADD",40,36,"11/60"],["B","ADD",39,36,"-29/30"],["B","ADD",38,36,"-11/30"],["B","ADD",37,36,"-41/15"],["B","ADD",36,38,"409/150"],["B","ADD",37,38,"-559/75"],["B","ADD",39,38,"-791/300"],["B","ADD",40,38,"1/2"],["B","ADD",41,38,"191/600"],["B","ADD",42,38,"-1"],["B","ADD",43,38,"-791/300"],["B","ADD",44,38,"1/2"],["B","ADD",45,38,"191/600"],["B","ADD",46,38,"-1"],["B","ADD",47,38,"-791/300"],["B","ADD",48,38,"109/600"],["B","ADD",49,38,"91/200"],["B","SCALE",38,"-1/75"],["B","ADD",38,37,"-2"],["B","ADD",38,39,"20"],["B","ADD",38,40,"64"],["B","ADD",38,41,"40"],["B","ADD",38,42,"-8"],["B","ADD",38,43,"20"],["B","ADD",38,44,"64"],["B","ADD",38,45,"40"],["B","ADD",38,46,"-8"],["B","ADD",38,47,"20"],["B","ADD",38,48,"24"],["B","ADD",38,49,"56"],["B","IDLE_ONE",38,[7,8]],["B","ADD",38,49,"-56"],["B","ADD",38,48,"-24"],["B","ADD",38,47,"-20"],["B","ADD",38,46,"8"],["B","ADD",38,45,"-40"],["B","ADD",38,44,"-64"],["B","ADD",38,43,"-20"],["B","ADD",38,42,"8"],["B","ADD",38,41,"-40"],["B","ADD",38,40,"-64"],["B","ADD",38,39,"-20"],["B","ADD",38,37,"2"],["B","SCALE",38,"-75"],["B","ADD",49,38,"-91/200"],["B","ADD",48,38,"-109/600"],["B","ADD",47,38,"791/300"],["B","ADD",46,38,"1"],["B","ADD",45,38,"-191/600"],["B","ADD",44,38,"-1/2"],["B","ADD",43,38,"791/300"],["B","ADD",42,38,"1"],["B","ADD",41,38,"-191/600"],["B","ADD",40,38,"-1/2"],["B","ADD",39,38,"791/300"],["B","ADD",37,38,"559/75"],["B","ADD",36,38,"-409/150"],["B","ADD",37,36,"41/16"],["B","ADD",52,36,"1/16"],["B","ADD",53,36,"9/32"],["B","SCALE",36,"-1/16"],["B","ADD",36,52,"-10"],["B","ADD",36,53,"6"],["B","IDLE_ONE",36,[16,15,14,13,12,11,10,9]],["B","ADD",36,53,"-6"],["B","ADD",36,52,"10"],["B","SCALE",36,"-16"],["B","ADD",53,36,"-9/32"],["B","ADD",52,36,"-1/16"],["B","ADD",37,36,"-41/16"],["B","ADD",36,37,"7/18"],["B","ADD",52,37,"-1/36"],["B","ADD",53,37,"-1/9"],["B","SCALE",37,"-1/18"],["B","ADD",37,52,"-22"],["B","ADD",37,53,"14"],["B","IDLE_ONE",37,[16,15,14,13,12,11,10,9]],["B","ADD",37,53,"-14"],["B","ADD",37,52,"22"],["B","SCALE",37,"-18"],["B","ADD",53,37,"1/9"],["B","ADD",52,37,"1/36"],["B","ADD",36,37,"-7/18"],["B","ADD",37,36,"41/16"],["B","ADD",52,36,"11/64"],["B","ADD",53,36,"29/64"],["B","ADD",54,36,"1/32"],["B","ADD",55,36,"5/64"],["B","SCALE",36,"-1/16"],["B","ADD",36,37,"5"],["B","ADD",36,52,"22"],["B","ADD",36,53,"-54"],["B","ADD",36,54,"32"],["B","ADD",36,55,"76"],["B","IDLE_ONE",36,[15,14,13,12,11,10,9]],["B","ADD",36,55,"-76"],["B","ADD",36,54,"-32"],["B","ADD",36,53,"54"],["B","ADD",36,52,"-22"],["B","ADD",36,37,"-5"],["B","SCALE",36,"-16"],["B","ADD",55,36,"-5/64"],["B","ADD",54,36,"-1/32"],["B","ADD",53,36,"-29/64"],["B","ADD",52,36,"-11/64"],["B","ADD",37,36,"-41/16"],["B","ADD",36,52,"29/5"],["B","ADD",37,52,"-223/15"],["B","ADD",53,52,"-79/30"],["B","ADD",54,52,"-11/60"],["B","ADD",55,52,"-9/20"],["B","SCALE",52,"1/15"],["B","ADD",52,37,"-1"],["B","ADD",52,53,"10"],["B","ADD",52,54,"-6"],["B","ADD",52,55,"-14"],["B","IDLE_ONE",52,[15,14,13,12,11,10,9]],["B","ADD",52,55,"14"],["B","ADD",52,54,"6"],["B","ADD",52,53,"-10"],["B","ADD",52,37,"1"],["B","SCALE",52,"15"],["B","ADD",55,52,"9/20"],["B","ADD",54,52,"11/60"],["B","ADD",53,52,"79/30"],["B","ADD",37,52,"223/15"],["B","ADD",36,52,"-29/5"],["B","ADD",37,36,"41/16"],["B","ADD",52,36,"11/64"],["B","ADD",53,36,"29/64"],["B","ADD",54,36,"9/64"],["B","ADD",55,36,"1/32"],["B","ADD",56,36,"1/16"],["B","ADD",57,36,"9/32"],["B","SCALE",36,"-1/16"],["B","ADD",36,37,"-5"],["B","ADD",36,52,"-22"],["B","ADD",36,53,"54"],["B","ADD",36,54,"-140"],["B","ADD",36,55,"-32"],["B","ADD",36,56,"-120"],["B","ADD",36,57,"76"],["B","IDLE_ONE",36,[14,13,12,11,10,9]],["B","ADD",36,57,"-76"],["B","ADD",36,56,"120"],["B","ADD",36,55,"32"],["B","ADD",36,54,"140"],["B","ADD",36,53,"-54"],["B","ADD",36,52,"22"],["B","ADD",36,37,"5"],["B","SCALE",36,"-16"],["B","ADD",57,36,"-9/32"],["B","ADD",56,36,"-1/16"],["B","ADD",55,36,"-1/32"],["B","ADD",54,36,"-9/64"],["B","ADD",53,36,"-29/64"],["B","ADD",52,36,"-11/64"],["B","ADD",37,36,"-41/16"],["B","ADD",36,52,"29/5"],["B","ADD",37,52,"-223/15"],["B","ADD",53,52,"-79/30"],["B","ADD",54,52,"-49/60"],["B","ADD",55,52,"-11/60"],["B","ADD",56,52,"-11/30"],["B","ADD",57,52,"-49/30"],["B","SCALE",52,"1/15"],["B","ADD",52,37,"1"],["B","ADD",52,53,"-10"],["B","ADD",52,54,"26"],["B","ADD",52,55,"6"],["B","ADD",52,56,"22"],["B","ADD",52,57,"-14"],["B","IDLE_ONE",52,[14,13,12,11,10,9]],["B","ADD",52,57,"14"],["B","ADD",52,56,"-22"],["B","ADD",52,55,"-6"],["B","ADD",52,54,"-26"],["B","ADD",52,53,"10"],["B","ADD",52,37,"-1"],["B","SCALE",52,"15"],["B","ADD",57,52,"49/30"],["B","ADD",56,52,"11/30"],["B","ADD",55,52,"11/60"],["B","ADD",54,52,"49/60"],["B","ADD",53,52,"79/30"],["B","ADD",37,52,"223/15"],["B","ADD",36,52,"-29/5"],["B","ADD",37,36,"41/16"],["B","ADD",52,36,"11/64"],["B","ADD",53,36,"29/64"],["B","ADD",54,36,"9/64"],["B","ADD",55,36,"1/32"],["B","ADD",56,36,"11/64"],["B","ADD",57,36,"29/64"],["B","ADD",58,36,"1/32"],["B","ADD",59,36,"5/64"],["B","SCALE",36,"-1/16"],["B","ADD",36,37,"5"],["B","ADD",36,52,"22"],["B","ADD",36,53,"-54"],["B","ADD",36,54,"140"],["B","ADD",36,55,"32"],["B","ADD",36,56,"22"],["B","ADD",36,57,"-54"],["B","ADD",36,58,"32"],["B","ADD",36,59,"76"],["B","IDLE_ONE",36,[13,12,11,10,9]],["B","ADD",36,59,"-76"],["B","ADD",36,58,"-32"],["B","ADD",36,57,"54"],["B","ADD",36,56,"-22"],["B","ADD",36,55,"-32"],["B","ADD",36,54,"-140"],["B","ADD",36,53,"54"],["B","ADD",36,52,"-22"],["B","ADD",36,37,"-5"],["B","SCALE",36,"-16"],["B","ADD",59,36,"-5/64"],["B","ADD",58,36,"-1/32"],["B","ADD",57,36,"-29/64"],["B","ADD",56,36,"-11/64"],["B","ADD",55,36,"-1/32"],["B","ADD",54,36,"-9/64"],["B","ADD",53,36,"-29/64"],["B","ADD",52,36,"-11/64"],["B","ADD",37,36,"-41/16"],["B","ADD",36,52,"29/5"],["B","ADD",37,52,"-223/15"],["B","ADD",53,52,"-79/30"],["B","ADD",54,52,"-49/60"],["B","ADD",55,52,"-11/60"],["B","ADD",56,52,"-1"],["B","ADD",57,52,"-79/30"],["B","ADD",58,52,"-11/60"],["B","ADD",59,52,"-9/20"],["B","SCALE",52,"1/15"],["B","ADD",52,37,"-1"],["B","ADD",52,53,"10"],["B","ADD",52,54,"-26"],["B","ADD",52,55,"-6"],["B","ADD",52,56,"-4"],["B","ADD",52,57,"10"],["B","ADD",52,58,"-6"],["B","ADD",52,59,"-14"],["B","IDLE_ONE",52,[13,12,11,10,9]],["B","ADD",52,59,"14"],["B","ADD",52,58,"6"],["B","ADD",52,57,"-10"],["B","ADD",52,56,"4"],["B","ADD",52,55,"6"],["B","ADD",52,54,"26"],["B","ADD",52,53,"-10"],["B","ADD",52,37,"1"],["B","SCALE",52,"15"],["B","ADD",59,52,"9/20"],["B","ADD",58,52,"11/60"],["B","ADD",57,52,"79/30"],["B","ADD",56,52,"1"],["B","ADD",55,52,"11/60"],["B","ADD",54,52,"49/60"],["B","ADD",53,52,"79/30"],["B","ADD",37,52,"223/15"],["B","ADD",36,52,"-29/5"],["B","ADD",37,36,"41/16"],["B","ADD",52,36,"11/64"],["B","ADD",53,36,"29/64"],["B","ADD",54,36,"9/64"],["B","ADD",55,36,"1/32"],["B","ADD",56,36,"11/64"],["B","ADD",57,36,"29/64"],["B","ADD",58,36,"9/64"],["B","ADD",59,36,"1/32"],["B","ADD",60,36,"1/16"],["B","ADD",61,36,"9/32"],["B","SCALE",36,"-1/16"],["B","ADD",36,37,"-5"],["B","ADD",36,52,"-22"],["B","ADD",36,53,"54"],["B","ADD",36,54,"-140"],["B","ADD",36,55,"-32"],["B","ADD",36,56,"-22"],["B","ADD",36,57,"54"],["B","ADD",36,58,"-140"],["B","ADD",36,59,"-32"],["B","ADD",36,60,"-120"],["B","ADD",36,61,"76"],["B","IDLE_ONE",36,[12,11,10,9]],["B","ADD",36,61,"-76"],["B","ADD",36,60,"120"],["B","ADD",36,59,"32"],["B","ADD",36,58,"140"],["B","ADD",36,57,"-54"],["B","ADD",36,56,"22"],["B","ADD",36,55,"32"],["B","ADD",36,54,"140"],["B","ADD",36,53,"-54"],["B","ADD",36,52,"22"],["B","ADD",36,37,"5"],["B","SCALE",36,"-16"],["B","ADD",61,36,"-9/32"],["B","ADD",60,36,"-1/16"],["B","ADD",59,36,"-1/32"],["B","ADD",58,36,"-9/64"],["B","ADD",57,36,"-29/64"],["B","ADD",56,36,"-11/64"],["B","ADD",55,36,"-1/32"],["B","ADD",54,36,"-9/64"],["B","ADD",53,36,"-29/64"],["B","ADD",52,36,"-11/64"],["B","ADD",37,36,"-41/16"],["B","ADD",36,52,"29/5"],["B","ADD",37,52,"-223/15"],["B","ADD",53,52,"-79/30"],["B","ADD",54,52,"-49/60"],["B","ADD",55,52,"-11/60"],["B","ADD",56,52,"-1"],["B","ADD",57,52,"-79/30"],["B","ADD",58,52,"-49/60"],["B","ADD",59,52,"-11/60"],["B","ADD",60,52,"-11/30"],["B","ADD",61,52,"-49/30"],["B","SCALE",52,"1/15"],["B","ADD",52,37,"1"],["B","ADD",52,53,"-10"],["B","ADD",52,54,"26"],["B","ADD",52,55,"6"],["B","ADD",52,56,"4"],["B","ADD",52,57,"-10"],["B","ADD",52,58,"26"],["B","ADD",52,59,"6"],["B","ADD",52,60,"22"],["B","ADD",52,61,"-14"],["B","IDLE_ONE",52,[12,11,10,9]],["B","ADD",52,61,"14"],["B","ADD",52,60,"-22"],["B","ADD",52,59,"-6"],["B","ADD",52,58,"-26"],["B","ADD",52,57,"10"],["B","ADD",52,56,"-4"],["B","ADD",52,55,"-6"],["B","ADD",52,54,"-26"],["B","ADD",52,53,"10"],["B","ADD",52,37,"-1"],["B","SCALE",52,"15"],["B","ADD",61,52,"49/30"],["B","ADD",60,52,"11/30"],["B","ADD",59,52,"11/60"],["B","ADD",58,52,"49/60"],["B","ADD",57,52,"79/30"],["B","ADD",56,52,"1"],["B","ADD",55,52,"11/60"],["B","ADD",54,52,"49/60"],["B","ADD",53,52,"79/30"],["B","ADD",37,52,"223/15"],["B","ADD",36,52,"-29/5"],["B","ADD",37,36,"41/16"],["B","ADD",52,36,"11/64"],["B","ADD",53,36,"29/64"],["B","ADD",54,36,"9/64"],["B","ADD",55,36,"1/32"],["B","ADD",56,36,"11/64"],["B","ADD",57,36,"29/64"],["B","ADD",58,36,"9/64"],["B","ADD",59,36,"1/32"],["B","ADD",60,36,"11/64"],["B","ADD",61,36,"29/64"],["B","ADD",62,36,"1/32"],["B","ADD",63,36,"5/64"],["B","SCALE",36,"-1/16"],["B","ADD",36,37,"5"],["B","ADD",36,52,"22"],["B","ADD",36,53,"-54"],["B","ADD",36,54,"140"],["B","ADD",36,55,"32"],["B","ADD",36,56,"22"],["B","ADD",36,57,"-54"],["B","ADD",36,58,"140"],["B","ADD",36,59,"32"],["B","ADD",36,60,"22"],["B","ADD",36,61,"-54"],["B","ADD",36,62,"32"],["B","ADD",36,63,"76"],["B","IDLE_ONE",36,[11,10,9]],["B","ADD",36,63,"-76"],["B","ADD",36,62,"-32"],["B","ADD",36,61,"54"],["B","ADD",36,60,"-22"],["B","ADD",36,59,"-32"],["B","ADD",36,58,"-140"],["B","ADD",36,57,"54"],["B","ADD",36,56,"-22"],["B","ADD",36,55,"-32"],["B","ADD",36,54,"-140"],["B","ADD",36,53,"54"],["B","ADD",36,52,"-22"],["B","ADD",36,37,"-5"],["B","SCALE",36,"-16"],["B","ADD",63,36,"-5/64"],["B","ADD",62,36,"-1/32"],["B","ADD",61,36,"-29/64"],["B","ADD",60,36,"-11/64"],["B","ADD",59,36,"-1/32"],["B","ADD",58,36,"-9/64"],["B","ADD",57,36,"-29/64"],["B","ADD",56,36,"-11/64"],["B","ADD",55,36,"-1/32"],["B","ADD",54,36,"-9/64"],["B","ADD",53,36,"-29/64"],["B","ADD",52,36,"-11/64"],["B","ADD",37,36,"-41/16"],["B","ADD",36,52,"29/5"],["B","ADD",37,52,"-223/15"],["B","ADD",53,52,"-79/30"],["B","ADD",54,52,"-49/60"],["B","ADD",55,52,"-11/60"],["B","ADD",56,52,"-1"],["B","ADD",57,52,"-79/30"],["B","ADD",58,52,"-49/60"],["B","ADD",59,52,"-11/60"],["B","ADD",60,52,"-1"],["B","ADD",61,52,"-79/30"],["B","ADD",62,52,"-11/60"],["B","ADD",63,52,"-9/20"],["B","SCALE",52,"1/15"],["B","ADD",52,37,"-1"],["B","ADD",52,53,"10"],["B","ADD",52,54,"-26"],["B","ADD",52,55,"-6"],["B","ADD",52,56,"-4"],["B","ADD",52,57,"10"],["B","ADD",52,58,"-26"],["B","ADD",52,59,"-6"],["B","ADD",52,60,"-4"],["B","ADD",52,61,"10"],["B","ADD",52,62,"-6"],["B","ADD",52,63,"-14"],["B","IDLE_ONE",52,[11,10,9]],["B","ADD",52,63,"14"],["B","ADD",52,62,"6"],["B","ADD",52,61,"-10"],["B","ADD",52,60,"4"],["B","ADD",52,59,"6"],["B","ADD",52,58,"26"],["B","ADD",52,57,"-10"],["B","ADD",52,56,"4"],["B","ADD",52,55,"6"],["B","ADD",52,54,"26"],["B","ADD",52,53,"-10"],["B","ADD",52,37,"1"],["B","SCALE",52,"15"],["B","ADD",63,52,"9/20"],["B","ADD",62,52,"11/60"],["B","ADD",61,52,"79/30"],["B","ADD",60,52,"1"],["B","ADD",59,52,"11/60"],["B","ADD",58,52,"49/60"],["B","ADD",57,52,"79/30"],["B","ADD",56,52,"1"],["B","ADD",55,52,"11/60"],["B","ADD",54,52,"49/60"],["B","ADD",53,52,"79/30"],["B","ADD",37,52,"223/15"],["B","ADD",36,52,"-29/5"],["B","ADD",37,36,"5/2"],["B","ADD",52,36,"1/8"],["B","ADD",53,36,"3/8"],["B","ADD",54,36,"1/8"],["B","ADD",56,36,"1/8"],["B","ADD",57,36,"3/8"],["B","ADD",58,36,"1/8"],["B","ADD",60,36,"1/8"],["B","ADD",61,36,"3/8"],["B","ADD",62,36,"1/8"],["B","ADD",65,36,"1/4"],["B","SCALE",36,"-5/2"],["B","ADD",36,37,"3"],["B","ADD",36,52,"2"],["B","ADD",36,53,"-10"],["B","ADD",36,54,"28"],["B","ADD",36,55,"8"],["B","ADD",36,56,"2"],["B","ADD",36,57,"-10"],["B","ADD",36,58,"28"],["B","ADD",36,59,"8"],["B","ADD",36,60,"2"],["B","ADD",36,61,"-10"],["B","ADD",36,62,"28"],["B","ADD",36,63,"8"],["B","ADD",36,64,"2"],["B","IDLE_ONE",36,[10,9]],["B","ADD",36,64,"-2"],["B","ADD",36,63,"-8"],["B","ADD",36,62,"-28"],["B","ADD",36,61,"10"],["B","ADD",36,60,"-2"],["B","ADD",36,59,"-8"],["B","ADD",36,58,"-28"],["B","ADD",36,57,"10"],["B","ADD",36,56,"-2"],["B","ADD",36,55,"-8"],["B","ADD",36,54,"-28"],["B","ADD",36,53,"10"],["B","ADD",36,52,"-2"],["B","ADD",36,37,"-3"],["B","SCALE",36,"-2/5"],["B","ADD",65,36,"-1/4"],["B","ADD",62,36,"-1/8"],["B","ADD",61,36,"-3/8"],["B","ADD",60,36,"-1/8"],["B","ADD",58,36,"-1/8"],["B","ADD",57,36,"-3/8"],["B","ADD",56,36,"-1/8"],["B","ADD",54,36,"-1/8"],["B","ADD",53,36,"-3/8"],["B","ADD",52,36,"-1/8"],["B","ADD",37,36,"-5/2"],["B","ADD",37,36,"2"],["B","ADD",52,36,"-1/4"],["B","ADD",53,36,"-1/4"],["B","ADD",55,36,"-1/4"],["B","ADD",56,36,"-1/4"],["B","ADD",57,36,"-1/4"],["B","ADD",59,36,"-1/4"],["B","ADD",60,36,"-1/4"],["B","ADD",61,36,"-1/4"],["B","ADD",63,36,"-1/4"],["B","ADD",64,36,"-1/2"],["B","SCALE",36,"5"],["B","ADD",36,37,"2"],["B","ADD",36,52,"8"],["B","ADD",36,53,"-20"],["B","ADD",36,54,"52"],["B","ADD",36,55,"12"],["B","ADD",36,56,"8"],["B","ADD",36,57,"-20"],["B","ADD",36,58,"52"],["B","ADD",36,59,"12"],["B","ADD",36,60,"8"],["B","ADD",36,61,"-20"],["B","ADD",36,62,"52"],["B","ADD",36,63,"12"],["B","ADD",36,64,"18"],["B","ADD",36,65,"-20"],["B","IDLE_ONE",36,[10,9]],["B","ADD",36,65,"20"],["B","ADD",36,64,"-18"],["B","ADD",36,63,"-12"],["B","ADD",36,62,"-52"],["B","ADD",36,61,"20"],["B","ADD",36,60,"-8"],["B","ADD",36,59,"-12"],["B","ADD",36,58,"-52"],["B","ADD",36,57,"20"],["B","ADD",36,56,"-8"],["B","ADD",36,55,"-12"],["B","ADD",36,54,"-52"],["B","ADD",36,53,"20"],["B","ADD",36,52,"-8"],["B","ADD",36,37,"-2"],["B","SCALE",36,"1/5"],["B","ADD",64,36,"1/2"],["B","ADD",63,36,"1/4"],["B","ADD",61,36,"1/4"],["B","ADD",60,36,"1/4"],["B","ADD",59,36,"1/4"],["B","ADD",57,36,"1/4"],["B","ADD",56,36,"1/4"],["B","ADD",55,36,"1/4"],["B","ADD",53,36,"1/4"],["B","ADD",52,36,"1/4"],["B","ADD",37,36,"-2"],["B","ADD",37,36,"9/5"],["B","ADD",52,36,"-2/5"],["B","ADD",53,36,"-1/2"],["B","ADD",54,36,"-1/20"],["B","ADD",55,36,"-7/20"],["B","ADD",56,36,"-2/5"],["B","ADD",57,36,"-1/2"],["B","ADD",58,36,"-1/20"],["B","ADD",59,36,"-7/20"],["B","ADD",60,36,"-2/5"],["B","ADD",61,36,"-1/2"],["B","ADD",62,36,"-1/20"],["B","ADD",63,36,"-7/20"],["B","ADD",64,36,"-1/5"],["B","ADD",66,36,"-2/5"],["B","ADD",67,36,"7/40"],["B","SCALE",36,"-1/2"],["B","ADD",36,37,"-4"],["B","ADD",36,52,"-6"],["B","ADD",36,53,"20"],["B","ADD",36,54,"-54"],["B","ADD",36,55,"-14"],["B","ADD",36,56,"-6"],["B","ADD",36,57,"20"],["B","ADD",36,58,"-54"],["B","ADD",36,59,"-14"],["B","ADD",36,60,"-6"],["B","ADD",36,61,"20"],["B","ADD",36,62,"-54"],["B","ADD",36,63,"-14"],["B","ADD",36,64,"-6"],["B","ADD",36,65,"20"],["B","ADD",36,66,"40"],["B","ADD",36,67,"100"],["B","IDLE_ONE",36,[9]],["B","ADD",36,67,"-100"],["B","ADD",36,66,"-40"],["B","ADD",36,65,"-20"],["B","ADD",36,64,"6"],["B","ADD",36,63,"14"],["B","ADD",36,62,"54"],["B","ADD",36,61,"-20"],["B","ADD",36,60,"6"],["B","ADD",36,59,"14"],["B","ADD",36,58,"54"],["B","ADD",36,57,"-20"],["B","ADD",36,56,"6"],["B","ADD",36,55,"14"],["B","ADD",36,54,"54"],["B","ADD",36,53,"-20"],["B","ADD",36,52,"6"],["B","ADD",36,37,"4"],["B","SCALE",36,"-2"],["B","ADD",67,36,"-7/40"],["B","ADD",66,36,"2/5"],["B","ADD",64,36,"1/5"],["B","ADD",63,36,"7/20"],["B","ADD",62,36,"1/20"],["B","ADD",61,36,"1/2"],["B","ADD",60,36,"2/5"],["B","ADD",59,36,"7/20"],["B","ADD",58,36,"1/20"],["B","ADD",57,36,"1/2"],["B","ADD",56,36,"2/5"],["B","ADD",55,36,"7/20"],["B","ADD",54,36,"1/20"],["B","ADD",53,36,"1/2"],["B","ADD",52,36,"2/5"],["B","ADD",37,36,"-9/5"],["B","ADD",36,54,"-52/3"],["B","ADD",37,54,"92/3"],["B","ADD",52,54,"-22/3"],["B","ADD",53,54,"-28/3"],["B","ADD",55,54,"-19/3"],["B","ADD",56,54,"-22/3"],["B","ADD",57,54,"-28/3"],["B","ADD",58,54,"-1"],["B","ADD",59,54,"-19/3"],["B","ADD",60,54,"-22/3"],["B","ADD",61,54,"-28/3"],["B","ADD",62,54,"-1"],["B","ADD",63,54,"-19/3"],["B","ADD",64,54,"-8/3"],["B","ADD",65,54,"2/3"],["B","ADD",66,54,"-22/3"],["B","ADD",67,54,"3"],["B","SCALE",54,"-20/3"],["B","ADD",54,37,"2"],["B","ADD",54,52,"8"],["B","ADD",54,53,"-20"],["B","ADD",54,55,"12"],["B","ADD",54,56,"8"],["B","ADD",54,57,"-20"],["B","ADD",54,58,"52"],["B","ADD",54,59,"12"],["B","ADD",54,60,"8"],["B","ADD",54,61,"-20"],["B","ADD",54,62,"52"],["B","ADD",54,63,"12"],["B","ADD",54,64,"8"],["B","ADD",54,65,"-20"],["B","ADD",54,66,"-30"],["B","ADD",54,67,"-80"],["B","IDLE_ONE",54,[9]],["B","ADD",54,67,"80"],["B","ADD",54,66,"30"],["B","ADD",54,65,"20"],["B","ADD",54,64,"-8"],["B","ADD",54,63,"-12"],["B","ADD",54,62,"-52"],["B","ADD",54,61,"20"],["B","ADD",54,60,"-8"],["B","ADD",54,59,"-12"],["B","ADD",54,58,"-52"],["B","ADD",54,57,"20"],["B","ADD",54,56,"-8"],["B","ADD",54,55,"-12"],["B","ADD",54,53,"20"],["B","ADD",54,52,"-8"],["B","ADD",54,37,"-2"],["B","SCALE",54,"-3/20"],["B","ADD",67,54,"-3"],["B","ADD",66,54,"22/3"],["B","ADD",65,54,"-2/3"],["B","ADD",64,54,"8/3"],["B","ADD",63,54,"19/3"],["B","ADD",62,54,"1"],["B","ADD",61,54,"28/3"],["B","ADD",60,54,"22/3"],["B","ADD",59,54,"19/3"],["B","ADD",58,54,"1"],["B","ADD",57,54,"28/3"],["B","ADD",56,54,"22/3"],["B","ADD",55,54,"19/3"],["B","ADD",53,54,"28/3"],["B","ADD",52,54,"22/3"],["B","ADD",37,54,"-92/3"],["B","ADD",36,54,"52/3"],["B","IDLE_ODD",70,[9],-1],["B","IDLE_ODD",71,[9],-1],["B","ADD",37,36,"5/3"],["B","ADD",52,36,"-1/2"],["B","ADD",53,36,"-2/3"],["B","ADD",54,36,"-1/12"],["B","ADD",55,36,"-5/12"],["B","ADD",56,36,"-1/2"],["B","ADD",57,36,"-2/3"],["B","ADD",58,36,"-1/12"],["B","ADD",59,36,"-5/12"],["B","ADD",60,36,"-1/2"],["B","ADD",61,36,"-2/3"],["B","ADD",62,36,"-1/12"],["B","ADD",63,36,"-5/12"],["B","ADD",65,36,"1/6"],["B","ADD",66,36,"-2/3"],["B","ADD",67,36,"1/4"],["B","SCALE",36,"-1/3"],["B","ADD",36,37,"1"],["B","ADD",36,52,"-2"],["B","ADD",36,53,"2"],["B","ADD",36,54,"-4"],["B","ADD",36,56,"-2"],["B","ADD",36,57,"2"],["B","ADD",36,58,"-4"],["B","ADD",36,60,"-2"],["B","ADD",36,61,"2"],["B","ADD",36,62,"-4"],["B","ADD",36,64,"-2"],["B","ADD",36,65,"2"],["B","ADD",36,66,"-2"],["B","ADD",52,37,"-3/4"],["B","ADD",53,37,"-5/4"],["B","ADD",54,37,"-1/4"],["B","ADD",55,37,"-1/2"],["B","ADD",56,37,"-3/4"],["B","ADD",57,37,"-5/4"],["B","ADD",58,37,"-1/4"],["B","ADD",59,37,"-1/2"],["B","ADD",60,37,"-3/4"],["B","ADD",61,37,"-5/4"],["B","ADD",62,37,"-1/4"],["B","ADD",63,37,"-1/2"],["B","ADD",64,37,"3/2"],["B","ADD",65,37,"5/4"],["B","ADD",66,37,"-1/2"],["B","SCALE",37,"-3/4"],["B","ADD",37,53,"1"],["B","ADD",37,54,"-3"],["B","ADD",37,55,"-1"],["B","ADD",37,57,"1"],["B","ADD",37,58,"-3"],["B","ADD",37,59,"-1"],["B","ADD",37,61,"1"],["B","ADD",37,62,"-3"],["B","ADD",37,63,"-1"],["B","ADD",37,65,"1"],["B","ADD",37,66,"2"],["B","ADD",37,67,"4"],["B","SCALE",37,"1"],["B","ADD",37,36,"1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",9,0,"1"],["A","ADD",10,0,"2"],["A","ADD",11,0,"2"],["A","ADD",12,0,"2"],["A","ADD",13,0,"2"],["A","ADD",14,0,"2"],["A","ADD",15,0,"2"],["A","ADD",16,0,"2"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",27,18,"1"],["A","ADD",28,18,"2"],["A","ADD",29,18,"2"],["A","ADD",30,18,"2"],["A","ADD",31,18,"2"],["A","ADD",32,18,"2"],["A","ADD",33,18,"2"],["A","ADD",34,18,"2"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",9,1],["A","LAMBDA",27,-1],["A","SCALE",27,"-1"],["J",9,[9,0,18,27],[36,37,"-1","1/2"]],["A","LAMBDA",9,-1],["A","LAMBDA",27,1],["A","SCALE",27,"-1"],["A","ADD",0,9,"-1"],["A","ADD",18,27,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-2"],["A","ADD",33,18,"-2"],["A","ADD",32,18,"-2"],["A","ADD",31,18,"-2"],["A","ADD",30,18,"-2"],["A","ADD",29,18,"-2"],["A","ADD",28,18,"-2"],["A","ADD",27,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-2"],["A","ADD",15,0,"-2"],["A","ADD",14,0,"-2"],["A","ADD",13,0,"-2"],["A","ADD",12,0,"-2"],["A","ADD",11,0,"-2"],["A","ADD",10,0,"-2"],["A","ADD",9,0,"-1"],["B","LAMBDA",36,-1],["B","ADD",37,36,"-1/2"],["B","SCALE",37,"1"],["B","ADD",37,67,"-4"],["B","ADD",37,66,"-2"],["B","ADD",37,65,"-1"],["B","ADD",37,63,"1"],["B","ADD",37,62,"3"],["B","ADD",37,61,"-1"],["B","ADD",37,59,"1"],["B","ADD",37,58,"3"],["B","ADD",37,57,"-1"],["B","ADD",37,55,"1"],["B","ADD",37,54,"3"],["B","ADD",37,53,"-1"],["B","SCALE",37,"-4/3"],["B","ADD",66,37,"1/2"],["B","ADD",65,37,"-5/4"],["B","ADD",64,37,"-3/2"],["B","ADD",63,37,"1/2"],["B","ADD",62,37,"1/4"],["B","ADD",61,37,"5/4"],["B","ADD",60,37,"3/4"],["B","ADD",59,37,"1/2"],["B","ADD",58,37,"1/4"],["B","ADD",57,37,"5/4"],["B","ADD",56,37,"3/4"],["B","ADD",55,37,"1/2"],["B","ADD",54,37,"1/4"],["B","ADD",53,37,"5/4"],["B","ADD",52,37,"3/4"],["B","ADD",36,66,"2"],["B","ADD",36,65,"-2"],["B","ADD",36,64,"2"],["B","ADD",36,62,"4"],["B","ADD",36,61,"-2"],["B","ADD",36,60,"2"],["B","ADD",36,58,"4"],["B","ADD",36,57,"-2"],["B","ADD",36,56,"2"],["B","ADD",36,54,"4"],["B","ADD",36,53,"-2"],["B","ADD",36,52,"2"],["B","ADD",36,37,"-1"],["B","SCALE",36,"-3"],["B","ADD",67,36,"-1/4"],["B","ADD",66,36,"2/3"],["B","ADD",65,36,"-1/6"],["B","ADD",63,36,"5/12"],["B","ADD",62,36,"1/12"],["B","ADD",61,36,"2/3"],["B","ADD",60,36,"1/2"],["B","ADD",59,36,"5/12"],["B","ADD",58,36,"1/12"],["B","ADD",57,36,"2/3"],["B","ADD",56,36,"1/2"],["B","ADD",55,36,"5/12"],["B","ADD",54,36,"1/12"],["B","ADD",53,36,"2/3"],["B","ADD",52,36,"1/2"],["B","ADD",37,36,"-5/3"],["B","ADD",37,36,"7/5"],["B","ADD",52,36,"-7/10"],["B","ADD",53,36,"-1"],["B","ADD",54,36,"-3/20"],["B","ADD",55,36,"-11/20"],["B","ADD",56,36,"-7/10"],["B","ADD",57,36,"-1"],["B","ADD",58,36,"-3/20"],["B","ADD",59,36,"-11/20"],["B","ADD",60,36,"-7/10"],["B","ADD",61,36,"-1"],["B","ADD",62,36,"-3/20"],["B","ADD",63,36,"-11/20"],["B","ADD",64,36,"2/5"],["B","ADD",65,36,"1/2"],["B","ADD",66,36,"-3/5"],["B","ADD",67,36,"1/5"],["B","SCALE",36,"-2"],["B","ADD",36,37,"-69"],["B","ADD",36,52,"-296"],["B","ADD",36,53,"730"],["B","ADD",36,54,"-1894"],["B","ADD",36,55,"-434"],["B","ADD",36,56,"-296"],["B","ADD",36,57,"730"],["B","ADD",36,58,"-1894"],["B","ADD",36,59,"-434"],["B","ADD",36,60,"-296"],["B","ADD",36,61,"730"],["B","ADD",36,62,"-1894"],["B","ADD",36,63,"-434"],["B","ADD",36,64,"-296"],["B","ADD",36,65,"730"],["B","ADD",36,66,"710"],["B","ADD",36,67,"1440"],["B","IDLE_ONE",36,[10]],["B","ADD",36,67,"-1440"],["B","ADD",36,66,"-710"],["B","ADD",36,65,"-730"],["B","ADD",36,64,"296"],["B","ADD",36,63,"434"],["B","ADD",36,62,"1894"],["B","ADD",36,61,"-730"],["B","ADD",36,60,"296"],["B","ADD",36,59,"434"],["B","ADD",36,58,"1894"],["B","ADD",36,57,"-730"],["B","ADD",36,56,"296"],["B","ADD",36,55,"434"],["B","ADD",36,54,"1894"],["B","ADD",36,53,"-730"],["B","ADD",36,52,"296"],["B","ADD",36,37,"69"],["B","SCALE",36,"-1/2"],["B","ADD",67,36,"-1/5"],["B","ADD",66,36,"3/5"],["B","ADD",65,36,"-1/2"],["B","ADD",64,36,"-2/5"],["B","ADD",63,36,"11/20"],["B","ADD",62,36,"3/20"],["B","ADD",61,36,"1"],["B","ADD",60,36,"7/10"],["B","ADD",59,36,"11/20"],["B","ADD",58,36,"3/20"],["B","ADD",57,36,"1"],["B","ADD",56,36,"7/10"],["B","ADD",55,36,"11/20"],["B","ADD",54,36,"3/20"],["B","ADD",53,36,"1"],["B","ADD",52,36,"7/10"],["B","ADD",37,36,"-7/5"],["B","ADD",36,55,"-11/6"],["B","ADD",37,55,"31/12"],["B","ADD",52,55,"-61/48"],["B","ADD",53,55,"-29/16"],["B","ADD",54,55,"-13/48"],["B","ADD",56,55,"-61/48"],["B","ADD",57,55,"-29/16"],["B","ADD",58,55,"-13/48"],["B","ADD",59,55,"-1"],["B","ADD",60,55,"-61/48"],["B","ADD",61,55,"-29/16"],["B","ADD",62,55,"-13/48"],["B","ADD",63,55,"-1"],["B","ADD",64,55,"17/24"],["B","ADD",65,55,"43/48"],["B","ADD",66,55,"-53/48"],["B","ADD",67,55,"143/384"],["B","SCALE",55,"5/48"],["B","ADD",55,37,"-2"],["B","ADD",55,52,"-8"],["B","ADD",55,53,"20"],["B","ADD",55,54,"-52"],["B","ADD",55,56,"-8"],["B","ADD",55,57,"20"],["B","ADD",55,58,"-52"],["B","ADD",55,59,"-12"],["B","ADD",55,60,"-8"],["B","ADD",55,61,"20"],["B","ADD",55,62,"-52"],["B","ADD",55,63,"-12"],["B","ADD",55,64,"-8"],["B","ADD",55,65,"20"],["B","ADD",55,66,"20"],["B","ADD",55,67,"40"],["B","IDLE_ONE",55,[10]],["B","ADD",55,67,"-40"],["B","ADD",55,66,"-20"],["B","ADD",55,65,"-20"],["B","ADD",55,64,"8"],["B","ADD",55,63,"12"],["B","ADD",55,62,"52"],["B","ADD",55,61,"-20"],["B","ADD",55,60,"8"],["B","ADD",55,59,"12"],["B","ADD",55,58,"52"],["B","ADD",55,57,"-20"],["B","ADD",55,56,"8"],["B","ADD",55,54,"52"],["B","ADD",55,53,"-20"],["B","ADD",55,52,"8"],["B","ADD",55,37,"2"],["B","SCALE",55,"48/5"],["B","ADD",67,55,"-143/384"],["B","ADD",66,55,"53/48"],["B","ADD",65,55,"-43/48"],["B","ADD",64,55,"-17/24"],["B","ADD",63,55,"1"],["B","ADD",62,55,"13/48"],["B","ADD",61,55,"29/16"],["B","ADD",60,55,"61/48"],["B","ADD",59,55,"1"],["B","ADD",58,55,"13/48"],["B","ADD",57,55,"29/16"],["B","ADD",56,55,"61/48"],["B","ADD",54,55,"13/48"],["B","ADD",53,55,"29/16"],["B","ADD",52,55,"61/48"],["B","ADD",37,55,"-31/12"],["B","ADD",36,55,"11/6"],["B","ADD",37,36,"3"],["B","ADD",52,36,"1/2"],["B","ADD",53,36,"1"],["B","ADD",54,36,"1/4"],["B","ADD",55,36,"1/4"],["B","ADD",56,36,"1/2"],["B","ADD",57,36,"1"],["B","ADD",58,36,"1/4"],["B","ADD",59,36,"1/4"],["B","ADD",60,36,"1/2"],["B","ADD",61,36,"1"],["B","ADD",62,36,"1/4"],["B","ADD",63,36,"1/4"],["B","ADD",64,36,"-2"],["B","ADD",65,36,"-3/2"],["B","ADD",67,36,"1/2"],["B","SCALE",36,"2"],["B","ADD",36,52,"4"],["B","ADD",36,53,"-8"],["B","ADD",36,54,"20"],["B","ADD",36,55,"4"],["B","ADD",36,56,"4"],["B","ADD",36,57,"-8"],["B","ADD",36,58,"20"],["B","ADD",36,59,"4"],["B","ADD",36,60,"4"],["B","ADD",36,61,"-8"],["B","ADD",36,62,"20"],["B","ADD",36,63,"4"],["B","ADD",36,64,"4"],["B","ADD",36,65,"-8"],["B","ADD",36,66,"-6"],["B","ADD",36,67,"-16"],["B","ADD",52,37,"-3/4"],["B","ADD",53,37,"-5/4"],["B","ADD",54,37,"-1/4"],["B","ADD",55,37,"-1/2"],["B","ADD",56,37,"-3/4"],["B","ADD",57,37,"-5/4"],["B","ADD",58,37,"-1/4"],["B","ADD",59,37,"-1/2"],["B","ADD",60,37,"-3/4"],["B","ADD",61,37,"-5/4"],["B","ADD",62,37,"-1/4"],["B","ADD",63,37,"-1/2"],["B","ADD",64,37,"3/2"],["B","ADD",65,37,"5/4"],["B","ADD",66,37,"-1/4"],["B","ADD",67,37,"-1/4"],["B","SCALE",37,"1/8"],["B","ADD",37,52,"-2"],["B","ADD",37,53,"7/2"],["B","ADD",37,54,"-17/2"],["B","ADD",37,55,"-3/2"],["B","ADD",37,56,"-2"],["B","ADD",37,57,"7/2"],["B","ADD",37,58,"-17/2"],["B","ADD",37,59,"-3/2"],["B","ADD",37,60,"-2"],["B","ADD",37,61,"7/2"],["B","ADD",37,62,"-17/2"],["B","ADD",37,63,"-3/2"],["B","ADD",37,64,"-2"],["B","ADD",37,65,"7/2"],["B","ADD",37,66,"1"],["B","ADD",37,67,"4"],["B","SCALE",37,"-2"],["B","ADD",37,36,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",10,0,"1"],["A","ADD",11,0,"2"],["A","ADD",12,0,"2"],["A","ADD",13,0,"2"],["A","ADD",14,0,"2"],["A","ADD",15,0,"2"],["A","ADD",16,0,"2"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",28,18,"1"],["A","ADD",29,18,"2"],["A","ADD",30,18,"2"],["A","ADD",31,18,"2"],["A","ADD",32,18,"2"],["A","ADD",33,18,"2"],["A","ADD",34,18,"2"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",10,1],["A","LAMBDA",28,-1],["A","SCALE",28,"-1"],["J",10,[10,0,18,28],[36,37,"-1","1/2"]],["A","LAMBDA",10,-1],["A","LAMBDA",28,1],["A","SCALE",28,"-1"],["A","ADD",0,10,"-1"],["A","ADD",18,28,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-2"],["A","ADD",33,18,"-2"],["A","ADD",32,18,"-2"],["A","ADD",31,18,"-2"],["A","ADD",30,18,"-2"],["A","ADD",29,18,"-2"],["A","ADD",28,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-2"],["A","ADD",15,0,"-2"],["A","ADD",14,0,"-2"],["A","ADD",13,0,"-2"],["A","ADD",12,0,"-2"],["A","ADD",11,0,"-2"],["A","ADD",10,0,"-1"],["B","LAMBDA",36,-1],["B","ADD",37,36,"1/2"],["B","SCALE",37,"-1/2"],["B","ADD",37,67,"-4"],["B","ADD",37,66,"-1"],["B","ADD",37,65,"-7/2"],["B","ADD",37,64,"2"],["B","ADD",37,63,"3/2"],["B","ADD",37,62,"17/2"],["B","ADD",37,61,"-7/2"],["B","ADD",37,60,"2"],["B","ADD",37,59,"3/2"],["B","ADD",37,58,"17/2"],["B","ADD",37,57,"-7/2"],["B","ADD",37,56,"2"],["B","ADD",37,55,"3/2"],["B","ADD",37,54,"17/2"],["B","ADD",37,53,"-7/2"],["B","ADD",37,52,"2"],["B","SCALE",37,"8"],["B","ADD",67,37,"1/4"],["B","ADD",66,37,"1/4"],["B","ADD",65,37,"-5/4"],["B","ADD",64,37,"-3/2"],["B","ADD",63,37,"1/2"],["B","ADD",62,37,"1/4"],["B","ADD",61,37,"5/4"],["B","ADD",60,37,"3/4"],["B","ADD",59,37,"1/2"],["B","ADD",58,37,"1/4"],["B","ADD",57,37,"5/4"],["B","ADD",56,37,"3/4"],["B","ADD",55,37,"1/2"],["B","ADD",54,37,"1/4"],["B","ADD",53,37,"5/4"],["B","ADD",52,37,"3/4"],["B","ADD",36,67,"16"],["B","ADD",36,66,"6"],["B","ADD",36,65,"8"],["B","ADD",36,64,"-4"],["B","ADD",36,63,"-4"],["B","ADD",36,62,"-20"],["B","ADD",36,61,"8"],["B","ADD",36,60,"-4"],["B","ADD",36,59,"-4"],["B","ADD",36,58,"-20"],["B","ADD",36,57,"8"],["B","ADD",36,56,"-4"],["B","ADD",36,55,"-4"],["B","ADD",36,54,"-20"],["B","ADD",36,53,"8"],["B","ADD",36,52,"-4"],["B","SCALE",36,"1/2"],["B","ADD",67,36,"-1/2"],["B","ADD",65,36,"3/2"],["B","ADD",64,36,"2"],["B","ADD",63,36,"-1/4"],["B","ADD",62,36,"-1/4"],["B","ADD",61,36,"-1"],["B","ADD",60,36,"-1/2"],["B","ADD",59,36,"-1/4"],["B","ADD",58,36,"-1/4"],["B","ADD",57,36,"-1"],["B","ADD",56,36,"-1/2"],["B","ADD",55,36,"-1/4"],["B","ADD",54,36,"-1/4"],["B","ADD",53,36,"-1"],["B","ADD",52,36,"-1/2"],["B","ADD",37,36,"-3"],["B","ADD",37,36,"2/3"],["B","ADD",52,36,"-5/4"],["B","ADD",53,36,"-23/12"],["B","ADD",54,36,"-1/3"],["B","ADD",55,36,"-11/12"],["B","ADD",56,36,"-5/4"],["B","ADD",57,36,"-23/12"],["B","ADD",58,36,"-1/3"],["B","ADD",59,36,"-11/12"],["B","ADD",60,36,"-5/4"],["B","ADD",61,36,"-23/12"],["B","ADD",62,36,"-1/3"],["B","ADD",63,36,"-11/12"],["B","ADD",64,36,"-1/3"],["B","SCALE",36,"2/3"],["B","ADD",36,37,"-12"],["B","ADD",36,52,"-52"],["B","ADD",36,53,"128"],["B","ADD",36,54,"-332"],["B","ADD",36,55,"-76"],["B","ADD",36,56,"-52"],["B","ADD",36,57,"128"],["B","ADD",36,58,"-332"],["B","ADD",36,59,"-76"],["B","ADD",36,60,"-52"],["B","ADD",36,61,"128"],["B","ADD",36,62,"-332"],["B","ADD",36,63,"-76"],["B","ADD",36,64,"-28"],["B","ADD",36,65,"76"],["B","IDLE_ONE",36,[11]],["B","ADD",36,65,"-76"],["B","ADD",36,64,"28"],["B","ADD",36,63,"76"],["B","ADD",36,62,"332"],["B","ADD",36,61,"-128"],["B","ADD",36,60,"52"],["B","ADD",36,59,"76"],["B","ADD",36,58,"332"],["B","ADD",36,57,"-128"],["B","ADD",36,56,"52"],["B","ADD",36,55,"76"],["B","ADD",36,54,"332"],["B","ADD",36,53,"-128"],["B","ADD",36,52,"52"],["B","ADD",36,37,"12"],["B","SCALE",36,"3/2"],["B","ADD",64,36,"1/3"],["B","ADD",63,36,"11/12"],["B","ADD",62,36,"1/3"],["B","ADD",61,36,"23/12"],["B","ADD",60,36,"5/4"],["B","ADD",59,36,"11/12"],["B","ADD",58,36,"1/3"],["B","ADD",57,36,"23/12"],["B","ADD",56,36,"5/4"],["B","ADD",55,36,"11/12"],["B","ADD",54,36,"1/3"],["B","ADD",53,36,"23/12"],["B","ADD",52,36,"5/4"],["B","ADD",37,36,"-2/3"],["B","ADD",36,53,"-14/27"],["B","ADD",37,53,"46/135"],["B","ADD",52,53,"-88/135"],["B","ADD",54,53,"-47/270"],["B","ADD",55,53,"-43/90"],["B","ADD",56,53,"-88/135"],["B","ADD",57,53,"-1"],["B","ADD",58,53,"-47/270"],["B","ADD",59,53,"-43/90"],["B","ADD",60,53,"-88/135"],["B","ADD",61,53,"-1"],["B","ADD",62,53,"-47/270"],["B","ADD",63,53,"-43/90"],["B","ADD",64,53,"-22/135"],["B","ADD",65,53,"1/135"],["B","SCALE",53,"-4/135"],["B","ADD",53,37,"-1"],["B","ADD",53,52,"-4"],["B","ADD",53,54,"-26"],["B","ADD",53,55,"-6"],["B","ADD",53,56,"-4"],["B","ADD",53,57,"10"],["B","ADD",53,58,"-26"],["B","ADD",53,59,"-6"],["B","ADD",53,60,"-4"],["B","ADD",53,61,"10"],["B","ADD",53,62,"-26"],["B","ADD",53,63,"-6"],["B","ADD",53,64,"-2"],["B","ADD",53,65,"6"],["B","IDLE_ONE",53,[11]],["B","ADD",53,65,"-6"],["B","ADD",53,64,"2"],["B","ADD",53,63,"6"],["B","ADD",53,62,"26"],["B","ADD",53,61,"-10"],["B","ADD",53,60,"4"],["B","ADD",53,59,"6"],["B","ADD",53,58,"26"],["B","ADD",53,57,"-10"],["B","ADD",53,56,"4"],["B","ADD",53,55,"6"],["B","ADD",53,54,"26"],["B","ADD",53,52,"4"],["B","ADD",53,37,"1"],["B","SCALE",53,"-135/4"],["B","ADD",65,53,"-1/135"],["B","ADD",64,53,"22/135"],["B","ADD",63,53,"43/90"],["B","ADD",62,53,"47/270"],["B","ADD",61,53,"1"],["B","ADD",60,53,"88/135"],["B","ADD",59,53,"43/90"],["B","ADD",58,53,"47/270"],["B","ADD",57,53,"1"],["B","ADD",56,53,"88/135"],["B","ADD",55,53,"43/90"],["B","ADD",54,53,"47/270"],["B","ADD",52,53,"88/135"],["B","ADD",37,53,"-46/135"],["B","ADD",36,53,"14/27"],["B","ADD",37,36,"3"],["B","ADD",52,36,"1/2"],["B","ADD",53,36,"1"],["B","ADD",54,36,"1/4"],["B","ADD",55,36,"1/4"],["B","ADD",56,36,"1/2"],["B","ADD",57,36,"1"],["B","ADD",58,36,"1/4"],["B","ADD",59,36,"1/4"],["B","ADD",60,36,"1/2"],["B","ADD",61,36,"1"],["B","ADD",62,36,"1/4"],["B","ADD",63,36,"1/4"],["B","ADD",65,36,"1/2"],["B","SCALE",36,"-2"],["B","ADD",36,52,"-4"],["B","ADD",36,53,"8"],["B","ADD",36,54,"-20"],["B","ADD",36,55,"-4"],["B","ADD",36,56,"-4"],["B","ADD",36,57,"8"],["B","ADD",36,58,"-20"],["B","ADD",36,59,"-4"],["B","ADD",36,60,"-4"],["B","ADD",36,61,"8"],["B","ADD",36,62,"-20"],["B","ADD",36,63,"-4"],["B","ADD",36,64,"-6"],["B","ADD",36,65,"8"],["B","ADD",52,37,"-3/4"],["B","ADD",53,37,"-5/4"],["B","ADD",54,37,"-1/4"],["B","ADD",55,37,"-1/2"],["B","ADD",56,37,"-3/4"],["B","ADD",57,37,"-5/4"],["B","ADD",58,37,"-1/4"],["B","ADD",59,37,"-1/2"],["B","ADD",60,37,"-3/4"],["B","ADD",61,37,"-5/4"],["B","ADD",62,37,"-1/4"],["B","ADD",63,37,"-1/2"],["B","ADD",64,37,"-1/4"],["B","ADD",65,37,"-1/4"],["B","SCALE",37,"-1/8"],["B","ADD",37,52,"-2"],["B","ADD",37,53,"9/2"],["B","ADD",37,54,"-23/2"],["B","ADD",37,55,"-5/2"],["B","ADD",37,56,"-2"],["B","ADD",37,57,"9/2"],["B","ADD",37,58,"-23/2"],["B","ADD",37,59,"-5/2"],["B","ADD",37,60,"-2"],["B","ADD",37,61,"9/2"],["B","ADD",37,62,"-23/2"],["B","ADD",37,63,"-5/2"],["B","ADD",37,64,"-2"],["B","ADD",37,65,"5/2"],["B","SCALE",37,"2"],["B","ADD",37,36,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",11,0,"1"],["A","ADD",12,0,"2"],["A","ADD",13,0,"2"],["A","ADD",14,0,"2"],["A","ADD",15,0,"2"],["A","ADD",16,0,"2"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",29,18,"1"],["A","ADD",30,18,"2"],["A","ADD",31,18,"2"],["A","ADD",32,18,"2"],["A","ADD",33,18,"2"],["A","ADD",34,18,"2"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",11,1],["A","LAMBDA",29,-1],["A","SCALE",29,"-1"],["J",11,[11,0,18,29],[36,37,"-1","1/2"]],["A","LAMBDA",11,-1],["A","LAMBDA",29,1],["A","SCALE",29,"-1"],["A","ADD",0,11,"-1"],["A","ADD",18,29,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-2"],["A","ADD",33,18,"-2"],["A","ADD",32,18,"-2"],["A","ADD",31,18,"-2"],["A","ADD",30,18,"-2"],["A","ADD",29,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-2"],["A","ADD",15,0,"-2"],["A","ADD",14,0,"-2"],["A","ADD",13,0,"-2"],["A","ADD",12,0,"-2"],["A","ADD",11,0,"-1"],["B","LAMBDA",36,-1],["B","ADD",37,36,"1/2"],["B","SCALE",37,"1/2"],["B","ADD",37,65,"-5/2"],["B","ADD",37,64,"2"],["B","ADD",37,63,"5/2"],["B","ADD",37,62,"23/2"],["B","ADD",37,61,"-9/2"],["B","ADD",37,60,"2"],["B","ADD",37,59,"5/2"],["B","ADD",37,58,"23/2"],["B","ADD",37,57,"-9/2"],["B","ADD",37,56,"2"],["B","ADD",37,55,"5/2"],["B","ADD",37,54,"23/2"],["B","ADD",37,53,"-9/2"],["B","ADD",37,52,"2"],["B","SCALE",37,"-8"],["B","ADD",65,37,"1/4"],["B","ADD",64,37,"1/4"],["B","ADD",63,37,"1/2"],["B","ADD",62,37,"1/4"],["B","ADD",61,37,"5/4"],["B","ADD",60,37,"3/4"],["B","ADD",59,37,"1/2"],["B","ADD",58,37,"1/4"],["B","ADD",57,37,"5/4"],["B","ADD",56,37,"3/4"],["B","ADD",55,37,"1/2"],["B","ADD",54,37,"1/4"],["B","ADD",53,37,"5/4"],["B","ADD",52,37,"3/4"],["B","ADD",36,65,"-8"],["B","ADD",36,64,"6"],["B","ADD",36,63,"4"],["B","ADD",36,62,"20"],["B","ADD",36,61,"-8"],["B","ADD",36,60,"4"],["B","ADD",36,59,"4"],["B","ADD",36,58,"20"],["B","ADD",36,57,"-8"],["B","ADD",36,56,"4"],["B","ADD",36,55,"4"],["B","ADD",36,54,"20"],["B","ADD",36,53,"-8"],["B","ADD",36,52,"4"],["B","SCALE",36,"-1/2"],["B","ADD",65,36,"-1/2"],["B","ADD",63,36,"-1/4"],["B","ADD",62,36,"-1/4"],["B","ADD",61,36,"-1"],["B","ADD",60,36,"-1/2"],["B","ADD",59,36,"-1/4"],["B","ADD",58,36,"-1/4"],["B","ADD",57,36,"-1"],["B","ADD",56,36,"-1/2"],["B","ADD",55,36,"-1/4"],["B","ADD",54,36,"-1/4"],["B","ADD",53,36,"-1"],["B","ADD",52,36,"-1/2"],["B","ADD",37,36,"-3"],["B","ADD",36,52,"14"],["B","ADD",37,52,"-34"],["B","ADD",53,52,"-4"],["B","ADD",54,52,"-3/2"],["B","ADD",55,52,"1/2"],["B","ADD",56,52,"-1"],["B","ADD",57,52,"-4"],["B","ADD",58,52,"-3/2"],["B","ADD",59,52,"1/2"],["B","ADD",60,52,"-1"],["B","ADD",61,52,"-4"],["B","ADD",62,52,"-1/2"],["B","ADD",63,52,"1"],["B","SCALE",52,"-1"],["B","ADD",52,36,"1"],["B","ADD",52,37,"1"],["B","ADD",52,53,"-6"],["B","ADD",52,54,"16"],["B","ADD",52,55,"4"],["B","ADD",52,56,"2"],["B","ADD",52,57,"-6"],["B","ADD",52,58,"16"],["B","ADD",52,59,"4"],["B","ADD",52,60,"2"],["B","ADD",52,61,"-6"],["B","ADD",52,62,"14"],["B","ADD",52,63,"6"],["B","IDLE_ONE",52,[12]],["B","ADD",52,63,"-6"],["B","ADD",52,62,"-14"],["B","ADD",52,61,"6"],["B","ADD",52,60,"-2"],["B","ADD",52,59,"-4"],["B","ADD",52,58,"-16"],["B","ADD",52,57,"6"],["B","ADD",52,56,"-2"],["B","ADD",52,55,"-4"],["B","ADD",52,54,"-16"],["B","ADD",52,53,"6"],["B","ADD",52,37,"-1"],["B","ADD",52,36,"-1"],["B","SCALE",52,"-1"],["B","ADD",63,52,"-1"],["B","ADD",62,52,"1/2"],["B","ADD",61,52,"4"],["B","ADD",60,52,"1"],["B","ADD",59,52,"-1/2"],["B","ADD",58,52,"3/2"],["B","ADD",57,52,"4"],["B","ADD",56,52,"1"],["B","ADD",55,52,"-1/2"],["B","ADD",54,52,"3/2"],["B","ADD",53,52,"4"],["B","ADD",37,52,"34"],["B","ADD",36,52,"-14"],["B","ADD",37,36,"5/2"],["B","ADD",52,36,"1/8"],["B","ADD",53,36,"3/8"],["B","ADD",54,36,"1/8"],["B","ADD",56,36,"1/8"],["B","ADD",57,36,"3/8"],["B","ADD",58,36,"1/8"],["B","ADD",60,36,"1/8"],["B","ADD",61,36,"3/8"],["B","ADD",62,36,"1/16"],["B","ADD",63,36,"-1/16"],["B","SCALE",36,"1/8"],["B","ADD",36,37,"-1"],["B","ADD",36,52,"-4"],["B","ADD",36,53,"10"],["B","ADD",36,54,"-26"],["B","ADD",36,55,"-6"],["B","ADD",36,56,"-4"],["B","ADD",36,57,"10"],["B","ADD",36,58,"-26"],["B","ADD",36,59,"-6"],["B","ADD",36,60,"-4"],["B","ADD",36,61,"10"],["B","ADD",36,62,"-24"],["B","ADD",36,63,"-10"],["B","IDLE_ONE",36,[12]],["B","ADD",36,63,"10"],["B","ADD",36,62,"24"],["B","ADD",36,61,"-10"],["B","ADD",36,60,"4"],["B","ADD",36,59,"6"],["B","ADD",36,58,"26"],["B","ADD",36,57,"-10"],["B","ADD",36,56,"4"],["B","ADD",36,55,"6"],["B","ADD",36,54,"26"],["B","ADD",36,53,"-10"],["B","ADD",36,52,"4"],["B","ADD",36,37,"1"],["B","SCALE",36,"8"],["B","ADD",63,36,"1/16"],["B","ADD",62,36,"-1/16"],["B","ADD",61,36,"-3/8"],["B","ADD",60,36,"-1/8"],["B","ADD",58,36,"-1/8"],["B","ADD",57,36,"-3/8"],["B","ADD",56,36,"-1/8"],["B","ADD",54,36,"-1/8"],["B","ADD",53,36,"-3/8"],["B","ADD",52,36,"-1/8"],["B","ADD",37,36,"-5/2"],["B","SWAP",36,37],["B","ADD",52,36,"-3/4"],["B","ADD",53,36,"-5/4"],["B","ADD",54,36,"-1/4"],["B","ADD",55,36,"-1/2"],["B","ADD",56,36,"-3/4"],["B","ADD",57,36,"-5/4"],["B","ADD",58,36,"-1/4"],["B","ADD",59,36,"-1/2"],["B","ADD",60,36,"-3/4"],["B","ADD",61,36,"-5/4"],["B","ADD",62,36,"-1/4"],["B","ADD",63,36,"-1/4"],["B","SCALE",36,"-1/2"],["B","ADD",36,37,"1/2"],["B","ADD",36,52,"1"],["B","ADD",36,53,"-3"],["B","ADD",36,54,"8"],["B","ADD",36,55,"2"],["B","ADD",36,56,"1"],["B","ADD",36,57,"-3"],["B","ADD",36,58,"8"],["B","ADD",36,59,"2"],["B","ADD",36,60,"1"],["B","ADD",36,61,"-3"],["B","ADD",36,62,"6"],["B","ADD",36,63,"2"],["B","ADD",52,37,"-7/4"],["B","ADD",53,37,"-11/4"],["B","ADD",54,37,"-1/2"],["B","ADD",55,37,"-5/4"],["B","ADD",56,37,"-7/4"],["B","ADD",57,37,"-11/4"],["B","ADD",58,37,"-1/2"],["B","ADD",59,37,"-5/4"],["B","ADD",60,37,"-7/4"],["B","ADD",61,37,"-11/4"],["B","ADD",62,37,"-3/4"],["B","ADD",63,37,"-1/4"],["B","SCALE",37,"1/2"],["B","ADD",37,52,"-1"],["B","ADD",37,53,"1"],["B","ADD",37,54,"-2"],["B","ADD",37,56,"-1"],["B","ADD",37,57,"1"],["B","ADD",37,58,"-2"],["B","ADD",37,60,"-1"],["B","ADD",37,61,"1"],["B","ADD",37,62,"-2"],["B","ADD",37,63,"-2"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",12,0,"1"],["A","ADD",13,0,"2"],["A","ADD",14,0,"2"],["A","ADD",15,0,"2"],["A","ADD",16,0,"2"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",30,18,"1"],["A","ADD",31,18,"2"],["A","ADD",32,18,"2"],["A","ADD",33,18,"2"],["A","ADD",34,18,"2"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",12,1],["A","LAMBDA",30,-1],["A","SCALE",30,"-1"],["J",12,[12,0,18,30],[36,37,"-1","1/2"]],["A","LAMBDA",12,-1],["A","LAMBDA",30,1],["A","SCALE",30,"-1"],["A","ADD",0,12,"-1"],["A","ADD",18,30,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-2"],["A","ADD",33,18,"-2"],["A","ADD",32,18,"-2"],["A","ADD",31,18,"-2"],["A","ADD",30,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-2"],["A","ADD",15,0,"-2"],["A","ADD",14,0,"-2"],["A","ADD",13,0,"-2"],["A","ADD",12,0,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"-2"],["B","ADD",37,63,"2"],["B","ADD",37,62,"2"],["B","ADD",37,61,"-1"],["B","ADD",37,60,"1"],["B","ADD",37,58,"2"],["B","ADD",37,57,"-1"],["B","ADD",37,56,"1"],["B","ADD",37,54,"2"],["B","ADD",37,53,"-1"],["B","ADD",37,52,"1"],["B","SCALE",37,"2"],["B","ADD",63,37,"1/4"],["B","ADD",62,37,"3/4"],["B","ADD",61,37,"11/4"],["B","ADD",60,37,"7/4"],["B","ADD",59,37,"5/4"],["B","ADD",58,37,"1/2"],["B","ADD",57,37,"11/4"],["B","ADD",56,37,"7/4"],["B","ADD",55,37,"5/4"],["B","ADD",54,37,"1/2"],["B","ADD",53,37,"11/4"],["B","ADD",52,37,"7/4"],["B","ADD",36,63,"-2"],["B","ADD",36,62,"-6"],["B","ADD",36,61,"3"],["B","ADD",36,60,"-1"],["B","ADD",36,59,"-2"],["B","ADD",36,58,"-8"],["B","ADD",36,57,"3"],["B","ADD",36,56,"-1"],["B","ADD",36,55,"-2"],["B","ADD",36,54,"-8"],["B","ADD",36,53,"3"],["B","ADD",36,52,"-1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-2"],["B","ADD",63,36,"1/4"],["B","ADD",62,36,"1/4"],["B","ADD",61,36,"5/4"],["B","ADD",60,36,"3/4"],["B","ADD",59,36,"1/2"],["B","ADD",58,36,"1/4"],["B","ADD",57,36,"5/4"],["B","ADD",56,36,"3/4"],["B","ADD",55,36,"1/2"],["B","ADD",54,36,"1/4"],["B","ADD",53,36,"5/4"],["B","ADD",52,36,"3/4"],["B","SWAP",36,37],["B","ADD",37,36,"7/4"],["B","ADD",52,36,"-7/16"],["B","ADD",53,36,"-9/16"],["B","ADD",54,36,"-1/16"],["B","ADD",55,36,"-3/8"],["B","ADD",56,36,"-7/16"],["B","ADD",57,36,"-9/16"],["B","ADD",58,36,"-1/16"],["B","ADD",59,36,"-3/8"],["B","ADD",60,36,"-1/8"],["B","ADD",61,36,"1/4"],["B","SCALE",36,"-1/4"],["B","ADD",36,52,"2"],["B","ADD",36,53,"-4"],["B","ADD",36,54,"10"],["B","ADD",36,55,"2"],["B","ADD",36,56,"2"],["B","ADD",36,57,"-4"],["B","ADD",36,58,"10"],["B","ADD",36,59,"2"],["B","ADD",36,60,"2"],["B","ADD",36,61,"-2"],["B","IDLE_ONE",36,[13]],["B","ADD",36,61,"2"],["B","ADD",36,60,"-2"],["B","ADD",36,59,"-2"],["B","ADD",36,58,"-10"],["B","ADD",36,57,"4"],["B","ADD",36,56,"-2"],["B","ADD",36,55,"-2"],["B","ADD",36,54,"-10"],["B","ADD",36,53,"4"],["B","ADD",36,52,"-2"],["B","SCALE",36,"-4"],["B","ADD",61,36,"-1/4"],["B","ADD",60,36,"1/8"],["B","ADD",59,36,"3/8"],["B","ADD",58,36,"1/16"],["B","ADD",57,36,"9/16"],["B","ADD",56,36,"7/16"],["B","ADD",55,36,"3/8"],["B","ADD",54,36,"1/16"],["B","ADD",53,36,"9/16"],["B","ADD",52,36,"7/16"],["B","ADD",37,36,"-7/4"],["B","ADD",37,36,"2"],["B","ADD",52,36,"-1/4"],["B","ADD",53,36,"-1/4"],["B","ADD",55,36,"-1/4"],["B","ADD",56,36,"-1/4"],["B","ADD",57,36,"-1/4"],["B","ADD",59,36,"-1/4"],["B","ADD",61,36,"1/2"],["B","ADD",36,37,"1"],["B","ADD",36,52,"4"],["B","ADD",36,53,"-10"],["B","ADD",36,54,"26"],["B","ADD",36,55,"6"],["B","ADD",36,56,"4"],["B","ADD",36,57,"-10"],["B","ADD",36,58,"26"],["B","ADD",36,59,"6"],["B","ADD",36,60,"2"],["B","ADD",36,61,"-6"],["B","IDLE_ONE",36,[13]],["B","ADD",36,61,"6"],["B","ADD",36,60,"-2"],["B","ADD",36,59,"-6"],["B","ADD",36,58,"-26"],["B","ADD",36,57,"10"],["B","ADD",36,56,"-4"],["B","ADD",36,55,"-6"],["B","ADD",36,54,"-26"],["B","ADD",36,53,"10"],["B","ADD",36,52,"-4"],["B","ADD",36,37,"-1"],["B","ADD",61,36,"-1/2"],["B","ADD",59,36,"1/4"],["B","ADD",57,36,"1/4"],["B","ADD",56,36,"1/4"],["B","ADD",55,36,"1/4"],["B","ADD",53,36,"1/4"],["B","ADD",52,36,"1/4"],["B","ADD",37,36,"-2"],["B","ADD",37,36,"2"],["B","ADD",52,36,"-1/4"],["B","ADD",53,36,"-1/4"],["B","ADD",55,36,"-1/4"],["B","ADD",56,36,"-1/4"],["B","ADD",57,36,"-1/4"],["B","ADD",59,36,"-1/4"],["B","ADD",60,36,"-1/4"],["B","ADD",61,36,"1/4"],["B","SCALE",36,"-1/2"],["B","ADD",36,37,"1/2"],["B","ADD",36,52,"-1"],["B","ADD",36,53,"1"],["B","ADD",36,54,"-2"],["B","ADD",36,56,"-1"],["B","ADD",36,57,"1"],["B","ADD",36,58,"-2"],["B","ADD",36,60,"-3"],["B","ADD",36,61,"1"],["B","ADD",52,37,"-3/4"],["B","ADD",53,37,"-5/4"],["B","ADD",54,37,"-1/4"],["B","ADD",55,37,"-1/2"],["B","ADD",56,37,"-3/4"],["B","ADD",57,37,"-5/4"],["B","ADD",58,37,"-1/4"],["B","ADD",59,37,"-1/2"],["B","ADD",60,37,"-1/4"],["B","ADD",61,37,"-1/4"],["B","SCALE",37,"-1/2"],["B","ADD",37,52,"-1"],["B","ADD",37,53,"3"],["B","ADD",37,54,"-8"],["B","ADD",37,55,"-2"],["B","ADD",37,56,"-1"],["B","ADD",37,57,"3"],["B","ADD",37,58,"-8"],["B","ADD",37,59,"-2"],["B","ADD",37,60,"-1"],["B","ADD",37,61,"1"],["B","SCALE",37,"1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",13,0,"1"],["A","ADD",14,0,"2"],["A","ADD",15,0,"2"],["A","ADD",16,0,"2"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",31,18,"1"],["A","ADD",32,18,"2"],["A","ADD",33,18,"2"],["A","ADD",34,18,"2"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",13,1],["A","LAMBDA",31,-1],["A","SCALE",31,"-1"],["J",13,[13,0,18,31],[36,37,"-1","1/2"]],["A","LAMBDA",13,-1],["A","LAMBDA",31,1],["A","SCALE",31,"-1"],["A","ADD",0,13,"-1"],["A","ADD",18,31,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-2"],["A","ADD",33,18,"-2"],["A","ADD",32,18,"-2"],["A","ADD",31,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-2"],["A","ADD",15,0,"-2"],["A","ADD",14,0,"-2"],["A","ADD",13,0,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"2"],["B","ADD",37,61,"-1"],["B","ADD",37,60,"1"],["B","ADD",37,59,"2"],["B","ADD",37,58,"8"],["B","ADD",37,57,"-3"],["B","ADD",37,56,"1"],["B","ADD",37,55,"2"],["B","ADD",37,54,"8"],["B","ADD",37,53,"-3"],["B","ADD",37,52,"1"],["B","SCALE",37,"-2"],["B","ADD",61,37,"1/4"],["B","ADD",60,37,"1/4"],["B","ADD",59,37,"1/2"],["B","ADD",58,37,"1/4"],["B","ADD",57,37,"5/4"],["B","ADD",56,37,"3/4"],["B","ADD",55,37,"1/2"],["B","ADD",54,37,"1/4"],["B","ADD",53,37,"5/4"],["B","ADD",52,37,"3/4"],["B","ADD",36,61,"-1"],["B","ADD",36,60,"3"],["B","ADD",36,58,"2"],["B","ADD",36,57,"-1"],["B","ADD",36,56,"1"],["B","ADD",36,54,"2"],["B","ADD",36,53,"-1"],["B","ADD",36,52,"1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-2"],["B","ADD",61,36,"-1/4"],["B","ADD",60,36,"1/4"],["B","ADD",59,36,"1/4"],["B","ADD",57,36,"1/4"],["B","ADD",56,36,"1/4"],["B","ADD",55,36,"1/4"],["B","ADD",53,36,"1/4"],["B","ADD",52,36,"1/4"],["B","ADD",37,36,"-2"],["B","ADD",36,52,"14"],["B","ADD",37,52,"-34"],["B","ADD",53,52,"-4"],["B","ADD",54,52,"-3/2"],["B","ADD",55,52,"1/2"],["B","ADD",56,52,"-1"],["B","ADD",57,52,"-4"],["B","ADD",58,52,"-1/2"],["B","ADD",59,52,"1"],["B","SCALE",52,"-1"],["B","ADD",52,36,"1"],["B","ADD",52,37,"1"],["B","ADD",52,53,"-6"],["B","ADD",52,54,"16"],["B","ADD",52,55,"4"],["B","ADD",52,56,"2"],["B","ADD",52,57,"-6"],["B","ADD",52,58,"14"],["B","ADD",52,59,"6"],["B","IDLE_ONE",52,[14]],["B","ADD",52,59,"-6"],["B","ADD",52,58,"-14"],["B","ADD",52,57,"6"],["B","ADD",52,56,"-2"],["B","ADD",52,55,"-4"],["B","ADD",52,54,"-16"],["B","ADD",52,53,"6"],["B","ADD",52,37,"-1"],["B","ADD",52,36,"-1"],["B","SCALE",52,"-1"],["B","ADD",59,52,"-1"],["B","ADD",58,52,"1/2"],["B","ADD",57,52,"4"],["B","ADD",56,52,"1"],["B","ADD",55,52,"-1/2"],["B","ADD",54,52,"3/2"],["B","ADD",53,52,"4"],["B","ADD",37,52,"34"],["B","ADD",36,52,"-14"],["B","ADD",37,36,"5/2"],["B","ADD",52,36,"1/8"],["B","ADD",53,36,"3/8"],["B","ADD",54,36,"1/8"],["B","ADD",56,36,"1/8"],["B","ADD",57,36,"3/8"],["B","ADD",58,36,"1/16"],["B","ADD",59,36,"-1/16"],["B","SCALE",36,"1/8"],["B","ADD",36,37,"-1"],["B","ADD",36,52,"-4"],["B","ADD",36,53,"10"],["B","ADD",36,54,"-26"],["B","ADD",36,55,"-6"],["B","ADD",36,56,"-4"],["B","ADD",36,57,"10"],["B","ADD",36,58,"-24"],["B","ADD",36,59,"-10"],["B","IDLE_ONE",36,[14]],["B","ADD",36,59,"10"],["B","ADD",36,58,"24"],["B","ADD",36,57,"-10"],["B","ADD",36,56,"4"],["B","ADD",36,55,"6"],["B","ADD",36,54,"26"],["B","ADD",36,53,"-10"],["B","ADD",36,52,"4"],["B","ADD",36,37,"1"],["B","SCALE",36,"8"],["B","ADD",59,36,"1/16"],["B","ADD",58,36,"-1/16"],["B","ADD",57,36,"-3/8"],["B","ADD",56,36,"-1/8"],["B","ADD",54,36,"-1/8"],["B","ADD",53,36,"-3/8"],["B","ADD",52,36,"-1/8"],["B","ADD",37,36,"-5/2"],["B","SWAP",36,37],["B","ADD",52,36,"-3/4"],["B","ADD",53,36,"-5/4"],["B","ADD",54,36,"-1/4"],["B","ADD",55,36,"-1/2"],["B","ADD",56,36,"-3/4"],["B","ADD",57,36,"-5/4"],["B","ADD",58,36,"-1/4"],["B","ADD",59,36,"-1/4"],["B","SCALE",36,"-1/2"],["B","ADD",36,37,"1/2"],["B","ADD",36,52,"1"],["B","ADD",36,53,"-3"],["B","ADD",36,54,"8"],["B","ADD",36,55,"2"],["B","ADD",36,56,"1"],["B","ADD",36,57,"-3"],["B","ADD",36,58,"6"],["B","ADD",36,59,"2"],["B","ADD",52,37,"-7/4"],["B","ADD",53,37,"-11/4"],["B","ADD",54,37,"-1/2"],["B","ADD",55,37,"-5/4"],["B","ADD",56,37,"-7/4"],["B","ADD",57,37,"-11/4"],["B","ADD",58,37,"-3/4"],["B","ADD",59,37,"-1/4"],["B","SCALE",37,"1/2"],["B","ADD",37,52,"-1"],["B","ADD",37,53,"1"],["B","ADD",37,54,"-2"],["B","ADD",37,56,"-1"],["B","ADD",37,57,"1"],["B","ADD",37,58,"-2"],["B","ADD",37,59,"-2"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",14,0,"1"],["A","ADD",15,0,"2"],["A","ADD",16,0,"2"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",32,18,"1"],["A","ADD",33,18,"2"],["A","ADD",34,18,"2"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",14,1],["A","LAMBDA",32,-1],["A","SCALE",32,"-1"],["J",14,[14,0,18,32],[36,37,"-1","1/2"]],["A","LAMBDA",14,-1],["A","LAMBDA",32,1],["A","SCALE",32,"-1"],["A","ADD",0,14,"-1"],["A","ADD",18,32,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-2"],["A","ADD",33,18,"-2"],["A","ADD",32,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-2"],["A","ADD",15,0,"-2"],["A","ADD",14,0,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"-2"],["B","ADD",37,59,"2"],["B","ADD",37,58,"2"],["B","ADD",37,57,"-1"],["B","ADD",37,56,"1"],["B","ADD",37,54,"2"],["B","ADD",37,53,"-1"],["B","ADD",37,52,"1"],["B","SCALE",37,"2"],["B","ADD",59,37,"1/4"],["B","ADD",58,37,"3/4"],["B","ADD",57,37,"11/4"],["B","ADD",56,37,"7/4"],["B","ADD",55,37,"5/4"],["B","ADD",54,37,"1/2"],["B","ADD",53,37,"11/4"],["B","ADD",52,37,"7/4"],["B","ADD",36,59,"-2"],["B","ADD",36,58,"-6"],["B","ADD",36,57,"3"],["B","ADD",36,56,"-1"],["B","ADD",36,55,"-2"],["B","ADD",36,54,"-8"],["B","ADD",36,53,"3"],["B","ADD",36,52,"-1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-2"],["B","ADD",59,36,"1/4"],["B","ADD",58,36,"1/4"],["B","ADD",57,36,"5/4"],["B","ADD",56,36,"3/4"],["B","ADD",55,36,"1/2"],["B","ADD",54,36,"1/4"],["B","ADD",53,36,"5/4"],["B","ADD",52,36,"3/4"],["B","SWAP",36,37],["B","ADD",37,36,"7/4"],["B","ADD",52,36,"-7/16"],["B","ADD",53,36,"-9/16"],["B","ADD",54,36,"-1/16"],["B","ADD",55,36,"-3/8"],["B","ADD",56,36,"-1/8"],["B","ADD",57,36,"1/4"],["B","SCALE",36,"-1/4"],["B","ADD",36,52,"2"],["B","ADD",36,53,"-4"],["B","ADD",36,54,"10"],["B","ADD",36,55,"2"],["B","ADD",36,56,"2"],["B","ADD",36,57,"-2"],["B","IDLE_ONE",36,[15]],["B","ADD",36,57,"2"],["B","ADD",36,56,"-2"],["B","ADD",36,55,"-2"],["B","ADD",36,54,"-10"],["B","ADD",36,53,"4"],["B","ADD",36,52,"-2"],["B","SCALE",36,"-4"],["B","ADD",57,36,"-1/4"],["B","ADD",56,36,"1/8"],["B","ADD",55,36,"3/8"],["B","ADD",54,36,"1/16"],["B","ADD",53,36,"9/16"],["B","ADD",52,36,"7/16"],["B","ADD",37,36,"-7/4"],["B","ADD",37,36,"2"],["B","ADD",52,36,"-1/4"],["B","ADD",53,36,"-1/4"],["B","ADD",55,36,"-1/4"],["B","ADD",57,36,"1/2"],["B","ADD",36,37,"1"],["B","ADD",36,52,"4"],["B","ADD",36,53,"-10"],["B","ADD",36,54,"26"],["B","ADD",36,55,"6"],["B","ADD",36,56,"2"],["B","ADD",36,57,"-6"],["B","IDLE_ONE",36,[15]],["B","ADD",36,57,"6"],["B","ADD",36,56,"-2"],["B","ADD",36,55,"-6"],["B","ADD",36,54,"-26"],["B","ADD",36,53,"10"],["B","ADD",36,52,"-4"],["B","ADD",36,37,"-1"],["B","ADD",57,36,"-1/2"],["B","ADD",55,36,"1/4"],["B","ADD",53,36,"1/4"],["B","ADD",52,36,"1/4"],["B","ADD",37,36,"-2"],["B","ADD",37,36,"2"],["B","ADD",52,36,"-1/4"],["B","ADD",53,36,"-1/4"],["B","ADD",55,36,"-1/4"],["B","ADD",56,36,"-1/4"],["B","ADD",57,36,"1/4"],["B","SCALE",36,"-1/2"],["B","ADD",36,37,"1/2"],["B","ADD",36,52,"-1"],["B","ADD",36,53,"1"],["B","ADD",36,54,"-2"],["B","ADD",36,56,"-3"],["B","ADD",36,57,"1"],["B","ADD",52,37,"-3/4"],["B","ADD",53,37,"-5/4"],["B","ADD",54,37,"-1/4"],["B","ADD",55,37,"-1/2"],["B","ADD",56,37,"-1/4"],["B","ADD",57,37,"-1/4"],["B","SCALE",37,"-1/2"],["B","ADD",37,52,"-1"],["B","ADD",37,53,"3"],["B","ADD",37,54,"-8"],["B","ADD",37,55,"-2"],["B","ADD",37,56,"-1"],["B","ADD",37,57,"1"],["B","SCALE",37,"1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",15,0,"1"],["A","ADD",16,0,"2"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",33,18,"1"],["A","ADD",34,18,"2"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",15,1],["A","LAMBDA",33,-1],["A","SCALE",33,"-1"],["J",15,[15,0,18,33],[36,37,"-1","1/2"]],["A","LAMBDA",15,-1],["A","LAMBDA",33,1],["A","SCALE",33,"-1"],["A","ADD",0,15,"-1"],["A","ADD",18,33,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-2"],["A","ADD",33,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-2"],["A","ADD",15,0,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"2"],["B","ADD",37,57,"-1"],["B","ADD",37,56,"1"],["B","ADD",37,55,"2"],["B","ADD",37,54,"8"],["B","ADD",37,53,"-3"],["B","ADD",37,52,"1"],["B","SCALE",37,"-2"],["B","ADD",57,37,"1/4"],["B","ADD",56,37,"1/4"],["B","ADD",55,37,"1/2"],["B","ADD",54,37,"1/4"],["B","ADD",53,37,"5/4"],["B","ADD",52,37,"3/4"],["B","ADD",36,57,"-1"],["B","ADD",36,56,"3"],["B","ADD",36,54,"2"],["B","ADD",36,53,"-1"],["B","ADD",36,52,"1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-2"],["B","ADD",57,36,"-1/4"],["B","ADD",56,36,"1/4"],["B","ADD",55,36,"1/4"],["B","ADD",53,36,"1/4"],["B","ADD",52,36,"1/4"],["B","ADD",37,36,"-2"],["B","ADD",36,52,"14"],["B","ADD",37,52,"-34"],["B","ADD",53,52,"-4"],["B","ADD",54,52,"-1/2"],["B","ADD",55,52,"1"],["B","SCALE",52,"-1"],["B","ADD",52,36,"1"],["B","ADD",52,37,"1"],["B","ADD",52,53,"-6"],["B","ADD",52,54,"14"],["B","ADD",52,55,"6"],["B","IDLE_ONE",52,[16]],["B","ADD",52,55,"-6"],["B","ADD",52,54,"-14"],["B","ADD",52,53,"6"],["B","ADD",52,37,"-1"],["B","ADD",52,36,"-1"],["B","SCALE",52,"-1"],["B","ADD",55,52,"-1"],["B","ADD",54,52,"1/2"],["B","ADD",53,52,"4"],["B","ADD",37,52,"34"],["B","ADD",36,52,"-14"],["B","ADD",37,36,"5/2"],["B","ADD",52,36,"1/8"],["B","ADD",53,36,"3/8"],["B","ADD",54,36,"1/16"],["B","ADD",55,36,"-1/16"],["B","SCALE",36,"1/8"],["B","ADD",36,37,"-1"],["B","ADD",36,52,"-4"],["B","ADD",36,53,"10"],["B","ADD",36,54,"-24"],["B","ADD",36,55,"-10"],["B","IDLE_ONE",36,[16]],["B","ADD",36,55,"10"],["B","ADD",36,54,"24"],["B","ADD",36,53,"-10"],["B","ADD",36,52,"4"],["B","ADD",36,37,"1"],["B","SCALE",36,"8"],["B","ADD",55,36,"1/16"],["B","ADD",54,36,"-1/16"],["B","ADD",53,36,"-3/8"],["B","ADD",52,36,"-1/8"],["B","ADD",37,36,"-5/2"],["B","SWAP",36,37],["B","ADD",52,36,"-3/4"],["B","ADD",53,36,"-5/4"],["B","ADD",54,36,"-1/4"],["B","ADD",55,36,"-1/4"],["B","SCALE",36,"-1/2"],["B","ADD",36,37,"1/2"],["B","ADD",36,52,"1"],["B","ADD",36,53,"-3"],["B","ADD",36,54,"6"],["B","ADD",36,55,"2"],["B","ADD",52,37,"-7/4"],["B","ADD",53,37,"-11/4"],["B","ADD",54,37,"-3/4"],["B","ADD",55,37,"-1/4"],["B","SCALE",37,"1/2"],["B","ADD",37,52,"-1"],["B","ADD",37,53,"1"],["B","ADD",37,54,"-2"],["B","ADD",37,55,"-2"],["B","SCALE",37,"-1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",16,0,"1"],["A","ADD",17,0,"2"],["A","SCALE",0,"-1"],["A","ADD",34,18,"1"],["A","ADD",35,18,"2"],["A","SCALE",18,"-1"],["A","LAMBDA",16,1],["A","LAMBDA",34,-1],["A","SCALE",34,"-1"],["J",16,[16,0,18,34],[36,37,"-1","1/2"]],["A","LAMBDA",16,-1],["A","LAMBDA",34,1],["A","SCALE",34,"-1"],["A","ADD",0,16,"-1"],["A","ADD",18,34,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-2"],["A","ADD",34,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-2"],["A","ADD",16,0,"-1"],["B","LAMBDA",36,-1],["B","SCALE",37,"-2"],["B","ADD",37,55,"2"],["B","ADD",37,54,"2"],["B","ADD",37,53,"-1"],["B","ADD",37,52,"1"],["B","SCALE",37,"2"],["B","ADD",55,37,"1/4"],["B","ADD",54,37,"3/4"],["B","ADD",53,37,"11/4"],["B","ADD",52,37,"7/4"],["B","ADD",36,55,"-2"],["B","ADD",36,54,"-6"],["B","ADD",36,53,"3"],["B","ADD",36,52,"-1"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-2"],["B","ADD",55,36,"1/4"],["B","ADD",54,36,"1/4"],["B","ADD",53,36,"5/4"],["B","ADD",52,36,"3/4"],["B","SWAP",36,37],["B","ADD",37,36,"7/4"],["B","ADD",52,36,"-1/8"],["B","ADD",53,36,"1/4"],["B","SCALE",36,"-1/4"],["B","ADD",36,37,"-1"],["B","ADD",36,53,"4"],["B","IDLE_ONE",36,[17]],["B","ADD",36,53,"-4"],["B","ADD",36,37,"1"],["B","SCALE",36,"-4"],["B","ADD",53,36,"-1/4"],["B","ADD",52,36,"1/8"],["B","ADD",37,36,"-7/4"],["B","ADD",37,36,"5/3"],["B","ADD",52,36,"-1/6"],["B","ADD",53,36,"1/6"],["B","SCALE",36,"-1/3"],["B","ADD",36,37,"1"],["B","ADD",36,52,"2"],["B","ADD",36,53,"-6"],["B","IDLE_ONE",36,[17]],["B","ADD",36,53,"6"],["B","ADD",36,52,"-2"],["B","ADD",36,37,"-1"],["B","SCALE",36,"-3"],["B","ADD",53,36,"-1/6"],["B","ADD",52,36,"1/6"],["B","ADD",37,36,"-5/3"],["B","ADD",37,36,"2"],["B","ADD",52,36,"-1/4"],["B","ADD",53,36,"1/4"],["B","SCALE",36,"-1/2"],["B","ADD",36,37,"1/2"],["B","ADD",36,52,"-3"],["B","ADD",36,53,"1"],["B","ADD",52,37,"-1/4"],["B","ADD",53,37,"-1/4"],["B","SCALE",37,"-1/2"],["B","ADD",37,52,"-1"],["B","ADD",37,53,"1"],["B","SCALE",37,"1/2"],["B","ADD",37,36,"-1/2"],["B","ADD",36,37,"1"],["B","LAMBDA",36,1],["A","ADD",17,0,"1"],["A","SCALE",0,"-1"],["A","ADD",35,18,"1"],["A","SCALE",18,"-1"],["A","LAMBDA",17,1],["A","LAMBDA",35,-1],["A","SCALE",35,"-1"],["J",17,[17,0,18,35],[36,37,"-1","1/2"]],["A","LAMBDA",17,-1],["A","LAMBDA",35,1],["A","SCALE",35,"-1"],["A","ADD",0,17,"-1"],["A","ADD",18,35,"-1"],["A","SCALE",18,"-1"],["A","ADD",35,18,"-1"],["A","SCALE",0,"-1"],["A","ADD",17,0,"-1"],["A","LAMBDA",0,-1],["A","LAMBDA",1,-1],["A","LAMBDA",2,-1],["A","LAMBDA",3,-1],["A","LAMBDA",4,-1],["A","LAMBDA",5,-1],["A","LAMBDA",6,-1],["A","LAMBDA",7,-1],["A","LAMBDA",8,-1],["A","LAMBDA",9,-1],["A","LAMBDA",10,-1],["A","LAMBDA",11,-1],["A","LAMBDA",12,-1],["A","LAMBDA",13,-1],["A","LAMBDA",14,-1],["A","LAMBDA",15,-1],["A","LAMBDA",16,-1],["A","LAMBDA",17,-1],["A","LAMBDA",18,-1],["A","LAMBDA",19,-1],["A","LAMBDA",20,-1],["A","LAMBDA",21,-1],["A","LAMBDA",22,-1],["A","LAMBDA",23,-1],["A","LAMBDA",24,-1],["A","LAMBDA",25,-1],["A","LAMBDA",26,-1],["A","LAMBDA",27,-1],["A","LAMBDA",28,-1],["A","LAMBDA",29,-1],["A","LAMBDA",30,-1],["A","LAMBDA",31,-1],["A","LAMBDA",32,-1],["A","LAMBDA",33,-1],["A","LAMBDA",34,-1],["A","LAMBDA",35,-1],["B","LAMBDA",36,-1],["B","SCALE",37,"2"],["B","ADD",37,53,"-1"],["B","ADD",37,52,"1"],["B","SCALE",37,"-2"],["B","ADD",53,37,"1/4"],["B","ADD",52,37,"1/4"],["B","ADD",36,53,"-1"],["B","ADD",36,52,"3"],["B","ADD",36,37,"-1/2"],["B","SCALE",36,"-2"],["B","ADD",53,36,"-1/4"],["B","ADD",52,36,"1/4"],["B","ADD",37,36,"-2"],["B","LAMBDA",36,-1],["B","LAMBDA",37,-1],["B","LAMBDA",38,-1],["B","LAMBDA",39,-1],["B","LAMBDA",40,-1],["B","LAMBDA",41,-1],["B","LAMBDA",42,-1],["B","LAMBDA",43,-1],["B","LAMBDA",44,-1],["B","LAMBDA",45,-1],["B","LAMBDA",46,-1],["B","LAMBDA",47,-1],["B","LAMBDA",48,-1],["B","LAMBDA",49,-1],["B","LAMBDA",50,-1],["B","LAMBDA",51,-1],["B","LAMBDA",52,-1],["B","LAMBDA",53,-1],["B","LAMBDA",54,-1],["B","LAMBDA",55,-1],["B","LAMBDA",56,-1],["B","LAMBDA",57,-1],["B","LAMBDA",58,-1],["B","LAMBDA",59,-1],["B","LAMBDA",60,-1],["B","LAMBDA",61,-1],["B","LAMBDA",62,-1],["B","LAMBDA",63,-1],["B","LAMBDA",64,-1],["B","LAMBDA",65,-1],["B","LAMBDA",66,-1],["B","LAMBDA",67,-1]],"ops_note":"QSELF(x, k): R[x] *= q^k, one paid rank-1 job on one register (new op; not in the retained alphabet).; source interval457..575 replaced by a three-QUERY even-basis factorization; no QSELF"} \ No newline at end of file diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/check_odd_fixed_tape_counts.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/check_odd_fixed_tape_counts.py new file mode 100644 index 0000000000..6873f9618d --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/check_odd_fixed_tape_counts.py @@ -0,0 +1,64 @@ +"""Substitute the exact caller counts into the reviewed finite-tape bounds.""" +from fractions import Fraction as Q +from hashlib import sha256 +from pathlib import Path +import gzip +import json + +root=Path(__file__).resolve().parent +def read(name): + return json.loads((root/name).read_text()) +cpath=root/"ODD-TYPE-AB-CALLER.json" +caller=read(cpath.name) +partial=read("ODD-ADMISSION-PARTIAL.json") +precision=read("ODD-PRECISION.json") +binding=read("ODD-PHYSICAL-BINDING.json") +native=json.loads(gzip.decompress((root.parent/"WORD.json.gz").read_bytes())) +nhash=sha256(json.dumps(native,sort_keys=True,separators=(",",":")).encode()).hexdigest() +chash=sha256(cpath.read_bytes()).hexdigest() +assert all(r["caller_sha256"]==chash and r["native_sha256"]==nhash for r in (partial,precision,binding)) +g=partial["compiler_outer"] +b=binding["occurrence_and_geometry"] +assert g["outer"]["strict_count"]==54 and g["outer"]["functional_count"]==4 and Q(g["outer"]["minimum_margin"])>0 +assert b["paid_positions"]==sum(partial["invoice"]["P"].values()) +assert b["productive_fields"]==sum(partial["invoice"]["T"].values()) +assert b["rank_surplus"]==partial["invoice"]["S"] and partial["invoice"]["empty_root_credits"]==0 +assert b["ambient"]==caller["ambient_rank"] and b["ambient"]<=153 +L=b["native_calls"] +native_scalars=sum(e[0]!="MOVE" for e in native["program"]) +caller_macros=sum(len(caller["types"][e[0]]["ports"]) for e in caller["events"] if e[0]!="J") +conversions=2*L*native["public"]+2*sum(t['roles']*len(t['ports']) for t in caller['types'].values()) +signed_idle=sum(len(caller["types"][e[0]]["ports"]) for e in caller["events"] if e[:2]==["B","IDLE_ODD"]) +scalar_services=32*(L*native_scalars+caller_macros+conversions) +map_slots=(2*b["paid_positions"]+2*b["productive_fields"]+b["native_contact_boundaries"] + +2*b["idle_uses"]+3*b["query_uses"]+b["lambda_uses"]+signed_idle) +records_per_map=4*(b["ambient"]+1)**2 +paid_record_ceiling=map_slots*records_per_map +# Use the same upper ambient 153 as the inherited compiler, even though +# each actual paid or target map is on at most 137 axes. +H=int(g["H"]) +carrier_power=1920 +kstar=carrier_power*153**carrier_power*(H+1)**2 +cc=precision["context_c"] +assert cc<=4096 and (4096*kstar).bit_length()peak:peak=mass;witness=[i,kind] + for i,e in enumerate(word['program']): + op,r=e[:2] + if op in('INIT','CLEAR'):rows[r]={} + elif op=='SCALE': + rows[r]={k:Q(e[2])*v for k,v in rows[r].items()};observe(rows[r],i,'scale') + elif op in('ADD','COPY'): + if op=='COPY':assert not rows[r] + product={k:Q(e[3])*v for k,v in rows[e[2]].items()};observe(product,i,'product') + row=rows[r].copy() + for k,v in product.items(): + value=row.get(k,Q(0))+v + if value:row[k]=value + else:row.pop(k,None) + rows[r]=row;observe(row,i,'stored') + odd=denom;frac=0 + while odd%2==0:odd//=2;frac+=1 + return dict(odd_scale=odd,fractional_bits=frac,unscaled_maximum_mass=str(peak),scaled_maximum_mass=str(peak*odd),mass_witness=witness,coefficient_visits=visits),rows +if __name__=='__main__': + w=json.load(gzip.open(sys.argv[1],'rt'));result,rows=derive(w) + Path(sys.argv[2]).write_text(json.dumps(result,indent=2)+'\n');print(result) diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/envelopes.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/envelopes.py new file mode 100644 index 0000000000..70c8ca2376 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/envelopes.py @@ -0,0 +1,294 @@ +"""Exact positive forward envelopes with independent backward cut checks. + +These are scalar triangle bounds under the stated complete-fibre unitary +contracts. They neither simulate rounding nor establish native provider admission. +Prepared for @CubeJerry with substantial OpenAI assistance. Apache-2.0. +""" +from collections import Counter +from fractions import Fraction as F +from source_binding import need, sources, strict_power, fraction_string, oddpart + + +def frame_span(basis): + s = {0} + for v in basis: + need(isinstance(v, int) and 0 < v < 512 and v not in s, "independent frame basis") + s |= {u ^ v for u in tuple(s)} + return frozenset(s) + + +def validate_word(word): + n, owned_count = word["public"], word["owned_fields"] + need(n == len(word["initial"]) == len(word["final"]), "public frame lists") + spans = list(map(frame_span, word["frames"])) + cur = list(word["initial"]) + [None] * owned_count + owned, zero = set(), set(range(n, n + owned_count)) + life = peak = 0 + counts = Counter() + scalar = Counter() + max_num = max_den = 0 + for i, e in enumerate(word["program"]): + op, r = e[:2] + need(0 <= r < len(cur), "word role at " + str(i)) + counts[op] += 1 + if op == "INIT": + need(len(e) == 3 and r >= n and r not in owned and cur[r] is None, + "fresh owned INIT at " + str(i)) + need(0 <= e[2] < len(spans), "INIT frame") + owned.add(r); zero.add(r); cur[r] = e[2] + life += 1; peak = max(peak, len(owned)) + elif op == "CLEAR": + need(len(e) == 3 and r in owned and cur[r] == e[2], "owned CLEAR") + owned.remove(r); zero.add(r); cur[r] = None + elif op == "MOVE": + _, _, a, b, private = e + need(cur[r] == a and bool(private) == (r in owned), "MOVE source/owner") + need(0 <= b < len(spans), "MOVE destination") + need((spans[a] < spans[b] or spans[b] < spans[a]) if private + else spans[a] < spans[b], "strict source frame nesting") + cur[r] = b + # A rounded child need not preserve exact zero. + zero.discard(r) + else: + need(op in ("ADD", "COPY", "SCALE"), "known native operation") + q = F(e[2] if op == "SCALE" else e[3]) + need(q and abs(q) + 1 < 2 ** 16, "nonzero bounded source coefficient") + need(cur[r] == e[-1] and cur[r] is not None, "scalar live frame") + if op != "SCALE": + s = e[2] + need(0 <= s < len(cur) and s != r and cur[s] == cur[r], "same-frame source") + if op == "COPY": + need(r in owned and r in zero, "COPY into freshly exact zero") + zero.discard(r) + max_num = max(max_num, abs(q.numerator)) + max_den = max(max_den, q.denominator) + scalar["noninteger" if q.denominator > 1 else "integer"] += 1 + scalar["odd" if oddpart(q.denominator) > 1 else "dyadic"] += 1 + need(not owned and cur[:n] == word["final"], "all owned returned; declared final frames") + need((life, peak, owned_count) == (54, 43, 51), "source lifecycle census") + return dict(events=len(word["program"]), public=n, owned_labels=owned_count, + lifetimes=life, peak_owned=peak, opcodes=dict(counts), scalars=dict(scalar), + max_numerator=max_num, numerator_bits=max_num.bit_length(), + max_denominator=max_den, denominator_bits=max_den.bit_length()) + + +def summarize(values): + return {k: {"exact": fraction_string(v[0]), "strict_power_of_two": strict_power(v[0]), + "witness": v[1]} for k, v in values.items()} + + +def native_envelope(word): + census = validate_word(word) + n, size = word["public"], word["public"] + word["owned_fields"] + mass = [F(i < n) for i in range(size)] + error = [F(0) for _ in range(size)] + peaks = {"M": (F(1), {"cut": 0, "register": 0, "factor": "1"}), + "Sigma": (F(0), {"cut": 0, "register": 0, "factor": "1"})} + + def note(name, value, cut, register, factor=F(1), kind="stored"): + if value > peaks[name][0]: + peaks[name] = (value, dict(cut=cut, register=register, + factor=str(factor), kind=kind)) + + for i, e in enumerate(word["program"]): + op, r = e[:2] + if op == "MOVE": + error[r] += 1 + elif op in ("INIT", "CLEAR"): + mass[r] = error[r] = F(0) + else: + q = abs(F(e[2] if op == "SCALE" else e[3])) + if op == "SCALE": + mass[r] *= q; error[r] *= q + else: + s = e[2] + note("M", q * mass[s], i, s, q, "pre-add-product") + note("Sigma", q * error[s], i, s, q, "pre-add-product") + mass[r] += q * mass[s]; error[r] += q * error[s] + if q.denominator > 1: + error[r] += 1 + note("M", mass[r], i + 1, r) + note("Sigma", error[r], i + 1, r) + r = max(range(n), key=error.__getitem__) + peaks["Gamma"] = (error[r], dict(cut=len(word["program"]), register=r, factor="1", kind="public-return")) + checks = {} + for name, (value, witness) in peaks.items(): + m, d, active = native_adjoint(word, witness) + need((m if name == "M" else d) == value, "backward native witness: " + name) + checks[name] = dict(entrance_mass=str(m), residual_mass=str(d), active_residual_sites=active) + return peaks, dict(census=census, bounds=summarize(peaks), independent_adjoint=checks) + + +def native_adjoint(word, witness): + """Transpose recurrence from one cut, not a second forward-state run.""" + size = word["public"] + word["owned_fields"] + lam = [F(0) for _ in range(size)] + lam[witness["register"]] = F(witness["factor"]) + residual, active = F(0), 0 + for e in reversed(word["program"][:witness["cut"]]): + op, r = e[:2] + if op in ("INIT", "CLEAR"): + lam[r] = F(0) + elif op == "MOVE": + residual += lam[r]; active += bool(lam[r]) + else: + q = abs(F(e[2] if op == "SCALE" else e[3])) + if q.denominator > 1: + residual += lam[r]; active += bool(lam[r]) + if op == "SCALE": + lam[r] *= q + else: + lam[e[2]] += q * lam[r] + return sum(lam[:word["public"]]), residual, active + + +def caller_envelope(caller, word_peaks, word): + """Contract J only at its proved exact endpoint; include each native interior.""" + mw, sw, gw = (word_peaks[k][0] for k in ("M", "Sigma", "Gamma")) + size = caller["roles"] + mass, error = [F(1)] * size, [F(0)] * size + peaks = {"M_caller": (F(1), {}), "Sigma_caller": (F(0), {}), + "M_joint_entrance": (F(1), {}), "E_joint_entrance": (F(0), {}), + "M_context": (F(1), {}), "Sigma_context": (F(0), {})} + sites = Counter() + j_order = [] + log = [] + + def note(name, value, i, r=None, *, cut=None, factor=F(1), kind="stored"): + if value > peaks[name][0]: + peaks[name] = (value, dict(event=i, register=r, cut=i + 1 if cut is None else cut, + factor=str(factor), kind=kind)) + + for i, e in enumerate(caller["events"]): + ty = e[0] + if ty == "J": + _, j, ar, br = e + need(len(ar) == 4 and len(br) == 4 and br[2:] == ["-1", "1/2"], "exact J source signature") + u, v, x, y = ar; s, t = br[:2] + regs = (u, v, x, y, s, t) + need(len(set(regs)) == 6 and all(0 <= r < size for r in regs), "six distinct J roles") + need(all(0 <= r < 38 for r in ar) and all(38 <= r < 76 for r in br[:2]), + "current type-local J main binding") + mi, ei = max([F(1)] + [mass[r] for r in regs]), max(error[r] for r in regs) + mr, er = max(regs, key=mass.__getitem__), max(regs, key=error.__getitem__) + note("M_joint_entrance", mi, i, mr, cut=i) + note("E_joint_entrance", ei, i, er, cut=i) + note("M_context", mw * mi, i) + note("Sigma_context", mw * ei + sw, i) + # Each stage's 1,061 arbitrary public helper inputs are distinct raw + # inputs, not zero; their initial bound is 1 and prior defect is 0. + out_m = (mass[u], mass[v] + mass[u], mass[x] + mass[y], mass[y], + mass[s] + mass[t], (mass[s] + mass[t]) / 2) + out_e = (error[u], error[v] + error[u], error[x] + error[y], error[y], + error[s] + error[t], (error[s] + error[t]) / 2) + for r, a, b in zip(regs, out_m, out_e): + mass[r], error[r] = a, b + gw + j_order.append(j); sites["J"] += 1 + log.append(dict(event=i, stage=j, entrance_mass=str(mi), entrance_defect=str(ei))) + else: + need(ty in ("A", "B"), "known caller type") + op, r = e[1:3] + off = caller["types"][ty]["offset"] + count = caller["types"][ty]["roles"] + need(off <= r < off + count, "type-local target") + sites[op] += 1 + if op == "SWAP": + s = e[3] + need(off <= s < off + count and s != r, "type-local SWAP") + mass[r], mass[s] = mass[s], mass[r] + error[r], error[s] = error[s], error[r] + elif op in ("LAMBDA", "IDLE_ONE"): + if op == "LAMBDA": + need(e[3] in (-1, 1), "unit Lambda sign") + else: + need(len(e[3]) == len(set(e[3])) and all(1 <= k <= 18 for k in e[3]), "idle mask") + error[r] += 1 + elif op == "QUERY": + s = e[3] + need(off <= s < off + count and s != r and e[4] == -1, "retained negative query") + mass[r] += mass[s]; error[r] += error[s] + 1 + elif op == "ADD": + s, q = e[3], abs(F(e[4])) + need(off <= s < off + count and r != s and q, "type-local ADD") + note("M_caller", q * mass[s], i, s, cut=i, factor=q, kind="pre-add-product") + note("Sigma_caller", q * error[s], i, s, cut=i, factor=q, kind="pre-add-product") + mass[r] += q * mass[s]; error[r] += q * error[s] + (q.denominator > 1) + sites["noninteger_scalar"] += q.denominator > 1 + elif op == "SCALE": + q = abs(F(e[3])); need(q, "nonzero caller SCALE") + mass[r] *= q; error[r] = q * error[r] + (q.denominator > 1) + sites["noninteger_scalar"] += q.denominator > 1 + else: + raise ValueError("non-retained caller opcode: " + str(op)) + for r in range(size): + note("M_caller", mass[r], i, r) + note("Sigma_caller", error[r], i, r) + need(j_order == list(range(1, 19)), "exact eighteen native calls") + # Completed helper outputs have ideal norm <=1 and defect <=gw; maximum + # over independent helper fields does not multiply by 1,061 or by 18. + peaks["M_context"] = max(peaks["M_context"], peaks["M_caller"], key=lambda a: a[0]) + peaks["Sigma_context"] = max(peaks["Sigma_context"], peaks["Sigma_caller"], key=lambda a: a[0]) + ri = max(range(size), key=error.__getitem__) + need(error[ri] >= gw, "main output dominates helper-return defect in this source") + peaks["Gamma_context"] = (error[ri], dict(register=ri, cut=len(caller["events"]), factor="1", kind="public-return")) + need(len(caller["types"]["A"]["ports"]) == 96 and len(caller["types"]["B"]["ports"]) == 8, + "current physical type multiplicities") + mains = set(word["live"]) | {r + 112 for r in word["live"]} | set(word["hosted"]["X2"]) | set(word["hosted"]["Y2"]) + need(len(mains) == 400 and word["public"] - len(mains) == 1061, "fresh per-stage helper census") + adjoints = {} + for name in ("M_caller", "Sigma_caller", "M_joint_entrance", "E_joint_entrance", "Gamma_context"): + value, witness = peaks[name] + m, d, j_part, primitive_part = caller_adjoint(caller, witness, gw) + need((m if name.startswith("M_") else d) == value, "backward caller witness: " + name) + adjoints[name] = dict(entrance_mass=str(m), residual_mass=str(d), + joint_coefficient=str(j_part), primitive_coefficient=str(primitive_part)) + return peaks, dict(bounds=summarize(peaks), sites=dict(sites), joint_entries=log, + independent_adjoint=adjoints, + physical_main_inputs=3952, fresh_arbitrary_helpers=18 * 1061, + helper_allocation_premise="distinct (stage, helper) public inputs as in frozen caller proof") + + +def caller_adjoint(caller, witness, gamma_word): + lam = [F(0)] * caller["roles"] + lam[witness["register"]] = F(witness["factor"]) + joint, primitive = F(0), F(0) + for e in reversed(caller["events"][:witness["cut"]]): + if e[0] == "J": + u, v, x, y = e[2]; s, t = e[3][:2] + joint += sum(lam[r] for r in (u, v, x, y, s, t)) + a, b = lam[s], lam[t] + lam[u] += lam[v] + lam[y] += lam[x] + lam[s] = lam[t] = a + b / 2 + continue + op, r = e[1:3] + if op == "SWAP": + s = e[3]; lam[r], lam[s] = lam[s], lam[r] + elif op in ("LAMBDA", "IDLE_ONE"): + primitive += lam[r] + elif op == "QUERY": + primitive += lam[r]; lam[e[3]] += lam[r] + else: + q = abs(F(e[3] if op == "SCALE" else e[4])) + if q.denominator > 1: + primitive += lam[r] + if op == "SCALE": + lam[r] *= q + else: + lam[e[3]] += q * lam[r] + return sum(lam), joint * gamma_word + primitive, joint, primitive + + +def run(): + caller, word = sources() + wp, wr = native_envelope(word) + cp, cr = caller_envelope(caller, wp, word) + expected_w = {"M": 237, "Sigma": 235, "Gamma": 235} + expected_c = {"M_caller": 121, "Sigma_caller": 342, "M_joint_entrance": 119, + "E_joint_entrance": 340, "M_context": 355, "Sigma_context": 576, + "Gamma_context": 337} + for k, p in expected_w.items(): + need(strict_power(wp[k][0]) == p, "frozen native bound " + k) + for k, p in expected_c.items(): + need(strict_power(cp[k][0]) == p, "frozen caller bound " + k) + return dict(native=wr, caller=cr) diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/independent.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/independent.py new file mode 100644 index 0000000000..1ae1d7c680 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/independent.py @@ -0,0 +1,220 @@ +#!/usr/bin/env python3 +"""Independent finite word/caller/invoice audit; no imported author checker. +Native endpoint uses the transposed circuit in reverse chronological order. +Caller identity uses exact polynomials in 18 unrestricted commuting variables +and q modulo q^4-1, with Gaussian rational coefficients. +""" +from collections import Counter +from fractions import Fraction as F +from pathlib import Path +from decimal import Decimal, localcontext +import argparse, gzip, hashlib, json, math, time + +HERE=Path(__file__).resolve().parent + +if not __debug__: raise RuntimeError('Run without -O; assertions are proof checks.') + +def load(p): + p=Path(p); b=p.read_bytes(); return json.loads(gzip.decompress(b) if p.suffix=='.gz' else b) +def pin(p): return hashlib.sha256(Path(p).read_bytes()).hexdigest() +def addto(a,b,q=F(1)): + for k,v in b.items(): + z=a.get(k,0)+q*v + if z:a[k]=z + else:a.pop(k,None) +def scale(a,q): return {k:v*q for k,v in a.items() if v*q} +def span(b): + s={0} + for x in b: + assert x not in s and 0=n and r not in active;active.add(r);cur[r]=e[2];life+=1;peak=max(peak,len(active)-n) + elif op=='CLEAR': + assert r>=n and r in active and cur[r]==e[2];active.remove(r);del cur[r] + elif op=='MOVE': + _,r,a,b,owned=e;assert r in active and cur[r]==a and owned==(r>=n) + assert (frames[a]0;paid[rank]+=1;cur[r]=b + if owned and dim[b]>dim[a]:rises[rank]+=1 + elif op=='SCALE':assert r in active and cur[r]==e[-1] + else:assert op in ('ADD','COPY') and r in active and e[2] in active and r!=e[2] and cur[r]==cur[e[2]]==e[-1] + assert active==set(range(n)) and [cur[r] for r in range(n)]==W['final'] + # adj[r][j] is the derivative of final output j with respect to current r. + adj=[{r:F(1)} if r0:lo=mid + else:hi=mid + crossing=str((lo+hi)/2) + Ecount=sum(len(d['ports']) for d in C['types'].values() for dg in d['diagonal'] if not any(dg[2:]));Te=T.copy();Te[1]-=Ecount;lo,hi=Decimal(0),Decimal('.01') + for _ in range(200): + mid=(lo+hi)/2 + if margin(mid,Te)>0:lo=mid + else:hi=mid + nocredit=str((lo+hi)/2) + return dict(T=dict(sorted(T.items())),P=dict(sorted(P.items())),S=S,raw_crossing=crossing,empty_root_credits=Ecount,no_E_credit_crossing=nocredit) + +def ordinary(W,C,N): + # Atomic contributions are separately itemized to prevent zero-charge shortcuts. + calls=18;portsA=len(C['types']['A']['ports']);ports=sum(len(v['ports']) for v in C['types'].values()) + scalar=0;init_clear=0;odd=Counter() + for e in W['program']: + if e[0] in ('ADD','COPY','SCALE'): + q=F(e[2] if e[0]=='SCALE' else e[3]);a=abs(q.numerator);d=q.denominator + scalar+=4*(a.bit_length()+d.bit_length()+1+(a.bit_count() if e[0]!='SCALE' else 0)) + if d&(d-1):odd[e[0]]+=1 + elif e[0] in ('INIT','CLEAR'):init_clear+=2 + route_items=dict(moves=sum(N['paid'].values()),helper_boundary=2*sum(N['helpers'].values()),first_main_boundary=2*ports,second_main_boundary=2*portsA,first_main_adapter=4*ports,second_main_adapter=4*portsA,owned_lifetime=4*N['lifetimes']) + routing=1000*sum(route_items.values());rest_items={};lam=0 + def swapcost(axes):return len(set(axes)-set(range(len(axes)))) + for ty,t in C['types'].items(): + ne=sum(e[0] in (ty,'J') for e in C['events']);p=len(t['ports']);nr=t['roles'];env=32*nr*p*ne + qr=[e for e in C['events'] if e[0]==ty and e[1]=='QUERY'];idle=[e for e in C['events'] if e[0]==ty and e[1]=='IDLE_ONE'];la=sum(e[0]==ty and e[1]=='LAMBDA' for e in C['events']);lam+=la*p + output=0 + for qp,zero,*mask in t['diagonal']: + axes=([0] if qp else [])+[a for k,v in enumerate(mask) if v for a in range(9+8*k,17+8*k)] + output+=p*1000*(2*swapcost(axes)+2*bool(qp)+(qp==-1)) + idleroute=sum(2*p*1000*swapcost([a for k in e[3] for a in range(1+8*k,9+8*k)]) for e in idle) + queryroute=sum(p*1000*(2+(e[4]==-1)) for e in qr) + rest_items[ty]=dict(envelope=env,thin=16*p*len(qr),field_boundary=26*nr*p,output_routes=output,idle_routes=idleroute,query_routes=queryroute) + rest=sum(sum(d.values()) for d in rest_items.values());upper=calls*(scalar+routing)+rest;conversion=calls*len(W['initial'])*104;secondlam=lam*1000 + return dict(scalar_upper=scalar,init_clear_allowance=init_clear,route_items=route_items,routing=routing,caller_items=rest_items,caller_total=rest,raw_upper=upper,per_input_conversion=conversion,lambda_second_charge=secondlam,conservative_total=upper+conversion+secondlam,margin_to_billion=10**9-upper-conversion-secondlam,odd_divisions=dict(odd),lambda_paid_rank1_would_reduce_S_by=lam) + +def main(): + ap=argparse.ArgumentParser();ap.add_argument('word');ap.add_argument('--out',required=True);ap.add_argument('--caller',action='store_true');ap.add_argument('--mutant',type=int);ap.add_argument('--caller-path',required=True);a=ap.parse_args() + W=load(a.word);C=load(a.caller_path);start=time.time();N=native(W,a.mutant) + result=dict(schema='independent-reverse-circuit-audit/1',word=str(Path(a.word).resolve()),word_sha256=pin(a.word),caller_sha256=pin(a.caller_path),native=N) + if a.mutant is None: + result['invoice']=invoices(W,C,N);result['ordinary']=ordinary(W,C,N) + if a.caller:result['caller']=caller(C) + result['seconds']=time.time()-start;Path(a.out).write_text(json.dumps(result,indent=2)+'\n');print(json.dumps(result,indent=2)) +if __name__=='__main__':main() diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/independent_bounds.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/independent_bounds.py new file mode 100644 index 0000000000..8fe729386f --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/independent_bounds.py @@ -0,0 +1,267 @@ +"""Read-only author-side audit of the odd-grid package. + +Independent fixed-grid integer word engine and positive transfer matrix caller +engine. This does not prove native/endpoint identities or run a physical tape. +Prepared for @CubeJerry with substantial OpenAI assistance. +""" +from __future__ import annotations + +from collections import Counter +from hashlib import sha256 +from math import gcd, lcm +from pathlib import Path +import ast +import gzip +import json + +ROOT = Path(__file__).resolve().parent +SOURCE = ROOT / "source/data" + + +def need(ok, message): + if not ok: + raise ValueError(message) + + +def rational(text): + bits = str(text).split("/") + return (int(bits[0]), int(bits[1]) if len(bits) == 2 else 1) + + +def height(n): + need(n > 0 and n & (n - 1) == 0, "dyadic denominator") + return n.bit_length() - 1 + + +def reduced(n, d): + g = gcd(n, d) + return str(n // g) if d // g == 1 else f"{n//g}/{d//g}" + + +def word_run(word, scale=1125, frac=24): + """Store every formal row on the *one fixed* scale*2^frac integer grid.""" + n = len(word["initial"]) + unit = 1 << frac + rows = [{i: scale * unit} for i in range(n)] + rows += [{} for _ in range(word["owned_fields"])] + frames = list(word["initial"]) + [None] * word["owned_fields"] + live = set() + peak, odd_lcm, high, visits = scale * unit, 1, 0, 0 + numerator_bits = 0 + witness = None + + def observe(row, index, kind): + nonlocal peak, odd_lcm, high, visits, witness + mass = sum(abs(value) for value in row.values()) + if mass > peak: + peak, witness = mass, (index, kind) + for value in row.values(): + if not value: + continue + odd_lcm = lcm(odd_lcm, scale // gcd(value, scale)) + trailing = (abs(value) & -abs(value)).bit_length() - 1 + high = max(high, frac - trailing) + visits += 1 + + def multiply(row, q, index): + a, b = rational(q) + result = {} + for key, value in row.items(): + quotient, residue = divmod(value * a, b) + need(residue == 0, f"integer grid rejection at event {index}: denominator {b}") + if quotient: + result[key] = quotient + return result + + for index, event in enumerate(word["program"]): + op, target = event[:2] + if op == "INIT": + need(target >= n and target not in live, "fresh owner") + live.add(target); rows[target] = {}; frames[target] = event[2] + elif op == "CLEAR": + need(target in live and frames[target] == event[2], "owner clear") + live.remove(target); rows[target] = {}; frames[target] = None + elif op == "MOVE": + need(frames[target] == event[2], "source chart") + frames[target] = event[3] + elif op == "SCALE": + need(frames[target] == event[3], "scale chart") + numerator_bits = max(numerator_bits, abs(rational(event[2])[0]).bit_length()) + rows[target] = multiply(rows[target], event[2], index) + observe(rows[target], index, "scale") + elif op in ("ADD", "COPY"): + source = event[2] + need(target != source and frames[target] == frames[source] == event[4], "common chart") + need(op != "COPY" or target in live and not rows[target], "copy zero") + numerator_bits = max(numerator_bits, abs(rational(event[3])[0]).bit_length()) + product = multiply(rows[source], event[3], index) + observe(product, index, "pre-add product") + result = rows[target].copy() + for key, value in product.items(): + result[key] = result.get(key, 0) + value + if not result[key]: + del result[key] + rows[target] = result + observe(result, index, "stored add") + else: + raise ValueError(op) + need(not live and frames[:n] == word["final"], "completed owned/frame endpoints") + need(all(value % scale == 0 for row in rows[:n] for value in row.values()), "unscaled public rows dyadic") + need(all(not row for row in rows[n:]), "private rows gone") + return dict(odd_scale_lcm=odd_lcm, dyadic_height=high, + maximum_scaled_mass=reduced(peak, unit), mass_witness=witness, + numerator_bits=numerator_bits, coefficient_visits=visits) + + +def caller_run(caller): + """Propagate all 78 positive input contributions on a common integer grid. + + Matrix entries count triangle-inequality contributions; they do not commute + Clifford words or evaluate numerical characters. The common scale only + grows and all divisions below are integer-exact after that scale change. + """ + count = caller["roles"] + rows = [[int(i == j) for j in range(count)] for i in range(count)] + debts = [0] * count + scale = 0 + maximum = pre_joint = (1, 0) + maximum_debt = joint_debt = 0 + + def larger(pair, candidate): + a, k = pair; b, ell = candidate + return candidate if (b << k) > (a << ell) else pair + + def denominator(bits): + nonlocal scale, rows + if bits: + rows = [[value << bits for value in row] for row in rows] + scale += bits + + for event in caller["events"]: + if event[0] == "J": + pre_joint = larger(pre_joint, (max(map(sum, rows)), scale)) + joint_debt = max(joint_debt, *debts) + s, t, x, y = event[2] + bs, bt, alpha, beta = event[3] + need(len({s, t, x, y, bs, bt}) == 6, "joint owner separation") + need(rational(alpha) == (-1, 1) and rational(beta) == (1, 2), "actual B pair") + a, b = rational(caller["types"]["A"]["alpha2"]) + need(b == 1, "actual A integer shear") + denominator(1) + rows[t] = [u + v for u, v in zip(rows[t], rows[s])] + rows[x] = [u + abs(a) * v for u, v in zip(rows[x], rows[y])] + combo = [u + v for u, v in zip(rows[bs], rows[bt])] + need(all(v % 2 == 0 for v in combo), "B integer halving") + rows[bs], rows[bt] = combo, [v // 2 for v in combo] + debts[t], debts[x] = max(debts[t], debts[s]), max(debts[x], debts[y]) + newdebt = max(debts[bs], debts[bt]) + debts[bs], debts[bt] = newdebt, newdebt + 1 + else: + op, t = event[1:3] + if op in ("ADD", "SCALE"): + a, b = rational(event[4] if op == "ADD" else event[3]) + k = height(b); denominator(k) + if op == "ADD": + source = event[3] + need(all(abs(a) * v % b == 0 for v in rows[source]), "ADD integer grid") + rows[t] = [u + abs(a) * v // b for u, v in zip(rows[t], rows[source])] + debts[t] = max(debts[t], debts[source] + k) + else: + need(all(abs(a) * v % b == 0 for v in rows[t]), "SCALE integer grid") + rows[t] = [abs(a) * v // b for v in rows[t]] + debts[t] += k + elif op == "QUERY": + source = event[3] + rows[t] = [u + v for u, v in zip(rows[t], rows[source])] + debts[t] = max(debts[t], debts[source]) + elif op == "SWAP": + source = event[3] + rows[t], rows[source] = rows[source], rows[t] + debts[t], debts[source] = debts[source], debts[t] + elif op == "LAMBDA": + rows[t] = [2 * v for v in rows[t]] + debts[t] += 1 + elif op != "IDLE_ONE": + raise ValueError(op) + maximum = larger(maximum, (max(map(sum, rows)), scale)) + maximum_debt = max(maximum_debt, *debts) + return dict(maximum_mass=reduced(maximum[0], 1 << maximum[1]), + pre_joint_mass=reduced(pre_joint[0], 1 << pre_joint[1]), + denominator_height=maximum_debt, pre_joint_height=joint_debt) + + +def threshold_run(): + """Read source literals by AST and regenerate the threshold by integers.""" + check = SOURCE.parent / "check.py" + nodes = ast.parse(check.read_text()).body + values = {} + for node in nodes: + if not isinstance(node, ast.Assign) or len(node.targets) != 1: + continue + target = node.targets[0] + if isinstance(target, ast.Tuple) and all(isinstance(x, ast.Name) for x in target.elts): + names = [x.id for x in target.elts] + if names == ["KAPPA", "TESTED"]: + for name, value in zip(names, node.value.elts): + need(isinstance(value, ast.Call) and isinstance(value.args[0], ast.Constant), "price source literal") + digits = value.args[0].value + before, after = digits.split(".") + values[name] = (int((before or "0") + after), 10 ** len(after)) + elif names == ["LPMIN", "LP"]: + values["LP"] = node.value.elts[1].value + a, b = values["KAPPA"] + c, d = values["TESTED"] + numerator, denominator = c*b-a*d, 7*b*d + common = gcd(numerator, denominator) + need(numerator // common == 1, "unit exact source gap") + step = denominator // common + power = values["LP"] + def wins(j): + return pow(step*j+1, power) < 1 << j + lo, hi = 1, 2 + while not wins(hi): + lo, hi = hi, hi*2 + while hi-lo > 1: + mid = (hi+lo)//2 + if wins(mid): + hi = mid + else: + lo = mid + h = step*hi + need(wins(hi) and not wins(hi-1), "threshold neighbors") + kstar = 1920*pow(153, 1920)*pow(h+1, 2) + need(h == 1339210000000000000 and kstar.bit_length() == 14066 + and (357*kstar).bit_length() == 14075 < h, "symbolic threshold margin") + return {"H": h, "integer_threshold_index": hi, "gap_denominator": step, + "logarithm_power": power, "Kstar_bits": kstar.bit_length(), + "357Kstar_bits": (357*kstar).bit_length(), + "source_check_sha256": sha256(check.read_bytes()).hexdigest()} + + +def main(): + word = json.loads(gzip.decompress((SOURCE / "word.json.gz").read_bytes())) + caller = json.loads((SOURCE / "caller.json").read_text()) + result = {"source_sha256": {n: sha256((SOURCE/n).read_bytes()).hexdigest() + for n in ("word.json.gz", "caller.json")}, + "word": word_run(word), "caller": caller_run(caller), "negative_scales": {}} + for scale in (375, 225): + try: + word_run(word, scale=scale) + except ValueError as error: + result["negative_scales"][str(scale)] = str(error) + else: + raise ValueError("insufficient odd scale was accepted") + expected = json.loads((ROOT / "EXPECTED-BOUNDS.json").read_text()) + for key in ("dyadic_height", "maximum_scaled_mass", "coefficient_visits"): + need(result["word"][key] == expected["word"][key], "independent word agreement: " + key) + need(result["word"]["odd_scale_lcm"] == 1125, "minimal source-derived scale") + need(result["word"]["numerator_bits"] == 24, "literal numerator width") + for key in ("maximum_mass", "denominator_height", "pre_joint_height"): + need(result["caller"][key] == expected["caller"][key], "independent caller agreement: " + key) + result["threshold"] = threshold_run() + print(json.dumps(result, sort_keys=True, indent=2)) + print("PASS_INDEPENDENT_ODD_GRID_BOUNDS") + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/source_binding.py b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/source_binding.py new file mode 100644 index 0000000000..9f0e0a8cba --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/engines/vendor/source_binding.py @@ -0,0 +1,85 @@ +"""Authenticate the frozen source capsule; no network or Git is required. + +Prepared for @CubeJerry with substantial OpenAI assistance. Apache-2.0. +""" +from fractions import Fraction +import gzip +import hashlib +import json +from pathlib import Path +import sys +import types + +ROOT = Path(__file__).resolve().parent + + +def need(ok, message): + if not ok: + raise ValueError(message) + + +def digest(data): + return hashlib.sha256(data).hexdigest() + + +def blob(data): + return hashlib.sha1(b"blob " + str(len(data)).encode() + b"\0" + data).hexdigest() + + +def check_dependencies(): + items = json.loads((ROOT / "DEPENDENCIES.json").read_bytes())["files"] + need(len(items) == 11, "exact eleven-file immutable capsule") + seen = set() + for row in items: + name = row["local_path"] + path = ROOT / name + need(name not in seen and path.resolve().is_relative_to(ROOT), "capsule path") + seen.add(name) + data = path.read_bytes() + need(len(data) == row["bytes"], "source length: " + name) + need(digest(data) == row["sha256"], "source SHA-256: " + name) + need(blob(data) == row["git_blob"], "source Git blob: " + name) + return len(items) + + +def sources(): + check_dependencies() + caller = json.loads((ROOT / "data/caller.json").read_bytes()) + word = json.loads(gzip.decompress((ROOT / "data/word.json.gz").read_bytes())) + need(len(caller["events"]) == 3095 and caller["roles"] == 76, "frozen caller shape") + need(len(word["program"]) == 71144 and word["public"] == 1461, "frozen local word") + return caller, word + + +def load_vendor(name, relative): + """Compile authenticated bytes directly, never a cached .pyc.""" + check_dependencies() + path = ROOT / relative + module = types.ModuleType(name) + module.__file__ = str(path) + sys.modules[name] = module + exec(compile(path.read_bytes(), str(path), "exec"), module.__dict__) + return module + + +def fraction_string(x): + return str(Fraction(x)) + + +def strict_power(x): + """Smallest nonnegative k for which the exact nonnegative x is < 2**k.""" + x = Fraction(x) + need(x >= 0, "positive majorant") + k = max(0, x.numerator.bit_length() - x.denominator.bit_length()) + while x >= 1 << k: + k += 1 + while k and x < 1 << (k - 1): + k -= 1 + return k + + +def oddpart(n): + need(n > 0, "positive denominator") + while n % 2 == 0: + n //= 2 + return n diff --git a/research/p104-180-contact-application/application-evidence/resource-replay/preflight.py b/research/p104-180-contact-application/application-evidence/resource-replay/preflight.py new file mode 100644 index 0000000000..28f3a6a971 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/resource-replay/preflight.py @@ -0,0 +1,335 @@ +#!/usr/bin/env python3 +"""Run the bounded literal, grid and ordinary feasibility checks.""" + +import argparse +import gzip +import hashlib +import importlib.util +import json +import resource +import signal +import sys +from collections import Counter +from fractions import Fraction +from pathlib import Path + + +HERE = Path(__file__).resolve().parent +OUTPUTS = HERE.parents[1] +RESOURCES = OUTPUTS / 'kappa-7641-successor-20261118/resources' +VENDOR = RESOURCES / 'vendor' +SOURCE_PINS = { + 'qualify.py': '02bc6cd1a627562e69be4d2dc756e3da55048395a0b85605849b9209ec7a1902', + 'ordinary.py': 'f0325ce12226a53f52d75ba3e068f0f7d4cb80c827e302617d94ba14a10883fc', + 'tape_scalar.py': '9a22a356f3efa5605c852607b0791ecd7c6b2ef0641ae4bf0c2483c1544d31aa', + 'vendor/ODD-CALLER-EXACT-GRID.json': '87d25d9fa3778bf4784e3a9e17f32ce5ba372663c6e97392cc62b87e6719042c', + 'vendor/derive_grid.py': 'ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0', + 'vendor/independent_bounds.py': '198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5', +} +ORIGINAL_COMPRESSED = 'de43ed04f58133eaef8f8d12a9dae1e6e8aa7f9721044200cc839673d86fd7c1' +ORIGINAL_RAW = '6a472688bdf2a1b293df0f4f77427a04a1f87c92fedb5b5a6921cc850c272b4f' +WORDS = { + '7636': { + 'head': '7e68d8dd62d9a38c0f3c942262a7a85ca7125b75', + 'path': HERE.parent / 'pins/7636/data/word.json.gz', + 'gzip_sha256': '1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659', + 'raw_sha256': '98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2', + 'canonical_sha256': 'c3390064f8bff3fda737f38c1d438016125e784952c545940bbb261b10df668c', + 'lifetimes': 180, + 'reported_grid': 54675, + }, + '7620': { + 'head': 'b1356c84a0733843ce59855f02511c49c6a44133', + 'path': OUTPUTS / 'kappa-research-20261115b/inputs/pr7620/data/word.json.gz', + 'gzip_sha256': '2eb2cf1d29529c68a6cb1c0639de3065a805858d3492068e76b70c5a5e80a81c', + 'raw_sha256': '684c1f877fe3aa9e0afaf8f494286e617bc87ed324288b589812a709d1752a5e', + 'canonical_sha256': '6c46ad38d812ae110392f1c977cc6f02665f8860e98ef1c21cb539ff3779533d', + 'lifetimes': 167, + 'reported_grid': 1125, + }, + '7658': { + 'head': '0a0e71c34a5ee5a1b59a8fe7bc6abd35a4d3dd82', + 'path': HERE.parent / 'word7658.verified-source.gz', + 'gzip_sha256': 'dde0a987c2dd9e221208ca5043dfd6e2bdfbb8c4289fa20e2b93fae1696b3ea9', + 'raw_sha256': 'fa84fcdecb534700cd00dc81b74889f549a653daa2fb3658cb8142e1eeb9b9e6', + 'canonical_sha256': '9721965b3fa98cef7731ee88319fae2e62354bca3bf1a6b334bcffee14b047cf', + 'lifetimes': 234, + 'reported_grid': 225, + }, + '7658-b': { + 'head': '0a0e71c34a5ee5a1b59a8fe7bc6abd35a4d3dd82', + 'path': HERE.parent / 'strong/run7658/WORD.json.gz', + 'gzip_sha256': '4e9cd9cc70a5423db44f870b35d8d6da9ac5746aa352f3af1420443f6dda350e', + 'raw_sha256': 'f0753b6614b2d351723dddc307a39b6ecd748a43008c6fdb9335b01feeec9669', + 'canonical_sha256': 'f0753b6614b2d351723dddc307a39b6ecd748a43008c6fdb9335b01feeec9669', + 'lifetimes': 234, + 'reported_grid': 225, + }, +} + + +def need(ok, message): + if not ok: + raise ValueError(message) + + +def digest(data): + return hashlib.sha256(data).hexdigest() + + +def write_json(path, data): + with path.open('x') as stream: + json.dump(data, stream, indent=2, default=str) + stream.write('\n') + + +def run_adapted(name, substitutions, argv=None): + source = RESOURCES / name + raw = source.read_bytes() + need(digest(raw) == SOURCE_PINS[name], f'source pin {name}') + text = raw.decode() + for before, after in substitutions: + need(text.count(before) == 1, f'exact adapter occurrence in {name}: {before}') + text = text.replace(before, after) + report = { + 'source': str(source), 'source_sha256': digest(raw), + 'adapted_sha256': digest(text.encode()), + 'substitutions': substitutions, + } + write_json(ACTIVE_OUT / f'{source.stem}-adapter.json', report) + original_argv = sys.argv + try: + if argv is not None: + sys.argv = [str(source), *argv] + exec(compile(text, str(source), 'exec'), {'__name__': '__main__', '__file__': str(source)}) + finally: + sys.argv = original_argv + + +def smooth(value): + if value == 0: + return False + for prime in (2, 3, 5): + while value % prime == 0: + value //= prime + return value == 1 + + +def problems(opcode, scalar): + problems = [] + numerator = abs(scalar.numerator) + if not numerator or not smooth(scalar.denominator): + problems.append('zero_or_nonsmooth_denominator') + if opcode == 'SCALE' and not smooth(numerator): + problems.append('scale_not_unit') + if abs(scalar) + 1 >= 2**16: + problems.append('native_magnitude') + if numerator >= 2**24: + problems.append('fixed_tape_numerator') + if 2 * (numerator + scalar.denominator) + 2 * (scalar.denominator // 2) >= 2**26: + problems.append('fixed_tape_W_plus_26_rounded_work_bound') + return problems + + +def literal_inventory(word): + totals, first = Counter(), {} + widest = largest_denominator = largest_magnitude = None + split_count = Counter() + for clock, event in enumerate(word['program']): + opcode = event[0] + if opcode not in ('ADD', 'COPY', 'SCALE'): + continue + scalar = Fraction(event[2] if opcode == 'SCALE' else event[3]) + witness = {'clock': clock, 'event': event, 'coefficient': str(scalar)} + issues = problems(opcode, scalar) + for issue in issues: + totals[issue] += 1 + first.setdefault(issue, witness) + if widest is None or abs(scalar.numerator) > widest[0]: + widest = (abs(scalar.numerator), witness) + if largest_denominator is None or scalar.denominator > largest_denominator[0]: + largest_denominator = (scalar.denominator, witness) + if largest_magnitude is None or abs(scalar) > largest_magnitude[0]: + largest_magnitude = (abs(scalar), witness) + if issues: + integer = int(scalar) + fraction = scalar - integer + if opcode == 'ADD' and integer and fraction and not problems(opcode, Fraction(integer)) and not problems(opcode, fraction): + split_count['qualifying_integer_plus_fraction_ADD'] += 1 + else: + split_count['different_repair_required'] += 1 + control_cases = { + 'smooth_nonzero_unit_accepts': not problems('SCALE', Fraction(9, 125)), + 'nonsmooth_scale_rejects': 'scale_not_unit' in problems('SCALE', Fraction(7, 32)), + 'nonsmooth_ADD_denominator_rejects': 'zero_or_nonsmooth_denominator' in problems('ADD', Fraction(1, 7)), + 'magnitude_endpoint_rejects': 'native_magnitude' in problems('ADD', Fraction(65535)), + 'overwide_small_coefficient_rejects': problems('ADD', Fraction(2**24+1, 2**20)) == ['fixed_tape_numerator'], + } + need(all(control_cases.values()), 'literal guard controls') + return { + 'failures_by_guard': totals, 'first_offending_literals': first, + 'max_numerator': widest, 'max_denominator': largest_denominator, + 'max_abs_coefficient': largest_magnitude, + 'bounded_split_screen_if_needed': split_count, 'controls': control_cases, + } + + +def identity(pin): + compressed = pin['path'].read_bytes() + need(digest(compressed) == pin['gzip_sha256'], 'compressed word pin') + raw = gzip.decompress(compressed) + need(digest(raw) == pin['raw_sha256'], 'raw word pin') + word = json.loads(raw) + canonical = json.dumps(word, sort_keys=True, separators=(',', ':')).encode() + need(digest(canonical) == pin['canonical_sha256'], 'canonical word pin') + return word + + +def charged_total(total, sites, expected_sites, rate): + need(sites == expected_sites and rate > 0, 'all native conversions must be charged') + conservative_total = total + sites * rate + return conservative_total, conservative_total < 10**9 + + +def quick(pin, native_scale): + path = str(pin['path']) + word = identity(pin) + source = {'source_pr': pin['head'], 'word_sha256': pin['raw_sha256'], + 'canonical_sha256': pin['canonical_sha256'], 'word_gzip_sha256': pin['gzip_sha256']} + write_json(ACTIVE_OUT / 'LITERALS.json', {'scope': 'Declared literal predicates, no physical run.', + **source, **literal_inventory(word)}) + del word + caller_raw = (VENDOR / 'ODD-TYPE-AB-CALLER.json').read_bytes() + need(digest(caller_raw) == '255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc', 'pinned signed caller') + caller = json.loads(caller_raw) + need([e[1] for e in caller['events'] if e[0] == 'J'] == list(range(1, 18)), '17 chronological call sites') + common = [("ROOT.parent/'word7641.json.gz'", f'Path({path!r})'), + (ORIGINAL_COMPRESSED, pin['gzip_sha256']), (ORIGINAL_RAW, pin['raw_sha256'])] + run_adapted('ordinary.py', [*common, + (' resource.setrlimit(resource.RLIMIT_AS, (1024**3, 1024**3))\n resource.setrlimit(resource.RLIMIT_CPU, (120, 121))\n signal.alarm(150)\n', ''), + ("out = ROOT / 'ORDINARY-RESULT.json'", f'out = Path({str(ACTIVE_OUT / "ORDINARY.json")!r})'), + ('lifetimes==234', f"lifetimes=={pin['lifetimes']}"), + ('conversion_rate(10125)-conversion_rate(1125)', f'conversion_rate({native_scale})-conversion_rate(1125)'), + ("'old':1125,'new':10125", f"'old':1125,'new':{native_scale}"), + ("'rate_new':conversion_rate(10125)", f"'rate_new':conversion_rate({native_scale})"), + ("'source_7641_reported_ordinary':878834276,", ''), + ]) + run_adapted('tape_scalar.py', [*common, + (' resource.setrlimit(resource.RLIMIT_AS,(1024**3,1024**3))\n resource.setrlimit(resource.RLIMIT_CPU,(120,121));signal.alarm(150)\n', ''), + ("out=ROOT/'TAPE-SCALAR-RESULT.json'", f'out=Path({str(ACTIVE_OUT / "TAPE-SCALAR.json")!r})'), + ('(10125,Fraction(1,10125),odd,Fraction(1,odd))', f'({native_scale},Fraction(1,{native_scale}),odd,Fraction(1,odd))'), + ("'scale_assumed_for_comparison':10125", f"'scale_assumed_for_comparison':{native_scale}"), + ('Scale 10125 is the author-reported value pending independent grid outcome.', 'Scale input is separately bound by the grid receipt or marked as provisional.'), + ]) + ordinary = json.loads((ACTIVE_OUT / 'ORDINARY.json').read_bytes()) + sites = ordinary['native_scale_comparison']['conversion_sites'] + rate = 4 * (native_scale.bit_length() + 1 + native_scale.bit_count()) + retained_total = ordinary['retained_signed_model_total'] + expected_sites = 2 * 17 * 1501 + adverse = { + 'exact_ceiling_rejected': not charged_total(10**9 - expected_sites * rate, expected_sites, expected_sites, rate)[1], + } + try: + charged_total(retained_total, sites - 1, expected_sites, rate) + except ValueError: + adverse['omitted_conversion_rejected'] = True + else: + raise ValueError('omitted conversion control was accepted') + need(all(adverse.values()), 'strict ordinary controls') + paid_total, below_cap = charged_total(retained_total, sites, expected_sites, rate) + write_json(ACTIVE_OUT / 'TARIFF.json', {**source, + 'scope': 'Declared 17-call model accounting. Keep the retained charge and double-charge all native conversions under the same conditional full-field tariff.', + 'native_scale': native_scale, 'native_conversion_sites': sites, 'units_per_site': rate, + 'extra_conversion_ordinary': sites * rate, 'retained_signed_model_total': retained_total, + 'conservative_total': paid_total, 'margin': 10**9 - paid_total, 'strict_ceiling_met': below_cap, + 'tape_control_arithmetic': adverse, + }) + + +def grid(pin, cpu, wall): + identity(pin) + run_adapted('qualify.py', [ + (ORIGINAL_COMPRESSED, pin['gzip_sha256']), (ORIGINAL_RAW, pin['raw_sha256']), + ("'only pinned #7641 word is authorized'", "'only the dispatched exact word is authorized'"), + ('(234, 50, 68)', f"({pin['lifetimes']}, 50, 68)"), + ("'prior_7637_context': 2458,", ''), + ], [f'--word={pin["path"]}', f'--output={ACTIVE_OUT / "GRID.json"}', f'--cpu-seconds={cpu}', f'--wall-seconds={wall}']) + + +def old_grid_control(pin): + word = identity(pin) + engine_path = VENDOR / 'independent_bounds.py' + need(digest(engine_path.read_bytes()) == SOURCE_PINS['vendor/independent_bounds.py'], 'unchanged integer grid engine') + spec = importlib.util.spec_from_file_location('retained_integer_grid_control', engine_path) + engine = importlib.util.module_from_spec(spec) + spec.loader.exec_module(engine) + try: + engine.word_run(word, scale=1125, frac=24) + except ValueError as error: + first_error = str(error) + else: + raise ValueError('insufficient inherited odd scale accepted') + need(first_error == 'integer grid rejection at event 5650: denominator 9', 'first inherited-scale rejection') + cut, column = 5650, 586 + coordinate = [Fraction(role == column) for role in range(word['public'] + word['owned_fields'])] + for event in word['program'][:cut]: + opcode, role = event[:2] + if opcode in ('INIT', 'CLEAR'): + coordinate[role] = Fraction(0) + elif opcode == 'SCALE': + coordinate[role] *= Fraction(event[2]) + elif opcode in ('ADD', 'COPY'): + coordinate[role] += Fraction(event[3]) * coordinate[event[2]] + event = word['program'][cut] + need(event == ['ADD', 1300, 1298, '-10/9', 3], 'exact adverse event') + source = coordinate[event[2]] + coefficient = Fraction(event[3]) + product = coefficient * source + old_tick = source * 1125 * 2**24 + need(old_tick.denominator == 1, 'original entrance coordinate integral') + remainder = (old_tick.numerator * coefficient.numerator) % coefficient.denominator + need(source == Fraction(2, 15) and product == Fraction(-4, 27) and remainder == 3, 'independent exact coordinate witness') + new_tick = product * 54675 * 2**16 + need(new_tick.denominator == 1, 'fresh grid admits the adverse product') + write_json(ACTIVE_OUT / 'OLD-GRID-CONTROL.json', { + 'status': 'PASS_SCOPED_INHERITED_GRID_REJECTION', + 'raw_word_sha256': pin['raw_sha256'], 'canonical_sha256': pin['canonical_sha256'], + 'integer_engine_sha256': SOURCE_PINS['vendor/independent_bounds.py'], + 'inherited_odd_scale': 1125, 'inherited_fractional_bits': 24, 'first_error': first_error, + 'clock': cut, 'column': column, 'event': event, 'source_coordinate_before': str(source), + 'preproduct_coordinate': str(product), 'scaled_source_integer': old_tick.numerator, + 'old_division_remainder': remainder, 'new_scaled_preproduct_integer': new_tick.numerator, + }) + + +def main(): + ap = argparse.ArgumentParser() + ap.add_argument('test', choices=('quick', 'grid', 'old-grid-control')) + ap.add_argument('word', choices=WORDS) + ap.add_argument('out', type=Path) + ap.add_argument('--cpu', type=int, required=True) + ap.add_argument('--wall', type=int, required=True) + ap.add_argument('--scale', type=int) + args = ap.parse_args() + need(__debug__, 'assertions must be enabled') + need(1 <= args.cpu <= 390 and 1 <= args.wall <= 420, 'one bounded preflight') + need(digest((VENDOR / 'ODD-CALLER-EXACT-GRID.json').read_bytes()) == SOURCE_PINS['vendor/ODD-CALLER-EXACT-GRID.json'], 'pinned caller grid receipt') + resource.setrlimit(resource.RLIMIT_AS, (2 * 1024**3, 2 * 1024**3)) + resource.setrlimit(resource.RLIMIT_CPU, (args.cpu, args.cpu + 1)) + signal.alarm(args.wall) + global ACTIVE_OUT + ACTIVE_OUT = args.out.resolve() + need(ACTIVE_OUT.is_relative_to(HERE), 'fresh receipt directory under app') + ACTIVE_OUT.mkdir(parents=True, exist_ok=False) + pin = WORDS[args.word] + if args.test == 'quick': + quick(pin, args.scale if args.scale is not None else pin['reported_grid']) + elif args.test == 'grid': + grid(pin, args.cpu, args.wall) + else: + need(args.word == '7636', 'old-grid witness bound to #7636') + old_grid_control(pin) + + +if __name__ == '__main__': + main() diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/data/OBSERVED.json b/research/p104-180-contact-application/application-evidence/signed-replay/data/OBSERVED.json new file mode 100644 index 0000000000..1bc0dd6c88 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/signed-replay/data/OBSERVED.json @@ -0,0 +1,177 @@ +{ + "children": [ + { + "check": "SHORT-CATALOGUE-0-1000", + "cpu_seconds": 71.163271, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "cfbfeb2c08536428dac9b915a7d2ba69e0fa722ca0ced0056ef6f3d63d0fc855", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "80d07e71a35ca8f09438a3fc38c50578ddafbd502b0b5786421b3b0ad3c910bb", + "swaps": 0, + "wall_seconds": 71.66257273199153 + }, + { + "check": "SHORT-CATALOGUE-1000-2000", + "cpu_seconds": 79.059795, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "21ac8b38c94628f51f8d1c95281d397148fb286394517731d85858e886aac946", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "5d117ff447d07b9471dc6127b849b5c3a30061e177f19a72ba75bdfe7ea36526", + "swaps": 0, + "wall_seconds": 79.37606150200008 + }, + { + "check": "SHORT-CATALOGUE-2000-3000", + "cpu_seconds": 78.559405, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "86460713aa4b26db8414d1bf0e9a7b6230b74305db0f2f1c7750057fdd4dc137", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "5c72474c3d1e79e997338beea92116d4c8f37cb1c1b613433bd01f62ea7e45aa", + "swaps": 0, + "wall_seconds": 78.77430970800924 + }, + { + "check": "SHORT-CATALOGUE-3000-3030", + "cpu_seconds": 6.765733, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "25b73f05959b84e51a40db91689fa214451b3ea3287727e25746bffa92fd370c", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "0aaef267d6b8dcfe71831187db4b7ceb8cc5c7201aa598cf4029c74dada3a4b1", + "swaps": 0, + "wall_seconds": 6.911022795015015 + }, + { + "check": "assemble_odd_application", + "cpu_seconds": 0.050654, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "34cce669f906f9141f75ced97aff9a90914b03786325a6d6f4849dc24f8f0197", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "d22c37ad00925a13f6d827084b5e81221ef59c7cc4e4c9f268d58a49c182995e", + "swaps": 0, + "wall_seconds": 0.1034029939910397 + }, + { + "check": "check_odd_caller_exact_grid", + "cpu_seconds": 4.982714, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "34a6360a9538ce8d89e9ce5ed511aed9273df024050ee4e16e158441e945c4bf", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "2878d7d7d7eb5fc8b54d1ddb2c31331fd3aef8cb79181948a8df51e40624ff3c", + "swaps": 0, + "wall_seconds": 5.009847561013885 + }, + { + "check": "check_odd_fixed_tape_counts", + "cpu_seconds": 0.673596, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "2cc54b165ddbb41a65f4eba7c305bee33bc0e033b55675df66703c523658c94f", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "e4b8d73c207a964a1687a35ddd3bcc8a1e3424b5c7394dfa69275f58092d62be", + "swaps": 0, + "wall_seconds": 0.7032545499969274 + }, + { + "check": "check_odd_partial_admission", + "cpu_seconds": 15.172529, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "b0a39e1074772dfccea395643b4a9855c6b60355af3b686d8e3353c13afada8e", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "8372b05b076f2a90ac95b861bb8b0daa300e242af6a488712a56137967209f0f", + "swaps": 0, + "wall_seconds": 15.215906586992787 + }, + { + "check": "check_odd_physical_binding", + "cpu_seconds": 10.651895000000001, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "8896bf493f2463cb20667b8099d7309a921762d70f48768f3a6fd84d6f7a3008", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "4fb847891be6126f6d85d79b4435b557d035842d559880ecf6b12ce2c5115f61", + "swaps": 0, + "wall_seconds": 10.915792102983687 + }, + { + "check": "check_odd_precision", + "cpu_seconds": 1.0017019999999999, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "5664561f9a9fc895476cd50778fc87e749f49536716243e99d6120f00d73a919", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "af3167e850cb95dca860b232a9cbb0f959dbc549cd4514c9ead165e4585241ff", + "swaps": 0, + "wall_seconds": 1.003227217006497 + }, + { + "check": "emit_odd_type_ab", + "cpu_seconds": 2.663581, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "f35a0b236f309913bc4df478101f5bf4eb576af0e27cb60f101f4ca9338ff4fc", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "afcbffd1c461c964ec6ad174277cab2442c281419df69e0aa984e59d8b3c0a0a", + "swaps": 0, + "wall_seconds": 2.707049732998712 + }, + { + "check": "emit_odd_type_b", + "cpu_seconds": 6.009882, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "95a53cd2999f003cf1a13c18d650d41adf96d51cfe6a91da412ca721dae69cfa", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "993a372fe8e7aa28fc8fe349a71f100b8871728630a0b518de4853525ad37d2f", + "swaps": 0, + "wall_seconds": 6.108595209021587 + }, + { + "check": "fixed_controls", + "cpu_seconds": 4.231583, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "4838cb7668c25429a91d39a7ec59139da7aea4fdb3a68e9ecbb35f623a3be40a", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "f0877a80478ec477409657dffc80a4e3a9612e702f731e1335e1d8d9b2bf6436", + "swaps": 0, + "wall_seconds": 4.306096930988133 + }, + { + "check": "native_ingredient", + "cpu_seconds": 16.780705, + "exit": 0, + "peak_rss_kib": 120564, + "raw_receipt_sha256": "96ab1fcd0d06c602476c90adbd0af84c90c40f6d0b968d1a53c1de10d4da206f", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "2cdeb048cafa211c211097ee2437eeb5d5001c65415d9eaf002f711c4ced17f4", + "swaps": 0, + "wall_seconds": 16.91754675100674 + } + ], + "driver_files": { + "engines.py": "3c7acc3de8709c9e2aa1211b7cea9e3711789256778e43a82093074afd570f89", + "guard.py": "134f02c54632f84d2d265efb7d032ec2400aa70cfa636376bcde193fdafd2392", + "native_ingredient.py": "a455469277054a2cb5949c6d98f5a4ae6f31f16acba31e0eeea360b43b0f4ceb", + "run.py": "2b9c6977c03840a5f3ca8b14188c0770866656bcc1581e7809f1f7efe87f2548" + }, + "ended": "2026-11-18T01:39:33.402023+00:00", + "normalized_result_sha256": "0cf30b41a25a3d71c58d7425f6aee701bf438872bcd9b07e3b9c0d4efe8ccfc6", + "original_parameters_sha256": "08f0f4471981fa648598caeb7ae6475e2e60dbf20d99edc69948bb1312446ae2", + "peak_rss_kib": 122868, + "raw_authorization_sha256": "b2af18c0e24c6e3dff8fa157a6a194cba640435b1ba0da720e37762579034204", + "raw_exit_sha256": "73dd2b3a9c000fe6d841c4585d23c7261e84f3abeb21eb92744a25929855181e", + "raw_price_outer_sha256": "452ca88f786fe7c9c61477d37c9c35c16072e5044c028b07d2836418dbb6b594", + "raw_result_sha256": "520230a2e51933101114b55f0178d38277ccc062e2b11825be1e3aca0cd7ee38", + "raw_start_sha256": "d24f0afd35aeda450e6f3b01a1ce01bb96d5db75b59f3cbc3bdee61afe76c6fc", + "scope": "Historical actual 17-call signed application", + "started": "2026-11-18T01:34:28.319119+00:00", + "status": "PASS_FRESH_SIGNED_CALLER_CONDITIONAL_COMPONENTS", + "wall_seconds_observed": 305.15 +} diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/data/SOURCE-CLOSURE.json b/research/p104-180-contact-application/application-evidence/signed-replay/data/SOURCE-CLOSURE.json new file mode 100644 index 0000000000..00a48ac333 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/signed-replay/data/SOURCE-CLOSURE.json @@ -0,0 +1,569 @@ +{ + "archive_sha256": "6f6f67b5b1ef44d6a5085dfd518c0b488ae91dbeee49d0bdbec4cf63a2f41735", + "caller_head": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "caller_pr": 7113, + "caller_repository": "rohanarun/integer-mult-bounds", + "members": { + "caller/FREEZE.json": { + "bytes": 9058, + "origin": "retained_exact_source_freeze", + "sha256": "ac57680f5a9c2ba97840b3b5bd10f1b7b77db1fe20d54e6197a1e18c08842045" + }, + "caller/LICENSE": { + "bytes": 11357, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "origin": "github", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "source_path": "research/signed-caller-8x9/LICENSE" + }, + "caller/expected/ODD-8X9-APPLICATION-CHECKS.json": { + "bytes": 11790, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "4082bd88e5f0e559ad5e4a0dc745dc4e55ca9c70", + "origin": "github", + "sha256": "10512d62f540fe7bb839ec94b6a21bbdf4a3dfadf56b4ec9095d4b242bda19b8", + "source_path": "research/signed-caller-8x9/expected/ODD-8X9-APPLICATION-CHECKS.json" + }, + "caller/expected/ODD-ADMISSION-PARTIAL.json": { + "bytes": 10525, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "edddf47ec553dab6f182c81fcb7cd563d272c7a8", + "origin": "github", + "sha256": "75ec76e4393ef1622fcff9e2727dc411921076af4a506d97506665add140fa86", + "source_path": "research/signed-caller-8x9/expected/ODD-ADMISSION-PARTIAL.json" + }, + "caller/expected/ODD-CALLER-EXACT-GRID.json": { + "bytes": 684, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "1ba429a3908ee85e6c14b366a8c03c19d6e5c6c0", + "origin": "github", + "sha256": "87d25d9fa3778bf4784e3a9e17f32ce5ba372663c6e97392cc62b87e6719042c", + "source_path": "research/signed-caller-8x9/expected/ODD-CALLER-EXACT-GRID.json" + }, + "caller/expected/ODD-FIXED-TAPE-COUNTS.json": { + "bytes": 1334, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "e8459616d5ea3ab72fabd31c1838c250630badec", + "origin": "github", + "sha256": "1a8bf36a966edca8c61f3be803cdbe136307095dec40245cdc93e79a9062fe99", + "source_path": "research/signed-caller-8x9/expected/ODD-FIXED-TAPE-COUNTS.json" + }, + "caller/expected/ODD-PHYSICAL-BINDING.json": { + "bytes": 2020, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "c10f2a7f93b5632fb8789046b6a5c99da42c432a", + "origin": "github", + "sha256": "ade5f8cbb2e30677b1d48d23a1aa270b3d0b72e2504472ab9fdb71d124b075b5", + "source_path": "research/signed-caller-8x9/expected/ODD-PHYSICAL-BINDING.json" + }, + "caller/expected/ODD-PRECISION.json": { + "bytes": 28948, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "2117f3ab66ec96f7387029fcba2f3c098ca80239", + "origin": "github", + "sha256": "9c03607288cc2afb80cb02c197f93360978233036418b32b09ad91be16f9c153", + "source_path": "research/signed-caller-8x9/expected/ODD-PRECISION.json" + }, + "caller/expected/ODD-TYPE-AB-CALLER.json": { + "bytes": 117156, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "9451ceaf6e8e037894680b549f3ef41c21b260d7", + "origin": "github", + "sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "source_path": "research/signed-caller-8x9/expected/ODD-TYPE-AB-CALLER.json" + }, + "caller/expected/ODD-TYPE-AB-REPLAY.json": { + "bytes": 1569, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "7c7641f7727c3e889ab05f87612d01abf8e8b296", + "origin": "github", + "sha256": "71fd0a7ad8b743266c6a75100f3543b48ea7d6fcbe45f008d3b61270e3b660a0", + "source_path": "research/signed-caller-8x9/expected/ODD-TYPE-AB-REPLAY.json" + }, + "caller/replay/supplier7108/CALLER.json": { + "bytes": 121560, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "534eea1eb122ff43e607fa382dbd694ba2e5e56e", + "origin": "github", + "sha256": "9557f713ab4ffb91ede05e8a6d5668c694b9940fc16f2f2d657e2f2b2cac2d3f", + "source_path": "research/signed-caller-8x9/replay/supplier7108/CALLER.json" + }, + "caller/replay/supplier7112/RESULT.json": { + "bytes": 73115, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "6d984a86455bcbd77bcee9d2922ac7d713b15284", + "origin": "github", + "sha256": "7b808ff32d9803084aaaf820cd172ddc9001c7aebbd17e0324e779abeff91b30", + "source_path": "research/signed-caller-8x9/replay/supplier7112/RESULT.json" + }, + "caller/replay/supplier7112/WORD.json.gz": { + "bytes": 355352, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "856952b2aabfef84bf2c1fe37320f4b6d6bc4491", + "origin": "github", + "sha256": "fe0b1dc3049a6b72760a705af2e698e0e9998e969e19862a696eba63434eb233", + "source_path": "research/signed-caller-8x9/replay/supplier7112/WORD.json.gz" + }, + "caller/replay/supplier7112/short-caller/DATA-PHASES.json": { + "bytes": 814141, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "d9a4f84211182ca200c081ea061d724c8a2cfb70", + "origin": "github", + "sha256": "c5916ff312678f12aba403847643fbbc29f643acec60bdf836fa56cd3e8251fa", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/DATA-PHASES.json" + }, + "caller/replay/supplier7112/short-caller/ODD-LOCALIZED-GROUPING.json": { + "bytes": 355579, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "bf6d7a8d51a2bd6de2be823550f98cb5c4e074c8", + "origin": "github", + "sha256": "8aac6b3d9e528bffbcf411bbd300c8e0f0b7bf75da45ab12badf3f3530ffcbe2", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/ODD-LOCALIZED-GROUPING.json" + }, + "caller/replay/supplier7112/short-caller/ODD-UNIT-DYADIC-TAPES.json": { + "bytes": 34184, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "2e640266f70d9f96c3195e715c3524fcddc6db96", + "origin": "github", + "sha256": "c3195057f7a6723a81172ed540d0f1c4ba699ff3cb8dc37cbde7bb481d9b976c", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/ODD-UNIT-DYADIC-TAPES.json" + }, + "caller/replay/supplier7112/short-caller/ODD-UNIT-PREFIX-CLOSURES.json": { + "bytes": 10730, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "d6a3718b18942ae2fa6d63f845414294b5e94abd", + "origin": "github", + "sha256": "3b953e5d3e83e7573a3e908a5a23edb78773d4d22816aca54f766f0f0e9f5403", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/ODD-UNIT-PREFIX-CLOSURES.json" + }, + "caller/replay/supplier7112/short-caller/SHORT-ADMISSION-PARTIAL.json": { + "bytes": 10417, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "558d65f480f695b0e6f96db695644b5a3809c958", + "origin": "github", + "sha256": "7977815fe72382738727e3d550eea3bc735923c9c57968872d4f863cb39cd401", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/SHORT-ADMISSION-PARTIAL.json" + }, + "caller/replay/supplier7112/short-caller/SHORT-CALLER-RAW-PRICE.json": { + "bytes": 4312, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "e1473e1a2d9d83a62f916c1745429ca72b939955", + "origin": "github", + "sha256": "a4f83d65d250efb40f6506658374d7414afdde11c96eb88b7d2fbb182aa090c1", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/SHORT-CALLER-RAW-PRICE.json" + }, + "caller/replay/supplier7112/short-caller/SHORT-CATALOGUE-0-1000.log": { + "bytes": 965, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "90b09eb4dc992501c6edaa61872f7d225ea2c77c", + "origin": "github", + "sha256": "a916a76627fb79bf606b22f857ca93db6342891fb2c85b20658b5002c359e422", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/SHORT-CATALOGUE-0-1000.log" + }, + "caller/replay/supplier7112/short-caller/SHORT-CATALOGUE-1000-2000.log": { + "bytes": 974, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "80bc6ea9976744294c9ec3fdacc8696578846e2a", + "origin": "github", + "sha256": "da633bfa408e98a2f2a958262a09d5e4274a9b25f7b4a6a73df5a97f37338f79", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/SHORT-CATALOGUE-1000-2000.log" + }, + "caller/replay/supplier7112/short-caller/SHORT-CATALOGUE-2000-3047.log": { + "bytes": 1000, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "356672d505421157eafac11a7edb73a9829a82fd", + "origin": "github", + "sha256": "e8d500c0261a4a9e0cf3da2838d82806ed497ab9cf57cb8620ca6debfb98525c", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/SHORT-CATALOGUE-2000-3047.log" + }, + "caller/replay/supplier7112/short-caller/SHORT-PRECISION.json": { + "bytes": 28381, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "6e0669b319f0265f3aadf6ad85b6ecc4738aa508", + "origin": "github", + "sha256": "68a00d2b83ee2eb944d2e05fc7f32bc9aa37282c45b968f0ab6fd500659ac028", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/SHORT-PRECISION.json" + }, + "caller/replay/supplier7112/short-caller/SHORT-TYPE-A-ROOT.json": { + "bytes": 168057, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "6d0a3ea1e2446818a231142484609c53a85eabd2", + "origin": "github", + "sha256": "e9812d720942d8149c219dfa28c1081ff1d353529e5282ca4624a04233f38f88", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/SHORT-TYPE-A-ROOT.json" + }, + "caller/replay/supplier7112/short-caller/admission-source/ARCHIVE-CHAIN.json": { + "bytes": 204, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "4533eb3778c635ac352facefad3a1ab0d3cd3d4f", + "origin": "github", + "sha256": "6de95c4eb396e69883fbeeb3989782bbbe232c22644af1c804050badca10f456", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/ARCHIVE-CHAIN.json" + }, + "caller/replay/supplier7112/short-caller/admission-source/FULL-RESULT.json": { + "bytes": 25225, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "ff3256f0d3ffbfc56b062f9ec0fdbbc7b30e76d5", + "origin": "github", + "sha256": "d9ba709fa5dcefffe3f3abdcf34600ce188224703cfd743e6db8b58ba4816cb7", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/FULL-RESULT.json" + }, + "caller/replay/supplier7112/short-caller/admission-source/INDEPENDENT-NOTICE.md": { + "bytes": 1238, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "1bc9b4da2b8398954cd7a49356eb9d397785d0a6", + "origin": "github", + "sha256": "cadbc642ca84311d2c7a6cf704c7828cb4cf77e3c784b66e4c6e8a5c28002fb8", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/INDEPENDENT-NOTICE.md" + }, + "caller/replay/supplier7112/short-caller/admission-source/INDEPENDENT-SOURCES.json": { + "bytes": 1921, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "95afd397782ada3dfcf0f4d9fa1fdb76ab6ea617", + "origin": "github", + "sha256": "dced1457df5230466ba6202fd6d4595bc2b7fb2a65302806bf2720b1837ff350", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/INDEPENDENT-SOURCES.json" + }, + "caller/replay/supplier7112/short-caller/admission-source/LICENSE": { + "bytes": 11357, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "origin": "github", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/LICENSE" + }, + "caller/replay/supplier7112/short-caller/admission-source/NATIVE-INPUTS.json": { + "bytes": 1868, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "347b2c4df65e55aacf289addc96d6558e8e1eaf2", + "origin": "github", + "sha256": "9bb6c1567783661334d6c1d23f715ce5635cbbb513678819ab9e020a34c7e4c0", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/NATIVE-INPUTS.json" + }, + "caller/replay/supplier7112/short-caller/admission-source/NOTICE": { + "bytes": 893, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "a3687d65a00794277cdaad37558d24008cbc37f5", + "origin": "github", + "sha256": "da12736e2e824167ff56f2ecb623a5f88f75a270410360890f61dffc33bab249", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/NOTICE" + }, + "caller/replay/supplier7112/short-caller/admission-source/data/bit-admission.json": { + "bytes": 313909, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "575f76487f9999ecc3e7b1b70f9f71bc582ef8a8", + "origin": "github", + "sha256": "a46b6c6040f75184cab5467656811ad988c216e3bc8e44d595a5015b6e49620b", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/data/bit-admission.json" + }, + "caller/replay/supplier7112/short-caller/admission-source/data/caller.json": { + "bytes": 73501, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "cf55f4271009a06ad192a070d330a4466b6d44fa", + "origin": "github", + "sha256": "3828d53e80ea97e8b866320f081af20b6b93bfebd58b95b56b85a7afe151af5e", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/data/caller.json" + }, + "caller/replay/supplier7112/short-caller/admission-source/data/final.json.gz": { + "bytes": 350722, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "74563a7867d9d762b6588f65362369668841bb3e", + "origin": "github", + "sha256": "2b94953dc14a122e3ef089633f05b58ec689ec5156feb7c784ed3e137dc01883", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/data/final.json.gz" + }, + "caller/replay/supplier7112/short-caller/admission-source/frozen/clifford_exact.py": { + "bytes": 6824, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "166841a037f069249f6f7f6dedb89248812f59e2", + "origin": "github", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/frozen/clifford_exact.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/frozen/native_verify.py": { + "bytes": 12323, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "2c209dfa9cfade3bc20ac5fc9d876b433a147f8c", + "origin": "github", + "sha256": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/frozen/native_verify.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/frozen/physical.py": { + "bytes": 7527, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "5e0b17b9ef2151e3dee68378b71b3d0d47a56233", + "origin": "github", + "sha256": "4e995d1158033d83bf69b671f23dc7924d66edbbe07623ba063ba7421234ea20", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/frozen/physical.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/frozen/verify_host3_odd.py": { + "bytes": 4861, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "2117502bedfc9fc0a7abade8243eb5a43d0b514e", + "origin": "github", + "sha256": "e75ad2096ba2587d1dc9c8982b2c2eb7c6fd2636a80adcd943314ef2cf6fd258", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/frozen/verify_host3_odd.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/independent.py": { + "bytes": 11970, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "1ae1d7c680ad86c0fa999f2e8f0c09e966fc07a0", + "origin": "github", + "sha256": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/independent.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/interval_gate.py": { + "bytes": 6886, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "e24dc46079b4c25152f5afc096dda2ce8ee58ff5", + "origin": "github", + "sha256": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/interval_gate.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/precision_replay.py": { + "bytes": 2676, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "fafa1611dded2746f021714aad6837aed61041cb", + "origin": "github", + "sha256": "850d9098c5946ab27ef5228acc54d59df2196e72259d3e21588ec0c319c8f5ee", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/precision_replay.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/retained/odd-native-common-grid/independent_bounds.py": { + "bytes": 11449, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "8fe729386f81e6973bbe7ecaa5dbb4bf86281908", + "origin": "github", + "sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/odd-native-common-grid/independent_bounds.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/envelopes.py": { + "bytes": 14441, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "70c8ca23763e30c924fb726b74b82f44d344c65f", + "origin": "github", + "sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/envelopes.py" + }, + "caller/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/source_binding.py": { + "bytes": 2424, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "9f0e0a8cbaf48266cf9c6aa8b263505e9569390c", + "origin": "github", + "sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/source_binding.py" + }, + "caller/replay/supplier7112/short-caller/assemble_odd_application.py": { + "bytes": 3634, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "8e0c97cb8436eaa8e1eb731275af9e7769b85755", + "origin": "github", + "sha256": "6cdac39ab196a70c53ba2283c2555cd8dee30644dcc4769628b46fb53bd55a1f", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/assemble_odd_application.py" + }, + "caller/replay/supplier7112/short-caller/candidate_gate.py": { + "bytes": 8706, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "9059169472058620ff7de4c467aebabc657f6112", + "origin": "github", + "sha256": "e71097ca81a082afd7c647324a6c94cb357aeb1084693a095a0f3e0b45a9b11a", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/candidate_gate.py" + }, + "caller/replay/supplier7112/short-caller/check_odd_caller_exact_grid.py": { + "bytes": 5342, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "1bbc6f149f7ae3e1d68ab79642a642a94054428e", + "origin": "github", + "sha256": "abd5a5fd011b71e5b382cbc058855594d4f2fe7b049f375506675c0303180f54", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_caller_exact_grid.py" + }, + "caller/replay/supplier7112/short-caller/check_odd_fixed_tape_counts.py": { + "bytes": 4247, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "6873f9618d59d489b67b9eaca45e6142a16b53f3", + "origin": "github", + "sha256": "e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_fixed_tape_counts.py" + }, + "caller/replay/supplier7112/short-caller/check_odd_partial_admission.py": { + "bytes": 4410, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "eb12dfd706f07aa104227908d8d191c1649a6b76", + "origin": "github", + "sha256": "4416b1ea5f07f8a91028a2e500116588fbdfaed95a8ef9bac7a46bcb44b9478e", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_partial_admission.py" + }, + "caller/replay/supplier7112/short-caller/check_odd_physical_binding.py": { + "bytes": 5058, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "def1e6a18439bd40d1b12af04c6347bbf6b74c55", + "origin": "github", + "sha256": "5c80c3b0415a7f91d216395248dd6f13297eed637732098e1ca8fb0548951b98", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_physical_binding.py" + }, + "caller/replay/supplier7112/short-caller/check_odd_precision.py": { + "bytes": 4171, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "4de6829cafd5ef7658804fb4afa54129291b4541", + "origin": "github", + "sha256": "b2d9c13577158157a587ace766d9dadb7819a0164b372722329d9754e1be6c61", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/check_odd_precision.py" + }, + "caller/replay/supplier7112/short-caller/connected.py": { + "bytes": 6511, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "3755148cea67c85a0f47f1e910aeb8f08cab3023", + "origin": "github", + "sha256": "469537b46fb92c5aca926d3b1497da5425408673b0a73ba1427f23d872b414e7", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/connected.py" + }, + "caller/replay/supplier7112/short-caller/cut_library.py": { + "bytes": 6798, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "af54c2d22c1ea49ed5539a35659ece8cfd5f8910", + "origin": "github", + "sha256": "7ccb81af19db54ec7cdb44849af018d4ca8893f80f17277914f8566715985133", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/cut_library.py" + }, + "caller/replay/supplier7112/short-caller/emit_odd_type_ab.py": { + "bytes": 6331, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "504316b91bb70bb3697a2488a2b400647067f279", + "origin": "github", + "sha256": "7a7993648433c6febad8c07b315aec1b96598835a3f587b62040423c33c3b71f", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/emit_odd_type_ab.py" + }, + "caller/replay/supplier7112/short-caller/emit_odd_type_b.py": { + "bytes": 4474, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "6d00e53612cb63c24641d7fab48fccd1729eaa0c", + "origin": "github", + "sha256": "d1fa8b67d98beacd6bb574b3d5fcbc94b8646a7ffbce91d2a6fd4d690d3c5329", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/emit_odd_type_b.py" + }, + "caller/replay/supplier7112/short-caller/host34.py": { + "bytes": 7425, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "d889cb15341194ccf0ee97818f8e3a0579b0ed7f", + "origin": "github", + "sha256": "bded1a8626d65ee40c4ba3b25780fc03f0fa08906f3c83f631892df072d9a9b7", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/host34.py" + }, + "caller/replay/supplier7112/short-caller/independent.py": { + "bytes": 11970, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "1ae1d7c680ad86c0fa999f2e8f0c09e966fc07a0", + "origin": "github", + "sha256": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/independent.py" + }, + "caller/replay/supplier7112/short-caller/interval_gate.py": { + "bytes": 6886, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "e24dc46079b4c25152f5afc096dda2ce8ee58ff5", + "origin": "github", + "sha256": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/interval_gate.py" + }, + "caller/replay/supplier7112/short-caller/lower.py": { + "bytes": 9586, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "595e28c7774dacf039b1237e53f01e3d48364542", + "origin": "github", + "sha256": "67345fdfc8e5bb816e24b37dfafad0396372c48ec4e1b95b8b69f019a8fdfdee", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/lower.py" + }, + "caller/replay/supplier7112/short-caller/mirrored.py": { + "bytes": 7762, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "853e188ee5840f8a36db7ff54e4f437c26827f64", + "origin": "github", + "sha256": "55dd441a3a7f504b351857d45fd701994a0950ae1baec6c4c2b4b0166fb69db3", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/mirrored.py" + }, + "caller/replay/supplier7112/short-caller/odd_unit_dyadic_tapes.py": { + "bytes": 2824, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "0d9d8bdd2da8fa8dfb7a503ee39ab9403a2bb4f8", + "origin": "github", + "sha256": "3cdafa35635360a487ce400ec8d585f6134dd7c58209543528e98e7db178bbc7", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/odd_unit_dyadic_tapes.py" + }, + "caller/replay/supplier7112/short-caller/screen.py": { + "bytes": 3081, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "6ed72712271a5821ef27a20b388bc968db1d4c3d", + "origin": "github", + "sha256": "01e3eaba4b710a080e6e393e53157e6a119fdf312620eed26e9185ca91f6bea6", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/screen.py" + }, + "caller/replay/supplier7112/short-caller/short_dyadic_seam.py": { + "bytes": 4150, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "c80784fa9a79da082cc3f5e8882bb3f1022e3a40", + "origin": "github", + "sha256": "6e588b365618ab2df4fa2d1f16073d09a953a7cd6e826e1f96bbf87f950b672b", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/short_dyadic_seam.py" + }, + "caller/replay/supplier7112/short-caller/short_native_catalogue.py": { + "bytes": 1628, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "4ee80e4ece5db30598cf0d9d8711f1cb7ebf6a59", + "origin": "github", + "sha256": "775695c379f407801910531565cc371012cee501b2cec5f5d718ecdccf06b64d", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/short_native_catalogue.py" + }, + "caller/replay/supplier7112/short-caller/signed_child.py": { + "bytes": 5304, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "0980a6559ba1939763de5c798c7947c8bdd51d67", + "origin": "github", + "sha256": "ef03444360f02225138be9b38e2f9a85f313eeaa910d63a365de0f16d228cb8b", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/signed_child.py" + }, + "caller/replay/supplier7112/short-caller/signed_model.py": { + "bytes": 1408, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "01cb0c63c5cb201ecc3cedd25433aaeb57803270", + "origin": "github", + "sha256": "f88c798b9a22c656ea0b755b4f32be411c1f80687dff1a1ac9e9c2a0b5f4203e", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/signed_model.py" + }, + "caller/replay/supplier7112/short-caller/stage.py": { + "bytes": 7610, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "9b6c81e25bd481bb0b896e41c968b30f9587e4db", + "origin": "github", + "sha256": "0ab5546e926dd98d3ad833909b534840b7d8d0467c4790ca09bc2b14b37313f5", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/stage.py" + }, + "caller/replay/supplier7112/short-caller/upstream_application.py": { + "bytes": 19068, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "1a6d358cbec88e70615e5314cdfca9e123124f83", + "origin": "github", + "sha256": "d98987db98553dc55bfc80e3ca47abfcd51c57af6f8cda61101391d8eae94184", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/upstream_application.py" + }, + "caller/replay/supplier7112/short-caller/upstream_native_catalogue.py": { + "bytes": 5071, + "commit": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "git_blob": "98b35c89c8bd52637633aa78d506244bca8ec9e1", + "origin": "github", + "sha256": "6120e1ea1e07eeba757694d209437a38f121b0a377cc466889a30fa52c561472", + "source_path": "research/signed-caller-8x9/replay/supplier7112/short-caller/upstream_native_catalogue.py" + }, + "caller/run_caller.py": { + "bytes": 3998, + "origin": "retained_local_inert", + "sha256": "9f4ff83515095b0d3c8fecc17beae2f40099da8238291e55a7daf0c1c059918e" + }, + "resources/fixed/controls.py": { + "bytes": 4233, + "origin": "retained_local_tape_controls", + "sha256": "3492500899f8858040bc3c7be5c2de5bf597688318ec314e74eda513ac2e8156" + } + }, + "prior_freeze_sha256": "ac57680f5a9c2ba97840b3b5bd10f1b7b77db1fe20d54e6197a1e18c08842045", + "schema_version": 1 +} diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/data/caller-closure.tar.gz b/research/p104-180-contact-application/application-evidence/signed-replay/data/caller-closure.tar.gz new file mode 100644 index 0000000000..74e81a44e2 Binary files /dev/null and b/research/p104-180-contact-application/application-evidence/signed-replay/data/caller-closure.tar.gz differ diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/driver/engines.py b/research/p104-180-contact-application/application-evidence/signed-replay/driver/engines.py new file mode 100644 index 0000000000..6f6f342ad0 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/signed-replay/driver/engines.py @@ -0,0 +1,140 @@ +# SPDX-License-Identifier: Apache-2.0 +"""Prior source pins and counted adapters for the actual #7113 entry points.""" + +from fractions import Fraction +import importlib.util +import json +from pathlib import Path + +from guard import digest, patch, read, require, write + +HERE = Path(__file__).resolve().parent +PRIOR = HERE.parents[1] / "kappa-7641-successor-20261118" +CALLER = "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc" +CALLER_FREEZE = "ac57680f5a9c2ba97840b3b5bd10f1b7b77db1fe20d54e6197a1e18c08842045" +PINS = { + "resources/vendor/check_odd_fixed_tape_counts.py": "e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb", + "resources/vendor/interval_gate.py": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "resources/vendor/evaluate_recursive_power.py": "52b20f41fd0bb55fa88dccd6015af2ce358917817b9506720f3e60ce681cc3ad", + "resources/vendor/compare_recursive_invoices.py": "3930c22c11da7bc6042cfeb6e459ecb06e4478430037bee3469d034353855fc6", + "resources/fixed/controls.py": "3492500899f8858040bc3c7be5c2de5bf597688318ec314e74eda513ac2e8156", +} +SOURCE_PINS = { + 7658: ("0a0e71c34a5ee5a1b59a8fe7bc6abd35a4d3dd82", + "fa84fcdecb534700cd00dc81b74889f549a653daa2fb3658cb8142e1eeb9b9e6", + "dde0a987c2dd9e221208ca5043dfd6e2bdfbb8c4289fa20e2b93fae1696b3ea9", 234, (281, 3)), + 7636: ("7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659", 180, (281, 285)), +} +ASSUMPTIONS = ["native_all_columns", "owned_erasure", "compiler", "precision_tape", "analytic_recovery"] + + +def verify_sources(): + pins = json.loads(read(PRIOR / "caller/FREEZE.json", CALLER_FREEZE))["files"] + for rel, pin in pins.items(): + read(PRIOR / "caller" / rel, pin) + for rel, pin in PINS.items(): + read(PRIOR / rel, pin) + return pins + + +def module(name, path): + spec = importlib.util.spec_from_file_location(name, path) + obj = importlib.util.module_from_spec(spec) + spec.loader.exec_module(obj) + return obj + + +def capture_price(spec, old, new): + interval = module("signed_interval", PRIOR / "resources/vendor/interval_gate.py") + dyadic = module("signed_dyadic", PRIOR / "resources/vendor/evaluate_recursive_power.py") + claim, probe = map(Fraction, (spec["claim"], spec["probe"])) + lo, hi = map(Fraction, spec["bracket"]) + old_lo, old_hi = map(Fraction, spec["source_bracket"]) + zero = dict(old, paid={}, targets={}) + + def check(invo, at, accept): + hist = {int(r): invo["targets"].get(r, 0) - invo["paid"].get(r, 0) + for r in invo["targets"].keys() | invo["paid"].keys()} + bounds = interval.moment(hist, at) + require((bounds[0] > 0 if accept else bounds[1] < 0), f"Log/exp price at {at}") + result = dyadic.evaluate(zero, invo, 1 - at, bits=256) + require(result["classification"] == ("new_cost_lower" if accept else "new_cost_higher"), + f"Integer-power price at {at}") + return {"kappa": str(at), "logexp_bounds": interval.show(bounds), "integer_power": result} + + points = {"source_lower": check(old, old_lo, True), "source_upper": check(old, old_hi, False), + "claim": check(new, claim, True), "probe": check(new, probe, True), + "lower": check(new, lo, True), "upper": check(new, hi, False)} + if spec["candidate_canonical_sha256"] != spec["source_canonical_sha256"]: + require(old_hi < claim and old["targets"] == new["targets"], "Strict gain with equal targets") + points["source_at_claim"] = check(old, claim, False) + inv = {"P": {int(r): n for r, n in new["paid"].items()}, + "T": {int(r): n for r, n in new["targets"].items()}} + gate = interval.gate(inv, claim, probe, lo, hi, spec["bit_pin"]) + require(gate["outer"]["strict_count"] == 54 and gate["outer"]["functional_count"] == 4 + and Fraction(gate["outer"]["minimum_margin"]) > 0, "Complete outer predicates") + return points | {"gate": gate} + + +def prepare(spec, inputs, grid, work, pins): + root = PRIOR / "caller" + copies = {} + for rel, pin in pins.items(): + if not rel.startswith("replay/") or ".log" in rel: + continue + path = work / rel + path.parent.mkdir(parents=True, exist_ok=True) + path.write_bytes(read(root / rel, pin)) + copies[rel] = pin + folder = work / "replay/supplier7112/short-caller" + stale_result = folder.parent / "RESULT.json" + stale_result.unlink() + del copies[str(stale_result.relative_to(work))] + scale = grid["integer_grid"]["odd_scale_lcm"] + for role, path in (("word", folder.parent / "WORD.json.gz"), ("grid", folder / "BOUND-NATIVE-GRID.json")): + path.write_bytes(inputs[role]) + copies[str(path.relative_to(work))] = digest(inputs[role]) + adapted = {} + patch(folder / "emit_odd_type_ab.py", [ + ('invoice=next(x for x in json.loads((root/"SHORT-CALLER-RAW-PRICE.json").read_text())["rows"] if tuple(x["shape"])==shape)', + 'invoice=json.loads((root/"COHORT-PRICE.json").read_text())'), + ], adapted) + patch(folder / "check_odd_precision.py", [ + ('previous=json.loads((root/"SHORT-PRECISION.json").read_text())', + 'previous=json.loads((root/"BOUND-NATIVE-GRID.json").read_text())'), + ('previous["native_sha256"]==sha', 'previous["canonical_word_sha256"]==sha'), + ('wg=previous["native_grid"]\nwr=previous["rounded_native"]', + 'wg=previous["integer_grid"]\nwr=previous["native_envelope"]'), + ('+(1125).bit_length()', '+int(wg["odd_scale_lcm"]).bit_length()'), + ], adapted) + patch(folder / "check_odd_partial_admission.py", [ + ('previous=json.loads((root/"SHORT-ADMISSION-PARTIAL.json").read_text())\nassert previous["native_sha256"]==digest and not N["bad_inputs"]', + 'actual_native=ind.native(w)\nassert actual_native==N and not N["bad_inputs"], "Fresh native adjoint and inventory"'), + ('claim=Q(".00363797977")\ntested=claim+Q(7,10**17)', + f'claim=Q({spec["claim"]!r})\ntested=Q({spec["probe"]!r})'), + ('g=gate(invoice,claim,tested,*bracket,r["gate"]["BIT_pin"])', + 'g=gate(invoice,claim,tested,*bracket,r["gate"]["BIT_pin"])\n' + 'try:\n gate(invoice,claim,Q(bracket[0]),*bracket,r["gate"]["BIT_pin"])\n' + 'except AssertionError:\n crossing_probe_rejected=True\n' + 'else:\n raise AssertionError("Probe at lower crossing unexpectedly accepted")'), + ('"scope":"Reuse exact same native word all-column adjoint;', + '"crossing_probe_rejected":crossing_probe_rejected,"scope":"Fresh changed-native arbitrary-input adjoint;'), + ], adapted) + tape = folder / "check_odd_fixed_tape_counts.py" + read(tape, PINS["resources/vendor/check_odd_fixed_tape_counts.py"]) + patch(tape, [("scalars.append(Q(1125))", f"scalars.append(Q({scale}))"), + ("scalars.append(Q(1,1125))", f"scalars.append(Q(1,{scale}))")], adapted) + controls = work / "controls.py" + controls.write_bytes(read(PRIOR / "resources/fixed/controls.py", PINS["resources/fixed/controls.py"])) + patch(controls, [ + ("source=R/'stage'", "source=R/'replay/supplier7112'"), + ("676c20c53ebd40120903af86bf17c2116f654ab8ce4aa1833f388a2fc400b511", digest(inputs["word"])), + ("d0d3a2b549a119f9132ad9cdc0c1d75a7bf1daac85435df51921661afb44d76c", digest(tape.read_bytes())), + ], adapted) + copies.update({str((folder / name).relative_to(work)): record["adapted_sha256"] + for name, record in adapted.items() if name != "controls.py"}) + copies["controls.py"] = adapted["controls.py"]["adapted_sha256"] + write(work / "ADAPTATION.json", adapted) + return folder, copies diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/driver/guard.py b/research/p104-180-contact-application/application-evidence/signed-replay/driver/guard.py new file mode 100644 index 0000000000..851d466b15 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/signed-replay/driver/guard.py @@ -0,0 +1,170 @@ +# SPDX-License-Identifier: Apache-2.0 +"""Source and process custody for a fresh signed application.""" + +from datetime import datetime, timezone +from hashlib import sha256 +import json +import os +from pathlib import Path +import signal +import subprocess +import sys +import time + +ENTRY = ("import pathlib,runpy,sys\n" + "path=pathlib.Path(sys.argv[1]);sys.argv=sys.argv[1:]\n" + "sys.path.insert(0,str(path.parent));runpy.run_path(str(path),run_name='__main__')") + + +def require(condition, message): + if not condition: + raise ValueError(message) + + +def digest(data): + return sha256(data).hexdigest() + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def read(path, expected=None): + data = path.read_bytes() + if expected is not None: + require(digest(data) == expected, f"Input hash {path}") + return data + + +def write(path, value): + with path.open("x") as out: + json.dump(value, out, indent=2, sort_keys=True) + out.write("\n") + + +def utc(): + return datetime.now(timezone.utc).isoformat() + + +def authenticate_inputs(spec): + return {name: read(Path(ref["path"]), ref["sha256"]) for name, ref in spec["inputs"].items()} + + +def verify_receipt(spec, doc, result, result_sha): + contract = spec["native_launch"] + checks = { + "stage": "native", + "exit": 0, + "run_id": contract["run_id"], + "candidate_canonical_sha256": spec["candidate_canonical_sha256"], + "native_result_sha256": result_sha, + "adapter_sha256": contract["adapter_sha256"], + "launcher_sha256": contract["launcher_sha256"], + } + for name, value in checks.items(): + require(doc.get(name) == value, f"Native launch receipt {name}") + require(result["status"] == contract["status"], "Native scientific success marker") + word = result.get("word_canonical_sha256") + if word is None: + word = result["candidate"]["canonical_sha256"] + require(word == spec["candidate_canonical_sha256"], "Native scientific word") + for name in ("adapter", "launcher"): + require(spec["inputs"]["native_" + name]["sha256"] == checks[name + "_sha256"], + f"External native source closure {name}") + for name in ("physical", "start", "stdout", "stderr", "time"): + require(doc[name + "_sha256"] == spec["inputs"]["native_" + name]["sha256"], + f"Native external custody {name}") + return checks + + +def binding_controls(spec, launch, native, pin): + accepted = verify_receipt(spec, launch, native, pin) + for field in accepted: + altered = dict(launch, **{field: object()}) + try: + verify_receipt(spec, altered, native, pin) + except ValueError as failure: + require(str(failure) == f"Native launch receipt {field}", "Native control rejected at wrong guard") + else: + raise ValueError(f"Mutated native receipt accepted: {field}") + for field, message in (("status", "Native scientific success marker"), + ("word_canonical_sha256", "Native scientific word")): + try: + verify_receipt(spec, launch, native | {field: "stale"}, pin) + except ValueError as failure: + require(str(failure) == message, "Stale result rejected at wrong guard") + else: + raise ValueError(f"Stale native result accepted: {field}") + return list(accepted) + ["native_status", "native_word"] + + +def patch(path, changes, records): + source = path.read_text() + updated = source + for old, new in changes: + require(updated.count(old) == 1, f"Exact one-occurrence source anchor {path.name}") + updated = updated.replace(old, new, 1) + compile(updated, str(path), "exec") + path.write_text(updated) + records[path.name] = {"source_sha256": digest(source.encode()), + "adapted_sha256": digest(path.read_bytes()), "changes": changes} + + +def group_members(group): + members = [] + for entry in Path("/proc").iterdir(): + if not entry.name.isdecimal(): + continue + try: + stat = (entry / "stat").read_text().rsplit(")", 1)[1].split() + except (FileNotFoundError, PermissionError, ProcessLookupError): + continue + if int(stat[2]) == group: + members.append(int(entry.name)) + return members + + +def launch(work, name, script, deadline, args=(), log_dir=None): + log_dir = log_dir or work + out_path, err_path = (log_dir / (name + suffix) for suffix in (".log", ".stderr")) + started, tick = utc(), time.monotonic() + deadline = min(tick + 300, deadline) + require(tick < deadline, "Signed application wall limit") + env = {k: v for k, v in os.environ.items() if not k.startswith("PYTHON")} + env.update({k: "1" for k in ("OMP_NUM_THREADS", "OPENBLAS_NUM_THREADS", "MKL_NUM_THREADS", + "VECLIB_MAXIMUM_THREADS", "NUMEXPR_NUM_THREADS")}) + command = [sys.executable, "-I", "-B", "-c", ENTRY, str(script), *map(str, args)] + stop = None + with out_path.open("x") as out, err_path.open("x") as err: + proc = subprocess.Popen(command, cwd=script.parent, env=env, stdout=out, stderr=err, + start_new_session=True) + try: + while not os.waitid(os.P_PID, proc.pid, os.WEXITED | os.WNOHANG | os.WNOWAIT): + if time.monotonic() >= deadline: + raise TimeoutError(f"{name}: process or signed wall limit") + time.sleep(0.1) + except BaseException as failure: + stop = failure + finally: + # Keep the leader unreaped until its process group has been signaled. + try: + os.killpg(proc.pid, signal.SIGKILL) + except ProcessLookupError: + pass + _, status, usage = os.wait4(proc.pid, 0) + proc.returncode = os.waitstatus_to_exitcode(status) + for _ in range(20): + residual = group_members(proc.pid) + if not residual: + break + time.sleep(0.1) + write(work / (name + ".receipt.json"), + {"started": started, "ended": utc(), "wall_seconds": time.monotonic() - tick, + "exit": proc.returncode, "stdout_sha256": digest(out_path.read_bytes()), + "stderr_sha256": digest(err_path.read_bytes()), "command": command, "pid": proc.pid, + "group_residual": residual, "stop": str(stop) if stop else None, + "cpu_seconds": usage.ru_utime + usage.ru_stime, "peak_rss_kib": usage.ru_maxrss, + "major_faults": usage.ru_majflt, "swaps": usage.ru_nswap}) + if stop: + raise stop + require(not residual and proc.returncode == 0 and usage.ru_nswap == 0, f"Signed child {name} failed") diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/driver/native_ingredient.py b/research/p104-180-contact-application/application-evidence/signed-replay/driver/native_ingredient.py new file mode 100644 index 0000000000..18fbab90c5 --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/signed-replay/driver/native_ingredient.py @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: Apache-2.0 +"""Fresh transposed native verification and retained 18-call ingredient invoice.""" + +from fractions import Fraction +import gzip +from hashlib import sha256 +import independent as engine +from interval_gate import moment, show +import json +from pathlib import Path + + +def main(): + folder = Path(__file__).resolve().parent + config = json.loads((folder / "INGREDIENT-INPUT.json").read_bytes()) + raw = gzip.decompress((folder.parent / "WORD.json.gz").read_bytes()) + word = json.loads(raw) + canon = json.dumps(word, sort_keys=True, separators=(",", ":")).encode() + candidate = sha256(canon).hexdigest() + assert candidate == config["candidate_canonical_sha256"] + bound_caller = folder / "admission-source/data/caller.json" + assert sha256(bound_caller.read_bytes()).hexdigest() == config["retained_18_caller_sha256"] + caller = json.loads(bound_caller.read_bytes()) + assert caller["stages"] == 18 and [e[1] for e in caller["events"] if e[0] == "J"] == list(range(1, 19)) + native = engine.native(word) + assert not native["bad_inputs"] and native["lifetimes"] == config["clear_lifetimes"] + assert native["owned_peak"] == 50 and native["events"] == len(word["program"]) + # The last nontrivial scalar has no later scalar row repair. + mutant = max(i for i, e in enumerate(word["program"]) + if e[0] in ("ADD", "SCALE") and e[1] < word["public"]) + bad = engine.native(word, mutant)["bad_inputs"] + assert bad, "Deliberate coefficient fault must change an arbitrary-input row" + inv = engine.invoices(word, caller, native) + assert inv["S"] > 0 + hist = {r: inv["T"].get(r, 0) - inv["P"].get(r, 0) for r in inv["T"].keys() | inv["P"].keys()} + step = 10**16 + lower = int(Fraction(inv["raw_crossing"]) * step) + lo, hi = Fraction(lower, step), Fraction(lower + 1, step) + ml, mh = moment(hist, lo), moment(hist, hi) + assert ml[0] > 0 and mh[1] < 0 + ordinary = engine.ordinary(word, caller, native) + assert ordinary["margin_to_billion"] > 0 + result = {"status": "PASS_TRANSPOSED_NATIVE_18_INGREDIENT", "word_canonical_sha256": candidate, + "native": native, "invoice": inv, "gate": {"BIT_pin": config["bit_pin"]}, + "ordinary": ordinary, "ingredient_18_caller_sha256": config["retained_18_caller_sha256"], + "unmodified_dyadic_invoice_bracket": [str(lo), str(hi)], + "sign_margins": [show(ml), show(mh)], + "bad_scalar_control": {"event": mutant, "bad_inputs": bad}, + "physical_evidence_sha256": config["physical_evidence_sha256"], + "clear_evidence_sha256": config["clear_evidence_sha256"], + "scope": "Fresh all-input transposed native endpoint and separate literal 18-call arithmetic."} + with (folder.parent / "RESULT.json").open("x") as out: + json.dump(result, out, indent=2, sort_keys=True) + out.write("\n") + print(result["status"], candidate, flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/driver/run.py b/research/p104-180-contact-application/application-evidence/signed-replay/driver/run.py new file mode 100644 index 0000000000..804c5c926a --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/signed-replay/driver/run.py @@ -0,0 +1,307 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Run the source-pinned #7113 application on a frozen strict role-379 candidate.""" + +import argparse +from collections import Counter +from fractions import Fraction +import gzip +import json +import os +from pathlib import Path +import resource +import signal +import sys +import time + +HERE = Path(__file__).resolve().parent +sys.path.insert(0, str(HERE)) +from engines import ASSUMPTIONS, CALLER, PRIOR, SOURCE_PINS, capture_price, prepare, verify_sources +from guard import authenticate_inputs, binding_controls, canonical, digest, launch, read, require, utc, write + + +def word_profile(word): + main = set(word["live"]) | {r + 112 for r in word["live"]} + main |= set(word["hosted"]["X2"]) | set(word["hosted"]["Y2"]) + helper_roles = set(range(word["public"])) - main + dim = [len(frame) for frame in word["frames"]] + moves = [(e[2], e[3]) for e in word["program"] if e[0] == "MOVE"] + helpers = [(word["initial"][r], word["final"][r]) for r in helper_roles] + paid_counts = Counter(abs(dim[a] - dim[b]) for a, b in moves) + target_counts = Counter(dim[b] - dim[a] for a, b in helpers) + require(min(paid_counts) > 0 and min(target_counts) > 0, "Positive native and target ranks") + return paid_counts, target_counts, set(moves), set(helpers), helper_roles + + +def signed_invoice(caller, profile): + paid, targets, _, _, _ = profile + p, t = Counter(), Counter() + for e in caller["events"]: + if e[0] == "J": + p.update(paid) + t.update(targets) + elif e[1] == "QUERY": + p[1] += len(caller["types"][e[0]]["ports"]) + elif e[1] in ("IDLE_ONE", "IDLE_ODD"): + p[8 * len(e[3]) + (e[1] == "IDLE_ODD")] += len(caller["types"][e[0]]["ports"]) + for d in caller["types"].values(): + for row in d["diagonal"]: + t[row[0] % 2 + 8 * sum(row[2:])] += len(d["ports"]) + return {"paid": {str(r): n for r, n in p.items()}, "targets": {str(r): n for r, n in t.items()}} + + +def verify_native_and_clear(spec, inputs, w, source, life): + native = json.loads(inputs["native_result"]) + mark = json.loads(inputs["native_receipt"]) + checked = binding_controls(spec, mark, native, digest(inputs["native_result"])) + require(native["pr"] == spec["source_pr"] and native["head"] == spec["source_head"] + and native["source"]["canonical_sha256"] == spec["source_canonical_sha256"] + and native["candidate"]["raw_sha256"] == spec["candidate_raw_sha256"] + and native["candidate"]["gzip_sha256"] == digest(inputs["word"]), + "Physical result on the actual source and candidate") + route = native["route_columns"] + require(route["all_forward"] == route["all_adjoint"] == 512 and route["wrong_phase"] == "rejected" + and len(native["finite_replays"]) == 2, "Exact three-route composition and two finite physical oracles") + clear = json.loads(inputs["clear_result"]) + require(clear["status"] == "PASS_SILENT_PUBLIC_MOVE_SUBSTITUTION" + and clear["source"]["head"] == spec["source_head"] + and clear["source"]["gzip_sha256"] == digest(inputs["source_word"]) + and clear["candidate"]["word_sha256"] == spec["candidate_raw_sha256"] + and clear["candidate"]["gzip_sha256"] == digest(inputs["word"]) + and clear["ordered_clears"] == life and clear["owned_peak"] == 50 + and clear["candidate"]["events"] == len(w["program"]) + and clear["source"]["events"] == len(source["program"]), "Exact CLEAR result on both words") + return checked + + +def verify_grid(spec, grid, w, life): + scale = grid["integer_grid"]["odd_scale_lcm"] + require(grid["canonical_word_sha256"] == spec["candidate_canonical_sha256"] + and grid["caller_sha256"] == CALLER, "Fresh candidate and caller grid") + require(grid["integer_grid"]["dyadic_height"] == grid["rational_grid"]["fractional_bits"] + and scale == grid["rational_grid"]["odd_scale"] + and Fraction(grid["integer_grid"]["maximum_scaled_mass"]) + == Fraction(grid["rational_grid"]["scaled_maximum_mass"]), + "Two independent native grid results agree") + require(grid["native_envelope"]["census"]["lifetimes"] == life + and grid["native_envelope"]["census"]["events"] == len(w["program"]) + and grid["context_c"] <= 4096, "Fresh precision inventory and cap") + require(scale > 0 and scale % 2 == 1 and grid["integer_grid"]["numerator_bits"] <= 24, + "Supported odd grid and scalar width") + + +def catalogue_check(work, folder, maps, deadline, word_sha): + slices = [] + catalogue = sorted(maps) + size = len(catalogue) + cat_sha = digest(json.dumps(catalogue, separators=(",", ":")).encode()) + for start in range(0, size, 1000): + stop = min(start + 1000, size) + label = f"SHORT-CATALOGUE-{start}-{stop}" + launch(work, label, folder / "short_native_catalogue.py", deadline, + ("--start", start, "--stop", stop), log_dir=folder) + blob = (folder / (label + ".log")).read_bytes() + record = json.loads(blob[blob.index(b"\n{") + 1:]) + require((record["word_sha256"], record["catalogue_digest"], record["catalogue_size"], + record["slice_start"], record["slice_stop"], record["checked_maps"]) == + (word_sha, cat_sha, size, start, stop, stop - start) + and record["phase_control_rejected"], "Exact fresh catalogue slice and wrong-phase control") + slices.append(record) + require(sum(r["main_boundary_pairs"] for r in slices) == 104, "Complete physical boundary catalogue") + return slices + + +def run(spec, inputs, work, deadline, pins): + tick = time.monotonic() + pr = spec["source_pr"] + head, raw_sha, zip_sha, life, entrance = SOURCE_PINS[pr] + require(spec["source_head"] == head and digest(inputs["source_word"]) == zip_sha, + "Exact source head and gzip") + w_raw, b_raw = (gzip.decompress(inputs[k]) for k in ("word", "source_word")) + w, source = map(json.loads, (w_raw, b_raw)) + candidate = digest(canonical(w)) + word_sha = digest(inputs["word"]) + require(digest(w_raw) == spec["candidate_raw_sha256"] and candidate == spec["candidate_canonical_sha256"], + "Exact candidate raw and canonical bytes") + require(digest(b_raw) == raw_sha and digest(canonical(source)) == spec["source_canonical_sha256"], + "Exact source raw and canonical bytes") + require(w.keys() == source.keys() and all(w[k] == source[k] for k in w if k != "program"), + "Matched literal native headers") + require((w["public"], w["owned_fields"], len(w["live"])) == (1501, 68, 104) + and (w["initial"][457], w["initial"][461]) == entrance, "Declared native interface") + profile, old_profile = word_profile(w), word_profile(source) + expected_paid, expected_helpers, paid_maps, helper_maps, helper_roles = profile + maps = paid_maps | helper_maps + require(len(maps) == spec["catalogue_size"] and len(helper_roles) == 1101 and {457, 461} <= helper_roles, + "Frozen map denominator and helper entrances") + checked = verify_native_and_clear(spec, inputs, w, source, life) + grid, ordinary = map(json.loads, (inputs["grid"], inputs["ordinary"])) + verify_grid(spec, grid, w, life) + require(ordinary["source_word_raw_sha256"] == digest(w_raw) and ordinary["caller_sha256"] == CALLER, + "Actual ordinary-model source identity") + caller_bytes = read(PRIOR / "caller/expected/ODD-TYPE-AB-CALLER.json", CALLER) + caller = json.loads(caller_bytes) + require(caller["stages"] == 17 and caller["ambient_rank"] == 145 + and [e[1] for e in caller["events"] if e[0] == "J"] == list(range(1, 18)), "All signed invocations") + old, new = signed_invoice(caller, old_profile), signed_invoice(caller, profile) + source_invoice = json.loads(inputs["source_invoice"]) + require({k: source_invoice[k] for k in old} == old, "Matched complete source invoice") + require(sum(new["paid"].values()) == spec["paid_positions"] and sum(new["targets"].values()) == 22461, + "Frozen complete signed paid and target census") + independent = json.loads(inputs["independent_pair"]) + require(independent["result"] == "PASS_PAIRED_EXACT_REPLAY_AND_CONDITIONAL_PRICE" + and independent["source"]["head"] == head + and independent["source"]["literal_sha256"] == raw_sha + and independent["source"]["gzip_sha256"] == zip_sha + and independent["candidate"]["literal_sha256"] == spec["candidate_raw_sha256"] + and independent["candidate"]["gzip_sha256"] == word_sha + and independent["source"]["full_signed_invoice"] == source_invoice + and independent["candidate"]["full_signed_invoice"] == source_invoice | new + and independent["source"]["price"]["kappa"] == spec["source_bracket"] + and independent["candidate"]["price"]["kappa"] == spec["bracket"], + "Independent exact pair and both directed crossing brackets") + cost = capture_price(spec, source_invoice, source_invoice | new) + write(work / "PRICE-OUTER.json", cost) + folder, copies = prepare(spec, inputs, grid, work, pins) + ingredient = folder / "native_ingredient.py" + ingredient.write_bytes(read(HERE / ingredient.name)) + induction = folder / "INGREDIENT-INPUT.json" + write(induction, {"candidate_canonical_sha256": candidate, "clear_lifetimes": life, "bit_pin": spec["bit_pin"], + "retained_18_caller_sha256": digest((folder / "admission-source/data/caller.json").read_bytes()), + "physical_evidence_sha256": digest(inputs["native_result"]), + "clear_evidence_sha256": digest(inputs["clear_result"])}) + launch(work, "native_ingredient", ingredient, deadline) + native_bridge = folder.parent / "RESULT.json" + n = json.loads(native_bridge.read_bytes())["native"] + require(n["paid"] == {str(r): q for r, q in expected_paid.items()} + and n["helpers"] == {str(r): q for r, q in expected_helpers.items()}, + "Independent fresh transposed native histograms") + cohort = folder / "COHORT-PRICE.json" + write(cohort, {"paid": new["paid"], "target": new["targets"], "bracket": spec["bracket"]}) + copies.update({str(path.relative_to(work)): digest(path.read_bytes()) + for path in (ingredient, induction, native_bridge, cohort)}) + checks = ("emit_odd_type_b", "emit_odd_type_ab", "check_odd_caller_exact_grid", + "check_odd_physical_binding", "check_odd_precision", "check_odd_partial_admission", + "check_odd_fixed_tape_counts") + for script in checks: + launch(work, script, folder / (script + ".py"), deadline) + require((folder / "ODD-TYPE-AB-CALLER.json").read_bytes() == caller_bytes, "Exact regenerated caller bytes") + + def report(name): + return json.loads((folder / name).read_bytes()) + + binding = report("ODD-PHYSICAL-BINDING.json") + geometry = binding["occurrence_and_geometry"] + precision = report("ODD-PRECISION.json") + partial = report("ODD-ADMISSION-PARTIAL.json") + tape = report("ODD-FIXED-TAPE-COUNTS.json") + for evidence in (binding, precision, partial, tape): + require(evidence["native_sha256"] == candidate and evidence["caller_sha256"] == CALLER, + "Signed intermediate result custody") + require(geometry["native_calls"] == 17 and geometry["native_contact_boundaries"] == 13600 + and geometry["reserved_native_banks"] == 1156 and geometry["fresh_helpers"] == len(helper_roles) * 17 + and geometry["paid"] == new["paid"] and geometry["targets"] == new["targets"] + and geometry["rank_surplus"] == partial["invoice"]["S"] == 1424 + and partial["invoice"]["empty_root_credits"] == 0 and binding["aliased_main_rejected"], + "Complete occurrence and physical ownership binding") + require(partial["invoice"]["P"] == new["paid"] and partial["invoice"]["T"] == new["targets"] + and partial["crossing_probe_rejected"] and partial["compiler_outer"] == cost["gate"], + "Outer corroboration and lower-bracket control") + require(precision["rounded_caller"] == grid["caller_envelope"] and precision["context_c"] == grid["context_c"] + and tape["context_bound_bits"] < tape["H"] and tape["max_scalar_numerator_bits"] <= 24, + "Candidate fixed precision and tape") + charged = partial["ordinary"]["conservative_total"] + require(charged == ordinary["retained_signed_model_total"], "Independent ordinary source-unit agreement") + scale = grid["integer_grid"]["odd_scale_lcm"] + sites = 2 * geometry["native_calls"] * w["public"] + extra = sites * 4 * (scale.bit_length() + 1 + scale.bit_count()) + require(charged + extra < 10**9, "Ordinary cap including all native-scale conversions") + slices = catalogue_check(work, folder, maps, deadline, word_sha) + launch(work, "assemble_odd_application", folder / "assemble_odd_application.py", deadline) + launch(work, "fixed_controls", work / "controls.py", deadline) + assembly = report("ODD-8X9-APPLICATION-CHECKS.json") + falsifiers = json.loads((work / "CONTROLS.json").read_bytes()) + require(assembly["status"] == "PASS_8X9_EXACT_COMPONENT_APPLICATION_CHECKS" + and assembly["assumptions"] == ASSUMPTIONS and assembly["native_canonical_sha256"] == candidate + and assembly["caller_sha256"] == CALLER and falsifiers["positive"] == 1 and falsifiers["rejecting"] == 7, + "Final joined component and fixed-tape controls") + for rel, pin in copies.items(): + read(work / rel, pin) + authenticate_inputs(spec) + verify_sources() + old_maps = old_profile[2] | old_profile[3] + return {"status": "PASS_FRESH_SIGNED_CALLER_CONDITIONAL_COMPONENTS", "source_pr": pr, "source_head": head, + "source_canonical_sha256": digest(canonical(source)), "candidate_canonical_sha256": candidate, + "candidate_gzip_sha256": word_sha, "caller_sha256": CALLER, **new, "price_outer": cost["gate"], + "clear_lifetimes": life, "reserved_native_banks": geometry["reserved_native_banks"], + "catalogue_size": len(maps), "catalogue_common_with_source": len(maps & old_maps), + "catalogue_new_to_source": sorted(maps - old_maps), "catalogue_boundary_pairs": 104, + "birth_roles": {r: {"frame": w["initial"][r], "distinct_owners_bound": 17} for r in (457, 461)}, + "fixed_tape": tape, "ordinary": {"retained": charged, "native_scale": scale, "extra_sites": sites, + "extra_charge_with_possible_overlap": extra, "model_total": charged + extra, + "model_margin": 10**9 - charged - extra}, + "controls": {"native_receipt_mutations": checked, "fixed_tape": falsifiers, + "absolute_phase_rejections": len(slices), "aliased_main_rejected": True, + "lower_crossing_probe_rejected": True}, + "assumptions": ASSUMPTIONS, "seconds": time.monotonic() - tick, "source_copy_pins": copies, + "assembly_sha256": digest((folder / "ODD-8X9-APPLICATION-CHECKS.json").read_bytes())} + + +def main(): + require(sys.flags.isolated and sys.dont_write_bytecode and __debug__, "Use Python -I -B with assertions") + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--spec", required=True, type=Path) + parser.add_argument("--go", required=True, type=Path) + parser.add_argument("--work", required=True, type=Path) + args = parser.parse_args() + spec_bytes = args.spec.read_bytes() + spec, go = map(json.loads, (spec_bytes, args.go.read_bytes())) + require(go["status"] == "GO" and go["spec_sha256"] == digest(spec_bytes) + and go["source_head"] == spec["source_head"] + and go["candidate_canonical_sha256"] == spec["candidate_canonical_sha256"] + and go["scope"] == "fresh-signed-caller-outer" + and go["event_id"] and go["receipt_id"], "Exact registered run authorization") + names = ("run.py", "guard.py", "engines.py", "native_ingredient.py") + require(set(go["driver_files"]) == set(names), "Frozen driver closure") + for name in names: + read(HERE / name, go["driver_files"][name]) + wall = go["wall_seconds"] + require(type(wall) is int and 150 <= wall <= 900, "Signed wall budget") + work = args.work.resolve() + require(work.is_relative_to(HERE) and work != HERE, "Dedicated signed output directory") + cpu = go["cpu"] + require(type(cpu) is int and cpu in os.sched_getaffinity(0), "Registered CPU affinity") + os.sched_setaffinity(0, {cpu}) + resource.setrlimit(resource.RLIMIT_AS, (2 * 1024**3, 2 * 1024**3)) + resource.setrlimit(resource.RLIMIT_CPU, (wall, wall)) + + def interrupted(signum, _frame): + raise InterruptedError(f"Signal {signum}") + + for signum in (signal.SIGTERM, signal.SIGINT, signal.SIGALRM): + signal.signal(signum, interrupted) + deadline = time.monotonic() + wall + signal.alarm(wall) + inputs = authenticate_inputs(spec) + pins = verify_sources() + work.mkdir() + write(work / "START.json", {"started": utc(), "spec": spec, "authorization": go, + "interpreter": sys.executable, "affinity": sorted(os.sched_getaffinity(0)), + "address_space": resource.getrlimit(resource.RLIMIT_AS), + "cpu_per_process": resource.getrlimit(resource.RLIMIT_CPU)}) + try: + result = run(spec, inputs, work, deadline, pins) + for name in names: + read(HERE / name, go["driver_files"][name]) + signal.alarm(0) + write(work / "RESULT.json", result) + except BaseException as failure: + signal.alarm(0) + write(work / "EXIT.json", {"ended": utc(), "status": "INCOMPLETE", "error": repr(failure)}) + raise + write(work / "EXIT.json", {"ended": utc(), "status": "COMPLETE", "result_sha256": digest((work / "RESULT.json").read_bytes())}) + print(result["status"], result["candidate_canonical_sha256"], flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/application-evidence/signed-replay/replay.py b/research/p104-180-contact-application/application-evidence/signed-replay/replay.py new file mode 100644 index 0000000000..7f551e01ca --- /dev/null +++ b/research/p104-180-contact-application/application-evidence/signed-replay/replay.py @@ -0,0 +1,315 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Replay the signed #7113 application on the pinned #7658 role-379 word.""" + +import argparse +from copy import deepcopy +import gzip +from hashlib import sha1, sha256 +from io import BytesIO +import json +import os +from pathlib import Path, PurePosixPath +import runpy +import subprocess +import sys +import tarfile +import tempfile + + +HERE = Path(__file__).resolve().parent +PRIORDIR = "kappa-7641-successor-20261118" +HEAD = "07a76c5e2738882c0cb322278e56f6cae3c9885d" +FREEZE = "ac57680f5a9c2ba97840b3b5bd10f1b7b77db1fe20d54e6197a1e18c08842045" +DRIVERS = {"engines.py", "guard.py", "native_ingredient.py", "run.py"} +SPEC_INPUTS = { + "clear_result", "grid", "independent_pair", "native_adapter", "native_launcher", + "native_physical", "native_receipt", "native_result", "native_start", "native_stderr", + "native_stdout", "native_time", "ordinary", "source_invoice", "source_word", "word", +} +SHORT_CALLER = "caller/replay/supplier7112/short-caller" +VENDOR_SHORT_CALLER = ("interval_gate.py", "check_odd_fixed_tape_counts.py") +PRICING = { + "evaluate_recursive_power.py": "52b20f41fd0bb55fa88dccd6015af2ce358917817b9506720f3e60ce681cc3ad", + "compare_recursive_invoices.py": "3930c22c11da7bc6042cfeb6e459ecb06e4478430037bee3469d034353855fc6", +} +NATIVE_WORD = "f0753b6614b2d351723dddc307a39b6ecd748a43008c6fdb9335b01feeec9669" +NATIVE_TRANSPORT = "4e9cd9cc70a5423db44f870b35d8d6da9ac5746aa352f3af1420443f6dda350e" + + +def require(ok, reason): + if not ok: + raise ValueError(reason) + + +def digest(raw): + return sha256(raw).hexdigest() + + +def git_blob(raw): + return sha1(f"blob {len(raw)}\0".encode() + raw).hexdigest() + + +def read(path, pin=None): + raw = path.read_bytes() + require(pin is None or digest(raw) == pin, f"byte pin {path.name}") + return raw + + +def load(path, pin=None): + return json.loads(read(path, pin)) + + +def write(path, raw): + path.parent.mkdir(parents=True, exist_ok=True) + with path.open("xb") as out: + out.write(raw) + + +def write_json(path, obj): + write(path, (json.dumps(obj, sort_keys=True, indent=2) + "\n").encode()) + + +def relative(name): + p = PurePosixPath(name) + require(not p.is_absolute() and ".." not in p.parts and p.parts and p.as_posix() == name, + f"invalid relative input {name!r}") + return p + + +def bound_path(root, name): + p = root / relative(name) + require(p.is_file() and p.resolve() == p, f"missing or aliased input {name}") + return p + + +def materialize(root, core): + """Authenticate the exact source inventory and restore the driver's relative layout.""" + sources = load(HERE / "data/SOURCE-CLOSURE.json") + members = sources["members"] + require(sources["schema_version"] == 1 and sources["caller_pr"] == 7113 + and sources["caller_head"] == HEAD and sources["prior_freeze_sha256"] == FREEZE, + "source manifest and caller head") + archive = read(HERE / "data/caller-closure.tar.gz", sources["archive_sha256"]) + validated = {} + with tarfile.open(fileobj=BytesIO(archive), mode="r:gz") as packed: + for entry in packed: + name = entry.name + relative(name) + require(entry.isfile() and name in members and name not in validated, + f"unexpected archive entry {name}") + record = members[name] + require(entry.size == record["bytes"], f"archive size {name}") + raw = packed.extractfile(entry).read() + require(digest(raw) == record["sha256"], f"archive byte pin {name}") + if "git_blob" in record: + require(git_blob(raw) == record["git_blob"], f"Git blob pin {name}") + validated[name] = raw + require(set(validated) == set(members), "archive member omission") + require(digest(validated["caller/FREEZE.json"]) == FREEZE, "prior scientific source freeze") + frozen = json.loads(validated["caller/FREEZE.json"])["files"] + require(len(frozen) == 68, "prior source denominator") + require(set(validated) == {"caller/" + name for name in frozen} + | {"caller/FREEZE.json", "caller/LICENSE", "resources/fixed/controls.py"}, "archive closure shape") + for local, pin in frozen.items(): + name = "caller/" + local + record = members[name] + require(digest(validated[name]) == pin, f"signed driver historical freeze {local}") + if local == "run_caller.py": + require(record["origin"] == "retained_local_inert", "local wrapper provenance") + else: + require(record["origin"] == "github" and record["commit"] == HEAD + and record["source_path"] == f"research/signed-caller-8x9/{local}" + and "git_blob" in record, f"#7113 source binding {local}") + prior = root / PRIORDIR + for name, raw in validated.items(): + write(prior / name, raw) + for name in VENDOR_SHORT_CALLER: + write(prior / "resources/vendor" / name, validated[SHORT_CALLER + "/" + name]) + for name, pin in PRICING.items(): + path = bound_path(core, f"retained/pricing/{name}") + write(prior / "resources/vendor" / name, read(path, pin)) + + run = load(HERE / "data/OBSERVED.json") + require(set(run["driver_files"]) == DRIVERS, "original driver file set") + driver = root / "current/signed" + for name, pin in run["driver_files"].items(): + write(driver / name, read(HERE / "driver" / name, pin)) + return driver, run + + +def match_rebuilt(packed, historical_decoded): + require(gzip.decompress(packed) == historical_decoded, "rebuilt candidate decoded bytes differ") + + +def transport_controls(decoded): + def alternate(raw): + out = BytesIO() + with gzip.GzipFile(filename="rebuilt-role379.json", fileobj=out, mode="wb", + mtime=37, compresslevel=1) as zipped: + zipped.write(raw) + return out.getvalue() + + equivalent = alternate(decoded) + require(digest(equivalent) != NATIVE_TRANSPORT, "alternate transport control changed no bytes") + match_rebuilt(equivalent, decoded) + marker = b'"owned_fields":68' + require(decoded.count(marker) == 1, "decoded mutation control anchor") + different = decoded.replace(marker, b'"owned_fields":69', 1) + try: + match_rebuilt(alternate(different), decoded) + except ValueError as exc: + require(str(exc) == "rebuilt candidate decoded bytes differ", "wrong decoded mutation refusal") + else: + raise ValueError("one-byte decoded word mutation accepted") + return {"alternate_gzip": "accepted", "different_decoded_byte": "rejected"} + + +def portable_spec(core, evidence): + """Restore runtime paths and authenticate the exact historical signed inputs.""" + spec = load(HERE / "data/SPEC.json") + require(set(spec["inputs"]) == SPEC_INPUTS and spec["source_pr"] == 7658 + and spec["candidate_canonical_sha256"] == spec["candidate_raw_sha256"] == NATIVE_WORD, + "exact signed input set and candidate") + inputs = {} + for name, ref in spec["inputs"].items(): + if name == "word": + require(ref["origin"] == "retained-signed-transport" and ref["path"] == "WORD.json.gz" + and ref["sha256"] == NATIVE_TRANSPORT, "historical signed transport pin") + p = bound_path(HERE / "data", ref["path"]) + elif ref["origin"] == "core": + p = bound_path(core, ref["path"]) + else: + require(ref["origin"] == "application-evidence", f"unknown input provenance {name}") + p = bound_path(evidence, ref["path"]) + raw = read(p, ref["sha256"]) + if name == "word": + decoded = gzip.decompress(raw) + require(digest(decoded) == NATIVE_WORD, "historical signed word pin") + inputs[name] = {"path": str(p), "sha256": digest(raw)} + return {**spec, "inputs": inputs}, decoded + + +def check_driver(driver): + # Import the unchanged driver and call its independent source guard. + entry = ( + "import runpy,sys\n" + "ns=runpy.run_path(sys.argv[1])\n" + "assert len(ns['verify_sources']())==68\n" + ) + subprocess.run([sys.executable, "-I", "-B", "-c", entry, str(driver / "run.py")], + cwd=driver, check=True) + + +def regenerate(core, work): + entry = runpy.run_path(str(bound_path(core, "verify.py"))) + work.mkdir() + result, raw, _ = entry["run_mutation"](7658, work, core / "evidence/pr7658", entry["pinned_sources"]()) + require(raw == NATIVE_WORD, "core candidate word hash") + return result + + +def normalize_result(obj): + """Leave only reproducible scientific fields and control outcomes.""" + data = deepcopy(obj) + del data["seconds"] + for case in data["controls"]["fixed_tape"]["cases"]: + # A rejected control's traceback carries relocated filesystem paths. + case.pop("stderr_sha256") + return data + + +def run_application(args, core, evidence): + output = args.out.resolve() + output.mkdir(exist_ok=False) + driver, observed = materialize(output, core) + spec, historical_decoded = portable_spec(core, evidence) + transport = transport_controls(historical_decoded) + rebuilt = read(regenerate(core, output / "candidate")) + match_rebuilt(rebuilt, historical_decoded) + path = output / "SPEC.json" + write_json(path, spec) + available = os.sched_getaffinity(0) + cpu = min(available) if args.cpu is None else args.cpu + require(cpu in available and 150 <= args.wall <= 900, "one available Linux CPU and bounded wall") + # The command is the reviewer's authorization for this local run. Its + # self-contained receipt is separate from the original ledger event. + local_receipt = { + "mode": "independent_checkout_replay", "spec_sha256": digest(read(path)), + "candidate_canonical_sha256": NATIVE_WORD, "cpu": cpu, "wall_seconds": args.wall, + "source_head": spec["source_head"], "driver_files": observed["driver_files"], + } + receipt_path = output / "REPLAY-REQUEST.json" + write_json(receipt_path, local_receipt) + go = {**local_receipt, "status": "GO", "scope": "fresh-signed-caller-outer", + "event_id": "independent-checkout-replay", + "receipt_id": "sha256:" + digest(read(receipt_path))} + write_json(output / "GO.json", go) + work = driver / "application" + subprocess.run([sys.executable, "-I", "-B", str(driver / "run.py"), + "--spec", str(path), "--go", str(output / "GO.json"), "--work", str(work)], + cwd=driver, check=True) + result = read(work / "RESULT.json") + exit_receipt = load(work / "EXIT.json") + require(exit_receipt["status"] == "COMPLETE" + and exit_receipt["result_sha256"] == digest(result), "portable signed completion custody") + expected = load(HERE / "data/EXPECTED.json", observed["normalized_result_sha256"]) + actual = normalize_result(json.loads(result)) + changed = sorted(k for k in actual.keys() | expected.keys() if actual.get(k) != expected.get(k)) + require(not changed, "relocated result differs: " + ", ".join(changed)) + write_json(output / "REPLAY-RESULT.json", { + "status": "PASS_PORTABLE_7658_SIGNED_APPLICATION", + "result_sha256": digest(result), "candidate": NATIVE_WORD, + "claim": spec["claim"], "catalogue_size": actual["catalogue_size"], + "normalized_result_sha256": observed["normalized_result_sha256"], + "retained_native_launch_verified": True, + "transport": {"historical_gzip_sha256": NATIVE_TRANSPORT, + "rebuilt_gzip_sha256": digest(rebuilt), + "decoded_sha256": NATIVE_WORD, "controls": transport}, + "raw_result": work.relative_to(output).as_posix() + "/RESULT.json", + }) + print(f"PASS_PORTABLE_7658_SIGNED_APPLICATION {NATIVE_WORD} " + f"kappa={spec['claim']} catalogue_maps={actual['catalogue_size']}", flush=True) + + +def main(): + require(sys.version_info[:2] == (3, 12) and sys.flags.isolated + and sys.dont_write_bytecode and __debug__, "use Linux Python 3.12 -I -B with assertions") + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--core", required=True, type=Path) + parser.add_argument("--application-evidence", type=Path) + command = parser.add_subparsers(dest="mode", required=True) + check = command.add_parser("check", help="validate bindings and relocated input closure") + check.add_argument("--candidate", type=Path, help="optionally check a previously generated candidate") + run = command.add_parser("run", help="rebuild candidate and execute the complete signed application") + run.add_argument("--out", type=Path, help="retain outputs in a fresh directory") + run.add_argument("--cpu", type=int) + run.add_argument("--wall", type=int, default=900) + args = parser.parse_args() + core = args.core.resolve() + evidence = (args.application_evidence or (core / "application-evidence")).resolve() + if args.mode == "run": + if args.out is not None: + run_application(args, core, evidence) + else: + with tempfile.TemporaryDirectory(prefix="role379-signed-replay-") as tmp: + args.out = Path(tmp) / "run" + run_application(args, core, evidence) + return + spec, historical_decoded = portable_spec(core, evidence) + transport_controls(historical_decoded) + if args.candidate: + match_rebuilt(read(args.candidate), historical_decoded) + with tempfile.TemporaryDirectory(prefix="role379-signed-source-check-") as tmp: + driver, observed = materialize(Path(tmp), core) + expected = load(HERE / "data/EXPECTED.json", observed["normalized_result_sha256"]) + require(expected["status"] == "PASS_FRESH_SIGNED_CALLER_CONDITIONAL_COMPONENTS" + and expected["candidate_canonical_sha256"] == NATIVE_WORD, "observed signed result") + check_driver(driver) + print(f"PASS_PORTABLE_SIGNED_INPUTS_ONLY {len(spec['inputs'])}/{len(SPEC_INPUTS)}", flush=True) + print("PASS_PORTABLE_SIGNED_TRANSPORT_CONTROLS alternate_gzip=accepted different_decoded_byte=rejected", + flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/evidence/BINDING.json b/research/p104-180-contact-application/evidence/BINDING.json new file mode 100644 index 0000000000..57c7109dc8 --- /dev/null +++ b/research/p104-180-contact-application/evidence/BINDING.json @@ -0,0 +1,173 @@ +{ + "authorization": { + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "raw_combined_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "receipt_id": "progress.kappa-run-2.00000328", + "receipt_sha256": "0409c3bba37b10fc123e80d37390a8fbfe66f01a13c7ace5da1d1ad878e6c629", + "running_event": "p7636-180-lowering-core-running", + "source_raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2" + }, + "candidate": { + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "clear_sha256": "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff", + "events": 202667, + "gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "parent_split_clock": 150834, + "raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e" + }, + "candidate_parent_raw_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "contact_control_clock": 127445, + "lowering": { + "new": [ + [ + "ADD", + 841, + 284, + "25", + 127 + ], + [ + "ADD", + 841, + 284, + "144221/921600", + 127 + ] + ], + "old": [ + "ADD", + 841, + 284, + "23184221/921600", + 127 + ] + }, + "role_379_phase_control_clock": 131292, + "source": { + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "clear_sha256": "9d804da82abff31b89bbe22112c5513be3239a4bd764bfa83f7dcb026d2fa675", + "events": 202669, + "gzip_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "parent_split_clock": 150836, + "raw_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8" + }, + "source_cuts": [ + { + "candidate_clock": 127153, + "clock": 127153, + "original": [ + "MOVE", + 902, + 3, + 618, + false + ], + "replacement": [ + "MOVE", + 902, + 3, + 373, + false + ] + }, + { + "candidate_clock": null, + "clock": 127445, + "original": [ + "MOVE", + 1091, + 373, + 618, + false + ], + "replacement": null + }, + { + "candidate_clock": 127445, + "clock": 127446, + "original": [ + "ADD", + 1091, + 902, + "1/2", + 618 + ], + "replacement": [ + "ADD", + 1091, + 902, + "1/2", + 373 + ] + }, + { + "candidate_clock": 127468, + "clock": 127469, + "original": [ + "MOVE", + 1091, + 618, + 733, + false + ], + "replacement": [ + "MOVE", + 1091, + 373, + 733, + false + ] + }, + { + "candidate_clock": 130067, + "clock": 130068, + "original": [ + "MOVE", + 902, + 618, + 913, + false + ], + "replacement": [ + "MOVE", + 902, + 373, + 913, + false + ] + }, + { + "candidate_clock": null, + "clock": 131142, + "original": [ + "MOVE", + 379, + 748, + 1065, + false + ], + "replacement": null + }, + { + "candidate_clock": 131292, + "clock": 131294, + "original": [ + "MOVE", + 379, + 1065, + 1072, + false + ], + "replacement": [ + "MOVE", + 379, + 748, + 1072, + false + ] + } + ], + "source_head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "source_parent_raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "status": "PASS_7636_MATCHED_SCALAR_LOWERING_BUILD" +} diff --git a/research/p104-180-contact-application/evidence/INDEPENDENT-RESULT.json b/research/p104-180-contact-application/evidence/INDEPENDENT-RESULT.json new file mode 100644 index 0000000000..f75a8e248b --- /dev/null +++ b/research/p104-180-contact-application/evidence/INDEPENDENT-RESULT.json @@ -0,0 +1,1046 @@ +{ + "boundary": "180 ideal CLEAR lifetimes, chart-281 and chart-285 entrances, fixed-port signed invoice model. Exact rounding/divisibility at the contact, physical phase, resource and actual caller are separate gates.", + "caller": { + "events": 4783, + "fixed_paid": { + "1": 384, + "8": 656, + "9": 32, + "16": 416, + "24": 416, + "32": 416, + "40": 416, + "48": 416, + "56": 416, + "64": 208 + }, + "fixed_paid_by_operation": { + "A:IDLE_ONE": { + "8": 384, + "16": 384, + "24": 384, + "32": 384, + "40": 384, + "48": 384, + "56": 384, + "64": 192 + }, + "A:QUERY": { + "1": 384 + }, + "B:IDLE_ODD": { + "9": 32 + }, + "B:IDLE_ONE": { + "8": 272, + "16": 32, + "24": 32, + "32": 32, + "40": 32, + "48": 32, + "56": 32, + "64": 16 + } + }, + "fixed_targets": { + "9": 416, + "17": 416, + "25": 416, + "33": 416, + "41": 416, + "49": 416, + "57": 416, + "65": 416, + "73": 208, + "137": 208 + }, + "head": "07a76c5e2738882c0cb322278e56f6cae3c9885d", + "peer_7661_head": "1e6fd08a7c4fb616ea802c5f432f58594d14a107", + "peer_7661_result_sha256": "76dc631e58109d363f31ba439a10907fbe5e39b0850cd87e6fe1bb6056d1d31f", + "sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "stages": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17 + ] + }, + "candidate": { + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "full_signed_invoice": { + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "paid": { + "1": 68044, + "16": 416, + "2": 15606, + "24": 416, + "3": 10846, + "32": 416, + "4": 4607, + "40": 416, + "48": 416, + "5": 6035, + "56": 416, + "6": 765, + "64": 208, + "7": 221, + "8": 758, + "9": 32 + }, + "schema": "integer-mult-recursive-invoice/v1", + "targets": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 765, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10854 + } + }, + "gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "literal_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "price": { + "at_claim": [ + "0.00000004296932657453545454", + "0.00000004296932657453545455" + ], + "at_lower": [ + "0.00000000458072891655001511", + "0.00000000458072891655001512" + ], + "at_probe": [ + "0.00000001609730821394398518", + "0.00000001609730821394398519" + ], + "at_upper": [ + "-0.00000003380786874141959803", + "-0.00000003380786874141959802" + ], + "claim": "18406780093/5000000000000", + "derivative": [ + "-383885.97657993022368234450954694", + "-383885.97657946203909297116270079" + ], + "derivative_on_BIT_interval": [ + "-395631.82488350446788464714016583", + "-377876.08176784838861615836850956" + ], + "kappa": [ + "0.0036813560187", + "0.0036813560188" + ], + "probe": "368135601867/100000000000000", + "weighted_surplus": 1424 + }, + "trace": { + "changed_operation_grid": { + "numerator_bits": 29, + "odd_lcm": 54675, + "two_power": 16 + }, + "events_by_opcode": { + "ADD": 191544, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 6226, + "SCALE": 4536 + }, + "final_rows_sha256": "93c7c11e5c9c371f2ea64c675ba8eecda28316a063aab73bed8a9516ad01e98b", + "literal_scalar_units": 6548076, + "native_helper_targets": { + "1": 18, + "2": 21, + "3": 47, + "4": 225, + "5": 80, + "6": 45, + "7": 19, + "8": 32, + "9": 614 + }, + "native_paid": { + "1": 3980, + "2": 918, + "3": 638, + "4": 271, + "5": 355, + "6": 45, + "7": 13, + "8": 6 + }, + "native_paid_owned": { + "1": 20, + "2": 9, + "3": 2, + "4": 13, + "5": 2, + "6": 1 + }, + "non_dyadic_literal_events": { + "ADD": 11624, + "SCALE": 113 + }, + "nonzero_public_output_coefficients": 1709, + "ordered_clear_sha256": "3d1639a0afee8582431f36163d36e97ad57dc9171fd4353c89a7c905bf2a7d85", + "ordered_clear_values": 180, + "ordered_owned_or_copy_observations": 1049, + "ordered_protected_sha256": "586e710f72ea513b84b1a90c1fd8ec7752188b81bc8a04f589fcdb8a75a0cf1c", + "owned_add_zero_refills": 0, + "owned_label_count": 68, + "owned_lifetimes": 180, + "owned_moves": 47, + "peak_owned": 50, + "protected_observations_by_opcode": { + "ADD": 619, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 47, + "SCALE": 22 + }, + "tape_move_pair_count": 3005 + } + }, + "changed_half_clock": 127445, + "completed_at": "2026-11-18T03:54:20.192506+00:00", + "controls": { + "original_25_bit_words": "rejected_by_exact_literal_census", + "self_CLEAR": { + "clock": 121447, + "code": "clear_self", + "detail": "owned field 1502 used as its own witness" + }, + "stale_contact_chart": { + "clock": 127445, + "code": "scalar_chart", + "detail": "['ADD', 1091, 902, '1/2', 618]" + }, + "wrong_contact_sign": { + "clock": null, + "code": "final_row", + "detail": "public row 795 full formal-input coefficient map" + } + }, + "literal_edits_by_original_clock": { + "low_b": [ + { + "candidate_clock": null, + "new": [], + "old": [ + "MOVE", + 379, + 748, + 1065, + false + ], + "source_clock": 131142 + }, + { + "candidate_clock": 131293, + "new": [ + [ + "MOVE", + 379, + 748, + 1072, + false + ] + ], + "old": [ + "MOVE", + 379, + 1065, + 1072, + false + ], + "source_clock": 131294 + }, + { + "candidate_clock": 150835, + "new": [ + [ + "ADD", + 841, + 284, + "25", + 127 + ], + [ + "ADD", + 841, + 284, + "144221/921600", + 127 + ] + ], + "old": [ + "ADD", + 841, + 284, + "23184221/921600", + 127 + ], + "source_clock": 150836 + } + ], + "low_base": [ + { + "candidate_clock": 150836, + "new": [ + [ + "ADD", + 841, + 284, + "25", + 127 + ], + [ + "ADD", + 841, + 284, + "144221/921600", + 127 + ] + ], + "old": [ + "ADD", + 841, + 284, + "23184221/921600", + 127 + ], + "source_clock": 150836 + } + ], + "low_c": [ + { + "candidate_clock": 127153, + "new": [ + [ + "MOVE", + 902, + 3, + 373, + false + ] + ], + "old": [ + "MOVE", + 902, + 3, + 618, + false + ], + "source_clock": 127153 + }, + { + "candidate_clock": null, + "new": [], + "old": [ + "MOVE", + 1091, + 373, + 618, + false + ], + "source_clock": 127445 + }, + { + "candidate_clock": 127445, + "new": [ + [ + "ADD", + 1091, + 902, + "1/2", + 373 + ] + ], + "old": [ + "ADD", + 1091, + 902, + "1/2", + 618 + ], + "source_clock": 127446 + }, + { + "candidate_clock": 127468, + "new": [ + [ + "MOVE", + 1091, + 373, + 733, + false + ] + ], + "old": [ + "MOVE", + 1091, + 618, + 733, + false + ], + "source_clock": 127469 + }, + { + "candidate_clock": 130067, + "new": [ + [ + "MOVE", + 902, + 373, + 913, + false + ] + ], + "old": [ + "MOVE", + 902, + 618, + 913, + false + ], + "source_clock": 130068 + }, + { + "candidate_clock": null, + "new": [], + "old": [ + "MOVE", + 379, + 748, + 1065, + false + ], + "source_clock": 131142 + }, + { + "candidate_clock": 131292, + "new": [ + [ + "MOVE", + 379, + 748, + 1072, + false + ] + ], + "old": [ + "MOVE", + 379, + 1065, + 1072, + false + ], + "source_clock": 131294 + }, + { + "candidate_clock": 150834, + "new": [ + [ + "ADD", + 841, + 284, + "25", + 127 + ], + [ + "ADD", + 841, + 284, + "144221/921600", + 127 + ] + ], + "old": [ + "ADD", + 841, + 284, + "23184221/921600", + 127 + ], + "source_clock": 150836 + } + ], + "raw_b": [ + { + "candidate_clock": null, + "new": [], + "old": [ + "MOVE", + 379, + 748, + 1065, + false + ], + "source_clock": 131142 + }, + { + "candidate_clock": 131293, + "new": [ + [ + "MOVE", + 379, + 748, + 1072, + false + ] + ], + "old": [ + "MOVE", + 379, + 1065, + 1072, + false + ], + "source_clock": 131294 + } + ], + "raw_c": [ + { + "candidate_clock": 127153, + "new": [ + [ + "MOVE", + 902, + 3, + 373, + false + ] + ], + "old": [ + "MOVE", + 902, + 3, + 618, + false + ], + "source_clock": 127153 + }, + { + "candidate_clock": null, + "new": [], + "old": [ + "MOVE", + 1091, + 373, + 618, + false + ], + "source_clock": 127445 + }, + { + "candidate_clock": 127445, + "new": [ + [ + "ADD", + 1091, + 902, + "1/2", + 373 + ] + ], + "old": [ + "ADD", + 1091, + 902, + "1/2", + 618 + ], + "source_clock": 127446 + }, + { + "candidate_clock": 127468, + "new": [ + [ + "MOVE", + 1091, + 373, + 733, + false + ] + ], + "old": [ + "MOVE", + 1091, + 618, + 733, + false + ], + "source_clock": 127469 + }, + { + "candidate_clock": 130067, + "new": [ + [ + "MOVE", + 902, + 373, + 913, + false + ] + ], + "old": [ + "MOVE", + 902, + 618, + 913, + false + ], + "source_clock": 130068 + }, + { + "candidate_clock": null, + "new": [], + "old": [ + "MOVE", + 379, + 748, + 1065, + false + ], + "source_clock": 131142 + }, + { + "candidate_clock": 131292, + "new": [ + [ + "MOVE", + 379, + 748, + 1072, + false + ] + ], + "old": [ + "MOVE", + 379, + 1065, + 1072, + false + ], + "source_clock": 131294 + } + ] + }, + "lowering_tariff": { + "new": [ + [ + "ADD", + 841, + 284, + "25", + 127 + ], + [ + "ADD", + 841, + 284, + "144221/921600", + 127 + ] + ], + "normalized_exact_shear": true, + "old": [ + "ADD", + 841, + 284, + "23184221/921600", + 127 + ], + "ordinary_inserted": [ + 40, + 196 + ], + "ordinary_original": 236, + "scheduled_extra_services": 544 + }, + "matched_lowered_7636": { + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "full_signed_invoice": { + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "paid": { + "1": 68095, + "16": 416, + "2": 15589, + "24": 416, + "3": 10846, + "32": 416, + "4": 4624, + "40": 416, + "48": 416, + "5": 6018, + "56": 416, + "6": 765, + "64": 208, + "7": 221, + "8": 758, + "9": 32 + }, + "schema": "integer-mult-recursive-invoice/v1", + "targets": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 765, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10854 + } + }, + "gzip_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "literal_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "price": { + "at_claim": [ + "-0.24262647352748997795757243", + "-0.24262647352748997795757242" + ], + "at_lower": [ + "0.00000001815275357103453681", + "0.00000001815275357103453682" + ], + "at_probe": [ + "-0.24262650040410823954441937", + "-0.24262650040410823954441936" + ], + "at_upper": [ + "-0.00000002024251539010279358", + "-0.00000002024251539010279357" + ], + "claim": "18406780093/5000000000000", + "derivative": [ + "-383952.68961160739157283628566201", + "-383952.68961113921637791198621405" + ], + "derivative_on_BIT_interval": [ + "-395697.52878268229158249935709396", + "-377942.18297798817272643887537650" + ], + "kappa": [ + "0.0036807241001", + "0.0036807241002" + ], + "probe": "368135601867/100000000000000", + "weighted_surplus": 1424 + }, + "trace": { + "changed_operation_grid": { + "numerator_bits": 29, + "odd_lcm": 54675, + "two_power": 16 + }, + "events_by_opcode": { + "ADD": 191544, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 6228, + "SCALE": 4536 + }, + "final_rows_sha256": "93c7c11e5c9c371f2ea64c675ba8eecda28316a063aab73bed8a9516ad01e98b", + "literal_scalar_units": 6548076, + "native_helper_targets": { + "1": 18, + "2": 21, + "3": 47, + "4": 225, + "5": 80, + "6": 45, + "7": 19, + "8": 32, + "9": 614 + }, + "native_paid": { + "1": 3983, + "2": 917, + "3": 638, + "4": 272, + "5": 354, + "6": 45, + "7": 13, + "8": 6 + }, + "native_paid_owned": { + "1": 20, + "2": 9, + "3": 2, + "4": 13, + "5": 2, + "6": 1 + }, + "non_dyadic_literal_events": { + "ADD": 11624, + "SCALE": 113 + }, + "nonzero_public_output_coefficients": 1709, + "ordered_clear_sha256": "3d1639a0afee8582431f36163d36e97ad57dc9171fd4353c89a7c905bf2a7d85", + "ordered_clear_values": 180, + "ordered_owned_or_copy_observations": 1049, + "ordered_protected_sha256": "586e710f72ea513b84b1a90c1fd8ec7752188b81bc8a04f589fcdb8a75a0cf1c", + "owned_add_zero_refills": 0, + "owned_label_count": 68, + "owned_lifetimes": 180, + "owned_moves": 47, + "peak_owned": 50, + "protected_observations_by_opcode": { + "ADD": 619, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 47, + "SCALE": 22 + }, + "tape_move_pair_count": 3008 + } + }, + "publication_head": "d12b854d4825e9edfa3a3466909e1abf3525e929", + "raw_pins": { + "base": { + "canonical_sha256": "c3390064f8bff3fda737f38c1d438016125e784952c545940bbb261b10df668c", + "gzip_sha256": "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659", + "literal_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2" + }, + "low_b": { + "canonical_sha256": "2ea3a954f053b4cec96f1b03830353b79c32bb74160a023b96e40872759ad560", + "gzip_sha256": "172331a17fa9dc7a8f7602aac6b0915052e9fb12cba295479561d7fb2901d985", + "literal_sha256": "2ea3a954f053b4cec96f1b03830353b79c32bb74160a023b96e40872759ad560" + }, + "low_base": { + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "gzip_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "literal_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8" + }, + "low_c": { + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "literal_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e" + }, + "raw_b": { + "canonical_sha256": "9b5b66e93f91c9538525d8d7b1278e0f203058d5cd4e1351fa06f8315fdaa555", + "gzip_sha256": "869504fb9f9d994c1ee9b9e5a3a83fb2fcb8cd5455b7639c1ee2bcd195086d5c", + "literal_sha256": "9b5b66e93f91c9538525d8d7b1278e0f203058d5cd4e1351fa06f8315fdaa555" + }, + "raw_c": { + "canonical_sha256": "6f074e7c0bc0735c7f98ab291e883689f28b94019a841b98403580d427b3e1a5", + "gzip_sha256": "3fb11603e14fc9d67aff97e1b0e737f98c1395180ff71119fa64b4d8acaa8626", + "literal_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15" + } + }, + "result": "PASS_PAIRED_EXACT_REPLAY_AND_CONDITIONAL_PRICE", + "signed_targets_equal": true, + "source": { + "canonical_sha256": "2ea3a954f053b4cec96f1b03830353b79c32bb74160a023b96e40872759ad560", + "full_signed_invoice": { + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "paid": { + "1": 68078, + "16": 416, + "2": 15572, + "24": 416, + "3": 10863, + "32": 416, + "4": 4624, + "40": 416, + "48": 416, + "5": 6018, + "56": 416, + "6": 765, + "64": 208, + "7": 221, + "8": 758, + "9": 32 + }, + "schema": "integer-mult-recursive-invoice/v1", + "targets": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 765, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10854 + } + }, + "gzip_sha256": "172331a17fa9dc7a8f7602aac6b0915052e9fb12cba295479561d7fb2901d985", + "head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "literal_sha256": "2ea3a954f053b4cec96f1b03830353b79c32bb74160a023b96e40872759ad560", + "price": { + "at_claim": [ + "-0.12342741994081830859689440", + "-0.12342741994081830859689439" + ], + "at_lower": [ + "0.00000002097381973806846457", + "0.00000002097381973806846458" + ], + "at_probe": [ + "-0.12342744681517584064108161", + "-0.12342744681517584064108160" + ], + "at_upper": [ + "-0.00000001741817047577948238", + "-0.00000001741817047577948237" + ], + "claim": "18406780093/5000000000000", + "derivative": [ + "-383919.90213871355903182628359680", + "-383919.90213824537988613634338883" + ], + "derivative_on_BIT_interval": [ + "-395665.23648722284273593096117231", + "-377909.72075540513727269790376155" + ], + "kappa": [ + "0.0036810345257", + "0.0036810345258" + ], + "probe": "368135601867/100000000000000", + "weighted_surplus": 1424 + }, + "trace": { + "changed_operation_grid": { + "numerator_bits": 29, + "odd_lcm": 54675, + "two_power": 16 + }, + "events_by_opcode": { + "ADD": 191544, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 6227, + "SCALE": 4536 + }, + "final_rows_sha256": "93c7c11e5c9c371f2ea64c675ba8eecda28316a063aab73bed8a9516ad01e98b", + "literal_scalar_units": 6548076, + "native_helper_targets": { + "1": 18, + "2": 21, + "3": 47, + "4": 225, + "5": 80, + "6": 45, + "7": 19, + "8": 32, + "9": 614 + }, + "native_paid": { + "1": 3982, + "2": 916, + "3": 639, + "4": 272, + "5": 354, + "6": 45, + "7": 13, + "8": 6 + }, + "native_paid_owned": { + "1": 20, + "2": 9, + "3": 2, + "4": 13, + "5": 2, + "6": 1 + }, + "non_dyadic_literal_events": { + "ADD": 11624, + "SCALE": 113 + }, + "nonzero_public_output_coefficients": 1709, + "ordered_clear_sha256": "3d1639a0afee8582431f36163d36e97ad57dc9171fd4353c89a7c905bf2a7d85", + "ordered_clear_values": 180, + "ordered_owned_or_copy_observations": 1049, + "ordered_protected_sha256": "586e710f72ea513b84b1a90c1fd8ec7752188b81bc8a04f589fcdb8a75a0cf1c", + "owned_add_zero_refills": 0, + "owned_label_count": 68, + "owned_lifetimes": 180, + "owned_moves": 47, + "peak_owned": 50, + "protected_observations_by_opcode": { + "ADD": 619, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 47, + "SCALE": 22 + }, + "tape_move_pair_count": 3009 + } + }, + "source_to_candidate_signed_paid_delta": { + "1": -34, + "2": 34, + "3": -17, + "4": -17, + "5": 17 + }, + "started_at": "2026-11-18T03:51:55.533634+00:00" +} diff --git a/research/p104-180-contact-application/evidence/NATIVE-LAUNCH.json b/research/p104-180-contact-application/evidence/NATIVE-LAUNCH.json new file mode 100644 index 0000000000..28a32783fc --- /dev/null +++ b/research/p104-180-contact-application/evidence/NATIVE-LAUNCH.json @@ -0,0 +1,23 @@ +{ + "adapter_sha256": "ac886f049390ba69ad058a56f4a5f2d16c5bd4f62e2efa28e66b1afc8a4c051d", + "authorization_sha256": "8474efef4781d15cfb70824d17398053b5fb0bfe9fbedeb543ee403486175a18", + "candidate_canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "candidate_raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "ended_at": "2026-11-18T03:56:06.710475+00:00", + "exit": 0, + "launcher_sha256": "ab31ee66751a31284beb74810bd25d035746f97c9456ddffee6350ef52441988", + "native_result_sha256": "2f31e368e7b456a3b0ea6746d341badf7e4a48b59d25b030ac072428a5c71ab8", + "physical_sha256": "e76bc78b132607890b2d9ea234d3a52e608e0e919bdc48308cc0727a2a07c73e", + "receipt_id": "progress.kappa-run-2.00000340", + "run_id": "p7636-180-lowering-native-running", + "running_event": "p7636-180-lowering-native-running", + "source_raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "stage": "native", + "start_sha256": "c48351048c33c8b786130686b68b4aedae288c694470e4b0002b073b227d045b", + "started_at": "2026-11-18T03:53:31.508868+00:00", + "status": "PASS_7636_LOWERED_C_NATIVE", + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "4b86d01101b68c6e39e9156891e32676905f32e616eebf1c083b33329a3e9f35", + "time_sha256": "b6f2d733a97aaf4df7d3162ea207707f67756a4d05c01278151671d336413b36", + "walsh_sha256": "c8d29246c26967315a223cb01f822060e83b3fdedad96d8dbcf878be94c51fac" +} diff --git a/research/p104-180-contact-application/evidence/NATIVE-RESULT.json b/research/p104-180-contact-application/evidence/NATIVE-RESULT.json new file mode 100644 index 0000000000..efcf6fd29b --- /dev/null +++ b/research/p104-180-contact-application/evidence/NATIVE-RESULT.json @@ -0,0 +1,2553 @@ +{ + "artifacts": { + "MOVE-PAIRS.json": "9a465b42ef06920185676b204bce0ebe8d854b47832024b73bff637a9acd50f5", + "OPERATORS.json": "e1991a2d46d5caa537fbada5d49e48857f6bae426824c81736bc1af7de7d31fb", + "PHYSICAL-1000000009.json": "d6e15a8c61c44ebe7a473bb50b1b1558f84748db8de6d9a9c2516069df3da9c4", + "PHYSICAL-998244353.json": "25cdaf152d274f19a4197b30a26174e1bc796f72b600ea4e439d7e4a22021bf4", + "START.json": "6af8719da2f0a4c11e19b0c2a0f3380ee3add26422ffeb8c7d9190572640b5c0" + }, + "candidate": { + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "clear_sha256": "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff", + "events": 202667, + "gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "parent_split_clock": 150834, + "raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e" + }, + "candidate_parent_raw_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "completed_at": "2026-11-18T03:56:06.606290+00:00", + "controls": { + "aliased_contact": "ADD frame at 127445", + "legal_wrong_contact_sign": "unexpected public/protected scalar change at 127446/127445", + "old_contact_chart": "ADD frame at 127445", + "wrong_move_chart": "MOVE source at 131292", + "wrong_public_flag": "MOVE flag at 131292" + }, + "elapsed_ns": 155022093003, + "finite_replays": [ + { + "candidate": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202667, + "ordered_clear_values": "f8d7c82fa96d282cb550cedd5feb2d35d75b0eed7b501033e95f74c25aa5274b" + }, + "digests": { + "candidate": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979", + "initial": "5e0a3b42f5964dcbdbd5a2bb6b3d429e1da7acc016c683539c3b24107c8c8b1d", + "reference_public": "30dad95bfd00d2f83c9ab6918a0d67a5efea9bfc850a2add44515348473c0ba2", + "source": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979" + }, + "elapsed_ns": 71227467831, + "endpoint_rows": 1501, + "i_squared_minus_one": 569522298, + "owned_zero_rows": 68, + "prime": 1000000009, + "scope": "One deterministic dense input at this modulus through every literal event", + "seed": 11, + "six_finite_exact_column_crosschecks": 6, + "source": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202669, + "ordered_clear_values": "f8d7c82fa96d282cb550cedd5feb2d35d75b0eed7b501033e95f74c25aa5274b" + }, + "status": "PASS_PAIRED_DENSE_PHYSICAL_WORDS", + "vector_width": 512, + "wrong_edited_transition_phase": { + "endpoint_rows": [ + 34, + 61, + 66, + 95, + 119, + 133, + 139, + 151, + 204, + 205, + 228, + 233, + 235, + 237, + 244, + 246, + 253, + 260, + 267, + 268, + 272, + 276, + 281, + 284, + 286, + 288, + 290, + 292, + 294, + 296, + 297, + 316, + 319, + 335, + 336, + 340, + 343, + 347, + 348, + 350, + 351, + 354, + 365, + 367, + 372, + 382, + 402, + 436, + 437, + 441, + 442, + 447, + 448, + 449, + 456, + 458, + 460, + 464, + 465, + 466, + 469, + 475, + 476, + 482, + 483, + 484, + 487, + 488, + 489, + 491, + 495, + 496, + 502, + 506, + 513, + 516, + 523, + 527, + 528, + 535, + 536, + 538, + 539, + 541, + 542, + 545, + 548, + 549, + 551, + 552, + 561, + 562, + 563, + 564, + 567, + 569, + 571, + 575, + 576, + 577, + 578, + 581, + 582, + 583, + 586, + 589, + 590, + 591, + 592, + 599, + 600, + 609, + 617, + 619, + 624, + 625, + 632, + 635, + 641, + 655, + 664, + 665, + 671, + 672, + 680, + 681, + 688, + 689, + 707, + 709, + 732, + 752, + 756, + 757, + 761, + 789, + 793, + 806, + 811, + 896, + 929, + 969, + 988, + 997, + 1000, + 1003, + 1007, + 1010, + 1013, + 1016, + 1017, + 1022, + 1027, + 1029, + 1042, + 1044, + 1047, + 1048, + 1050, + 1064, + 1070, + 1072, + 1074, + 1075, + 1078, + 1084, + 1089, + 1093, + 1094, + 1096, + 1097, + 1102, + 1104, + 1105, + 1106, + 1113, + 1118, + 1120, + 1122, + 1128, + 1129, + 1141, + 1144, + 1150, + 1155, + 1169, + 1171, + 1172, + 1174, + 1182, + 1201, + 1202, + 1204, + 1205, + 1206, + 1215, + 1221, + 1224, + 1228, + 1235, + 1240, + 1243, + 1249, + 1250, + 1253, + 1255, + 1256, + 1258, + 1262, + 1263, + 1264, + 1265, + 1283, + 1286, + 1287, + 1294, + 1295, + 1298, + 1300, + 1302, + 1306, + 1311, + 1317, + 1319, + 1321, + 1322, + 1328, + 1329, + 1334, + 1445, + 1466, + 1469, + 1470, + 1471, + 1472, + 1473, + 1477 + ] + }, + "wrong_second_alpha_rows": [ + 772, + 773, + 774, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 787, + 788, + 790, + 792, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 803, + 804, + 805, + 807, + 808, + 809, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881 + ] + }, + { + "candidate": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202667, + "ordered_clear_values": "0cfd518fcb6fe36ec79ac7d4b2c0c50eed940d5af1c71b80e3f3f041d0a4d16f" + }, + "digests": { + "candidate": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141", + "initial": "f95e41e2c6e36366b4a44ac7d7008b4215e73ad99b6b746efc52d940c97ddf28", + "reference_public": "7f48531a20c8244839cbd30b0ddd4bd5a43c86f4da764c99e8b816ff6facf0c0", + "source": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141" + }, + "elapsed_ns": 47029144037, + "endpoint_rows": 1501, + "i_squared_minus_one": 911660635, + "owned_zero_rows": 68, + "prime": 998244353, + "scope": "One deterministic dense input at this modulus through every literal event", + "seed": 37, + "six_finite_exact_column_crosschecks": 6, + "source": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202669, + "ordered_clear_values": "0cfd518fcb6fe36ec79ac7d4b2c0c50eed940d5af1c71b80e3f3f041d0a4d16f" + }, + "status": "PASS_PAIRED_DENSE_PHYSICAL_WORDS", + "vector_width": 512, + "wrong_edited_transition_phase": null, + "wrong_second_alpha_rows": [ + 772, + 773, + 774, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 787, + 788, + 790, + 792, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 803, + 804, + 805, + 807, + 808, + 809, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881 + ] + } + ], + "head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "native_paid_delta": { + "1": -3, + "2": 1, + "4": -1, + "5": 1 + }, + "pair_counts": { + "candidate_ascending_pairs": 2983, + "candidate_moves": 6226, + "fresh_pairs": 10, + "source_ascending_pairs": 2986, + "source_moves": 6228, + "transferred_pairs": 2977 + }, + "phase_code_sha256": "3b340b468d119fcca8bca015b0bab187119cd2593b25737ec496c9dc3564ebc6", + "pr": 7636, + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "raw_ports": { + "comparisons": "signed Pauli action and Gaussian absolute phase", + "directions": 4, + "opposite_sign_rejections": 208, + "ports": 104 + }, + "route_columns": { + "all_adjoint": 512, + "all_forward": 512, + "blocks": { + "contact": { + "all_adjoint": 512, + "all_forward": 512, + "composed_paths": [ + { + "adjoint_columns": 512, + "candidate": [ + 3, + 373, + 913 + ], + "forward_columns": 512, + "path": "role 902 independent entry to return", + "source": [ + 3, + 618, + 913 + ], + "wrong_phase": "rejected" + }, + { + "adjoint_columns": 512, + "candidate": [ + 373, + 733, + 238 + ], + "forward_columns": 512, + "path": "role 1091 independent entry to return", + "source": [ + 373, + 618, + 733, + 238 + ], + "wrong_phase": "rejected" + }, + { + "adjoint_columns": 512, + "candidate": [ + 3, + 373, + 733, + 238 + ], + "coefficient": "1/2", + "forward_columns": 512, + "path": "role 902 contribution to 1091 at source 127446", + "source": [ + 3, + 618, + 733, + 238 + ], + "wrong_phase": "rejected" + } + ], + "first_scalar_ordinal": 125034, + "last_scalar_ordinal": 126816, + "wrong_phase": "rejected" + }, + "role379": { + "all_adjoint": 512, + "all_forward": 512, + "composed_paths": [ + { + "adjoint_columns": 512, + "candidate": [ + 748, + 1072 + ], + "forward_columns": 512, + "path": "role 379 independent entry to return", + "source": [ + 748, + 1065, + 1072 + ], + "wrong_phase": "rejected" + } + ], + "first_scalar_ordinal": 127375, + "last_scalar_ordinal": 127455, + "wrong_phase": "rejected" + } + }, + "wrong_phase": "rejected" + }, + "running_event": "p7636-180-lowering-native-running", + "scalar_law": { + "contact_annotations": [ + { + "candidate": [ + "ADD", + 1091, + 902, + "1/2", + 373 + ], + "candidate_clock": 127445, + "scalar_ordinal": 125214, + "source": [ + "ADD", + 1091, + 902, + "1/2", + 618 + ], + "source_clock": 127446 + } + ], + "ordered_clear_witness_charts_sha256": "875f6fb89f209f5b53b1f44b045ed142c2fb30436b238852250263b3aa7bb5a3", + "ordered_clears": 180, + "ordered_scalar_events": 196441, + "original_literal_bits": 25, + "split_literal_bits": [ + 5, + 18 + ], + "split_sum": "23184221/921600", + "split_wrong_sign_rejected": true + }, + "source": { + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "clear_sha256": "9d804da82abff31b89bbe22112c5513be3239a4bd764bfa83f7dcb026d2fa675", + "events": 202669, + "gzip_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "parent_split_clock": 150836, + "raw_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8" + }, + "source_parent_raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "source_schedules": { + "candidate": { + "birth457": 281, + "event_counts": { + "ADD": 191544, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 6226, + "SCALE": 4536 + }, + "lifetime_trace": [ + [ + 1502, + 353, + 353 + ], + [ + 1501, + 359, + 359 + ], + [ + 1501, + 372, + 372 + ], + [ + 1503, + 375, + 375 + ], + [ + 1503, + 537, + 537 + ], + [ + 1501, + 538, + 538 + ], + [ + 1501, + 724, + 724 + ], + [ + 1501, + 372, + 372 + ], + [ + 1519, + 381, + 381 + ], + [ + 1525, + 455, + 455 + ], + [ + 1513, + 339, + 339 + ], + [ + 1507, + 321, + 321 + ], + [ + 1501, + 371, + 371 + ], + [ + 1518, + 377, + 377 + ], + [ + 1501, + 405, + 405 + ], + [ + 1526, + 414, + 414 + ], + [ + 1533, + 452, + 452 + ], + [ + 1527, + 451, + 451 + ], + [ + 1534, + 413, + 413 + ], + [ + 1503, + 390, + 390 + ], + [ + 1501, + 393, + 393 + ], + [ + 1515, + 338, + 338 + ], + [ + 1505, + 101, + 101 + ], + [ + 1504, + 376, + 376 + ], + [ + 1517, + 337, + 337 + ], + [ + 1503, + 389, + 389 + ], + [ + 1501, + 395, + 395 + ], + [ + 1532, + 453, + 453 + ], + [ + 1538, + 415, + 415 + ], + [ + 1533, + 433, + 433 + ], + [ + 1516, + 340, + 340 + ], + [ + 1522, + 360, + 360 + ], + [ + 1512, + 322, + 322 + ], + [ + 1501, + 369, + 369 + ], + [ + 1523, + 378, + 378 + ], + [ + 1527, + 492, + 492 + ], + [ + 1526, + 438, + 438 + ], + [ + 1560, + 306, + 306 + ], + [ + 1558, + 237, + 237 + ], + [ + 1551, + 416, + 416 + ], + [ + 1550, + 417, + 417 + ], + [ + 1549, + 419, + 419 + ], + [ + 1548, + 420, + 420 + ], + [ + 1568, + 3, + 3 + ], + [ + 1509, + 456, + 456 + ], + [ + 1541, + 599, + 260 + ], + [ + 1529, + 267, + 1091 + ], + [ + 1503, + 521, + 521 + ], + [ + 1503, + 525, + 525 + ], + [ + 1504, + 528, + 528 + ], + [ + 1503, + 526, + 526 + ], + [ + 1503, + 553, + 553 + ], + [ + 1503, + 564, + 564 + ], + [ + 1503, + 576, + 576 + ], + [ + 1556, + 595, + 595 + ], + [ + 1528, + 543, + 541 + ], + [ + 1526, + 531, + 529 + ], + [ + 1548, + 529, + 531 + ], + [ + 1501, + 737, + 737 + ], + [ + 1543, + 598, + 394 + ], + [ + 1517, + 394, + 598 + ], + [ + 1505, + 394, + 394 + ], + [ + 1515, + 260, + 599 + ], + [ + 1506, + 260, + 260 + ], + [ + 1545, + 600, + 431 + ], + [ + 1535, + 431, + 431 + ], + [ + 1544, + 431, + 243 + ], + [ + 1539, + 243, + 517 + ], + [ + 1519, + 431, + 600 + ], + [ + 1507, + 431, + 431 + ], + [ + 1532, + 595, + 529 + ], + [ + 1503, + 529, + 595 + ], + [ + 1547, + 601, + 470 + ], + [ + 1521, + 470, + 601 + ], + [ + 1501, + 548, + 548 + ], + [ + 1508, + 470, + 470 + ], + [ + 1509, + 595, + 595 + ], + [ + 1534, + 394, + 394 + ], + [ + 1542, + 394, + 240 + ], + [ + 1538, + 240, + 518 + ], + [ + 1554, + 120, + 120 + ], + [ + 1503, + 744, + 744 + ], + [ + 1505, + 645, + 645 + ], + [ + 1506, + 647, + 647 + ], + [ + 1505, + 664, + 664 + ], + [ + 1503, + 665, + 665 + ], + [ + 1549, + 549, + 559 + ], + [ + 1527, + 559, + 549 + ], + [ + 1525, + 115, + 115 + ], + [ + 1506, + 693, + 693 + ], + [ + 1505, + 695, + 695 + ], + [ + 1507, + 694, + 694 + ], + [ + 1506, + 723, + 723 + ], + [ + 1552, + 237, + 237 + ], + [ + 1505, + 736, + 736 + ], + [ + 1536, + 470, + 470 + ], + [ + 1546, + 470, + 1090 + ], + [ + 1537, + 1090, + 477 + ], + [ + 1530, + 593, + 549 + ], + [ + 1503, + 575, + 575 + ], + [ + 1505, + 829, + 829 + ], + [ + 1503, + 847, + 847 + ], + [ + 1542, + 1074, + 1074 + ], + [ + 1519, + 858, + 858 + ], + [ + 1503, + 881, + 881 + ], + [ + 1503, + 850, + 850 + ], + [ + 1525, + 853, + 853 + ], + [ + 1526, + 863, + 863 + ], + [ + 1505, + 841, + 841 + ], + [ + 1517, + 857, + 857 + ], + [ + 1545, + 888, + 888 + ], + [ + 1525, + 889, + 889 + ], + [ + 1532, + 844, + 844 + ], + [ + 1521, + 828, + 828 + ], + [ + 1536, + 1075, + 1075 + ], + [ + 1543, + 866, + 866 + ], + [ + 1537, + 885, + 885 + ], + [ + 1505, + 856, + 856 + ], + [ + 1503, + 574, + 574 + ], + [ + 1562, + 1031, + 1031 + ], + [ + 1533, + 597, + 591 + ], + [ + 1523, + 1031, + 1031 + ], + [ + 1504, + 591, + 597 + ], + [ + 1557, + 595, + 595 + ], + [ + 1555, + 120, + 120 + ], + [ + 1503, + 657, + 657 + ], + [ + 1563, + 1031, + 1031 + ], + [ + 1503, + 827, + 827 + ], + [ + 1503, + 864, + 864 + ], + [ + 1534, + 845, + 845 + ], + [ + 1546, + 873, + 873 + ], + [ + 1528, + 877, + 877 + ], + [ + 1505, + 892, + 892 + ], + [ + 1504, + 826, + 826 + ], + [ + 1544, + 1076, + 1076 + ], + [ + 1547, + 1077, + 1077 + ], + [ + 1507, + 909, + 909 + ], + [ + 1501, + 549, + 593 + ], + [ + 1502, + 541, + 594 + ], + [ + 1535, + 902, + 902 + ], + [ + 1548, + 913, + 913 + ], + [ + 1530, + 840, + 840 + ], + [ + 1506, + 835, + 835 + ], + [ + 1541, + 846, + 846 + ], + [ + 1506, + 917, + 917 + ], + [ + 1505, + 922, + 922 + ], + [ + 1508, + 851, + 851 + ], + [ + 1538, + 838, + 838 + ], + [ + 1527, + 855, + 855 + ], + [ + 1522, + 549, + 549 + ], + [ + 1515, + 834, + 834 + ], + [ + 1532, + 874, + 874 + ], + [ + 1519, + 890, + 890 + ], + [ + 1539, + 839, + 839 + ], + [ + 1550, + 541, + 543 + ], + [ + 1531, + 594, + 541 + ], + [ + 1524, + 117, + 117 + ], + [ + 1529, + 872, + 872 + ], + [ + 1542, + 894, + 894 + ], + [ + 1567, + 207, + 207 + ], + [ + 1525, + 245, + 245 + ], + [ + 1520, + 1090, + 470 + ], + [ + 1514, + 1091, + 260 + ], + [ + 1511, + 1091, + 1091 + ], + [ + 1518, + 243, + 431 + ], + [ + 1516, + 240, + 394 + ], + [ + 1512, + 518, + 240 + ], + [ + 1510, + 477, + 1090 + ], + [ + 1513, + 517, + 243 + ], + [ + 1509, + 603, + 603 + ], + [ + 1551, + 1091, + 267 + ], + [ + 1540, + 260, + 1091 + ], + [ + 1564, + 1091, + 1091 + ], + [ + 1553, + 237, + 237 + ], + [ + 1559, + 237, + 237 + ], + [ + 1561, + 306, + 306 + ], + [ + 1565, + 1091, + 1091 + ], + [ + 1566, + 127, + 127 + ], + [ + 1567, + 127, + 127 + ], + [ + 1568, + 240, + 240 + ] + ], + "owned_paid": { + "1": 20, + "2": 9, + "3": 2, + "4": 13, + "5": 2, + "6": 1 + }, + "paid": { + "1": 3980, + "2": 918, + "3": 638, + "4": 271, + "5": 355, + "6": 45, + "7": 13, + "8": 6 + }, + "peak": 50 + }, + "source": { + "birth457": 281, + "event_counts": { + "ADD": 191544, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 6228, + "SCALE": 4536 + }, + "lifetime_trace": [ + [ + 1502, + 353, + 353 + ], + [ + 1501, + 359, + 359 + ], + [ + 1501, + 372, + 372 + ], + [ + 1503, + 375, + 375 + ], + [ + 1503, + 537, + 537 + ], + [ + 1501, + 538, + 538 + ], + [ + 1501, + 724, + 724 + ], + [ + 1501, + 372, + 372 + ], + [ + 1519, + 381, + 381 + ], + [ + 1525, + 455, + 455 + ], + [ + 1513, + 339, + 339 + ], + [ + 1507, + 321, + 321 + ], + [ + 1501, + 371, + 371 + ], + [ + 1518, + 377, + 377 + ], + [ + 1501, + 405, + 405 + ], + [ + 1526, + 414, + 414 + ], + [ + 1533, + 452, + 452 + ], + [ + 1527, + 451, + 451 + ], + [ + 1534, + 413, + 413 + ], + [ + 1503, + 390, + 390 + ], + [ + 1501, + 393, + 393 + ], + [ + 1515, + 338, + 338 + ], + [ + 1505, + 101, + 101 + ], + [ + 1504, + 376, + 376 + ], + [ + 1517, + 337, + 337 + ], + [ + 1503, + 389, + 389 + ], + [ + 1501, + 395, + 395 + ], + [ + 1532, + 453, + 453 + ], + [ + 1538, + 415, + 415 + ], + [ + 1533, + 433, + 433 + ], + [ + 1516, + 340, + 340 + ], + [ + 1522, + 360, + 360 + ], + [ + 1512, + 322, + 322 + ], + [ + 1501, + 369, + 369 + ], + [ + 1523, + 378, + 378 + ], + [ + 1527, + 492, + 492 + ], + [ + 1526, + 438, + 438 + ], + [ + 1560, + 306, + 306 + ], + [ + 1558, + 237, + 237 + ], + [ + 1551, + 416, + 416 + ], + [ + 1550, + 417, + 417 + ], + [ + 1549, + 419, + 419 + ], + [ + 1548, + 420, + 420 + ], + [ + 1568, + 3, + 3 + ], + [ + 1509, + 456, + 456 + ], + [ + 1541, + 599, + 260 + ], + [ + 1529, + 267, + 1091 + ], + [ + 1503, + 521, + 521 + ], + [ + 1503, + 525, + 525 + ], + [ + 1504, + 528, + 528 + ], + [ + 1503, + 526, + 526 + ], + [ + 1503, + 553, + 553 + ], + [ + 1503, + 564, + 564 + ], + [ + 1503, + 576, + 576 + ], + [ + 1556, + 595, + 595 + ], + [ + 1528, + 543, + 541 + ], + [ + 1526, + 531, + 529 + ], + [ + 1548, + 529, + 531 + ], + [ + 1501, + 737, + 737 + ], + [ + 1543, + 598, + 394 + ], + [ + 1517, + 394, + 598 + ], + [ + 1505, + 394, + 394 + ], + [ + 1515, + 260, + 599 + ], + [ + 1506, + 260, + 260 + ], + [ + 1545, + 600, + 431 + ], + [ + 1535, + 431, + 431 + ], + [ + 1544, + 431, + 243 + ], + [ + 1539, + 243, + 517 + ], + [ + 1519, + 431, + 600 + ], + [ + 1507, + 431, + 431 + ], + [ + 1532, + 595, + 529 + ], + [ + 1503, + 529, + 595 + ], + [ + 1547, + 601, + 470 + ], + [ + 1521, + 470, + 601 + ], + [ + 1501, + 548, + 548 + ], + [ + 1508, + 470, + 470 + ], + [ + 1509, + 595, + 595 + ], + [ + 1534, + 394, + 394 + ], + [ + 1542, + 394, + 240 + ], + [ + 1538, + 240, + 518 + ], + [ + 1554, + 120, + 120 + ], + [ + 1503, + 744, + 744 + ], + [ + 1505, + 645, + 645 + ], + [ + 1506, + 647, + 647 + ], + [ + 1505, + 664, + 664 + ], + [ + 1503, + 665, + 665 + ], + [ + 1549, + 549, + 559 + ], + [ + 1527, + 559, + 549 + ], + [ + 1525, + 115, + 115 + ], + [ + 1506, + 693, + 693 + ], + [ + 1505, + 695, + 695 + ], + [ + 1507, + 694, + 694 + ], + [ + 1506, + 723, + 723 + ], + [ + 1552, + 237, + 237 + ], + [ + 1505, + 736, + 736 + ], + [ + 1536, + 470, + 470 + ], + [ + 1546, + 470, + 1090 + ], + [ + 1537, + 1090, + 477 + ], + [ + 1530, + 593, + 549 + ], + [ + 1503, + 575, + 575 + ], + [ + 1505, + 829, + 829 + ], + [ + 1503, + 847, + 847 + ], + [ + 1542, + 1074, + 1074 + ], + [ + 1519, + 858, + 858 + ], + [ + 1503, + 881, + 881 + ], + [ + 1503, + 850, + 850 + ], + [ + 1525, + 853, + 853 + ], + [ + 1526, + 863, + 863 + ], + [ + 1505, + 841, + 841 + ], + [ + 1517, + 857, + 857 + ], + [ + 1545, + 888, + 888 + ], + [ + 1525, + 889, + 889 + ], + [ + 1532, + 844, + 844 + ], + [ + 1521, + 828, + 828 + ], + [ + 1536, + 1075, + 1075 + ], + [ + 1543, + 866, + 866 + ], + [ + 1537, + 885, + 885 + ], + [ + 1505, + 856, + 856 + ], + [ + 1503, + 574, + 574 + ], + [ + 1562, + 1031, + 1031 + ], + [ + 1533, + 597, + 591 + ], + [ + 1523, + 1031, + 1031 + ], + [ + 1504, + 591, + 597 + ], + [ + 1557, + 595, + 595 + ], + [ + 1555, + 120, + 120 + ], + [ + 1503, + 657, + 657 + ], + [ + 1563, + 1031, + 1031 + ], + [ + 1503, + 827, + 827 + ], + [ + 1503, + 864, + 864 + ], + [ + 1534, + 845, + 845 + ], + [ + 1546, + 873, + 873 + ], + [ + 1528, + 877, + 877 + ], + [ + 1505, + 892, + 892 + ], + [ + 1504, + 826, + 826 + ], + [ + 1544, + 1076, + 1076 + ], + [ + 1547, + 1077, + 1077 + ], + [ + 1507, + 909, + 909 + ], + [ + 1501, + 549, + 593 + ], + [ + 1502, + 541, + 594 + ], + [ + 1535, + 902, + 902 + ], + [ + 1548, + 913, + 913 + ], + [ + 1530, + 840, + 840 + ], + [ + 1506, + 835, + 835 + ], + [ + 1541, + 846, + 846 + ], + [ + 1506, + 917, + 917 + ], + [ + 1505, + 922, + 922 + ], + [ + 1508, + 851, + 851 + ], + [ + 1538, + 838, + 838 + ], + [ + 1527, + 855, + 855 + ], + [ + 1522, + 549, + 549 + ], + [ + 1515, + 834, + 834 + ], + [ + 1532, + 874, + 874 + ], + [ + 1519, + 890, + 890 + ], + [ + 1539, + 839, + 839 + ], + [ + 1550, + 541, + 543 + ], + [ + 1531, + 594, + 541 + ], + [ + 1524, + 117, + 117 + ], + [ + 1529, + 872, + 872 + ], + [ + 1542, + 894, + 894 + ], + [ + 1567, + 207, + 207 + ], + [ + 1525, + 245, + 245 + ], + [ + 1520, + 1090, + 470 + ], + [ + 1514, + 1091, + 260 + ], + [ + 1511, + 1091, + 1091 + ], + [ + 1518, + 243, + 431 + ], + [ + 1516, + 240, + 394 + ], + [ + 1512, + 518, + 240 + ], + [ + 1510, + 477, + 1090 + ], + [ + 1513, + 517, + 243 + ], + [ + 1509, + 603, + 603 + ], + [ + 1551, + 1091, + 267 + ], + [ + 1540, + 260, + 1091 + ], + [ + 1564, + 1091, + 1091 + ], + [ + 1553, + 237, + 237 + ], + [ + 1559, + 237, + 237 + ], + [ + 1561, + 306, + 306 + ], + [ + 1565, + 1091, + 1091 + ], + [ + 1566, + 127, + 127 + ], + [ + 1567, + 127, + 127 + ], + [ + 1568, + 240, + 240 + ] + ], + "owned_paid": { + "1": 20, + "2": 9, + "3": 2, + "4": 13, + "5": 2, + "6": 1 + }, + "paid": { + "1": 3983, + "2": 917, + "3": 638, + "4": 272, + "5": 354, + "6": 45, + "7": 13, + "8": 6 + }, + "peak": 50 + } + }, + "status": "PASS_7636_LOWERED_C_NATIVE" +} diff --git a/research/p104-180-contact-application/evidence/OPERATORS.json b/research/p104-180-contact-application/evidence/OPERATORS.json new file mode 100644 index 0000000000..41788db75e --- /dev/null +++ b/research/p104-180-contact-application/evidence/OPERATORS.json @@ -0,0 +1,140 @@ +{ + "controls": { + "aliased_contact": "ADD frame at 127445", + "legal_wrong_contact_sign": "unexpected public/protected scalar change at 127446/127445", + "old_contact_chart": "ADD frame at 127445", + "wrong_move_chart": "MOVE source at 131292", + "wrong_public_flag": "MOVE flag at 131292" + }, + "raw_ports": { + "comparisons": "signed Pauli action and Gaussian absolute phase", + "directions": 4, + "opposite_sign_rejections": 208, + "ports": 104 + }, + "route_columns": { + "all_adjoint": 512, + "all_forward": 512, + "blocks": { + "contact": { + "all_adjoint": 512, + "all_forward": 512, + "composed_paths": [ + { + "adjoint_columns": 512, + "candidate": [ + 3, + 373, + 913 + ], + "forward_columns": 512, + "path": "role 902 independent entry to return", + "source": [ + 3, + 618, + 913 + ], + "wrong_phase": "rejected" + }, + { + "adjoint_columns": 512, + "candidate": [ + 373, + 733, + 238 + ], + "forward_columns": 512, + "path": "role 1091 independent entry to return", + "source": [ + 373, + 618, + 733, + 238 + ], + "wrong_phase": "rejected" + }, + { + "adjoint_columns": 512, + "candidate": [ + 3, + 373, + 733, + 238 + ], + "coefficient": "1/2", + "forward_columns": 512, + "path": "role 902 contribution to 1091 at source 127446", + "source": [ + 3, + 618, + 733, + 238 + ], + "wrong_phase": "rejected" + } + ], + "first_scalar_ordinal": 125034, + "last_scalar_ordinal": 126816, + "wrong_phase": "rejected" + }, + "role379": { + "all_adjoint": 512, + "all_forward": 512, + "composed_paths": [ + { + "adjoint_columns": 512, + "candidate": [ + 748, + 1072 + ], + "forward_columns": 512, + "path": "role 379 independent entry to return", + "source": [ + 748, + 1065, + 1072 + ], + "wrong_phase": "rejected" + } + ], + "first_scalar_ordinal": 127375, + "last_scalar_ordinal": 127455, + "wrong_phase": "rejected" + } + }, + "wrong_phase": "rejected" + }, + "scalar_law": { + "contact_annotations": [ + { + "candidate": [ + "ADD", + 1091, + 902, + "1/2", + 373 + ], + "candidate_clock": 127445, + "scalar_ordinal": 125214, + "source": [ + "ADD", + 1091, + 902, + "1/2", + 618 + ], + "source_clock": 127446 + } + ], + "ordered_clear_witness_charts_sha256": "875f6fb89f209f5b53b1f44b045ed142c2fb30436b238852250263b3aa7bb5a3", + "ordered_clears": 180, + "ordered_scalar_events": 196441, + "original_literal_bits": 25, + "split_literal_bits": [ + 5, + 18 + ], + "split_sum": "23184221/921600", + "split_wrong_sign_rejected": true + } +} diff --git a/research/p104-180-contact-application/evidence/PHYSICAL-1000000009.json b/research/p104-180-contact-application/evidence/PHYSICAL-1000000009.json new file mode 100644 index 0000000000..333d20b55a --- /dev/null +++ b/research/p104-180-contact-application/evidence/PHYSICAL-1000000009.json @@ -0,0 +1,369 @@ +{ + "candidate": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202667, + "ordered_clear_values": "f8d7c82fa96d282cb550cedd5feb2d35d75b0eed7b501033e95f74c25aa5274b" + }, + "digests": { + "candidate": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979", + "initial": "5e0a3b42f5964dcbdbd5a2bb6b3d429e1da7acc016c683539c3b24107c8c8b1d", + "reference_public": "30dad95bfd00d2f83c9ab6918a0d67a5efea9bfc850a2add44515348473c0ba2", + "source": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979" + }, + "elapsed_ns": 71227467831, + "endpoint_rows": 1501, + "i_squared_minus_one": 569522298, + "owned_zero_rows": 68, + "prime": 1000000009, + "scope": "One deterministic dense input at this modulus through every literal event", + "seed": 11, + "six_finite_exact_column_crosschecks": 6, + "source": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202669, + "ordered_clear_values": "f8d7c82fa96d282cb550cedd5feb2d35d75b0eed7b501033e95f74c25aa5274b" + }, + "status": "PASS_PAIRED_DENSE_PHYSICAL_WORDS", + "vector_width": 512, + "wrong_edited_transition_phase": { + "endpoint_rows": [ + 34, + 61, + 66, + 95, + 119, + 133, + 139, + 151, + 204, + 205, + 228, + 233, + 235, + 237, + 244, + 246, + 253, + 260, + 267, + 268, + 272, + 276, + 281, + 284, + 286, + 288, + 290, + 292, + 294, + 296, + 297, + 316, + 319, + 335, + 336, + 340, + 343, + 347, + 348, + 350, + 351, + 354, + 365, + 367, + 372, + 382, + 402, + 436, + 437, + 441, + 442, + 447, + 448, + 449, + 456, + 458, + 460, + 464, + 465, + 466, + 469, + 475, + 476, + 482, + 483, + 484, + 487, + 488, + 489, + 491, + 495, + 496, + 502, + 506, + 513, + 516, + 523, + 527, + 528, + 535, + 536, + 538, + 539, + 541, + 542, + 545, + 548, + 549, + 551, + 552, + 561, + 562, + 563, + 564, + 567, + 569, + 571, + 575, + 576, + 577, + 578, + 581, + 582, + 583, + 586, + 589, + 590, + 591, + 592, + 599, + 600, + 609, + 617, + 619, + 624, + 625, + 632, + 635, + 641, + 655, + 664, + 665, + 671, + 672, + 680, + 681, + 688, + 689, + 707, + 709, + 732, + 752, + 756, + 757, + 761, + 789, + 793, + 806, + 811, + 896, + 929, + 969, + 988, + 997, + 1000, + 1003, + 1007, + 1010, + 1013, + 1016, + 1017, + 1022, + 1027, + 1029, + 1042, + 1044, + 1047, + 1048, + 1050, + 1064, + 1070, + 1072, + 1074, + 1075, + 1078, + 1084, + 1089, + 1093, + 1094, + 1096, + 1097, + 1102, + 1104, + 1105, + 1106, + 1113, + 1118, + 1120, + 1122, + 1128, + 1129, + 1141, + 1144, + 1150, + 1155, + 1169, + 1171, + 1172, + 1174, + 1182, + 1201, + 1202, + 1204, + 1205, + 1206, + 1215, + 1221, + 1224, + 1228, + 1235, + 1240, + 1243, + 1249, + 1250, + 1253, + 1255, + 1256, + 1258, + 1262, + 1263, + 1264, + 1265, + 1283, + 1286, + 1287, + 1294, + 1295, + 1298, + 1300, + 1302, + 1306, + 1311, + 1317, + 1319, + 1321, + 1322, + 1328, + 1329, + 1334, + 1445, + 1466, + 1469, + 1470, + 1471, + 1472, + 1473, + 1477 + ] + }, + "wrong_second_alpha_rows": [ + 772, + 773, + 774, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 787, + 788, + 790, + 792, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 803, + 804, + 805, + 807, + 808, + 809, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881 + ] +} diff --git a/research/p104-180-contact-application/evidence/PHYSICAL-998244353.json b/research/p104-180-contact-application/evidence/PHYSICAL-998244353.json new file mode 100644 index 0000000000..e61481fca3 --- /dev/null +++ b/research/p104-180-contact-application/evidence/PHYSICAL-998244353.json @@ -0,0 +1,129 @@ +{ + "candidate": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202667, + "ordered_clear_values": "0cfd518fcb6fe36ec79ac7d4b2c0c50eed940d5af1c71b80e3f3f041d0a4d16f" + }, + "digests": { + "candidate": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141", + "initial": "f95e41e2c6e36366b4a44ac7d7008b4215e73ad99b6b746efc52d940c97ddf28", + "reference_public": "7f48531a20c8244839cbd30b0ddd4bd5a43c86f4da764c99e8b816ff6facf0c0", + "source": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141" + }, + "elapsed_ns": 47029144037, + "endpoint_rows": 1501, + "i_squared_minus_one": 911660635, + "owned_zero_rows": 68, + "prime": 998244353, + "scope": "One deterministic dense input at this modulus through every literal event", + "seed": 37, + "six_finite_exact_column_crosschecks": 6, + "source": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202669, + "ordered_clear_values": "0cfd518fcb6fe36ec79ac7d4b2c0c50eed940d5af1c71b80e3f3f041d0a4d16f" + }, + "status": "PASS_PAIRED_DENSE_PHYSICAL_WORDS", + "vector_width": 512, + "wrong_edited_transition_phase": null, + "wrong_second_alpha_rows": [ + 772, + 773, + 774, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 787, + 788, + 790, + 792, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 803, + 804, + 805, + 807, + 808, + 809, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881 + ] +} diff --git a/research/p104-180-contact-application/evidence/RESOURCE-AUTHORIZATION.json b/research/p104-180-contact-application/evidence/RESOURCE-AUTHORIZATION.json new file mode 100644 index 0000000000..fd1daf6e64 --- /dev/null +++ b/research/p104-180-contact-application/evidence/RESOURCE-AUTHORIZATION.json @@ -0,0 +1,21 @@ +{ + "bounds": { + "candidate": { + "cpu": 5, + "cpu_seconds": 410, + "wall_seconds": 420 + }, + "source": { + "cpu": 4, + "cpu_seconds": 410, + "wall_seconds": 420 + } + }, + "event_id": "p7636-180-lowering-grid-running", + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "receipt_id": "progress.kappa-run-2.00000335", + "receipt_sha256": "fb885f0cd4486ff611c6a558f7876c10148b1a612d9584bea4ba927d08d772e3", + "scope": "7636-lowered-paired-resource", + "spec_sha256": "bbdc1923ce562bfe5be3fb521ab0ef3e545c90dd9b8a8692d654cd290de29d12", + "status": "GO" +} diff --git a/research/p104-180-contact-application/evidence/SCALAR-DOMAIN.json b/research/p104-180-contact-application/evidence/SCALAR-DOMAIN.json new file mode 100644 index 0000000000..af39cf2b08 --- /dev/null +++ b/research/p104-180-contact-application/evidence/SCALAR-DOMAIN.json @@ -0,0 +1,28 @@ +{ + "chart": 127, + "clock": 150834, + "controls": { + "changed_tail_numerator": true, + "nearest_up_at_tie_is_not_odd": true, + "unrestricted_integer_translation_fails_for_even_ties": true + }, + "half_tie_residues": [ + 460800 + ], + "integral_residues": [ + 0 + ], + "new_word": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "old": "23184221/921600", + "old_word": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "residues": 921600, + "rounded_comparisons": 3686400, + "signed_cases": 1843200, + "source_role": 284, + "split": [ + "25", + "144221/921600" + ], + "status": "PASS_ALL_SCALAR_TICK_RESIDUES", + "target_role": 841 +} diff --git a/research/p104-180-contact-application/evidence/SCALAR-START.json b/research/p104-180-contact-application/evidence/SCALAR-START.json new file mode 100644 index 0000000000..57e9df83c3 --- /dev/null +++ b/research/p104-180-contact-application/evidence/SCALAR-START.json @@ -0,0 +1,14 @@ +{ + "observed_at": "2026-11-18T03:55:10.595902+00:00", + "command": [ + "python3.12", + "-I", + "-B", + "check.py", + "raw-combined.json.gz", + "lowered-C-WORD.json.gz" + ], + "script_sha256": "7f3c832a1e83e7263abc8424e8b9701b16e06212b3fa71a8cacf325c629a2bd9", + "new_word": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "scope": "Exhaust denominator period at the repaired 180-lifetime chart-127 ADD." +} diff --git a/research/p104-180-contact-application/evidence/SIGNED-AUTHORIZATION.json b/research/p104-180-contact-application/evidence/SIGNED-AUTHORIZATION.json new file mode 100644 index 0000000000..4e98b6209a --- /dev/null +++ b/research/p104-180-contact-application/evidence/SIGNED-AUTHORIZATION.json @@ -0,0 +1,11 @@ +{ + "cpu": 5, + "event_id": "p7636-180-lowering-signed-running", + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "receipt_id": "progress.kappa-run-2.00000348", + "receipt_sha256": "28c2ace63e1a9fbffefcf3040b7b29e3af841df1d0abfa4e88f072bd9acbf24d", + "scope": "fresh-signed-7636-lowered-c", + "spec_sha256": "b02534bd4863916ae8882916fac6737c17603c8712a63fc8c0dfc17b8832dd59", + "status": "GO", + "wall_seconds": 900 +} diff --git a/research/p104-180-contact-application/evidence/SIGNED-COMPLETION.json b/research/p104-180-contact-application/evidence/SIGNED-COMPLETION.json new file mode 100644 index 0000000000..9fcad1460f --- /dev/null +++ b/research/p104-180-contact-application/evidence/SIGNED-COMPLETION.json @@ -0,0 +1,8 @@ +{ + "candidate": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "catalogue_size": 3075, + "claim": "0.0036813560186", + "normalized_result_sha256": "92e59a2f548cfc1b7d6d54ce7f60c846ccf15df458ebdf978d7c9c654a72fc47", + "result_sha256": "f30fa4ed2357d7dc4e11b3f04058f0a81140342229b270f9d3933dc00d6ee27d", + "status": "PASS_PORTABLE_7636_LOWERED_C_SIGNED_APPLICATION" +} diff --git a/research/p104-180-contact-application/evidence/SIGNED-EXIT.json b/research/p104-180-contact-application/evidence/SIGNED-EXIT.json new file mode 100644 index 0000000000..2b14b12ac6 --- /dev/null +++ b/research/p104-180-contact-application/evidence/SIGNED-EXIT.json @@ -0,0 +1,5 @@ +{ + "ended": "2026-11-18T04:03:02.165159+00:00", + "result_sha256": "f7632b02b7e25936464ce1d4a500238fc3efb7adabe6c1ceb30c62040e5db933", + "status": "COMPLETE" +} diff --git a/research/p104-180-contact-application/evidence/SIGNED-EXPECTED.json b/research/p104-180-contact-application/evidence/SIGNED-EXPECTED.json new file mode 100644 index 0000000000..94036b306c --- /dev/null +++ b/research/p104-180-contact-application/evidence/SIGNED-EXPECTED.json @@ -0,0 +1,1591 @@ +{ + "assembly_sha256": "3e4a60493e06fd6f8bab7bbd0e2269354d7335372e745635c95bf622b4086ce8", + "assumptions": [ + "native_all_columns", + "owned_erasure", + "compiler", + "precision_tape", + "analytic_recovery" + ], + "birth_roles": { + "457": { + "distinct_owners_bound": 17, + "frame": 281 + }, + "461": { + "distinct_owners_bound": 17, + "frame": 285 + } + }, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "candidate_canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "candidate_gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "catalogue_boundary_pairs": 104, + "catalogue_common_with_source": 3074, + "catalogue_new_to_source": [ + [ + 748, + 1072 + ] + ], + "catalogue_size": 3075, + "clear_lifetimes": 180, + "controls": { + "absolute_phase_rejections": 4, + "aliased_main_rejected": true, + "fixed_tape": { + "cases": [ + { + "case": "positive", + "returncode": 0, + "stdout_sha256": "a56434bab6adcf54d1529f31dc75999c2fb408c02f411aa307d949c9f70cc723" + }, + { + "case": "candidate_hash", + "returncode": 1, + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "caller_hash", + "returncode": 1, + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "outer_strict", + "returncode": 1, + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "outer_functional", + "returncode": 1, + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "paid_positions", + "returncode": 1, + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "precision_cap", + "returncode": 1, + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "scalar_width", + "returncode": 1, + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + } + ], + "positive": 1, + "rejecting": 7, + "scope": "Synthetic local guard coverage on retained fixed-tape counter; no new physical run, native provider, supplier or actual-tape proof.", + "status": "PASS_SYNTHETIC_FIXED_TAPE_GUARD_CONTROLS" + }, + "lower_crossing_probe_rejected": true, + "native_receipt_mutations": [ + "stage", + "exit", + "run_id", + "candidate_canonical_sha256", + "native_result_sha256", + "adapter_sha256", + "launcher_sha256", + "native_status", + "native_word" + ] + }, + "fixed_tape": { + "H": 14382900000000000000, + "Kstar_bits": 14073, + "actual_ambient": 145, + "caller_odd_scale": 675, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "common_grid": { + "fractional": "p+D", + "signed_width": "p+h+2D+3", + "temp_padding": 26 + }, + "compiler_ambient_cap": 153, + "context_bound_bits": 14084, + "context_c": 2164, + "elementary_records_per_map_upper": 85264, + "elementary_records_upper": 25323919584, + "log_power": 2260, + "max_scalar_numerator_bits": 24, + "monomial_map_slots": 297006, + "native_invocations": 17, + "native_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "owned_banks_per_raw_occurrence": 1156, + "scalar_macro_inputs": { + "caller": 117856, + "conversions": 58522, + "native": 3339497 + }, + "scalar_services_upper": 112508000, + "scalar_steps_coefficient": 117973188608000, + "scope": "Exact finite-cost and common-format substitutions in the selected #7000 conditional application proof, using the conservative primitive movement and scalar constants there. The premise is the complete signed native/physical binding and retained compiler, BIT, stock, and outer contracts. This script counts the raw occurrence, not an enumerated top-level compiled multiplier.", + "tested_claim": "18406780093/5000000000000" + }, + "ordinary": { + "extra_charge_with_possible_overlap": 5307536, + "extra_sites": 51034, + "model_margin": 131558908, + "model_total": 868441092, + "native_scale": 54675, + "retained": 863133556 + }, + "paid": { + "1": 68044, + "16": 416, + "2": 15606, + "24": 416, + "3": 10846, + "32": 416, + "4": 4607, + "40": 416, + "48": 416, + "5": 6035, + "56": 416, + "6": 765, + "64": 208, + "7": 221, + "8": 758, + "9": 32 + }, + "price_outer": { + "BIT_margin": "8533398133/100000000000000", + "BIT_pin": "376669/100000000", + "H": "14382900000000000000", + "alpha": [ + 0.9999999999999453, + 0.9999999999999453 + ], + "claim": "18406780093/5000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9084807458945034, + 0.9084807458945034 + ], + "derivative_upper": -377876.0817678484, + "gamma": [ + 0.9422540286240848, + 0.9422540286240848 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "18406780093/5000000000000": [ + "25109339335268063908744315601359728803922712389596259838495885238236797852701/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "125546696676340319543721578006798644019613561947981299192479426191183989265447/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "368135601867/100000000000000": [ + "31386674169656163142216718128430761681665842623012435160338808853430440713433/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62773348339312326284433436256861523363331685246024870320677617706860881427849/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2259, + "moment_margin_float": { + "368135601867/100000000000000": [ + 1.6097308213943986e-08, + 1.6097308213943986e-08 + ], + "36813560187/10000000000000": [ + 4.580728916550015e-09, + 4.580728916550015e-09 + ], + "9203390047/2500000000000": [ + -3.38078687414196e-08, + -3.38078687414196e-08 + ] + }, + "moment_margins": { + "368135601867/100000000000000": [ + "804865410697199259281673000287224208128455898668650667151416066289630729/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "201216352674299814820418250071806052032113974667162666787854016577261581/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36813560187/10000000000000": [ + "229036445827500755895121018569880524816579069298809488543308075770826101/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "458072891655001511790242037139761049633158138597618977086616151580243667/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9203390047/2500000000000": [ + "-1690393437070979901043168134671868291386163534997715230318591772989370219/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3380786874141959802086336269343736582772327069995430460637183545939959051/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36813560187/10000000000000", + "9203390047/2500000000000" + ], + "tested": "368135601867/100000000000000", + "written_log_power": 2260 + }, + "public_low_B_comparison": { + "claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "-2487754048592995794419259812299918749404673900827649574340999697593305/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "-4975508097185991588838519624599837498809347801655299148681999273468299/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "1074233164363386363609180087682670214864089176352068748469950729820038699/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "4296932657453545454436720350730680859456356705408274993879802919314516707/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "gate": { + "BIT_margin": "8533398133/100000000000000", + "BIT_pin": "376669/100000000", + "H": "14382900000000000000", + "alpha": [ + 0.9999999999999453, + 0.9999999999999453 + ], + "claim": "18406780093/5000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9084807458945034, + 0.9084807458945034 + ], + "derivative_upper": -377876.0817678484, + "gamma": [ + 0.9422540286240848, + 0.9422540286240848 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "18406780093/5000000000000": [ + "25109339335268063908744315601359728803922712389596259838495885238236797852701/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "125546696676340319543721578006798644019613561947981299192479426191183989265447/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "368135601867/100000000000000": [ + "31386674169656163142216718128430761681665842623012435160338808853430440713433/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62773348339312326284433436256861523363331685246024870320677617706860881427849/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2259, + "moment_margin_float": { + "368135601867/100000000000000": [ + 1.6097308213943986e-08, + 1.6097308213943986e-08 + ], + "36813560187/10000000000000": [ + 4.580728916550015e-09, + 4.580728916550015e-09 + ], + "9203390047/2500000000000": [ + -3.38078687414196e-08, + -3.38078687414196e-08 + ] + }, + "moment_margins": { + "368135601867/100000000000000": [ + "804865410697199259281673000287224208128455898668650667151416066289630729/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "201216352674299814820418250071806052032113974667162666787854016577261581/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36813560187/10000000000000": [ + "229036445827500755895121018569880524816579069298809488543308075770826101/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "458072891655001511790242037139761049633158138597618977086616151580243667/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9203390047/2500000000000": [ + "-1690393437070979901043168134671868291386163534997715230318591772989370219/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3380786874141959802086336269343736582772327069995430460637183545939959051/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36813560187/10000000000000", + "9203390047/2500000000000" + ], + "tested": "368135601867/100000000000000", + "written_log_power": 2260 + }, + "lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963186439813/10000000000000", + "new_minus_old": { + "lower": "-530412171477114082225888527174233608791743515609140353097396507184307/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-530412171477114082225888527174233608791743515609140353097396389239695/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451096190532341302851366162695897197293198521037176369990548115061623/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230993993451096190532341302851366162695897197293198521037176369990548115062243/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250160298617230461937580027496175996693980039140575879728790938970003/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974182250160298617230461937580027496175996693980039140575879728790938970877/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991205102328931001516240825847714185949449745450159900457377833495489/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460810624991205102328931001516240825847714185949449745450159900457377833496603/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413804588930047969370870300756578313262356642812203076393359428699979/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "575540297413804588930047969370870300756578313262356642812203076393359428701333/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667089025780410409219024063325227441150120887902346458041757876139941/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964667089025780410409219024063325227441150120887902346458041757876141809/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100324749045961875713365921570024320416379544987935363725882104067187/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "229818131775081187261490468928341480392506080104094886246983840931470526017327/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930540667700374752505672502334528315690487296101196400027835182414753/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1033733267722162670801499010022690009338113262761949184404785600111340729661371/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864921091510360727784414649089840728075050228816372066153338155012425/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "458464894932460545755180363892207324544920364037525114408186033076669077507225/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565259563156514080536137985091139489314483647260975831185200842179983/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565259563156514080536137985091139489314483647260975831185200842184247/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "171667902209159125940801953450702475767706952098211322889109294952181094043551/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "2746686435346546015052831255211239612283311233571381166225748719234897504702881/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018858771744068515369937292444658628227719818520604809703309190654193/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764075435086976274061479749169778634512910879274082419238813236762623019/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "914593023021966187960179964429562698912272458842243308440463637980221282357275/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1829186046043932375920359928859125397824544917684486616880927275960442564718561/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "943067216936421824104606176991602649576481527284441017911377397357363954188451/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "3772268867745687296418424707966410598305926109137764071645509589429455816762065/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "2284605050036333173044319140033250568825354691666681818863381771166284007763017/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4569210100072666346088638280066501137650709383333363637726763542332568015536041/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636433576709109061319887060096104557890917259699366456977042963983044919/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636433576709109061319887060096104557890917259699366456977042963983055181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182034143917039838358424772070550276039404413537412904056825941535740497/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182034143917039838358424772070550276039404413537412904056825941535752499/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "1398275554655360142678353172072912416690444442312981795552407798133170075906651/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2796551109310720285356706344145824833380888884625963591104815596266340151819423/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378447041871469459803746324577900116507745318781857304140414366631019111/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378447041871469459803746324577900116507745318781857304140414366631033101/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508744674875090146910336214212114909144350847750787943937630710925373581/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508744674875090146910336214212114909144350847750787943937630710925387717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "456131105678050964658582943948125296559953406098374410388434350163731448073501/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "7298097690848815434537327103170004744959254497573990566214949602619703169192005/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710696272012196634353555330390498350887700338941551405027602546998775737/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421392544024393268707110660780996701775400677883102810055205093997567475/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490545757478969106371806777634128875335561751438314941177644219889044249/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745272878739484553185903388817064437667780875719157470588822109944531081/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414061945444656921628827778305052625070756660756970839531362288597140217/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414061945444656921628827778305052625070756660756970839531362288597174133/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36813560187/10000000000000", + "logexp_bounds": [ + "458072891655001511790242037139761049633158138597618977086616151544001759/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "45807289165500151179024203713976104963315813859761897708661615157789411/10000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "probe": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "99631864398133/100000000000000", + "new_minus_old": { + "lower": "-1863940949189584915523336325922703685011856783686504280123914094438375/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-1863940949189584915523336325922703685011856783686504280123913968049679/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451100993917399910195173336790246654574473829165682637788829548635105/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "115496996725550496958699955097586668395123327287236914582841318894414774317885/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125085850680937959957216446924273960119035833884005149114293919328371/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "345974182250171701361875919914432893848547920238071667768010298228587838657679/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991224266904060085120125423873162546067633843117341753693892563628899/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230405312495612133452030042560062711936581273033816921558670876846946281815047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706916188910645855644613195115603599104180494517386769050634376712571/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "287770148706916188910645855644613195115603599104180494517386769050634376713297/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667136005439517078634888040799942487040378667492268324415751873020437/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166784001359879269658722010199985621760094666873067081103937968255609/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100382096250391200043604332569763341183807950581955864174250621905463/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100382096250391200043604332569763341183807950581955864174250621907731/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930557702781441622200539388462347932892609690871387044355534630114403/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "129216658465278851390720811100269694231173966446304845435693522177767315057517/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864997359586194686136763079274162218592721575039148588518563685449679/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1833859579729994719172389372273526158548324437185443150078297177037127370903695/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565425139628306230654292748137477980501706463917990846513139380752013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "121752561847839071226769139415893296758592373781356653994874427907071211297287/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435346807888573229802758585752557979357648555302417954398523039429333091/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673403944286614901379292876278989678824277651208977199261519714669799/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764075711334288790281811692958867836922563414737171403972159524250522571/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "715175441018927833572197570452923239716959230640853684292850993039881062632317/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829186046044122560192940180650404369838639323722439649498021502423890324069793/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1829186046044122560192940180650404369838639323722439649498021502423890324074095/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873041494708511725262682548823764074913800546160950525040538598095981/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3772268867746082989417023450525365097647528149827601092321901050081077196200823/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813643312563225452285891799492033933677181101737595400624167873446239/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "4569210100073172004046428946297075167490171755339590511206105639946743900570027/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "2341507318217049215239658081875686522804058904338156811753036259648516793956163/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1170753659108524607619829040937843261402029452169078405876518129824258396980829/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "2739686591017390134844940680163179545456703497528345317212155762728534359336761/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "5479373182034780269689881360326359090913406995056690634424311525457068718686377/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "5593102218622093591175727881471127358459180259682141202781985773205223452148131/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5593102218622093591175727881471127358459180259682141202781985773205223452161245/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689223906703827355380764809288549157174450115102898307270506407649817125/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3194487689223906703827355380764809288549157174450115102898307270506407649824619/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251320254372731795179370766013544156600747798545513760065090704478242832881701/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "50801878974573934299677668218961627446886684352273652501017042257472544263895/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298097690849725992588142482656572773271509199458224866318589858317817839534739/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "57016388209763484317094863145754474791183665620767381768113983268107951871499/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411707421393472204506510326856815312556772641691991115095894867701532508099631/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "926463427674184025563313790857101914069596580211498889386986858462691563514599/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490546828424174432827087107419754254053267248875575811884831626849663771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745273414212087216413543553709877127026633624437787905942415813424841495/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414064244863583867857236409824205819144528819987962351842197610470233747/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "7789389707032122431791933928618204912102909572264409993981175921098805235135047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "368135601867/100000000000000", + "logexp_bounds": [ + "804865410697199259281673000287224208128455898668650667151416066290811703/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "16097308213943985185633460005744484162569117973373013343028321326157307/1000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_at_claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "7145959412059467016591730725962927028618388580906617191762209458699072817045/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "14291918824118934033183461451925854057236777161813234383524418917398267341725/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "-308568549852045771492235998695077252360204012733549308747097009341152129671763/2500000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3085685498520457714922359986950772523602040127335493087470970093411521288127267/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963189654743/10000000000000", + "new_minus_old": { + "lower": "-2428602406757807441804730145969742991104780072582840411999532860817933/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-2428602406757807441804730145969742991104780072582840411999532733543395/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115497022463128840419862943811668375076942514553623223735938143158927875445431/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "230994044926257680839725887623336750153885029107246447471876286317855750891533/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "345974304446934688403762773699204932784332479221628059385297306486954330817055/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974304446934688403762773699204932784332479221628059385297306486954330817999/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "460810830367142601181550979063047625827136085229198193110551708198538392127959/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "115202707591785650295387744765761906456784021307299548277637927049634598032291/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "71942574401460256683233475733029441024735213275805999073652262479320827391617/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "575540595211682053465867805864235528197881706206447992589218099834566619134401/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804759468121631344795977512406278622666160085330046987315967723769497361496233/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "402379734060815672397988756203139311333080042665023493657983861884748680749127/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919273141658023292765259354095206408049533005005952380274797833252837624001253/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919273141658023292765259354095206408049533005005952380274797833252837624003547/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433499485915726582280538792502140782157368891708893423275633856257544178167/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1033733997943662906329122155170008563128629475566835573693102535425030176715203/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "1833861214374070989965026275335869899351435639230788926917087574695705316294193/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "916930607187035494982513137667934949675717819615394463458543787347852658149283/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948042763955289200987725849226688309599373238244277966036367032590507036715525/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948042763955289200987725849226688309599373238244277966036367032590507036720139/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746689241698102786663418752689463214885192722522963470255568171615444220111419/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "2746689241698102786663418752689463214885192722522963470255568171615444220117967/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "178794045278929684485062063395769440651035805844202249365721609916831195883737/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "178794045278929684485062063395769440651035805844202249365721609916831195884159/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829188084142145964901217841670804906247819401029228338510662901052286787039045/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1829188084142145964901217841670804906247819401029228338510662901052286787043381/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772273108165710579744449806738104881336099363674989725206894856582690182231135/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772273108165710579744449806738104881336099363674989725206894856582690182240057/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569215518925673719751165616872264541341970849646360904347613874609008874661065/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "17848498120803412967777990690907283364617073631431097282607866697691440916687/452312848583266388373324160190187140051835877600158453279131187530910662656", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585377528428649641145599861324947140680820793814999204314122912924632347199791/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "4683020227429197129164798890599577125446566350519993634512983303397058777609411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "171230625045910568854013447767184355086917683917461956470653968552808428340761/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "5479380001469138203328430328549899362781365885358782607060926993689869706917313/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796554608338034115547354908471027117909077934443870542266754804532680605851987/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1398277304169017057773677454235513558954538967221935271133377402266340302929297/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "798622955821060668321025185648315177041423166032287479920064820405188187956573/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3194491823284242673284100742593260708165692664129149919680259281620752751833845/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251324480482381450586076272483246743343432586232333354454658881038578509712617/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1625662240241190725293038136241623371671716293116166677227329440519289254860125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298107448789986561834083607562201807664050396107533988364330227805861745134411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1824526862197496640458520901890550451916012599026883497091082556951465436287919/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705858684089761688204968051314512848968925816708957301577093369119060598571393/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3705858684089761688204968051314512848968925816708957301577093369119060598580039/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320372967266569233135187964832002520377206385690192686349560229550052580078575/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160186483633284616567593982416001260188603192845096343174780114775026290048965/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "1947350506956383718546053832070701174529986606915430599375697973972418983547243/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "7789402027825534874184215328282804698119946427661722397502791895889675934207281/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36810345257/10000000000000", + "logexp_bounds": [ + "1048690986903423228708881829520016203801600174252530225400967663531413143/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "262172746725855807177220457380004050950400043563132556350241915887099251/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981594827371/5000000000000", + "new_minus_old": { + "lower": "2016886350082244115711348589842424215733516256212208805458998498301913/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "504221587520561028927837147460606053933379064053052201364749653359967/28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115497022463120834776314605446553479411593454566115891744560991133192095677071/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "230994044926241669552629210893106958823186909132231783489121982266384191354751/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "345974304446896679241519895359232713780162454055049459836896684013933391687365/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974304446896679241519895359232713780162454055049459836896684013933391688215/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "460810830367078719235982889066674752136430978808843016205943444786747462721257/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460810830367078719235982889066674752136430978808843016205943444786747462722339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "35971287200724338986278747275206885776760117255604884092303072852057105001893/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "287770297605794711890229978201655086214080938044839072738424582816456840015807/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804759468121474745834320903812026899206058570068721753918462340360309814798843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "25148733378796085807322528244125840600189330314647554809951948136259681712521/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "459636570828916067644683975677098232281523044606661574174976122473186753587815/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "919273141657832135289367951354196464563046089213323148349952244946373507177703/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "1033733997943435771754451195622697278567473748873899950272518600219147188249777/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "516866998971717885877225597811348639283736874436949975136259300109573594126039/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916930607186781267836456847959915848523398071196847068081414924795729750224153/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "916930607186781267836456847959915848523398071196847068081414924795729750226125/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948042763954737278912362899521141193616838139871984730972487127111754017719835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "974021381977368639456181449760570596808419069935992365486243563555877008861999/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746689241697229874036883476422122072327624633102284182441507520079529503742081/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "2746689241697229874036883476422122072327624633102284182441507520079529503748007/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715176181115488531608256795744538061083040259975064432125212047747647739231753/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "715176181115488531608256795744538061083040259975064432125212047747647739233277/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "228648510517689002077449932910554054921016766523427580239148738085205795195657/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "914594042070756008309799731642216219684067066093710320956594952340823180784587/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772273108164391601599788230455885679825163616630103430841315874020607994664385/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "943068277041097900399947057613971419956290904157525857710328968505151998668113/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569215518923988191226247581211735757525088821547067339401788744564947370671159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4569215518923988191226247581211735757525088821547067339401788744564947370680927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683020227427458055854359981393928697347962249956743839782293520593454135900305/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683020227427458055854359981393928697347962249956743839782293520593454135910317/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479380001467017025188347158255568965661199091476846070780540974018957674928367/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "342461250091688564074271697390973060353824943217302879423783810876184854683755/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "1398277304168472873374202321400263486731516148126525383366450168349463785585019/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "5593109216673891493496809285601053946926064592506101533465800673397855142352025/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194491823282956777977911317821290247505525347481129610405009477763472795419443/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3194491823282956777977911317821290247505525347481129610405009477763472795426271/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251324480481066923429780957975039004178864082978942991959855351225905536753235/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1625662240240533461714890478987519502089432041489471495979927675612952768380067/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649053724393475682136576424967551842219890617783806484358547250721425672990551/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7298107448786951364273152849935103684439781235567612968717094501442851345996705/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411717368176429438546957448672007577427658659398721965518350095753467132832523/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3705858684088214719273478724336003788713829329699360982759175047876733566424069/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "4160186483631499705430030130046990091626591487016803738347710507669914143870309/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4160186483631499705430030130046990091626591487016803738347710507669914143879047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "1947350506955425625811041354043011306202018159205275975255599174310006239117507/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "15578804055643405006488330832344090449616145273642207802044793394480049912973165/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18405172629/5000000000000", + "logexp_bounds": [ + "-21772713094724352964650617764148156474424303068015633133301255909999327/1250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-435454261894487059293012355282963129488486061360312662666025118191458019/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "2490796609953/2500000000000", + "new_minus_old": { + "lower": "489335469278741358183650564303266513687855500242720705397900062819635/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "upper": "3914683754229930865469204514426132109502844001941765643183200629091191/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "7218562295346255601525394138335115353963340931710819517857628720098258833551/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "230993993451080179248812612426723691326826909814746224571444119043144282674301/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250122289468412271395629474597823155017617075133823312966733513664699/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "172987091125061144734206135697814737298911577508808537566911656483366756832819/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "230405312495570610205917030963151513307892702610037541839837880702962943662705/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "28800664061946326275739628870393939163486587826254692729979735087870367957913/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413711959292568839333323943480903771757679547326171201843641134491045/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "71942537176713994911571104916665492935112971469709943415771400230455141811563/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964666932426916721530973419820287192662360647772941522532125656328774013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964666932426916721530973419820287192662360647772941522532125656328776015/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100133591697864153783439042636463201607814004960007486217448707010167/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100133591697864153783439042636463201607814004960007486217448707012439/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "516866633860967768193637056598521909199992386845642833440546551715333471193707/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "258433316930483884096818528299260954599996193422821416720273275857666735597485/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466166716147728561439897012176380059834110028461877853325995313580063/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579729333729181828491519176097411040478672880227695022826607962508644843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "974020494782353820791936840891770232983451163695393483912015638288552534629417/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1948040989564707641583873681783540465966902327390786967824031276577105069263411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435345673103318169610373850468028512326231258441208696529769069139565857/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "686671608836418275829542402593462617007128081557814610302174132442267284893091/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018628565650305046591964748458299551179772588638733593616839733052211/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764074514262601220186367858993833198204719090354554934374467358932215543/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092086596856690185131398724354849410322343288076567772286063514491107457/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3658372092086596856690185131398724354849410322343288076567772286063514491116063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772268867744368319756429199204333951427631149689988631096060305126818391097211/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772268867744368319756429199204333951427631149689988631096060305126818391106073/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569210100070980819562669796782025487155501026932512373295919568962289106748525/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "571151262508872602445333724597753185894437628366564046661989946120286138344907/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636431837637874878926786830153601114304171505058163374573842578388687283/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636431837637874878926786830153601114304171505058163374573842578388698277/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182032022741539695552500103466343899299020437145180066709582026450981555/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182032022741539695552500103466343899299020437145180066709582026450994411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "174784444331851994869969664427240216572606005184559173883085074062534554926313/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "2796551109309631917919514630835843465161696082952946782129361185000552878827563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689222235042092645308685658464590919752439520693672641013416212564172933/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "6388975378444470084185290617371316929181839504879041387345282026832425128360861/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508742045824194832195610158316309020954981678538552657898799150640141181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508742045824194832195610158316309020954981678538552657898799150640156337/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649048845422890120517304996022040336806271911433940317454129203655213590248897/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7298097690845780241034609992044080673612543822867880634908258407310427180514927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "1852926855347362522670616036862462400246401489399525324037340932784670978124699/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "7411707421389450090682464147449849600985605957598101296149363731138683912515961/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490542187661618019183089187896737211616561523461415728940190817042195063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490542187661618019183089187896737211616561523461415728940190817042214281/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "7789389707027140357450218325985039902265168535102871182449216230837778611032595/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "15578779414054280714900436651970079804530337070205742364898432461675557222101539/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "9203390047/2500000000000", + "logexp_bounds": [ + "-676157374828391960417267253868747316554465413999086092127436709195282097/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-845196718535489950521584067335934145693081767498857615159295886485572251/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + } + }, + "reserved_native_banks": 1156, + "source_canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "source_copy_pins": { + "controls.py": "8a84fb5f6e09ad1f74822efdba1c2723b9056b4f002ff6cb0c0eb8bc01cddddc", + "replay/supplier7108/CALLER.json": "9557f713ab4ffb91ede05e8a6d5668c694b9940fc16f2f2d657e2f2b2cac2d3f", + "replay/supplier7112/WORD.json.gz": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "replay/supplier7112/short-caller/COHORT-PRICE.json": "8d27fdb2faad0ee81e1de6bf992f8b24712ca69e1002b68930269c87ba4bcb94", + "replay/supplier7112/short-caller/DATA-PHASES.json": "c5916ff312678f12aba403847643fbbc29f643acec60bdf836fa56cd3e8251fa", + "replay/supplier7112/short-caller/ODD-LOCALIZED-GROUPING.json": "8aac6b3d9e528bffbcf411bbd300c8e0f0b7bf75da45ab12badf3f3530ffcbe2", + "replay/supplier7112/short-caller/ODD-UNIT-DYADIC-TAPES.json": "c3195057f7a6723a81172ed540d0f1c4ba699ff3cb8dc37cbde7bb481d9b976c", + "replay/supplier7112/short-caller/ODD-UNIT-PREFIX-CLOSURES.json": "3b953e5d3e83e7573a3e908a5a23edb78773d4d22816aca54f766f0f0e9f5403", + "replay/supplier7112/short-caller/SHORT-ADMISSION-PARTIAL.json": "7977815fe72382738727e3d550eea3bc735923c9c57968872d4f863cb39cd401", + "replay/supplier7112/short-caller/SHORT-CALLER-RAW-PRICE.json": "a4f83d65d250efb40f6506658374d7414afdde11c96eb88b7d2fbb182aa090c1", + "replay/supplier7112/short-caller/SHORT-PRECISION.json": "68a00d2b83ee2eb944d2e05fc7f32bc9aa37282c45b968f0ab6fd500659ac028", + "replay/supplier7112/short-caller/SHORT-TYPE-A-ROOT.json": "e9812d720942d8149c219dfa28c1081ff1d353529e5282ca4624a04233f38f88", + "replay/supplier7112/short-caller/admission-source/ARCHIVE-CHAIN.json": "6de95c4eb396e69883fbeeb3989782bbbe232c22644af1c804050badca10f456", + "replay/supplier7112/short-caller/admission-source/FULL-RESULT.json": "d9ba709fa5dcefffe3f3abdcf34600ce188224703cfd743e6db8b58ba4816cb7", + "replay/supplier7112/short-caller/admission-source/INDEPENDENT-NOTICE.md": "cadbc642ca84311d2c7a6cf704c7828cb4cf77e3c784b66e4c6e8a5c28002fb8", + "replay/supplier7112/short-caller/admission-source/INDEPENDENT-SOURCES.json": "dced1457df5230466ba6202fd6d4595bc2b7fb2a65302806bf2720b1837ff350", + "replay/supplier7112/short-caller/admission-source/LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "replay/supplier7112/short-caller/admission-source/NATIVE-INPUTS.json": "9bb6c1567783661334d6c1d23f715ce5635cbbb513678819ab9e020a34c7e4c0", + "replay/supplier7112/short-caller/admission-source/NOTICE": "da12736e2e824167ff56f2ecb623a5f88f75a270410360890f61dffc33bab249", + "replay/supplier7112/short-caller/admission-source/data/bit-admission.json": "a46b6c6040f75184cab5467656811ad988c216e3bc8e44d595a5015b6e49620b", + "replay/supplier7112/short-caller/admission-source/data/caller.json": "3828d53e80ea97e8b866320f081af20b6b93bfebd58b95b56b85a7afe151af5e", + "replay/supplier7112/short-caller/admission-source/data/final.json.gz": "2b94953dc14a122e3ef089633f05b58ec689ec5156feb7c784ed3e137dc01883", + "replay/supplier7112/short-caller/admission-source/frozen/clifford_exact.py": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962", + "replay/supplier7112/short-caller/admission-source/frozen/native_verify.py": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38", + "replay/supplier7112/short-caller/admission-source/frozen/physical.py": "4e995d1158033d83bf69b671f23dc7924d66edbbe07623ba063ba7421234ea20", + "replay/supplier7112/short-caller/admission-source/frozen/verify_host3_odd.py": "e75ad2096ba2587d1dc9c8982b2c2eb7c6fd2636a80adcd943314ef2cf6fd258", + "replay/supplier7112/short-caller/admission-source/independent.py": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "replay/supplier7112/short-caller/admission-source/interval_gate.py": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "replay/supplier7112/short-caller/admission-source/precision_replay.py": "850d9098c5946ab27ef5228acc54d59df2196e72259d3e21588ec0c319c8f5ee", + "replay/supplier7112/short-caller/admission-source/retained/odd-native-common-grid/independent_bounds.py": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/envelopes.py": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/source_binding.py": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "replay/supplier7112/short-caller/assemble_odd_application.py": "6cdac39ab196a70c53ba2283c2555cd8dee30644dcc4769628b46fb53bd55a1f", + "replay/supplier7112/short-caller/candidate_gate.py": "e71097ca81a082afd7c647324a6c94cb357aeb1084693a095a0f3e0b45a9b11a", + "replay/supplier7112/short-caller/check_odd_caller_exact_grid.py": "abd5a5fd011b71e5b382cbc058855594d4f2fe7b049f375506675c0303180f54", + "replay/supplier7112/short-caller/check_odd_fixed_tape_counts.py": "3499bcc955c64232140022320b3b0ca0f53d6a2bc4f05048993b0ecee3c4368e", + "replay/supplier7112/short-caller/check_odd_partial_admission.py": "c8680929567edbce7a6aade2218da6881aba943eadb1eb9d4def05705c14d8f6", + "replay/supplier7112/short-caller/check_odd_physical_binding.py": "5c80c3b0415a7f91d216395248dd6f13297eed637732098e1ca8fb0548951b98", + "replay/supplier7112/short-caller/check_odd_precision.py": "ea6dea2ca47b52e5512dc45126cd7ab632bc6f817b351bd87b95cf9c1c7e8235", + "replay/supplier7112/short-caller/connected.py": "469537b46fb92c5aca926d3b1497da5425408673b0a73ba1427f23d872b414e7", + "replay/supplier7112/short-caller/cut_library.py": "7ccb81af19db54ec7cdb44849af018d4ca8893f80f17277914f8566715985133", + "replay/supplier7112/short-caller/emit_odd_type_ab.py": "6fd9f61f9ba6c726524d1a585d0201b0eac61829ccae6be598f0f0fc1cb64f1a", + "replay/supplier7112/short-caller/emit_odd_type_b.py": "d1fa8b67d98beacd6bb574b3d5fcbc94b8646a7ffbce91d2a6fd4d690d3c5329", + "replay/supplier7112/short-caller/host34.py": "bded1a8626d65ee40c4ba3b25780fc03f0fa08906f3c83f631892df072d9a9b7", + "replay/supplier7112/short-caller/independent.py": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "replay/supplier7112/short-caller/interval_gate.py": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "replay/supplier7112/short-caller/lower.py": "67345fdfc8e5bb816e24b37dfafad0396372c48ec4e1b95b8b69f019a8fdfdee", + "replay/supplier7112/short-caller/mirrored.py": "55dd441a3a7f504b351857d45fd701994a0950ae1baec6c4c2b4b0166fb69db3", + "replay/supplier7112/short-caller/native_ingredient.py": "a455469277054a2cb5949c6d98f5a4ae6f31f16acba31e0eeea360b43b0f4ceb", + "replay/supplier7112/short-caller/odd_unit_dyadic_tapes.py": "3cdafa35635360a487ce400ec8d585f6134dd7c58209543528e98e7db178bbc7", + "replay/supplier7112/short-caller/screen.py": "01e3eaba4b710a080e6e393e53157e6a119fdf312620eed26e9185ca91f6bea6", + "replay/supplier7112/short-caller/short_dyadic_seam.py": "6e588b365618ab2df4fa2d1f16073d09a953a7cd6e826e1f96bbf87f950b672b", + "replay/supplier7112/short-caller/short_native_catalogue.py": "775695c379f407801910531565cc371012cee501b2cec5f5d718ecdccf06b64d", + "replay/supplier7112/short-caller/signed_child.py": "ef03444360f02225138be9b38e2f9a85f313eeaa910d63a365de0f16d228cb8b", + "replay/supplier7112/short-caller/signed_model.py": "f88c798b9a22c656ea0b755b4f32be411c1f80687dff1a1ac9e9c2a0b5f4203e", + "replay/supplier7112/short-caller/stage.py": "0ab5546e926dd98d3ad833909b534840b7d8d0467c4790ca09bc2b14b37313f5", + "replay/supplier7112/short-caller/upstream_application.py": "d98987db98553dc55bfc80e3ca47abfcd51c57af6f8cda61101391d8eae94184", + "replay/supplier7112/short-caller/upstream_native_catalogue.py": "6120e1ea1e07eeba757694d209437a38f121b0a377cc466889a30fa52c561472" + }, + "source_head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "source_pr": 7636, + "status": "PASS_FRESH_SIGNED_CALLER_CONDITIONAL_COMPONENTS", + "targets": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 765, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10854 + } +} diff --git a/research/p104-180-contact-application/evidence/SIGNED-PRICE-OUTER.json b/research/p104-180-contact-application/evidence/SIGNED-PRICE-OUTER.json new file mode 100644 index 0000000000..b39e71d678 --- /dev/null +++ b/research/p104-180-contact-application/evidence/SIGNED-PRICE-OUTER.json @@ -0,0 +1,2550 @@ +{ + "claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "-2487754048592995794419259812299918749404673900827649574340999697593305/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "-4975508097185991588838519624599837498809347801655299148681999273468299/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "1074233164363386363609180087682670214864089176352068748469950729820038699/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "4296932657453545454436720350730680859456356705408274993879802919314516707/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "gate": { + "BIT_margin": "8533398133/100000000000000", + "BIT_pin": "376669/100000000", + "H": "14382900000000000000", + "alpha": [ + 0.9999999999999453, + 0.9999999999999453 + ], + "claim": "18406780093/5000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9084807458945034, + 0.9084807458945034 + ], + "derivative_upper": -377876.0817678484, + "gamma": [ + 0.9422540286240848, + 0.9422540286240848 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "18406780093/5000000000000": [ + "25109339335268063908744315601359728803922712389596259838495885238236797852701/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "125546696676340319543721578006798644019613561947981299192479426191183989265447/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "368135601867/100000000000000": [ + "31386674169656163142216718128430761681665842623012435160338808853430440713433/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62773348339312326284433436256861523363331685246024870320677617706860881427849/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2259, + "moment_margin_float": { + "368135601867/100000000000000": [ + 1.6097308213943986e-08, + 1.6097308213943986e-08 + ], + "36813560187/10000000000000": [ + 4.580728916550015e-09, + 4.580728916550015e-09 + ], + "9203390047/2500000000000": [ + -3.38078687414196e-08, + -3.38078687414196e-08 + ] + }, + "moment_margins": { + "368135601867/100000000000000": [ + "804865410697199259281673000287224208128455898668650667151416066289630729/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "201216352674299814820418250071806052032113974667162666787854016577261581/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36813560187/10000000000000": [ + "229036445827500755895121018569880524816579069298809488543308075770826101/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "458072891655001511790242037139761049633158138597618977086616151580243667/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9203390047/2500000000000": [ + "-1690393437070979901043168134671868291386163534997715230318591772989370219/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3380786874141959802086336269343736582772327069995430460637183545939959051/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36813560187/10000000000000", + "9203390047/2500000000000" + ], + "tested": "368135601867/100000000000000", + "written_log_power": 2260 + }, + "lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963186439813/10000000000000", + "new_minus_old": { + "lower": "-530412171477114082225888527174233608791743515609140353097396507184307/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-530412171477114082225888527174233608791743515609140353097396389239695/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451096190532341302851366162695897197293198521037176369990548115061623/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230993993451096190532341302851366162695897197293198521037176369990548115062243/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250160298617230461937580027496175996693980039140575879728790938970003/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974182250160298617230461937580027496175996693980039140575879728790938970877/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991205102328931001516240825847714185949449745450159900457377833495489/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460810624991205102328931001516240825847714185949449745450159900457377833496603/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413804588930047969370870300756578313262356642812203076393359428699979/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "575540297413804588930047969370870300756578313262356642812203076393359428701333/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667089025780410409219024063325227441150120887902346458041757876139941/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964667089025780410409219024063325227441150120887902346458041757876141809/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100324749045961875713365921570024320416379544987935363725882104067187/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "229818131775081187261490468928341480392506080104094886246983840931470526017327/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930540667700374752505672502334528315690487296101196400027835182414753/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1033733267722162670801499010022690009338113262761949184404785600111340729661371/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864921091510360727784414649089840728075050228816372066153338155012425/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "458464894932460545755180363892207324544920364037525114408186033076669077507225/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565259563156514080536137985091139489314483647260975831185200842179983/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565259563156514080536137985091139489314483647260975831185200842184247/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "171667902209159125940801953450702475767706952098211322889109294952181094043551/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "2746686435346546015052831255211239612283311233571381166225748719234897504702881/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018858771744068515369937292444658628227719818520604809703309190654193/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764075435086976274061479749169778634512910879274082419238813236762623019/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "914593023021966187960179964429562698912272458842243308440463637980221282357275/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1829186046043932375920359928859125397824544917684486616880927275960442564718561/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "943067216936421824104606176991602649576481527284441017911377397357363954188451/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "3772268867745687296418424707966410598305926109137764071645509589429455816762065/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "2284605050036333173044319140033250568825354691666681818863381771166284007763017/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4569210100072666346088638280066501137650709383333363637726763542332568015536041/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636433576709109061319887060096104557890917259699366456977042963983044919/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636433576709109061319887060096104557890917259699366456977042963983055181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182034143917039838358424772070550276039404413537412904056825941535740497/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182034143917039838358424772070550276039404413537412904056825941535752499/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "1398275554655360142678353172072912416690444442312981795552407798133170075906651/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2796551109310720285356706344145824833380888884625963591104815596266340151819423/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378447041871469459803746324577900116507745318781857304140414366631019111/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378447041871469459803746324577900116507745318781857304140414366631033101/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508744674875090146910336214212114909144350847750787943937630710925373581/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508744674875090146910336214212114909144350847750787943937630710925387717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "456131105678050964658582943948125296559953406098374410388434350163731448073501/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "7298097690848815434537327103170004744959254497573990566214949602619703169192005/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710696272012196634353555330390498350887700338941551405027602546998775737/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421392544024393268707110660780996701775400677883102810055205093997567475/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490545757478969106371806777634128875335561751438314941177644219889044249/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745272878739484553185903388817064437667780875719157470588822109944531081/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414061945444656921628827778305052625070756660756970839531362288597140217/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414061945444656921628827778305052625070756660756970839531362288597174133/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36813560187/10000000000000", + "logexp_bounds": [ + "458072891655001511790242037139761049633158138597618977086616151544001759/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "45807289165500151179024203713976104963315813859761897708661615157789411/10000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "probe": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "99631864398133/100000000000000", + "new_minus_old": { + "lower": "-1863940949189584915523336325922703685011856783686504280123914094438375/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-1863940949189584915523336325922703685011856783686504280123913968049679/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451100993917399910195173336790246654574473829165682637788829548635105/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "115496996725550496958699955097586668395123327287236914582841318894414774317885/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125085850680937959957216446924273960119035833884005149114293919328371/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "345974182250171701361875919914432893848547920238071667768010298228587838657679/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991224266904060085120125423873162546067633843117341753693892563628899/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230405312495612133452030042560062711936581273033816921558670876846946281815047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706916188910645855644613195115603599104180494517386769050634376712571/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "287770148706916188910645855644613195115603599104180494517386769050634376713297/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667136005439517078634888040799942487040378667492268324415751873020437/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166784001359879269658722010199985621760094666873067081103937968255609/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100382096250391200043604332569763341183807950581955864174250621905463/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100382096250391200043604332569763341183807950581955864174250621907731/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930557702781441622200539388462347932892609690871387044355534630114403/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "129216658465278851390720811100269694231173966446304845435693522177767315057517/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864997359586194686136763079274162218592721575039148588518563685449679/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1833859579729994719172389372273526158548324437185443150078297177037127370903695/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565425139628306230654292748137477980501706463917990846513139380752013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "121752561847839071226769139415893296758592373781356653994874427907071211297287/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435346807888573229802758585752557979357648555302417954398523039429333091/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673403944286614901379292876278989678824277651208977199261519714669799/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764075711334288790281811692958867836922563414737171403972159524250522571/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "715175441018927833572197570452923239716959230640853684292850993039881062632317/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829186046044122560192940180650404369838639323722439649498021502423890324069793/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1829186046044122560192940180650404369838639323722439649498021502423890324074095/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873041494708511725262682548823764074913800546160950525040538598095981/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3772268867746082989417023450525365097647528149827601092321901050081077196200823/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813643312563225452285891799492033933677181101737595400624167873446239/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "4569210100073172004046428946297075167490171755339590511206105639946743900570027/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "2341507318217049215239658081875686522804058904338156811753036259648516793956163/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1170753659108524607619829040937843261402029452169078405876518129824258396980829/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "2739686591017390134844940680163179545456703497528345317212155762728534359336761/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "5479373182034780269689881360326359090913406995056690634424311525457068718686377/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "5593102218622093591175727881471127358459180259682141202781985773205223452148131/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5593102218622093591175727881471127358459180259682141202781985773205223452161245/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689223906703827355380764809288549157174450115102898307270506407649817125/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3194487689223906703827355380764809288549157174450115102898307270506407649824619/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251320254372731795179370766013544156600747798545513760065090704478242832881701/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "50801878974573934299677668218961627446886684352273652501017042257472544263895/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298097690849725992588142482656572773271509199458224866318589858317817839534739/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "57016388209763484317094863145754474791183665620767381768113983268107951871499/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411707421393472204506510326856815312556772641691991115095894867701532508099631/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "926463427674184025563313790857101914069596580211498889386986858462691563514599/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490546828424174432827087107419754254053267248875575811884831626849663771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745273414212087216413543553709877127026633624437787905942415813424841495/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414064244863583867857236409824205819144528819987962351842197610470233747/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "7789389707032122431791933928618204912102909572264409993981175921098805235135047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "368135601867/100000000000000", + "logexp_bounds": [ + "804865410697199259281673000287224208128455898668650667151416066290811703/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "16097308213943985185633460005744484162569117973373013343028321326157307/1000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "public_low_B": { + "claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "-2487754048592995794419259812299918749404673900827649574340999697593305/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "-4975508097185991588838519624599837498809347801655299148681999273468299/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "1074233164363386363609180087682670214864089176352068748469950729820038699/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "4296932657453545454436720350730680859456356705408274993879802919314516707/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "gate": { + "BIT_margin": "8533398133/100000000000000", + "BIT_pin": "376669/100000000", + "H": "14382900000000000000", + "alpha": [ + 0.9999999999999453, + 0.9999999999999453 + ], + "claim": "18406780093/5000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9084807458945034, + 0.9084807458945034 + ], + "derivative_upper": -377876.0817678484, + "gamma": [ + 0.9422540286240848, + 0.9422540286240848 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "18406780093/5000000000000": [ + "25109339335268063908744315601359728803922712389596259838495885238236797852701/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "125546696676340319543721578006798644019613561947981299192479426191183989265447/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "368135601867/100000000000000": [ + "31386674169656163142216718128430761681665842623012435160338808853430440713433/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62773348339312326284433436256861523363331685246024870320677617706860881427849/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2259, + "moment_margin_float": { + "368135601867/100000000000000": [ + 1.6097308213943986e-08, + 1.6097308213943986e-08 + ], + "36813560187/10000000000000": [ + 4.580728916550015e-09, + 4.580728916550015e-09 + ], + "9203390047/2500000000000": [ + -3.38078687414196e-08, + -3.38078687414196e-08 + ] + }, + "moment_margins": { + "368135601867/100000000000000": [ + "804865410697199259281673000287224208128455898668650667151416066289630729/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "201216352674299814820418250071806052032113974667162666787854016577261581/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36813560187/10000000000000": [ + "229036445827500755895121018569880524816579069298809488543308075770826101/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "458072891655001511790242037139761049633158138597618977086616151580243667/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9203390047/2500000000000": [ + "-1690393437070979901043168134671868291386163534997715230318591772989370219/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3380786874141959802086336269343736582772327069995430460637183545939959051/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36813560187/10000000000000", + "9203390047/2500000000000" + ], + "tested": "368135601867/100000000000000", + "written_log_power": 2260 + }, + "lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963186439813/10000000000000", + "new_minus_old": { + "lower": "-530412171477114082225888527174233608791743515609140353097396507184307/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-530412171477114082225888527174233608791743515609140353097396389239695/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451096190532341302851366162695897197293198521037176369990548115061623/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230993993451096190532341302851366162695897197293198521037176369990548115062243/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250160298617230461937580027496175996693980039140575879728790938970003/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974182250160298617230461937580027496175996693980039140575879728790938970877/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991205102328931001516240825847714185949449745450159900457377833495489/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460810624991205102328931001516240825847714185949449745450159900457377833496603/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413804588930047969370870300756578313262356642812203076393359428699979/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "575540297413804588930047969370870300756578313262356642812203076393359428701333/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667089025780410409219024063325227441150120887902346458041757876139941/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964667089025780410409219024063325227441150120887902346458041757876141809/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100324749045961875713365921570024320416379544987935363725882104067187/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "229818131775081187261490468928341480392506080104094886246983840931470526017327/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930540667700374752505672502334528315690487296101196400027835182414753/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1033733267722162670801499010022690009338113262761949184404785600111340729661371/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864921091510360727784414649089840728075050228816372066153338155012425/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "458464894932460545755180363892207324544920364037525114408186033076669077507225/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565259563156514080536137985091139489314483647260975831185200842179983/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565259563156514080536137985091139489314483647260975831185200842184247/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "171667902209159125940801953450702475767706952098211322889109294952181094043551/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "2746686435346546015052831255211239612283311233571381166225748719234897504702881/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018858771744068515369937292444658628227719818520604809703309190654193/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764075435086976274061479749169778634512910879274082419238813236762623019/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "914593023021966187960179964429562698912272458842243308440463637980221282357275/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1829186046043932375920359928859125397824544917684486616880927275960442564718561/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "943067216936421824104606176991602649576481527284441017911377397357363954188451/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "3772268867745687296418424707966410598305926109137764071645509589429455816762065/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "2284605050036333173044319140033250568825354691666681818863381771166284007763017/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4569210100072666346088638280066501137650709383333363637726763542332568015536041/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636433576709109061319887060096104557890917259699366456977042963983044919/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636433576709109061319887060096104557890917259699366456977042963983055181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182034143917039838358424772070550276039404413537412904056825941535740497/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182034143917039838358424772070550276039404413537412904056825941535752499/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "1398275554655360142678353172072912416690444442312981795552407798133170075906651/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2796551109310720285356706344145824833380888884625963591104815596266340151819423/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378447041871469459803746324577900116507745318781857304140414366631019111/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378447041871469459803746324577900116507745318781857304140414366631033101/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508744674875090146910336214212114909144350847750787943937630710925373581/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508744674875090146910336214212114909144350847750787943937630710925387717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "456131105678050964658582943948125296559953406098374410388434350163731448073501/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "7298097690848815434537327103170004744959254497573990566214949602619703169192005/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710696272012196634353555330390498350887700338941551405027602546998775737/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421392544024393268707110660780996701775400677883102810055205093997567475/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490545757478969106371806777634128875335561751438314941177644219889044249/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745272878739484553185903388817064437667780875719157470588822109944531081/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414061945444656921628827778305052625070756660756970839531362288597140217/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414061945444656921628827778305052625070756660756970839531362288597174133/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36813560187/10000000000000", + "logexp_bounds": [ + "458072891655001511790242037139761049633158138597618977086616151544001759/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "45807289165500151179024203713976104963315813859761897708661615157789411/10000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "probe": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "99631864398133/100000000000000", + "new_minus_old": { + "lower": "-1863940949189584915523336325922703685011856783686504280123914094438375/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-1863940949189584915523336325922703685011856783686504280123913968049679/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451100993917399910195173336790246654574473829165682637788829548635105/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "115496996725550496958699955097586668395123327287236914582841318894414774317885/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125085850680937959957216446924273960119035833884005149114293919328371/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "345974182250171701361875919914432893848547920238071667768010298228587838657679/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991224266904060085120125423873162546067633843117341753693892563628899/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230405312495612133452030042560062711936581273033816921558670876846946281815047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706916188910645855644613195115603599104180494517386769050634376712571/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "287770148706916188910645855644613195115603599104180494517386769050634376713297/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667136005439517078634888040799942487040378667492268324415751873020437/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166784001359879269658722010199985621760094666873067081103937968255609/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100382096250391200043604332569763341183807950581955864174250621905463/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100382096250391200043604332569763341183807950581955864174250621907731/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930557702781441622200539388462347932892609690871387044355534630114403/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "129216658465278851390720811100269694231173966446304845435693522177767315057517/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864997359586194686136763079274162218592721575039148588518563685449679/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1833859579729994719172389372273526158548324437185443150078297177037127370903695/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565425139628306230654292748137477980501706463917990846513139380752013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "121752561847839071226769139415893296758592373781356653994874427907071211297287/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435346807888573229802758585752557979357648555302417954398523039429333091/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673403944286614901379292876278989678824277651208977199261519714669799/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764075711334288790281811692958867836922563414737171403972159524250522571/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "715175441018927833572197570452923239716959230640853684292850993039881062632317/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829186046044122560192940180650404369838639323722439649498021502423890324069793/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1829186046044122560192940180650404369838639323722439649498021502423890324074095/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873041494708511725262682548823764074913800546160950525040538598095981/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3772268867746082989417023450525365097647528149827601092321901050081077196200823/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813643312563225452285891799492033933677181101737595400624167873446239/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "4569210100073172004046428946297075167490171755339590511206105639946743900570027/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "2341507318217049215239658081875686522804058904338156811753036259648516793956163/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1170753659108524607619829040937843261402029452169078405876518129824258396980829/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "2739686591017390134844940680163179545456703497528345317212155762728534359336761/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "5479373182034780269689881360326359090913406995056690634424311525457068718686377/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "5593102218622093591175727881471127358459180259682141202781985773205223452148131/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5593102218622093591175727881471127358459180259682141202781985773205223452161245/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689223906703827355380764809288549157174450115102898307270506407649817125/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3194487689223906703827355380764809288549157174450115102898307270506407649824619/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251320254372731795179370766013544156600747798545513760065090704478242832881701/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "50801878974573934299677668218961627446886684352273652501017042257472544263895/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298097690849725992588142482656572773271509199458224866318589858317817839534739/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "57016388209763484317094863145754474791183665620767381768113983268107951871499/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411707421393472204506510326856815312556772641691991115095894867701532508099631/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "926463427674184025563313790857101914069596580211498889386986858462691563514599/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490546828424174432827087107419754254053267248875575811884831626849663771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745273414212087216413543553709877127026633624437787905942415813424841495/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414064244863583867857236409824205819144528819987962351842197610470233747/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "7789389707032122431791933928618204912102909572264409993981175921098805235135047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "368135601867/100000000000000", + "logexp_bounds": [ + "804865410697199259281673000287224208128455898668650667151416066290811703/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "16097308213943985185633460005744484162569117973373013343028321326157307/1000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_at_claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "7145959412059467016591730725962927028618388580906617191762209458699072817045/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "14291918824118934033183461451925854057236777161813234383524418917398267341725/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "-308568549852045771492235998695077252360204012733549308747097009341152129671763/2500000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3085685498520457714922359986950772523602040127335493087470970093411521288127267/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963189654743/10000000000000", + "new_minus_old": { + "lower": "-2428602406757807441804730145969742991104780072582840411999532860817933/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-2428602406757807441804730145969742991104780072582840411999532733543395/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115497022463128840419862943811668375076942514553623223735938143158927875445431/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "230994044926257680839725887623336750153885029107246447471876286317855750891533/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "345974304446934688403762773699204932784332479221628059385297306486954330817055/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974304446934688403762773699204932784332479221628059385297306486954330817999/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "460810830367142601181550979063047625827136085229198193110551708198538392127959/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "115202707591785650295387744765761906456784021307299548277637927049634598032291/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "71942574401460256683233475733029441024735213275805999073652262479320827391617/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "575540595211682053465867805864235528197881706206447992589218099834566619134401/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804759468121631344795977512406278622666160085330046987315967723769497361496233/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "402379734060815672397988756203139311333080042665023493657983861884748680749127/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919273141658023292765259354095206408049533005005952380274797833252837624001253/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919273141658023292765259354095206408049533005005952380274797833252837624003547/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433499485915726582280538792502140782157368891708893423275633856257544178167/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1033733997943662906329122155170008563128629475566835573693102535425030176715203/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "1833861214374070989965026275335869899351435639230788926917087574695705316294193/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "916930607187035494982513137667934949675717819615394463458543787347852658149283/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948042763955289200987725849226688309599373238244277966036367032590507036715525/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948042763955289200987725849226688309599373238244277966036367032590507036720139/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746689241698102786663418752689463214885192722522963470255568171615444220111419/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "2746689241698102786663418752689463214885192722522963470255568171615444220117967/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "178794045278929684485062063395769440651035805844202249365721609916831195883737/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "178794045278929684485062063395769440651035805844202249365721609916831195884159/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829188084142145964901217841670804906247819401029228338510662901052286787039045/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1829188084142145964901217841670804906247819401029228338510662901052286787043381/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772273108165710579744449806738104881336099363674989725206894856582690182231135/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772273108165710579744449806738104881336099363674989725206894856582690182240057/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569215518925673719751165616872264541341970849646360904347613874609008874661065/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "17848498120803412967777990690907283364617073631431097282607866697691440916687/452312848583266388373324160190187140051835877600158453279131187530910662656", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585377528428649641145599861324947140680820793814999204314122912924632347199791/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "4683020227429197129164798890599577125446566350519993634512983303397058777609411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "171230625045910568854013447767184355086917683917461956470653968552808428340761/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "5479380001469138203328430328549899362781365885358782607060926993689869706917313/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796554608338034115547354908471027117909077934443870542266754804532680605851987/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1398277304169017057773677454235513558954538967221935271133377402266340302929297/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "798622955821060668321025185648315177041423166032287479920064820405188187956573/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3194491823284242673284100742593260708165692664129149919680259281620752751833845/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251324480482381450586076272483246743343432586232333354454658881038578509712617/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1625662240241190725293038136241623371671716293116166677227329440519289254860125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298107448789986561834083607562201807664050396107533988364330227805861745134411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1824526862197496640458520901890550451916012599026883497091082556951465436287919/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705858684089761688204968051314512848968925816708957301577093369119060598571393/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3705858684089761688204968051314512848968925816708957301577093369119060598580039/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320372967266569233135187964832002520377206385690192686349560229550052580078575/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160186483633284616567593982416001260188603192845096343174780114775026290048965/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "1947350506956383718546053832070701174529986606915430599375697973972418983547243/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "7789402027825534874184215328282804698119946427661722397502791895889675934207281/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36810345257/10000000000000", + "logexp_bounds": [ + "1048690986903423228708881829520016203801600174252530225400967663531413143/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "262172746725855807177220457380004050950400043563132556350241915887099251/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981594827371/5000000000000", + "new_minus_old": { + "lower": "2016886350082244115711348589842424215733516256212208805458998498301913/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "504221587520561028927837147460606053933379064053052201364749653359967/28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115497022463120834776314605446553479411593454566115891744560991133192095677071/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "230994044926241669552629210893106958823186909132231783489121982266384191354751/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "345974304446896679241519895359232713780162454055049459836896684013933391687365/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974304446896679241519895359232713780162454055049459836896684013933391688215/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "460810830367078719235982889066674752136430978808843016205943444786747462721257/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460810830367078719235982889066674752136430978808843016205943444786747462722339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "35971287200724338986278747275206885776760117255604884092303072852057105001893/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "287770297605794711890229978201655086214080938044839072738424582816456840015807/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804759468121474745834320903812026899206058570068721753918462340360309814798843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "25148733378796085807322528244125840600189330314647554809951948136259681712521/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "459636570828916067644683975677098232281523044606661574174976122473186753587815/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "919273141657832135289367951354196464563046089213323148349952244946373507177703/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "1033733997943435771754451195622697278567473748873899950272518600219147188249777/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "516866998971717885877225597811348639283736874436949975136259300109573594126039/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916930607186781267836456847959915848523398071196847068081414924795729750224153/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "916930607186781267836456847959915848523398071196847068081414924795729750226125/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948042763954737278912362899521141193616838139871984730972487127111754017719835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "974021381977368639456181449760570596808419069935992365486243563555877008861999/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746689241697229874036883476422122072327624633102284182441507520079529503742081/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "2746689241697229874036883476422122072327624633102284182441507520079529503748007/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715176181115488531608256795744538061083040259975064432125212047747647739231753/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "715176181115488531608256795744538061083040259975064432125212047747647739233277/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "228648510517689002077449932910554054921016766523427580239148738085205795195657/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "914594042070756008309799731642216219684067066093710320956594952340823180784587/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772273108164391601599788230455885679825163616630103430841315874020607994664385/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "943068277041097900399947057613971419956290904157525857710328968505151998668113/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569215518923988191226247581211735757525088821547067339401788744564947370671159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4569215518923988191226247581211735757525088821547067339401788744564947370680927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683020227427458055854359981393928697347962249956743839782293520593454135900305/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683020227427458055854359981393928697347962249956743839782293520593454135910317/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479380001467017025188347158255568965661199091476846070780540974018957674928367/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "342461250091688564074271697390973060353824943217302879423783810876184854683755/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "1398277304168472873374202321400263486731516148126525383366450168349463785585019/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "5593109216673891493496809285601053946926064592506101533465800673397855142352025/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194491823282956777977911317821290247505525347481129610405009477763472795419443/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3194491823282956777977911317821290247505525347481129610405009477763472795426271/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251324480481066923429780957975039004178864082978942991959855351225905536753235/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1625662240240533461714890478987519502089432041489471495979927675612952768380067/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649053724393475682136576424967551842219890617783806484358547250721425672990551/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7298107448786951364273152849935103684439781235567612968717094501442851345996705/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411717368176429438546957448672007577427658659398721965518350095753467132832523/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3705858684088214719273478724336003788713829329699360982759175047876733566424069/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "4160186483631499705430030130046990091626591487016803738347710507669914143870309/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4160186483631499705430030130046990091626591487016803738347710507669914143879047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "1947350506955425625811041354043011306202018159205275975255599174310006239117507/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "15578804055643405006488330832344090449616145273642207802044793394480049912973165/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18405172629/5000000000000", + "logexp_bounds": [ + "-21772713094724352964650617764148156474424303068015633133301255909999327/1250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-435454261894487059293012355282963129488486061360312662666025118191458019/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "2490796609953/2500000000000", + "new_minus_old": { + "lower": "489335469278741358183650564303266513687855500242720705397900062819635/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "upper": "3914683754229930865469204514426132109502844001941765643183200629091191/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "7218562295346255601525394138335115353963340931710819517857628720098258833551/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "230993993451080179248812612426723691326826909814746224571444119043144282674301/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250122289468412271395629474597823155017617075133823312966733513664699/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "172987091125061144734206135697814737298911577508808537566911656483366756832819/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "230405312495570610205917030963151513307892702610037541839837880702962943662705/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "28800664061946326275739628870393939163486587826254692729979735087870367957913/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413711959292568839333323943480903771757679547326171201843641134491045/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "71942537176713994911571104916665492935112971469709943415771400230455141811563/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964666932426916721530973419820287192662360647772941522532125656328774013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964666932426916721530973419820287192662360647772941522532125656328776015/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100133591697864153783439042636463201607814004960007486217448707010167/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100133591697864153783439042636463201607814004960007486217448707012439/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "516866633860967768193637056598521909199992386845642833440546551715333471193707/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "258433316930483884096818528299260954599996193422821416720273275857666735597485/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466166716147728561439897012176380059834110028461877853325995313580063/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579729333729181828491519176097411040478672880227695022826607962508644843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "974020494782353820791936840891770232983451163695393483912015638288552534629417/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1948040989564707641583873681783540465966902327390786967824031276577105069263411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435345673103318169610373850468028512326231258441208696529769069139565857/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "686671608836418275829542402593462617007128081557814610302174132442267284893091/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018628565650305046591964748458299551179772588638733593616839733052211/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764074514262601220186367858993833198204719090354554934374467358932215543/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092086596856690185131398724354849410322343288076567772286063514491107457/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3658372092086596856690185131398724354849410322343288076567772286063514491116063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772268867744368319756429199204333951427631149689988631096060305126818391097211/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772268867744368319756429199204333951427631149689988631096060305126818391106073/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569210100070980819562669796782025487155501026932512373295919568962289106748525/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "571151262508872602445333724597753185894437628366564046661989946120286138344907/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636431837637874878926786830153601114304171505058163374573842578388687283/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636431837637874878926786830153601114304171505058163374573842578388698277/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182032022741539695552500103466343899299020437145180066709582026450981555/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182032022741539695552500103466343899299020437145180066709582026450994411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "174784444331851994869969664427240216572606005184559173883085074062534554926313/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "2796551109309631917919514630835843465161696082952946782129361185000552878827563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689222235042092645308685658464590919752439520693672641013416212564172933/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "6388975378444470084185290617371316929181839504879041387345282026832425128360861/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508742045824194832195610158316309020954981678538552657898799150640141181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508742045824194832195610158316309020954981678538552657898799150640156337/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649048845422890120517304996022040336806271911433940317454129203655213590248897/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7298097690845780241034609992044080673612543822867880634908258407310427180514927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "1852926855347362522670616036862462400246401489399525324037340932784670978124699/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "7411707421389450090682464147449849600985605957598101296149363731138683912515961/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490542187661618019183089187896737211616561523461415728940190817042195063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490542187661618019183089187896737211616561523461415728940190817042214281/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "7789389707027140357450218325985039902265168535102871182449216230837778611032595/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "15578779414054280714900436651970079804530337070205742364898432461675557222101539/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "9203390047/2500000000000", + "logexp_bounds": [ + "-676157374828391960417267253868747316554465413999086092127436709195282097/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-845196718535489950521584067335934145693081767498857615159295886485572251/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + } + }, + "source_at_claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "14047113137015227540426474009602952320305236804736968944044646169739621731823/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "28094226274030455080852948019205904640610473609473937888089292339479365166793/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67789 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15232 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "-24262647352748997795757242248611366630915188484076615584667893970621299267589623/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-758207729773406181117413820269105207216099640127394237020871686581915601038383/3125000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963192758999/10000000000000", + "new_minus_old": { + "lower": "-2101945261400241323468138822490027640432399303016600661567705144185653/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-1050972630700120661734069411245013820216199651508300330783852514615211/57896044618658097711785492504343953926634992332820282019728792003956564819968" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67789 + }, + { + "power_lower": "115497047314698532875234610420964955510930103353647828683005774560479403587575/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115497047314698532875234610420964955510930103353647828683005774560479403587877/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15232 + }, + { + "power_lower": "345974422437124755370221418328020798127125271430796320581446294804107834905823/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974422437124755370221418328020798127125271430796320581446294804107834906677/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "230405514336549046113137670549349363875940121238535444505388658142554565739491/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "460811028673098092226275341098698727751880242477070889010777316285109131480067/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "575540882758010589527663327731699109910440056908233591801968728069001103488357/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "143885220689502647381915831932924777477610014227058397950492182017250275872419/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "100594994280630560632408156383174077984039853339633216322783126029276737756529/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "402379977122522242529632625532696311936159413358532865291132504117106951027027/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "459636867529978148774894224021017253320420368815792142524323371573998003725993/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "459636867529978148774894224021017253320420368815792142524323371573998003727031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "1033734703027769596189082208286051307924198147767932289250149532946724622984975/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1033734703027769596189082208286051307924198147767932289250149532946724622987267/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916931396373518622661462618427116678476515458940956317418966391788955584715027/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1833862792747037245322925236854233356953030917881912634837932783577911169433997/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "487011119315864151986955185411610963594592002808766428454302237311629899403549/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "487011119315864151986955185411610963594592002808766428454302237311629899404591/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "686672987860924458382556396976294536797733715794250411632459073476090788202421/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "171668246965231114595639099244073634199433428948562602908114768369022697050975/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860707582941852368650527108213813153256839295123385214134921064187453927018441/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "715176895735463092162631777053453288314209823780846303533730266046863481756133/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829190052080961475177186243938315376313046052046195917270155326958665196076215/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3658380104161922950354372487876630752626092104092391834540310653917330392160269/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772277202613752082749634707728207558377478300425222426231645294452704723176933/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772277202613752082749634707728207558377478300425222426231645294452704723184997/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569220751240706189249931293550429938079341950997799147357747008873197073180077/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4569220751240706189249931293550429938079341950997799147357747008873197073189843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683025625961067180354464708457739136957747053129969517817213540103203093233889/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683025625961067180354464708457739136957747053129969517817213540103203093243899/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "2739693293076531549337438689117320918370015638652042803769955135558438972264503/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2739693293076531549337438689117320918370015638652042803769955135558438972270359/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "5593115973830898669046317086725254694664330558974845669607226845730686955187719/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5593115973830898669046317086725254694664330558974845669607226845730686955199653/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388991630069912548630345376471287338389039294918787350574920404501192107629855/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3194495815034956274315172688235643669194519647459393675287460202250596053821757/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502657122227508551293143046627351902889571567015891492634735629179937425898087/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502657122227508551293143046627351902889571567015891492634735629179937425911875/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649058435413154151805867167679838971237446572457348359949474701171063986956707/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1824529217706577075902933583839919485618723286228674179974737350585531993482255/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411726972560921010552742975629906150643641397787084158253749278451547671665593/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "7411726972560921010552742975629906150643641397787084158253749278451547671681207/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "1040048006114520672802191672655790136395584408995799687372187578615856642004603/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "4160192024458082691208766690623160545582337635983198749488750314463426568027151/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "7789413924495104570898846929737928026251863810124532605699893078128291471063179/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3894706962247552285449423464868964013125931905062266302849946539064145735539867/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36807241001/10000000000000", + "logexp_bounds": [ + "1815275357103453681994268727711401162822646785334757900054671669820966597/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "453818839275863420498567181927850290705661696333689475013667917463759683/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981596379499/5000000000000", + "new_minus_old": { + "lower": "2343923148438529131267754705733166208865715482942153322785989258550929/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "2343923148438529131267754705733166208865715482942153322785989382969573/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67789 + }, + { + "power_lower": "57748523657345263614981846254684338371444021764042535014375987243472005353249/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "230994094629381054459927385018737353485776087056170140057503948973888021413653/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15232 + }, + { + "power_lower": "172987211218543373097507996356531881390613824983143607733196244165088656946749/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "86493605609271686548753998178265940695306912491571803866598122082544328473605/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460811028673034210253216208314955028484627965982764688847460370970992207797777/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460811028673034210253216208314955028484627965982764688847460370970992207798955/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "17985652586184936243624271312439392190661159589818865055515580630928909953449/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "575540882757917959795976681998060550101157106874203681776498580189725118511801/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "402379977122443943001506697069422682811820868625273933597523802916968746100801/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "804759954244887886003013394138845365623641737250547867195047605833937492203573/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919273735059765139950502582260711007182703312149343550034918009841772822172853/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919273735059765139950502582260711007182703312149343550034918009841772822175095/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "516867351513771230729744217953972853482640065576544847801674348152521538436613/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "516867351513771230729744217953972853482640065576544847801674348152521538437851/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916931396373264395296597374432740105381834236662178321229162523016491796575257/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1833862792746528790593194748865480210763668473324356642458325046032983593154793/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "243505559657863085673380129462896929247726088785840741126113229545894430678533/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1948044477262904685387041035703175433981808710286725929008905836367155445432773/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "686672987860706230010629643719314256907132186145193100783540899944048043979669/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "85834123482588278751328705464914282113391523268149137597942612493006005497659/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860707582940931542402452389229682304950804037525268091867123580061870995897653/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430353791470465771201226194614841152475402018762634045933561790030935497952121/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829190052080327526213532244809348018457808791888758588438302369030332712638681/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "914595026040163763106766122404674009228904395944379294219151184515166356321461/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "235767325163277068948334142358221924350181054927801749696215923065809140773167/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "3772277202612433103173346277731550789602896878844827995139454769052946252379401/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "2284610375619510329397437657908717202859084900855336964411681674020909634630499/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4569220751239020658794875315817434405718169801710673928823363348041819269271563/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683025625959328105039242083868956148444448730136397458814851194216766419833735/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683025625959328105039242083868956148444448730136397458814851194216766419844569/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "2739693293075470958992865350642212212426237270234162655415582852089200572643825/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2739693293075470958992865350642212212426237270234162655415582852089200572650157/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "5593115973828721928818653322727297191241192121825768834188930713814227900883575/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5593115973828721928818653322727297191241192121825768834188930713814227900896499/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388991630067340754804326430130563441037526495793819842625077112323393615380003/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388991630067340754804326430130563441037526495793819842625077112323393615394775/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502657122224879493680912048518443108380978135255818966957689238329933560502665/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502657122224879493680912048518443108380978135255818966957689238329933560517597/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298116870823273102132288830804168105301010594102981512192415343369712020995909/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "456132304426454568883268051925260506581313162131436344512025958960607001313299/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411726972557827068680523577523081550575962712213536748293827231976359173983263/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "7411726972557827068680523577523081550575962712213536748293827231976359174000167/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320384048912595555387868863179624293404385409888526533463739184485305990314785/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320384048912595555387868863179624293404385409888526533463739184485305990333713/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "3894706962245636097052829140624918084614202494235071494143222147211294111408613/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "15578827848982544388211316562499672338456809976940285976572888588845176445670265/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18403620501/5000000000000", + "logexp_bounds": [ + "-2024251539010279357759472576912041030651521193110714742537064359547060339/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-80970061560411174310378903076481641226060847724428589701482574380529057/4000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "2490796609953/2500000000000", + "new_minus_old": { + "lower": "489335469278741358183650564303266513687855500242720705397900062819635/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "upper": "3914683754229930865469204514426132109502844001941765643183200629091191/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "7218562295346255601525394138335115353963340931710819517857628720098258833551/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "230993993451080179248812612426723691326826909814746224571444119043144282674301/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250122289468412271395629474597823155017617075133823312966733513664699/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "172987091125061144734206135697814737298911577508808537566911656483366756832819/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "230405312495570610205917030963151513307892702610037541839837880702962943662705/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "28800664061946326275739628870393939163486587826254692729979735087870367957913/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413711959292568839333323943480903771757679547326171201843641134491045/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "71942537176713994911571104916665492935112971469709943415771400230455141811563/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964666932426916721530973419820287192662360647772941522532125656328774013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964666932426916721530973419820287192662360647772941522532125656328776015/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100133591697864153783439042636463201607814004960007486217448707010167/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100133591697864153783439042636463201607814004960007486217448707012439/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "516866633860967768193637056598521909199992386845642833440546551715333471193707/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "258433316930483884096818528299260954599996193422821416720273275857666735597485/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466166716147728561439897012176380059834110028461877853325995313580063/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579729333729181828491519176097411040478672880227695022826607962508644843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "974020494782353820791936840891770232983451163695393483912015638288552534629417/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1948040989564707641583873681783540465966902327390786967824031276577105069263411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435345673103318169610373850468028512326231258441208696529769069139565857/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "686671608836418275829542402593462617007128081557814610302174132442267284893091/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018628565650305046591964748458299551179772588638733593616839733052211/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764074514262601220186367858993833198204719090354554934374467358932215543/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092086596856690185131398724354849410322343288076567772286063514491107457/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3658372092086596856690185131398724354849410322343288076567772286063514491116063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772268867744368319756429199204333951427631149689988631096060305126818391097211/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772268867744368319756429199204333951427631149689988631096060305126818391106073/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569210100070980819562669796782025487155501026932512373295919568962289106748525/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "571151262508872602445333724597753185894437628366564046661989946120286138344907/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636431837637874878926786830153601114304171505058163374573842578388687283/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636431837637874878926786830153601114304171505058163374573842578388698277/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182032022741539695552500103466343899299020437145180066709582026450981555/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182032022741539695552500103466343899299020437145180066709582026450994411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "174784444331851994869969664427240216572606005184559173883085074062534554926313/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "2796551109309631917919514630835843465161696082952946782129361185000552878827563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689222235042092645308685658464590919752439520693672641013416212564172933/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "6388975378444470084185290617371316929181839504879041387345282026832425128360861/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508742045824194832195610158316309020954981678538552657898799150640141181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508742045824194832195610158316309020954981678538552657898799150640156337/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649048845422890120517304996022040336806271911433940317454129203655213590248897/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7298097690845780241034609992044080673612543822867880634908258407310427180514927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "1852926855347362522670616036862462400246401489399525324037340932784670978124699/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "7411707421389450090682464147449849600985605957598101296149363731138683912515961/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490542187661618019183089187896737211616561523461415728940190817042195063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490542187661618019183089187896737211616561523461415728940190817042214281/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "7789389707027140357450218325985039902265168535102871182449216230837778611032595/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "15578779414054280714900436651970079804530337070205742364898432461675557222101539/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "9203390047/2500000000000", + "logexp_bounds": [ + "-676157374828391960417267253868747316554465413999086092127436709195282097/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-845196718535489950521584067335934145693081767498857615159295886485572251/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + } +} diff --git a/research/p104-180-contact-application/evidence/SIGNED-RESULT.json b/research/p104-180-contact-application/evidence/SIGNED-RESULT.json new file mode 100644 index 0000000000..3405db3ac8 --- /dev/null +++ b/research/p104-180-contact-application/evidence/SIGNED-RESULT.json @@ -0,0 +1,1603 @@ +{ + "assembly_sha256": "3e4a60493e06fd6f8bab7bbd0e2269354d7335372e745635c95bf622b4086ce8", + "assumptions": [ + "native_all_columns", + "owned_erasure", + "compiler", + "precision_tape", + "analytic_recovery" + ], + "birth_roles": { + "457": { + "distinct_owners_bound": 17, + "frame": 281 + }, + "461": { + "distinct_owners_bound": 17, + "frame": 285 + } + }, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "candidate_canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "candidate_gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "catalogue_boundary_pairs": 104, + "catalogue_common_with_source": 3074, + "catalogue_new_to_source": [ + [ + 748, + 1072 + ] + ], + "catalogue_size": 3075, + "clear_lifetimes": 180, + "controls": { + "absolute_phase_rejections": 4, + "aliased_main_rejected": true, + "fixed_tape": { + "cases": [ + { + "case": "positive", + "returncode": 0, + "stderr_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "stdout_sha256": "a56434bab6adcf54d1529f31dc75999c2fb408c02f411aa307d949c9f70cc723" + }, + { + "case": "candidate_hash", + "returncode": 1, + "stderr_sha256": "d42a9f055a0037c2ee1b7cb64eaaa927447030a70dc3ca092e40571030eb64b9", + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "caller_hash", + "returncode": 1, + "stderr_sha256": "5649a550a09bfdc4469767bc2207f3fefdc1e81900100b14ddf942ec1f049751", + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "outer_strict", + "returncode": 1, + "stderr_sha256": "e6edd8a3e0821d53e4b5d8d9638e1957ef88d39d06f7066e3a8880021bf28e02", + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "outer_functional", + "returncode": 1, + "stderr_sha256": "fd522a63de5ce818d1614311550853c168e3e836702e71e16b8c3c4e030ce739", + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "paid_positions", + "returncode": 1, + "stderr_sha256": "eb46493339ca344ebfbc56bb47efc1820c3d1e8b0ecbe15115f85f972ebe2e01", + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "precision_cap", + "returncode": 1, + "stderr_sha256": "55745a60fa3c37f4b493e91ba081c6c65a0a7d4c2f07616e642db28714eeb0fd", + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + }, + { + "case": "scalar_width", + "returncode": 1, + "stderr_sha256": "4079fa723b8924b6d521b49ed06e973b1e84af5c0ca6a9cadf0221c284c5a48b", + "stdout_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" + } + ], + "positive": 1, + "rejecting": 7, + "scope": "Synthetic local guard coverage on retained fixed-tape counter; no new physical run, native provider, supplier or actual-tape proof.", + "status": "PASS_SYNTHETIC_FIXED_TAPE_GUARD_CONTROLS" + }, + "lower_crossing_probe_rejected": true, + "native_receipt_mutations": [ + "stage", + "exit", + "run_id", + "candidate_canonical_sha256", + "native_result_sha256", + "adapter_sha256", + "launcher_sha256", + "native_status", + "native_word" + ] + }, + "fixed_tape": { + "H": 14382900000000000000, + "Kstar_bits": 14073, + "actual_ambient": 145, + "caller_odd_scale": 675, + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "common_grid": { + "fractional": "p+D", + "signed_width": "p+h+2D+3", + "temp_padding": 26 + }, + "compiler_ambient_cap": 153, + "context_bound_bits": 14084, + "context_c": 2164, + "elementary_records_per_map_upper": 85264, + "elementary_records_upper": 25323919584, + "log_power": 2260, + "max_scalar_numerator_bits": 24, + "monomial_map_slots": 297006, + "native_invocations": 17, + "native_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "owned_banks_per_raw_occurrence": 1156, + "scalar_macro_inputs": { + "caller": 117856, + "conversions": 58522, + "native": 3339497 + }, + "scalar_services_upper": 112508000, + "scalar_steps_coefficient": 117973188608000, + "scope": "Exact finite-cost and common-format substitutions in the selected #7000 conditional application proof, using the conservative primitive movement and scalar constants there. The premise is the complete signed native/physical binding and retained compiler, BIT, stock, and outer contracts. This script counts the raw occurrence, not an enumerated top-level compiled multiplier.", + "tested_claim": "18406780093/5000000000000" + }, + "ordinary": { + "extra_charge_with_possible_overlap": 5307536, + "extra_sites": 51034, + "model_margin": 131558908, + "model_total": 868441092, + "native_scale": 54675, + "retained": 863133556 + }, + "paid": { + "1": 68044, + "16": 416, + "2": 15606, + "24": 416, + "3": 10846, + "32": 416, + "4": 4607, + "40": 416, + "48": 416, + "5": 6035, + "56": 416, + "6": 765, + "64": 208, + "7": 221, + "8": 758, + "9": 32 + }, + "price_outer": { + "BIT_margin": "8533398133/100000000000000", + "BIT_pin": "376669/100000000", + "H": "14382900000000000000", + "alpha": [ + 0.9999999999999453, + 0.9999999999999453 + ], + "claim": "18406780093/5000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9084807458945034, + 0.9084807458945034 + ], + "derivative_upper": -377876.0817678484, + "gamma": [ + 0.9422540286240848, + 0.9422540286240848 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "18406780093/5000000000000": [ + "25109339335268063908744315601359728803922712389596259838495885238236797852701/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "125546696676340319543721578006798644019613561947981299192479426191183989265447/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "368135601867/100000000000000": [ + "31386674169656163142216718128430761681665842623012435160338808853430440713433/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62773348339312326284433436256861523363331685246024870320677617706860881427849/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2259, + "moment_margin_float": { + "368135601867/100000000000000": [ + 1.6097308213943986e-08, + 1.6097308213943986e-08 + ], + "36813560187/10000000000000": [ + 4.580728916550015e-09, + 4.580728916550015e-09 + ], + "9203390047/2500000000000": [ + -3.38078687414196e-08, + -3.38078687414196e-08 + ] + }, + "moment_margins": { + "368135601867/100000000000000": [ + "804865410697199259281673000287224208128455898668650667151416066289630729/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "201216352674299814820418250071806052032113974667162666787854016577261581/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36813560187/10000000000000": [ + "229036445827500755895121018569880524816579069298809488543308075770826101/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "458072891655001511790242037139761049633158138597618977086616151580243667/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9203390047/2500000000000": [ + "-1690393437070979901043168134671868291386163534997715230318591772989370219/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3380786874141959802086336269343736582772327069995430460637183545939959051/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36813560187/10000000000000", + "9203390047/2500000000000" + ], + "tested": "368135601867/100000000000000", + "written_log_power": 2260 + }, + "public_low_B_comparison": { + "claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "-2487754048592995794419259812299918749404673900827649574340999697593305/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "-4975508097185991588838519624599837498809347801655299148681999273468299/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "1074233164363386363609180087682670214864089176352068748469950729820038699/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "4296932657453545454436720350730680859456356705408274993879802919314516707/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "gate": { + "BIT_margin": "8533398133/100000000000000", + "BIT_pin": "376669/100000000", + "H": "14382900000000000000", + "alpha": [ + 0.9999999999999453, + 0.9999999999999453 + ], + "claim": "18406780093/5000000000000", + "compiler_gap": "1/100000000000000", + "delta": [ + 0.9084807458945034, + 0.9084807458945034 + ], + "derivative_upper": -377876.0817678484, + "gamma": [ + 0.9422540286240848, + 0.9422540286240848 + ], + "input_lift": { + "derivative_upper_on_required_interval": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "interval_kappa_cap": "376669/100000000", + "margins": { + "18406780093/5000000000000": [ + "25109339335268063908744315601359728803922712389596259838495885238236797852701/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "125546696676340319543721578006798644019613561947981299192479426191183989265447/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "368135601867/100000000000000": [ + "31386674169656163142216718128430761681665842623012435160338808853430440713433/25000000000000000000000000000000000000000000000000000000000000000000000000000000", + "62773348339312326284433436256861523363331685246024870320677617706860881427849/50000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_BIT_wide_crude_bound_would_be": "-2299831290525933154178526076272396899996972093654613095735772838275432653960006518819/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000" + }, + "minimum_log_power": 2259, + "moment_margin_float": { + "368135601867/100000000000000": [ + 1.6097308213943986e-08, + 1.6097308213943986e-08 + ], + "36813560187/10000000000000": [ + 4.580728916550015e-09, + 4.580728916550015e-09 + ], + "9203390047/2500000000000": [ + -3.38078687414196e-08, + -3.38078687414196e-08 + ] + }, + "moment_margins": { + "368135601867/100000000000000": [ + "804865410697199259281673000287224208128455898668650667151416066289630729/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "201216352674299814820418250071806052032113974667162666787854016577261581/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "36813560187/10000000000000": [ + "229036445827500755895121018569880524816579069298809488543308075770826101/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "458072891655001511790242037139761049633158138597618977086616151580243667/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ], + "9203390047/2500000000000": [ + "-1690393437070979901043168134671868291386163534997715230318591772989370219/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3380786874141959802086336269343736582772327069995430460637183545939959051/100000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "outer": { + "BIT_just_below_effective_rejected": true, + "functional_count": 4, + "minimum_margin": "1/1000000000000000", + "strict_count": 54 + }, + "raw_bracket": [ + "36813560187/10000000000000", + "9203390047/2500000000000" + ], + "tested": "368135601867/100000000000000", + "written_log_power": 2260 + }, + "lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963186439813/10000000000000", + "new_minus_old": { + "lower": "-530412171477114082225888527174233608791743515609140353097396507184307/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-530412171477114082225888527174233608791743515609140353097396389239695/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451096190532341302851366162695897197293198521037176369990548115061623/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230993993451096190532341302851366162695897197293198521037176369990548115062243/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250160298617230461937580027496175996693980039140575879728790938970003/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974182250160298617230461937580027496175996693980039140575879728790938970877/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991205102328931001516240825847714185949449745450159900457377833495489/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460810624991205102328931001516240825847714185949449745450159900457377833496603/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413804588930047969370870300756578313262356642812203076393359428699979/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "575540297413804588930047969370870300756578313262356642812203076393359428701333/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667089025780410409219024063325227441150120887902346458041757876139941/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964667089025780410409219024063325227441150120887902346458041757876141809/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100324749045961875713365921570024320416379544987935363725882104067187/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "229818131775081187261490468928341480392506080104094886246983840931470526017327/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930540667700374752505672502334528315690487296101196400027835182414753/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1033733267722162670801499010022690009338113262761949184404785600111340729661371/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864921091510360727784414649089840728075050228816372066153338155012425/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "458464894932460545755180363892207324544920364037525114408186033076669077507225/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565259563156514080536137985091139489314483647260975831185200842179983/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565259563156514080536137985091139489314483647260975831185200842184247/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "171667902209159125940801953450702475767706952098211322889109294952181094043551/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "2746686435346546015052831255211239612283311233571381166225748719234897504702881/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018858771744068515369937292444658628227719818520604809703309190654193/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764075435086976274061479749169778634512910879274082419238813236762623019/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "914593023021966187960179964429562698912272458842243308440463637980221282357275/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1829186046043932375920359928859125397824544917684486616880927275960442564718561/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "943067216936421824104606176991602649576481527284441017911377397357363954188451/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "3772268867745687296418424707966410598305926109137764071645509589429455816762065/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "2284605050036333173044319140033250568825354691666681818863381771166284007763017/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4569210100072666346088638280066501137650709383333363637726763542332568015536041/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636433576709109061319887060096104557890917259699366456977042963983044919/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636433576709109061319887060096104557890917259699366456977042963983055181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182034143917039838358424772070550276039404413537412904056825941535740497/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182034143917039838358424772070550276039404413537412904056825941535752499/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "1398275554655360142678353172072912416690444442312981795552407798133170075906651/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2796551109310720285356706344145824833380888884625963591104815596266340151819423/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378447041871469459803746324577900116507745318781857304140414366631019111/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378447041871469459803746324577900116507745318781857304140414366631033101/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508744674875090146910336214212114909144350847750787943937630710925373581/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508744674875090146910336214212114909144350847750787943937630710925387717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "456131105678050964658582943948125296559953406098374410388434350163731448073501/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "7298097690848815434537327103170004744959254497573990566214949602619703169192005/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710696272012196634353555330390498350887700338941551405027602546998775737/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421392544024393268707110660780996701775400677883102810055205093997567475/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490545757478969106371806777634128875335561751438314941177644219889044249/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745272878739484553185903388817064437667780875719157470588822109944531081/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414061945444656921628827778305052625070756660756970839531362288597140217/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414061945444656921628827778305052625070756660756970839531362288597174133/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36813560187/10000000000000", + "logexp_bounds": [ + "458072891655001511790242037139761049633158138597618977086616151544001759/100000000000000000000000000000000000000000000000000000000000000000000000000000000", + "45807289165500151179024203713976104963315813859761897708661615157789411/10000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "probe": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "99631864398133/100000000000000", + "new_minus_old": { + "lower": "-1863940949189584915523336325922703685011856783686504280123914094438375/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-1863940949189584915523336325922703685011856783686504280123913968049679/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "230993993451100993917399910195173336790246654574473829165682637788829548635105/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "115496996725550496958699955097586668395123327287236914582841318894414774317885/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "172987091125085850680937959957216446924273960119035833884005149114293919328371/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "345974182250171701361875919914432893848547920238071667768010298228587838657679/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "460810624991224266904060085120125423873162546067633843117341753693892563628899/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "230405312495612133452030042560062711936581273033816921558670876846946281815047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "287770148706916188910645855644613195115603599104180494517386769050634376712571/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "287770148706916188910645855644613195115603599104180494517386769050634376713297/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964667136005439517078634888040799942487040378667492268324415751873020437/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166784001359879269658722010199985621760094666873067081103937968255609/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100382096250391200043604332569763341183807950581955864174250621905463/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100382096250391200043604332569763341183807950581955864174250621907731/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433316930557702781441622200539388462347932892609690871387044355534630114403/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "129216658465278851390720811100269694231173966446304845435693522177767315057517/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916929789864997359586194686136763079274162218592721575039148588518563685449679/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1833859579729994719172389372273526158548324437185443150078297177037127370903695/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565425139628306230654292748137477980501706463917990846513139380752013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "121752561847839071226769139415893296758592373781356653994874427907071211297287/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435346807888573229802758585752557979357648555302417954398523039429333091/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673403944286614901379292876278989678824277651208977199261519714669799/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764075711334288790281811692958867836922563414737171403972159524250522571/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "715175441018927833572197570452923239716959230640853684292850993039881062632317/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829186046044122560192940180650404369838639323722439649498021502423890324069793/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1829186046044122560192940180650404369838639323722439649498021502423890324074095/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873041494708511725262682548823764074913800546160950525040538598095981/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3772268867746082989417023450525365097647528149827601092321901050081077196200823/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813643312563225452285891799492033933677181101737595400624167873446239/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "4569210100073172004046428946297075167490171755339590511206105639946743900570027/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "2341507318217049215239658081875686522804058904338156811753036259648516793956163/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1170753659108524607619829040937843261402029452169078405876518129824258396980829/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "2739686591017390134844940680163179545456703497528345317212155762728534359336761/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "5479373182034780269689881360326359090913406995056690634424311525457068718686377/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "5593102218622093591175727881471127358459180259682141202781985773205223452148131/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5593102218622093591175727881471127358459180259682141202781985773205223452161245/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689223906703827355380764809288549157174450115102898307270506407649817125/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3194487689223906703827355380764809288549157174450115102898307270506407649824619/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251320254372731795179370766013544156600747798545513760065090704478242832881701/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "50801878974573934299677668218961627446886684352273652501017042257472544263895/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298097690849725992588142482656572773271509199458224866318589858317817839534739/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "57016388209763484317094863145754474791183665620767381768113983268107951871499/904625697166532776746648320380374280103671755200316906558262375061821325312", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411707421393472204506510326856815312556772641691991115095894867701532508099631/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "926463427674184025563313790857101914069596580211498889386986858462691563514599/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490546828424174432827087107419754254053267248875575811884831626849663771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160180745273414212087216413543553709877127026633624437787905942415813424841495/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414064244863583867857236409824205819144528819987962351842197610470233747/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "7789389707032122431791933928618204912102909572264409993981175921098805235135047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "368135601867/100000000000000", + "logexp_bounds": [ + "804865410697199259281673000287224208128455898668650667151416066290811703/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "16097308213943985185633460005744484162569117973373013343028321326157307/1000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_at_claim": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981593219907/5000000000000", + "new_minus_old": { + "lower": "7145959412059467016591730725962927028618388580906617191762209458699072817045/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "upper": "14291918824118934033183461451925854057236777161813234383524418917398267341725/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115496996725556100907934997192913118785385976237952038996461510075727587048245/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "115496996725556100907934997192913118785385976237952038996461510075727587048565/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "172987091125099153883024328327631188871333506910547006207232511684917060755579/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "172987091125099153883024328327631188871333506910547006207232511684917060756031/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "115202656247817246061506987490523192495456364505412718069649643500210253278655/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "460810624991268984246027949962092769981825458021650872278598574000841013115767/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "287770148706948609283763557158290847713653848229604192038983316435930889302785/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "575540297413897218567527114316581695427307696459208384077966632871861778606969/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804758964667245624644099317937360124638002807143888245266825713097354609578465/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "201189741166811406161024829484340031159500701785972061316706428274338652395099/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100515906394059637393345863683312509085180566815961426903631332219599/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100515906394059637393345863683312509085180566815961426903631332221787/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "129216658465298725651965494594358491207824357595473499218554769206924517993915/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1033733267722389805215723956754867929662594860763787993748438153655396143953753/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466293829607451820073977556047917936086576220287787336579076580861029/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579730350636859614560591820448383343488692609762302298692632612646892397/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948040989565811484729154635659891951964520969516627566748805062555308809759755/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948040989565811484729154635659891951964520969516627566748805062555308809764157/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435347418926787493177464676946293186695461951955915861434871056357114863/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1373343217673709463393746588732338473146593347730975977957930717435528178560563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "2860701764076355911351328232993571326800545620105259574316524310837222585080147/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1430350882038177955675664116496785663400272810052629787158262155418611292543295/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092089132646991255023456751655911406267348904005293250084091050581148353/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "914593023022283161747813755864187913977851566837226001323312521022762645289159/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "1886134433873503136540210338954837225888137546647003080498003659815549387714203/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "943067216936751568270105169477418612944068773323501540249001829907774693859233/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "71393907813661748009603240392521779518412649732826443258763009782801557392987/1809251394333065553493296640760748560207343510400633813116524750123642650624", + "power_upper": "2284605050037175936307303692560696944589204791450446184280416313049649836580745/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585376829554414472542905544850490720699999573073376446810996747813814109977739/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1170753659108828945085811089700981441399999146146752893621993495627628219958125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182036265092539981985499114721503738086592197406068558239668657610063339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182036265092539981985499114721503738086592197406068558239668657610075717/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796551109311808652793898481028854588217742937919855875247607420094315991653347/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "2796551109311808652793898481028854588217742937919855875247607420094315991659661/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "6388975378449613658753630025356161480985959811763660515728438378860648724563725/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6388975378449613658753630025356161480985959811763660515728438378860648724578159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508747303925985462688001025658507329093711090362282368156740333373191835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508747303925985462688001025658507329093711090362282368156740333373206427/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "912262211356481328505005684574677516738327651099660726506745269524125386409307/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3649048845425925314020022738298710066953310604398642906026981078096501545645475/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705853710697818979052037279149610794814854448616574448377106476747409117413627/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7411707421395637958104074558299221589629708897233148896754212953494818234843771/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490549327296320195092140023086586073288275691804009456175323540606959927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490549327296320195092140023086586073288275691804009456175323540606978417/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "15578779414069610174413410376717897159836070394848752976941955612892213732583813/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "15578779414069610174413410376717897159836070394848752976941955612892213732618805/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18406780093/5000000000000", + "logexp_bounds": [ + "-308568549852045771492235998695077252360204012733549308747097009341152129671763/2500000000000000000000000000000000000000000000000000000000000000000000000000000", + "-3085685498520457714922359986950772523602040127335493087470970093411521288127267/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_lower": { + "integer_power": { + "bits": 256, + "classification": "new_cost_lower", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "9963189654743/10000000000000", + "new_minus_old": { + "lower": "-2428602406757807441804730145969742991104780072582840411999532860817933/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "-2428602406757807441804730145969742991104780072582840411999532733543395/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115497022463128840419862943811668375076942514553623223735938143158927875445431/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "230994044926257680839725887623336750153885029107246447471876286317855750891533/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "345974304446934688403762773699204932784332479221628059385297306486954330817055/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974304446934688403762773699204932784332479221628059385297306486954330817999/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "460810830367142601181550979063047625827136085229198193110551708198538392127959/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "115202707591785650295387744765761906456784021307299548277637927049634598032291/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "71942574401460256683233475733029441024735213275805999073652262479320827391617/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "575540595211682053465867805864235528197881706206447992589218099834566619134401/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804759468121631344795977512406278622666160085330046987315967723769497361496233/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "402379734060815672397988756203139311333080042665023493657983861884748680749127/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919273141658023292765259354095206408049533005005952380274797833252837624001253/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919273141658023292765259354095206408049533005005952380274797833252837624003547/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "258433499485915726582280538792502140782157368891708893423275633856257544178167/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "1033733997943662906329122155170008563128629475566835573693102535425030176715203/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "1833861214374070989965026275335869899351435639230788926917087574695705316294193/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "916930607187035494982513137667934949675717819615394463458543787347852658149283/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948042763955289200987725849226688309599373238244277966036367032590507036715525/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1948042763955289200987725849226688309599373238244277966036367032590507036720139/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746689241698102786663418752689463214885192722522963470255568171615444220111419/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "2746689241698102786663418752689463214885192722522963470255568171615444220117967/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "178794045278929684485062063395769440651035805844202249365721609916831195883737/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "178794045278929684485062063395769440651035805844202249365721609916831195884159/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "1829188084142145964901217841670804906247819401029228338510662901052286787039045/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1829188084142145964901217841670804906247819401029228338510662901052286787043381/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772273108165710579744449806738104881336099363674989725206894856582690182231135/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772273108165710579744449806738104881336099363674989725206894856582690182240057/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569215518925673719751165616872264541341970849646360904347613874609008874661065/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "17848498120803412967777990690907283364617073631431097282607866697691440916687/452312848583266388373324160190187140051835877600158453279131187530910662656", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "585377528428649641145599861324947140680820793814999204314122912924632347199791/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "4683020227429197129164798890599577125446566350519993634512983303397058777609411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "171230625045910568854013447767184355086917683917461956470653968552808428340761/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "5479380001469138203328430328549899362781365885358782607060926993689869706917313/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "2796554608338034115547354908471027117909077934443870542266754804532680605851987/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1398277304169017057773677454235513558954538967221935271133377402266340302929297/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "798622955821060668321025185648315177041423166032287479920064820405188187956573/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "3194491823284242673284100742593260708165692664129149919680259281620752751833845/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251324480482381450586076272483246743343432586232333354454658881038578509712617/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1625662240241190725293038136241623371671716293116166677227329440519289254860125/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "7298107448789986561834083607562201807664050396107533988364330227805861745134411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "1824526862197496640458520901890550451916012599026883497091082556951465436287919/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "3705858684089761688204968051314512848968925816708957301577093369119060598571393/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3705858684089761688204968051314512848968925816708957301577093369119060598580039/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320372967266569233135187964832002520377206385690192686349560229550052580078575/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4160186483633284616567593982416001260188603192845096343174780114775026290048965/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "1947350506956383718546053832070701174529986606915430599375697973972418983547243/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "7789402027825534874184215328282804698119946427661722397502791895889675934207281/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "36810345257/10000000000000", + "logexp_bounds": [ + "1048690986903423228708881829520016203801600174252530225400967663531413143/50000000000000000000000000000000000000000000000000000000000000000000000000000000", + "262172746725855807177220457380004050950400043563132556350241915887099251/12500000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "source_upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "4981594827371/5000000000000", + "new_minus_old": { + "lower": "2016886350082244115711348589842424215733516256212208805458998498301913/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "upper": "504221587520561028927837147460606053933379064053052201364749653359967/28948022309329048855892746252171976963317496166410141009864396001978282409984" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67772 + }, + { + "power_lower": "115497022463120834776314605446553479411593454566115891744560991133192095677071/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "230994044926241669552629210893106958823186909132231783489121982266384191354751/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15215 + }, + { + "power_lower": "345974304446896679241519895359232713780162454055049459836896684013933391687365/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "345974304446896679241519895359232713780162454055049459836896684013933391688215/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 3, + "signed_count": 10064 + }, + { + "power_lower": "460810830367078719235982889066674752136430978808843016205943444786747462721257/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "460810830367078719235982889066674752136430978808843016205943444786747462722339/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 4, + "signed_count": 799 + }, + { + "power_lower": "35971287200724338986278747275206885776760117255604884092303072852057105001893/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "287770297605794711890229978201655086214080938044839072738424582816456840015807/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 5, + "signed_count": 4658 + }, + { + "power_lower": "804759468121474745834320903812026899206058570068721753918462340360309814798843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "25148733378796085807322528244125840600189330314647554809951948136259681712521/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "459636570828916067644683975677098232281523044606661574174976122473186753587815/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "919273141657832135289367951354196464563046089213323148349952244946373507177703/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "1033733997943435771754451195622697278567473748873899950272518600219147188249777/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "516866998971717885877225597811348639283736874436949975136259300109573594126039/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "916930607186781267836456847959915848523398071196847068081414924795729750224153/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "916930607186781267836456847959915848523398071196847068081414924795729750226125/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "1948042763954737278912362899521141193616838139871984730972487127111754017719835/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "974021381977368639456181449760570596808419069935992365486243563555877008861999/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746689241697229874036883476422122072327624633102284182441507520079529503742081/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "2746689241697229874036883476422122072327624633102284182441507520079529503748007/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715176181115488531608256795744538061083040259975064432125212047747647739231753/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "715176181115488531608256795744538061083040259975064432125212047747647739233277/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "228648510517689002077449932910554054921016766523427580239148738085205795195657/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "power_upper": "914594042070756008309799731642216219684067066093710320956594952340823180784587/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772273108164391601599788230455885679825163616630103430841315874020607994664385/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "943068277041097900399947057613971419956290904157525857710328968505151998668113/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569215518923988191226247581211735757525088821547067339401788744564947370671159/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4569215518923988191226247581211735757525088821547067339401788744564947370680927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683020227427458055854359981393928697347962249956743839782293520593454135900305/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683020227427458055854359981393928697347962249956743839782293520593454135910317/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479380001467017025188347158255568965661199091476846070780540974018957674928367/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "342461250091688564074271697390973060353824943217302879423783810876184854683755/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "1398277304168472873374202321400263486731516148126525383366450168349463785585019/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "5593109216673891493496809285601053946926064592506101533465800673397855142352025/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194491823282956777977911317821290247505525347481129610405009477763472795419443/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "3194491823282956777977911317821290247505525347481129610405009477763472795426271/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "3251324480481066923429780957975039004178864082978942991959855351225905536753235/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1625662240240533461714890478987519502089432041489471495979927675612952768380067/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649053724393475682136576424967551842219890617783806484358547250721425672990551/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7298107448786951364273152849935103684439781235567612968717094501442851345996705/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "7411717368176429438546957448672007577427658659398721965518350095753467132832523/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3705858684088214719273478724336003788713829329699360982759175047876733566424069/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "4160186483631499705430030130046990091626591487016803738347710507669914143870309/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "4160186483631499705430030130046990091626591487016803738347710507669914143879047/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "1947350506955425625811041354043011306202018159205275975255599174310006239117507/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "15578804055643405006488330832344090449616145273642207802044793394480049912973165/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "18405172629/5000000000000", + "logexp_bounds": [ + "-21772713094724352964650617764148156474424303068015633133301255909999327/1250000000000000000000000000000000000000000000000000000000000000000000000000000", + "-435454261894487059293012355282963129488486061360312662666025118191458019/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + }, + "upper": { + "integer_power": { + "bits": 256, + "classification": "new_cost_higher", + "contract": { + "ambient_rank": 145, + "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields" + }, + "exponent": "2490796609953/2500000000000", + "new_minus_old": { + "lower": "489335469278741358183650564303266513687855500242720705397900062819635/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "upper": "3914683754229930865469204514426132109502844001941765643183200629091191/115792089237316195423570985008687907853269984665640564039457584007913129639936" + }, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "schema": "integer-mult-recursive-power-comparison/v1", + "scope": "Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, compiler, applicability or kappa claim is verified. Unresolved is not equality.", + "terms": [ + { + "power_lower": "1", + "power_upper": "1", + "rank": 1, + "signed_count": 67738 + }, + { + "power_lower": "7218562295346255601525394138335115353963340931710819517857628720098258833551/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "230993993451080179248812612426723691326826909814746224571444119043144282674301/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 2, + "signed_count": 15249 + }, + { + "power_lower": "345974182250122289468412271395629474597823155017617075133823312966733513664699/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "172987091125061144734206135697814737298911577508808537566911656483366756832819/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 3, + "signed_count": 10047 + }, + { + "power_lower": "230405312495570610205917030963151513307892702610037541839837880702962943662705/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "28800664061946326275739628870393939163486587826254692729979735087870367957913/7237005577332262213973186563042994240829374041602535252466099000494570602496", + "rank": 4, + "signed_count": 782 + }, + { + "power_lower": "575540297413711959292568839333323943480903771757679547326171201843641134491045/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "71942537176713994911571104916665492935112971469709943415771400230455141811563/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 5, + "signed_count": 4675 + }, + { + "power_lower": "804758964666932426916721530973419820287192662360647772941522532125656328774013/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "804758964666932426916721530973419820287192662360647772941522532125656328776015/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 7, + "signed_count": -102 + }, + { + "power_lower": "919272527100133591697864153783439042636463201607814004960007486217448707010167/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "919272527100133591697864153783439042636463201607814004960007486217448707012439/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 8, + "signed_count": 214 + }, + { + "power_lower": "516866633860967768193637056598521909199992386845642833440546551715333471193707/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "258433316930483884096818528299260954599996193422821416720273275857666735597485/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 9, + "signed_count": -10822 + }, + { + "power_lower": "229232447466166716147728561439897012176380059834110028461877853325995313580063/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "power_upper": "1833859579729333729181828491519176097411040478672880227695022826607962508644843/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 16, + "signed_count": 416 + }, + { + "power_lower": "974020494782353820791936840891770232983451163695393483912015638288552534629417/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "1948040989564707641583873681783540465966902327390786967824031276577105069263411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 17, + "signed_count": -416 + }, + { + "power_lower": "2746686435345673103318169610373850468028512326231258441208696529769069139565857/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "686671608836418275829542402593462617007128081557814610302174132442267284893091/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "rank": 24, + "signed_count": 416 + }, + { + "power_lower": "715175441018628565650305046591964748458299551179772588638733593616839733052211/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "2860701764074514262601220186367858993833198204719090354554934374467358932215543/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 25, + "signed_count": -416 + }, + { + "power_lower": "3658372092086596856690185131398724354849410322343288076567772286063514491107457/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3658372092086596856690185131398724354849410322343288076567772286063514491116063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 32, + "signed_count": 416 + }, + { + "power_lower": "3772268867744368319756429199204333951427631149689988631096060305126818391097211/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "3772268867744368319756429199204333951427631149689988631096060305126818391106073/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 33, + "signed_count": -416 + }, + { + "power_lower": "4569210100070980819562669796782025487155501026932512373295919568962289106748525/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "571151262508872602445333724597753185894437628366564046661989946120286138344907/14474011154664524427946373126085988481658748083205070504932198000989141204992", + "rank": 40, + "signed_count": 416 + }, + { + "power_lower": "4683014636431837637874878926786830153601114304171505058163374573842578388687283/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "4683014636431837637874878926786830153601114304171505058163374573842578388698277/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 41, + "signed_count": -416 + }, + { + "power_lower": "5479373182032022741539695552500103466343899299020437145180066709582026450981555/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "5479373182032022741539695552500103466343899299020437145180066709582026450994411/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 48, + "signed_count": 416 + }, + { + "power_lower": "174784444331851994869969664427240216572606005184559173883085074062534554926313/3618502788666131106986593281521497120414687020801267626233049500247285301248", + "power_upper": "2796551109309631917919514630835843465161696082952946782129361185000552878827563/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "rank": 49, + "signed_count": -416 + }, + { + "power_lower": "3194487689222235042092645308685658464590919752439520693672641013416212564172933/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "6388975378444470084185290617371316929181839504879041387345282026832425128360861/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 56, + "signed_count": 416 + }, + { + "power_lower": "6502640508742045824194832195610158316309020954981678538552657898799150640141181/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "6502640508742045824194832195610158316309020954981678538552657898799150640156337/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 57, + "signed_count": -416 + }, + { + "power_lower": "3649048845422890120517304996022040336806271911433940317454129203655213590248897/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "7298097690845780241034609992044080673612543822867880634908258407310427180514927/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 64, + "signed_count": 208 + }, + { + "power_lower": "1852926855347362522670616036862462400246401489399525324037340932784670978124699/28948022309329048855892746252171976963317496166410141009864396001978282409984", + "power_upper": "7411707421389450090682464147449849600985605957598101296149363731138683912515961/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 65, + "signed_count": -416 + }, + { + "power_lower": "8320361490542187661618019183089187896737211616561523461415728940190817042195063/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "power_upper": "8320361490542187661618019183089187896737211616561523461415728940190817042214281/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 73, + "signed_count": -208 + }, + { + "power_lower": "7789389707027140357450218325985039902265168535102871182449216230837778611032595/57896044618658097711785492504343953926634992332820282019728792003956564819968", + "power_upper": "15578779414054280714900436651970079804530337070205742364898432461675557222101539/115792089237316195423570985008687907853269984665640564039457584007913129639936", + "rank": 137, + "signed_count": -208 + } + ] + }, + "kappa": "9203390047/2500000000000", + "logexp_bounds": [ + "-676157374828391960417267253868747316554465413999086092127436709195282097/20000000000000000000000000000000000000000000000000000000000000000000000000000000", + "-845196718535489950521584067335934145693081767498857615159295886485572251/25000000000000000000000000000000000000000000000000000000000000000000000000000000" + ] + } + }, + "reserved_native_banks": 1156, + "seconds": 313.0573775039811, + "source_canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "source_copy_pins": { + "controls.py": "8a84fb5f6e09ad1f74822efdba1c2723b9056b4f002ff6cb0c0eb8bc01cddddc", + "replay/supplier7108/CALLER.json": "9557f713ab4ffb91ede05e8a6d5668c694b9940fc16f2f2d657e2f2b2cac2d3f", + "replay/supplier7112/RESULT.json": "9220b3d424fcbf3b5ac9c180865eb9e4e4a0ab852c196ebf7c5166616afc9f79", + "replay/supplier7112/WORD.json.gz": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "replay/supplier7112/short-caller/BOUND-NATIVE-GRID.json": "e596d28ab544e001ad6d0d264c3ed15e5e01ff1f3ff983dc82bd9e6f17527c2d", + "replay/supplier7112/short-caller/COHORT-PRICE.json": "8d27fdb2faad0ee81e1de6bf992f8b24712ca69e1002b68930269c87ba4bcb94", + "replay/supplier7112/short-caller/DATA-PHASES.json": "c5916ff312678f12aba403847643fbbc29f643acec60bdf836fa56cd3e8251fa", + "replay/supplier7112/short-caller/INGREDIENT-INPUT.json": "b8ff7f29c6f41bef1c8182f1f71f383efc87e9e9f6ba1e8661aadf7f82401917", + "replay/supplier7112/short-caller/ODD-LOCALIZED-GROUPING.json": "8aac6b3d9e528bffbcf411bbd300c8e0f0b7bf75da45ab12badf3f3530ffcbe2", + "replay/supplier7112/short-caller/ODD-UNIT-DYADIC-TAPES.json": "c3195057f7a6723a81172ed540d0f1c4ba699ff3cb8dc37cbde7bb481d9b976c", + "replay/supplier7112/short-caller/ODD-UNIT-PREFIX-CLOSURES.json": "3b953e5d3e83e7573a3e908a5a23edb78773d4d22816aca54f766f0f0e9f5403", + "replay/supplier7112/short-caller/SHORT-ADMISSION-PARTIAL.json": "7977815fe72382738727e3d550eea3bc735923c9c57968872d4f863cb39cd401", + "replay/supplier7112/short-caller/SHORT-CALLER-RAW-PRICE.json": "a4f83d65d250efb40f6506658374d7414afdde11c96eb88b7d2fbb182aa090c1", + "replay/supplier7112/short-caller/SHORT-PRECISION.json": "68a00d2b83ee2eb944d2e05fc7f32bc9aa37282c45b968f0ab6fd500659ac028", + "replay/supplier7112/short-caller/SHORT-TYPE-A-ROOT.json": "e9812d720942d8149c219dfa28c1081ff1d353529e5282ca4624a04233f38f88", + "replay/supplier7112/short-caller/admission-source/ARCHIVE-CHAIN.json": "6de95c4eb396e69883fbeeb3989782bbbe232c22644af1c804050badca10f456", + "replay/supplier7112/short-caller/admission-source/FULL-RESULT.json": "d9ba709fa5dcefffe3f3abdcf34600ce188224703cfd743e6db8b58ba4816cb7", + "replay/supplier7112/short-caller/admission-source/INDEPENDENT-NOTICE.md": "cadbc642ca84311d2c7a6cf704c7828cb4cf77e3c784b66e4c6e8a5c28002fb8", + "replay/supplier7112/short-caller/admission-source/INDEPENDENT-SOURCES.json": "dced1457df5230466ba6202fd6d4595bc2b7fb2a65302806bf2720b1837ff350", + "replay/supplier7112/short-caller/admission-source/LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "replay/supplier7112/short-caller/admission-source/NATIVE-INPUTS.json": "9bb6c1567783661334d6c1d23f715ce5635cbbb513678819ab9e020a34c7e4c0", + "replay/supplier7112/short-caller/admission-source/NOTICE": "da12736e2e824167ff56f2ecb623a5f88f75a270410360890f61dffc33bab249", + "replay/supplier7112/short-caller/admission-source/data/bit-admission.json": "a46b6c6040f75184cab5467656811ad988c216e3bc8e44d595a5015b6e49620b", + "replay/supplier7112/short-caller/admission-source/data/caller.json": "3828d53e80ea97e8b866320f081af20b6b93bfebd58b95b56b85a7afe151af5e", + "replay/supplier7112/short-caller/admission-source/data/final.json.gz": "2b94953dc14a122e3ef089633f05b58ec689ec5156feb7c784ed3e137dc01883", + "replay/supplier7112/short-caller/admission-source/frozen/clifford_exact.py": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962", + "replay/supplier7112/short-caller/admission-source/frozen/native_verify.py": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38", + "replay/supplier7112/short-caller/admission-source/frozen/physical.py": "4e995d1158033d83bf69b671f23dc7924d66edbbe07623ba063ba7421234ea20", + "replay/supplier7112/short-caller/admission-source/frozen/verify_host3_odd.py": "e75ad2096ba2587d1dc9c8982b2c2eb7c6fd2636a80adcd943314ef2cf6fd258", + "replay/supplier7112/short-caller/admission-source/independent.py": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "replay/supplier7112/short-caller/admission-source/interval_gate.py": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "replay/supplier7112/short-caller/admission-source/precision_replay.py": "850d9098c5946ab27ef5228acc54d59df2196e72259d3e21588ec0c319c8f5ee", + "replay/supplier7112/short-caller/admission-source/retained/odd-native-common-grid/independent_bounds.py": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/envelopes.py": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "replay/supplier7112/short-caller/admission-source/retained/query-only-precision-envelope/source_binding.py": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "replay/supplier7112/short-caller/assemble_odd_application.py": "6cdac39ab196a70c53ba2283c2555cd8dee30644dcc4769628b46fb53bd55a1f", + "replay/supplier7112/short-caller/candidate_gate.py": "e71097ca81a082afd7c647324a6c94cb357aeb1084693a095a0f3e0b45a9b11a", + "replay/supplier7112/short-caller/check_odd_caller_exact_grid.py": "abd5a5fd011b71e5b382cbc058855594d4f2fe7b049f375506675c0303180f54", + "replay/supplier7112/short-caller/check_odd_fixed_tape_counts.py": "3499bcc955c64232140022320b3b0ca0f53d6a2bc4f05048993b0ecee3c4368e", + "replay/supplier7112/short-caller/check_odd_partial_admission.py": "c8680929567edbce7a6aade2218da6881aba943eadb1eb9d4def05705c14d8f6", + "replay/supplier7112/short-caller/check_odd_physical_binding.py": "5c80c3b0415a7f91d216395248dd6f13297eed637732098e1ca8fb0548951b98", + "replay/supplier7112/short-caller/check_odd_precision.py": "ea6dea2ca47b52e5512dc45126cd7ab632bc6f817b351bd87b95cf9c1c7e8235", + "replay/supplier7112/short-caller/connected.py": "469537b46fb92c5aca926d3b1497da5425408673b0a73ba1427f23d872b414e7", + "replay/supplier7112/short-caller/cut_library.py": "7ccb81af19db54ec7cdb44849af018d4ca8893f80f17277914f8566715985133", + "replay/supplier7112/short-caller/emit_odd_type_ab.py": "6fd9f61f9ba6c726524d1a585d0201b0eac61829ccae6be598f0f0fc1cb64f1a", + "replay/supplier7112/short-caller/emit_odd_type_b.py": "d1fa8b67d98beacd6bb574b3d5fcbc94b8646a7ffbce91d2a6fd4d690d3c5329", + "replay/supplier7112/short-caller/host34.py": "bded1a8626d65ee40c4ba3b25780fc03f0fa08906f3c83f631892df072d9a9b7", + "replay/supplier7112/short-caller/independent.py": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "replay/supplier7112/short-caller/interval_gate.py": "60a743d13f668ef86db4b8215b4d5d04430a671ba6f1fe06d9c1c4c3dfe86da5", + "replay/supplier7112/short-caller/lower.py": "67345fdfc8e5bb816e24b37dfafad0396372c48ec4e1b95b8b69f019a8fdfdee", + "replay/supplier7112/short-caller/mirrored.py": "55dd441a3a7f504b351857d45fd701994a0950ae1baec6c4c2b4b0166fb69db3", + "replay/supplier7112/short-caller/native_ingredient.py": "a455469277054a2cb5949c6d98f5a4ae6f31f16acba31e0eeea360b43b0f4ceb", + "replay/supplier7112/short-caller/odd_unit_dyadic_tapes.py": "3cdafa35635360a487ce400ec8d585f6134dd7c58209543528e98e7db178bbc7", + "replay/supplier7112/short-caller/screen.py": "01e3eaba4b710a080e6e393e53157e6a119fdf312620eed26e9185ca91f6bea6", + "replay/supplier7112/short-caller/short_dyadic_seam.py": "6e588b365618ab2df4fa2d1f16073d09a953a7cd6e826e1f96bbf87f950b672b", + "replay/supplier7112/short-caller/short_native_catalogue.py": "775695c379f407801910531565cc371012cee501b2cec5f5d718ecdccf06b64d", + "replay/supplier7112/short-caller/signed_child.py": "ef03444360f02225138be9b38e2f9a85f313eeaa910d63a365de0f16d228cb8b", + "replay/supplier7112/short-caller/signed_model.py": "f88c798b9a22c656ea0b755b4f32be411c1f80687dff1a1ac9e9c2a0b5f4203e", + "replay/supplier7112/short-caller/stage.py": "0ab5546e926dd98d3ad833909b534840b7d8d0467c4790ca09bc2b14b37313f5", + "replay/supplier7112/short-caller/upstream_application.py": "d98987db98553dc55bfc80e3ca47abfcd51c57af6f8cda61101391d8eae94184", + "replay/supplier7112/short-caller/upstream_native_catalogue.py": "6120e1ea1e07eeba757694d209437a38f121b0a377cc466889a30fa52c561472" + }, + "source_head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "source_pr": 7636, + "status": "PASS_FRESH_SIGNED_CALLER_CONDITIONAL_COMPONENTS", + "targets": { + "1": 306, + "137": 208, + "17": 416, + "2": 357, + "25": 416, + "3": 799, + "33": 416, + "4": 3825, + "41": 416, + "49": 416, + "5": 1360, + "57": 416, + "6": 765, + "65": 416, + "7": 323, + "73": 208, + "8": 544, + "9": 10854 + } +} diff --git a/research/p104-180-contact-application/evidence/core-authorization.json b/research/p104-180-contact-application/evidence/core-authorization.json new file mode 100644 index 0000000000..ceeea688b9 --- /dev/null +++ b/research/p104-180-contact-application/evidence/core-authorization.json @@ -0,0 +1,8 @@ +{ + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "raw_combined_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "receipt_id": "progress.kappa-run-2.00000328", + "receipt_sha256": "0409c3bba37b10fc123e80d37390a8fbfe66f01a13c7ace5da1d1ad878e6c629", + "running_event": "p7636-180-lowering-core-running", + "source_raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2" +} diff --git a/research/p104-180-contact-application/evidence/native-authorization.json b/research/p104-180-contact-application/evidence/native-authorization.json new file mode 100644 index 0000000000..87c411879b --- /dev/null +++ b/research/p104-180-contact-application/evidence/native-authorization.json @@ -0,0 +1,9 @@ +{ + "candidate_raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "raw_combined_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "receipt_id": "progress.kappa-run-2.00000340", + "receipt_sha256": "39ad9a25a75b511770b8335ba6033fb2f67e6a435de3f693873db5b342069ba1", + "running_event": "p7636-180-lowering-native-running", + "source_raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2" +} diff --git a/research/p104-180-contact-application/evidence/pr7636/mutation/INVOICE.json b/research/p104-180-contact-application/evidence/pr7636/mutation/INVOICE.json new file mode 100644 index 0000000000..97e3f76e15 --- /dev/null +++ b/research/p104-180-contact-application/evidence/pr7636/mutation/INVOICE.json @@ -0,0 +1 @@ +{"contract":{"ambient_rank":145,"boundary":"complete signed #7113 caller application with 17 native calls","model":"mixed-target-unnormalized-power-v1","rank_semantics":"H_r costs r^(1-C); debit surrendered productive fields"},"paid":{"1":68078,"16":416,"2":15572,"24":416,"3":10863,"32":416,"4":4624,"40":416,"48":416,"5":6018,"56":416,"6":765,"64":208,"7":221,"8":758,"9":32},"schema":"integer-mult-recursive-invoice/v1","targets":{"1":306,"137":208,"17":416,"2":357,"25":416,"3":799,"33":416,"4":3825,"41":416,"49":416,"5":1360,"57":416,"6":765,"65":416,"7":323,"73":208,"8":544,"9":10854}} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/EXIT.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/EXIT.json new file mode 100644 index 0000000000..ecfa89005d --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/EXIT.json @@ -0,0 +1,5 @@ +{ + "ended": "2026-11-18T03:53:18.179685+00:00", + "result_sha256": "630c4bd29e1cbb4d77dbc0a53aafd4965c11e6d62c206741ad8d1ab1aae1f2f5", + "status": "COMPLETE" +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/GRID.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/GRID.json new file mode 100644 index 0000000000..4bce2034b8 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/GRID.json @@ -0,0 +1,435 @@ +{ + "status": "FINITE_GRID_AND_ENVELOPE_ONLY", + "compressed_word_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "decompressed_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "canonical_word_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "source_pins": { + "derive_grid.py": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0", + "independent_bounds.py": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "envelopes.py": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "source_binding.py": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "ODD-TYPE-AB-CALLER.json": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "ODD-CALLER-EXACT-GRID.json": "87d25d9fa3778bf4784e3a9e17f32ce5ba372663c6e97392cc62b87e6719042c" + }, + "engines": { + "rational": { + "source_sha256": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0", + "adapted_sha256": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0", + "edits": [] + }, + "integer": { + "source_sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "adapted_sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "edits": [] + }, + "binding": { + "source_sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "adapted_sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "edits": [] + }, + "envelope": { + "source_sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "adapted_sha256": "3c01e453cbd98d6c06e93df0e826adaefc25b942ca22234f21a21f25800183f9", + "edits": [ + { + "old": "elif op in (\"LAMBDA\", \"IDLE_ONE\"):", + "new": "elif op in (\"LAMBDA\", \"IDLE_ONE\", \"IDLE_ODD\"):", + "count": 2 + }, + { + "old": "all(0 <= r < 38 for r in ar) and all(38 <= r < 76 for r in br[:2])", + "new": "all(caller[\"types\"][\"A\"][\"offset\"] <= r < caller[\"types\"][\"A\"][\"offset\"] + caller[\"types\"][\"A\"][\"roles\"] for r in ar) and all(caller[\"types\"][\"B\"][\"offset\"] <= r < caller[\"types\"][\"B\"][\"offset\"] + caller[\"types\"][\"B\"][\"roles\"] for r in br[:2])", + "count": 1 + }, + { + "old": "all(1 <= k <= 18 for k in e[3])", + "new": "all(1 <= k <= caller[\"stages\"] for k in e[3])", + "count": 1 + }, + { + "old": "need(j_order == list(range(1, 19)), \"exact eighteen native calls\")", + "new": "need(j_order == list(range(1, caller[\"stages\"] + 1)), \"all chronological native calls\")", + "count": 1 + }, + { + "old": "word[\"public\"] - len(mains) == 1061", + "new": "word[\"public\"] - len(mains) == expected_helper_count", + "count": 1 + }, + { + "old": "physical_main_inputs=3952, fresh_arbitrary_helpers=18 * 1061,", + "new": "physical_main_inputs=sum(t[\"roles\"] * len(t[\"ports\"]) for t in caller[\"types\"].values()), fresh_arbitrary_helpers=caller[\"stages\"] * expected_helper_count,", + "count": 1 + }, + { + "old": "need(len(e[3]) == len(set(e[3]))", + "new": "need(op != \"IDLE_ODD\" or (len(e[3]) == 1 and e[4] == -1), \"signed child signature\")\n need(len(e[3]) == len(set(e[3]))", + "count": 1 + }, + { + "old": "(life, peak, owned_count) == (54, 43, 51)", + "new": "(life, peak, owned_count) == (180, 50, 68)", + "count": 1 + } + ] + } + }, + "rational_grid": { + "odd_scale": 54675, + "fractional_bits": 16, + "unscaled_maximum_mass": "864932913/1024", + "scaled_maximum_mass": "47290207018275/1024", + "mass_witness": [ + 60213, + "stored" + ], + "coefficient_visits": 42789208 + }, + "integer_grid": { + "odd_scale_lcm": 54675, + "dyadic_height": 16, + "maximum_scaled_mass": "47290207018275/1024", + "mass_witness": [ + 60213, + "stored add" + ], + "numerator_bits": 24, + "coefficient_visits": 42789208 + }, + "native_envelope": { + "census": { + "events": 202667, + "public": 1501, + "owned_labels": 68, + "lifetimes": 180, + "peak_owned": 50, + "opcodes": { + "SCALE": 4536, + "ADD": 191544, + "INIT": 180, + "MOVE": 6226, + "CLEAR": 180, + "COPY": 1 + }, + "scalars": { + "integer": 66012, + "dyadic": 184344, + "noninteger": 130069, + "odd": 11737 + }, + "max_numerator": 11705329, + "numerator_bits": 24, + "max_denominator": 3686400, + "denominator_bits": 22 + }, + "bounds": { + "M": { + "exact": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "strict_power_of_two": 165, + "witness": { + "cut": 201591, + "register": 1392, + "factor": "1", + "kind": "stored" + } + }, + "Sigma": { + "exact": "13039162904178182303675038824494231655748903673478891762776267140515858060134303/1058762460665838004598734848000000", + "strict_power_of_two": 154, + "witness": { + "cut": 201591, + "register": 1392, + "factor": "1", + "kind": "stored" + } + }, + "Gamma": { + "exact": "13039162904178182303675038824494231655748903673478891762776267140515858060134303/1058762460665838004598734848000000", + "strict_power_of_two": 154, + "witness": { + "cut": 202667, + "register": 1392, + "factor": "1", + "kind": "public-return" + } + } + }, + "independent_adjoint": { + "M": { + "entrance_mass": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "residual_mass": "13039162904178182303675038824494231655748903673478891762776267140515858060134303/1058762460665838004598734848000000", + "active_residual_sites": 85312 + }, + "Sigma": { + "entrance_mass": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "residual_mass": "13039162904178182303675038824494231655748903673478891762776267140515858060134303/1058762460665838004598734848000000", + "active_residual_sites": 85312 + }, + "Gamma": { + "entrance_mass": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "residual_mass": "13039162904178182303675038824494231655748903673478891762776267140515858060134303/1058762460665838004598734848000000", + "active_residual_sites": 85312 + } + } + }, + "caller_envelope": { + "bounds": { + "M_caller": { + "exact": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "strict_power_of_two": 897, + "witness": { + "event": 4750, + "register": 37, + "cut": 4751, + "factor": "1", + "kind": "stored" + } + }, + "Sigma_caller": { + "exact": "48530772987196169508600836454613135968409268844708803139130099240586535680674437543873050021316232819999553913545728430664797821063140175136418822831808373056647706225543263455073475812952666218235770068459675266990285209256334902345279204347661407941023647073862709333404517372130920863018616571847201096829304152246809082988076104961341098189405672112141185869298281023181/11590640322254385074655775948800000000000000000000000000000000", + "strict_power_of_two": 1039, + "witness": { + "event": 4752, + "register": 37, + "cut": 4753, + "factor": "1", + "kind": "stored" + } + }, + "M_joint_entrance": { + "exact": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "strict_power_of_two": 892, + "witness": { + "event": 4691, + "register": 36, + "cut": 4691, + "factor": "1", + "kind": "stored" + } + }, + "E_joint_entrance": { + "exact": "1880483616253244524906233667341617821372093149348291771256012540247745741601874747590875542701204428881934091242516595772078870028141047987926477944971030237428954307266301796217661924772721760095069614253898800894304309148552974794052451048050312230429560399555750268093590448427612927616301737149473111263439664160741553151746425269011534821098912512563391682838972366311/15454187096339180099541034598400000000000000000000000000000000", + "strict_power_of_two": 1034, + "witness": { + "event": 4691, + "register": 36, + "cut": 4691, + "factor": "1", + "kind": "stored" + } + }, + "M_context": { + "exact": "77992634819520449578655924582076591725084892228781785833773867532096204167048784732884606920936057754632410395155958486979007151702000058112418328175604752698403554239485673132392855632379293605076979272296539771203975060510846143867052281270292998703452394730705826881942038584560374324595965746334344697831353393140125052625225078864714739931666305304263039773179976866770762381/154541870963391800995410345984000000000000000000000000000000000", + "strict_power_of_two": 1056, + "witness": { + "event": 4691, + "register": null, + "cut": 4692, + "factor": "1", + "kind": "stored" + } + }, + "Sigma_context": { + "exact": "11783530237485865969529707298623485874491893916465354217516805194443372930243176018141999324132319501360439439027012268930367980262772545788094079048280767743788551081397681886743004863168731030410653959527685948641461440581250736803327997484742154259546940836165674823106565249488657698346288871705542480634382545491737479954203483529049808130396178915140766177317439912657668481999236827051843407722278832300342806801176364386342853875723636819459639519621/3926955157850474979718825538138932850504861715272583610368000000000000000000000000000000000000000", + "strict_power_of_two": 1198, + "witness": { + "event": 4691, + "register": null, + "cut": 4692, + "factor": "1", + "kind": "stored" + } + }, + "Gamma_context": { + "exact": "48530772987196169508600836454613135968409268844708803139130099240586535680674437543873050021316232819999553913545728430664797821063140175136418822831808373056647706225543263455073475812952666218235770068459675266990285209256334902345279204347661407941023647073862709333404517372130920863018616571847201096829304152246809082988076104961341098189405672112141185869298281023181/11590640322254385074655775948800000000000000000000000000000000", + "strict_power_of_two": 1039, + "witness": { + "register": 37, + "cut": 4783, + "factor": "1", + "kind": "public-return" + } + } + }, + "sites": { + "ADD": 4126, + "noninteger_scalar": 1752, + "SCALE": 312, + "IDLE_ONE": 90, + "LAMBDA": 178, + "J": 17, + "IDLE_ODD": 4, + "SWAP": 52, + "QUERY": 4 + }, + "joint_entries": [ + { + "event": 43, + "stage": 1, + "entrance_mass": "2067/2", + "entrance_defect": "1435/4" + }, + { + "event": 137, + "stage": 2, + "entrance_mass": "56849465528/5", + "entrance_defect": "22367471319967583171000287324809176441893260902381611526335477046312575119089444306321/330863268958074376437104640000000" + }, + { + "event": 268, + "stage": 3, + "entrance_mass": "899756300051784928313/5", + "entrance_defect": "33984957658383297211539894249122908884074869209188586375978253651533525485496999591127115424409361/31762873819975140137962045440000000" + }, + { + "event": 432, + "stage": 4, + "entrance_mass": "2514111326902273689027625979152/15", + "entrance_defect": "31653744089119116529758979479082459139389379246102105688189029798314496975420381820127078053329431791189073/31762873819975140137962045440000000" + }, + { + "event": 633, + "stage": 5, + "entrance_mass": "513576167499541081817002847690160861158177/15", + "entrance_defect": "6466145075735924379804098882574230922030295956315907536817013967112883567055741740690167910665949359865326625897084983/31762873819975140137962045440000000" + }, + { + "event": 867, + "stage": 6, + "entrance_mass": "49174910102467876864090432969907258581035345395534834/225", + "entrance_defect": "619133291088928019765452539723209792085957850004634569758475308138324335344673069424623755995517386069057496450391621584157611147/476443107299627102069430681600000000" + }, + { + "event": 1138, + "stage": 7, + "entrance_mass": "47202796791779792903787260464709452698419616298153732189406926691/225", + "entrance_defect": "66033726154251097855133534941834161477094266564998518652952615028305436054698482965594102630289441738276618515825948928318766112864576308197/52938123033291900229936742400000000" + }, + { + "event": 1423, + "stage": 8, + "entrance_mass": "1527059719525243651854937925515623170877847518562264265010551055991429949116792541/28125", + "entrance_defect": "19226339364300153922853144964053315203299843413991094608839363239493678888152210464920033015070697703053005266355663085033272704566524320026552676283154462963/59555388412453387758678835200000000000" + }, + { + "event": 3058, + "stage": 9, + "entrance_mass": "45382020709918266925583064268574418985484021788023395083741971786893952543604385214817042722264713249357732585113211736557042182118473445437784492974844696068231496289005681248244219743195326431922663592509646282903/2703048706054687500000000", + "entrance_defect": "6856550166704827643481539345359325117886419809829245150194738141040775547594215108803060247550944606255204687126345046358625129529380386902463854272080107218996501431617764283129966967493898402194554741933930393880128886342311407741713941936432682469794425411174386472852504692381229438905023/68685275983729689331293487104000000000000000000000000000000" + }, + { + "event": 3377, + "stage": 10, + "entrance_mass": "17256576412236653193246225901973714737195067836439327666112948810725372605325768521068989782195051084826433423902219365061463548934152577319772447024097669813834215493691840531234110147024064996639957180865886380686899413865699437/67576217651367187500000000", + "entrance_defect": "2607212724889017320319689512190736453453735164778621036417104293385159328560675019359275348050869551975296667017219477398958920694340440540876340877952120173036057930689289030138767615691826958193665596095016858384161852501024544548211206872676649496707888490127284356206716198137649764591058110990657050917/1717131899593242233282337177600000000000000000000000000000000" + }, + { + "event": 3674, + "stage": 11, + "entrance_mass": "8232867642949280967953864719378369729636081542640965177026582834276172086852779069019078166383458700724373015543641299678854718814560615654710102550769670203427726502361438450768012893674227975469242856299447027845030556012745339827937032703/2252540588378906250000000", + "entrance_defect": "1243864180719165219690971074798141283203384916089052133425903658721294450312141238047672281948964172139836993113957794871294018515371068756102225957167160127417789901816041920466671032326955578631569467961420429342219781884870314704610984524897988432244086705642154044609330187426691617650042737357621545075422909246823/57237729986441407776077905920000000000000000000000000000000" + }, + { + "event": 3934, + "stage": 12, + "entrance_mass": "103457615351059805192637231353494210876529187337645013912367786609511281374638184501291799844537790265462481580051228205479278831706979374022592427678836083146990308179368316797029946556942233864286312243671687806427572314354434738422294564686254956597631/304092979431152343750000000", + "entrance_defect": "15630911067544453668182630341007550058060029766596025693324341951127145960905159462816267857080414726495484567690802039147756118722794884596616057787578218323618186647997039835275184179978653339263634096581253732118405055293854528704060819073470689796610719453706264108526940501764483886719526740037036261771437953543145829366764871/7727093548169590049770517299200000000000000000000000000000000" + }, + { + "event": 4149, + "stage": 13, + "entrance_mass": "6814687293408352348961376609223100753789665399854180217091951198766673494955017243489117504312576625705862588971333049204842152193259763726092611947454717867967563820647006231530855513792517852570389360287582421241328472893443552787136426885585158158296407747039/76023244857788085937500000", + "entrance_defect": "1029598166117986005688927312326465049935529588767010767291958520145587491254720983151816943019235283375695734625278316077209882239399256280374998361904979388151019839361735664075897159074115553518815450434909308163651350986313834988143386855854553747010465763600374029240729203960211841944357469317138369983993188481588627077945662018206599/1931773387042397512442629324800000000000000000000000000000000" + }, + { + "event": 4337, + "stage": 14, + "entrance_mass": "273688564209132230699064882255651065961520374651451250325109091529813162250488973700796593555467744131430272845604649750549608356985710665121874068107850799585492748533787927289567936649257940207702597871193107311090132538524151482351564937285621850171994049078063458209591/608185958862304687500000000", + "entrance_defect": "41350282362883135852778096539124738654934395634957642957392117181341898376240952815626288847753237077511521937715975428449406078903561962895621741119165193685391957067012289867944034362421940850886990040280536260893702820039555609713288201003321657507382013296647139321694692594378020092120557357718750087485132156149340511959007419261407931504275231/15454187096339180099541034598400000000000000000000000000000000" + }, + { + "event": 4485, + "stage": 15, + "entrance_mass": "5230780602279043381317572379439763694807653157987526423412516241866438709931406455512285461654380762978554988724296151241130161368896505647624919395909388513302452136334767445346454946237326490486725295589968816639097338790755366202380875008783642473174121062695038054202858248061/304092979431152343750000000", + "entrance_defect": "790293359561982068161102319203597391770638314704665078574702775368865990734808444535440296156460015851165584229298495696055608663027407128260745988817142835407477589145224176738912719159458625532140118909145093275812800052123379755232176741292710966002339931291961759292087793218777907719421342136446651212861032695374148897813795486865402784564563227792501/7727093548169590049770517299200000000000000000000000000000000" + }, + { + "event": 4606, + "stage": 16, + "entrance_mass": "5790424100720951765768300756324298709533962301792798636386692749870979029496708556989270788662796627612885676197810930990877069943243536093513215980405080279750566239442965631097385199413957318608000177913047677092759213914423460784984181631621622445055356552059259436283593839861423838063/608185958862304687500000000", + "entrance_defect": "874847190848267485035034358994248957527147618152271997842169979767718837386145133657362338735832958448921525417269155878869869296402209541193680922025886112806534774092009386342286785663265087074542774275915639092572006511608043610321679761435049416755089708744182333317288243746193765542657470413709977445596445055128156877561166377778499400725168907790006538986583/15454187096339180099541034598400000000000000000000000000000000" + }, + { + "event": 4691, + "stage": 17, + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "entrance_defect": "1880483616253244524906233667341617821372093149348291771256012540247745741601874747590875542701204428881934091242516595772078870028141047987926477944971030237428954307266301796217661924772721760095069614253898800894304309148552974794052451048050312230429560399555750268093590448427612927616301737149473111263439664160741553151746425269011534821098912512563391682838972366311/15454187096339180099541034598400000000000000000000000000000000" + } + ], + "independent_adjoint": { + "M_caller": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "residual_mass": "48530772987196169508600836454613135968409268844708803139130099240586535680674437543873050021316232819999553913545728430664797821063140175136418822831808373056647706225543263455073475812952666218235770068459675266990285209256334902345279204347661407941023647073862709333404517372130920863018616571847201096829304140656168760733691030305565149389405672112141185869298281023181/11590640322254385074655775948800000000000000000000000000000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796247824792255124449682067424881/131368167114257812500000000000" + }, + "Sigma_caller": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "residual_mass": "48530772987196169508600836454613135968409268844708803139130099240586535680674437543873050021316232819999553913545728430664797821063140175136418822831808373056647706225543263455073475812952666218235770068459675266990285209256334902345279204347661407941023647073862709333404517372130920863018616571847201096829304152246809082988076104961341098189405672112141185869298281023181/11590640322254385074655775948800000000000000000000000000000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796379192959369382262182067424881/131368167114257812500000000000" + }, + "M_joint_entrance": { + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "residual_mass": "1880483616253244524906233667341617821372093149348291771256012540247745741601874747590875542701204428881934091242516595772078870028141047987926477944971030237428954307266301796217661924772721760095069614253898800894304309148552974794052451048050312230429560399555750268093590448427612927616301737149473111263439664160741553151746425269011534821098912512563391682838972366311/15454187096339180099541034598400000000000000000000000000000000", + "joint_coefficient": "144218124282401204617230263054514744346632405857442589144991781917530152132889870002846209306787762894150543865356389849084238452276894627352790762454037345126994351979907477144401257368423063007427271766117739822282248246858569624239109891511459830034432108241771054783468611278140179030295737/14596463012695312500000000000", + "primitive_coefficient": "1237373204913668966810008103424843603237049842106979534739539344726881600855129275554334885562896567825503574055929527662143657491595081161117482238618339640110136792453314323518006796600687371906278112102741547626404362403105174332310591538741639237757093806525664195341657589882317257470101709011/175157556152343750000000000000" + }, + "E_joint_entrance": { + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "residual_mass": "1880483616253244524906233667341617821372093149348291771256012540247745741601874747590875542701204428881934091242516595772078870028141047987926477944971030237428954307266301796217661924772721760095069614253898800894304309148552974794052451048050312230429560399555750268093590448427612927616301737149473111263439664160741553151746425269011534821098912512563391682838972366311/15454187096339180099541034598400000000000000000000000000000000", + "joint_coefficient": "144218124282401204617230263054514744346632405857442589144991781917530152132889870002846209306787762894150543865356389849084238452276894627352790762454037345126994351979907477144401257368423063007427271766117739822282248246858569624239109891511459830034432108241771054783468611278140179030295737/14596463012695312500000000000", + "primitive_coefficient": "1237373204913668966810008103424843603237049842106979534739539344726881600855129275554334885562896567825503574055929527662143657491595081161117482238618339640110136792453314323518006796600687371906278112102741547626404362403105174332310591538741639237757093806525664195341657589882317257470101709011/175157556152343750000000000000" + }, + "Gamma_context": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "residual_mass": "48530772987196169508600836454613135968409268844708803139130099240586535680674437543873050021316232819999553913545728430664797821063140175136418822831808373056647706225543263455073475812952666218235770068459675266990285209256334902345279204347661407941023647073862709333404517372130920863018616571847201096829304152246809082988076104961341098189405672112141185869298281023181/11590640322254385074655775948800000000000000000000000000000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796379192959369382262182067424881/131368167114257812500000000000" + } + }, + "physical_main_inputs": 3744, + "fresh_arbitrary_helpers": 18717, + "helper_allocation_premise": "distinct (stage, helper) public inputs as in frozen caller proof" + }, + "caller_grid_carried_from_matching_caller": { + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "prime_order": [ + 2, + 3, + 5 + ], + "safe_valuation_bound": [ + 381, + 69, + 62 + ], + "grid_exponents": [ + 381, + 3, + 2 + ], + "caller_odd_scale": "675", + "caller_odd_scale_bits": 10, + "preproduct_exact_divisions": 176874, + "peak_terms": 3752, + "scope": "Independent integer Laurent caller endpoint and pre-product divisibility. Valuation bound propagates complete field operators whose Gaussian coefficients have only power-of-two denominators, so odd factors are sourced only from the charged scalar operations. Fixed conversion and storage bounds still needed." + }, + "context_height": 397, + "context_mass_bits": 1082, + "context_c": 2164, + "context_le_4096": true, + "elapsed_seconds": 156.63180936698336, + "scope": "Conditional positive rounded envelopes and fixed scalar grid; no physical supplier, full signed application, ordinary or fixed-tape qualification." +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/LITERALS.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/LITERALS.json new file mode 100644 index 0000000000..463de83bf1 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/LITERALS.json @@ -0,0 +1,59 @@ +{ + "scope": "Declared literal predicates, no physical run.", + "source_pr": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "word_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "word_gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "failures_by_guard": {}, + "first_offending_literals": {}, + "max_numerator": [ + 11705329, + { + "clock": 150888, + "event": [ + "ADD", + 778, + 284, + "-11705329/1843200", + 127 + ], + "coefficient": "-11705329/1843200" + } + ], + "max_denominator": [ + 3686400, + { + "clock": 150846, + "event": [ + "ADD", + 828, + 284, + "-8462881/3686400", + 127 + ], + "coefficient": "-8462881/3686400" + } + ], + "max_abs_coefficient": [ + "2140571/64", + { + "clock": 60213, + "event": [ + "ADD", + 200, + 398, + "2140571/64", + 3 + ], + "coefficient": "2140571/64" + } + ], + "bounded_split_screen_if_needed": {}, + "controls": { + "smooth_nonzero_unit_accepts": true, + "nonsmooth_scale_rejects": true, + "nonsmooth_ADD_denominator_rejects": true, + "magnitude_endpoint_rejects": true, + "overwide_small_coefficient_rejects": true + } +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/ORDINARY.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/ORDINARY.json new file mode 100644 index 0000000000..08bdbb07be --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/ORDINARY.json @@ -0,0 +1,94 @@ +{ + "status": "RETAINED_MODEL_ACCOUNTING_ONLY", + "source_word_raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "source_engine_sha256": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "adapted_ordinary_sha256": "dbbcd61b09584ee3e232e284e6245f8d36df8d5b167f691ccfa50eff3ab5166f", + "declared_inventory": { + "paid": { + "1": 3980, + "2": 918, + "4": 271, + "3": 638, + "5": 355, + "6": 45, + "7": 13, + "8": 6 + }, + "helpers": { + "9": 614, + "2": 21, + "4": 225, + "8": 32, + "7": 19, + "3": 47, + "5": 80, + "6": 45, + "1": 18 + }, + "lifetimes": 180 + }, + "base": { + "scalar_upper": 6548076, + "init_clear_allowance": 720, + "route_items": { + "moves": 6226, + "helper_boundary": 2202, + "first_main_boundary": 208, + "second_main_boundary": 192, + "first_main_adapter": 416, + "second_main_adapter": 384, + "owned_lifetime": 720 + }, + "routing": 10348000, + "caller_items": { + "A": { + "envelope": 102076416, + "thin": 6144, + "field_boundary": 89856, + "output_routes": 213120000, + "idle_routes": 170112000, + "query_routes": 1152000, + "fused_routes": 0 + }, + "B": { + "envelope": 35730432, + "thin": 0, + "field_boundary": 7488, + "output_routes": 17760000, + "idle_routes": 18016000, + "query_routes": 0, + "fused_routes": 1168000 + } + }, + "caller_total": 559238336, + "raw_upper": 846471628, + "per_input_conversion": 2653768, + "lambda_second_charge": 11280000, + "conservative_total": 860405396, + "margin_to_billion": 139594604, + "odd_divisions": { + "ADD": 11624, + "SCALE": 113 + }, + "lambda_paid_rank1_would_reduce_S_by": 11280 + }, + "all_caller_scalar_surcharge": 2248928, + "charged_caller_odd_conversions": 479232, + "retained_signed_model_total": 863133556, + "retained_signed_model_margin": 136866444, + "native_scale_comparison": { + "old": 1125, + "new": 54675, + "conversion_sites": 51034, + "rate_old": 68, + "rate_new": 104, + "increment_if_all_sites_charged_at_rate_delta": 1837224, + "status": "sensitivity_only_overlap_with_retained_conversion_unresolved" + }, + "limitations": [ + "Declared dimension rank inventory only; no native, physical, signed or compiler admission.", + "Numerical source-unit model, not measured implementation cost.", + "Changed native grid conversion overlap, precision/storage, lifetime supplier and all physical costs remain open." + ] +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/RESULT.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/RESULT.json new file mode 100644 index 0000000000..d8747ba56b --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/RESULT.json @@ -0,0 +1,17 @@ +{ + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "case": "candidate", + "context": 2164, + "odd_scale": 54675, + "ordinary_upper": 868441092, + "receipts": { + "GRID.json": "e596d28ab544e001ad6d0d264c3ed15e5e01ff1f3ff983dc82bd9e6f17527c2d", + "LITERALS.json": "9571007d3f6726591d451a928b0130913e8e1b17d2d565bfd16c1e2b65d5cf0d", + "ORDINARY.json": "bb899760c4aeba1dff7931ed5835672228ef8edc50e55c86c0e97707660f57e7", + "TAPE-SCALAR.json": "8e232f4cacbce5828c27cfc0bc08b60a821238d442cf5140bdbd89e332a217fe", + "TARIFF.json": "c292162165962948e719e6de8abde42f5169ca40e199d70935b9d5de06f5619e" + }, + "source_head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "status": "PASS_LOWERED_7636_RESOURCE" +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/START.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/START.json new file mode 100644 index 0000000000..310d7acbaf --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/START.json @@ -0,0 +1,25 @@ +{ + "authorization": { + "bounds": { + "candidate": { + "cpu": 5, + "cpu_seconds": 410, + "wall_seconds": 420 + }, + "source": { + "cpu": 4, + "cpu_seconds": 410, + "wall_seconds": 420 + } + }, + "event_id": "p7636-180-lowering-grid-running", + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "receipt_id": "progress.kappa-run-2.00000335", + "receipt_sha256": "fb885f0cd4486ff611c6a558f7876c10148b1a612d9584bea4ba927d08d772e3", + "scope": "7636-lowered-paired-resource", + "spec_sha256": "bbdc1923ce562bfe5be3fb521ab0ef3e545c90dd9b8a8692d654cd290de29d12", + "status": "GO" + }, + "case": "candidate", + "started": "2026-11-18T03:50:34.865930+00:00" +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/TAPE-SCALAR.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/TAPE-SCALAR.json new file mode 100644 index 0000000000..a96b5e5276 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/TAPE-SCALAR.json @@ -0,0 +1,40 @@ +{ + "status": "SCALAR_CENSUS_ONLY", + "source_raw_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "fixed_tape_source_sha256": "e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb", + "opcodes": { + "SCALE": 4536, + "ADD": 191544, + "INIT": 180, + "MOVE": 6226, + "CLEAR": 180, + "COPY": 1 + }, + "native_invocations": 17, + "native_nonmove_per_call": 196441, + "caller_macros": 117856, + "conversion_sites": 58522, + "scalar_macro_inputs": { + "native": 3339497, + "caller": 117856, + "conversions": 58522 + }, + "scalar_services_upper": 112508000, + "scalar_steps_coefficient": 117973188608000, + "max_literal_numerator_bits": 24, + "max_numerator_witness": [ + "-8462881/3686400", + "native", + 150846 + ], + "max_absolute_coefficient": [ + "54675", + "conversion", + "54675" + ], + "retained_24bit_numerator_gate_passes": true, + "retained_scalar_magnitude_lt_2pow16_gate_passes": true, + "scale_assumed_for_comparison": 54675, + "scope": "Finite tariff substitutions only; requires fresh matching precision, physical/paid binding, signed application, compiler and supplier. Scale input is separately bound by the grid receipt or marked as provisional." +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-candidate/TARIFF.json b/research/p104-180-contact-application/evidence/resources/resource-candidate/TARIFF.json new file mode 100644 index 0000000000..9a93ddb3b5 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-candidate/TARIFF.json @@ -0,0 +1,19 @@ +{ + "source_pr": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "word_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "canonical_sha256": "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e", + "word_gzip_sha256": "d1436b5481f6d0d796046a1a259919ccdcf9a94fa8308598429bb105747537b7", + "scope": "Declared 17-call model accounting. Keep the retained charge and double-charge all native conversions under the same conditional full-field tariff.", + "native_scale": 54675, + "native_conversion_sites": 51034, + "units_per_site": 104, + "extra_conversion_ordinary": 5307536, + "retained_signed_model_total": 863133556, + "conservative_total": 868441092, + "margin": 131558908, + "strict_ceiling_met": true, + "tape_control_arithmetic": { + "exact_ceiling_rejected": true, + "omitted_conversion_rejected": true + } +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/EXIT.json b/research/p104-180-contact-application/evidence/resources/resource-source/EXIT.json new file mode 100644 index 0000000000..58c8f62ff1 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/EXIT.json @@ -0,0 +1,5 @@ +{ + "ended": "2026-11-18T03:53:16.615844+00:00", + "result_sha256": "4dd9b1c7e63d18685199aca19f00cf77c675bce8c854b70e193ce7b5e0f5588f", + "status": "COMPLETE" +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/GRID.json b/research/p104-180-contact-application/evidence/resources/resource-source/GRID.json new file mode 100644 index 0000000000..22d84a6bec --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/GRID.json @@ -0,0 +1,435 @@ +{ + "status": "FINITE_GRID_AND_ENVELOPE_ONLY", + "compressed_word_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "decompressed_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "canonical_word_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "source_pins": { + "derive_grid.py": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0", + "independent_bounds.py": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "envelopes.py": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "source_binding.py": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "ODD-TYPE-AB-CALLER.json": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "ODD-CALLER-EXACT-GRID.json": "87d25d9fa3778bf4784e3a9e17f32ce5ba372663c6e97392cc62b87e6719042c" + }, + "engines": { + "rational": { + "source_sha256": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0", + "adapted_sha256": "ceb7a44ef19d72a16db7b43c65c85910d965499d1715436011de32af5d39dbb0", + "edits": [] + }, + "integer": { + "source_sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "adapted_sha256": "198521def614fe78fa728f1dde2b7fb820c0c0e0ac3ad0c9224dccbf51eac0d5", + "edits": [] + }, + "binding": { + "source_sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "adapted_sha256": "624c459311c58f3847b7713b818bfd340153abf42919f02ac9aa8892ed52a2bd", + "edits": [] + }, + "envelope": { + "source_sha256": "783da6b5b450fc07434946cb9ec86070dfee01df6b5fa1c385cb024def2c9a9f", + "adapted_sha256": "3c01e453cbd98d6c06e93df0e826adaefc25b942ca22234f21a21f25800183f9", + "edits": [ + { + "old": "elif op in (\"LAMBDA\", \"IDLE_ONE\"):", + "new": "elif op in (\"LAMBDA\", \"IDLE_ONE\", \"IDLE_ODD\"):", + "count": 2 + }, + { + "old": "all(0 <= r < 38 for r in ar) and all(38 <= r < 76 for r in br[:2])", + "new": "all(caller[\"types\"][\"A\"][\"offset\"] <= r < caller[\"types\"][\"A\"][\"offset\"] + caller[\"types\"][\"A\"][\"roles\"] for r in ar) and all(caller[\"types\"][\"B\"][\"offset\"] <= r < caller[\"types\"][\"B\"][\"offset\"] + caller[\"types\"][\"B\"][\"roles\"] for r in br[:2])", + "count": 1 + }, + { + "old": "all(1 <= k <= 18 for k in e[3])", + "new": "all(1 <= k <= caller[\"stages\"] for k in e[3])", + "count": 1 + }, + { + "old": "need(j_order == list(range(1, 19)), \"exact eighteen native calls\")", + "new": "need(j_order == list(range(1, caller[\"stages\"] + 1)), \"all chronological native calls\")", + "count": 1 + }, + { + "old": "word[\"public\"] - len(mains) == 1061", + "new": "word[\"public\"] - len(mains) == expected_helper_count", + "count": 1 + }, + { + "old": "physical_main_inputs=3952, fresh_arbitrary_helpers=18 * 1061,", + "new": "physical_main_inputs=sum(t[\"roles\"] * len(t[\"ports\"]) for t in caller[\"types\"].values()), fresh_arbitrary_helpers=caller[\"stages\"] * expected_helper_count,", + "count": 1 + }, + { + "old": "need(len(e[3]) == len(set(e[3]))", + "new": "need(op != \"IDLE_ODD\" or (len(e[3]) == 1 and e[4] == -1), \"signed child signature\")\n need(len(e[3]) == len(set(e[3]))", + "count": 1 + }, + { + "old": "(life, peak, owned_count) == (54, 43, 51)", + "new": "(life, peak, owned_count) == (180, 50, 68)", + "count": 1 + } + ] + } + }, + "rational_grid": { + "odd_scale": 54675, + "fractional_bits": 16, + "unscaled_maximum_mass": "864932913/1024", + "scaled_maximum_mass": "47290207018275/1024", + "mass_witness": [ + 60213, + "stored" + ], + "coefficient_visits": 42789208 + }, + "integer_grid": { + "odd_scale_lcm": 54675, + "dyadic_height": 16, + "maximum_scaled_mass": "47290207018275/1024", + "mass_witness": [ + 60213, + "stored add" + ], + "numerator_bits": 24, + "coefficient_visits": 42789208 + }, + "native_envelope": { + "census": { + "events": 202669, + "public": 1501, + "owned_labels": 68, + "lifetimes": 180, + "peak_owned": 50, + "opcodes": { + "SCALE": 4536, + "ADD": 191544, + "INIT": 180, + "MOVE": 6228, + "CLEAR": 180, + "COPY": 1 + }, + "scalars": { + "integer": 66012, + "dyadic": 184344, + "noninteger": 130069, + "odd": 11737 + }, + "max_numerator": 11705329, + "numerator_bits": 24, + "max_denominator": 3686400, + "denominator_bits": 22 + }, + "bounds": { + "M": { + "exact": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "strict_power_of_two": 165, + "witness": { + "cut": 201593, + "register": 1392, + "factor": "1", + "kind": "stored" + } + }, + "Sigma": { + "exact": "13039162904178182303675038824494232195042476915386419716412599020823868969830303/1058762460665838004598734848000000", + "strict_power_of_two": 154, + "witness": { + "cut": 201593, + "register": 1392, + "factor": "1", + "kind": "stored" + } + }, + "Gamma": { + "exact": "13039162904178182303675038824494232195042476915386419716412599020823868969830303/1058762460665838004598734848000000", + "strict_power_of_two": 154, + "witness": { + "cut": 202669, + "register": 1392, + "factor": "1", + "kind": "public-return" + } + } + }, + "independent_adjoint": { + "M": { + "entrance_mass": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "residual_mass": "13039162904178182303675038824494232195042476915386419716412599020823868969830303/1058762460665838004598734848000000", + "active_residual_sites": 85314 + }, + "Sigma": { + "entrance_mass": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "residual_mass": "13039162904178182303675038824494232195042476915386419716412599020823868969830303/1058762460665838004598734848000000", + "active_residual_sites": 85314 + }, + "Gamma": { + "entrance_mass": "6266223292582507259049299264014692902794999371838541142967665205777732114910254348211/254102990559801121103696363520000000", + "residual_mass": "13039162904178182303675038824494232195042476915386419716412599020823868969830303/1058762460665838004598734848000000", + "active_residual_sites": 85314 + } + } + }, + "caller_envelope": { + "bounds": { + "M_caller": { + "exact": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "strict_power_of_two": 897, + "witness": { + "event": 4750, + "register": 37, + "cut": 4751, + "factor": "1", + "kind": "stored" + } + }, + "Sigma_caller": { + "exact": "48530772987196169508600836454613137975618947011270927471355128120554579198437558973627477773078930072056224854142001625798314218208249060067113657196470698344251443636976653698432250868314418893425281149346164273093575937919547290404343651608973167018509882168213799825488566731940120531267014235017999935802379182768335514802439786999469116713468425660706472669249546815181/11590640322254385074655775948800000000000000000000000000000000", + "strict_power_of_two": 1039, + "witness": { + "event": 4752, + "register": 37, + "cut": 4753, + "factor": "1", + "kind": "stored" + } + }, + "M_joint_entrance": { + "exact": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "strict_power_of_two": 892, + "witness": { + "event": 4691, + "register": 36, + "cut": 4691, + "factor": "1", + "kind": "stored" + } + }, + "E_joint_entrance": { + "exact": "1880483616253244524906233667341617899148000719849948360052186528749513291879604096840618765006906058042595599617434806866704515229892745512871001201329897591050209921666416767520330801754022726982704554103999900449566901526238274130719917763571411004231916736933029889600316504959155905995148241675271675091968749782999588806642711316628729293261698615888644780119738318311/15454187096339180099541034598400000000000000000000000000000000", + "strict_power_of_two": 1034, + "witness": { + "event": 4691, + "register": 36, + "cut": 4691, + "factor": "1", + "kind": "stored" + } + }, + "M_context": { + "exact": "77992634819520449578655924582076591725084892228781785833773867532096204167048784732884606920936057754632410395155958486979007151702000058112418328175604752698403554239485673132392855632379293605076979272296539771203975060510846143867052281270292998703452394730705826881942038584560374324595965746334344697831353393140125052625225078864714739931666305304263039773179976866770762381/154541870963391800995410345984000000000000000000000000000000000", + "strict_power_of_two": 1056, + "witness": { + "event": 4691, + "register": null, + "cut": 4692, + "factor": "1", + "kind": "stored" + } + }, + "Sigma_context": { + "exact": "11783530237485865969529707298623486361853097536486997597781221117477151987027165485117339498121451475926460088283437577570374972387837727961887425757317008792058383978904289580653487617739172228711362587849811267729509532146958461301342351319001674046416174158092192399615918131675369549645512191022590750300312408363497687948861266545566518024993777642186109722337118427749372260023770208210514253096281336655678813307727444790797527065818752924060551391621/3926955157850474979718825538138932850504861715272583610368000000000000000000000000000000000000000", + "strict_power_of_two": 1198, + "witness": { + "event": 4691, + "register": null, + "cut": 4692, + "factor": "1", + "kind": "stored" + } + }, + "Gamma_context": { + "exact": "48530772987196169508600836454613137975618947011270927471355128120554579198437558973627477773078930072056224854142001625798314218208249060067113657196470698344251443636976653698432250868314418893425281149346164273093575937919547290404343651608973167018509882168213799825488566731940120531267014235017999935802379182768335514802439786999469116713468425660706472669249546815181/11590640322254385074655775948800000000000000000000000000000000", + "strict_power_of_two": 1039, + "witness": { + "register": 37, + "cut": 4783, + "factor": "1", + "kind": "public-return" + } + } + }, + "sites": { + "ADD": 4126, + "noninteger_scalar": 1752, + "SCALE": 312, + "IDLE_ONE": 90, + "LAMBDA": 178, + "J": 17, + "IDLE_ODD": 4, + "SWAP": 52, + "QUERY": 4 + }, + "joint_entries": [ + { + "event": 43, + "stage": 1, + "entrance_mass": "2067/2", + "entrance_defect": "1435/4" + }, + { + "event": 137, + "stage": 2, + "entrance_mass": "56849465528/5", + "entrance_defect": "22367471319967583171000287324809177367001231496562478330698916208116099189658330578321/330863268958074376437104640000000" + }, + { + "event": 268, + "stage": 3, + "entrance_mass": "899756300051784928313/5", + "entrance_defect": "33984957658383297211539894249122910289676546767155041131455509526345226380993949953361171767961361/31762873819975140137962045440000000" + }, + { + "event": 432, + "stage": 4, + "entrance_mass": "2514111326902273689027625979152/15", + "entrance_defect": "31653744089119116529758979479082460448573172849597096944156627471059652583292845236405392882087041533525073/31762873819975140137962045440000000" + }, + { + "event": 633, + "stage": 5, + "entrance_mass": "513576167499541081817002847690160861158177/15", + "entrance_defect": "6466145075735924379804098882574231189466979478138632480210121012656219406745522712204799785882407069645706525948540983/31762873819975140137962045440000000" + }, + { + "event": 867, + "stage": 6, + "entrance_mass": "49174910102467876864090432969907258581035345395534834/225", + "entrance_defect": "619133291088928019765452539723209817693016164873842817773073768722746524639634968299033431780162917731961440078818520316902315147/476443107299627102069430681600000000" + }, + { + "event": 1138, + "stage": 7, + "entrance_mass": "47202796791779792903787260464709452698419616298153732189406926691/225", + "entrance_defect": "66033726154251097855133534941834164208217759223606787963899146475038331522280917399339557967732916691009120295497377075809780863633826612197/52938123033291900229936742400000000" + }, + { + "event": 1423, + "stage": 8, + "entrance_mass": "1527059719525243651854937925515623170877847518562264265010551055991429949116792541/28125", + "entrance_defect": "19226339364300153922853144964053315998492090978634734725246101614267657002419538658553605811925047929521480841804204531637971616120588382347633570631221278963/59555388412453387758678835200000000000" + }, + { + "event": 3058, + "stage": 9, + "entrance_mass": "45382020709918266925583064268574418985484021788023395083741971786893952543604385214817042722264713249357732585113211736557042182118473445437784492974844696068231496289005681248244219743195326431922663592509646282903/2703048706054687500000000", + "entrance_defect": "6856550166704827643481539345359325401470072126173804324334796436296837246946376022713983483930337139987958562554013923734826877764526455445690103864524958957861258738943983841799463349126771108156569871097447372426408522212776490750903790697274479637473870975059134389554007374646555891641023/68685275983729689331293487104000000000000000000000000000000" + }, + { + "event": 3377, + "stage": 10, + "entrance_mass": "17256576412236653193246225901973714737195067836439327666112948810725372605325768521068989782195051084826433423902219365061463548934152577319772447024097669813834215493691840531234110147024064996639957180865886380686899413865699437/67576217651367187500000000", + "entrance_defect": "2607212724889017320319689512190736561286812866156391787217766014681533670820474321452524311982836868478797016953838310267656014958178003037082139454433346530746796981414323607746913935930994829013813893243429936658640419285674497708691084021865454511273908707081251469259517091928327797221425836850554394917/1717131899593242233282337177600000000000000000000000000000000" + }, + { + "event": 3674, + "stage": 11, + "entrance_mass": "8232867642949280967953864719378369729636081542640965177026582834276172086852779069019078166383458700724373015543641299678854718814560615654710102550769670203427726502361438450768012893674227975469242856299447027845030556012745339827937032703/2252540588378906250000000", + "entrance_defect": "1243864180719165219690971074798141334649015557969230378841955006648046026611291888676694074965887813913264104871271925113550251206088750769444834886251483020822127332806691552439005143950262272017820193395676398057462863917903087919745927679081652440082720109645439921405261137767996372572278681188332745520407499582823/57237729986441407776077905920000000000000000000000000000000" + }, + { + "event": 3934, + "stage": 12, + "entrance_mass": "103457615351059805192637231353494210876529187337645013912367786609511281374638184501291799844537790265462481580051228205479278831706979374022592427678836083146990308179368316797029946556942233864286312243671687806427572314354434738422294564686254956597631/304092979431152343750000000", + "entrance_defect": "15630911067544453668182630341007550704547073803862182104967116618746985434611379174441276078280303058763602905456545251096812608153373073950611110062126073547403082563046776512189872097108862306075364289120575935616867877998476973393047115684392563730751125257595356181274207813241572328940985739272610975836966152376317133126636871/7727093548169590049770517299200000000000000000000000000000000" + }, + { + "event": 4149, + "stage": 13, + "entrance_mass": "6814687293408352348961376609223100753789665399854180217091951198766673494955017243489117504312576625705862588971333049204842152193259763726092611947454717867967563820647006231530855513792517852570389360287582421241328472893443552787136426885585158158296407747039/76023244857788085937500000", + "entrance_defect": "1029598166117986005688927312326465092519219821762055162856635047680624745487352090265928734356334852219862454503116611406076438025087259844436777410608426659893099707257132219159896232701477664865195187313537135997112914284313318844318405567517834640146920424244645143733705722848018603055165473780190177274129015901269461214299009225374599/1931773387042397512442629324800000000000000000000000000000000" + }, + { + "event": 4337, + "stage": 14, + "entrance_mass": "273688564209132230699064882255651065961520374651451250325109091529813162250488973700796593555467744131430272845604649750549608356985710665121874068107850799585492748533787927289567936649257940207702597871193107311090132538524151482351564937285621850171994049078063458209591/608185958862304687500000000", + "entrance_defect": "41350282362883135852778096539124740365162398300330366086193721034066259422151659707583135292511933834090156294820582995410500338938199279446040653253871954940723875360366689449387341932915779737278831609117482401994070664117923652662052023313908476049473906435932767510437398844439825891321229593732881719262499516071928393095823073348094725035667231/15454187096339180099541034598400000000000000000000000000000000" + }, + { + "event": 4485, + "stage": 15, + "entrance_mass": "5230780602279043381317572379439763694807653157987526423412516241866438709931406455512285461654380762978554988724296151241130161368896505647624919395909388513302452136334767445346454946237326490486725295589968816639097338790755366202380875008783642473174121062695038054202858248061/304092979431152343750000000", + "entrance_defect": "790293359561982068161102319203597424456795617867448132012158020742397172980049655141329024114374732258697931172692417043040004947208234322553634324628255703116964950230922252336809128863804207785317027868699585599281400557601362320644257549073821952315627977918473872212397440264834946330037921530426863979126289252921537325142806722539595407255464391824501/7727093548169590049770517299200000000000000000000000000000000" + }, + { + "event": 4606, + "stage": 16, + "entrance_mass": "5790424100720951765768300756324298709533962301792798636386692749870979029496708556989270788662796627612885676197810930990877069943243536093513215980405080279750566239442965631097385199413957318608000177913047677092759213914423460784984181631621622445055356552059259436283593839861423838063/608185958862304687500000000", + "entrance_defect": "874847190848267485035034358994248993710411149741935837585814306948893857643286659474753322020425130533265448813268700124660741612637273721930765326602252906205263048747867902024570724444196737466295634362288923059861581410387864356308099256971149471323206320565170631066951155641989473063913818984615277247267764655201936167797683875297621209073942551376069841642583/15454187096339180099541034598400000000000000000000000000000000" + }, + { + "event": 4691, + "stage": 17, + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "entrance_defect": "1880483616253244524906233667341617899148000719849948360052186528749513291879604096840618765006906058042595599617434806866704515229892745512871001201329897591050209921666416767520330801754022726982704554103999900449566901526238274130719917763571411004231916736933029889600316504959155905995148241675271675091968749782999588806642711316628729293261698615888644780119738318311/15454187096339180099541034598400000000000000000000000000000000" + } + ], + "independent_adjoint": { + "M_caller": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "residual_mass": "48530772987196169508600836454613137975618947011270927471355128120554579198437558973627477773078930072056224854142001625798314218208249060067113657196470698344251443636976653698432250868314418893425281149346164273093575937919547290404343651608973167018509882168213799825488566731940120531267014235017999935802379171177695192548054712343693167913468425660706472669249546815181/11590640322254385074655775948800000000000000000000000000000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796247824792255124449682067424881/131368167114257812500000000000" + }, + "Sigma_caller": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "residual_mass": "48530772987196169508600836454613137975618947011270927471355128120554579198437558973627477773078930072056224854142001625798314218208249060067113657196470698344251443636976653698432250868314418893425281149346164273093575937919547290404343651608973167018509882168213799825488566731940120531267014235017999935802379182768335514802439786999469116713468425660706472669249546815181/11590640322254385074655775948800000000000000000000000000000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796379192959369382262182067424881/131368167114257812500000000000" + }, + "M_joint_entrance": { + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "residual_mass": "1880483616253244524906233667341617899148000719849948360052186528749513291879604096840618765006906058042595599617434806866704515229892745512871001201329897591050209921666416767520330801754022726982704554103999900449566901526238274130719917763571411004231916736933029889600316504959155905995148241675271675091968749782999588806642711316628729293261698615888644780119738318311/15454187096339180099541034598400000000000000000000000000000000", + "joint_coefficient": "144218124282401204617230263054514744346632405857442589144991781917530152132889870002846209306787762894150543865356389849084238452276894627352790762454037345126994351979907477144401257368423063007427271766117739822282248246858569624239109891511459830034432108241771054783468611278140179030295737/14596463012695312500000000000", + "primitive_coefficient": "1237373204913668966810008103424843603237049842106979534739539344726881600855129275554334885562896567825503574055929527662143657491595081161117482238618339640110136792453314323518006796600687371906278112102741547626404362403105174332310591538741639237757093806525664195341657589882317257470101709011/175157556152343750000000000000" + }, + "E_joint_entrance": { + "entrance_mass": "12446513821466013746992171114880354528234540647439407368041740746722705684890095694539586093101687855496797040728247169012299728404791642365323413178973703529222728715961384485250463009966565309368602073434714550373752128374887698957802006867751735225949803848812917591840288770078529478244705471/608185958862304687500000000", + "residual_mass": "1880483616253244524906233667341617899148000719849948360052186528749513291879604096840618765006906058042595599617434806866704515229892745512871001201329897591050209921666416767520330801754022726982704554103999900449566901526238274130719917763571411004231916736933029889600316504959155905995148241675271675091968749782999588806642711316628729293261698615888644780119738318311/15454187096339180099541034598400000000000000000000000000000000", + "joint_coefficient": "144218124282401204617230263054514744346632405857442589144991781917530152132889870002846209306787762894150543865356389849084238452276894627352790762454037345126994351979907477144401257368423063007427271766117739822282248246858569624239109891511459830034432108241771054783468611278140179030295737/14596463012695312500000000000", + "primitive_coefficient": "1237373204913668966810008103424843603237049842106979534739539344726881600855129275554334885562896567825503574055929527662143657491595081161117482238618339640110136792453314323518006796600687371906278112102741547626404362403105174332310591538741639237757093806525664195341657589882317257470101709011/175157556152343750000000000000" + }, + "Gamma_context": { + "entrance_mass": "321214676655933560129782836030951119958622429471431692811117505066079252658303325303661828534046786576018850667853596288128047313819788006911616028348392581085050721023636971054851673799947587501432346122953175312809813833001587100311020687804583808767060460431114911369649528995555025426696059541/456139469146728515625000000", + "residual_mass": "48530772987196169508600836454613137975618947011270927471355128120554579198437558973627477773078930072056224854142001625798314218208249060067113657196470698344251443636976653698432250868314418893425281149346164273093575937919547290404343651608973167018509882168213799825488566731940120531267014235017999935802379182768335514802439786999469116713468425660706472669249546815181/11590640322254385074655775948800000000000000000000000000000000", + "joint_coefficient": "3721923971948022264020008386608472289590988528157114268392412469599050143495508978788641788787976594161440706214373829555996384554677122174093932095769106055424540710380314024651007332164525664382203471694821380954416641216321248248752759218861172626274920078125266851782731337714997593665899027/10947347259521484375000000000", + "primitive_coefficient": "31933635363307317503891208167952125518099265598871297188945655447689887409437080424471754322893069036961252717295444311531802702290424391181977246033332095685934810861449534911850277930109610390733877602745069385156892357266512877411313922547610591253415658016844390796379192959369382262182067424881/131368167114257812500000000000" + } + }, + "physical_main_inputs": 3744, + "fresh_arbitrary_helpers": 18717, + "helper_allocation_premise": "distinct (stage, helper) public inputs as in frozen caller proof" + }, + "caller_grid_carried_from_matching_caller": { + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "prime_order": [ + 2, + 3, + 5 + ], + "safe_valuation_bound": [ + 381, + 69, + 62 + ], + "grid_exponents": [ + 381, + 3, + 2 + ], + "caller_odd_scale": "675", + "caller_odd_scale_bits": 10, + "preproduct_exact_divisions": 176874, + "peak_terms": 3752, + "scope": "Independent integer Laurent caller endpoint and pre-product divisibility. Valuation bound propagates complete field operators whose Gaussian coefficients have only power-of-two denominators, so odd factors are sourced only from the charged scalar operations. Fixed conversion and storage bounds still needed." + }, + "context_height": 397, + "context_mass_bits": 1082, + "context_c": 2164, + "context_le_4096": true, + "elapsed_seconds": 155.1726385949878, + "scope": "Conditional positive rounded envelopes and fixed scalar grid; no physical supplier, full signed application, ordinary or fixed-tape qualification." +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/LITERALS.json b/research/p104-180-contact-application/evidence/resources/resource-source/LITERALS.json new file mode 100644 index 0000000000..22ae8aa8f2 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/LITERALS.json @@ -0,0 +1,59 @@ +{ + "scope": "Declared literal predicates, no physical run.", + "source_pr": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "word_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "word_gzip_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "failures_by_guard": {}, + "first_offending_literals": {}, + "max_numerator": [ + 11705329, + { + "clock": 150890, + "event": [ + "ADD", + 778, + 284, + "-11705329/1843200", + 127 + ], + "coefficient": "-11705329/1843200" + } + ], + "max_denominator": [ + 3686400, + { + "clock": 150848, + "event": [ + "ADD", + 828, + 284, + "-8462881/3686400", + 127 + ], + "coefficient": "-8462881/3686400" + } + ], + "max_abs_coefficient": [ + "2140571/64", + { + "clock": 60213, + "event": [ + "ADD", + 200, + 398, + "2140571/64", + 3 + ], + "coefficient": "2140571/64" + } + ], + "bounded_split_screen_if_needed": {}, + "controls": { + "smooth_nonzero_unit_accepts": true, + "nonsmooth_scale_rejects": true, + "nonsmooth_ADD_denominator_rejects": true, + "magnitude_endpoint_rejects": true, + "overwide_small_coefficient_rejects": true + } +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/ORDINARY.json b/research/p104-180-contact-application/evidence/resources/resource-source/ORDINARY.json new file mode 100644 index 0000000000..e453075252 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/ORDINARY.json @@ -0,0 +1,94 @@ +{ + "status": "RETAINED_MODEL_ACCOUNTING_ONLY", + "source_word_raw_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "source_engine_sha256": "21f46a8340331abb1486b50bd4e04453f1968b0a5950d86ff7780dd368590874", + "adapted_ordinary_sha256": "dbbcd61b09584ee3e232e284e6245f8d36df8d5b167f691ccfa50eff3ab5166f", + "declared_inventory": { + "paid": { + "1": 3983, + "2": 917, + "4": 272, + "3": 638, + "5": 354, + "6": 45, + "7": 13, + "8": 6 + }, + "helpers": { + "9": 614, + "2": 21, + "4": 225, + "8": 32, + "7": 19, + "3": 47, + "5": 80, + "6": 45, + "1": 18 + }, + "lifetimes": 180 + }, + "base": { + "scalar_upper": 6548076, + "init_clear_allowance": 720, + "route_items": { + "moves": 6228, + "helper_boundary": 2202, + "first_main_boundary": 208, + "second_main_boundary": 192, + "first_main_adapter": 416, + "second_main_adapter": 384, + "owned_lifetime": 720 + }, + "routing": 10350000, + "caller_items": { + "A": { + "envelope": 102076416, + "thin": 6144, + "field_boundary": 89856, + "output_routes": 213120000, + "idle_routes": 170112000, + "query_routes": 1152000, + "fused_routes": 0 + }, + "B": { + "envelope": 35730432, + "thin": 0, + "field_boundary": 7488, + "output_routes": 17760000, + "idle_routes": 18016000, + "query_routes": 0, + "fused_routes": 1168000 + } + }, + "caller_total": 559238336, + "raw_upper": 846505628, + "per_input_conversion": 2653768, + "lambda_second_charge": 11280000, + "conservative_total": 860439396, + "margin_to_billion": 139560604, + "odd_divisions": { + "ADD": 11624, + "SCALE": 113 + }, + "lambda_paid_rank1_would_reduce_S_by": 11280 + }, + "all_caller_scalar_surcharge": 2248928, + "charged_caller_odd_conversions": 479232, + "retained_signed_model_total": 863167556, + "retained_signed_model_margin": 136832444, + "native_scale_comparison": { + "old": 1125, + "new": 54675, + "conversion_sites": 51034, + "rate_old": 68, + "rate_new": 104, + "increment_if_all_sites_charged_at_rate_delta": 1837224, + "status": "sensitivity_only_overlap_with_retained_conversion_unresolved" + }, + "limitations": [ + "Declared dimension rank inventory only; no native, physical, signed or compiler admission.", + "Numerical source-unit model, not measured implementation cost.", + "Changed native grid conversion overlap, precision/storage, lifetime supplier and all physical costs remain open." + ] +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/RESULT.json b/research/p104-180-contact-application/evidence/resources/resource-source/RESULT.json new file mode 100644 index 0000000000..4e99793b53 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/RESULT.json @@ -0,0 +1,17 @@ +{ + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "case": "source", + "context": 2164, + "odd_scale": 54675, + "ordinary_upper": 868475092, + "receipts": { + "GRID.json": "101d3c66b3decd2231705ffb0dda7151437715aa6265baef2bd484309388ff04", + "LITERALS.json": "df852def07e9fc2c68d80514d1acbbbd7af326c8a0a276932b55960752e99c0d", + "ORDINARY.json": "0726007bfea9d0623048055bc48dff86e08897ebcb9ac43978d07f19569c5617", + "TAPE-SCALAR.json": "3ab31ab19e01dd85808a0a4f8a1b3d6a1a51aca52abd7882e6e7577acabc9a1b", + "TARIFF.json": "7f1707725feade5be796635610195e4132f1e0cb99b95b762f540c0ba35f8f63" + }, + "source_head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "status": "PASS_LOWERED_7636_RESOURCE" +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/START.json b/research/p104-180-contact-application/evidence/resources/resource-source/START.json new file mode 100644 index 0000000000..60a68b3d75 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/START.json @@ -0,0 +1,25 @@ +{ + "authorization": { + "bounds": { + "candidate": { + "cpu": 5, + "cpu_seconds": 410, + "wall_seconds": 420 + }, + "source": { + "cpu": 4, + "cpu_seconds": 410, + "wall_seconds": 420 + } + }, + "event_id": "p7636-180-lowering-grid-running", + "public_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656", + "receipt_id": "progress.kappa-run-2.00000335", + "receipt_sha256": "fb885f0cd4486ff611c6a558f7876c10148b1a612d9584bea4ba927d08d772e3", + "scope": "7636-lowered-paired-resource", + "spec_sha256": "bbdc1923ce562bfe5be3fb521ab0ef3e545c90dd9b8a8692d654cd290de29d12", + "status": "GO" + }, + "case": "source", + "started": "2026-11-18T03:50:34.861954+00:00" +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/TAPE-SCALAR.json b/research/p104-180-contact-application/evidence/resources/resource-source/TAPE-SCALAR.json new file mode 100644 index 0000000000..e956d9ffdd --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/TAPE-SCALAR.json @@ -0,0 +1,40 @@ +{ + "status": "SCALAR_CENSUS_ONLY", + "source_raw_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "caller_sha256": "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc", + "fixed_tape_source_sha256": "e6246e9f8fbeae3077d82e585eafd3647c1a8758c58f33c7c13e7efa6c1e42bb", + "opcodes": { + "SCALE": 4536, + "ADD": 191544, + "INIT": 180, + "MOVE": 6228, + "CLEAR": 180, + "COPY": 1 + }, + "native_invocations": 17, + "native_nonmove_per_call": 196441, + "caller_macros": 117856, + "conversion_sites": 58522, + "scalar_macro_inputs": { + "native": 3339497, + "caller": 117856, + "conversions": 58522 + }, + "scalar_services_upper": 112508000, + "scalar_steps_coefficient": 117973188608000, + "max_literal_numerator_bits": 24, + "max_numerator_witness": [ + "-8462881/3686400", + "native", + 150848 + ], + "max_absolute_coefficient": [ + "54675", + "conversion", + "54675" + ], + "retained_24bit_numerator_gate_passes": true, + "retained_scalar_magnitude_lt_2pow16_gate_passes": true, + "scale_assumed_for_comparison": 54675, + "scope": "Finite tariff substitutions only; requires fresh matching precision, physical/paid binding, signed application, compiler and supplier. Scale input is separately bound by the grid receipt or marked as provisional." +} diff --git a/research/p104-180-contact-application/evidence/resources/resource-source/TARIFF.json b/research/p104-180-contact-application/evidence/resources/resource-source/TARIFF.json new file mode 100644 index 0000000000..90e789bd13 --- /dev/null +++ b/research/p104-180-contact-application/evidence/resources/resource-source/TARIFF.json @@ -0,0 +1,19 @@ +{ + "source_pr": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "word_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "canonical_sha256": "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8", + "word_gzip_sha256": "7a9357b719b7b644292366877161da2ebad0bdfa567fdd50963313fb73e8b16a", + "scope": "Declared 17-call model accounting. Keep the retained charge and double-charge all native conversions under the same conditional full-field tariff.", + "native_scale": 54675, + "native_conversion_sites": 51034, + "units_per_site": 104, + "extra_conversion_ordinary": 5307536, + "retained_signed_model_total": 863167556, + "conservative_total": 868475092, + "margin": 131524908, + "strict_ceiling_met": true, + "tape_control_arithmetic": { + "exact_ceiling_rejected": true, + "omitted_conversion_rejected": true + } +} diff --git a/research/p104-180-contact-application/inputs/independent/7661-RESULT.json b/research/p104-180-contact-application/inputs/independent/7661-RESULT.json new file mode 100644 index 0000000000..9dc6582cce --- /dev/null +++ b/research/p104-180-contact-application/inputs/independent/7661-RESULT.json @@ -0,0 +1,129 @@ +{ + "native_calls": 17, + "caller_events": 4783, + "root_owners": 3744, + "native_public_helpers_per_call": 1084, + "K_paid": { + "1": 384, + "8": 656, + "9": 32, + "16": 416, + "24": 416, + "32": 416, + "40": 416, + "48": 416, + "56": 416, + "64": 208 + }, + "K_T_declared_roots": { + "9": 416, + "17": 416, + "25": 416, + "33": 416, + "41": 416, + "49": 416, + "57": 416, + "65": 416, + "73": 208, + "137": 208 + }, + "caller_paid_positions": 3776, + "caller_rank_surplus": 57728, + "paid_by_operation": { + "A:IDLE_ONE": { + "8": 384, + "16": 384, + "24": 384, + "32": 384, + "40": 384, + "48": 384, + "56": 384, + "64": 192 + }, + "A:QUERY": { + "1": 384 + }, + "B:IDLE_ODD": { + "9": 32 + }, + "B:IDLE_ONE": { + "8": 272, + "16": 32, + "24": 32, + "32": 32, + "40": 32, + "48": 32, + "56": 32, + "64": 16 + } + }, + "weighted_operation_counts": { + "A:ADD": 62400, + "A:IDLE_ONE": 2880, + "A:LAMBDA": 10752, + "A:QUERY": 384, + "A:SCALE": 9792, + "A:SWAP": 768, + "B:ADD": 27808, + "B:IDLE_ODD": 32, + "B:IDLE_ONE": 480, + "B:LAMBDA": 528, + "B:SCALE": 1680, + "B:SWAP": 352 + }, + "paid_occurrence_sha256": "ceead38a38771c4e97389b06997c90a1def13d977020c8a376b9a8b168730b36", + "declared_target_owner_sha256": "44b068608baa6a531e8ef6a70eee3e19cab553a7e4f84fe4fc39989392e31291", + "combined_source_invoice": { + "paid": { + "1": 68860, + "2": 14331, + "3": 13889, + "4": 4029, + "5": 5559, + "6": 272, + "7": 204, + "8": 758, + "9": 32, + "16": 416, + "24": 416, + "32": 416, + "40": 416, + "48": 416, + "56": 416, + "64": 208 + }, + "target": { + "1": 238, + "2": 306, + "3": 765, + "4": 3689, + "5": 1207, + "6": 697, + "7": 306, + "8": 952, + "9": 10684, + "17": 416, + "25": 416, + "33": 416, + "41": 416, + "49": 416, + "57": 416, + "65": 416, + "73": 208, + "137": 208 + }, + "paid_positions": 110638, + "productive_fields": 22172 + }, + "semantic_controls": [ + "duplicate port", + "missing declared output", + "aliased native owners", + "wrong stage order", + "repeated idle axis block", + "wrong signed-idle coefficient", + "missing query changes rank-one cost", + "omitted signed query axis moves rank-nine cost to rank eight", + "changed endpoint moves its distinct-owner target multiplicity" + ] +} diff --git a/research/p104-180-contact-application/inputs/independent/lowered-b-clear.json b/research/p104-180-contact-application/inputs/independent/lowered-b-clear.json new file mode 100644 index 0000000000..792f3b0b00 --- /dev/null +++ b/research/p104-180-contact-application/inputs/independent/lowered-b-clear.json @@ -0,0 +1,1487 @@ +{ + "clear_event_index": { + "121447": { + "1072": "1", + "500": "-1" + }, + "121449": { + "307": "1" + }, + "121854": { + "1089": "1", + "510": "-1" + }, + "121856": { + "22": "1/4", + "23": "-3/4", + "320": "1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "-1" + }, + "122607": { + "246": "1", + "510": "1" + }, + "122613": { + "262": "1", + "500": "1" + }, + "122691": { + "1477": "-1" + }, + "122820": { + "1094": "1", + "332": "-1" + }, + "122822": { + "22": "1/8", + "23": "1/8", + "320": "1/8", + "321": "1/4", + "323": "1/2", + "325": "1/4", + "330": "-1/2" + }, + "122896": { + "385": "-1/4", + "387": "-1/2", + "389": "-1/4", + "394": "-1/2", + "64": "1/8" + }, + "122928": { + "18": "1/4", + "288": "-1/4", + "289": "-1/2", + "291": "-1/2", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "123037": { + "103": "1/2", + "17": "-5/8", + "272": "-1/2", + "273": "-1/2", + "275": "-1", + "277": "1/2", + "282": "1" + }, + "123046": { + "1088": "1", + "512": "-1" + }, + "123048": { + "23": "-1/4", + "320": "-1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "1" + }, + "123200": { + "1116": "1", + "354": "-1" + }, + "123202": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "-1" + }, + "123205": { + "385": "1/2", + "387": "-1", + "389": "-1/2", + "394": "-1", + "64": "1/4", + "96": "1" + }, + "123272": { + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "-1", + "64": "-1/4", + "65": "-1/2", + "96": "1/2" + }, + "123275": { + "29": "-1/2", + "30": "-1/4", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "-1", + "59": "1/2" + }, + "123695": { + "1105": "1", + "343": "-1" + }, + "123697": { + "341": "1" + }, + "123747": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "291": "5/2", + "293": "-1", + "298": "-1", + "39": "1/4", + "40": "1/4" + }, + "123754": { + "1084": "1", + "23": "1/4", + "320": "1/4", + "321": "1/2", + "323": "1", + "325": "1/2", + "330": "-1", + "511": "-1" + }, + "123758": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "-1" + }, + "123790": { + "18": "1/4", + "288": "1/4", + "289": "-1/2", + "298": "-1", + "39": "-1/4", + "40": "1/4" + }, + "123872": { + "1104": "1", + "342": "-1" + }, + "123874": { + "339": "1" + }, + "123877": { + "384": "-1/2", + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "1", + "64": "-3/4" + }, + "123940": { + "30": "-1/4", + "352": "-1/2", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "1", + "59": "1/2" + }, + "123943": { + "26": "1/4", + "368": "-3/4", + "369": "-1/2", + "371": "-1", + "373": "1/2", + "378": "1", + "8": "1/4" + }, + "123999": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "293": "-1", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "124009": { + "107": "-1/4", + "304": "-1/4", + "305": "1/2", + "307": "-1", + "309": "-1/2", + "314": "1", + "35": "1/4", + "45": "1/4" + }, + "124061": { + "17": "-1/4", + "273": "1/2", + "275": "-1", + "277": "-1/2", + "282": "1" + }, + "124068": { + "1086": "1", + "513": "-1" + }, + "124070": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "1" + }, + "124309": { + "104": "1/2", + "416": "-1/2", + "417": "1", + "421": "1/2", + "426": "2" + }, + "124459": { + "26": "1/8", + "368": "-1/8", + "369": "-1/4", + "371": "1/2", + "373": "-1/4", + "378": "-1/2", + "8": "1/8", + "95": "-1/4" + }, + "125900": { + "831": "1" + }, + "126366": { + "1082": "1" + }, + "126501": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "1" + }, + "126508": { + "30": "1/8", + "353": "-1/4", + "355": "-1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126518": { + "30": "1/8", + "352": "1/4", + "353": "1/4", + "355": "1/2", + "357": "1/4", + "362": "-1/2", + "59": "-1/4" + }, + "126525": { + "30": "1/8", + "353": "-1/4", + "355": "1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126785": {}, + "127159": { + "385": "1/4", + "387": "-1/2", + "389": "1/4", + "394": "-1/2", + "64": "-1/8", + "65": "-1/4", + "96": "3/8" + }, + "127167": { + "1343": "-1", + "1344": "-1", + "1346": "-1", + "1347": "-1" + }, + "127944": { + "103": "1", + "108": "1", + "18": "1", + "45": "1", + "61": "1", + "63": "1" + }, + "128035": { + "365": "1" + }, + "128103": { + "1402": "1", + "290": "1" + }, + "128106": { + "380": "1", + "424": "1" + }, + "128116": { + "278": "1" + }, + "128295": { + "1470": "-1", + "169": "1" + }, + "128433": { + "1471": "-1", + "203": "1" + }, + "128485": { + "88": "1" + }, + "128527": { + "451": "1" + }, + "128577": { + "628": "-2", + "630": "-2" + }, + "128796": { + "640": "-1/2", + "641": "-1/2" + }, + "128853": { + "913": "-1", + "927": "1" + }, + "128897": { + "228": "1" + }, + "128909": { + "1102": "4", + "1106": "2", + "1110": "2", + "1113": "-2", + "1224": "-2", + "1249": "4", + "1280": "4", + "1341": "-1", + "1342": "-1", + "1355": "4", + "674": "-2", + "712": "-1", + "714": "-1", + "883": "-2" + }, + "128910": { + "256": "1/4", + "336": "1/4" + }, + "128911": { + "256": "1/4", + "336": "1/4" + }, + "128926": { + "92": "1/4" + }, + "128927": { + "92": "1/4" + }, + "128928": { + "1134": "4", + "1138": "-2", + "1144": "-2", + "26": "1/4", + "3": "1/4", + "67": "1/8", + "721": "-1", + "723": "-1", + "775": "2", + "837": "4", + "942": "2", + "956": "-2" + }, + "128929": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128930": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128931": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "1390": "-1/4", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "724": "-1/4", + "725": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128932": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128933": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128950": { + "1078": "1", + "1080": "1", + "1255": "1", + "1258": "1", + "1259": "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" + }, + "128959": { + "146": "-1/2" + }, + "128960": { + "106": "-15/16", + "1154": "-2", + "1162": "3", + "1163": "-3", + "1168": "4", + "1173": "-2", + "1349": "-1", + "1353": "4", + "1365": "3/4", + "1373": "3/2", + "1380": "3/4", + "1385": "21/16", + "1392": "-3/8", + "1397": "-6", + "1448": "-3/4", + "240": "9/16", + "405": "-3/2", + "41": "-3/4", + "42": "3/8", + "52": "2", + "573": "-2", + "728": "-1/4", + "737": "1", + "813": "3/2", + "875": "-2" + }, + "128961": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129005": { + "1469": "-1", + "223": "1" + }, + "129015": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129055": { + "572": "1" + }, + "129060": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129061": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129062": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "863": "-2", + "883": "-1/2" + }, + "129204": { + "648": "1" + }, + "129308": {}, + "129431": { + "125": "1", + "1457": "-1" + }, + "129452": { + "139": "1", + "1474": "-1" + }, + "129490": { + "1472": "-1", + "163": "1" + }, + "129497": { + "1465": "-1", + "201": "1" + }, + "129633": { + "752": "-1", + "891": "1", + "937": "-1" + }, + "129638": { + "611": "1", + "613": "1", + "752": "1", + "891": "-1", + "937": "1" + }, + "129645": { + "1277": "-1", + "1279": "2", + "1368": "-3", + "1374": "2", + "476": "-1", + "489": "-1", + "524": "1", + "607": "-1", + "608": "-1/4", + "610": "3/4", + "611": "-1", + "612": "-1", + "613": "-1/2", + "770": "1" + }, + "129874": { + "128": "1", + "1476": "-1" + }, + "129882": { + "119": "1", + "1475": "-1" + }, + "129885": { + "1458": "-1", + "154": "1" + }, + "130027": { + "707": "4" + }, + "130143": { + "333": "1" + }, + "130146": { + "1466": "-1" + }, + "130645": { + "106": "15/64", + "1154": "1/2", + "1162": "-3/4", + "1163": "3/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "-3/16", + "1373": "-3/8", + "1380": "-3/16", + "1385": "-21/64", + "1392": "3/32", + "1397": "3/2", + "1448": "3/16", + "1474": "1/2", + "240": "-9/64", + "402": "1/4", + "405": "3/8", + "41": "3/16", + "42": "-3/32", + "52": "-1/2", + "573": "1/2", + "728": "1/16", + "737": "-1/2", + "813": "-3/8", + "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" + }, + "130646": { + "106": "-5/64", + "1154": "1/2", + "1162": "1/4", + "1163": "-1/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "1/16", + "1373": "1/8", + "1380": "1/16", + "1385": "-9/64", + "1392": "-1/32", + "1397": "-1/2", + "1448": "-1/16", + "1474": "1/2", + "240": "-13/64", + "402": "1/4", + "405": "-1/8", + "41": "-1/16", + "42": "1/32", + "52": "-1/2", + "573": "1/2", + "728": "5/16", + "737": "-1/2", + "813": "1/8", + "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" + }, + "130647": { + "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", + "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" + }, + "130807": { + "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" + }, + "130903": { + "74": "1" + }, + "131309": { + "513": "1" + }, + "131358": { + "276": "1" + }, + "131397": { + "343": "-1/2" + }, + "131444": { + "254": "1", + "559": "-1/2" + }, + "131448": { + "526": "1" + }, + "131461": { + "248": "1", + "546": "-1/2" + }, + "131469": { + "280": "1", + "568": "-1/2" + }, + "131476": { + "284": "1", + "575": "-1/2" + }, + "131485": { + "292": "1", + "467": "1" + }, + "131492": { + "252": "1", + "558": "-1/2" + }, + "131498": { + "1399": "1", + "563": "1" + }, + "131505": { + "1436": "1", + "364": "1" + }, + "131524": { + "428": "1", + "564": "1" + }, + "131549": { + "263": "1", + "512": "1" + }, + "131576": { + "479": "1", + "527": "1" + }, + "131598": { + "461": "1", + "523": "-1/2" + }, + "131659": { + "1138": "1", + "502": "1" + }, + "131690": { + "302": "1", + "578": "-1/2" + }, + "131698": { + "349": "1" + }, + "131761": { + "1336": "1" + }, + "131767": { + "133": "3/2", + "1334": "-1", + "1336": "1/2", + "1337": "1", + "1340": "1/2", + "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", + "896": "1", + "901": "1", + "929": "-1", + "962": "1", + "981": "1" + }, + "131799": { + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131800": { + "133": "-1/2", + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131820": { + "1158": "-1/2", + "1160": "-1", + "1207": "2", + "1243": "-2", + "1400": "2", + "146": "4", + "1479": "-3", + "1495": "-2", + "228": "2", + "428": "-1", + "430": "-1", + "451": "-1", + "508": "2", + "565": "-1", + "581": "1", + "582": "1", + "637": "-1", + "922": "-1", + "925": "1", + "974": "1", + "983": "-1" + }, + "131873": { + "1449": "1", + "1450": "1", + "248": "-1", + "268": "-1", + "302": "1", + "38": "1", + "546": "1/2", + "578": "-1/2", + "648": "-1", + "652": "-1", + "654": "-1" + }, + "131987": { + "1473": "-1", + "165": "1" + }, + "132265": { + "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", + "924": "2", + "986": "2" + }, + "132398": { + "242": "1", + "499": "1" + }, + "132451": { + "576": "-1/2" + }, + "132460": { + "430": "1", + "565": "1" + }, + "132480": { + "1404": "1", + "359": "-1/2" + }, + "132485": { + "328": "1", + "573": "1" + }, + "132523": { + "529": "1" + }, + "132530": { + "247": "1", + "498": "1" + }, + "132533": { + "1395": "1", + "551": "1" + }, + "132536": { + "1410": "1", + "392": "1" + }, + "132608": { + "1466": "-1" + }, + "132615": { + "1277": "-1/4", + "1279": "1/2", + "1280": "3/8", + "1368": "-3/4", + "1374": "1/2", + "173": "1/2", + "476": "-1/4", + "489": "-1/4", + "524": "1/4", + "537": "1/4", + "607": "-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" + }, + "132616": { + "151": "1/2" + }, + "132631": { + "707": "4" + }, + "132640": { + "902": "-1/2", + "985": "-1/2" + }, + "132657": { + "294": "1", + "466": "1" + }, + "132665": { + "260": "1", + "501": "1" + }, + "132668": { + "295": "1", + "458": "1" + }, + "132704": { + "1481": "-1" + }, + "132712": {}, + "132715": { + "10": "1", + "547": "-1/2" + }, + "132769": { + "456": "1", + "474": "1" + }, + "132806": { + "300": "1", + "577": "-1/2" + }, + "132834": { + "173": "1" + }, + "132983": { + "244": "1", + "511": "1" + }, + "132995": { + "1405": "1", + "354": "-1/2" + }, + "133383": { + "1435": "1", + "366": "1" + }, + "133459": { + "457": "1", + "475": "1" + }, + "133525": { + "917": "-1" + }, + "133533": { + "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", + "286": "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", + "929": "-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" + }, + "133606": { + "151": "-2", + "528": "-4", + "60": "-4", + "623": "-1", + "625": "-1/2", + "626": "1", + "628": "2", + "629": "2", + "630": "2", + "768": "1/2" + }, + "133638": { + "334": "1", + "580": "1" + }, + "133697": { + "517": "1", + "553": "1" + }, + "133923": { + "1467": "-1" + }, + "134614": { + "438": "-1", + "585": "-1", + "769": "1" + }, + "134637": { + "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" + }, + "134642": { + "92": "1" + }, + "134645": { + "92": "1" + }, + "134648": { + "1389": "-4", + "1390": "-4", + "26": "-1", + "368": "1", + "381": "4", + "723": "4", + "724": "-4", + "725": "-4", + "80": "-2", + "865": "16", + "95": "1" + }, + "134661": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134662": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134665": { + "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" + }, + "134676": { + "368": "1", + "9": "1" + }, + "134750": {}, + "134869": { + "862": "-1" + }, + "134875": { + "1000": "-1/2", + "1206": "1", + "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", + "1466": "1", + "1477": "1", + "1490": "2", + "226": "1", + "230": "1", + "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" + }, + "134903": { + "998": "1" + }, + "135237": { + "108": "-1", + "1492": "-2", + "22": "-1/2", + "23": "-1/2", + "320": "-1/2", + "333": "-1", + "49": "1" + }, + "135478": { + "1082": "-1", + "794": "-4" + }, + "136748": { + "1025": "-2", + "1029": "-5/2", + "831": "-1", + "864": "-2" + }, + "136920": { + "1499": "1", + "998": "-1" + }, + "136926": {}, + "136927": {}, + "137350": { + "863": "1" + } + } +} diff --git a/research/p104-180-contact-application/inputs/independent/lowered-b.json.gz b/research/p104-180-contact-application/inputs/independent/lowered-b.json.gz new file mode 100644 index 0000000000..472645815b Binary files /dev/null and b/research/p104-180-contact-application/inputs/independent/lowered-b.json.gz differ diff --git a/research/p104-180-contact-application/inputs/independent/raw-b.json.gz b/research/p104-180-contact-application/inputs/independent/raw-b.json.gz new file mode 100644 index 0000000000..1619adfab9 Binary files /dev/null and b/research/p104-180-contact-application/inputs/independent/raw-b.json.gz differ diff --git a/research/p104-180-contact-application/inputs/lowered/candidate/CLEAR-CERTIFICATES.json b/research/p104-180-contact-application/inputs/lowered/candidate/CLEAR-CERTIFICATES.json new file mode 100644 index 0000000000..d267f0be2c --- /dev/null +++ b/research/p104-180-contact-application/inputs/lowered/candidate/CLEAR-CERTIFICATES.json @@ -0,0 +1,1487 @@ +{ + "clear_event_index": { + "121447": { + "1072": "1", + "500": "-1" + }, + "121449": { + "307": "1" + }, + "121854": { + "1089": "1", + "510": "-1" + }, + "121856": { + "22": "1/4", + "23": "-3/4", + "320": "1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "-1" + }, + "122607": { + "246": "1", + "510": "1" + }, + "122613": { + "262": "1", + "500": "1" + }, + "122691": { + "1477": "-1" + }, + "122820": { + "1094": "1", + "332": "-1" + }, + "122822": { + "22": "1/8", + "23": "1/8", + "320": "1/8", + "321": "1/4", + "323": "1/2", + "325": "1/4", + "330": "-1/2" + }, + "122896": { + "385": "-1/4", + "387": "-1/2", + "389": "-1/4", + "394": "-1/2", + "64": "1/8" + }, + "122928": { + "18": "1/4", + "288": "-1/4", + "289": "-1/2", + "291": "-1/2", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "123037": { + "103": "1/2", + "17": "-5/8", + "272": "-1/2", + "273": "-1/2", + "275": "-1", + "277": "1/2", + "282": "1" + }, + "123046": { + "1088": "1", + "512": "-1" + }, + "123048": { + "23": "-1/4", + "320": "-1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "1" + }, + "123200": { + "1116": "1", + "354": "-1" + }, + "123202": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "-1" + }, + "123205": { + "385": "1/2", + "387": "-1", + "389": "-1/2", + "394": "-1", + "64": "1/4", + "96": "1" + }, + "123272": { + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "-1", + "64": "-1/4", + "65": "-1/2", + "96": "1/2" + }, + "123275": { + "29": "-1/2", + "30": "-1/4", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "-1", + "59": "1/2" + }, + "123695": { + "1105": "1", + "343": "-1" + }, + "123697": { + "341": "1" + }, + "123747": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "291": "5/2", + "293": "-1", + "298": "-1", + "39": "1/4", + "40": "1/4" + }, + "123754": { + "1084": "1", + "23": "1/4", + "320": "1/4", + "321": "1/2", + "323": "1", + "325": "1/2", + "330": "-1", + "511": "-1" + }, + "123758": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "-1" + }, + "123790": { + "18": "1/4", + "288": "1/4", + "289": "-1/2", + "298": "-1", + "39": "-1/4", + "40": "1/4" + }, + "123872": { + "1104": "1", + "342": "-1" + }, + "123874": { + "339": "1" + }, + "123877": { + "384": "-1/2", + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "1", + "64": "-3/4" + }, + "123940": { + "30": "-1/4", + "352": "-1/2", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "1", + "59": "1/2" + }, + "123943": { + "26": "1/4", + "368": "-3/4", + "369": "-1/2", + "371": "-1", + "373": "1/2", + "378": "1", + "8": "1/4" + }, + "123999": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "293": "-1", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "124009": { + "107": "-1/4", + "304": "-1/4", + "305": "1/2", + "307": "-1", + "309": "-1/2", + "314": "1", + "35": "1/4", + "45": "1/4" + }, + "124061": { + "17": "-1/4", + "273": "1/2", + "275": "-1", + "277": "-1/2", + "282": "1" + }, + "124068": { + "1086": "1", + "513": "-1" + }, + "124070": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "1" + }, + "124309": { + "104": "1/2", + "416": "-1/2", + "417": "1", + "421": "1/2", + "426": "2" + }, + "124459": { + "26": "1/8", + "368": "-1/8", + "369": "-1/4", + "371": "1/2", + "373": "-1/4", + "378": "-1/2", + "8": "1/8", + "95": "-1/4" + }, + "125900": { + "831": "1" + }, + "126366": { + "1082": "1" + }, + "126501": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "1" + }, + "126508": { + "30": "1/8", + "353": "-1/4", + "355": "-1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126518": { + "30": "1/8", + "352": "1/4", + "353": "1/4", + "355": "1/2", + "357": "1/4", + "362": "-1/2", + "59": "-1/4" + }, + "126525": { + "30": "1/8", + "353": "-1/4", + "355": "1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126785": {}, + "127159": { + "385": "1/4", + "387": "-1/2", + "389": "1/4", + "394": "-1/2", + "64": "-1/8", + "65": "-1/4", + "96": "3/8" + }, + "127167": { + "1343": "-1", + "1344": "-1", + "1346": "-1", + "1347": "-1" + }, + "127943": { + "103": "1", + "108": "1", + "18": "1", + "45": "1", + "61": "1", + "63": "1" + }, + "128034": { + "365": "1" + }, + "128102": { + "1402": "1", + "290": "1" + }, + "128105": { + "380": "1", + "424": "1" + }, + "128115": { + "278": "1" + }, + "128294": { + "1470": "-1", + "169": "1" + }, + "128432": { + "1471": "-1", + "203": "1" + }, + "128484": { + "88": "1" + }, + "128526": { + "451": "1" + }, + "128576": { + "628": "-2", + "630": "-2" + }, + "128795": { + "640": "-1/2", + "641": "-1/2" + }, + "128852": { + "913": "-1", + "927": "1" + }, + "128896": { + "228": "1" + }, + "128908": { + "1102": "4", + "1106": "2", + "1110": "2", + "1113": "-2", + "1224": "-2", + "1249": "4", + "1280": "4", + "1341": "-1", + "1342": "-1", + "1355": "4", + "674": "-2", + "712": "-1", + "714": "-1", + "883": "-2" + }, + "128909": { + "256": "1/4", + "336": "1/4" + }, + "128910": { + "256": "1/4", + "336": "1/4" + }, + "128925": { + "92": "1/4" + }, + "128926": { + "92": "1/4" + }, + "128927": { + "1134": "4", + "1138": "-2", + "1144": "-2", + "26": "1/4", + "3": "1/4", + "67": "1/8", + "721": "-1", + "723": "-1", + "775": "2", + "837": "4", + "942": "2", + "956": "-2" + }, + "128928": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128929": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128930": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "1390": "-1/4", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "724": "-1/4", + "725": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128931": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128932": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128949": { + "1078": "1", + "1080": "1", + "1255": "1", + "1258": "1", + "1259": "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" + }, + "128958": { + "146": "-1/2" + }, + "128959": { + "106": "-15/16", + "1154": "-2", + "1162": "3", + "1163": "-3", + "1168": "4", + "1173": "-2", + "1349": "-1", + "1353": "4", + "1365": "3/4", + "1373": "3/2", + "1380": "3/4", + "1385": "21/16", + "1392": "-3/8", + "1397": "-6", + "1448": "-3/4", + "240": "9/16", + "405": "-3/2", + "41": "-3/4", + "42": "3/8", + "52": "2", + "573": "-2", + "728": "-1/4", + "737": "1", + "813": "3/2", + "875": "-2" + }, + "128960": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129004": { + "1469": "-1", + "223": "1" + }, + "129014": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129054": { + "572": "1" + }, + "129059": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129060": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129061": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "863": "-2", + "883": "-1/2" + }, + "129203": { + "648": "1" + }, + "129307": {}, + "129430": { + "125": "1", + "1457": "-1" + }, + "129451": { + "139": "1", + "1474": "-1" + }, + "129489": { + "1472": "-1", + "163": "1" + }, + "129496": { + "1465": "-1", + "201": "1" + }, + "129632": { + "752": "-1", + "891": "1", + "937": "-1" + }, + "129637": { + "611": "1", + "613": "1", + "752": "1", + "891": "-1", + "937": "1" + }, + "129644": { + "1277": "-1", + "1279": "2", + "1368": "-3", + "1374": "2", + "476": "-1", + "489": "-1", + "524": "1", + "607": "-1", + "608": "-1/4", + "610": "3/4", + "611": "-1", + "612": "-1", + "613": "-1/2", + "770": "1" + }, + "129873": { + "128": "1", + "1476": "-1" + }, + "129881": { + "119": "1", + "1475": "-1" + }, + "129884": { + "1458": "-1", + "154": "1" + }, + "130026": { + "707": "4" + }, + "130142": { + "333": "1" + }, + "130145": { + "1466": "-1" + }, + "130644": { + "106": "15/64", + "1154": "1/2", + "1162": "-3/4", + "1163": "3/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "-3/16", + "1373": "-3/8", + "1380": "-3/16", + "1385": "-21/64", + "1392": "3/32", + "1397": "3/2", + "1448": "3/16", + "1474": "1/2", + "240": "-9/64", + "402": "1/4", + "405": "3/8", + "41": "3/16", + "42": "-3/32", + "52": "-1/2", + "573": "1/2", + "728": "1/16", + "737": "-1/2", + "813": "-3/8", + "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" + }, + "130645": { + "106": "-5/64", + "1154": "1/2", + "1162": "1/4", + "1163": "-1/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "1/16", + "1373": "1/8", + "1380": "1/16", + "1385": "-9/64", + "1392": "-1/32", + "1397": "-1/2", + "1448": "-1/16", + "1474": "1/2", + "240": "-13/64", + "402": "1/4", + "405": "-1/8", + "41": "-1/16", + "42": "1/32", + "52": "-1/2", + "573": "1/2", + "728": "5/16", + "737": "-1/2", + "813": "1/8", + "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" + }, + "130646": { + "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", + "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" + }, + "130806": { + "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" + }, + "130902": { + "74": "1" + }, + "131308": { + "513": "1" + }, + "131357": { + "276": "1" + }, + "131396": { + "343": "-1/2" + }, + "131443": { + "254": "1", + "559": "-1/2" + }, + "131447": { + "526": "1" + }, + "131460": { + "248": "1", + "546": "-1/2" + }, + "131468": { + "280": "1", + "568": "-1/2" + }, + "131475": { + "284": "1", + "575": "-1/2" + }, + "131484": { + "292": "1", + "467": "1" + }, + "131491": { + "252": "1", + "558": "-1/2" + }, + "131497": { + "1399": "1", + "563": "1" + }, + "131504": { + "1436": "1", + "364": "1" + }, + "131523": { + "428": "1", + "564": "1" + }, + "131548": { + "263": "1", + "512": "1" + }, + "131575": { + "479": "1", + "527": "1" + }, + "131597": { + "461": "1", + "523": "-1/2" + }, + "131658": { + "1138": "1", + "502": "1" + }, + "131689": { + "302": "1", + "578": "-1/2" + }, + "131697": { + "349": "1" + }, + "131760": { + "1336": "1" + }, + "131766": { + "133": "3/2", + "1334": "-1", + "1336": "1/2", + "1337": "1", + "1340": "1/2", + "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", + "896": "1", + "901": "1", + "929": "-1", + "962": "1", + "981": "1" + }, + "131798": { + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131799": { + "133": "-1/2", + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131819": { + "1158": "-1/2", + "1160": "-1", + "1207": "2", + "1243": "-2", + "1400": "2", + "146": "4", + "1479": "-3", + "1495": "-2", + "228": "2", + "428": "-1", + "430": "-1", + "451": "-1", + "508": "2", + "565": "-1", + "581": "1", + "582": "1", + "637": "-1", + "922": "-1", + "925": "1", + "974": "1", + "983": "-1" + }, + "131872": { + "1449": "1", + "1450": "1", + "248": "-1", + "268": "-1", + "302": "1", + "38": "1", + "546": "1/2", + "578": "-1/2", + "648": "-1", + "652": "-1", + "654": "-1" + }, + "131986": { + "1473": "-1", + "165": "1" + }, + "132264": { + "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", + "924": "2", + "986": "2" + }, + "132397": { + "242": "1", + "499": "1" + }, + "132450": { + "576": "-1/2" + }, + "132459": { + "430": "1", + "565": "1" + }, + "132479": { + "1404": "1", + "359": "-1/2" + }, + "132484": { + "328": "1", + "573": "1" + }, + "132522": { + "529": "1" + }, + "132529": { + "247": "1", + "498": "1" + }, + "132532": { + "1395": "1", + "551": "1" + }, + "132535": { + "1410": "1", + "392": "1" + }, + "132607": { + "1466": "-1" + }, + "132614": { + "1277": "-1/4", + "1279": "1/2", + "1280": "3/8", + "1368": "-3/4", + "1374": "1/2", + "173": "1/2", + "476": "-1/4", + "489": "-1/4", + "524": "1/4", + "537": "1/4", + "607": "-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" + }, + "132615": { + "151": "1/2" + }, + "132630": { + "707": "4" + }, + "132639": { + "902": "-1/2", + "985": "-1/2" + }, + "132656": { + "294": "1", + "466": "1" + }, + "132664": { + "260": "1", + "501": "1" + }, + "132667": { + "295": "1", + "458": "1" + }, + "132703": { + "1481": "-1" + }, + "132711": {}, + "132714": { + "10": "1", + "547": "-1/2" + }, + "132768": { + "456": "1", + "474": "1" + }, + "132805": { + "300": "1", + "577": "-1/2" + }, + "132833": { + "173": "1" + }, + "132982": { + "244": "1", + "511": "1" + }, + "132994": { + "1405": "1", + "354": "-1/2" + }, + "133382": { + "1435": "1", + "366": "1" + }, + "133458": { + "457": "1", + "475": "1" + }, + "133524": { + "917": "-1" + }, + "133532": { + "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", + "286": "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", + "929": "-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" + }, + "133605": { + "151": "-2", + "528": "-4", + "60": "-4", + "623": "-1", + "625": "-1/2", + "626": "1", + "628": "2", + "629": "2", + "630": "2", + "768": "1/2" + }, + "133637": { + "334": "1", + "580": "1" + }, + "133696": { + "517": "1", + "553": "1" + }, + "133922": { + "1467": "-1" + }, + "134613": { + "438": "-1", + "585": "-1", + "769": "1" + }, + "134636": { + "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" + }, + "134641": { + "92": "1" + }, + "134644": { + "92": "1" + }, + "134647": { + "1389": "-4", + "1390": "-4", + "26": "-1", + "368": "1", + "381": "4", + "723": "4", + "724": "-4", + "725": "-4", + "80": "-2", + "865": "16", + "95": "1" + }, + "134660": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134661": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134664": { + "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" + }, + "134675": { + "368": "1", + "9": "1" + }, + "134749": {}, + "134868": { + "862": "-1" + }, + "134874": { + "1000": "-1/2", + "1206": "1", + "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", + "1466": "1", + "1477": "1", + "1490": "2", + "226": "1", + "230": "1", + "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" + }, + "134902": { + "998": "1" + }, + "135236": { + "108": "-1", + "1492": "-2", + "22": "-1/2", + "23": "-1/2", + "320": "-1/2", + "333": "-1", + "49": "1" + }, + "135477": { + "1082": "-1", + "794": "-4" + }, + "136747": { + "1025": "-2", + "1029": "-5/2", + "831": "-1", + "864": "-2" + }, + "136919": { + "1499": "1", + "998": "-1" + }, + "136925": {}, + "136926": {}, + "137349": { + "863": "1" + } + } +} diff --git a/research/p104-180-contact-application/inputs/lowered/candidate/WORD.json.gz b/research/p104-180-contact-application/inputs/lowered/candidate/WORD.json.gz new file mode 100644 index 0000000000..bb61afe8aa Binary files /dev/null and b/research/p104-180-contact-application/inputs/lowered/candidate/WORD.json.gz differ diff --git a/research/p104-180-contact-application/inputs/lowered/source/CLEAR-CERTIFICATES.json b/research/p104-180-contact-application/inputs/lowered/source/CLEAR-CERTIFICATES.json new file mode 100644 index 0000000000..5082adf5bf --- /dev/null +++ b/research/p104-180-contact-application/inputs/lowered/source/CLEAR-CERTIFICATES.json @@ -0,0 +1,1487 @@ +{ + "clear_event_index": { + "121447": { + "1072": "1", + "500": "-1" + }, + "121449": { + "307": "1" + }, + "121854": { + "1089": "1", + "510": "-1" + }, + "121856": { + "22": "1/4", + "23": "-3/4", + "320": "1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "-1" + }, + "122607": { + "246": "1", + "510": "1" + }, + "122613": { + "262": "1", + "500": "1" + }, + "122691": { + "1477": "-1" + }, + "122820": { + "1094": "1", + "332": "-1" + }, + "122822": { + "22": "1/8", + "23": "1/8", + "320": "1/8", + "321": "1/4", + "323": "1/2", + "325": "1/4", + "330": "-1/2" + }, + "122896": { + "385": "-1/4", + "387": "-1/2", + "389": "-1/4", + "394": "-1/2", + "64": "1/8" + }, + "122928": { + "18": "1/4", + "288": "-1/4", + "289": "-1/2", + "291": "-1/2", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "123037": { + "103": "1/2", + "17": "-5/8", + "272": "-1/2", + "273": "-1/2", + "275": "-1", + "277": "1/2", + "282": "1" + }, + "123046": { + "1088": "1", + "512": "-1" + }, + "123048": { + "23": "-1/4", + "320": "-1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "1" + }, + "123200": { + "1116": "1", + "354": "-1" + }, + "123202": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "-1" + }, + "123205": { + "385": "1/2", + "387": "-1", + "389": "-1/2", + "394": "-1", + "64": "1/4", + "96": "1" + }, + "123272": { + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "-1", + "64": "-1/4", + "65": "-1/2", + "96": "1/2" + }, + "123275": { + "29": "-1/2", + "30": "-1/4", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "-1", + "59": "1/2" + }, + "123695": { + "1105": "1", + "343": "-1" + }, + "123697": { + "341": "1" + }, + "123747": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "291": "5/2", + "293": "-1", + "298": "-1", + "39": "1/4", + "40": "1/4" + }, + "123754": { + "1084": "1", + "23": "1/4", + "320": "1/4", + "321": "1/2", + "323": "1", + "325": "1/2", + "330": "-1", + "511": "-1" + }, + "123758": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "-1" + }, + "123790": { + "18": "1/4", + "288": "1/4", + "289": "-1/2", + "298": "-1", + "39": "-1/4", + "40": "1/4" + }, + "123872": { + "1104": "1", + "342": "-1" + }, + "123874": { + "339": "1" + }, + "123877": { + "384": "-1/2", + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "1", + "64": "-3/4" + }, + "123940": { + "30": "-1/4", + "352": "-1/2", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "1", + "59": "1/2" + }, + "123943": { + "26": "1/4", + "368": "-3/4", + "369": "-1/2", + "371": "-1", + "373": "1/2", + "378": "1", + "8": "1/4" + }, + "123999": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "293": "-1", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "124009": { + "107": "-1/4", + "304": "-1/4", + "305": "1/2", + "307": "-1", + "309": "-1/2", + "314": "1", + "35": "1/4", + "45": "1/4" + }, + "124061": { + "17": "-1/4", + "273": "1/2", + "275": "-1", + "277": "-1/2", + "282": "1" + }, + "124068": { + "1086": "1", + "513": "-1" + }, + "124070": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "1" + }, + "124309": { + "104": "1/2", + "416": "-1/2", + "417": "1", + "421": "1/2", + "426": "2" + }, + "124459": { + "26": "1/8", + "368": "-1/8", + "369": "-1/4", + "371": "1/2", + "373": "-1/4", + "378": "-1/2", + "8": "1/8", + "95": "-1/4" + }, + "125900": { + "831": "1" + }, + "126366": { + "1082": "1" + }, + "126501": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "1" + }, + "126508": { + "30": "1/8", + "353": "-1/4", + "355": "-1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126518": { + "30": "1/8", + "352": "1/4", + "353": "1/4", + "355": "1/2", + "357": "1/4", + "362": "-1/2", + "59": "-1/4" + }, + "126525": { + "30": "1/8", + "353": "-1/4", + "355": "1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126785": {}, + "127159": { + "385": "1/4", + "387": "-1/2", + "389": "1/4", + "394": "-1/2", + "64": "-1/8", + "65": "-1/4", + "96": "3/8" + }, + "127167": { + "1343": "-1", + "1344": "-1", + "1346": "-1", + "1347": "-1" + }, + "127944": { + "103": "1", + "108": "1", + "18": "1", + "45": "1", + "61": "1", + "63": "1" + }, + "128035": { + "365": "1" + }, + "128103": { + "1402": "1", + "290": "1" + }, + "128106": { + "380": "1", + "424": "1" + }, + "128116": { + "278": "1" + }, + "128295": { + "1470": "-1", + "169": "1" + }, + "128433": { + "1471": "-1", + "203": "1" + }, + "128485": { + "88": "1" + }, + "128527": { + "451": "1" + }, + "128577": { + "628": "-2", + "630": "-2" + }, + "128796": { + "640": "-1/2", + "641": "-1/2" + }, + "128853": { + "913": "-1", + "927": "1" + }, + "128897": { + "228": "1" + }, + "128909": { + "1102": "4", + "1106": "2", + "1110": "2", + "1113": "-2", + "1224": "-2", + "1249": "4", + "1280": "4", + "1341": "-1", + "1342": "-1", + "1355": "4", + "674": "-2", + "712": "-1", + "714": "-1", + "883": "-2" + }, + "128910": { + "256": "1/4", + "336": "1/4" + }, + "128911": { + "256": "1/4", + "336": "1/4" + }, + "128926": { + "92": "1/4" + }, + "128927": { + "92": "1/4" + }, + "128928": { + "1134": "4", + "1138": "-2", + "1144": "-2", + "26": "1/4", + "3": "1/4", + "67": "1/8", + "721": "-1", + "723": "-1", + "775": "2", + "837": "4", + "942": "2", + "956": "-2" + }, + "128929": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128930": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128931": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "1390": "-1/4", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "724": "-1/4", + "725": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128932": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128933": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128950": { + "1078": "1", + "1080": "1", + "1255": "1", + "1258": "1", + "1259": "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" + }, + "128959": { + "146": "-1/2" + }, + "128960": { + "106": "-15/16", + "1154": "-2", + "1162": "3", + "1163": "-3", + "1168": "4", + "1173": "-2", + "1349": "-1", + "1353": "4", + "1365": "3/4", + "1373": "3/2", + "1380": "3/4", + "1385": "21/16", + "1392": "-3/8", + "1397": "-6", + "1448": "-3/4", + "240": "9/16", + "405": "-3/2", + "41": "-3/4", + "42": "3/8", + "52": "2", + "573": "-2", + "728": "-1/4", + "737": "1", + "813": "3/2", + "875": "-2" + }, + "128961": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129005": { + "1469": "-1", + "223": "1" + }, + "129015": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129055": { + "572": "1" + }, + "129060": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129061": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129062": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "863": "-2", + "883": "-1/2" + }, + "129204": { + "648": "1" + }, + "129308": {}, + "129431": { + "125": "1", + "1457": "-1" + }, + "129452": { + "139": "1", + "1474": "-1" + }, + "129490": { + "1472": "-1", + "163": "1" + }, + "129497": { + "1465": "-1", + "201": "1" + }, + "129633": { + "752": "-1", + "891": "1", + "937": "-1" + }, + "129638": { + "611": "1", + "613": "1", + "752": "1", + "891": "-1", + "937": "1" + }, + "129645": { + "1277": "-1", + "1279": "2", + "1368": "-3", + "1374": "2", + "476": "-1", + "489": "-1", + "524": "1", + "607": "-1", + "608": "-1/4", + "610": "3/4", + "611": "-1", + "612": "-1", + "613": "-1/2", + "770": "1" + }, + "129874": { + "128": "1", + "1476": "-1" + }, + "129882": { + "119": "1", + "1475": "-1" + }, + "129885": { + "1458": "-1", + "154": "1" + }, + "130027": { + "707": "4" + }, + "130143": { + "333": "1" + }, + "130146": { + "1466": "-1" + }, + "130645": { + "106": "15/64", + "1154": "1/2", + "1162": "-3/4", + "1163": "3/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "-3/16", + "1373": "-3/8", + "1380": "-3/16", + "1385": "-21/64", + "1392": "3/32", + "1397": "3/2", + "1448": "3/16", + "1474": "1/2", + "240": "-9/64", + "402": "1/4", + "405": "3/8", + "41": "3/16", + "42": "-3/32", + "52": "-1/2", + "573": "1/2", + "728": "1/16", + "737": "-1/2", + "813": "-3/8", + "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" + }, + "130646": { + "106": "-5/64", + "1154": "1/2", + "1162": "1/4", + "1163": "-1/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "1/16", + "1373": "1/8", + "1380": "1/16", + "1385": "-9/64", + "1392": "-1/32", + "1397": "-1/2", + "1448": "-1/16", + "1474": "1/2", + "240": "-13/64", + "402": "1/4", + "405": "-1/8", + "41": "-1/16", + "42": "1/32", + "52": "-1/2", + "573": "1/2", + "728": "5/16", + "737": "-1/2", + "813": "1/8", + "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" + }, + "130647": { + "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", + "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" + }, + "130807": { + "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" + }, + "130903": { + "74": "1" + }, + "131310": { + "513": "1" + }, + "131359": { + "276": "1" + }, + "131398": { + "343": "-1/2" + }, + "131445": { + "254": "1", + "559": "-1/2" + }, + "131449": { + "526": "1" + }, + "131462": { + "248": "1", + "546": "-1/2" + }, + "131470": { + "280": "1", + "568": "-1/2" + }, + "131477": { + "284": "1", + "575": "-1/2" + }, + "131486": { + "292": "1", + "467": "1" + }, + "131493": { + "252": "1", + "558": "-1/2" + }, + "131499": { + "1399": "1", + "563": "1" + }, + "131506": { + "1436": "1", + "364": "1" + }, + "131525": { + "428": "1", + "564": "1" + }, + "131550": { + "263": "1", + "512": "1" + }, + "131577": { + "479": "1", + "527": "1" + }, + "131599": { + "461": "1", + "523": "-1/2" + }, + "131660": { + "1138": "1", + "502": "1" + }, + "131691": { + "302": "1", + "578": "-1/2" + }, + "131699": { + "349": "1" + }, + "131762": { + "1336": "1" + }, + "131768": { + "133": "3/2", + "1334": "-1", + "1336": "1/2", + "1337": "1", + "1340": "1/2", + "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", + "896": "1", + "901": "1", + "929": "-1", + "962": "1", + "981": "1" + }, + "131800": { + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131801": { + "133": "-1/2", + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131821": { + "1158": "-1/2", + "1160": "-1", + "1207": "2", + "1243": "-2", + "1400": "2", + "146": "4", + "1479": "-3", + "1495": "-2", + "228": "2", + "428": "-1", + "430": "-1", + "451": "-1", + "508": "2", + "565": "-1", + "581": "1", + "582": "1", + "637": "-1", + "922": "-1", + "925": "1", + "974": "1", + "983": "-1" + }, + "131874": { + "1449": "1", + "1450": "1", + "248": "-1", + "268": "-1", + "302": "1", + "38": "1", + "546": "1/2", + "578": "-1/2", + "648": "-1", + "652": "-1", + "654": "-1" + }, + "131988": { + "1473": "-1", + "165": "1" + }, + "132266": { + "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", + "924": "2", + "986": "2" + }, + "132399": { + "242": "1", + "499": "1" + }, + "132452": { + "576": "-1/2" + }, + "132461": { + "430": "1", + "565": "1" + }, + "132481": { + "1404": "1", + "359": "-1/2" + }, + "132486": { + "328": "1", + "573": "1" + }, + "132524": { + "529": "1" + }, + "132531": { + "247": "1", + "498": "1" + }, + "132534": { + "1395": "1", + "551": "1" + }, + "132537": { + "1410": "1", + "392": "1" + }, + "132609": { + "1466": "-1" + }, + "132616": { + "1277": "-1/4", + "1279": "1/2", + "1280": "3/8", + "1368": "-3/4", + "1374": "1/2", + "173": "1/2", + "476": "-1/4", + "489": "-1/4", + "524": "1/4", + "537": "1/4", + "607": "-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" + }, + "132617": { + "151": "1/2" + }, + "132632": { + "707": "4" + }, + "132641": { + "902": "-1/2", + "985": "-1/2" + }, + "132658": { + "294": "1", + "466": "1" + }, + "132666": { + "260": "1", + "501": "1" + }, + "132669": { + "295": "1", + "458": "1" + }, + "132705": { + "1481": "-1" + }, + "132713": {}, + "132716": { + "10": "1", + "547": "-1/2" + }, + "132770": { + "456": "1", + "474": "1" + }, + "132807": { + "300": "1", + "577": "-1/2" + }, + "132835": { + "173": "1" + }, + "132984": { + "244": "1", + "511": "1" + }, + "132996": { + "1405": "1", + "354": "-1/2" + }, + "133384": { + "1435": "1", + "366": "1" + }, + "133460": { + "457": "1", + "475": "1" + }, + "133526": { + "917": "-1" + }, + "133534": { + "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", + "286": "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", + "929": "-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" + }, + "133607": { + "151": "-2", + "528": "-4", + "60": "-4", + "623": "-1", + "625": "-1/2", + "626": "1", + "628": "2", + "629": "2", + "630": "2", + "768": "1/2" + }, + "133639": { + "334": "1", + "580": "1" + }, + "133698": { + "517": "1", + "553": "1" + }, + "133924": { + "1467": "-1" + }, + "134615": { + "438": "-1", + "585": "-1", + "769": "1" + }, + "134638": { + "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" + }, + "134643": { + "92": "1" + }, + "134646": { + "92": "1" + }, + "134649": { + "1389": "-4", + "1390": "-4", + "26": "-1", + "368": "1", + "381": "4", + "723": "4", + "724": "-4", + "725": "-4", + "80": "-2", + "865": "16", + "95": "1" + }, + "134662": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134663": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134666": { + "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" + }, + "134677": { + "368": "1", + "9": "1" + }, + "134751": {}, + "134870": { + "862": "-1" + }, + "134876": { + "1000": "-1/2", + "1206": "1", + "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", + "1466": "1", + "1477": "1", + "1490": "2", + "226": "1", + "230": "1", + "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" + }, + "134904": { + "998": "1" + }, + "135238": { + "108": "-1", + "1492": "-2", + "22": "-1/2", + "23": "-1/2", + "320": "-1/2", + "333": "-1", + "49": "1" + }, + "135479": { + "1082": "-1", + "794": "-4" + }, + "136749": { + "1025": "-2", + "1029": "-5/2", + "831": "-1", + "864": "-2" + }, + "136921": { + "1499": "1", + "998": "-1" + }, + "136927": {}, + "136928": {}, + "137351": { + "863": "1" + } + } +} diff --git a/research/p104-180-contact-application/inputs/lowered/source/WORD.json.gz b/research/p104-180-contact-application/inputs/lowered/source/WORD.json.gz new file mode 100644 index 0000000000..888a3e952e Binary files /dev/null and b/research/p104-180-contact-application/inputs/lowered/source/WORD.json.gz differ diff --git a/research/p104-180-contact-application/inputs/native/NOTICE-7636 b/research/p104-180-contact-application/inputs/native/NOTICE-7636 new file mode 100644 index 0000000000..a44152df19 --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/NOTICE-7636 @@ -0,0 +1,16 @@ +Apache-2.0. DreamingOfClouds with Claude Opus 5.5 (Anthropic), via Claude Code. + +The base word is our #7630 (seven stop edits and a joint hub re-settle on our #7623, which is on our #7621), which uses +SYLforge's loan + stationary-snapshot device of #7616 and #7620 and inherits #7620's composition: Ali Romman's #7605, our #7611 stay +drops, Clear1nsight's #7612 contact rechart, FanPUYen's #7604, SYLforge's #7603, ToikY's #7546/#7544 and rohanarun's signed #7113 +caller, and the courier lineage of our #7615/#7617 and the crowd's courier pattern (Clear1nsight's #7244/#7274/#7314/#7334/#7481, +rohanarun's #7480 and #7277, CubeJerry's #7577, petalas's #7326). The SWAP-NULL relabel law comes from our Lean package 2 (#7634). +#7633 (Clear1nsight) is cited only as a price point. + +Vendored data (unmodified, data only): data/base-7630-word.json.gz, data/invoice-7630.json and data/affected-pairs-7630.json +are our #7630's data/word.json.gz, data/invoice-new.json and data/affected-pairs-new.json. + +check.py is our own code. Its replay, crossing and column-test sections are taken from our #7630 package; 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-180-contact-application/inputs/native/NOTICE-7641 b/research/p104-180-contact-application/inputs/native/NOTICE-7641 new file mode 100644 index 0000000000..00e82ea9ed --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/NOTICE-7641 @@ -0,0 +1,20 @@ +Apache-2.0. DreamingOfClouds with Claude Opus 5.5 (Anthropic), via Claude Code. + +The base word (data/base-7637-word.json.gz, unmodified bytes, sha256 of the decompressed word +8ab3d9dbe2e2e24202ac96c6122b010b3e7980912f935cc0cc2db2e9d85f83aa) is SYLforge's #7637 candidate word, vendored as data only. Its +own notices, vendored here with it: + + "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. #7637 and its code are not run by this package; only its word is read as data. + +This package adds 20 swap-then-delete composites (the SWAP-NULL relabel law of our Lean package #7634, the mechanism of our #7630 and +#7636), an exact-zero-join fix and a hub re-settle. check.py is our own code: its replay, crossing and column-test sections come from +our #7630-on-#7623 and swap-composite 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-180-contact-application/inputs/native/NOTICE-7660 b/research/p104-180-contact-application/inputs/native/NOTICE-7660 new file mode 100644 index 0000000000..cd7d35e2cb --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/NOTICE-7660 @@ -0,0 +1,15 @@ +Apache-2.0. Clear1nsight, with substantial OpenAI Codex assistance. + +The unchanged data and upstream phase-check implementation for each +published word are under retained/pr7636 and retained/pr7658. Their +original NOTICE files credit DreamingOfClouds, Claude Opus 5.5 and the +full predecessor lineage. #7630 E6 and #7658 E2 are the source of the +silent stop used here. See SOURCE-PINS.json for exact source identities. + +The unmodified compare_recursive_invoices.py and +evaluate_recursive_power.py are from CrocSwap/integer-mult-bounds at +e54523517d0f03e58352e647c403a5af3e525a57. They retain the concave order +and invoice schema credits in their headers. The directed power +evaluator was prepared for aliromman with OpenAI Codex assistance. +The application appendix records the reused native, signed +caller and resource components with their own exact source notices. diff --git a/research/p104-180-contact-application/inputs/native/combined-clear.json b/research/p104-180-contact-application/inputs/native/combined-clear.json new file mode 100644 index 0000000000..d267f0be2c --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/combined-clear.json @@ -0,0 +1,1487 @@ +{ + "clear_event_index": { + "121447": { + "1072": "1", + "500": "-1" + }, + "121449": { + "307": "1" + }, + "121854": { + "1089": "1", + "510": "-1" + }, + "121856": { + "22": "1/4", + "23": "-3/4", + "320": "1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "-1" + }, + "122607": { + "246": "1", + "510": "1" + }, + "122613": { + "262": "1", + "500": "1" + }, + "122691": { + "1477": "-1" + }, + "122820": { + "1094": "1", + "332": "-1" + }, + "122822": { + "22": "1/8", + "23": "1/8", + "320": "1/8", + "321": "1/4", + "323": "1/2", + "325": "1/4", + "330": "-1/2" + }, + "122896": { + "385": "-1/4", + "387": "-1/2", + "389": "-1/4", + "394": "-1/2", + "64": "1/8" + }, + "122928": { + "18": "1/4", + "288": "-1/4", + "289": "-1/2", + "291": "-1/2", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "123037": { + "103": "1/2", + "17": "-5/8", + "272": "-1/2", + "273": "-1/2", + "275": "-1", + "277": "1/2", + "282": "1" + }, + "123046": { + "1088": "1", + "512": "-1" + }, + "123048": { + "23": "-1/4", + "320": "-1/4", + "321": "-1/2", + "323": "-1", + "325": "1/2", + "330": "1" + }, + "123200": { + "1116": "1", + "354": "-1" + }, + "123202": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "-1" + }, + "123205": { + "385": "1/2", + "387": "-1", + "389": "-1/2", + "394": "-1", + "64": "1/4", + "96": "1" + }, + "123272": { + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "-1", + "64": "-1/4", + "65": "-1/2", + "96": "1/2" + }, + "123275": { + "29": "-1/2", + "30": "-1/4", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "-1", + "59": "1/2" + }, + "123695": { + "1105": "1", + "343": "-1" + }, + "123697": { + "341": "1" + }, + "123747": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "291": "5/2", + "293": "-1", + "298": "-1", + "39": "1/4", + "40": "1/4" + }, + "123754": { + "1084": "1", + "23": "1/4", + "320": "1/4", + "321": "1/2", + "323": "1", + "325": "1/2", + "330": "-1", + "511": "-1" + }, + "123758": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "-1" + }, + "123790": { + "18": "1/4", + "288": "1/4", + "289": "-1/2", + "298": "-1", + "39": "-1/4", + "40": "1/4" + }, + "123872": { + "1104": "1", + "342": "-1" + }, + "123874": { + "339": "1" + }, + "123877": { + "384": "-1/2", + "385": "-1/2", + "387": "-1", + "389": "1/2", + "394": "1", + "64": "-3/4" + }, + "123940": { + "30": "-1/4", + "352": "-1/2", + "353": "-1/2", + "355": "-1", + "357": "1/2", + "362": "1", + "59": "1/2" + }, + "123943": { + "26": "1/4", + "368": "-3/4", + "369": "-1/2", + "371": "-1", + "373": "1/2", + "378": "1", + "8": "1/4" + }, + "123999": { + "18": "1/4", + "288": "1/4", + "289": "1/2", + "293": "-1", + "298": "1", + "39": "1/4", + "40": "1/4" + }, + "124009": { + "107": "-1/4", + "304": "-1/4", + "305": "1/2", + "307": "-1", + "309": "-1/2", + "314": "1", + "35": "1/4", + "45": "1/4" + }, + "124061": { + "17": "-1/4", + "273": "1/2", + "275": "-1", + "277": "-1/2", + "282": "1" + }, + "124068": { + "1086": "1", + "513": "-1" + }, + "124070": { + "108": "1/2", + "23": "1/4", + "320": "-1/4", + "321": "1/2", + "323": "-1", + "325": "-1/2", + "330": "1" + }, + "124309": { + "104": "1/2", + "416": "-1/2", + "417": "1", + "421": "1/2", + "426": "2" + }, + "124459": { + "26": "1/8", + "368": "-1/8", + "369": "-1/4", + "371": "1/2", + "373": "-1/4", + "378": "-1/2", + "8": "1/8", + "95": "-1/4" + }, + "125900": { + "831": "1" + }, + "126366": { + "1082": "1" + }, + "126501": { + "30": "1/4", + "353": "1/2", + "355": "-1", + "357": "-1/2", + "362": "1" + }, + "126508": { + "30": "1/8", + "353": "-1/4", + "355": "-1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126518": { + "30": "1/8", + "352": "1/4", + "353": "1/4", + "355": "1/2", + "357": "1/4", + "362": "-1/2", + "59": "-1/4" + }, + "126525": { + "30": "1/8", + "353": "-1/4", + "355": "1/2", + "357": "-1/4", + "362": "-1/2" + }, + "126785": {}, + "127159": { + "385": "1/4", + "387": "-1/2", + "389": "1/4", + "394": "-1/2", + "64": "-1/8", + "65": "-1/4", + "96": "3/8" + }, + "127167": { + "1343": "-1", + "1344": "-1", + "1346": "-1", + "1347": "-1" + }, + "127943": { + "103": "1", + "108": "1", + "18": "1", + "45": "1", + "61": "1", + "63": "1" + }, + "128034": { + "365": "1" + }, + "128102": { + "1402": "1", + "290": "1" + }, + "128105": { + "380": "1", + "424": "1" + }, + "128115": { + "278": "1" + }, + "128294": { + "1470": "-1", + "169": "1" + }, + "128432": { + "1471": "-1", + "203": "1" + }, + "128484": { + "88": "1" + }, + "128526": { + "451": "1" + }, + "128576": { + "628": "-2", + "630": "-2" + }, + "128795": { + "640": "-1/2", + "641": "-1/2" + }, + "128852": { + "913": "-1", + "927": "1" + }, + "128896": { + "228": "1" + }, + "128908": { + "1102": "4", + "1106": "2", + "1110": "2", + "1113": "-2", + "1224": "-2", + "1249": "4", + "1280": "4", + "1341": "-1", + "1342": "-1", + "1355": "4", + "674": "-2", + "712": "-1", + "714": "-1", + "883": "-2" + }, + "128909": { + "256": "1/4", + "336": "1/4" + }, + "128910": { + "256": "1/4", + "336": "1/4" + }, + "128925": { + "92": "1/4" + }, + "128926": { + "92": "1/4" + }, + "128927": { + "1134": "4", + "1138": "-2", + "1144": "-2", + "26": "1/4", + "3": "1/4", + "67": "1/8", + "721": "-1", + "723": "-1", + "775": "2", + "837": "4", + "942": "2", + "956": "-2" + }, + "128928": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128929": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "723": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128930": { + "1105": "1", + "1134": "1", + "1137": "1", + "1138": "-1/2", + "1144": "-1/2", + "1390": "-1/4", + "26": "1/16", + "3": "1/16", + "546": "1", + "67": "1/32", + "721": "-1/4", + "724": "-1/4", + "725": "-1/4", + "775": "1/2", + "837": "1", + "942": "1/2", + "956": "-1/2" + }, + "128931": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128932": { + "1390": "-1", + "26": "1", + "368": "1/4", + "381": "1", + "723": "1", + "724": "-1", + "725": "-1", + "865": "4", + "95": "1/4" + }, + "128949": { + "1078": "1", + "1080": "1", + "1255": "1", + "1258": "1", + "1259": "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" + }, + "128958": { + "146": "-1/2" + }, + "128959": { + "106": "-15/16", + "1154": "-2", + "1162": "3", + "1163": "-3", + "1168": "4", + "1173": "-2", + "1349": "-1", + "1353": "4", + "1365": "3/4", + "1373": "3/2", + "1380": "3/4", + "1385": "21/16", + "1392": "-3/8", + "1397": "-6", + "1448": "-3/4", + "240": "9/16", + "405": "-3/2", + "41": "-3/4", + "42": "3/8", + "52": "2", + "573": "-2", + "728": "-1/4", + "737": "1", + "813": "3/2", + "875": "-2" + }, + "128960": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129004": { + "1469": "-1", + "223": "1" + }, + "129014": { + "106": "5/16", + "1162": "-1", + "1163": "1", + "1365": "-1/4", + "1373": "-1/2", + "1380": "-1/4", + "1385": "-7/16", + "1392": "1/8", + "1397": "2", + "1448": "1/4", + "240": "-3/16", + "405": "1/2", + "41": "1/4", + "42": "-1/8", + "728": "-1/4", + "813": "-1/2" + }, + "129054": { + "572": "1" + }, + "129059": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129060": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "883": "-1/2" + }, + "129061": { + "1100": "1", + "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", + "674": "-1/2", + "712": "-1/4", + "714": "-1/4", + "863": "-2", + "883": "-1/2" + }, + "129203": { + "648": "1" + }, + "129307": {}, + "129430": { + "125": "1", + "1457": "-1" + }, + "129451": { + "139": "1", + "1474": "-1" + }, + "129489": { + "1472": "-1", + "163": "1" + }, + "129496": { + "1465": "-1", + "201": "1" + }, + "129632": { + "752": "-1", + "891": "1", + "937": "-1" + }, + "129637": { + "611": "1", + "613": "1", + "752": "1", + "891": "-1", + "937": "1" + }, + "129644": { + "1277": "-1", + "1279": "2", + "1368": "-3", + "1374": "2", + "476": "-1", + "489": "-1", + "524": "1", + "607": "-1", + "608": "-1/4", + "610": "3/4", + "611": "-1", + "612": "-1", + "613": "-1/2", + "770": "1" + }, + "129873": { + "128": "1", + "1476": "-1" + }, + "129881": { + "119": "1", + "1475": "-1" + }, + "129884": { + "1458": "-1", + "154": "1" + }, + "130026": { + "707": "4" + }, + "130142": { + "333": "1" + }, + "130145": { + "1466": "-1" + }, + "130644": { + "106": "15/64", + "1154": "1/2", + "1162": "-3/4", + "1163": "3/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "-3/16", + "1373": "-3/8", + "1380": "-3/16", + "1385": "-21/64", + "1392": "3/32", + "1397": "3/2", + "1448": "3/16", + "1474": "1/2", + "240": "-9/64", + "402": "1/4", + "405": "3/8", + "41": "3/16", + "42": "-3/32", + "52": "-1/2", + "573": "1/2", + "728": "1/16", + "737": "-1/2", + "813": "-3/8", + "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" + }, + "130645": { + "106": "-5/64", + "1154": "1/2", + "1162": "1/4", + "1163": "-1/4", + "1168": "-1", + "1173": "1/2", + "13": "1/4", + "1349": "1/4", + "1353": "-1", + "1365": "1/16", + "1373": "1/8", + "1380": "1/16", + "1385": "-9/64", + "1392": "-1/32", + "1397": "-1/2", + "1448": "-1/16", + "1474": "1/2", + "240": "-13/64", + "402": "1/4", + "405": "-1/8", + "41": "-1/16", + "42": "1/32", + "52": "-1/2", + "573": "1/2", + "728": "5/16", + "737": "-1/2", + "813": "1/8", + "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" + }, + "130646": { + "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", + "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" + }, + "130806": { + "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" + }, + "130902": { + "74": "1" + }, + "131308": { + "513": "1" + }, + "131357": { + "276": "1" + }, + "131396": { + "343": "-1/2" + }, + "131443": { + "254": "1", + "559": "-1/2" + }, + "131447": { + "526": "1" + }, + "131460": { + "248": "1", + "546": "-1/2" + }, + "131468": { + "280": "1", + "568": "-1/2" + }, + "131475": { + "284": "1", + "575": "-1/2" + }, + "131484": { + "292": "1", + "467": "1" + }, + "131491": { + "252": "1", + "558": "-1/2" + }, + "131497": { + "1399": "1", + "563": "1" + }, + "131504": { + "1436": "1", + "364": "1" + }, + "131523": { + "428": "1", + "564": "1" + }, + "131548": { + "263": "1", + "512": "1" + }, + "131575": { + "479": "1", + "527": "1" + }, + "131597": { + "461": "1", + "523": "-1/2" + }, + "131658": { + "1138": "1", + "502": "1" + }, + "131689": { + "302": "1", + "578": "-1/2" + }, + "131697": { + "349": "1" + }, + "131760": { + "1336": "1" + }, + "131766": { + "133": "3/2", + "1334": "-1", + "1336": "1/2", + "1337": "1", + "1340": "1/2", + "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", + "896": "1", + "901": "1", + "929": "-1", + "962": "1", + "981": "1" + }, + "131798": { + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131799": { + "133": "-1/2", + "1334": "1", + "1337": "-1/2", + "1340": "1/2", + "1362": "2", + "1377": "-2", + "1386": "-1/2", + "1498": "-1", + "483": "-1", + "519": "-1", + "543": "-1", + "696": "-1", + "697": "1/4", + "698": "1/2", + "700": "1/2", + "702": "1", + "733": "1/2", + "767": "1/2", + "883": "1", + "892": "1", + "896": "1", + "901": "-1", + "924": "2", + "929": "-1", + "962": "1", + "981": "1" + }, + "131819": { + "1158": "-1/2", + "1160": "-1", + "1207": "2", + "1243": "-2", + "1400": "2", + "146": "4", + "1479": "-3", + "1495": "-2", + "228": "2", + "428": "-1", + "430": "-1", + "451": "-1", + "508": "2", + "565": "-1", + "581": "1", + "582": "1", + "637": "-1", + "922": "-1", + "925": "1", + "974": "1", + "983": "-1" + }, + "131872": { + "1449": "1", + "1450": "1", + "248": "-1", + "268": "-1", + "302": "1", + "38": "1", + "546": "1/2", + "578": "-1/2", + "648": "-1", + "652": "-1", + "654": "-1" + }, + "131986": { + "1473": "-1", + "165": "1" + }, + "132264": { + "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", + "924": "2", + "986": "2" + }, + "132397": { + "242": "1", + "499": "1" + }, + "132450": { + "576": "-1/2" + }, + "132459": { + "430": "1", + "565": "1" + }, + "132479": { + "1404": "1", + "359": "-1/2" + }, + "132484": { + "328": "1", + "573": "1" + }, + "132522": { + "529": "1" + }, + "132529": { + "247": "1", + "498": "1" + }, + "132532": { + "1395": "1", + "551": "1" + }, + "132535": { + "1410": "1", + "392": "1" + }, + "132607": { + "1466": "-1" + }, + "132614": { + "1277": "-1/4", + "1279": "1/2", + "1280": "3/8", + "1368": "-3/4", + "1374": "1/2", + "173": "1/2", + "476": "-1/4", + "489": "-1/4", + "524": "1/4", + "537": "1/4", + "607": "-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" + }, + "132615": { + "151": "1/2" + }, + "132630": { + "707": "4" + }, + "132639": { + "902": "-1/2", + "985": "-1/2" + }, + "132656": { + "294": "1", + "466": "1" + }, + "132664": { + "260": "1", + "501": "1" + }, + "132667": { + "295": "1", + "458": "1" + }, + "132703": { + "1481": "-1" + }, + "132711": {}, + "132714": { + "10": "1", + "547": "-1/2" + }, + "132768": { + "456": "1", + "474": "1" + }, + "132805": { + "300": "1", + "577": "-1/2" + }, + "132833": { + "173": "1" + }, + "132982": { + "244": "1", + "511": "1" + }, + "132994": { + "1405": "1", + "354": "-1/2" + }, + "133382": { + "1435": "1", + "366": "1" + }, + "133458": { + "457": "1", + "475": "1" + }, + "133524": { + "917": "-1" + }, + "133532": { + "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", + "286": "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", + "929": "-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" + }, + "133605": { + "151": "-2", + "528": "-4", + "60": "-4", + "623": "-1", + "625": "-1/2", + "626": "1", + "628": "2", + "629": "2", + "630": "2", + "768": "1/2" + }, + "133637": { + "334": "1", + "580": "1" + }, + "133696": { + "517": "1", + "553": "1" + }, + "133922": { + "1467": "-1" + }, + "134613": { + "438": "-1", + "585": "-1", + "769": "1" + }, + "134636": { + "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" + }, + "134641": { + "92": "1" + }, + "134644": { + "92": "1" + }, + "134647": { + "1389": "-4", + "1390": "-4", + "26": "-1", + "368": "1", + "381": "4", + "723": "4", + "724": "-4", + "725": "-4", + "80": "-2", + "865": "16", + "95": "1" + }, + "134660": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134661": { + "1342": "-2", + "1437": "2", + "256": "1", + "336": "1" + }, + "134664": { + "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" + }, + "134675": { + "368": "1", + "9": "1" + }, + "134749": {}, + "134868": { + "862": "-1" + }, + "134874": { + "1000": "-1/2", + "1206": "1", + "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", + "1466": "1", + "1477": "1", + "1490": "2", + "226": "1", + "230": "1", + "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" + }, + "134902": { + "998": "1" + }, + "135236": { + "108": "-1", + "1492": "-2", + "22": "-1/2", + "23": "-1/2", + "320": "-1/2", + "333": "-1", + "49": "1" + }, + "135477": { + "1082": "-1", + "794": "-4" + }, + "136747": { + "1025": "-2", + "1029": "-5/2", + "831": "-1", + "864": "-2" + }, + "136919": { + "1499": "1", + "998": "-1" + }, + "136925": {}, + "136926": {}, + "137349": { + "863": "1" + } + } +} diff --git a/research/p104-180-contact-application/inputs/native/combined-prior.json b/research/p104-180-contact-application/inputs/native/combined-prior.json new file mode 100644 index 0000000000..e678427e4e --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/combined-prior.json @@ -0,0 +1,225 @@ +{ + "candidate": { + "canonical_compact_sha256": "6f074e7c0bc0735c7f98ab291e883689f28b94019a841b98403580d427b3e1a5", + "decoded_sha256": "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "events": 202666, + "gzip_sha256": "3fb11603e14fc9d67aff97e1b0e737f98c1395180ff71119fa64b4d8acaa8626" + }, + "certificates": { + "candidate": 180, + "nonzero": 174, + "source": 180 + }, + "finished_utc": "2026-11-18T01:27:17.653633+00:00", + "fixed_caller_brackets": { + "A": [ + "0.0036810455386", + "0.0036810455387" + ], + "C": [ + "0.0036813560187", + "0.0036813560188" + ], + "C_over_B": [ + "0.0036813560187", + "0.0036813560188" + ] + }, + "limits": { + "address_space_bytes": [ + 1610612736, + 1610612736 + ], + "affinity": [ + 2 + ], + "cpu_seconds": [ + 180, + 180 + ], + "process_group": 17, + "process_id": 18, + "process_limit": [ + 1, + 1 + ] + }, + "literal": { + "changed_scalar_chart": [ + 618, + 373 + ], + "edit_orders_identical": true, + "ordered_nonmove_events": 196440, + "owned_labels": 68, + "owned_peak": 50, + "protected_instructions": 1049 + }, + "native_paid_delta": { + "1": -3, + "2": 1, + "4": -1, + "5": 1 + }, + "parent_manifest_sha256": { + "A": "9a1be550f313b859267ea8a19746cb10f3e0af024a61eae3b6f3171e08cc80c3", + "B": "57b550f2c6d0b80f23df62d4f597016aa5f27fcd9b604f67c3d404408823f377" + }, + "parent_receipt_sha256": { + "A": "08219d65db1c41976f83d91bfff6c1749f54a5d4ebf4dd07b8aecb94a975fda0", + "B": "b33d27404432e17e8fc3c2d5aff68830f61cedfe532689615f0de8a488dc4662" + }, + "parent_word_gzip_sha256": { + "A": "105ae3c6ea8afdf18c7afedb3fc7a92e55844f5463019a7906fcd0b77a6b4993", + "B": "869504fb9f9d994c1ee9b9e5a3a83fb2fcb8cd5455b7639c1ee2bcd195086d5c" + }, + "physical": { + "A": { + "pair_adjoint_columns": 3584, + "pair_forward_columns": 3584, + "pair_ranks": [ + [ + 3, + 373, + 2 + ], + [ + 3, + 618, + 3 + ], + [ + 373, + 618, + 1 + ], + [ + 373, + 733, + 2 + ], + [ + 373, + 913, + 5 + ], + [ + 618, + 733, + 1 + ], + [ + 618, + 913, + 4 + ] + ], + "path_adjoint_columns": 1536, + "path_forward_columns": 1536, + "paths": { + "donor": { + "candidate": [ + 3, + 373, + 913 + ], + "source": [ + 3, + 618, + 913 + ], + "wrong_phase_rejected": true + }, + "donor_into_receiver": { + "candidate": [ + 3, + 373, + 733 + ], + "source": [ + 3, + 618, + 733 + ], + "wrong_phase_rejected": true + }, + "receiver": { + "candidate": [ + 373, + 733 + ], + "source": [ + 373, + 618, + 733 + ], + "wrong_phase_rejected": true + } + } + }, + "B": { + "absolute_phase_equal": true, + "adjoint_columns": 512, + "checked_pairs": [ + { + "adjoint_columns": 512, + "forward_columns": 512, + "pair": [ + 748, + 1065 + ], + "rank": 2, + "recipe_sha256": "b2526c5f3cc9751c82151c2fbf05ae715c3a99cf3b15e6c7193eed6b1f4444ca", + "wrong_phase_rejected": true + }, + { + "adjoint_columns": 512, + "forward_columns": 512, + "pair": [ + 1065, + 1072 + ], + "rank": 1, + "recipe_sha256": "ac5e3f6a7d8c2c35ae675868a5cd235ca3acccfea30e9d527ea153b9940417b4", + "wrong_phase_rejected": true + }, + { + "adjoint_columns": 512, + "forward_columns": 512, + "pair": [ + 748, + 1072 + ], + "rank": 3, + "recipe_sha256": "48bec10572ffbbbb7d17e06b02f8f116dc2c5507c10e5c9389f530b86768e739", + "wrong_phase_rejected": true + } + ], + "composed_path": [ + 748, + 1065, + 1072 + ], + "forward_columns": 512, + "signed_pauli_equal": true, + "wrong_phase_rejected_forward_and_adjoint": true, + "wrong_phase_same_pauli": true + } + }, + "signed_fixed_caller_paid": 109618, + "signed_fixed_caller_paid_delta": { + "1": -51, + "2": 17, + "4": -17, + "5": 17 + }, + "signed_fixed_caller_target_delta": {}, + "signed_fixed_caller_targets": 22461, + "source": { + "decoded_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "pr": 7636 + }, + "started_utc": "2026-11-18T01:25:58.777171+00:00", + "status": "PASS_SCOPED_COMBINATION" +} diff --git a/research/p104-180-contact-application/inputs/native/prior-native.json b/research/p104-180-contact-application/inputs/native/prior-native.json new file mode 100644 index 0000000000..58fc534e08 --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/prior-native.json @@ -0,0 +1,1970 @@ +{ + "artifacts": { + "MOVE-PAIRS.json": "a6645322a783f6160381205b455d410f0a1287f208f18deba156ae7c4aa7f16a", + "OPERATORS.json": "02b2da7250f55615fcaa10cff263fe51b107e385c3ad589cbfde237082cbf9bb", + "PHYSICAL-1000000009.json": "c96a11f0104fc9930a392cee0d3862d039c3de8de9e08c7ee4f7c70f781b3ff8", + "PHYSICAL-998244353.json": "4bd3cdce0b6042edde5f4cb418e6d348fee78b87509daf6bfbb8586f03f3a2bc", + "START.json": "193619d810402c5130f4cd922f68d04bebb6576584c6c25f115a5d05df552f14" + }, + "candidate": { + "canonical_sha256": "9b5b66e93f91c9538525d8d7b1278e0f203058d5cd4e1351fa06f8315fdaa555", + "gzip_sha256": "869504fb9f9d994c1ee9b9e5a3a83fb2fcb8cd5455b7639c1ee2bcd195086d5c", + "raw_sha256": "9b5b66e93f91c9538525d8d7b1278e0f203058d5cd4e1351fa06f8315fdaa555" + }, + "candidate_direct_clock": 131293, + "completed_at": "2026-11-18T01:33:56.701301+00:00", + "controls": { + "missing_direct": "ADD frame at 131294", + "non_bool_flag": "MOVE flag at 131293", + "nonnested_ascent": "MOVE inclusion at 131293", + "wrong_birth457": "initial or final frame boundary", + "wrong_direct_flag": "MOVE flag at 131293", + "wrong_direct_source": "MOVE source at 131293", + "wrong_owned_flag": "MOVE flag at 121246" + }, + "elapsed_seconds": 177.58417350499076, + "finite_replays": [ + { + "digests": { + "candidate": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979", + "initial": "5e0a3b42f5964dcbdbd5a2bb6b3d429e1da7acc016c683539c3b24107c8c8b1d", + "reference_public": "30dad95bfd00d2f83c9ab6918a0d67a5efea9bfc850a2add44515348473c0ba2", + "source": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979" + }, + "endpoint_rows": 1501, + "prime": 1000000009, + "seed": 11 + }, + { + "digests": { + "candidate": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141", + "initial": "f95e41e2c6e36366b4a44ac7d7008b4215e73ad99b6b746efc52d940c97ddf28", + "reference_public": "7f48531a20c8244839cbd30b0ddd4bd5a43c86f4da764c99e8b816ff6facf0c0", + "source": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141" + }, + "endpoint_rows": 1501, + "prime": 998244353, + "seed": 37 + } + ], + "head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "historical": { + "canonical_sha256": "f9f9a485712c0c94c9d14370e2a8436414e1b53bdf86550d9d6436835e9e06cb", + "gzip_sha256": "676c20c53ebd40120903af86bf17c2116f654ab8ce4aa1833f388a2fc400b511", + "raw_sha256": "f9f9a485712c0c94c9d14370e2a8436414e1b53bdf86550d9d6436835e9e06cb" + }, + "pair_counts": { + "candidate": { + "ascent_groups": 2987, + "directed_pairs": 3009, + "move_occurrences": 6227 + }, + "fresh": 97, + "reused": 2890, + "source": { + "ascent_groups": 2986, + "directed_pairs": 3008, + "move_occurrences": 6228 + }, + "union": 2987 + }, + "phase_code_sha256": "3b340b468d119fcca8bca015b0bab187119cd2593b25737ec496c9dc3564ebc6", + "pr": 7636, + "prior_proof_sha256": "a0bb80f9220fd6414d45e208af1e5571f51e6ac9f333d412dce19ef82854f541", + "raw_ports": { + "comparisons": "signed Pauli action and Gaussian absolute phase", + "directions": 4, + "opposite_sign_rejections": 208, + "ports": 104 + }, + "route_columns": { + "all_adjoint": 512, + "all_forward": 512, + "direct": [ + 748, + 1072 + ], + "route": [ + 748, + 1065, + 1072 + ], + "wrong_phase": "rejected" + }, + "schedules": { + "candidate": { + "birth457": 281, + "event_counts": { + "ADD": 191543, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 6227, + "SCALE": 4536 + }, + "lifetime_trace": [ + [ + 1502, + 353, + 353 + ], + [ + 1501, + 359, + 359 + ], + [ + 1501, + 372, + 372 + ], + [ + 1503, + 375, + 375 + ], + [ + 1503, + 537, + 537 + ], + [ + 1501, + 538, + 538 + ], + [ + 1501, + 724, + 724 + ], + [ + 1501, + 372, + 372 + ], + [ + 1519, + 381, + 381 + ], + [ + 1525, + 455, + 455 + ], + [ + 1513, + 339, + 339 + ], + [ + 1507, + 321, + 321 + ], + [ + 1501, + 371, + 371 + ], + [ + 1518, + 377, + 377 + ], + [ + 1501, + 405, + 405 + ], + [ + 1526, + 414, + 414 + ], + [ + 1533, + 452, + 452 + ], + [ + 1527, + 451, + 451 + ], + [ + 1534, + 413, + 413 + ], + [ + 1503, + 390, + 390 + ], + [ + 1501, + 393, + 393 + ], + [ + 1515, + 338, + 338 + ], + [ + 1505, + 101, + 101 + ], + [ + 1504, + 376, + 376 + ], + [ + 1517, + 337, + 337 + ], + [ + 1503, + 389, + 389 + ], + [ + 1501, + 395, + 395 + ], + [ + 1532, + 453, + 453 + ], + [ + 1538, + 415, + 415 + ], + [ + 1533, + 433, + 433 + ], + [ + 1516, + 340, + 340 + ], + [ + 1522, + 360, + 360 + ], + [ + 1512, + 322, + 322 + ], + [ + 1501, + 369, + 369 + ], + [ + 1523, + 378, + 378 + ], + [ + 1527, + 492, + 492 + ], + [ + 1526, + 438, + 438 + ], + [ + 1560, + 306, + 306 + ], + [ + 1558, + 237, + 237 + ], + [ + 1551, + 416, + 416 + ], + [ + 1550, + 417, + 417 + ], + [ + 1549, + 419, + 419 + ], + [ + 1548, + 420, + 420 + ], + [ + 1568, + 3, + 3 + ], + [ + 1509, + 456, + 456 + ], + [ + 1541, + 599, + 260 + ], + [ + 1529, + 267, + 1091 + ], + [ + 1503, + 521, + 521 + ], + [ + 1503, + 525, + 525 + ], + [ + 1504, + 528, + 528 + ], + [ + 1503, + 526, + 526 + ], + [ + 1503, + 553, + 553 + ], + [ + 1503, + 564, + 564 + ], + [ + 1503, + 576, + 576 + ], + [ + 1556, + 595, + 595 + ], + [ + 1528, + 543, + 541 + ], + [ + 1526, + 531, + 529 + ], + [ + 1548, + 529, + 531 + ], + [ + 1501, + 737, + 737 + ], + [ + 1543, + 598, + 394 + ], + [ + 1517, + 394, + 598 + ], + [ + 1505, + 394, + 394 + ], + [ + 1515, + 260, + 599 + ], + [ + 1506, + 260, + 260 + ], + [ + 1545, + 600, + 431 + ], + [ + 1535, + 431, + 431 + ], + [ + 1544, + 431, + 243 + ], + [ + 1539, + 243, + 517 + ], + [ + 1519, + 431, + 600 + ], + [ + 1507, + 431, + 431 + ], + [ + 1532, + 595, + 529 + ], + [ + 1503, + 529, + 595 + ], + [ + 1547, + 601, + 470 + ], + [ + 1521, + 470, + 601 + ], + [ + 1501, + 548, + 548 + ], + [ + 1508, + 470, + 470 + ], + [ + 1509, + 595, + 595 + ], + [ + 1534, + 394, + 394 + ], + [ + 1542, + 394, + 240 + ], + [ + 1538, + 240, + 518 + ], + [ + 1554, + 120, + 120 + ], + [ + 1503, + 744, + 744 + ], + [ + 1505, + 645, + 645 + ], + [ + 1506, + 647, + 647 + ], + [ + 1505, + 664, + 664 + ], + [ + 1503, + 665, + 665 + ], + [ + 1549, + 549, + 559 + ], + [ + 1527, + 559, + 549 + ], + [ + 1525, + 115, + 115 + ], + [ + 1506, + 693, + 693 + ], + [ + 1505, + 695, + 695 + ], + [ + 1507, + 694, + 694 + ], + [ + 1506, + 723, + 723 + ], + [ + 1552, + 237, + 237 + ], + [ + 1505, + 736, + 736 + ], + [ + 1536, + 470, + 470 + ], + [ + 1546, + 470, + 1090 + ], + [ + 1537, + 1090, + 477 + ], + [ + 1530, + 593, + 549 + ], + [ + 1503, + 575, + 575 + ], + [ + 1505, + 829, + 829 + ], + [ + 1503, + 847, + 847 + ], + [ + 1542, + 1074, + 1074 + ], + [ + 1519, + 858, + 858 + ], + [ + 1503, + 881, + 881 + ], + [ + 1503, + 850, + 850 + ], + [ + 1525, + 853, + 853 + ], + [ + 1526, + 863, + 863 + ], + [ + 1505, + 841, + 841 + ], + [ + 1517, + 857, + 857 + ], + [ + 1545, + 888, + 888 + ], + [ + 1525, + 889, + 889 + ], + [ + 1532, + 844, + 844 + ], + [ + 1521, + 828, + 828 + ], + [ + 1536, + 1075, + 1075 + ], + [ + 1543, + 866, + 866 + ], + [ + 1537, + 885, + 885 + ], + [ + 1505, + 856, + 856 + ], + [ + 1503, + 574, + 574 + ], + [ + 1562, + 1031, + 1031 + ], + [ + 1533, + 597, + 591 + ], + [ + 1523, + 1031, + 1031 + ], + [ + 1504, + 591, + 597 + ], + [ + 1557, + 595, + 595 + ], + [ + 1555, + 120, + 120 + ], + [ + 1503, + 657, + 657 + ], + [ + 1563, + 1031, + 1031 + ], + [ + 1503, + 827, + 827 + ], + [ + 1503, + 864, + 864 + ], + [ + 1534, + 845, + 845 + ], + [ + 1546, + 873, + 873 + ], + [ + 1528, + 877, + 877 + ], + [ + 1505, + 892, + 892 + ], + [ + 1504, + 826, + 826 + ], + [ + 1544, + 1076, + 1076 + ], + [ + 1547, + 1077, + 1077 + ], + [ + 1507, + 909, + 909 + ], + [ + 1501, + 549, + 593 + ], + [ + 1502, + 541, + 594 + ], + [ + 1535, + 902, + 902 + ], + [ + 1548, + 913, + 913 + ], + [ + 1530, + 840, + 840 + ], + [ + 1506, + 835, + 835 + ], + [ + 1541, + 846, + 846 + ], + [ + 1506, + 917, + 917 + ], + [ + 1505, + 922, + 922 + ], + [ + 1508, + 851, + 851 + ], + [ + 1538, + 838, + 838 + ], + [ + 1527, + 855, + 855 + ], + [ + 1522, + 549, + 549 + ], + [ + 1515, + 834, + 834 + ], + [ + 1532, + 874, + 874 + ], + [ + 1519, + 890, + 890 + ], + [ + 1539, + 839, + 839 + ], + [ + 1550, + 541, + 543 + ], + [ + 1531, + 594, + 541 + ], + [ + 1524, + 117, + 117 + ], + [ + 1529, + 872, + 872 + ], + [ + 1542, + 894, + 894 + ], + [ + 1567, + 207, + 207 + ], + [ + 1525, + 245, + 245 + ], + [ + 1520, + 1090, + 470 + ], + [ + 1514, + 1091, + 260 + ], + [ + 1511, + 1091, + 1091 + ], + [ + 1518, + 243, + 431 + ], + [ + 1516, + 240, + 394 + ], + [ + 1512, + 518, + 240 + ], + [ + 1510, + 477, + 1090 + ], + [ + 1513, + 517, + 243 + ], + [ + 1509, + 603, + 603 + ], + [ + 1551, + 1091, + 267 + ], + [ + 1540, + 260, + 1091 + ], + [ + 1564, + 1091, + 1091 + ], + [ + 1553, + 237, + 237 + ], + [ + 1559, + 237, + 237 + ], + [ + 1561, + 306, + 306 + ], + [ + 1565, + 1091, + 1091 + ], + [ + 1566, + 127, + 127 + ], + [ + 1567, + 127, + 127 + ], + [ + 1568, + 240, + 240 + ] + ], + "owned_paid": { + "1": 20, + "2": 9, + "3": 2, + "4": 13, + "5": 2, + "6": 1 + }, + "paid": { + "1": 3982, + "2": 916, + "3": 639, + "4": 272, + "5": 354, + "6": 45, + "7": 13, + "8": 6 + }, + "peak": 50 + }, + "source": { + "birth457": 281, + "event_counts": { + "ADD": 191543, + "CLEAR": 180, + "COPY": 1, + "INIT": 180, + "MOVE": 6228, + "SCALE": 4536 + }, + "lifetime_trace": [ + [ + 1502, + 353, + 353 + ], + [ + 1501, + 359, + 359 + ], + [ + 1501, + 372, + 372 + ], + [ + 1503, + 375, + 375 + ], + [ + 1503, + 537, + 537 + ], + [ + 1501, + 538, + 538 + ], + [ + 1501, + 724, + 724 + ], + [ + 1501, + 372, + 372 + ], + [ + 1519, + 381, + 381 + ], + [ + 1525, + 455, + 455 + ], + [ + 1513, + 339, + 339 + ], + [ + 1507, + 321, + 321 + ], + [ + 1501, + 371, + 371 + ], + [ + 1518, + 377, + 377 + ], + [ + 1501, + 405, + 405 + ], + [ + 1526, + 414, + 414 + ], + [ + 1533, + 452, + 452 + ], + [ + 1527, + 451, + 451 + ], + [ + 1534, + 413, + 413 + ], + [ + 1503, + 390, + 390 + ], + [ + 1501, + 393, + 393 + ], + [ + 1515, + 338, + 338 + ], + [ + 1505, + 101, + 101 + ], + [ + 1504, + 376, + 376 + ], + [ + 1517, + 337, + 337 + ], + [ + 1503, + 389, + 389 + ], + [ + 1501, + 395, + 395 + ], + [ + 1532, + 453, + 453 + ], + [ + 1538, + 415, + 415 + ], + [ + 1533, + 433, + 433 + ], + [ + 1516, + 340, + 340 + ], + [ + 1522, + 360, + 360 + ], + [ + 1512, + 322, + 322 + ], + [ + 1501, + 369, + 369 + ], + [ + 1523, + 378, + 378 + ], + [ + 1527, + 492, + 492 + ], + [ + 1526, + 438, + 438 + ], + [ + 1560, + 306, + 306 + ], + [ + 1558, + 237, + 237 + ], + [ + 1551, + 416, + 416 + ], + [ + 1550, + 417, + 417 + ], + [ + 1549, + 419, + 419 + ], + [ + 1548, + 420, + 420 + ], + [ + 1568, + 3, + 3 + ], + [ + 1509, + 456, + 456 + ], + [ + 1541, + 599, + 260 + ], + [ + 1529, + 267, + 1091 + ], + [ + 1503, + 521, + 521 + ], + [ + 1503, + 525, + 525 + ], + [ + 1504, + 528, + 528 + ], + [ + 1503, + 526, + 526 + ], + [ + 1503, + 553, + 553 + ], + [ + 1503, + 564, + 564 + ], + [ + 1503, + 576, + 576 + ], + [ + 1556, + 595, + 595 + ], + [ + 1528, + 543, + 541 + ], + [ + 1526, + 531, + 529 + ], + [ + 1548, + 529, + 531 + ], + [ + 1501, + 737, + 737 + ], + [ + 1543, + 598, + 394 + ], + [ + 1517, + 394, + 598 + ], + [ + 1505, + 394, + 394 + ], + [ + 1515, + 260, + 599 + ], + [ + 1506, + 260, + 260 + ], + [ + 1545, + 600, + 431 + ], + [ + 1535, + 431, + 431 + ], + [ + 1544, + 431, + 243 + ], + [ + 1539, + 243, + 517 + ], + [ + 1519, + 431, + 600 + ], + [ + 1507, + 431, + 431 + ], + [ + 1532, + 595, + 529 + ], + [ + 1503, + 529, + 595 + ], + [ + 1547, + 601, + 470 + ], + [ + 1521, + 470, + 601 + ], + [ + 1501, + 548, + 548 + ], + [ + 1508, + 470, + 470 + ], + [ + 1509, + 595, + 595 + ], + [ + 1534, + 394, + 394 + ], + [ + 1542, + 394, + 240 + ], + [ + 1538, + 240, + 518 + ], + [ + 1554, + 120, + 120 + ], + [ + 1503, + 744, + 744 + ], + [ + 1505, + 645, + 645 + ], + [ + 1506, + 647, + 647 + ], + [ + 1505, + 664, + 664 + ], + [ + 1503, + 665, + 665 + ], + [ + 1549, + 549, + 559 + ], + [ + 1527, + 559, + 549 + ], + [ + 1525, + 115, + 115 + ], + [ + 1506, + 693, + 693 + ], + [ + 1505, + 695, + 695 + ], + [ + 1507, + 694, + 694 + ], + [ + 1506, + 723, + 723 + ], + [ + 1552, + 237, + 237 + ], + [ + 1505, + 736, + 736 + ], + [ + 1536, + 470, + 470 + ], + [ + 1546, + 470, + 1090 + ], + [ + 1537, + 1090, + 477 + ], + [ + 1530, + 593, + 549 + ], + [ + 1503, + 575, + 575 + ], + [ + 1505, + 829, + 829 + ], + [ + 1503, + 847, + 847 + ], + [ + 1542, + 1074, + 1074 + ], + [ + 1519, + 858, + 858 + ], + [ + 1503, + 881, + 881 + ], + [ + 1503, + 850, + 850 + ], + [ + 1525, + 853, + 853 + ], + [ + 1526, + 863, + 863 + ], + [ + 1505, + 841, + 841 + ], + [ + 1517, + 857, + 857 + ], + [ + 1545, + 888, + 888 + ], + [ + 1525, + 889, + 889 + ], + [ + 1532, + 844, + 844 + ], + [ + 1521, + 828, + 828 + ], + [ + 1536, + 1075, + 1075 + ], + [ + 1543, + 866, + 866 + ], + [ + 1537, + 885, + 885 + ], + [ + 1505, + 856, + 856 + ], + [ + 1503, + 574, + 574 + ], + [ + 1562, + 1031, + 1031 + ], + [ + 1533, + 597, + 591 + ], + [ + 1523, + 1031, + 1031 + ], + [ + 1504, + 591, + 597 + ], + [ + 1557, + 595, + 595 + ], + [ + 1555, + 120, + 120 + ], + [ + 1503, + 657, + 657 + ], + [ + 1563, + 1031, + 1031 + ], + [ + 1503, + 827, + 827 + ], + [ + 1503, + 864, + 864 + ], + [ + 1534, + 845, + 845 + ], + [ + 1546, + 873, + 873 + ], + [ + 1528, + 877, + 877 + ], + [ + 1505, + 892, + 892 + ], + [ + 1504, + 826, + 826 + ], + [ + 1544, + 1076, + 1076 + ], + [ + 1547, + 1077, + 1077 + ], + [ + 1507, + 909, + 909 + ], + [ + 1501, + 549, + 593 + ], + [ + 1502, + 541, + 594 + ], + [ + 1535, + 902, + 902 + ], + [ + 1548, + 913, + 913 + ], + [ + 1530, + 840, + 840 + ], + [ + 1506, + 835, + 835 + ], + [ + 1541, + 846, + 846 + ], + [ + 1506, + 917, + 917 + ], + [ + 1505, + 922, + 922 + ], + [ + 1508, + 851, + 851 + ], + [ + 1538, + 838, + 838 + ], + [ + 1527, + 855, + 855 + ], + [ + 1522, + 549, + 549 + ], + [ + 1515, + 834, + 834 + ], + [ + 1532, + 874, + 874 + ], + [ + 1519, + 890, + 890 + ], + [ + 1539, + 839, + 839 + ], + [ + 1550, + 541, + 543 + ], + [ + 1531, + 594, + 541 + ], + [ + 1524, + 117, + 117 + ], + [ + 1529, + 872, + 872 + ], + [ + 1542, + 894, + 894 + ], + [ + 1567, + 207, + 207 + ], + [ + 1525, + 245, + 245 + ], + [ + 1520, + 1090, + 470 + ], + [ + 1514, + 1091, + 260 + ], + [ + 1511, + 1091, + 1091 + ], + [ + 1518, + 243, + 431 + ], + [ + 1516, + 240, + 394 + ], + [ + 1512, + 518, + 240 + ], + [ + 1510, + 477, + 1090 + ], + [ + 1513, + 517, + 243 + ], + [ + 1509, + 603, + 603 + ], + [ + 1551, + 1091, + 267 + ], + [ + 1540, + 260, + 1091 + ], + [ + 1564, + 1091, + 1091 + ], + [ + 1553, + 237, + 237 + ], + [ + 1559, + 237, + 237 + ], + [ + 1561, + 306, + 306 + ], + [ + 1565, + 1091, + 1091 + ], + [ + 1566, + 127, + 127 + ], + [ + 1567, + 127, + 127 + ], + [ + 1568, + 240, + 240 + ] + ], + "owned_paid": { + "1": 20, + "2": 9, + "3": 2, + "4": 13, + "5": 2, + "6": 1 + }, + "paid": { + "1": 3983, + "2": 917, + "3": 638, + "4": 272, + "5": 354, + "6": 45, + "7": 13, + "8": 6 + }, + "peak": 50 + } + }, + "source": { + "canonical_sha256": "c3390064f8bff3fda737f38c1d438016125e784952c545940bbb261b10df668c", + "gzip_sha256": "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659", + "raw_sha256": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2" + }, + "source_cut_clocks": [ + 131142, + 131294 + ], + "status": "PASS_STRICT_379_NATIVE_FINITE" +} diff --git a/research/p104-180-contact-application/inputs/native/prior-pairs.json.gz b/research/p104-180-contact-application/inputs/native/prior-pairs.json.gz new file mode 100644 index 0000000000..185ad5e648 Binary files /dev/null and b/research/p104-180-contact-application/inputs/native/prior-pairs.json.gz differ diff --git a/research/p104-180-contact-application/inputs/native/prior-physical-1000000009.json b/research/p104-180-contact-application/inputs/native/prior-physical-1000000009.json new file mode 100644 index 0000000000..ae90b47628 --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/prior-physical-1000000009.json @@ -0,0 +1,369 @@ +{ + "candidate": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202667, + "ordered_clear_values": "f8d7c82fa96d282cb550cedd5feb2d35d75b0eed7b501033e95f74c25aa5274b" + }, + "digests": { + "candidate": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979", + "initial": "5e0a3b42f5964dcbdbd5a2bb6b3d429e1da7acc016c683539c3b24107c8c8b1d", + "reference_public": "30dad95bfd00d2f83c9ab6918a0d67a5efea9bfc850a2add44515348473c0ba2", + "source": "42af8e03e2c349d79144c296034f6d3c6cc0d87a8aa5dbec1b38329af4627979" + }, + "elapsed_seconds": 69.30132406600751, + "endpoint_rows": 1501, + "i_squared_minus_one": 569522298, + "owned_zero_rows": 68, + "prime": 1000000009, + "scope": "One deterministic dense input at this modulus through every literal event", + "seed": 11, + "six_finite_exact_column_crosschecks": 6, + "source": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202668, + "ordered_clear_values": "f8d7c82fa96d282cb550cedd5feb2d35d75b0eed7b501033e95f74c25aa5274b" + }, + "status": "PASS_PAIRED_DENSE_PHYSICAL_WORDS", + "vector_width": 512, + "wrong_bypass_phase": { + "endpoint_rows": [ + 34, + 61, + 66, + 95, + 119, + 133, + 139, + 151, + 204, + 205, + 228, + 233, + 235, + 237, + 244, + 246, + 253, + 260, + 267, + 268, + 272, + 276, + 281, + 284, + 286, + 288, + 290, + 292, + 294, + 296, + 297, + 316, + 319, + 335, + 336, + 340, + 343, + 347, + 348, + 350, + 351, + 354, + 365, + 367, + 372, + 382, + 402, + 436, + 437, + 441, + 442, + 447, + 448, + 449, + 456, + 458, + 460, + 464, + 465, + 466, + 469, + 475, + 476, + 482, + 483, + 484, + 487, + 488, + 489, + 491, + 495, + 496, + 502, + 506, + 513, + 516, + 523, + 527, + 528, + 535, + 536, + 538, + 539, + 541, + 542, + 545, + 548, + 549, + 551, + 552, + 561, + 562, + 563, + 564, + 567, + 569, + 571, + 575, + 576, + 577, + 578, + 581, + 582, + 583, + 586, + 589, + 590, + 591, + 592, + 599, + 600, + 609, + 617, + 619, + 624, + 625, + 632, + 635, + 641, + 655, + 664, + 665, + 671, + 672, + 680, + 681, + 688, + 689, + 707, + 709, + 732, + 752, + 756, + 757, + 761, + 789, + 793, + 806, + 811, + 896, + 929, + 969, + 988, + 997, + 1000, + 1003, + 1007, + 1010, + 1013, + 1016, + 1017, + 1022, + 1027, + 1029, + 1042, + 1044, + 1047, + 1048, + 1050, + 1064, + 1070, + 1072, + 1074, + 1075, + 1078, + 1084, + 1089, + 1093, + 1094, + 1096, + 1097, + 1102, + 1104, + 1105, + 1106, + 1113, + 1118, + 1120, + 1122, + 1128, + 1129, + 1141, + 1144, + 1150, + 1155, + 1169, + 1171, + 1172, + 1174, + 1182, + 1201, + 1202, + 1204, + 1205, + 1206, + 1215, + 1221, + 1224, + 1228, + 1235, + 1240, + 1243, + 1249, + 1250, + 1253, + 1255, + 1256, + 1258, + 1262, + 1263, + 1264, + 1265, + 1283, + 1286, + 1287, + 1294, + 1295, + 1298, + 1300, + 1302, + 1306, + 1311, + 1317, + 1319, + 1321, + 1322, + 1328, + 1329, + 1334, + 1445, + 1466, + 1469, + 1470, + 1471, + 1472, + 1473, + 1477 + ] + }, + "wrong_second_alpha_rows": [ + 772, + 773, + 774, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 787, + 788, + 790, + 792, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 803, + 804, + 805, + 807, + 808, + 809, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881 + ] +} diff --git a/research/p104-180-contact-application/inputs/native/prior-physical-998244353.json b/research/p104-180-contact-application/inputs/native/prior-physical-998244353.json new file mode 100644 index 0000000000..e0afba175e --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/prior-physical-998244353.json @@ -0,0 +1,129 @@ +{ + "candidate": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202667, + "ordered_clear_values": "0cfd518fcb6fe36ec79ac7d4b2c0c50eed940d5af1c71b80e3f3f041d0a4d16f" + }, + "digests": { + "candidate": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141", + "initial": "f95e41e2c6e36366b4a44ac7d7008b4215e73ad99b6b746efc52d940c97ddf28", + "reference_public": "7f48531a20c8244839cbd30b0ddd4bd5a43c86f4da764c99e8b816ff6facf0c0", + "source": "2062bf76604692b6808ca90190d9fce3bbb0015e152d75785362fd3b06b03141" + }, + "elapsed_seconds": 47.542498338007135, + "endpoint_rows": 1501, + "i_squared_minus_one": 911660635, + "owned_zero_rows": 68, + "prime": 998244353, + "scope": "One deterministic dense input at this modulus through every literal event", + "seed": 37, + "six_finite_exact_column_crosschecks": 6, + "source": { + "clears": 180, + "copy_zero_checks": 1, + "events": 202668, + "ordered_clear_values": "0cfd518fcb6fe36ec79ac7d4b2c0c50eed940d5af1c71b80e3f3f041d0a4d16f" + }, + "status": "PASS_PAIRED_DENSE_PHYSICAL_WORDS", + "vector_width": 512, + "wrong_bypass_phase": null, + "wrong_second_alpha_rows": [ + 772, + 773, + 774, + 776, + 777, + 778, + 779, + 780, + 781, + 782, + 783, + 784, + 785, + 787, + 788, + 790, + 792, + 794, + 795, + 796, + 797, + 798, + 799, + 800, + 801, + 803, + 804, + 805, + 807, + 808, + 809, + 813, + 814, + 815, + 816, + 817, + 818, + 819, + 820, + 821, + 822, + 823, + 824, + 825, + 826, + 827, + 828, + 829, + 832, + 833, + 834, + 835, + 836, + 837, + 838, + 839, + 840, + 841, + 842, + 843, + 844, + 845, + 847, + 848, + 849, + 850, + 851, + 852, + 853, + 854, + 855, + 856, + 857, + 858, + 859, + 860, + 861, + 862, + 864, + 865, + 866, + 867, + 868, + 869, + 870, + 871, + 872, + 873, + 874, + 875, + 876, + 877, + 878, + 879, + 880, + 881 + ] +} diff --git a/research/p104-180-contact-application/inputs/native/raw-combined.json.gz b/research/p104-180-contact-application/inputs/native/raw-combined.json.gz new file mode 100644 index 0000000000..6759bd6a70 Binary files /dev/null and b/research/p104-180-contact-application/inputs/native/raw-combined.json.gz differ diff --git a/research/p104-180-contact-application/inputs/native/source-clear.json b/research/p104-180-contact-application/inputs/native/source-clear.json new file mode 100644 index 0000000000..4728a0609e --- /dev/null +++ b/research/p104-180-contact-application/inputs/native/source-clear.json @@ -0,0 +1 @@ +{"clear_event_index":{"121447":{"500":"-1","1072":"1"},"121449":{"307":"1"},"121854":{"510":"-1","1089":"1"},"121856":{"22":"1/4","23":"-3/4","320":"1/4","321":"-1/2","323":"-1","325":"1/2","330":"-1"},"122607":{"246":"1","510":"1"},"122613":{"262":"1","500":"1"},"122691":{"1477":"-1"},"122820":{"332":"-1","1094":"1"},"122822":{"22":"1/8","23":"1/8","320":"1/8","321":"1/4","323":"1/2","325":"1/4","330":"-1/2"},"122896":{"64":"1/8","385":"-1/4","387":"-1/2","389":"-1/4","394":"-1/2"},"122928":{"18":"1/4","39":"1/4","40":"1/4","288":"-1/4","289":"-1/2","291":"-1/2","298":"1"},"123037":{"17":"-5/8","103":"1/2","272":"-1/2","273":"-1/2","275":"-1","277":"1/2","282":"1"},"123046":{"512":"-1","1088":"1"},"123048":{"23":"-1/4","320":"-1/4","321":"-1/2","323":"-1","325":"1/2","330":"1"},"123200":{"354":"-1","1116":"1"},"123202":{"30":"1/4","353":"1/2","355":"-1","357":"-1/2","362":"-1"},"123205":{"64":"1/4","96":"1","385":"1/2","387":"-1","389":"-1/2","394":"-1"},"123272":{"64":"-1/4","65":"-1/2","96":"1/2","385":"-1/2","387":"-1","389":"1/2","394":"-1"},"123275":{"29":"-1/2","30":"-1/4","59":"1/2","353":"-1/2","355":"-1","357":"1/2","362":"-1"},"123695":{"343":"-1","1105":"1"},"123697":{"341":"1"},"123747":{"18":"1/4","39":"1/4","40":"1/4","288":"1/4","289":"1/2","291":"5/2","293":"-1","298":"-1"},"123754":{"23":"1/4","320":"1/4","321":"1/2","323":"1","325":"1/2","330":"-1","511":"-1","1084":"1"},"123758":{"23":"1/4","108":"1/2","320":"-1/4","321":"1/2","323":"-1","325":"-1/2","330":"-1"},"123790":{"18":"1/4","39":"-1/4","40":"1/4","288":"1/4","289":"-1/2","298":"-1"},"123872":{"342":"-1","1104":"1"},"123874":{"339":"1"},"123877":{"64":"-3/4","384":"-1/2","385":"-1/2","387":"-1","389":"1/2","394":"1"},"123940":{"30":"-1/4","59":"1/2","352":"-1/2","353":"-1/2","355":"-1","357":"1/2","362":"1"},"123943":{"8":"1/4","26":"1/4","368":"-3/4","369":"-1/2","371":"-1","373":"1/2","378":"1"},"123999":{"18":"1/4","39":"1/4","40":"1/4","288":"1/4","289":"1/2","293":"-1","298":"1"},"124009":{"35":"1/4","45":"1/4","107":"-1/4","304":"-1/4","305":"1/2","307":"-1","309":"-1/2","314":"1"},"124061":{"17":"-1/4","273":"1/2","275":"-1","277":"-1/2","282":"1"},"124068":{"513":"-1","1086":"1"},"124070":{"23":"1/4","108":"1/2","320":"-1/4","321":"1/2","323":"-1","325":"-1/2","330":"1"},"124309":{"104":"1/2","416":"-1/2","417":"1","421":"1/2","426":"2"},"124459":{"8":"1/8","26":"1/8","95":"-1/4","368":"-1/8","369":"-1/4","371":"1/2","373":"-1/4","378":"-1/2"},"125900":{"831":"1"},"126366":{"1082":"1"},"126501":{"30":"1/4","353":"1/2","355":"-1","357":"-1/2","362":"1"},"126508":{"30":"1/8","353":"-1/4","355":"-1/2","357":"-1/4","362":"-1/2"},"126518":{"30":"1/8","59":"-1/4","352":"1/4","353":"1/4","355":"1/2","357":"1/4","362":"-1/2"},"126525":{"30":"1/8","353":"-1/4","355":"1/2","357":"-1/4","362":"-1/2"},"126785":{},"127159":{"64":"-1/8","65":"-1/4","96":"3/8","385":"1/4","387":"-1/2","389":"1/4","394":"-1/2"},"127167":{"1343":"-1","1344":"-1","1346":"-1","1347":"-1"},"127944":{"18":"1","45":"1","61":"1","63":"1","103":"1","108":"1"},"128035":{"365":"1"},"128103":{"290":"1","1402":"1"},"128106":{"380":"1","424":"1"},"128116":{"278":"1"},"128295":{"169":"1","1470":"-1"},"128433":{"203":"1","1471":"-1"},"128485":{"88":"1"},"128527":{"451":"1"},"128577":{"628":"-2","630":"-2"},"128796":{"640":"-1/2","641":"-1/2"},"128853":{"913":"-1","927":"1"},"128897":{"228":"1"},"128909":{"674":"-2","712":"-1","714":"-1","883":"-2","1102":"4","1106":"2","1110":"2","1113":"-2","1224":"-2","1249":"4","1280":"4","1341":"-1","1342":"-1","1355":"4"},"128910":{"256":"1/4","336":"1/4"},"128911":{"256":"1/4","336":"1/4"},"128926":{"92":"1/4"},"128927":{"92":"1/4"},"128928":{"3":"1/4","26":"1/4","67":"1/8","721":"-1","723":"-1","775":"2","837":"4","942":"2","956":"-2","1134":"4","1138":"-2","1144":"-2"},"128929":{"3":"1/16","26":"1/16","67":"1/32","546":"1","721":"-1/4","723":"-1/4","775":"1/2","837":"1","942":"1/2","956":"-1/2","1105":"1","1134":"1","1137":"1","1138":"-1/2","1144":"-1/2"},"128930":{"3":"1/16","26":"1/16","67":"1/32","546":"1","721":"-1/4","723":"-1/4","775":"1/2","837":"1","942":"1/2","956":"-1/2","1105":"1","1134":"1","1137":"1","1138":"-1/2","1144":"-1/2"},"128931":{"3":"1/16","26":"1/16","67":"1/32","546":"1","721":"-1/4","724":"-1/4","725":"-1/4","775":"1/2","837":"1","942":"1/2","956":"-1/2","1105":"1","1134":"1","1137":"1","1138":"-1/2","1144":"-1/2","1390":"-1/4"},"128932":{"26":"1","95":"1/4","368":"1/4","381":"1","723":"1","724":"-1","725":"-1","865":"4","1390":"-1"},"128933":{"26":"1","95":"1/4","368":"1/4","381":"1","723":"1","724":"-1","725":"-1","865":"4","1390":"-1"},"128950":{"146":"-2","451":"1","496":"2","497":"-2","581":"-1","582":"-1","889":"-1","895":"1","897":"1","898":"-1","907":"1","919":"-1","1078":"1","1080":"1","1255":"1","1258":"1","1259":"1","1479":"1"},"128959":{"146":"-1/2"},"128960":{"41":"-3/4","42":"3/8","52":"2","106":"-15/16","240":"9/16","405":"-3/2","573":"-2","728":"-1/4","737":"1","813":"3/2","875":"-2","1154":"-2","1162":"3","1163":"-3","1168":"4","1173":"-2","1349":"-1","1353":"4","1365":"3/4","1373":"3/2","1380":"3/4","1385":"21/16","1392":"-3/8","1397":"-6","1448":"-3/4"},"128961":{"41":"1/4","42":"-1/8","106":"5/16","240":"-3/16","405":"1/2","728":"-1/4","813":"-1/2","1162":"-1","1163":"1","1365":"-1/4","1373":"-1/2","1380":"-1/4","1385":"-7/16","1392":"1/8","1397":"2","1448":"1/4"},"129005":{"223":"1","1469":"-1"},"129015":{"41":"1/4","42":"-1/8","106":"5/16","240":"-3/16","405":"1/2","728":"-1/4","813":"-1/2","1162":"-1","1163":"1","1365":"-1/4","1373":"-1/2","1380":"-1/4","1385":"-7/16","1392":"1/8","1397":"2","1448":"1/4"},"129055":{"572":"1"},"129060":{"338":"-1/4","674":"-1/2","712":"-1/4","714":"-1/4","883":"-1/2","1100":"1","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"},"129061":{"338":"-1/4","674":"-1/2","712":"-1/4","714":"-1/4","883":"-1/2","1100":"1","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"},"129062":{"338":"-1/4","674":"-1/2","712":"-1/4","714":"-1/4","863":"-2","883":"-1/2","1100":"1","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"},"129204":{"648":"1"},"129308":{},"129431":{"125":"1","1457":"-1"},"129452":{"139":"1","1474":"-1"},"129490":{"163":"1","1472":"-1"},"129497":{"201":"1","1465":"-1"},"129633":{"752":"-1","891":"1","937":"-1"},"129638":{"611":"1","613":"1","752":"1","891":"-1","937":"1"},"129645":{"476":"-1","489":"-1","524":"1","607":"-1","608":"-1/4","610":"3/4","611":"-1","612":"-1","613":"-1/2","770":"1","1277":"-1","1279":"2","1368":"-3","1374":"2"},"129874":{"128":"1","1476":"-1"},"129882":{"119":"1","1475":"-1"},"129885":{"154":"1","1458":"-1"},"130027":{"707":"4"},"130143":{"333":"1"},"130146":{"1466":"-1"},"130645":{"13":"1/4","41":"3/16","42":"-3/32","52":"-1/2","106":"15/64","240":"-9/64","402":"1/4","405":"3/8","573":"1/2","728":"1/16","737":"-1/2","813":"-3/8","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","1154":"1/2","1162":"-3/4","1163":"3/4","1168":"-1","1173":"1/2","1349":"1/4","1353":"-1","1365":"-3/16","1373":"-3/8","1380":"-3/16","1385":"-21/64","1392":"3/32","1397":"3/2","1448":"3/16","1474":"1/2"},"130646":{"13":"1/4","41":"-1/16","42":"1/32","52":"-1/2","106":"-5/64","240":"-13/64","402":"1/4","405":"-1/8","573":"1/2","728":"5/16","737":"-1/2","813":"1/8","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","1154":"1/2","1162":"1/4","1163":"-1/4","1168":"-1","1173":"1/2","1349":"1/4","1353":"-1","1365":"1/16","1373":"1/8","1380":"1/16","1385":"-9/64","1392":"-1/32","1397":"-1/2","1448":"-1/16","1474":"1/2"},"130647":{"13":"1/4","52":"-1/2","240":"-3/16","402":"1/4","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","1154":"1/2","1168":"-1","1173":"1/2","1349":"1/4","1353":"-1","1385":"-3/16","1448":"1/4","1474":"1/2"},"130807":{"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","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"},"130903":{"74":"1"},"131310":{"513":"1"},"131359":{"276":"1"},"131398":{"343":"-1/2"},"131445":{"254":"1","559":"-1/2"},"131449":{"526":"1"},"131462":{"248":"1","546":"-1/2"},"131470":{"280":"1","568":"-1/2"},"131477":{"284":"1","575":"-1/2"},"131486":{"292":"1","467":"1"},"131493":{"252":"1","558":"-1/2"},"131499":{"563":"1","1399":"1"},"131506":{"364":"1","1436":"1"},"131525":{"428":"1","564":"1"},"131550":{"263":"1","512":"1"},"131577":{"479":"1","527":"1"},"131599":{"461":"1","523":"-1/2"},"131660":{"502":"1","1138":"1"},"131691":{"302":"1","578":"-1/2"},"131699":{"349":"1"},"131762":{"1336":"1"},"131768":{"133":"3/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","896":"1","901":"1","929":"-1","962":"1","981":"1","1334":"-1","1336":"1/2","1337":"1","1340":"1/2","1362":"-1/2","1377":"2","1386":"3/2","1498":"2"},"131800":{"483":"-1","519":"-1","543":"-1","696":"-1","697":"1/4","698":"1/2","700":"1/2","702":"1","733":"1/2","767":"1/2","883":"1","892":"1","896":"1","901":"-1","924":"2","929":"-1","962":"1","981":"1","1334":"1","1337":"-1/2","1340":"1/2","1362":"2","1377":"-2","1386":"-1/2","1498":"-1"},"131801":{"133":"-1/2","483":"-1","519":"-1","543":"-1","696":"-1","697":"1/4","698":"1/2","700":"1/2","702":"1","733":"1/2","767":"1/2","883":"1","892":"1","896":"1","901":"-1","924":"2","929":"-1","962":"1","981":"1","1334":"1","1337":"-1/2","1340":"1/2","1362":"2","1377":"-2","1386":"-1/2","1498":"-1"},"131821":{"146":"4","228":"2","428":"-1","430":"-1","451":"-1","508":"2","565":"-1","581":"1","582":"1","637":"-1","922":"-1","925":"1","974":"1","983":"-1","1158":"-1/2","1160":"-1","1207":"2","1243":"-2","1400":"2","1479":"-3","1495":"-2"},"131874":{"38":"1","248":"-1","268":"-1","302":"1","546":"1/2","578":"-1/2","648":"-1","652":"-1","654":"-1","1449":"1","1450":"1"},"131988":{"165":"1","1473":"-1"},"132266":{"133":"-3","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","924":"2","986":"2","1334":"2","1336":"-1","1337":"-1","1362":"2","1377":"-4","1386":"-3","1498":"-2"},"132399":{"242":"1","499":"1"},"132452":{"576":"-1/2"},"132461":{"430":"1","565":"1"},"132481":{"359":"-1/2","1404":"1"},"132486":{"328":"1","573":"1"},"132524":{"529":"1"},"132531":{"247":"1","498":"1"},"132534":{"551":"1","1395":"1"},"132537":{"392":"1","1410":"1"},"132609":{"1466":"-1"},"132616":{"173":"1/2","476":"-1/4","489":"-1/4","524":"1/4","537":"1/4","607":"-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","1277":"-1/4","1279":"1/2","1280":"3/8","1368":"-3/4","1374":"1/2"},"132617":{"151":"1/2"},"132632":{"707":"4"},"132641":{"902":"-1/2","985":"-1/2"},"132658":{"294":"1","466":"1"},"132666":{"260":"1","501":"1"},"132669":{"295":"1","458":"1"},"132705":{"1481":"-1"},"132713":{},"132716":{"10":"1","547":"-1/2"},"132770":{"456":"1","474":"1"},"132807":{"300":"1","577":"-1/2"},"132835":{"173":"1"},"132984":{"244":"1","511":"1"},"132996":{"354":"-1/2","1405":"1"},"133384":{"366":"1","1435":"1"},"133460":{"457":"1","475":"1"},"133526":{"917":"-1"},"133534":{"28":"-1","129":"-1/2","150":"-1/2","286":"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","929":"-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","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","1291":"-1","1302":"-1","1303":"-1/2","1322":"-1","1323":"-1","1324":"1/2","1325":"1/2","1394":"1/2","1427":"-1"},"133607":{"60":"-4","151":"-2","528":"-4","623":"-1","625":"-1/2","626":"1","628":"2","629":"2","630":"2","768":"1/2"},"133639":{"334":"1","580":"1"},"133698":{"517":"1","553":"1"},"133924":{"1467":"-1"},"134615":{"438":"-1","585":"-1","769":"1"},"134638":{"41":"-1","42":"1/2","106":"-5/4","240":"3/4","405":"-2","728":"1","813":"2","1162":"4","1163":"-4","1365":"1","1373":"2","1380":"1","1385":"7/4","1392":"-1/2","1397":"-8","1448":"-1"},"134643":{"92":"1"},"134646":{"92":"1"},"134649":{"26":"-1","80":"-2","95":"1","368":"1","381":"4","723":"4","724":"-4","725":"-4","865":"16","1389":"-4","1390":"-4"},"134662":{"256":"1","336":"1","1342":"-2","1437":"2"},"134663":{"256":"1","336":"1","1342":"-2","1437":"2"},"134666":{"41":"-1","42":"1/2","106":"-5/4","240":"3/4","405":"-2","728":"1","813":"2","1162":"4","1163":"-4","1365":"1","1373":"2","1380":"1","1385":"7/4","1392":"-1/2","1397":"-8","1448":"-1"},"134677":{"9":"1","368":"1"},"134751":{},"134870":{"862":"-1"},"134876":{"7":"-1/2","87":"-1/2","226":"1","230":"1","473":"1","485":"1","496":"1","508":"1","521":"1","544":"1","779":"-1/2","857":"-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","1000":"-1/2","1206":"1","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","1466":"1","1477":"1","1490":"2"},"134904":{"998":"1"},"135238":{"22":"-1/2","23":"-1/2","49":"1","108":"-1","320":"-1/2","333":"-1","1492":"-2"},"135479":{"794":"-4","1082":"-1"},"136749":{"831":"-1","864":"-2","1025":"-2","1029":"-5/2"},"136921":{"998":"-1","1499":"1"},"136927":{},"136928":{},"137351":{"863":"1"}}} \ No newline at end of file diff --git a/research/p104-180-contact-application/inputs/native/source-word.json.gz b/research/p104-180-contact-application/inputs/native/source-word.json.gz new file mode 100644 index 0000000000..e53c2271bf Binary files /dev/null and b/research/p104-180-contact-application/inputs/native/source-word.json.gz differ diff --git a/research/p104-180-contact-application/retained/pr7636/data/invoice-new.json b/research/p104-180-contact-application/retained/pr7636/data/invoice-new.json new file mode 100644 index 0000000000..93129ac5c4 --- /dev/null +++ b/research/p104-180-contact-application/retained/pr7636/data/invoice-new.json @@ -0,0 +1 @@ +{"schema": "integer-mult-recursive-invoice/v1", "contract": {"model": "mixed-target-unnormalized-power-v1", "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields", "ambient_rank": 145, "boundary": "complete signed #7113 caller application with 17 native calls"}, "paid": {"1": 68095, "2": 15589, "3": 10846, "4": 4624, "5": 6018, "6": 765, "7": 221, "8": 758, "9": 32, "16": 416, "24": 416, "32": 416, "40": 416, "48": 416, "56": 416, "64": 208}, "targets": {"1": 306, "2": 357, "3": 799, "4": 3825, "5": 1360, "6": 765, "7": 323, "8": 544, "9": 10854, "17": 416, "25": 416, "33": 416, "41": 416, "49": 416, "57": 416, "65": 416, "73": 208, "137": 208}} \ No newline at end of file diff --git a/research/p104-180-contact-application/retained/pricing/compare_recursive_invoices.py b/research/p104-180-contact-application/retained/pricing/compare_recursive_invoices.py new file mode 100644 index 0000000000..fda2a852e9 --- /dev/null +++ b/research/p104-180-contact-application/retained/pricing/compare_recursive_invoices.py @@ -0,0 +1,218 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Compare declared recursive invoices by exact signed concave order. + +Usage: python3 -B scripts/compare_recursive_invoices.py OLD.json NEW.json + +Each input has schema ``integer-mult-recursive-invoice/v1``, an identical +contract object with model, rank_semantics, ambient_rank and boundary, and +paid/targets objects mapping canonical positive decimal ranks to nonnegative +integer counts. Contracts are declarations, not verified mathematical premises. + +For d = (new paid - old paid) - (new targets - old targets), set +K(k) = sum_r d[r] min(r,k). The sign of K at every support knot determines +the order for every increasing concave tariff f with f(0)=0. Indeed, on the +integer ranks 0..R, write s_j=f(j)-f(j-1). Then + + sum_r d[r] f(r) = s_R K(R) + sum_(k=1..R-1) (s_k-s_(k+1)) K(k). + +All coefficients on the right are nonnegative. Conversely, the increasing +concave tariffs min(r,k) witness every required hinge. Between support knots +K is linear. For f(r)=r**t, 0= 0 for value in values): + classification, power_sign = "uniformly_worse", "strictly_positive" + else: + classification, power_sign = "inconclusive", "not_determined" + old_mass, new_mass = _masses(old), _masses(new) + return { + "schema": REPORT_SCHEMA, + "classification": classification, + "contract": old["contract"], + "delta_paid": paid, + "delta_targets": targets, + "signed_net_delta": net, + "hinges": hinges, + "rank_mass": {"old": old_mass, "new": new_mass, + "delta": {key: new_mass[key] - old_mass[key] for key in old_mass}}, + "quantity": "(new paid - new targets) - (old paid - old targets)", + "tariff_class": "increasing concave f on nonnegative ranks, with f(0)=0", + "uniform_order": "weak; some concave tariffs can give equality", + "power_moment": {"tariff": "r^t", "exponent": "0 < t < 1", + "new_minus_old_sign": power_sign}, + "assurance": { + "contract": "Exact matching user declarations; mathematical applicability is not verified.", + "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.", + "inconclusive": "Mixed hinge signs do not establish a power-moment crossing or failure.", + }, + "method_credit": "Classical concave order/majorization; mightyOil's t16-moment-order-audit " + "and its retained predecessors. No new theorem claim.", + } + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("old", help="old invoice JSON") + parser.add_argument("new", help="new invoice JSON") + args = parser.parse_args(argv) + try: + old, old_evidence = load_invoice(args.old) + new, new_evidence = load_invoice(args.new) + report = compare_invoices(old, new) + report["inputs"] = {"old": old_evidence, "new": new_evidence} + except (OSError, ValueError, TypeError, RecursionError) as exc: + print(json.dumps({"status": "INVALID_RECURSIVE_INVOICE", "error": str(exc)}, + ensure_ascii=True), file=sys.stderr) + return 2 + print(json.dumps(report, indent=2, sort_keys=True, ensure_ascii=True)) + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/research/p104-180-contact-application/retained/pricing/evaluate_recursive_power.py b/research/p104-180-contact-application/retained/pricing/evaluate_recursive_power.py new file mode 100644 index 0000000000..ca50f8021f --- /dev/null +++ b/research/p104-180-contact-application/retained/pricing/evaluate_recursive_power.py @@ -0,0 +1,98 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Certify a signed invoice cost at one exact rational power, using integer bounds. + +Usage: evaluate_recursive_power.py OLD.json NEW.json --exponent 0.9969 +See docs/research/recursive-power-comparison.md for the interval argument. +Prepared for aliromman with OpenAI Codex assistance. The invoice schema and +signed accounting retain the compare_recursive_invoices predecessor credits. +""" +import argparse +from fractions import Fraction as Q +import json +import re +from math import isqrt +from pathlib import Path +import sys + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +try: + from compare_recursive_invoices import compare_invoices, load_invoice, require, MAX_RANK +finally: + sys.path.pop(0) + + +def parse_exponent(text): + require(isinstance(text, str) and len(text) <= 128, 'exponent needs at most 128 characters') + require(re.fullmatch(r'[+-]?(?:[0-9]+(?:/[0-9]+)?|[0-9]*\.[0-9]+)', text) is not None, + 'use a fraction or decimal without scientific notation') + exponent = Q(text) + require(0 < exponent < 1, 'exponent must satisfy 0 < t < 1') + return exponent + + +def power_bounds(rank, exponent, bits=128): + """Enclose rank**exponent by directed integer square roots and products.""" + require(type(rank) is int and 1 <= rank <= MAX_RANK, 'rank is outside 1..10^9') + require(isinstance(exponent, Q) and 0 < exponent < 1, 'need an exact rational 0 < t < 1') + require(type(bits) is int and 16 <= bits <= 256, 'bits must be an integer in 16..256') + scale = 1 << bits + digits, remainder = divmod(exponent.numerator * scale, exponent.denominator) + lower = upper = scale + root_lower = root_upper = rank * scale + for shift in range(bits - 1, -1, -1): + root_lower = isqrt(root_lower * scale) + radicand = root_upper * scale + root_upper = isqrt(radicand) + root_upper += root_upper * root_upper < radicand + if digits & (1 << shift): + lower = lower * root_lower // scale + upper = (upper * root_upper + scale - 1) // scale + if remainder: + upper = (upper * root_upper + scale - 1) // scale + return Q(lower, scale), Q(upper, scale) + + +def evaluate(old, new, exponent, bits=128): + report = compare_invoices(old, new) + require(isinstance(exponent, Q) and 0 < exponent < 1, 'need an exact rational 0 < t < 1') + require(type(bits) is int and 16 <= bits <= 256, 'bits must be an integer in 16..256') + delta = report['signed_net_delta'] + require(len(delta) <= 512, 'power comparison supports at most 512 nonzero ranks') + lower = upper = Q(0) + terms = [] + for rank, count in delta.items(): + lo, hi = power_bounds(int(rank), exponent, bits) + lower += count * (lo if count > 0 else hi) + upper += count * (hi if count > 0 else lo) + terms.append({'rank': int(rank), 'signed_count': count, 'power_lower': str(lo), 'power_upper': str(hi)}) + sign = ('new_cost_lower' if upper < 0 else 'new_cost_higher' if lower > 0 + else 'equal' if lower == upper == 0 else 'unresolved') + return {'schema': 'integer-mult-recursive-power-comparison/v1', 'contract': report['contract'], + 'exponent': str(exponent), 'bits': bits, 'classification': sign, + 'new_minus_old': {'lower': str(lower), 'upper': str(upper)}, 'terms': terms, + 'quantity': report['quantity'], + 'scope': 'Exact arithmetic on declared invoices at this exponent only. No circuit, ownership, ' + 'compiler, applicability or kappa claim is verified. Unresolved is not equality.'} + + +def main(argv=None): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument('old'); parser.add_argument('new') + parser.add_argument('--exponent', required=True, help='exact fraction or decimal t in r^t') + parser.add_argument('--bits', type=int, default=128, help='dyadic grid bits, 16..256; default 128') + args = parser.parse_args(argv) + try: + exponent = parse_exponent(args.exponent) + old, old_pin = load_invoice(args.old); new, new_pin = load_invoice(args.new) + report = evaluate(old, new, exponent, args.bits) + report['inputs'] = {'old': old_pin, 'new': new_pin} + except (OSError, ValueError, TypeError, RecursionError, ZeroDivisionError) as exc: + print(json.dumps({'status': 'INVALID_POWER_COMPARISON', 'error': str(exc)}), file=sys.stderr) + return 2 + print(json.dumps(report, indent=2, sort_keys=True)) + return 0 + + +if __name__ == '__main__': + raise SystemExit(main()) diff --git a/research/p104-180-contact-application/src/application/freeze_signed.py b/research/p104-180-contact-application/src/application/freeze_signed.py new file mode 100644 index 0000000000..321d610013 --- /dev/null +++ b/research/p104-180-contact-application/src/application/freeze_signed.py @@ -0,0 +1,84 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Freeze the exact inputs and run receipts consumed by the low signed replay.""" + +import argparse +import gzip +from hashlib import sha256 +import json +import os +from pathlib import Path + + +def load(path): + return json.loads(path.read_bytes()) + + +def require(test, message): + if not test: + raise ValueError(message) + + +def freeze(core, native, independent, resources, out): + pair = native / "pair" + build_path = pair / "BINDING.json" + build = load(build_path) + prior = load(independent) + launch_path = native / "native-logs" / "launch.json" + mark = load(launch_path) + native_result = native / "replay" / "RESULT.json" + require(mark["exit"] == 0 and mark["status"] == "PASS_7636_LOWERED_C_NATIVE" + and mark["native_result_sha256"] == sha256(native_result.read_bytes()).hexdigest(), "actual native pass") + require(prior["result"] == "PASS_PAIRED_EXACT_REPLAY_AND_CONDITIONAL_PRICE", "actual independent pass") + source, candidate = (pair / role / "WORD.json.gz" for role in ("source", "candidate")) + refs = { + "clear_result": build_path, "source_word": source, "word": candidate, + "source_clear": pair / "source" / "CLEAR-CERTIFICATES.json", + "candidate_clear": pair / "candidate" / "CLEAR-CERTIFICATES.json", + "source_invoice": core / "retained" / "pr7636" / "data" / "invoice-new.json", + "public_b_invoice": core / "evidence" / "pr7636" / "mutation" / "INVOICE.json", + "independent_pair": independent, "native_result": native_result, "native_receipt": launch_path, + "native_start": native / "native-logs" / "START.json", "native_stdout": native / "native-logs" / "stdout.txt", + "native_stderr": native / "native-logs" / "stderr.txt", "native_time": native / "native-logs" / "time.txt", + "native_adapter": native / "verify_low_native.py", "native_launcher": native / "run_guarded_low.py", + "native_physical": native / "engines" / "physical.py", "native_walsh": native / "engines" / "walsh.py", + "native_authorization": native / "native-authorization.json", + } + for role, prefix in (("source", "source_"), ("candidate", "")): + folder = resources / ("resource-" + role) + refs[role + "_resource_result"] = folder / "RESULT.json" + refs[role + "_resource_exit"] = folder / "EXIT.json" + for name, suffix in (("GRID", "grid"), ("LITERALS", "literals"), ("ORDINARY", "ordinary"), + ("TAPE-SCALAR", "tape_scalar"), ("TARIFF", "tariff")): + refs[prefix + suffix] = folder / (name + ".json") + inputs = {name: {"path": os.path.relpath(path.resolve(), out.resolve().parent), + "sha256": sha256(path.read_bytes()).hexdigest()} for name, path in refs.items()} + word = json.loads(gzip.decompress(candidate.read_bytes())) + mains = set(word["live"]) | {r + 112 for r in word["live"]} | set(word["hosted"]["X2"]) | set(word["hosted"]["Y2"]) + helpers = set(range(word["public"])) - mains + catalogue = {(e[2], e[3]) for e in word["program"] if e[0] == "MOVE"} + catalogue.update((word["initial"][r], word["final"][r]) for r in helpers) + result = { + "source_pr": 7636, "source_head": build["source_head"], "source_canonical_sha256": build["source"]["canonical_sha256"], + "candidate_canonical_sha256": build["candidate"]["canonical_sha256"], "candidate_raw_sha256": build["candidate"]["raw_sha256"], + "paid_positions": 109618, "catalogue_size": len(catalogue), "bit_pin": ".00376669", + "source_bracket": prior["matched_lowered_7636"]["price"]["kappa"], "public_b_bracket": prior["source"]["price"]["kappa"], + "bracket": prior["candidate"]["price"]["kappa"], "claim": "0.0036813560186", "probe": "0.00368135601867", + "inputs": inputs, "native_launch": {k: mark[k] for k in ("adapter_sha256", "launcher_sha256", "run_id", "status")}, + } + with out.open("x") as output: + json.dump(result, output, sort_keys=True, indent=2) + output.write("\n") + print("Frozen signed inputs", len(inputs), "catalogue", len(catalogue), "spec SHA-256", sha256(out.read_bytes()).hexdigest()) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + for name in ("core", "native", "independent", "resources", "out"): + parser.add_argument("--" + name, type=Path, required=True) + args = parser.parse_args() + freeze(args.core, args.native, args.independent, args.resources, args.out) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/src/application/resource_replay.py b/research/p104-180-contact-application/src/application/resource_replay.py new file mode 100644 index 0000000000..c30a1f5eed --- /dev/null +++ b/research/p104-180-contact-application/src/application/resource_replay.py @@ -0,0 +1,176 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Run the retained resource engines on the exact lowered #7636 pair.""" + +import argparse +from datetime import datetime, timezone +import gzip +from hashlib import sha256 +import json +import os +from pathlib import Path +import resource +import runpy +import signal +import sys +import time + + +HEAD = "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75" +CALLER = "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc" +PARENTS = { + "source": ("98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659", 150836, 202668), + "candidate": ("375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15", + "3fb11603e14fc9d67aff97e1b0e737f98c1395180ff71119fa64b4d8acaa8626", 150834, 202666), +} +PREFLIGHT = "532be27b5689df79b9b843a639137bd6da353974d526a460cbabd44cbf3ce5f7" +MANIFEST = "8851d08cacad58e70ee4c63eecd922673e0ff6baa7a85338e4489c4e69591708" +OLD_ADD = ["ADD", 841, 284, "23184221/921600", 127] +LOWERED_ADDS = [["ADD", 841, 284, "25", 127], ["ADD", 841, 284, "144221/921600", 127]] + + +def require(test, message): + if not test: + raise ValueError(message) + + +def digest(raw): + return sha256(raw).hexdigest() + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def read(path, pin): + raw = path.read_bytes() + require(digest(raw) == pin, f"SHA-256 mismatch: {path.name}") + return raw + + +def write(path, data): + with path.open("x") as out: + json.dump(data, out, sort_keys=True, indent=2) + out.write("\n") + + +def stamp(): + return datetime.now(timezone.utc).isoformat() + + +def word_pin(spec, root, case): + old_raw, old_gzip, clock, count = PARENTS[case] + raw = gzip.decompress(read(root / spec["parent"], old_gzip)) + require(digest(raw) == old_raw, "exact unlowered input") + word = spec["word"] + path = (root / word["path"]).resolve() + repaired_raw = gzip.decompress(read(path, word["gzip_sha256"])) + require(digest(repaired_raw) == word["raw_sha256"], "exact lowered word bytes") + original, repaired = map(json.loads, (raw, repaired_raw)) + program = original["program"] + require(digest(canonical(repaired)) == word["canonical_sha256"], "canonical lowered bytes") + require(len(program) == count and program[clock] == OLD_ADD, "exact original lowering clock") + require(repaired == {**original, "program": program[:clock] + LOWERED_ADDS + program[clock + 1:]}, + "complete authorized scalar lowering") + require((repaired["public"], repaired["owned_fields"], len(repaired["live"])) == (1501, 68, 104) + and [repaired["initial"][r] for r in (457, 461)] == [281, 285], "the 180-CLEAR interface") + return {**word, "head": HEAD, "path": path, "lifetimes": 180} + + +def prepare(evidence, out): + manifest = json.loads(read(evidence / "SOURCE-INPUTS.json", MANIFEST)) + for name, pin in manifest["resource_engine_files"].items(): + read(evidence / name, pin["sha256"]) + resource_replay = evidence / "resource-replay" + source = resource_replay / "preflight.py" + read(source, PREFLIGHT) + runner = runpy.run_path(str(source)) + runner["grid"].__globals__.update(RESOURCES=resource_replay / "engines", + VENDOR=resource_replay / "engines" / "vendor", ACTIVE_OUT=out) + return runner + + +def run(spec, root, case, evidence, out, cpu_seconds, wall): + pin = word_pin(spec, root, case) + runner = prepare(evidence, out) + literal = runner["literal_inventory"](runner["identity"](pin)) + require(not literal["failures_by_guard"], "retained literal guards on the lowered word") + runner["grid"](pin, cpu_seconds, wall) + grid = json.loads((out / "GRID.json").read_bytes()) + fields = {"compressed_word_sha256": "gzip_sha256", "decompressed_sha256": "raw_sha256", + "canonical_word_sha256": "canonical_sha256"} + require(grid["status"] == "FINITE_GRID_AND_ENVELOPE_ONLY" and grid["caller_sha256"] == CALLER + and all(grid[key] == pin[value] for key, value in fields.items()), "bound grid receipt") + census = grid["native_envelope"]["census"] + require((census["lifetimes"], census["peak_owned"], census["owned_labels"]) == (180, 50, 68), + "grid bound to the 180-lifetime model") + require(grid["context_c"] <= 4096 and grid["context_le_4096"] + and grid["integer_grid"]["numerator_bits"] <= 24, "retained context and width guards") + scale = grid["integer_grid"]["odd_scale_lcm"] + runner["quick"](pin, scale) + tariff = json.loads((out / "TARIFF.json").read_bytes()) + require(tariff["strict_ceiling_met"] and tariff["native_conversion_sites"] == 51034 + and tariff["canonical_sha256"] == pin["canonical_sha256"], "complete ordinary ceiling") + read(pin["path"], pin["gzip_sha256"]) + captured = ["GRID.json", "LITERALS.json", "ORDINARY.json", "TAPE-SCALAR.json", "TARIFF.json"] + return {"status": "PASS_LOWERED_7636_RESOURCE", "case": case, "caller_sha256": CALLER, "source_head": HEAD, + "canonical_sha256": pin["canonical_sha256"], "odd_scale": scale, "context": grid["context_c"], + "ordinary_upper": tariff["conservative_total"], + "receipts": {name: digest((out / name).read_bytes()) for name in captured}} + + +def main(): + require(sys.version_info[:2] == (3, 12) and sys.flags.isolated and sys.dont_write_bytecode and __debug__, + "use Linux Python 3.12 -I -B with assertions") + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--evidence", type=Path, required=True, help="retained #7660 application-evidence tree") + parser.add_argument("--spec", type=Path, required=True) + parser.add_argument("--go", type=Path, required=True) + parser.add_argument("--case", choices=PARENTS, required=True) + parser.add_argument("--out", type=Path, required=True) + args = parser.parse_args() + config = args.spec.resolve() + spec_bytes = config.read_bytes() + spec = json.loads(spec_bytes) + require(spec["source_head"] == HEAD and spec["scope"] == "7636-lowered-paired-resource", "exact resource scope") + out = args.out.resolve() + out.mkdir(exist_ok=False) + write(out / "START-GUARD.json", {"started": stamp(), "case": args.case, "scope": spec["scope"], + "spec_sha256": digest(spec_bytes), "adapter_sha256": digest(Path(__file__).read_bytes())}) + + def interrupted(signum, _frame): + raise InterruptedError(f"resource signal {signum}") + + for signum in (signal.SIGALRM, signal.SIGTERM, signal.SIGINT, signal.SIGXCPU): + signal.signal(signum, interrupted) + signal.alarm(120) + try: + while not args.go.exists(): + time.sleep(0.2) + go = json.loads(args.go.read_bytes()) + require(go["status"] == "GO" and go["scope"] == spec["scope"] and go["spec_sha256"] == digest(spec_bytes) + and go["event_id"] and go["receipt_id"] and go["public_claim"], "recorded exact resource authorization") + cap = go["bounds"][args.case] + cpu, wall, cpu_seconds = cap["cpu"], cap["wall_seconds"], cap["cpu_seconds"] + require(cpu in os.sched_getaffinity(0) and 0 < cpu_seconds <= 420 and 0 < wall <= 420, + "one available CPU and bounded resource gate") + os.sched_setaffinity(0, {cpu}) + resource.setrlimit(resource.RLIMIT_AS, (2 * 1024**3, 2 * 1024**3)) + resource.setrlimit(resource.RLIMIT_CPU, (cpu_seconds, cpu_seconds + 1)) + write(out / "START.json", {"started": stamp(), "case": args.case, "authorization": go}) + signal.alarm(wall) + result = run(spec[args.case], config.parent, args.case, args.evidence.resolve(), out, cpu_seconds, wall) + signal.alarm(0) + write(out / "RESULT.json", result) + except BaseException as error: + signal.alarm(0) + write(out / "EXIT.json", {"ended": stamp(), "status": "INCOMPLETE", "failure": repr(error)}) + raise + write(out / "EXIT.json", {"ended": stamp(), "status": "COMPLETE", + "result_sha256": digest((out / "RESULT.json").read_bytes())}) + print(result["status"], args.case, result["canonical_sha256"], flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/src/application/signed_replay.py b/research/p104-180-contact-application/src/application/signed_replay.py new file mode 100644 index 0000000000..a1f6823223 --- /dev/null +++ b/research/p104-180-contact-application/src/application/signed_replay.py @@ -0,0 +1,230 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Relocate exact #7113 sources and run the signed 180-CLEAR application.""" + +import argparse +from datetime import datetime, timezone +from fractions import Fraction +from hashlib import sha256 +import inspect +import json +import os +from pathlib import Path +import runpy +import subprocess +import sys +import time + + +HEAD = "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75" +SOURCE = "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8" +CANDIDATE = "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e" +B = "2ea3a954f053b4cec96f1b03830353b79c32bb74160a023b96e40872759ad560" +CALLER = "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc" +PACKAGER = "af3b332298c24e6fd9d536d4aefc0fc9883d1d87b9121654f87c7d4cf8e6dbcd" +CLOSURE = "0867688e8dcf88a9d101e0a74f0bc673773b3d1df1360b81a63e6fa3bdfd622d" +OBSERVED = "2ae6b56b5338e824e31851e828a087b17e493641d51375c23f996b3c06c25754" +BASE_INVOICE = "18adee673515c4ece7208b53c7cc17a2e121843d55f62067d2e43e341872f0d5" +B_INVOICE = "f6fcd020e866625c4c10a40513f30dd368fa7adb7573b539d684580fadebe7ee" +B_BRACKET = ["0.0036810345257", "0.0036810345258"] +SCOPE = "fresh-signed-7636-lowered-c" + + +def require(test, message): + if not test: + raise ValueError(message) + + +def digest(raw): + return sha256(raw).hexdigest() + + +def read(path, pin): + raw = path.read_bytes() + require(digest(raw) == pin, f"SHA-256 mismatch: {path.name}") + return raw + + +def write(path, obj): + with path.open("x") as stream: + json.dump(obj, stream, sort_keys=True, indent=2) + stream.write("\n") + + +def verify_native_and_clear(spec, inputs, w, source, life): + native = json.loads(inputs["native_result"]) + mark = json.loads(inputs["native_receipt"]) + checked = binding_controls(spec, mark, native, digest(inputs["native_result"])) + for name in ("walsh", "authorization"): + require(mark[name + "_sha256"] == digest(inputs["native_" + name]), f"low native custody: {name}") + build = json.loads(inputs["clear_result"]) + require(build["status"] == "PASS_7636_MATCHED_SCALAR_LOWERING_BUILD" + and build["source_head"] == native["head"] == spec["source_head"] and native["pr"] == 7636 + and native["status"] == "PASS_7636_LOWERED_C_NATIVE", "matched lowering and actual low native result") + for role, key, cert_key, word in (("source", "source_word", "source_clear", source), + ("candidate", "word", "candidate_clear", w)): + frozen = build[role] + word_bytes, cert_bytes = inputs[key], inputs[cert_key] + checks = {"canonical_sha256": digest(canonical(word)), "raw_sha256": digest(gzip.decompress(word_bytes)), + "gzip_sha256": digest(word_bytes), "clear_sha256": digest(cert_bytes)} + require(all(frozen[k] == native[role][k] == v for k, v in checks.items()) + and frozen["events"] == len(word["program"]), f"native/word/CLEAR custody for {role}") + certs = json.loads(cert_bytes)["clear_event_index"] + clocks = [str(i) for i, row in enumerate(word["program"]) if row[0] == "CLEAR"] + require(life == len(clocks) == len(certs) == 180 and set(certs) == set(clocks), "exact CLEAR inventory") + route = native["route_columns"] + require(route["all_forward"] == route["all_adjoint"] == 512 and route["wrong_phase"] == "rejected" + and sum(len(block["composed_paths"]) for block in route["blocks"].values()) == 4, + "fresh exact composed paths and wrong phase") + finite = native["finite_replays"] + require({(r["prime"], r["seed"]) for r in finite} == {(1000000009, 11), (998244353, 37)} and len(finite) == 2 + and all(r["endpoint_rows"] == 1501 and r["owned_zero_rows"] == 68 and r["source"]["clears"] == 180 + and r["candidate"]["clears"] == 180 for r in finite), "both finite physical oracles") + return checked + + +def bind_scope(spec, inputs): + require(spec["source_pr"] == 7636 and spec["source_head"] == HEAD and spec["source_canonical_sha256"] == SOURCE + and spec["candidate_canonical_sha256"] == spec["candidate_raw_sha256"] == CANDIDATE + and spec["paid_positions"] == 109618, "frozen 180-CLEAR signed scope") + require(digest(inputs["source_invoice"]) == BASE_INVOICE and digest(inputs["public_b_invoice"]) == B_INVOICE, + "exact raw source invoice and public low-B comparator invoice") + require(spec["public_b_bracket"] == B_BRACKET and Fraction(spec["claim"]) > Fraction(B_BRACKET[1]), + "public same-family gain") + independent = json.loads(inputs["independent_pair"])["source"] + require(independent["head"] == HEAD and independent["literal_sha256"] == B + and independent["price"]["kappa"] == B_BRACKET + and independent["full_signed_invoice"] == json.loads(inputs["public_b_invoice"]), + "independent lowered B invoice agrees with the public B price comparator") + build = json.loads(inputs["clear_result"]) + for role, key in (("source", "source_word"), ("candidate", "word")): + result = json.loads(inputs[role + "_resource_result"]) + finished = json.loads(inputs[role + "_resource_exit"]) + require(result["status"] == "PASS_LOWERED_7636_RESOURCE" and result["case"] == role + and result["source_head"] == HEAD and result["caller_sha256"] == CALLER, + f"fresh lowered {role} resource result") + require(finished["status"] == "COMPLETE" and finished["result_sha256"] == digest(inputs[role + "_resource_result"]), + f"guarded resource completion: {role}") + case = build[role] + require(result["canonical_sha256"] == case["canonical_sha256"] and digest(inputs[key]) == case["gzip_sha256"], + f"exact lowered {role} resource word") + prefix = "source_" if role == "source" else "" + for filename, suffix in (("GRID.json", "grid"), ("ORDINARY.json", "ordinary"), ("TARIFF.json", "tariff"), + ("LITERALS.json", "literals"), ("TAPE-SCALAR.json", "tape_scalar")): + require(result["receipts"][filename] == digest(inputs[prefix + suffix]), f"resource receipt {role}/{filename}") + require(result["ordinary_upper"] < 10**9 and result["context"] <= 4096, "retained resource caps") + + +def adapt_driver(driver): + run = driver / "run.py" + original = run.read_text() + start = original.index("def verify_native_and_clear(") + stop = original.index("def verify_grid(", start) + source = original[:start] + inspect.getsource(verify_native_and_clear) + "\n\n" + original[stop:] + replacements = [ + (" head, raw_sha, zip_sha, life, entrance = SOURCE_PINS[pr]\n", + " require(pr == 7636, 'exact low branch')\n" + " head, _, _, life, entrance = SOURCE_PINS[pr]\n" + f" raw_sha, zip_sha = {SOURCE!r}, spec['inputs']['source_word']['sha256']\n"), + (' independent = json.loads(inputs["independent_pair"])\n', + ' independent = json.loads(inputs["independent_pair"])\n' + ' independent = {**independent, "source": independent["matched_lowered_7636"]}\n'), + (' write(work / "PRICE-OUTER.json", cost)\n', + ' low_b = json.loads(inputs["public_b_invoice"])\n' + ' b_cost = capture_price({**spec, "source_bracket": spec["public_b_bracket"]}, low_b, source_invoice | new)\n' + ' require(b_cost["gate"] == cost["gate"], "same outer predicates with both comparators")\n' + ' write(work / "PRICE-OUTER.json", {**cost, "public_low_B": b_cost})\n'), + ('"price_outer": cost["gate"],', '"price_outer": cost["gate"], "public_low_B_comparison": b_cost,'), + ] + for old, new in replacements: + require(source.count(old) == 1, f"exact driver adaptation anchor: {old.strip()}") + source = source.replace(old, new) + compile(source, str(run), "exec") + run.write_text(source) + + +def run_signed(core, out, config, spec, go, expected): + annex = core / "application-evidence" / "signed-replay" + read(annex / "replay.py", PACKAGER) + read(annex / "data" / "SOURCE-CLOSURE.json", CLOSURE) + read(annex / "data" / "OBSERVED.json", OBSERVED) + packager = runpy.run_path(str(annex / "replay.py")) + driver, _ = packager["materialize"](out, core) + adapt_driver(driver) + resolved = {role: {**ref, "path": str((config.parent / ref["path"]).resolve())} + for role, ref in spec["inputs"].items()} + inputs = {role: read(Path(ref["path"]), ref["sha256"]) for role, ref in resolved.items()} + bind_scope(spec, inputs) + write(out / "SPEC.json", {**spec, "inputs": resolved}) + write(out / "GO.json", {**go, "scope": "fresh-signed-caller-outer", "source_head": HEAD, + "candidate_canonical_sha256": spec["candidate_canonical_sha256"], + "spec_sha256": digest((out / "SPEC.json").read_bytes()), + "driver_files": {p.name: digest(p.read_bytes()) for p in driver.glob("*.py")}}) + work = driver / "application" + subprocess.run([sys.executable, "-I", "-B", str(driver / "run.py"), "--spec", str(out / "SPEC.json"), + "--go", str(out / "GO.json"), "--work", str(work)], cwd=driver, check=True) + raw = (work / "RESULT.json").read_bytes() + receipt = json.loads((work / "EXIT.json").read_bytes()) + result = json.loads(raw) + require(receipt["status"] == "COMPLETE" and receipt["result_sha256"] == digest(raw) + and result["status"] == "PASS_FRESH_SIGNED_CALLER_CONDITIONAL_COMPONENTS" + and result["clear_lifetimes"] == 180 and result["ordinary"]["model_total"] < 10**9, + "exact fresh low signed completion") + scientific = packager["normalize_result"](result) + # These three copies carry input-receipt hashes. The driver checks their + # exact contents on each run, including a replay with newly timed receipts. + working = scientific["source_copy_pins"] + for path in ("replay/supplier7112/short-caller/BOUND-NATIVE-GRID.json", + "replay/supplier7112/short-caller/INGREDIENT-INPUT.json", "replay/supplier7112/RESULT.json"): + del working[path] + if expected is not None: + require(scientific == json.loads(expected.read_bytes()), "normalized offline science differs") + write(out / "NORMALIZED-RESULT.json", scientific) + write(out / "REPLAY-RESULT.json", {"status": "PASS_PORTABLE_7636_LOWERED_C_SIGNED_APPLICATION", + "candidate": spec["candidate_canonical_sha256"], "claim": spec["claim"], + "catalogue_size": result["catalogue_size"], "result_sha256": digest(raw), + "normalized_result_sha256": digest((out / "NORMALIZED-RESULT.json").read_bytes())}) + print("PASS_PORTABLE_7636_LOWERED_C_SIGNED_APPLICATION", spec["candidate_canonical_sha256"], + "kappa=" + spec["claim"], f"catalogue_maps={result['catalogue_size']}", flush=True) + + +def main(): + require(sys.version_info[:2] == (3, 12) and sys.flags.isolated and sys.dont_write_bytecode and __debug__, + "use Linux Python 3.12 -I -B with assertions") + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--core", type=Path, required=True, help="retained #7660 package root") + parser.add_argument("--spec", type=Path, required=True) + parser.add_argument("--go", type=Path, required=True) + parser.add_argument("--out", type=Path, required=True) + parser.add_argument("--expected", type=Path, help="compare a normalized prior result") + args = parser.parse_args() + config = args.spec.resolve() + spec_bytes = config.read_bytes() + spec = json.loads(spec_bytes) + out = args.out.resolve() + out.mkdir(exist_ok=False) + write(out / "START-GUARD.json", {"started": datetime.now(timezone.utc).isoformat(), "scope": SCOPE, + "spec_sha256": digest(spec_bytes), + "candidate_canonical_sha256": spec["candidate_canonical_sha256"], + "adapter_sha256": digest(Path(__file__).read_bytes())}) + try: + limit = time.monotonic() + 120 + while not args.go.exists(): + require(time.monotonic() < limit, "signed authorization guard expired") + time.sleep(0.2) + go = json.loads(args.go.read_bytes()) + require(go["scope"] == SCOPE and go["status"] == "GO" and go["spec_sha256"] == digest(spec_bytes) + and go["public_claim"] and go["event_id"] and go["receipt_id"], "recorded low signed authorization") + require(go["cpu"] in os.sched_getaffinity(0) and 150 <= go["wall_seconds"] <= 900, + "one available CPU and bounded signed gate") + run_signed(args.core.resolve(), out, config, spec, go, args.expected) + except BaseException as failure: + write(out / "EXIT.json", {"ended": datetime.now(timezone.utc).isoformat(), "status": "INCOMPLETE", + "failure": repr(failure)}) + raise + write(out / "EXIT.json", {"ended": datetime.now(timezone.utc).isoformat(), "status": "COMPLETE", + "result_sha256": digest((out / "REPLAY-RESULT.json").read_bytes())}) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/src/check_scalar.py b/research/p104-180-contact-application/src/check_scalar.py new file mode 100644 index 0000000000..71c54761c3 --- /dev/null +++ b/research/p104-180-contact-application/src/check_scalar.py @@ -0,0 +1,114 @@ +"""Verify the signed integer-tick lowering on the exact 180-CLEAR word.""" + +import argparse +from fractions import Fraction +import gzip +import hashlib +import json +from math import gcd +from pathlib import Path + + +OLD_WORD = "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15" +NEW_WORD = "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e" +SPLIT_CLOCK = 150834 + + +def require(ok, message): + if not ok: + raise ValueError(message) + + +def read_literals(path, expected_word, count): + raw = gzip.decompress(path.read_bytes()) + require(hashlib.sha256(raw).hexdigest() == expected_word, "decoded word identity") + ops = json.loads(raw)["program"][SPLIT_CLOCK:SPLIT_CLOCK + count] + require(len(ops) == count and all(op[:3] == ["ADD", 841, 284] and op[4:] == [127] + for op in ops), "same target, preserved distinct donor and chart") + return [Fraction(op[3]) for op in ops] + + +def nearest_even(numerator, divisor): + floor, rem = divmod(numerator, divisor) + twice = 2 * rem + return floor + int(twice > divisor or (twice == divisor and floor % 2 == 1)) + + +def nearest_up(numerator, divisor): + return (numerator + divisor // 2) // divisor + + +def check(old_path, new_path): + (old,) = read_literals(old_path, OLD_WORD, 1) + integral, tail = read_literals(new_path, NEW_WORD, 2) + require(integral.denominator == 1 and old == integral + tail and tail > 0, + "positive two-part coefficient identity") + whole, n, m, d = integral.numerator, old.numerator, tail.numerator, old.denominator + require((whole, n, m, d) == (25, 23184221, 144221, 921600), "literal values") + require(d == tail.denominator and gcd(n, d) == gcd(m, d) == 1, + "one integral residue and one half-tie residue per period") + require(n.bit_length() == 25 and max(whole.bit_length(), m.bit_length()) <= 24, + "wide original and two accepted literal numerators") + + # Reduce only the fractional part to residues. On adding d ticks to the + # donor, exact divisibility is unchanged. A nearest-even tie needs an even + # integer translation: at a tie z = d/2 mod d and 25*z is even. + # Away from a tie both nearest rules commute with every integer shift. + require(d % 4 == 0, "even whole-part translation at every half tie") + ties = [] + integral_residues = [] + signed_cases = 0 + for z in range(d): + num = n * z + rem_num = m * z + require(num % d == rem_num % d, "exact-division domain disagreement") + if num % d == 0: + integral_residues.append(z) + if 2 * (num % d) == d: + ties.append(z) + require((whole * z) % 2 == 0, "odd whole-part translation at a half tie") + for sign in (-1, 1): + shift = sign * whole * z + for quantize in (nearest_up, nearest_even): + single = quantize(sign * num, d) + split = shift + quantize(sign * rem_num, d) + require(single == split, "quantized one-step and two-step increments differ") + require(min(0, single) <= shift <= max(0, single), "signed intermediate range") + # The inverse of y -> y + single subtracts its actual increment. + restored = split - quantize(sign * rem_num, d) - shift + require(restored == 0, "inverse did not restore the target") + signed_cases += 1 + require(integral_residues == [0] and ties == [d // 2], "complete period counts") + half_num = n * ties[0] + controls = { + "changed_tail_numerator": nearest_up(n * d, d) != whole * d + nearest_up((m - 1) * d, d), + "nearest_up_at_tie_is_not_odd": nearest_up(half_num, d) + nearest_up(-half_num, d) == 1, + "unrestricted_integer_translation_fails_for_even_ties": + nearest_even(3, 2) != 1 + nearest_even(1, 2), + } + require(all(controls.values()), "a negative control failed") + return { + "status": "PASS_ALL_SCALAR_TICK_RESIDUES", + "old_word": OLD_WORD, + "new_word": NEW_WORD, + "clock": SPLIT_CLOCK, + "source_role": 284, + "target_role": 841, + "chart": 127, + "old": str(old), + "split": [str(integral), str(tail)], + "residues": d, + "signed_cases": signed_cases, + "rounded_comparisons": 2 * signed_cases, + "integral_residues": integral_residues, + "half_tie_residues": ties, + "controls": controls, + } + + +if __name__ == "__main__": + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("original_combination", type=Path) + parser.add_argument("lowered_combination", type=Path) + paths = parser.parse_args() + print(json.dumps(check(paths.original_combination, paths.lowered_combination), indent=2, sort_keys=True)) diff --git a/research/p104-180-contact-application/src/independent/verify.py b/research/p104-180-contact-application/src/independent/verify.py new file mode 100644 index 0000000000..cc8c13be6c --- /dev/null +++ b/research/p104-180-contact-application/src/independent/verify.py @@ -0,0 +1,384 @@ +#!/usr/bin/env python3 +"""Independent row and signed-price comparison on the #7636 180-CLEAR words.""" + +import argparse +from collections import Counter, defaultdict +from datetime import datetime, timezone +from fractions import Fraction +import gzip +from hashlib import sha1, sha256 +from io import BytesIO +import json +from pathlib import Path +import sys +import tarfile +from types import ModuleType + + +SOURCE_HEAD = "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75" +RELEASE_HEAD = "d12b854d4825e9edfa3a3466909e1abf3525e929" +CALLER_HEAD = "07a76c5e2738882c0cb322278e56f6cae3c9885d" +CALLER_MEMBER = "caller/expected/ODD-TYPE-AB-CALLER.json" +CALLER_BLOB = "9451ceaf6e8e037894680b549f3ef41c21b260d7" +CALLER_BYTES = "255d89f38cd45e38e5770f559bc43dc217e989032359768cdc7e8cdfd64b47bc" +PEER_HEAD = "1e6fd08a7c4fb616ea802c5f432f58594d14a107" +BASE_SHA = "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2" +RAW_B_SHA = "9b5b66e93f91c9538525d8d7b1278e0f203058d5cd4e1351fa06f8315fdaa555" +RAW_C_SHA = "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15" +LOW_BASE_SHA = "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8" +LOW_B_SHA = "2ea3a954f053b4cec96f1b03830353b79c32bb74160a023b96e40872759ad560" +LOW_C_SHA = "5f555d6bb6736eb0c98826d9822f077ce1cbc6875c46b0c10731737665dbda6e" +ENGINE_SHA = "8391dcaee8e81715c496f6215ef2541715e718daa13b16ae18a06f88e7094d91" +BASE_CLEAR_SHA = "94809b766d041f6bb400df151de5702c5e8ec0a8a47c80ddfe5b2b3a5e0f09d2" +RAW_C_CLEAR_SHA = "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff" +LOW_B_CLEAR_SHA = "1cf6339c3c4851393ddfb082a3fe4b9bf2db88920d6836e182292cf710de131f" +ANCHOR = 150836 +WIDE = ("ADD", 841, 284, "23184221/921600", 127) +SPLIT = (("ADD", 841, 284, "25", 127), ("ADD", 841, 284, "144221/921600", 127)) +CONTACT = { + 127153: (("MOVE", 902, 3, 618, False), (("MOVE", 902, 3, 373, False),)), + 127445: (("MOVE", 1091, 373, 618, False), ()), + 127446: (("ADD", 1091, 902, "1/2", 618), (("ADD", 1091, 902, "1/2", 373),)), + 127469: (("MOVE", 1091, 618, 733, False), (("MOVE", 1091, 373, 733, False),)), + 130068: (("MOVE", 902, 618, 913, False), (("MOVE", 902, 373, 913, False),)), +} +BYPASS = { + 131142: (("MOVE", 379, 748, 1065, False), ()), + 131294: (("MOVE", 379, 1065, 1072, False), (("MOVE", 379, 748, 1072, False),)), +} +LOWERING = {ANCHOR: (WIDE, SPLIT)} +BRACKETS = { + "base": ("0.0036807241001", "0.0036807241002"), + "B": ("0.0036810345257", "0.0036810345258"), + "C": ("0.0036813560187", "0.0036813560188"), +} + + +def require(condition, reason): + if not condition: + raise ValueError(reason) + + +def digest(raw): + return sha256(raw).hexdigest() + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def read(root, record, expected=None): + body = (root / record["path"]).read_bytes() + require(digest(body) == record["sha256"], f"transport custody {record['path']}") + require(expected is None or record["sha256"] == expected, f"reference pin {record['path']}") + return body + + +def exact_replay(root, entry): + raw = read(root, entry, ENGINE_SHA) + module = ModuleType("pinned_independent_role379") + module.__file__ = str(root / entry["path"]) + sys.modules[module.__name__] = module + exec(compile(raw, module.__file__, "exec"), module.__dict__) + return module + + +def word(root, record, expected, exact_json): + raw = gzip.decompress(read(root, record)) + require(digest(raw) == record["raw_sha256"] and (expected is None or expected == digest(raw)), + f"decoded custody {record['path']}") + parsed = exact_json(raw) + return parsed, {"literal_sha256": digest(raw), "gzip_sha256": record["sha256"], + "canonical_sha256": digest(canonical(parsed))} + + +def verify_edit(base, changed, changes): + require({k: v for k, v in base.items() if k != "program"} == + {k: v for k, v in changed.items() if k != "program"}, "unchanged ordered headers") + clock_map = {} + candidate = changed["program"] + offset = 0 + records = [] + for old_clock, old_event in enumerate(base["program"]): + expected, replacement = changes.get(old_clock, (tuple(old_event), (tuple(old_event),))) + require(tuple(old_event) == expected and + tuple(map(tuple, candidate[offset:offset + len(replacement)])) == replacement, + f"literal tape mismatch {old_clock}/{offset}") + if old_clock in changes: + records.append({"source_clock": old_clock, "candidate_clock": offset if replacement else None, + "old": old_event, "new": replacement}) + if replacement: + clock_map[old_clock] = offset + offset += len(replacement) + require(offset == len(candidate) and len(records) == len(changes), "literal exact suffix and edit count") + return clock_map, records + + +def normalized(word_data): + return [tuple(event[:-1]) for event in word_data["program"] if event[0] != "MOVE"] + + +def certificates(root, record, expected, engine, word_data): + raw = read(root, record, expected) + indexed = engine.exact_json(raw)["clear_event_index"] + ordered = engine.source_certificates(raw, word_data["program"], 180) + return indexed, ordered + + +def preserve_witnesses(source, candidate, by_source_clock): + require({str(by_source_clock[int(clock)]): terms for clock, terms in source.items()} == candidate, + "independent original-clock map for all 180 witness lists") + + +def width_failures(word_data): + return [(clock, event, Fraction(event[-2]).numerator.bit_length()) + for clock, event in enumerate(word_data["program"]) + if event[0] in {"ADD", "COPY", "SCALE"} and Fraction(event[-2]).numerator.bit_length() > 24] + + +def lower_charge(): + original = Fraction(WIDE[3]) + terms = [Fraction(e[3]) for e in SPLIT] + require(sum(terms) == original and all(t > 0 for t in terms), "exact positive adjacent same-role shear") + require(all(e[:3] == WIDE[:3] and e[4] == WIDE[4] for e in SPLIT) and WIDE[1] != WIDE[2], + "distinct and immutable donor in the split") + + def ordinary(value): + n, d = abs(value.numerator), value.denominator + return 4 * (n.bit_length() + n.bit_count() + d.bit_length() + 1) + + costs = [ordinary(t) for t in terms] + require(sum(costs) == ordinary(original) == 236, "local split ordinary tariff") + return {"ordinary_original": 236, "ordinary_inserted": costs, "scheduled_extra_services": 17 * 32, + "old": WIDE, "new": SPLIT, "normalized_exact_shear": True} + + +def load_caller(root, record, engine): + closure = read(root, record, "6f6f67b5b1ef44d6a5085dfd518c0b488ae91dbeee49d0bdbec4cf63a2f41735") + with tarfile.open(fileobj=BytesIO(closure), mode="r:gz") as archive: + member = archive.getmember(CALLER_MEMBER) + require(member.isfile() and member.size == 117156, "exact caller member") + body = archive.extractfile(member).read() + require(digest(body) == CALLER_BYTES and sha1(f"blob {len(body)}\0".encode() + body).hexdigest() == CALLER_BLOB, + "signed caller literal and Git identities") + return engine.exact_json(body) + + +def recount_fixed_caller(caller): + require(caller["schema"] == "mixed-root-caller/1" and (caller["stages"], caller["ambient_rank"]) == (17, 145), + "exact signed-caller schema and ambient") + types = caller["types"] + ports = {name: info["ports"] for name, info in types.items()} + all_ports = [port for group in ports.values() for port in group] + require(set(types) == {"A", "B"} and list(map(len, (ports["A"], ports["B"]))) == [96, 8] and + sorted(all_ports) == list(range(104)), "104 nonaliased caller ports with the exact partition") + by_op = defaultdict(Counter) + stages = [] + for event in caller["events"]: + name = event[0] + if name == "J": + require(len(event) == 4 and len(set(event[2])) == 4 and event[3][0] != event[3][1], + "native occurrence shape") + stages.append(event[1]) + continue + op = event[1] + require(name in ports, "outer operation type") + if op == "QUERY": + require(name == "A" and len(event) == 5 and event[4] in (-1, 1), "rank-one query shape") + rank = 1 + elif op in {"IDLE_ONE", "IDLE_ODD"}: + blocks = event[3] + require(blocks and len(blocks) == len(set(blocks)) and + all(type(block) is int and 1 <= block <= 17 for block in blocks), "distinct idle blocks") + if op == "IDLE_ODD": + require(name == "B" and len(blocks) == 1 and event[4:] == [-1], "signed-idle query channel") + rank = 8 * len(blocks) + (op == "IDLE_ODD") + else: + require(op in {"ADD", "SCALE", "SWAP", "LAMBDA"}, "unknown outer operation") + continue + for _ in ports[name]: + by_op[f"{name}:{op}"][rank] += 1 + require(stages == list(range(1, 18)) and len(caller["events"]) == 4783, "all 17 ordered native occurrences") + roots = {} + for info in types.values(): + require(info["roles"] == len(info["diagonal"]) == 36, "declared productive owner count") + for field, (q, central, *blocks) in enumerate(info["diagonal"], start=info["offset"]): + require((q, central) == (-1, 0) and len(blocks) == 17 and set(blocks) <= {0, 1}, + "declared output frame block pattern") + rank = 1 + 8 * sum(blocks) + for port in info["ports"]: + require((port, field) not in roots, "duplicate productive owner") + roots[port, field] = rank + fixed_paid = sum(by_op.values(), Counter()) + fixed_targets = Counter(roots.values()) + require((sum(fixed_paid.values()), len(roots)) == (3776, 3744), "full fixed caller counts") + return stages, fixed_paid, fixed_targets, by_op + + +def invoice(replay, stages, fixed_paid, fixed_targets): + paid, targets = fixed_paid.copy(), fixed_targets.copy() + for _ in stages: + paid.update(replay["paid"]) + targets.update(replay["targets"]) + return { + "schema": "integer-mult-recursive-invoice/v1", + "contract": {"ambient_rank": 145, "boundary": "complete signed #7113 caller application with 17 native calls", + "model": "mixed-target-unnormalized-power-v1", + "rank_semantics": "H_r costs r^(1-C); debit surrendered productive fields"}, + "paid": {str(rank): count for rank, count in sorted(paid.items())}, + "targets": {str(rank): count for rank, count in sorted(targets.items())}, + } + + +def price(engine, locator, signed, claim, probe): + weights = engine.signed_weights(signed) + proposed = engine.approximate_grid(weights) + require(tuple(proposed) == BRACKETS[locator], f"separate price bracket differs {locator}") + summary = engine.price_bracket(weights, proposed) + derivative = engine.signed_price(weights, Fraction(0), Fraction("0.00376669"), derivative=True) + require(derivative[1] < 0 and sum(weights.values()) == 1424, "exact slope and rank surplus") + at_claim = engine.signed_price(weights, claim, claim) + at_probe = engine.signed_price(weights, probe, probe) + require((at_claim[0] > 0 and at_probe[0] > 0) if locator == "C" else (at_claim[1] < 0 and at_probe[1] < 0), + f"directed comparison at C claim and interior probe on {locator}") + return summary | {"claim": str(claim), "probe": str(probe), + "at_claim": engine.outward_decimal(at_claim), "at_probe": engine.outward_decimal(at_probe), + "derivative_on_BIT_interval": engine.outward_decimal(derivative)} + + +def controls(engine, candidate, candidate_replay, masks, dims, cert, contact_clock, invoice_fn): + first, series = cert[0] + bad_clear = [(first, {**series, first[1]: Fraction(1)}), *cert[1:]] + clear = engine.rejected({"clear_self"}, lambda: engine.interpret(candidate, masks, dims, bad_clear)) + contact = candidate["program"][contact_clock] + require(contact == ["ADD", 1091, 902, "1/2", 373], "changed chart-373 contact") + stale = engine.with_event(candidate, contact_clock, [*contact[:4], 618]) + chart = engine.rejected({"scalar_chart"}, lambda: engine.interpret(stale, masks, dims, cert)) + require(chart["clock"] == contact_clock, "stale chart rejected at changed contact") + bad_contact = engine.with_event(candidate, contact_clock, [*contact[:3], "-1/2", 373]) + # A sign mutation touches no rank-carrying operation or target owner. + require([e for e in candidate["program"] if e[0] == "MOVE"] == + [e for e in bad_contact["program"] if e[0] == "MOVE"], "same recursive invoice inputs") + try: + bad_replay = engine.interpret(bad_contact, masks, dims, cert) + except engine.Refusal as failure: + require(failure.record["code"] == "clear_reconstruction" and failure.record["clock"] > contact_clock, + f"contact control reached unrelated failure {failure.record}") + sign = failure.record + else: + require(invoice_fn(bad_replay) == invoice_fn(candidate_replay), "same exact signed invoice after sign flip") + sign = engine.rejected({"final_row", "protected_value"}, lambda: engine.exact_compare(candidate_replay, bad_replay)) + require(len(width_failures(bad_contact)) == 0, "sign control remains literal-width legal") + return {"wrong_contact_sign": sign, "stale_contact_chart": chart, "self_CLEAR": clear, + "original_25_bit_words": "rejected_by_exact_literal_census"} + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--spec", required=True, type=Path) + parser.add_argument("--out", required=True, type=Path) + args = parser.parse_args() + start = datetime.now(timezone.utc).isoformat() + spec = json.loads(args.spec.read_bytes()) + require((spec["source_head"], spec["publication_head"], spec["caller_head"]) == + (SOURCE_HEAD, RELEASE_HEAD, CALLER_HEAD), "exact source lineage") + root = args.spec.resolve().parent + pins = spec["files"] + engine = exact_replay(root, pins["interpreter"]) + inputs = {} + bindings = {} + for name, sha in (("base", BASE_SHA), ("raw_b", RAW_B_SHA), ("raw_c", RAW_C_SHA), + ("low_base", LOW_BASE_SHA), ("low_b", LOW_B_SHA), ("low_c", LOW_C_SHA)): + inputs[name], bindings[name] = word(root, pins[name], sha, engine.exact_json) + base = inputs["base"] + require(base["schema"] == "p104-accumulated-block-composition/2" and + (base["public"], base["owned_fields"], len(base["frames"]), len(base["program"])) == + (1501, 68, 1096, 202668), "180-word exact domain") + require((base["initial"][457], base["initial"][461]) == (281, 285), "two fresh helper entrance charts") + witness_sources = { + "base": ("base_clear", BASE_CLEAR_SHA), "raw_c": ("raw_c_clear", RAW_C_CLEAR_SHA), + "low_b": ("low_b_clear", LOW_B_CLEAR_SHA), "low_c": ("low_c_clear", RAW_C_CLEAR_SHA), + } + witness = {name: certificates(root, pins[key], expected, engine, inputs[name]) + for name, (key, expected) in witness_sources.items()} + changes = {"raw_b": BYPASS, "raw_c": CONTACT | BYPASS, "low_base": LOWERING, + "low_b": BYPASS | LOWERING, "low_c": CONTACT | BYPASS | LOWERING} + receipt_edits = {} + for name, edits in changes.items(): + order, receipt_edits[name] = verify_edit(base, inputs[name], edits) + if name in witness: + preserve_witnesses(witness["base"][0], witness[name][0], order) + require(witness["raw_c"][0] == witness["low_c"][0], "no CLEAR moved by the late lowering") + require(normalized(base) == normalized(inputs["raw_b"]) == normalized(inputs["raw_c"]) and + normalized(inputs["low_base"]) == normalized(inputs["low_b"]) == normalized(inputs["low_c"]), + "ordered normalized scalar and lifetime sequence") + for name, clock in (("base", 150836), ("raw_b", 150835), ("raw_c", 150834)): + require(width_failures(inputs[name]) == [(clock, list(WIDE), 25)], f"sole 25-bit guard on {name}") + for name in ("low_base", "low_b", "low_c"): + require(not width_failures(inputs[name]), f"lowered width gate on {name}") + charges = lower_charge() + caller = load_caller(root, pins["caller_archive"], engine) + stages, fixed_paid, fixed_targets, paid_by_op = recount_fixed_caller(caller) + peer = engine.exact_json(read(root, pins["peer_result"])) + require(peer["K_paid"] == {str(k): v for k, v in fixed_paid.items()} and + peer["K_T_declared_roots"] == {str(k): v for k, v in fixed_targets.items()}, + "literal residual agrees with exact #7661 independent accounting") + + def complete_invoice(result): + return invoice(result, stages, fixed_paid, fixed_targets) + + masks, dims = engine.chart_catalogue(base["frames"]) + base_replay = engine.interpret(inputs["low_base"], masks, dims, witness["base"][1]) + old_replay = engine.interpret(inputs["low_b"], masks, dims, witness["low_b"][1]) + new_replay = engine.interpret(inputs["low_c"], masks, dims, witness["low_c"][1]) + for replay in (base_replay, old_replay, new_replay): + require(len(replay["rows"]) == 1501 + 68 and len(replay["erasures"]) == 180 and + len(replay["labels"]) == 68 and replay["peak"] == 50 and + len(replay["observations"]) == 1049 and not replay["altered_helpers"], "protected full row domain") + engine.exact_compare(base_replay, old_replay) + engine.exact_compare(old_replay, new_replay) + require(base_replay["scalar_units"] == old_replay["scalar_units"] == new_replay["scalar_units"], + "same charged normalized scalar macro bill on the three lowered words") + claim, probe = map(Fraction, (spec["claim"], spec["probe"])) + require(Fraction(BRACKETS["B"][1]) < claim < probe < Fraction(BRACKETS["C"][0]) and + ((probe - claim) / 7).numerator == 1, "strict funded low comparison and compiler probe spacing") + results = {} + for name, locator, replay, numerator in ( + ("low_base", "base", base_replay, 109652), ("low_b", "B", old_replay, 109635), ("low_c", "C", new_replay, 109618) + ): + signed = complete_invoice(replay) + require(sum(signed["paid"].values()) == numerator and sum(signed["targets"].values()) == 22461, + f"full signed paid/productive multiplicities on {locator}") + results[name] = bindings[name] | { + "head": SOURCE_HEAD, "full_signed_invoice": signed, "price": price(engine, locator, signed, claim, probe), + "trace": engine.ordered_proof_trace(replay), + } + old, new = results["low_b"]["full_signed_invoice"], results["low_c"]["full_signed_invoice"] + delta = {rank: new["paid"][rank] - count for rank, count in old["paid"].items() + if new["paid"][rank] != count} + require(delta == {"1": -34, "2": 34, "3": -17, "4": -17, "5": 17} and old["targets"] == new["targets"], + "separate contact gain over pure low B at unchanged productive targets") + contact_clock = next(e["candidate_clock"] for e in receipt_edits["low_c"] if e["source_clock"] == 127446) + adverse = controls(engine, inputs["low_c"], new_replay, masks, dims, witness["low_c"][1], + contact_clock, complete_invoice) + summary = { + "result": "PASS_PAIRED_EXACT_REPLAY_AND_CONDITIONAL_PRICE", + "started_at": start, "completed_at": datetime.now(timezone.utc).isoformat(), + "source": results["low_b"], "candidate": results["low_c"], "matched_lowered_7636": results["low_base"], + "publication_head": RELEASE_HEAD, "literal_edits_by_original_clock": receipt_edits, "raw_pins": bindings, + "source_to_candidate_signed_paid_delta": delta, "signed_targets_equal": True, + "caller": {"head": CALLER_HEAD, "sha256": CALLER_BYTES, "stages": stages, "events": 4783, + "fixed_paid": fixed_paid, "fixed_targets": fixed_targets, "fixed_paid_by_operation": paid_by_op, + "peer_7661_head": PEER_HEAD, "peer_7661_result_sha256": pins["peer_result"]["sha256"]}, + "lowering_tariff": charges, "controls": adverse, "changed_half_clock": contact_clock, + "boundary": "180 ideal CLEAR lifetimes, chart-281 and chart-285 entrances, fixed-port signed invoice model." + " Exact rounding/divisibility at the contact, physical phase, resource and actual caller are separate gates.", + } + with args.out.open("x", encoding="utf-8") as handle: + json.dump(summary, handle, sort_keys=True, indent=2) + handle.write("\n") + print(summary["result"], bindings["low_c"]["literal_sha256"], "180", "109618", "22461", flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/src/native/build_low.py b/research/p104-180-contact-application/src/native/build_low.py new file mode 100644 index 0000000000..d37487b2c9 --- /dev/null +++ b/research/p104-180-contact-application/src/native/build_low.py @@ -0,0 +1,164 @@ +#!/usr/bin/env python3 +"""Build the matched #7636 source and contact-379 combination with one ADD split.""" + +import argparse +import gzip +import hashlib +import json +from pathlib import Path + + +HEAD = "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75" +SOURCE_RAW = "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2" +SOURCE_GZIP = "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659" +C_RAW = "375f924e1588893680d39a194d29e5400bec4ab7e0b5db24b05f4cfe6fd05e15" +C_GZIP = "3fb11603e14fc9d67aff97e1b0e737f98c1395180ff71119fa64b4d8acaa8626" +LOWERED_SOURCE = "9ea1dab98cbd532af75ab780f284c513534d5df13fa366c3241a08a36c3610f8" +B_RAW = "9b5b66e93f91c9538525d8d7b1278e0f203058d5cd4e1351fa06f8315fdaa555" +SOURCE_CLEAR = "94809b766d041f6bb400df151de5702c5e8ec0a8a47c80ddfe5b2b3a5e0f09d2" +C_CLEAR = "11caf0ddb32cbd94c4d5842a3324e6236b551090080dea5598c71f9dee72c7ff" +PUBLIC = 1501 +CLEARS = 180 +SOURCE_EVENTS = 202668 +SOURCE_SPLIT = 150836 +COMBINED_SPLIT = 150834 +ORIGINAL = ["ADD", 841, 284, "23184221/921600", 127] +SPLIT = [["ADD", 841, 284, "25", 127], ["ADD", 841, 284, "144221/921600", 127]] +OLD = { + 127153: ["MOVE", 902, 3, 618, False], + 127445: ["MOVE", 1091, 373, 618, False], + 127446: ["ADD", 1091, 902, "1/2", 618], + 127469: ["MOVE", 1091, 618, 733, False], + 130068: ["MOVE", 902, 618, 913, False], + 131142: ["MOVE", 379, 748, 1065, False], + 131294: ["MOVE", 379, 1065, 1072, False], +} +REPLACEMENT = { + 127153: ["MOVE", 902, 3, 373, False], + 127445: None, + 127446: ["ADD", 1091, 902, "1/2", 373], + 127469: ["MOVE", 1091, 373, 733, False], + 130068: ["MOVE", 902, 373, 913, False], + 131142: None, + 131294: ["MOVE", 379, 748, 1072, False], +} + + +def require(condition, reason): + if not condition: + raise ValueError(reason) + + +def sha(data): + return hashlib.sha256(data).hexdigest() + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def pinned(path, expected): + require(path.is_file() and not path.is_symlink(), f"missing or symlink input {path}") + data = path.read_bytes() + require(sha(data) == expected, f"SHA-256 changed for {path}") + return data + + +def load_word(path, gzip_sha, raw_sha): + raw = gzip.decompress(pinned(path, gzip_sha)) + require(sha(raw) == raw_sha, f"decoded SHA-256 changed for {path}") + return json.loads(raw) + + +def write_bytes(path, contents): + with path.open("xb") as stream: + stream.write(contents) + + +def write_json(path, value): + write_bytes(path, (json.dumps(value, sort_keys=True, indent=2) + "\n").encode()) + + +def read_certificates(path, digest, word): + cert = json.loads(pinned(path, digest)) + require(cert.keys() == {"clear_event_index"}, "source CLEAR schema") + rows = cert["clear_event_index"] + clocks = {str(i) for i, e in enumerate(word["program"]) if e[0] == "CLEAR"} + require(len(clocks) == len(rows) == CLEARS and rows.keys() == clocks, "all 180 exact CLEAR clocks") + return rows + + +def apply_splice(source, replacements): + new, clock_map = [], {} + for clock, event in enumerate(source["program"]): + if clock in replacements: + require(event == OLD[clock], f"source anchor {clock}") + event = replacements[clock] + if event is not None: + clock_map[clock] = len(new) + new.append(event) + return {**source, "program": new}, clock_map + + +def lower(word, clock): + program = word["program"] + require(program[clock] == ORIGINAL and program.count(ORIGINAL) == 1, f"unique scalar split at {clock}") + require(all(op[0] != "CLEAR" for op in program[clock:]), "a CLEAR unexpectedly follows the split") + return {**word, "program": program[:clock] + SPLIT + program[clock + 1:]} + + +def matched(input_root): + src = load_word(input_root / "source-word.json.gz", SOURCE_GZIP, SOURCE_RAW) + raw_c = load_word(input_root / "raw-combined.json.gz", C_GZIP, C_RAW) + require(len(src["program"]) == SOURCE_EVENTS, "source length") + built_c, clock_map = apply_splice(src, REPLACEMENT) + require(built_c == raw_c and len(raw_c["program"]) == SOURCE_EVENTS - 2, + "frozen combined word differs from the seven source-clock anchors") + cert_s = read_certificates(input_root / "source-clear.json", SOURCE_CLEAR, src) + cert_c = read_certificates(input_root / "combined-clear.json", C_CLEAR, raw_c) + require({str(clock_map[int(clock)]): terms for clock, terms in cert_s.items()} == cert_c, + "combined certificate transport") + repaired_source, repaired_c = lower(src, SOURCE_SPLIT), lower(raw_c, COMBINED_SPLIT) + require(sha(canonical(repaired_source)) == LOWERED_SOURCE, "match the earlier repaired source exactly") + require(clock_map[SOURCE_SPLIT] == COMBINED_SPLIT, "combined prior clock of the lowered ADD") + return src, repaired_source, repaired_c, clock_map, cert_s, cert_c + + +def bind_word(out, word, terms, clock): + out.mkdir() + raw = canonical(word) + gzip_bytes = gzip.compress(raw, mtime=0) + cert_bytes = (json.dumps({"clear_event_index": terms}, sort_keys=True, indent=2) + "\n").encode() + write_bytes(out / "WORD.json.gz", gzip_bytes) + write_bytes(out / "CLEAR-CERTIFICATES.json", cert_bytes) + return {"raw_sha256": sha(raw), "canonical_sha256": sha(raw), "gzip_sha256": sha(gzip_bytes), + "clear_sha256": sha(cert_bytes), "events": len(word["program"]), "parent_split_clock": clock} + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--inputs", type=Path, required=True) + parser.add_argument("--out", type=Path, required=True) + parser.add_argument("--authorization", type=Path, required=True) + args = parser.parse_args() + authorization = json.loads(args.authorization.read_bytes()) + require(authorization["public_claim"] and authorization["running_event"] + and authorization["source_raw_sha256"] == SOURCE_RAW and authorization["raw_combined_sha256"] == C_RAW, + "authorization does not name this supplemental source and candidate") + _, source, candidate, clock_map, cert_s, cert_c = matched(args.inputs) + args.out.mkdir(exist_ok=False) + sr = bind_word(args.out / "source", source, cert_s, SOURCE_SPLIT) + cr = bind_word(args.out / "candidate", candidate, cert_c, COMBINED_SPLIT) + receipt = {"status": "PASS_7636_MATCHED_SCALAR_LOWERING_BUILD", "source_head": HEAD, + "source_parent_raw_sha256": SOURCE_RAW, "candidate_parent_raw_sha256": C_RAW, + "source": sr, "candidate": cr, "authorization": authorization, + "role_379_phase_control_clock": clock_map[131294], "contact_control_clock": clock_map[127446], + "source_cuts": [{"clock": j, "original": OLD[j], "candidate_clock": clock_map.get(j), + "replacement": REPLACEMENT[j]} for j in OLD], + "lowering": {"old": ORIGINAL, "new": SPLIT}} + write_json(args.out / "BINDING.json", receipt) + print(f"{receipt['status']} source={sr['raw_sha256']} candidate={cr['raw_sha256']}", flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/src/native/engines/check_native_7660.py b/research/p104-180-contact-application/src/native/engines/check_native_7660.py new file mode 100644 index 0000000000..c037df14d0 --- /dev/null +++ b/research/p104-180-contact-application/src/native/engines/check_native_7660.py @@ -0,0 +1,411 @@ +#!/usr/bin/env python3 +"""Candidate-bound chart catalogue and two-modulus physical replay.""" + +import argparse +from collections import Counter, defaultdict +from concurrent.futures import ProcessPoolExecutor +from datetime import datetime, timezone +from fractions import Fraction +from functools import cache +import gzip +import hashlib +import json +from pathlib import Path +from time import monotonic +from types import ModuleType + +from physical import evaluate, raw_ports + + +ROLE = 379 +FIRST, STOP, LAST = 748, 1065, 1072 +REPLACED_PAIRS = {(FIRST, STOP), (STOP, LAST), (FIRST, LAST)} +SOURCE = { + 7636: { + "head": "7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + "gzip": "1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659", + "raw": "98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + "clocks": (131142, 131294), + "events": 202668, + "clear": 180, + "engine": "72dfc0f5435cea2630a0d4e8f466fbb7b866404a22804769c3e690845ca72d2b", + }, + 7658: { + "head": "0a0e71c34a5ee5a1b59a8fe7bc6abd35a4d3dd82", + "gzip": "dde0a987c2dd9e221208ca5043dfd6e2bdfbb8c4289fa20e2b93fae1696b3ea9", + "raw": "fa84fcdecb534700cd00dc81b74889f549a653daa2fb3658cb8142e1eeb9b9e6", + "clocks": (98054, 98204), + "events": 150010, + "clear": 234, + "engine": "334e37a3fb31c8cd374bc4ecafcdb9fb2597eb3192d3d49373417830458cb696", + }, +} +OLD = { + "word": "f9f9a485712c0c94c9d14370e2a8436414e1b53bdf86550d9d6436835e9e06cb", + "gzip": "676c20c53ebd40120903af86bf17c2116f654ab8ce4aa1833f388a2fc400b511", + "engine": "6ca9ec1b134f448fbed59158520c4225679500d5ceafb0410ef790e848fec4bc", + "receipt": "a0bb80f9220fd6414d45e208af1e5571f51e6ac9f333d412dce19ef82854f541", + "ascending": 2957, + "directed": 2979, + "moves": 6171, +} +MODULI = ((1000000009, 11), (998244353, 37)) + + +def require(condition, reason): + if not condition: + raise ValueError(reason) + + +def sha(data): + return hashlib.sha256(data).hexdigest() + + +def stamp(): + return datetime.now(timezone.utc).isoformat() + + +def pinned(path, expected): + require(path.is_file() and not path.is_symlink(), f"missing or symlink input {path.name}") + data = path.read_bytes() + require(sha(data) == expected, f"byte pin {path.name}") + return data + + +def word(path, packed_sha, raw_sha=None): + raw = gzip.decompress(pinned(path, packed_sha)) + require(raw_sha is None or sha(raw) == raw_sha, f"word pin {path.name}") + obj = json.loads(raw) + canonical = json.dumps(obj, sort_keys=True, separators=(",", ":")).encode() + return obj, {"gzip_sha256": packed_sha, "raw_sha256": sha(raw), "canonical_sha256": sha(canonical)} + + +def read_engine(path, expected): + data = pinned(path, expected).decode() + start, end = "NB = 9\n", "# Package-specific checks." + require(data.count(start) == data.count(end) == 1, "phase engine extraction anchors") + section = data.split(start, 1)[1].split(end, 1)[0] + return start + "\n".join(line for line in section.splitlines() + if line.strip() and not line.lstrip().startswith("#")) + "\n" + + +def engine_from(code): + module = ModuleType("pinned_phase_engine") + module.require = require + exec(compile(code, "", "exec"), module.__dict__) + return module + + +def dump(path, value): + with path.open("x") as out: + json.dump(value, out, sort_keys=True, indent=2) + out.write("\n") + + +def mentions(event, role): + return event[1] == role or (event[0] in ("ADD", "COPY") and event[2] == role) + + +def require_cut(source, candidate, clocks): + i, j = clocks + require(source.keys() == candidate.keys() + and all(candidate[k] == v for k, v in source.items() if k != "program"), + "header changed") + old = source["program"] + direct = ["MOVE", ROLE, FIRST, LAST, False] + require(old[i] == ["MOVE", ROLE, FIRST, STOP, False] + and old[j] == ["MOVE", ROLE, STOP, LAST, False], "source cut") + require(not any(mentions(e, ROLE) for e in old[i + 1:j]), "non-idle source stop") + require(candidate["program"] == old[:i] + old[i + 1:j] + [direct] + old[j + 1:], + "candidate contains changes beyond the strict direct route") + + +def span(vectors): + elements = {0} + for v in vectors: + require(type(v) is int and 0 < v < 512 and v not in elements, "invalid chart basis") + elements |= {x ^ v for x in elements} + return frozenset(elements) + + +def groups_for(program, frames): + groups = defaultdict(list) + for i, e in enumerate(program): + if e[0] == "MOVE": + _, r, a, b, flag = e + require(len(frames[a]) != len(frames[b]), "equal-rank MOVE") + key = (a, b) if len(frames[a]) < len(frames[b]) else (b, a) + groups[key].append([i, r, a, b, flag]) + return dict(groups) + + +@cache +def scalar(value): + require(type(value) is str, "literal scalar text") + q = Fraction(value) + require(q != 0, "zero literal scalar") + return q + + +def schedule(w, count, clears, birth): + p, n, k = w["program"], w["public"], w["owned_fields"] + require(len(p) == count and n == 1501 and k == 68, "word/event denominator") + require(len(w["initial"]) == len(w["final"]) == n + and w["initial"][457] == birth, "initial or final frame boundary") + spans = tuple(map(span, w["frames"])) + available = range(len(spans)) + require(all(type(f) is int and f in available for f in w["initial"] + w["final"]), + "out-of-range boundary frame") + charts = w["initial"][:] + [None] * k + starts, lives, peak = {}, [], 0 + counts, paid, owned_paid = Counter(), Counter(), Counter() + for i, e in enumerate(p): + op, r, *rest = e + require(type(r) is int and 0 <= r < n + k, f"field index at {i}") + counts[op] += 1 + if op == "MOVE": + a, b, own = rest + require(type(own) is bool and own == (r >= n), f"MOVE flag at {i}") + require(type(a) is type(b) is int and a in available and b in available + and charts[r] == a, f"MOVE source at {i}") + require(spans[a] < spans[b] or (own and spans[b] < spans[a]), + f"MOVE inclusion at {i}") + charts[r] = b + rank = abs(len(w["frames"][b]) - len(w["frames"][a])) + paid[rank] += 1 + if own: + require(r in starts, f"live owned MOVE at {i}") + owned_paid[rank] += 1 + elif op in ("INIT", "CLEAR"): + f, = rest + require(r >= n and type(f) is int and f in available, f"owned frame at {i}") + if op == "INIT": + require(charts[r] is None and r not in starts, f"fresh owned birth at {i}") + charts[r] = f + starts[r] = f + peak = max(peak, len(starts)) + else: + require(charts[r] == f and r in starts, f"live owned CLEAR at {i}") + lives.append([r, starts.pop(r), f]) + charts[r] = None + elif op == "SCALE": + value, f = rest + require(type(f) is int and charts[r] == f, f"SCALE frame at {i}") + scalar(value) + elif op in ("ADD", "COPY"): + s, value, f = rest + require(type(s) is int and 0 <= s < n + k and r != s and type(f) is int + and charts[r] == charts[s] == f, f"{op} frame at {i}") + require(op != "COPY" or r >= n, f"private COPY at {i}") + scalar(value) + else: + raise ValueError(f"unknown event {op} at {i}") + require(charts == w["final"] + [None] * k and not starts, "end charts or live owned state") + require(counts["INIT"] == counts["CLEAR"] == len(lives) == clears and peak == 50, + "owned lifetime denominator or peak") + return {"event_counts": dict(counts), "paid": dict(paid), "owned_paid": dict(owned_paid), + "peak": peak, "lifetime_trace": lives, "birth457": birth} + + +def verified_prior(oldword, folder): + receipt = json.loads(pinned(folder / "ALL-PAIRS-RESULT.json", OLD["receipt"])) + require(receipt["status"] == "PASS_ALL_LITERAL_MOVE_PAIR_COLUMNS" + and receipt["engine_sha256"] == OLD["engine"] + and receipt["canonical_word_sha256"] == OLD["word"] + and receipt["unique_pairs"] == OLD["ascending"] + and receipt["directed_pairs"] == OLD["directed"] + and receipt["move_events"] == OLD["moves"] + and receipt["shards"] == [986, 986, 985] + and len(receipt["shard_sha256"]) == 3, "historical pair receipt completeness") + manifest = json.loads(pinned(folder / "ALL-PAIRS-MANIFEST.json", receipt["manifest_sha256"])) + groups = groups_for(oldword["program"], oldword["frames"]) + keys = sorted(groups) + require(len(keys) == OLD["ascending"] + and manifest["groups"] == [{"ascent": list(p), "occurrences": groups[p]} for p in keys] + and manifest["canonical_word_sha256"] == OLD["word"] + and manifest["gzip_sha256"] == OLD["gzip"] + and manifest["engine_sha256"] == OLD["engine"], "historical literal census mismatch") + by_pair = {} + for shard, (digest, count) in enumerate(zip(receipt["shard_sha256"], receipt["shards"])): + lines = pinned(folder / f"ALL-PAIRS-SHARD-{shard}.jsonl", digest).splitlines() + require(len(lines) == count, "incomplete predecessor shard") + for i, line in zip(range(shard, len(keys), 3), lines): + p = keys[i] + rank = len(oldword["frames"][p[1]]) - len(oldword["frames"][p[0]]) + expected = {"index": i, "ascent": list(p), "rank": rank, "forward_columns": 512, + "adjoint_columns": 512, "wrong_phase_rejected": True} + require(json.loads(line) == expected and p not in by_pair, "bad prior phase row") + by_pair[p] = (shard, i) + require(set(by_pair) == set(groups), "incomplete prior phase table") + return by_pair + + +def pair_job(job): + code, frames, keys = job + phase = engine_from(code) + return [(pair, phase.pair_columns(frames, *pair, wrong_phase=True)) for pair in keys] + + +def pair_catalogue(code, base, changed, oldword, accepted, workers): + frames = tuple(tuple(f) for f in base["frames"]) + oldframes = oldword["frames"] + a, b = (groups_for(w["program"], frames) for w in (base, changed)) + keys = sorted(set(a) | set(b)) + reused = {} + for i, j in keys: + key = (i, j) + if (key in accepted and key not in REPLACED_PAIRS + and all(list(frames[f]) == oldframes[f] for f in key)): + reused[key] = accepted[key] + needs = [k for k in keys if k not in reused] + require(REPLACED_PAIRS <= set(needs), "three route columns must run fresh") + print(f"pair coverage: {len(a)} source, {len(b)} candidate, " + f"{len(reused)} reused, {len(needs)} fresh", flush=True) + if workers == 1: + fresh = dict(pair_job((code, frames, needs))) + else: + with ProcessPoolExecutor(max_workers=workers) as pool: + chunks = pool.map(pair_job, [(code, frames, needs[i::workers]) for i in range(workers)]) + fresh = dict(item for batch in chunks for item in batch) + require(set(fresh) == set(needs), "incomplete fresh phase table") + rows = [] + for p in keys: + rank = len(frames[p[1]]) - len(frames[p[0]]) + require(p in reused or fresh[p] == rank, "rank gate") + rows.append({"ascent": p, "rank": rank, "forward_columns": 512, "adjoint_columns": 512, + "wrong_phase_rejected": True, "prior_shard_and_index": reused.get(p), + "source_occurrences": a.get(p, []), "candidate_occurrences": b.get(p, [])}) + + def census(x): + return {"ascent_groups": len(x), "directed_pairs": + len({(row[2], row[3]) for entries in x.values() for row in entries}), + "move_occurrences": sum(map(len, x.values()))} + + return {"counts": {"source": census(a), "candidate": census(b), "union": len(keys), + "reused": len(reused), "fresh": len(fresh)}, "rows": rows} + + +def route_identity(phase, frames): + def direct(a, b): + return phase.dagger(phase.frame_circuit(frames[a])) + phase.frame_circuit(frames[b]) + + two_steps = direct(FIRST, STOP) + direct(STOP, LAST) + one_step = direct(FIRST, LAST) + require(phase.tableau(two_steps) == phase.tableau(one_step), "bypass signed action") + for a, b in ((two_steps, one_step), (phase.dagger(two_steps), phase.dagger(one_step))): + require(all(phase.column(a, j) == phase.column(b, j) for j in range(512)), + "bypass exact operator column") + wrong = one_step + (("phase", 1),) + require(phase.tableau(wrong) == phase.tableau(two_steps) + and phase.column(wrong) != phase.column(two_steps), "bypass phase mutation detected") + return {"route": [FIRST, STOP, LAST], "direct": [FIRST, LAST], + "all_forward": 512, "all_adjoint": 512, "wrong_phase": "rejected"} + + +def changed_event(w, clock, event): + p = w["program"] + return {**w, "program": p[:clock] + [event] + p[clock + 1:]} + + +def rejected(label, thunk): + try: + thunk() + except ValueError as exc: + require(str(exc).startswith(label), f"unexpected mutation rejection {exc}") + return str(exc) + raise ValueError(f"mutation accepted: {label}") + + +def controls(w, count, clears, birth, cut): + def edit(event): + return schedule(changed_event(w, cut, event), count, clears, birth) + + initial = w["initial"][:] + initial[457] = 281 if birth != 281 else 3 + early, late = w["program"][:cut], w["program"][cut + 1:] + own = next(i for i, e in enumerate(w["program"]) if e[0] == "MOVE" and e[4] is True) + return { + "wrong_direct_source": rejected("MOVE source", lambda: edit(["MOVE", ROLE, STOP, LAST, False])), + "wrong_direct_flag": rejected("MOVE flag", lambda: edit(["MOVE", ROLE, FIRST, LAST, True])), + "non_bool_flag": rejected("MOVE flag", lambda: edit(["MOVE", ROLE, FIRST, LAST, 0])), + "wrong_owned_flag": rejected("MOVE flag", lambda: schedule( + changed_event(w, own, w["program"][own][:4] + [False]), count, clears, birth)), + "nonnested_ascent": rejected("MOVE inclusion", lambda: edit(["MOVE", ROLE, FIRST, FIRST, False])), + "missing_direct": rejected("ADD frame", lambda: schedule( + {**w, "program": early + late}, count - 1, clears, birth)), + "wrong_birth457": rejected("initial or final frame", lambda: schedule( + {**w, "initial": initial}, count, clears, birth)), + } + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--pr", required=True, type=int, choices=SOURCE) + for name in ("source", "candidate", "engine", "prior-engine", "prior-word", "prior-receipts", "out"): + parser.add_argument("--" + name, required=True, type=Path) + parser.add_argument("--candidate-gzip", required=True) + parser.add_argument("--candidate-raw", required=True) + parser.add_argument("--workers", default=1, choices=(1, 2), type=int) + args = parser.parse_args() + start = monotonic() + src = SOURCE[args.pr] + direct_clock = src["clocks"][1] - 1 + pins = {args.source: src["gzip"], args.candidate: args.candidate_gzip, + args.engine: src["engine"], args.prior_engine: OLD["engine"], args.prior_word: OLD["gzip"]} + args.out.mkdir(exist_ok=False) + dump(args.out / "START.json", { + "started_at": stamp(), "pr": args.pr, "head": src["head"], + "source_raw": src["raw"], "candidate_raw": args.candidate_raw, + "source_gzip": src["gzip"], "candidate_gzip": args.candidate_gzip, + "scripts": {p.name: sha(p.read_bytes()) for p in (Path(__file__), Path(__file__).with_name("physical.py"))}, + "primes_and_seeds": MODULI, "args": vars(args) | { + k: str(v) for k, v in vars(args).items() if isinstance(v, Path)}}) + old, sb = word(args.source, src["gzip"], src["raw"]) + new, cb = word(args.candidate, args.candidate_gzip, args.candidate_raw) + require_cut(old, new, src["clocks"]) + birth = 281 + os = schedule(old, src["events"], src["clear"], birth) + ns = schedule(new, src["events"] - 1, src["clear"], birth) + require(os["lifetime_trace"] == ns["lifetime_trace"] and os["owned_paid"] == ns["owned_paid"], + "ordered owned schedule changed") + ms = controls(new, src["events"] - 1, src["clear"], birth, direct_clock) + code = read_engine(args.engine, src["engine"]) + require(code == read_engine(args.prior_engine, OLD["engine"]), "phase engines differ") + oldword, pb = word(args.prior_word, OLD["gzip"]) + require(pb["canonical_sha256"] == OLD["word"], "historical canonical word") + prior = verified_prior(oldword, args.prior_receipts) + cat = pair_catalogue(code, old, new, oldword, prior, args.workers) + dump(args.out / "MOVE-PAIRS.json", cat) + phase = engine_from(code) + route = route_identity(phase, old["frames"]) + ports = raw_ports(phase, old, require) + dump(args.out / "OPERATORS.json", {"route": route, "raw_ports": ports, "controls": ms}) + def task(m): + prime, seed = m + ans = evaluate(phase, old, new, prime, seed, direct_clock, prime == MODULI[0][0], require) + dump(args.out / f"PHYSICAL-{prime}.json", ans) + return ans + + finite = [task(m) for m in MODULI] + for path, h in pins.items(): + pinned(path, h) + require(prior == verified_prior(oldword, args.prior_receipts), "historical proof custody") + report = { + "status": "PASS_STRICT_379_NATIVE_FINITE", + "pr": args.pr, "head": src["head"], "source": sb, "candidate": cb, "historical": pb, + "source_cut_clocks": src["clocks"], "candidate_direct_clock": direct_clock, + "phase_code_sha256": sha(code.encode()), + "prior_proof_sha256": OLD["receipt"], "pair_counts": cat["counts"], + "route_columns": route, "raw_ports": ports, "controls": ms, + "schedules": {"source": os, "candidate": ns}, + "finite_replays": [{"prime": x["prime"], "seed": x["seed"], "digests": x["digests"], + "endpoint_rows": x["endpoint_rows"]} for x in finite], + "artifacts": {p.name: sha(p.read_bytes()) for p in sorted(args.out.glob("*.json"))}, + "completed_at": stamp(), "elapsed_seconds": monotonic() - start, + } + dump(args.out / "RESULT.json", report) + print(f"PASS_STRICT_379_NATIVE_FINITE pr={args.pr} elapsed={report['elapsed_seconds']:.1f}", flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/src/native/engines/phase-source7636.py b/research/p104-180-contact-application/src/native/engines/phase-source7636.py new file mode 100644 index 0000000000..e4ba38441b --- /dev/null +++ b/research/p104-180-contact-application/src/native/engines/phase-source7636.py @@ -0,0 +1,977 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Exact replay of 22 swap-then-delete composites on our #7630 word (SWAP-NULL relabel + stop deletion + joint hub re-settle). + +Standard library only. Written for this package; it imports no other package and runs no other author's code +(the #7630 word, invoice and affected-pair census are vendored as data). + +Modes (each is a separate VERIFY command): core, certificates, controls, columns1..columns4; all runs every mode. + +core + 1. Vendored #7630 word (data/base-7630-word.json.gz) and new word (data/word.json.gz): sha256 pinned. + 2. Header (initial, final, frames, hosted, ports, live, owned_fields) identical. + 3. Interior: every MOVE/INIT/CLEAR and every ADD/COPY/SCALE at a chart of dimension 1..8 of the new word equals #7630's + interior with the deletions and insertions of data/edits.json (composites C1..C22), event for event and in order. + Everything else (ADD/SCALE at the {0} chart and at V) is the re-derived joint hub. + 4. Both words replayed over the rationals from arbitrary inputs with full legality checks. All 1,569 rows and end charts + equal #7630's; helpers end at identity; owned rows empty; owned MOVE multiset, owned lifetimes, peak 50, 68 labels, 180 CLEARs unchanged. + 5. Routes: exactly the 44 helpers h1,h2 of C1..C22 change chains, each from route_before to route_after; new MOVE pairs strictly nested. + 6. Coefficients 5-smooth; grid statistics printed. + 7. Census, complete invoice (17 native calls), S and kappa recomputed; #7630's crossing reproduced. +certificates exact CLEAR certificates for all 180 CLEARs of the new word (#7620's verify_certificates rule), 2 rejecting controls. +controls negative controls rejected; 2 positives accepted. +columns1..4 affected-pair column tests on the 1,023-pair census (sorted index mod 4): 512 forward + 512 adjoint exact Gaussian + columns, signed Pauli action, absolute phase, exact ascent rank, wrong-phase rejection; rejecting controls. +""" +import collections +import multiprocessing +import copy +import decimal +import gzip +import hashlib +import json +import os +import sys +from fractions import Fraction as Q +from pathlib import Path + +HERE = Path(__file__).resolve().parent +DATA = HERE / 'data' +BASE_SHA256 = 'fa1a8dad12d28e6e5ced5a6989d49074efe15d6647ffc122cb28fcd666f366c2' +WORD_SHA256 = '1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659' +CALLS = 17 +NPARTS = 4 +CLAIM, ABOVE = '0.0036807241001', '0.0036807241002' + + +def require(cond, label): + if not cond: + raise AssertionError(label) + + +def load_gz(path): + return json.loads(gzip.decompress(path.read_bytes())) + + +def span(vectors): + s = {0} + for v in vectors: + require(type(v) is int and 0 < v < 512 and v not in s, 'frame vectors independent in F2^9') + s |= {x ^ v for x in s} + return frozenset(s) + + +def mains(W): + live = set(W['live']) + return live | {r + 112 for r in live} | set(W['hosted']['X2']) | set(W['hosted']['Y2']) + + +def replay(W): + """Exact replay; returns rows, end charts, MOVE chains and owned data. Raises on any illegality.""" + n, N = W['public'], W['public'] + W['owned_fields'] + sp = [span(f) for f in W['frames']] + rows = [{r: Q(1)} if r < n else {} for r in range(N)] + cur = list(W['initial']) + [None] * W['owned_fields'] + alive, chains, owned_moves = set(), collections.defaultdict(list), collections.Counter() + lifetimes, peak = collections.Counter(), 0 + init_chart = {} + stats = dict(max_den_exp=0, odd_den=1, max_num_bits=0, smooth=True) + + def note(q): + d = q.denominator + e = (d & -d).bit_length() - 1 + stats['max_den_exp'] = max(stats['max_den_exp'], e) + odd = d >> e + o = odd + for p in (3, 5): + while o % p == 0: + o //= p + if o != 1: + stats['smooth'] = False + if odd > 1 and stats['odd_den'] % odd: + stats['odd_den'] = stats['odd_den'] * odd // __import__('math').gcd(stats['odd_den'], odd) + stats['max_num_bits'] = max(stats['max_num_bits'], abs(q.numerator).bit_length()) + + for i, e in enumerate(W['program']): + op, r = e[0], e[1] + require(type(r) is int and 0 <= r < N, '%d register index' % i) + if op == 'MOVE': + a, b, flag = e[2], e[3], e[4] + require(type(flag) is bool and flag == (r >= n), '%d MOVE ownership flag' % i) + require(cur[r] == a, '%d MOVE from the current chart' % i) + if r >= n: + require(r in alive, '%d owned MOVE on a live field' % i) + require(sp[a] < sp[b] or sp[b] < sp[a], '%d owned MOVE nested' % i) + owned_moves[(a, b)] += 1 + else: + require(sp[a] < sp[b], '%d public MOVE strictly ascends' % i) + cur[r] = b + chains[r].append((a, b)) + elif op == 'INIT': + require(r >= n and r not in alive and len(e) == 3, '%d INIT of a dead owned field' % i) + alive.add(r); rows[r] = {}; cur[r] = e[2]; init_chart[r] = e[2] + peak = max(peak, len(alive)) + elif op == 'CLEAR': + require(r >= n and r in alive and cur[r] == e[2], '%d CLEAR at the current chart' % i) + lifetimes[(r, init_chart.pop(r), e[2])] += 1 + alive.discard(r); rows[r] = {}; cur[r] = None + elif op == 'SCALE': + q = Q(e[2]) + require(q != 0, '%d SCALE by zero' % i) + require(cur[r] == e[3] and (r < n or r in alive), '%d SCALE chart' % i) + rows[r] = {k: v * q for k, v in rows[r].items()} + for v in rows[r].values(): + note(v) + elif op in ('ADD', 'COPY'): + s, q, f = e[2], Q(e[3]), e[4] + require(type(s) is int and 0 <= s < N and s != r, '%d operand' % i) + require(q != 0, '%d zero coefficient' % i) + require(cur[r] == f and cur[s] == f, '%d ADD/COPY operands at chart %d' % (i, f)) + for x in (r, s): + require(x < n or x in alive, '%d owned field live' % i) + if op == 'COPY': + require(not rows[r], '%d COPY into a zero field' % i) + R = rows[r] + for k, v in rows[s].items(): + nv = R.get(k, 0) + q * v + if nv: + R[k] = nv + note(nv) + else: + R.pop(k, None) + else: + raise AssertionError('%d unknown op %r' % (i, op)) + require(not alive, 'every owned field cleared') + require(cur[:n] == list(W['final']), 'public fields end at final charts') + return dict(rows=rows, cur=cur, chains=chains, owned_moves=owned_moves, + lifetimes=lifetimes, peak=peak, sp=sp, stats=stats) + + +def crossing(T, P, digits=40): + """Root of F(C) = sum (T_r - P_r) r^(1-C) on [0.003, 0.0045] by bisection in 80-digit decimals.""" + D = decimal.Decimal + with decimal.localcontext(decimal.Context(prec=digits + 40)) as ctx: + ranks = sorted({int(r) for r in T} | {int(r) for r in P}) + terms = [(D(T.get(str(r), 0) - P.get(str(r), 0)) * r, D(r).ln()) for r in ranks] + + def F(C): + return sum((c * (-C * l).exp() for c, l in terms), D(0)) + lo, hi = D('0.003'), D('0.0045') + require(F(lo) > 0 > F(hi), 'crossing bracketed') + for _ in range(160): + mid = (lo + hi) / 2 + if F(mid) > 0: + lo = mid + else: + hi = mid + return decimal.Context(prec=digits).create_decimal(lo) + + +def invoice_json(P, T): + return {'schema': 'integer-mult-recursive-invoice/v1', + 'contract': {'model': 'mixed-target-unnormalized-power-v1', + 'rank_semantics': 'H_r costs r^(1-C); debit surrendered productive fields', + 'ambient_rank': 145, + 'boundary': 'complete signed #7113 caller application with 17 native calls'}, + 'paid': {k: P[k] for k in sorted(P, key=int)}, + 'targets': {k: T[k] for k in sorted(T, key=int)}} + + +def clears(W): + """Row content erased at every owned CLEAR, in program order.""" + n = W['public'] + rows = [{r: Q(1)} if r < n else {} for r in range(n + W['owned_fields'])] + out = [] + for e in W['program']: + op, r = e[0], e[1] + if op == 'INIT': + rows[r] = {} + elif op == 'CLEAR': + out.append((r, tuple(sorted(rows[r].items())))) + rows[r] = {} + elif op == 'SCALE': + rows[r] = {k: v * Q(e[2]) for k, v in rows[r].items()} + elif op in ('ADD', 'COPY'): + R = rows[r] + for k, v in rows[e[2]].items(): + nv = R.get(k, 0) + Q(e[3]) * v + if nv: + R[k] = nv + else: + R.pop(k, None) + return out + + + +def literal_coeffs(program): + return [Q(e[2]) for e in program if e[0] == 'SCALE'] + [Q(e[3]) for e in program if e[0] in ('ADD', 'COPY')] + + +def nondyadic(program): + return sum(1 for q in literal_coeffs(program) if q.denominator & (q.denominator - 1)) + + +# --------------------------------------------------------------------------- +# Column tests for every affected public chart pair (own implementation). +# A chart pair (a, b) is the operator F_a^dagger F_b of two nine-bit stabilizer +# frames (Gaussian-dyadic Clifford maps). For each pair this section (i) builds +# the circuit of F_a^dagger F_b directly from the frame definition, (ii) compiles +# it to the child recipe monomial . Fourier^r . monomial with r = dim b - dim a, +# (iii) requires the recipe and the direct circuit to agree in signed Pauli action +# and exact absolute phase, and (iv) compares all 512 forward and 512 adjoint +# Gaussian columns, then checks that a recipe with its absolute phase shifted is +# rejected. Gates: P (bit permutation), D (diagonal Z4 quadratic form), +# C (one Fourier line, (1+i)I/2 + (1-i)X/2), X (offset), phase (i^k). +# --------------------------------------------------------------------------- +NB = 9 +FULL = 1 << NB + + +def par(x): + return x.bit_count() & 1 + + +def rank2(rows): + piv = {} + for x in rows: + while x: + b = x.bit_length() - 1 + if b not in piv: + piv[b] = x + break + x ^= piv[b] + return len(piv) + + +def tr(rows, n=NB): + return tuple(sum(((rows[j] >> i) & 1) << j for j in range(n)) for i in range(n)) + + +def mvec(rows, x): + return sum(par(r & x) << i for i, r in enumerate(rows)) + + +def minv(rows, n=NB): + a = [r | (1 << (n + i)) for i, r in enumerate(rows)] + for j in range(n): + k = next(i for i in range(j, n) if a[i] >> j & 1) + a[j], a[k] = a[k], a[j] + for i in range(n): + if i != j and a[i] >> j & 1: + a[i] ^= a[j] + require([r & ((1 << n) - 1) for r in a] == [1 << i for i in range(n)], 'binary inverse') + return tuple(r >> n for r in a) + + +def extend(vecs, n=NB): + out = [] + for x in list(vecs) + [1 << i for i in range(n)]: + if rank2(out + [x]) > len(out): + out.append(x) + require(len(out) == n, 'basis extension') + return tuple(out) + + +def qform(Qr, al, x): + return (sum(al[i] for i in range(NB) if x >> i & 1) + + 2 * sum(par((Qr[i] >> (i + 1)) & (x >> (i + 1))) for i in range(NB) if x >> i & 1)) % 4 + + +def dagger(circ): + out = [] + for g in reversed(circ): + t = g[0] + if t == 'P': + out.append(('P', minv(g[1]))) + elif t == 'D': + out.append(('D', g[1], tuple(-a % 4 for a in g[2]))) + elif t == 'C': + out.append(('C', g[1], -g[2])) + elif t == 'phase': + out.append(('phase', -g[1] % 4)) + else: + out.append(g) + return tuple(out) + + +def fourier(r): + return tuple(('C', 1 << i, 1) for i in range(r)) + + +def frame_circuit(vecs): + r = len(vecs) + if r == 0: + return () + if r == NB: + return fourier(NB) + G = tr(extend(vecs)) + gi = tr(minv(G)) + Qr = tuple((1 << i) ^ sum(par(a & b) << j for j, b in enumerate(gi)) for i, a in enumerate(gi)) + chart = (('P', G), ('D', Qr, tuple((row >> i) & 1 for i, row in enumerate(Qr)))) + return dagger(chart) + fourier(r) + chart + + +def tableau(circ): + rows = [(1 << i, 0, 0) for i in range(NB)] + [(0, 1 << i, 0) for i in range(NB)] + for g in circ: + t = g[0] + out = [] + it = tr(minv(g[1])) if t == 'P' else None + for x, z, p in rows: + if t == 'P': + x, z = mvec(g[1], x), mvec(it, z) + elif t == 'X': + p += 2 * par(z & g[1]) + elif t == 'C': + if par(z & g[1]): + x ^= g[1] + p += 3 * g[2] + elif t == 'D': + p += sum(g[2][i] for i in range(NB) if x >> i & 1) + p += 2 * sum(par((g[1][i] >> (i + 1)) & (x >> (i + 1))) for i in range(NB) if x >> i & 1) + z ^= mvec(g[1], x) + else: + require(t == 'phase', 'gate type') + out.append((x, z, p % 4)) + rows = out + return tuple(rows) + + +_ACT = {} + + +def dact(g): + if g not in _ACT: + _ACT[g] = tuple(qform(g[1], g[2], x) for x in range(FULL)) + return _ACT[g] + + +def rot(pr, k): + a, b = pr + return ((a, b), (-b, a), (-a, -b), (b, -a))[k % 4] + + +def column(circ, basis=0): + """Exact Gaussian-dyadic column: ({address: (re, im)}, denominator exponent), value = num / 2^(den/2) ... .""" + val, den = {basis: (1, 0)}, 0 + for g in circ: + t = g[0] + res = {} + if t == 'C': + d, s = g[1], g[2] + for ad, (a, b) in val.items(): + for tg, pr in ((ad, (a - s * b, b + s * a)), (ad ^ d, (a + s * b, b - s * a))): + o = res.get(tg, (0, 0)) + res[tg] = (o[0] + pr[0], o[1] + pr[1]) + den += 1 + else: + for ad, pr in val.items(): + if t == 'P': + tg = mvec(g[1], ad) + elif t == 'X': + tg = ad ^ g[1] + elif t == 'D': + tg = ad + pr = rot(pr, dact(g)[ad]) + else: + require(t == 'phase', 'gate type') + tg = ad + pr = rot(pr, g[1]) + require(tg not in res, 'monomial map injective') + res[tg] = pr + val = {ad: pr for ad, pr in res.items() if pr != (0, 0)} + while den and all((a | b) % 2 == 0 for a, b in val.values()): + den -= 1 + val = {ad: (a // 2, b // 2) for ad, (a, b) in val.items()} + return val, den + + +def monomial_circuit(rec): + M, Qr, al = tuple(rec['matrix_rows']), tuple(rec['quadratic_rows']), tuple(rec['linear_Z4']) + require(tr(Qr) == Qr and all(al[i] % 2 == (Qr[i] >> i) & 1 for i in range(NB)), 'diagonal form') + minv(M) + return (('D', Qr, al), ('P', M), ('X', rec['offset']), ('phase', rec['phase'])) + + +def recipe_circuit(rec): + if rec['rank'] == 0: + return monomial_circuit(rec['left']) + return monomial_circuit(rec['right']) + fourier(rec['rank']) + monomial_circuit(rec['left']) + + +# compiler: symplectic tableau algebra used to produce the recipe +def pmul(a, b): + x, z, p = a + y, w, q = b + return x ^ y, z ^ w, (p + q + 2 * par(z & y)) % 4 + + +def tapply(T, pa): + x, z, ph = pa + out = (0, 0, ph) + for i in range(NB): + if x >> i & 1: + out = pmul(out, T[i]) + for i in range(NB): + if z >> i & 1: + out = pmul(out, T[NB + i]) + return out + + +def tcompose(A, B): + return tuple(tapply(A, p) for p in B) + + +def tidentity(): + return tuple([(1 << i, 0, 0) for i in range(NB)] + [(0, 1 << i, 0) for i in range(NB)]) + + +def tinverse(T): + cols = [x | (z << NB) for x, z, p in T] + ci = tr(minv(tr(cols, 2 * NB), 2 * NB), 2 * NB) + out = [] + for j, w in enumerate(ci): + x, z = w & (FULL - 1), w >> NB + u, v, p = tapply(T, (x, z, 0)) + require((u, v) == tidentity()[j][:2], 'tableau inverse') + out.append((x, z, -p % 4)) + return tuple(out) + + +class Op: + def __init__(s, tab, circ): + s.tab, s.circ = tab, tuple(circ) + + def then(s, o): + return Op(tcompose(o.tab, s.tab), s.circ + o.circ) + + def dag(s): + return Op(tinverse(s.tab), dagger(s.circ)) + + +def op_perm(G): + cols, gi = tr(G), minv(G) + return Op(tuple([(a, 0, 0) for a in cols] + [(0, a, 0) for a in gi]), [('P', tuple(G))]) + + +def op_diag(Qr, al=None): + Qr = tuple(Qr) + al = tuple(al) if al is not None else tuple((Qr[i] >> i) & 1 for i in range(NB)) + return Op(tuple([(1 << i, Qr[i], al[i]) for i in range(NB)] + [(0, 1 << i, 0) for i in range(NB)]), [('D', Qr, al)]) + + +def op_c(q, s=1): + return Op(tuple([(1 << i, 0, 0) for i in range(NB)] + + [(q if q >> i & 1 else 0, 1 << i, (3 * s) % 4 if q >> i & 1 else 0) for i in range(NB)]), [('C', q, s)]) + + +def op_x(b): + return Op(tuple([(1 << i, 0, 0) for i in range(NB)] + [(0, 1 << i, 2 * ((b >> i) & 1)) for i in range(NB)]), [('X', b)]) + + +def op_id(): + return Op(tidentity(), []) + + +def op_four(axes): + o = op_id() + for i in axes: + o = o.then(op_c(1 << i)) + return o + + +def op_had(axes): + S = op_diag(tuple(1 << i if i in axes else 0 for i in range(NB))) + return S.then(op_four(axes)).then(S) + + +def frame_op(vecs): + r = len(vecs) + if r == 0: + return op_id() + if r == NB: + return op_four(range(NB)) + G = tr(extend(vecs)) + gi = tr(minv(G)) + Qr = tuple((1 << i) ^ sum(par(a & b) << j for j, b in enumerate(gi)) for i, a in enumerate(gi)) + K = op_perm(G).then(op_diag(Qr)) + return K.dag().then(op_four(range(r))).then(K) + + +def split_monomial(op): + T = op.tab + require(all(x == 0 and p % 2 == 0 for x, z, p in T[NB:]), 'monomial tableau') + G = tr([x for x, z, p in T[:NB]]) + b = mvec(G, sum((p // 2) << i for i, (x, z, p) in enumerate(T[NB:]))) + cols = [mvec(tr(G), z) for x, z, p in T[:NB]] + Qr = tr(cols) + al = [(p - 2 * par(b & z)) % 4 for x, z, p in T[:NB]] + out = op_diag(Qr, al).then(op_perm(G)).then(op_x(b)) + require(out.tab == T, 'monomial rebuilt') + val, den = column(op.circ) + require(den == 0 and all(v == (0, 0) for a, v in val.items() if a != b), 'monomial column') + ph = [(1, 0), (0, 1), (-1, 0), (0, -1)].index(val[b]) + out = out.then(Op(tidentity(), [('phase', ph)])) + return out, dict(matrix_rows=G, offset=b, quadratic_rows=Qr, linear_Z4=al, phase=ph) + + +def lower(op): + Bc = [x for x, z, p in op.tab[NB:]] + r = rank2(Bc) + if not r: + mon, rec = split_monomial(op) + return dict(rank=0, left=rec, right=None) + G = tr(extend(Bc)) + A = minv(G) + PA = op_perm(A) + part = op.then(PA) + Bc = [x for x, z, p in part.tab[NB:]] + Dc = [z for x, z, p in part.tab[NB:]] + picks, sel = [], [] + for j, x in enumerate(Bc): + if rank2(sel + [x]) > len(sel): + picks.append(j) + sel.append(x) + require(len(picks) == r and all(x >> r == 0 for x in Bc), 'rank selection') + Br = tr(sel, r) + Bi = minv(Br, r) + Dr = tr([Dc[j] & ((1 << r) - 1) for j in picks], r) + Qs = tuple(sum(par(row & col) << j for j, col in enumerate(tr(Bi, r))) for row in Dr) + DQ = op_diag(Qs + (0,) * (NB - r)) + V = part.then(DQ).then(op_had(range(r))) + require(all(x == 0 for x, z, p in V.tab[NB:]), 'V monomial') + Vm, _ = split_monomial(V) + S = op_diag(tuple(1 << i if i < r else 0 for i in range(NB))) + left = S.dag().then(DQ.dag()).then(PA.dag()) + right = Vm.then(S.dag()).then(op_x((1 << r) - 1)) + lm, lrec = split_monomial(left) + rm, rrec = split_monomial(right) + comp = rm.then(op_four(range(r))).then(lm) + require(comp.tab == op.tab and column(comp.circ) == column(op.circ), 'recipe reproduces the pair operator') + return dict(rank=r, left=lrec, right=rrec) + + +def pair_columns(frames, a, b, wrong_phase=True): + """Full column test of the chart pair (a, b); returns its rank.""" + U, V = frames[a], frames[b] + rec = lower(frame_op(U).dag().then(frame_op(V))) + require(rec['rank'] == len(V) - len(U), 'exact public ascent rank of pair %s' % ((a, b),)) + expected = dagger(frame_circuit(U)) + frame_circuit(V) + actual = recipe_circuit(rec) + require(tableau(actual) == tableau(expected), 'signed Pauli action of pair %s' % ((a, b),)) + for x, y in ((actual, expected), (dagger(actual), dagger(expected))): + for c in range(FULL): + require(column(x, c) == column(y, c), 'Gaussian column %d of pair %s' % (c, (a, b))) + if wrong_phase: + bad = actual + (('phase', 1),) + require(tableau(bad) == tableau(actual) and column(bad) != column(expected), 'wrong absolute phase rejected') + return rec['rank'] + + + +# --------------------------------------------------------------------------- +# Package-specific checks. +# --------------------------------------------------------------------------- +MODES = ('all', 'core', 'certificates', 'controls') + tuple('columns%d' % i for i in range(1, NPARTS + 1)) +MODE = sys.argv[1] if len(sys.argv) > 1 else 'all' +require(MODE in MODES, 'mode is one of ' + ', '.join(MODES)) + + +def load_words(): + base_raw = (DATA / 'base-7630-word.json.gz').read_bytes() + require(hashlib.sha256(base_raw).hexdigest() == BASE_SHA256, 'vendored #7630 word bytes') + word_raw = (DATA / 'word.json.gz').read_bytes() + require(hashlib.sha256(word_raw).hexdigest() == WORD_SHA256, 'new word bytes') + return json.loads(gzip.decompress(base_raw)), json.loads(gzip.decompress(word_raw)) + + +def interior_test(W): + dim = [len(f) for f in W['frames']] + + def ok(e): + if e[0] in ('ADD', 'COPY'): + return 0 < dim[e[4]] < 9 + if e[0] == 'SCALE': + return 0 < dim[e[3]] < 9 + return True + return ok + + +def apply_interior(B, E): + """#7630's interior subsequence with the listed deletions and insertions (inserts ordered by seq).""" + ok, P = interior_test(B), B['program'] + dele, ins = {}, collections.defaultdict(list) + allins = [] + for ed in E['edits']: + for i, ev in ed['delete']: + require(P[i] == ev and ok(ev) and i not in dele, '%s deletion %d matches an interior base event' % (ed['id'], i)) + dele[i] = ev + allins.extend(ed['insert']) + require(sorted(x['seq'] for x in allins) == list(range(len(allins))), 'insert sequence numbers') + for x in sorted(allins, key=lambda x: x['seq']): + require(ok(x['event']), 'insertion is interior') + ins[x['before']].append(x['event']) + keys, k, out = sorted(ins), 0, [] + for i, e in enumerate(P): + if not ok(e): + continue + while k < len(keys) and keys[k] <= i: + out.extend(ins[keys[k]]) + k += 1 + if i not in dele: + out.append(e) + for key in keys[k:]: + out.extend(ins[key]) + return out, len(dele), sum(len(v) for v in ins.values()) + + +def chain_route(RX, X, r): + ch = RX['chains'].get(r, []) + return [ch[0][0]] + [b for a, b in ch] if ch else [X['initial'][r]] + + +def routes_of(X): + out = collections.defaultdict(list) + for e in X['program']: + if e[0] == 'MOVE' and e[1] < X['public']: + out[e[1]].append((e[2], e[3])) + return out + + +def move_pairs(X): + return {(e[2], e[3]) for e in X['program'] if e[0] == 'MOVE'} + + +def native_counts(W): + dim = [len(f) for f in W['frames']] + paid = collections.Counter(abs(dim[e[3]] - dim[e[2]]) for e in W['program'] if e[0] == 'MOVE') + M, n = mains(W), W['public'] + helpers = collections.Counter(dim[W['final'][r]] - dim[W['initial'][r]] for r in range(n) if r not in M) + return paid, helpers + + +def diff(a, b): + d = collections.Counter(b) + d.subtract(a) + return {k: v for k, v in sorted(d.items()) if v} + + +def verify_certificates(W, certs): + """#7620's verify_certificates rule at every CLEAR: erased row == sum of certificate coefficients times rows of live + registers other than the cleared field, exactly. A zero row needs the empty certificate. Returns per-CLEAR sizes and failures.""" + n = W['public'] + rows = [{r: Q(1)} if r < n else {} for r in range(n + W['owned_fields'])] + live, sizes, bad, seen = set(range(n)), [], [], 0 + for i, e in enumerate(W['program']): + op, r = e[0], e[1] + if op == 'INIT': + live.add(r) + rows[r] = {} + elif op == 'CLEAR': + seen += 1 + c = certs.get(str(i)) + okc = c is not None + if okc: + cert = {int(k): Q(v) for k, v in c.items()} + okc = all(k in live and k != r for k in cert) + s = {} + for k, cf in cert.items(): + for t, v in rows[k].items(): + s[t] = s.get(t, 0) + cf * v + okc = okc and {t: v for t, v in s.items() if v} == rows[r] + sizes.append(len(cert)) + if not okc: + bad.append(i) + rows[r] = {} + live.discard(r) + elif op == 'SCALE': + rows[r] = {k: v * Q(e[2]) for k, v in rows[r].items()} + elif op != 'MOVE': + R = rows[r] + for k, v in rows[e[2]].items(): + nv = R.get(k, 0) + Q(e[3]) * v + if nv: + R[k] = nv + else: + R.pop(k, None) + require(seen == len(certs), 'one certificate per CLEAR and no other') + return sizes, bad + + +def certificates_section(B, W): + certs = json.loads((DATA / 'clear-certificates.json').read_text())['clear_event_index'] + require(len(certs) == 180, '180 certificates') + sizes, bad = verify_certificates(W, certs) + require(not bad and len(sizes) == 180, 'every CLEAR certified (failures at %s)' % bad[:5]) + nz = sum(1 for s in sizes if s) + cb, cw = clears(B), clears(W) + same = sum(1 for a, b in zip(cb, cw) if a == b) + print('PASS CLEAR certificates: all 180 CLEARs of the new word erase an exact combination of other live registers' + ' (#7620 verify_certificates rule; %d nonzero rows, certificate sizes %d..%d; %d zero rows); %d of 180 CLEAR contents' + ' are identical to #7630\'s, the rest change with the re-derived hub content' % (nz, min(s for s in sizes if s), max(sizes), 180 - nz, same)) + k = next(i for i, c in certs.items() if c) + X = copy.deepcopy(certs) + f0 = next(iter(X[k])) + X[k][f0] = str(Q(X[k][f0]) + 1) + require(int(k) in verify_certificates(W, X)[1], 'corrupted coefficient rejected') + Y = copy.deepcopy(certs) + r = W['program'][int(k)][1] + Y[k][str(r)] = Y[k].pop(f0) + require(int(k) in verify_certificates(W, Y)[1], 'cleared field as a term rejected') + print('PASS certificate controls: corrupted coefficient (CLEAR at event %s) rejected; cleared field as a term rejected' % k) + print('PASS_CERTIFICATES_ON_7630') + + +def changed_registers(B, W): + rb, rw = routes_of(B), routes_of(W) + return rb, rw, [r for r in range(W['public']) if rb[r] != rw[r]] + + +def affected_pairs(B, W): + """#7630's 981-pair census plus every old- and new-route pair of the 44 registers whose chain changed; none leaves.""" + p0 = {tuple(p) for p in json.loads((DATA / 'affected-pairs-7630.json').read_text())} + require(len(p0) == 981, "#7630's census is 981 pairs") + rb, rw, changed = changed_registers(B, W) + E = json.loads((DATA / 'edits.json').read_text()) + require(changed == sorted({r for ed in E['edits'] for r in (ed['h1'], ed['h2'])}) and len(changed) == 44, 'changed routes are exactly the 44 helpers of C1..C22') + allp = p0 | {q for r in changed for q in rb[r] + rw[r]} + filep = {tuple(p) for p in json.loads((DATA / 'affected-pairs-new.json').read_text())} + require(allp == filep and len(allp) == 1023 and not p0 - allp, 'census is 1023 pairs (981 + 42), none dropped') + require(move_pairs(W) - move_pairs(B) <= allp, 'every new MOVE pair is tested') + return p0, allp + + +def _pair_job(args): + frames, a, b = args + return (a, b, pair_columns(frames, a, b)) + + +def columns_section(B, W, part): + p0, allp = affected_pairs(B, W) + frames = [tuple(f) for f in W['frames']] + mine = sorted(allp)[part::NPARTS] + print('affected pairs: 981 (#7630) + 42 = %d; part %d of %d tests %d pairs' % (len(allp), part + 1, NPARTS, len(mine))) + jobs = [(frames, a, b) for a, b in mine] + with multiprocessing.Pool(min(int(os.environ.get('CHECK_PROCS', '8')), multiprocessing.cpu_count())) as pool: + done = pool.map(_pair_job, jobs, chunksize=4) + require(len(done) == len(mine), 'all pairs of this part tested') + print('PASS columns part %d: %d chart pairs x (512 forward + 512 adjoint) exact Gaussian columns = %d, signed Pauli action,' + ' absolute phase, exact public ascent rank, wrong-phase rejection each' % (part + 1, len(done), len(done) * 1024)) + if part: + return + + def col_rejected(label, mutate): + try: + mutate() + except AssertionError as exc: + print('PASS control rejected: %s (%s)' % (label, str(exc)[:70])) + return + raise AssertionError('control not rejected: ' + label) + + def non_nested(): + pair_columns(frames, 260, 128) + require(not (span(frames[260]) < span(frames[128]) or span(frames[128]) < span(frames[260])), 'control pair is not nested') + col_rejected('column test rejects the non-nested pair (260,128)', non_nested) + exp_of = lambda a, b: dagger(frame_circuit(frames[a])) + frame_circuit(frames[b]) + newp = sorted(move_pairs(W) - move_pairs(B)) + for a, b in (newp[0], newp[-1]): + def tampered_recipe(a=a, b=b): + rec = lower(frame_op(frames[a]).dag().then(frame_op(frames[b]))) + rec['left']['offset'] ^= 1 + exp = exp_of(a, b) + require(tableau(recipe_circuit(rec)) == tableau(exp) and column(recipe_circuit(rec), 0) == column(exp, 0), 'recipe column 0') + col_rejected('column test rejects a (%d,%d) recipe with a shifted offset' % (a, b), tampered_recipe) + + def phase_only(a=a, b=b): + rec = lower(frame_op(frames[a]).dag().then(frame_op(frames[b]))) + require(column(recipe_circuit(rec) + (('phase', 2),), 0) == column(exp_of(a, b), 0), 'recipe column 0 phase') + col_rejected('column test rejects a (%d,%d) recipe with a global phase error' % (a, b), phase_only) + + +def run_controls(B, W): + RB = replay(B) + P0 = W['program'] + E = json.loads((DATA / 'edits.json').read_text()) + res = [] + + def outcome(P, X0, initial=None): + X = dict(X0) + X['program'] = P + if initial is not None: + X['initial'] = initial + try: + R = replay(X) + except AssertionError as ex: + return 'illegal: ' + str(ex) + if R['rows'] != RB['rows'] or R['cur'] != RB['cur']: + return 'rows/end charts differ (%d rows)' % sum(a != b for a, b in zip(R['rows'], RB['rows'])) + return None + + def test(label, P, X0=W, expect_reject=True, initial=None): + o = outcome(P, X0, initial) + require((o is not None) == expect_reject, 'control %s: %s' % (label, 'ACCEPTED' if o is None else 'REJECTED ' + o)) + if expect_reject: + res.append(1) + print('PASS control %s: %s %s' % ('rejected' if expect_reject else 'accepted', label, '(%s)' % o[:80] if o else ''), flush=True) + + def ix(ev, P=P0): + require(P.count(ev) == 1, 'control event present once: %r' % (ev,)) + return P.index(ev) + + def mod(f, base=P0): + P = list(base) + f(P) + return P + + dim = [len(f) for f in W['frames']] + ed = {e['id']: e for e in E['edits']} + test('new word (positive)', P0, expect_reject=False) + test('#7630 word itself (positive)', B['program'], B, expect_reject=False) + # inserted MOVEs of three composites (the merged ascent that skips the deleted stay) + def inserted_moves(cid): + return [x['event'] for x in ed[cid]['insert'] if x['event'][0] == 'MOVE'] + for n, cid in enumerate(('C1', 'C12', 'C22'), 1): + mv = inserted_moves(cid)[0] + test('%d %s inserted MOVE %s dropped' % (n, cid, mv), mod(lambda P, mv=mv: P.pop(ix(mv)))) + # relabelled operand: restore the pre-swap register in one ADD of C1 and in one of C7 + for n, cid in zip((4, 5), ('C1', 'C7')): + adds = [x['event'] for x in ed[cid]['insert'] if x['event'][0] == 'ADD'] + a = adds[-1] + alt = list(a) + alt[1 if a[1] in (ed[cid]['h1'], ed[cid]['h2']) else 2] = ed[cid]['h2'] if a[1 if a[1] in (ed[cid]['h1'], ed[cid]['h2']) else 2] == ed[cid]['h1'] else ed[cid]['h1'] + test('%d %s inserted ADD %s with the swapped register undone %s' % (n, cid, a, alt), mod(lambda P, a=a, alt=alt: P.__setitem__(ix(a), alt))) + # coefficient changes + for n, cid in zip((6, 7), ('C2', 'C9')): + a = next(x['event'] for x in ed[cid]['insert'] if x['event'][0] == 'ADD') + alt = list(a) + alt[3] = str(-Q(a[3])) + test('%d %s inserted ADD %s coefficient negated' % (n, cid, a), mod(lambda P, a=a, alt=alt: P.__setitem__(ix(a), alt))) + # ownership flag + mv = inserted_moves('C3')[0] + test('8 C3 inserted MOVE with ownership flag True', mod(lambda P: P.__setitem__(ix(mv), mv[:4] + [True]))) + v_add = next(i for i, e in enumerate(P0) if e[0] == 'ADD' and dim[e[4]] == 9) + z_add = next(i for i, e in enumerate(P0) if e[0] == 'ADD' and dim[e[4]] == 0) + test('9 first V-mix ADD coefficient doubled', mod(lambda P: P.__setitem__(v_add, P[v_add][:3] + [str(2 * Q(P[v_add][3]))] + P[v_add][4:]))) + test('10 first {0}-prefix ADD dropped', mod(lambda P: P.pop(z_add))) + # stay not taken: replace a merged MOVE of C5 (3 -> far chart) by its pre-edit first hop + old_first = next(e for i, e in ed['C5']['delete'] if e[0] == 'MOVE' and e[2] == 3) + mv = next(x['event'] for x in ed['C5']['insert'] if x['event'][0] == 'MOVE' and x['event'][2] == 3) + test('11 C5 stay re-taken: MOVE %s replaced by %s' % (mv, old_first), mod(lambda P: P.__setitem__(ix(mv), old_first))) + # bare deletion on #7630 (no relabel, no hub re-settle) + Bp = B['program'] + + def bare(P): + for i, ev in sorted(ed['C1']['delete'], reverse=True): + require(P[i] == ev, 'C1 event in #7630') + del P[i] + test('12 C1 deletions applied to #7630 without the relabel and without hub re-settle', mod(bare, Bp), B) + test('13 one C4 deletion alone applied to #7630', mod(lambda P: P.pop(ed['C4']['delete'][0][0]), Bp), B) + test('14 last event of the new word dropped', P0[:-1]) + require(len(res) == 14, '14 negative controls rejected') + print('PASS_CONTROLS_ON_7630: 14/14 negative controls rejected, 2 positives accepted') + + +def core(B, W): + E = json.loads((DATA / 'edits.json').read_text()) + require(B.keys() == W.keys() and all(B[k] == W[k] for k in B if k != 'program'), 'header identical (initial, final, frames, hosted, ports, owned_fields)') + print('PASS header: identical to #7630 (initial, final, frames, hosted, ports, live, owned_fields)') + require(len(E['edits']) == 22, '22 composites') + got, nd, ni = apply_interior(B, E) + ok = interior_test(W) + mine = [e for e in W['program'] if ok(e)] + require(got == mine, 'interior of the new word = #7630 interior + edit list') + hb = sum(1 for e in B['program'] if not ok(e)) + hw = sum(1 for e in W['program'] if not ok(e)) + print('PASS interior: %d interior events = #7630\'s %d - %d deleted + %d inserted (C1..C22); hub events (ADD/SCALE at {0} and V)' + ' %d -> %d; word %d -> %d events' % (len(mine), len(mine) - ni + nd, nd, ni, hb, hw, len(B['program']), len(W['program']))) + RB, R = replay(B), replay(W) + n = W['public'] + bad = [r for r in range(len(R['rows'])) if R['rows'][r] != RB['rows'][r]] + require(not bad, 'all rows equal #7630 (first differing %s)' % bad[:3]) + require(R['cur'] == RB['cur'], 'all end charts equal #7630') + M = mains(W) + require(all(R['rows'][r] == {r: Q(1)} for r in range(n) if r not in M), 'helpers end at identity') + require(all(not R['rows'][r] for r in range(n, len(R['rows']))), 'owned rows end empty') + require(R['owned_moves'] == RB['owned_moves'], 'owned MOVE multiset unchanged') + require(R['lifetimes'] == RB['lifetimes'] and sum(R['lifetimes'].values()) == 180, 'owned lifetimes (field, INIT chart, CLEAR chart) unchanged, 180') + require(R['peak'] == RB['peak'] == 50, 'owned peak 50') + ownseq = lambda X: [e for e in X['program'] if e[0] in ('INIT', 'CLEAR') or (e[0] == 'MOVE' and e[1] >= n)] + require(ownseq(B) == ownseq(W), 'owned INIT/CLEAR/MOVE sequence identical') + labels = {e[1] for e in W['program'] if e[0] == 'INIT'} + require(len(labels) == 68 == W['owned_fields'], '68 owned labels') + print('PASS exact replay: both words legal; all %d rows and end charts equal #7630, helpers identity, owned empty;' + ' owned MOVEs (%d), 180 lifetimes, peak 50 and 68 labels unchanged; owned INIT/CLEAR/MOVE sequence identical' % (len(R['rows']), sum(R['owned_moves'].values()))) + changed = sorted(r for r in range(n) if chain_route(R, W, r) != chain_route(RB, B, r)) + require(changed == sorted({r for ed in E['edits'] for r in (ed['h1'], ed['h2'])}) and len(changed) == 44, 'exactly the 44 helpers of C1..C22 change chains') + for ed in E['edits']: + for r in (ed['h1'], ed['h2']): + require(chain_route(RB, B, r) == ed['route_before'][str(r)] and chain_route(R, W, r) == ed['route_after'][str(r)], + '%s route of %d: %s -> %s' % (ed['id'], r, chain_route(RB, B, r), chain_route(R, W, r))) + require(all(B['initial'][r] == 3 and B['final'][r] == 127 for r in (ed['h1'], ed['h2'])), '%s: both swapped registers are helpers born at chart 3 ending at V' % ed['id']) + require(all(r not in M for r in (ed['h1'], ed['h2'])), '%s: both are helpers' % ed['id']) + newp, gone = sorted(move_pairs(W) - move_pairs(B)), sorted(move_pairs(B) - move_pairs(W)) + for a, b in newp: + require(R['sp'][a] < R['sp'][b], 'new pair %s strictly nested' % ((a, b),)) + print('PASS routes: exactly the 44 helpers of C1..C22 change chains, as listed; %d new MOVE pairs %s, all strictly nested; %d leave' + % (len(newp), newp, len(gone))) + sb, sw = RB['stats'], R['stats'] + require(sw['smooth'], 'replayed coefficients have 5-smooth denominators') + for q in literal_coeffs(W['program']): + o = q.denominator + for p in (2, 3, 5): + while o % p == 0: + o //= p + require(o == 1, 'literal coefficient has a 5-smooth denominator') + print('PASS coefficients: 5-smooth; replayed grid #7630 (2-adic exponent %d, odd lcm %d, numerator bits %d) -> new (%d, %d, %d);' + ' non-dyadic literal events %d -> %d' % (sb['max_den_exp'], sb['odd_den'], sb['max_num_bits'], sw['max_den_exp'], sw['odd_den'], + sw['max_num_bits'], nondyadic(B['program']), nondyadic(W['program']))) + pb, hb_ = native_counts(B) + pw, hw_ = native_counts(W) + dP, dT = diff(pb, pw), diff(hb_, hw_) + require(dP == {2: -18, 3: -6, 4: -20, 6: 20, 7: 2} and dT == {}, 'native deltas per call') + print('PASS native per call: paid MOVE delta %s (22 fewer MOVEs); helper target delta %s' % (dP, dT)) + inv0 = json.loads((DATA / 'invoice-7630.json').read_text()) + P0 = {k: inv0['paid'][k] for k in sorted(inv0['paid'], key=int)} + T0 = {k: inv0['targets'][k] for k in sorted(inv0['targets'], key=int)} + require(inv0 == invoice_json(P0, T0), 'invoice-7630.json is #7630\'s invoice in the official schema') + P, T = collections.Counter({int(k): v for k, v in P0.items()}), collections.Counter({int(k): v for k, v in T0.items()}) + for k, v in dP.items(): + P[k] += CALLS * v + for k, v in dT.items(): + T[k] += CALLS * v + require(min(P.values()) >= 0 and min(T.values()) >= 0, 'nonnegative counts') + Pn = {str(k): v for k, v in sorted(P.items()) if v} + Tn = {str(k): v for k, v in sorted(T.items()) if v} + Sf = lambda T_, P_: sum(int(k) * v for k, v in T_.items()) - sum(int(k) * v for k, v in P_.items()) + require(Sf(T0, P0) == Sf(Tn, Pn) == 1424, 'rank surplus S 1424 unchanged') + require(json.loads((DATA / 'invoice-new.json').read_text()) == invoice_json(Pn, Tn), 'invoice-new.json matches') + require(json.loads((DATA / 'invoice-zero.json').read_text()) == invoice_json({}, {}), 'zero invoice') + print('PASS complete invoice: paid positions %d -> %d, productive %d -> %d, S = 1424' % (sum(P0.values()), sum(Pn.values()), sum(T0.values()), sum(Tn.values()))) + k0, k1 = crossing(T0, P0), crossing(Tn, Pn) + require(decimal.Decimal('0.0036667343458') <= k0 <= decimal.Decimal('0.0036667343459'), '#7630 crossing reproduced') + print('PASS kappa #7630 %s' % k0) + print('PASS kappa new %s (ratio over #7630 %s)' % (k1, +decimal.Context(prec=12).divide(k1, k0))) + expected = json.loads((HERE / 'EXPECTED.json').read_text()) + require(str(k1)[:len(expected['kappa_prefix'])] == expected['kappa_prefix'], 'kappa digits as recorded') + require(decimal.Decimal(CLAIM) < k1 < decimal.Decimal(ABOVE), 'claim %s is below the exact crossing' % CLAIM) + print('PASS_CORE_ON_7630') + + +def main(): + B, W = load_words() + if MODE in ('core', 'all'): + core(B, W) + if MODE in ('certificates', 'all'): + certificates_section(B, W) + if MODE in ('controls', 'all'): + run_controls(B, W) + for i in range(NPARTS): + if MODE in ('columns%d' % (i + 1), 'all'): + columns_section(B, W, i) + print('PASS_COLUMNS_ON_7630_%d' % (i + 1)) + if MODE == 'all': + print('PASS_SWAP_COMPOSITES_ON_7630_EXACT (conditional on the same framework assumptions as #7630)') + + +if __name__ == '__main__': + main() diff --git a/research/p104-180-contact-application/src/native/engines/physical.py b/research/p104-180-contact-application/src/native/engines/physical.py new file mode 100644 index 0000000000..4872d370db --- /dev/null +++ b/research/p104-180-contact-application/src/native/engines/physical.py @@ -0,0 +1,306 @@ +"""Dense all-event finite replay adapted from the exact #7660 interpreter.""" + +from fractions import Fraction +from functools import cache +import hashlib +from math import isqrt +from random import Random +from struct import Struct +from time import monotonic_ns + + +DIM = 512 +ADDRESS = range(DIM) +PACK_ROW = Struct("<512I") + + +class GateInterpreter: + def __init__(self, prime, require): + require(type(prime) is int and 5 <= prime < 2**31 and prime % 4 == 1, + "modulus range and fourth root") + require(all(prime % f for f in range(3, isqrt(prime) + 1, 2)), "modulus is not prime") + self.p = prime + for x in range(2, prime): + root = pow(x, (prime - 1) // 4, prime) + if root * root % prime == prime - 1: + self.i = root + break + self.powers = (1, self.i, prime - 1, prime - self.i) + self.zero = [0] * DIM + self.gates = {} + self.require = require + + def coefficient(self, script): + q = Fraction(script) + self.require(q.denominator % self.p != 0, "literal denominator vanishes in F_p") + return q.numerator * pow(q.denominator, -1, self.p) % self.p + + def gate(self, spec): + if spec in self.gates: + return self.gates[spec] + op, *params = spec + if op == "P": + rows, = params + perm = [None] * DIM + for prev in ADDRESS: + after = sum(((prev & row).bit_count() % 2) << j for j, row in enumerate(rows)) + self.require(perm[after] is None, "non-permutation gate") + perm[after] = prev + gate = ("gather", perm) + elif op == "X": + offset, = params + gate = ("gather", [x ^ offset for x in ADDRESS]) + elif op == "D": + rows, linear = params + weights = [] + for mask in ADDRESS: + phase = 0 + for j, (row, weight) in enumerate(zip(rows, linear)): + if mask >> j & 1: + phase += weight + 2 * ((row & mask) >> (j + 1)).bit_count() + weights.append(self.powers[phase % 4]) + gate = ("weights", weights) + elif op == "phase": + exponent, = params + gate = ("phase", self.powers[exponent % 4]) + elif op == "C": + line, sign = params + half = (self.p + 1) // 2 + gate = ("mix", (1 + sign * self.i) * half % self.p, + (1 - sign * self.i) * half % self.p, [x ^ line for x in ADDRESS]) + else: + raise ValueError(f"unknown physical gate {op}") + self.gates[spec] = gate + return gate + + def apply(self, gates, value): + p = self.p + for op, *spec in gates: + if op == "gather": + indices, = spec + value = [value[j] for j in indices] + elif op == "weights": + weights, = spec + value = [a * b % p for a, b in zip(value, weights)] + elif op == "phase": + weight, = spec + if weight != 1: + value = [a * weight % p for a in value] + else: + c, d, indices = spec + value = [(c * a + d * value[j]) % p for a, j in zip(value, indices)] + return value + + def column_residue(self, exact): + sparse, denominator = exact + inverse = pow(2, -denominator, self.p) + target = [0] * DIM + for x, (re, im) in sparse.items(): + target[x] = (re + self.i * im) * inverse % self.p + return target + + +def raw_ports(phase, w, require): + """The 104 hosted parent-port equations, plus opposite-sign controls.""" + frames = w["frames"] + require(len(w["live"]) == len(w["ports"]) == 104 and len(set(w["live"])) == 104, + "raw port count") + + @cache + def frame(i): + return phase.frame_op(frames[i]) + + def same(x, y): + return x.tab == y.tab and all(phase.column(x.circ, j) == phase.column(y.circ, j) for j in (0, 1)) + + full = phase.op_four(range(9)) + for r, q in zip(w["live"], w["ports"]): + y = r + 112 + low_x, low_y = w["initial"][r], w["initial"][y] + high_x, high_y = w["final"][r], w["final"][y] + require(frames[low_x] == [q] and frames[low_y] == [] + and len(frames[high_x]) == 9 and len(frames[high_y]) == 8, f"port chart dimensions {r}") + p, v, z = frame(high_y), frame(high_x), frame(low_y) + qp, qm = phase.op_c(q, 1), phase.op_c(q, -1) + d = qm.then(full) + low_adapter = phase.lower(qp.dag().then(frame(low_x))) + high_adapter = phase.lower(p.dag().then(d)) + require(low_adapter["rank"] == high_adapter["rank"] == 0, f"port adapter rank {r}") + circ = phase.recipe_circuit(high_adapter) + mp = phase.Op(phase.tableau(circ), circ) + xx = qp.dag().then(v) + yy = z.dag().then(p).then(mp) + yx = qp.dag().then(p).then(mp) + xy = z.dag().then(v) + require(same(xx, d) and same(yy, d) and same(yx, qm.then(d)) and same(xy, qp.then(d)), + f"raw port operator identity {r}") + require(not same(xy, qm.then(d)) and not same(yx, qp.then(d)), + f"raw port operator sign control {r}") + return {"ports": 104, "directions": 4, "opposite_sign_rejections": 208, + "comparisons": "signed Pauli action and Gaussian absolute phase"} + + +def digest(rows): + value = hashlib.sha256() + for row in rows: + value.update(PACK_ROW.pack(*row)) + return value.hexdigest() + + +def evaluate(phase, source, candidate, prime, seed, altered_clock, test_wrong_phase, require): + """Evaluate dense finite fields. Compiled MOVEs and oracle frame maps differ.""" + t0 = monotonic_ns() + field = GateInterpreter(prime, require) + frames, n = source["frames"], source["public"] + size = n + source["owned_fields"] + rand = Random(seed) + initial = [[rand.randrange(prime) for _ in ADDRESS] for _ in range(n)] + + @cache + def direct_frame(frame): + return phase.frame_circuit(frames[frame]) + + @cache + def chart_operator(frame): + return phase.frame_op(frames[frame]) + + @cache + def literal(a, b): + return phase.dagger(direct_frame(a)) + direct_frame(b) + + @cache + def compiled(a, b): + lo, hi = (a, b) if len(frames[a]) < len(frames[b]) else (b, a) + rec = phase.lower(chart_operator(lo).dag().then(chart_operator(hi))) + require(rec["rank"] == len(frames[hi]) - len(frames[lo]), f"compiled MOVE rank {lo},{hi}") + circ = phase.recipe_circuit(rec) + if lo != a: + circ = phase.dagger(circ) + return tuple(field.gate(g) for g in circ) + + @cache + def oracle(a, b): + return tuple(field.gate(g) for g in literal(a, b)) + + @cache + def residue(value): + return field.coefficient(value) + + def cvec(a, b, v): + return field.apply(compiled(a, b), v) + + def pred_move(a, b, v): + return field.apply(oracle(a, b), v) + + # Independently reduce the exact column convention before using a dense + # finite vector. Use the actual candidate transition at the control clock. + endpoints = tuple(candidate["program"][altered_clock][2:4]) + r0 = source["live"][0] + boundary = (source["initial"][r0], source["final"][r0]) + witnesses = ((endpoints, cvec), (endpoints[::-1], cvec), (boundary, pred_move)) + for (a, b), move in witnesses: + for j in (0, 5): + v = [0] * DIM + v[j] = 1 + require(move(a, b, v) == field.column_residue(phase.column(literal(a, b), j)), + f"finite versus exact interpreter column {a},{b},{j}") + + def scale(vector, a): + return [a * x % prime for x in vector] + + def plus(x, a, y): + return [(u + a * v) % prime for u, v in zip(x, y)] + + def replay(word, inject=False): + values = initial + [field.zero] * (size - n) + erased = hashlib.sha256() + clears, copy_checks = 0, 0 + for i, e in enumerate(word["program"]): + op, r = e[:2] + if op == "MOVE": + row = cvec(e[2], e[3], values[r]) + values[r] = scale(row, field.i) if inject and i == altered_clock else row + elif op == "INIT": + require(not any(values[r]), f"nonzero dead owned state at INIT {i}") + values[r] = field.zero + elif op == "CLEAR": + erased.update(PACK_ROW.pack(*values[r])) + values[r] = field.zero + clears += 1 + elif op == "SCALE": + values[r] = scale(values[r], residue(e[2])) + else: + if op == "COPY": + if any(values[r]) and inject: + return None, {"detected_at_COPY": i} + require(not any(values[r]), f"nonzero owned COPY target at {i}") + copy_checks += 1 + values[r] = plus(values[r], residue(e[3]), values[e[2]]) + require(not any(any(v) for v in values[n:]), "nonzero final owned payload") + return values, {"events": len(word["program"]), "ordered_clear_values": erased.hexdigest(), + "clears": clears, "copy_zero_checks": copy_checks} + + H = source["hosted"] + require(H["mode"] == "mix-t0", "hosted native model") + live, dp = source["live"], H["Dports"] + x2, y2 = H["X2"], H["Y2"] + require(len(dp) == len(set(dp)) == len(x2) == len(y2) and set(dp) <= set(range(104)), + "hosted second-port count") + mains = set(live) | {r + 112 for r in live} | set(x2) | set(y2) + require(len(mains) == 2 * (104 + len(x2)), "overlapping hosted role") + alpha1, beta1 = map(Fraction, (H["alpha"], H["beta"])) + alpha2, beta2 = map(Fraction, (H["alpha2"], H["beta2"])) + require(alpha2, "nonzero second-port sign witness") + lo, hi = source["initial"], source["final"] + + def row_from(r, s): + return pred_move(lo[s], hi[r], initial[s]) + + def expected(rows, r, s, a, b): + rows[r] = plus(row_from(r, r), residue(a), row_from(r, s)) + rows[s] = plus(scale(row_from(s, r), residue(b)), residue(1 + a * b), row_from(s, s)) + + ref = [None] * n + for k, x in enumerate(live): + a, b = (0, 1) if k in dp else (alpha1, beta1) + expected(ref, x, x + 112, a, b) + for x, y in zip(x2, y2): + expected(ref, x, y, alpha2, beta2) + for r in range(n): + if r not in mains: + ref[r] = row_from(r, r) + require(all(row is not None for row in ref), "incomplete physical endpoint predictor") + + old, old_counts = replay(source) + new, new_counts = replay(candidate) + for label, data in (("source", old), ("candidate", new)): + bad = [r for r in range(n) if data[r] != ref[r]] + require(not bad, f"{label} physical endpoint mismatch {bad[:12]}") + require(old == new, "paired physical endpoints differ") + require(old_counts.keys() == new_counts.keys() + and all(old_counts[k] == new_counts[k] for k in old_counts if k != "events"), + "ordered CLEAR values or COPY zero observations differ") + wrong_ref = [None] * n + for x, y in zip(x2, y2): + expected(wrong_ref, x, y, -alpha2, beta2) + wrong_sign = [r for r in (*x2, *y2) if new[r] != wrong_ref[r]] + require(bool(wrong_sign), "wrong second-port alpha sign accepted") + failed = None + if test_wrong_phase: + mutated, counts = replay(candidate, inject=True) + failed = counts if mutated is None else {"endpoint_rows": [ + r for r in range(n) if mutated[r] != ref[r]]} + require(failed.get("detected_at_COPY") is not None or bool(failed.get("endpoint_rows")), + "wrong edited transition phase accepted") + return { + "status": "PASS_PAIRED_DENSE_PHYSICAL_WORDS", + "prime": prime, "seed": seed, "i_squared_minus_one": field.i, + "endpoint_rows": n, "owned_zero_rows": size - n, "vector_width": DIM, + "elapsed_ns": monotonic_ns() - t0, + "digests": {"initial": digest(initial), "source": digest(old), "candidate": digest(new), + "reference_public": digest(ref)}, + "source": old_counts, "candidate": new_counts, + "wrong_second_alpha_rows": wrong_sign, "wrong_edited_transition_phase": failed, + "six_finite_exact_column_crosschecks": 6, + "scope": "One deterministic dense input at this modulus through every literal event", + } diff --git a/research/p104-180-contact-application/src/native/engines/rows_7660.py b/research/p104-180-contact-application/src/native/engines/rows_7660.py new file mode 100644 index 0000000000..12b161d5ca --- /dev/null +++ b/research/p104-180-contact-application/src/native/engines/rows_7660.py @@ -0,0 +1,751 @@ +#!/usr/bin/env python3 +"""Independent rational interpreter for the #7636 comparison boundary.""" + +import argparse +import gzip +import hashlib +import json +import math +import os +import resource +import signal +import sys +import time +import traceback +from collections import Counter +from dataclasses import dataclass +from datetime import datetime, timezone +from fractions import Fraction +from functools import cache +from pathlib import Path + + +A_CLOCKS = {127153, 127445, 127446, 127469, 130068} +CALLS = 17 +PUBLIC = 1501 +OWNED = 68 +GATE = 1 << 224 +PRICE_SCALE = 10**13 +ARITY = {"MOVE": 5, "INIT": 3, "CLEAR": 3, "SCALE": 4, "ADD": 5, "COPY": 5} + + +@dataclass(frozen=True) +class SourcePin: + head: str + literal_sha: str + gzip_sha: str + invoice_sha: str + certs_sha: str + affected_sha: str + events: int + used_labels: int + clears: int + affected: int + price: tuple[str, str] + b_clocks: frozenset[int] + + +SOURCES = { + 7636: SourcePin( + head="7e68d8dd62d9a38c0f3c942262a7a85ca7125b75", + literal_sha="98b8c12ece2f323a6ff5cac8c7ed2f78ba3835438ea56b16bd7d4698ec5ad5b2", + gzip_sha="1b4e33c3e3b69d1f1b42d019a2e372ac612fa28494bd8da18a734618f9bda659", + invoice_sha="18adee673515c4ece7208b53c7cc17a2e121843d55f62067d2e43e341872f0d5", + certs_sha="94809b766d041f6bb400df151de5702c5e8ec0a8a47c80ddfe5b2b3a5e0f09d2", + affected_sha="cee6de59aa47c8633bf260490d4d5948b7e78276e92f2735765ef1c05a80c8ae", + events=202668, used_labels=68, clears=180, affected=1023, + price=("0.0036807241001", "0.0036807241002"), b_clocks=frozenset({131142, 131294}), + ), + 7658: SourcePin( + head="0a0e71c34a5ee5a1b59a8fe7bc6abd35a4d3dd82", + literal_sha="fa84fcdecb534700cd00dc81b74889f549a653daa2fb3658cb8142e1eeb9b9e6", + gzip_sha="dde0a987c2dd9e221208ca5043dfd6e2bdfbb8c4289fa20e2b93fae1696b3ea9", + invoice_sha="26383ec33e4c4d552442b62f2bd7d9fd0a2fd0d357c1bcbf52ba913e11bb630e", + certs_sha="02e0651a9a44c710225dd741d484f990e238bd5ac9e6510a7b90b17679879f47", + affected_sha="741b7fd3306362d051c4d63b0d642ef47aaece842384d44423e997072f969f36", + events=150010, used_labels=52, clears=234, affected=32, + price=("0.00371676699784", "0.00371676699785"), b_clocks=frozenset({98054, 98204}), + ), +} + + +class Refusal(ValueError): + def __init__(self, code, detail, clock=None): + super().__init__(f"{code} at {clock}: {detail}" if clock is not None else f"{code}: {detail}") + self.record = dict(code=code, detail=detail, clock=clock) + + +def demand(condition, code, detail, clock=None): + if not condition: + raise Refusal(code, detail, clock) + + +def digest(raw): + return hashlib.sha256(raw).hexdigest() + + +def exact_json(raw): + def unique_map(items): + table = dict(items) + demand(len(table) == len(items), "duplicate_key", "JSON object repeats a key") + return table + + return json.loads(raw, object_pairs_hook=unique_map) + + +def read_pinned(path, expected, custody): + raw = path.read_bytes() + observed = digest(raw) + demand(expected is None or observed == expected, "hash", f"{path.name}: expected {expected}, got {observed}") + custody[path] = observed + return raw + + +def read_word(path, gzip_hash, word_hash, custody): + literal = gzip.decompress(read_pinned(path, gzip_hash, custody)) + demand(isinstance(word_hash, str) and word_hash == digest(literal), "literal_hash", path.name) + return exact_json(literal) + + +def index(value, count, kind, clock=None): + demand(type(value) is int and 0 <= value < count, kind, f"invalid index {value!r}", clock) + return value + + +def chart_catalogue(frames): + masks = [] + for number, basis in enumerate(frames): + vectors = [0] + for vector in basis: + index(vector, 512, "frame_vector") + demand(vector not in vectors, "frame_dimension", f"dependent direction in chart {number}") + vectors.extend([old ^ vector for old in vectors]) + masks.append(sum(1 << vector for vector in vectors)) + return masks, [len(basis) for basis in frames] + + +def strictly_inside(smaller, larger): + return smaller != larger and (smaller & larger) == smaller + + +def touched(event): + if event[0] in {"ADD", "COPY"}: + return event[1], event[2] + return (event[1],) + + +@cache +def coefficient(literal): + demand(type(literal) is str, "scalar_encoding", repr(literal)) + result = Fraction(literal) + demand(result != 0, "zero_scalar", literal) + return result + + +def add_scaled(destination, donor, scalar): + # Published rows and observations retain the old dictionary. + out = destination.copy() + for formal_input, donor_coefficient in donor.items(): + new = out.get(formal_input, 0) + scalar * donor_coefficient + if new: + out[formal_input] = new + else: + out.pop(formal_input, None) + return out + + +def verify_clear(event, rows, certificate, clock): + owned = event[1] + reconstructed = {} + for donor, scalar in certificate.items(): + index(donor, len(rows), "clear_donor", clock) + demand(donor != owned, "clear_self", f"owned field {owned} used as its own witness", clock) + demand(rows[donor] is not None, "clear_dead_donor", f"role {donor}", clock) + reconstructed = add_scaled(reconstructed, rows[donor], scalar) + demand(rows[owned] or not certificate, "clear_zero_certificate", f"owned field {owned}", clock) + demand(reconstructed == rows[owned], "clear_reconstruction", f"owned field {owned}", clock) + + +@cache +def denominator_parts(denominator): + two_power = (denominator & -denominator).bit_length() - 1 + odd = denominator >> two_power + remaining = odd + for prime in (3, 5): + while remaining % prime == 0: + remaining //= prime + return two_power, odd, remaining == 1 + + +class Grid: + def __init__(self): + self.two_power = 0 + self.odd_lcm = 1 + self.numerator_bits = 1 + + def see(self, number, clock): + two_power, odd, smooth = denominator_parts(number.denominator) + demand(smooth, "grid_prime", f"coefficient has denominator {number.denominator}", clock) + self.two_power = max(self.two_power, two_power) + self.odd_lcm = math.lcm(self.odd_lcm, odd) + self.numerator_bits = max(self.numerator_bits, abs(number.numerator).bit_length()) + + +def interpret(word, masks, dimensions, certificates): + """MOVE changes chart and retains the same formal common-ambient row.""" + table_size = PUBLIC + OWNED + frame_count = len(masks) + row = [{formal_input: Fraction(1)} for formal_input in range(PUBLIC)] + [None] * OWNED + chart = [index(chart_id, frame_count, "initial_chart") for chart_id in word["initial"]] + [None] * OWNED + observations, erasures = [], [] + open_lifetime, finished_lifetimes = {}, [] + peak, labels = 0, set() + counts, paid, move_pairs = Counter(), Counter(), Counter() + paid_owned = Counter() + nondyadic = Counter() + scalar_units = 0 + grid = Grid() + + for clock, event in enumerate(word["program"]): + demand(type(event) is list and len(event) >= 2, "event", repr(event), clock) + operation = event[0] + demand(operation in ARITY and len(event) == ARITY[operation], "event_shape", repr(event), clock) + refs = [index(ref, table_size, "role", clock) for ref in touched(event)] + target = refs[0] + private = target >= PUBLIC + counts[operation] += 1 + protected = operation == "COPY" or any(ref >= PUBLIC for ref in refs) + before = tuple((chart[ref], row[ref]) for ref in refs) if protected else None + scalars = () + + if operation == "INIT": + demand(private and row[target] is None, "init_lifetime", str(target), clock) + here = index(event[2], frame_count, "chart", clock) + row[target], chart[target] = {}, here + open_lifetime[target] = here + labels.add(target) + peak = max(peak, len(open_lifetime)) + else: + for ref in refs: + demand(row[ref] is not None, "dead_operand", str(ref), clock) + if operation == "MOVE": + _, _, begin, end, flag = event + index(begin, frame_count, "chart", clock) + index(end, frame_count, "chart", clock) + demand(type(flag) is bool and flag == private, "move_ownership", str(target), clock) + demand(begin == chart[target], "move_origin", f"role {target} starts at {chart[target]}, got {begin}", clock) + forwards = strictly_inside(masks[begin], masks[end]) + backwards = private and strictly_inside(masks[end], masks[begin]) + demand(forwards or backwards, "owned_nesting" if private else "public_ascent", f"{begin} to {end}", clock) + rank = abs(dimensions[end] - dimensions[begin]) + paid[rank] += 1 + if private: + paid_owned[rank] += 1 + move_pairs[(begin, end)] += 1 + chart[target] = end + elif operation == "CLEAR": + here = index(event[2], frame_count, "chart", clock) + demand(private and here == chart[target], "clear_lifetime", str(target), clock) + ordinal = len(erasures) + demand(ordinal < len(certificates), "extra_clear", str(target), clock) + expected, terms = certificates[ordinal] + demand(tuple(event) == expected, "clear_order", f"ordered CLEAR {ordinal}", clock) + verify_clear(event, row, terms, clock) + erasures.append((clock, tuple(event), row[target])) + finished_lifetimes.append((target, open_lifetime.pop(target), here)) + row[target], chart[target] = None, None + else: + here = index(event[-1], frame_count, "chart", clock) + demand(all(chart[ref] == here for ref in refs), "scalar_chart", repr(event), clock) + amount = coefficient(event[-2]) + if operation == "SCALE": + row[target] = {i: amount * value for i, value in row[target].items()} + scalars = row[target].values() + else: + donor = refs[1] + demand(donor != target, "scalar_alias", str(target), clock) + if operation == "COPY": + demand(not row[target], "copy_nonzero", str(target), clock) + row[target] = add_scaled(row[target], row[donor], amount) + scalars = (row[target][i] for i in row[donor] if i in row[target]) + grid.see(amount, clock) + if denominator_parts(amount.denominator)[1] > 1: + nondyadic[operation] += 1 + numerator = abs(amount.numerator) + additions = numerator.bit_count() if operation in {"ADD", "COPY"} else 0 + scalar_units += 4 * (numerator.bit_length() + amount.denominator.bit_length() + 1 + additions) + for number in scalars: + grid.see(number, clock) + if protected: + after = tuple((chart[ref], row[ref]) for ref in refs) + observations.append((clock, tuple(event), before, after)) + + demand(not open_lifetime, "live_owned_at_end", repr(open_lifetime)) + demand(len(erasures) == len(certificates), "clear_count", str(len(erasures))) + demand(chart[:PUBLIC] == word["final"], "final_charts", "declared public output charts") + primary = set(word["live"]) | {port + 112 for port in word["live"]} + primary.update(word["hosted"]["X2"], word["hosted"]["Y2"]) + targets, altered_helpers = Counter(), [] + for role, (initial, final) in enumerate(zip(word["initial"], word["final"], strict=True)): + if role in primary: + continue + if row[role] != {role: 1}: + altered_helpers.append(role) + rank = dimensions[final] - dimensions[initial] + demand(rank > 0, "helper_rank", f"public role {role}, rank {rank}") + targets[rank] += 1 + return dict(rows=row, charts=chart, observations=observations, erasures=erasures, + lifetimes=finished_lifetimes, peak=peak, labels=sorted(labels), counts=counts, + paid=paid, paid_owned=paid_owned, targets=targets, move_pairs=move_pairs, altered_helpers=altered_helpers, + grid=vars(grid), nondyadic=dict(nondyadic), scalar_units=scalar_units) + + +def source_certificates(raw, source_program, clear_count): + table = exact_json(raw) + demand(isinstance(table, dict) and set(table) == {"clear_event_index"}, "certificate_schema", "CLEAR index") + table = table["clear_event_index"] + clocks = [i for i, event in enumerate(source_program) if event[0] == "CLEAR"] + demand(len(clocks) == clear_count and set(table) == {str(i) for i in clocks}, "certificate_coverage", repr(len(table))) + result = [] + for clock in clocks: + terms = {} + for key, value in table[str(clock)].items(): + role = index(int(key), PUBLIC + OWNED, "clear_donor", clock) + demand(str(role) == key, "clear_donor_spelling", key, clock) + terms[role] = coefficient(value) + result.append((tuple(source_program[clock]), terms)) + return result + + +def exact_compare(reference, candidate): + demand(reference["charts"] == candidate["charts"], "end_charts", "final public and private charts") + demand(reference["lifetimes"] == candidate["lifetimes"], "owned_order", "ordered owned lifetimes") + demand(reference["peak"] == candidate["peak"], "owned_peak", "maximum simultaneous lifetimes") + for kind in ("erasures", "observations"): + left, right = reference[kind], candidate[kind] + demand(len(left) == len(right), "protected_count", kind) + for a, b in zip(left, right, strict=True): + demand(a[1:] == b[1:], "protected_value", f"{kind} at source clock {a[0]}", b[0]) + for role, (a, b) in enumerate(zip(reference["rows"], candidate["rows"], strict=True)): + demand(a == b, "final_row", f"public row {role} full formal-input coefficient map") + + +def literal_changes(source, candidate): + """Recover short edit blocks using shared literal anchors on both tapes.""" + i, j = 0, 0 + changes = [] + previous_window = 0 + while i < len(source) and j < len(candidate): + if source[i] == candidate[j]: + i += 1 + j += 1 + previous_window += 1 + continue + matches = [] + for old_size in range(9): + for new_size in range(9): + old_anchor = source[i + old_size:i + old_size + 5] + new_anchor = candidate[j + new_size:j + new_size + 5] + if len(old_anchor) == 5 and old_anchor == new_anchor: + matches.append((old_size + new_size, old_size, new_size)) + matches.sort() + demand(matches and matches[0][0] > 0, "literal_alignment", "no anchor near edit", i) + demand(len(matches) == 1 or matches[0][0] != matches[1][0], "literal_alignment", "nonunique anchor", i) + _, old_size, new_size = matches[0] + demand(previous_window >= 5, "literal_alignment", "no shared prefix near edit", i) + changes.append(dict(source_start=i, source=source[i:i + old_size], + candidate_start=j, candidate=candidate[j:j + new_size])) + i += old_size + j += new_size + previous_window = 0 + demand(i == len(source) and j == len(candidate), "literal_tail", "unmatched terminal events") + return changes + + +def verify_scope(changes, program, variant, b_clocks): + permitted = b_clocks if variant == "B" else A_CLOCKS | b_clocks + removed = {j for edit in changes for j in range(edit["source_start"], edit["source_start"] + len(edit["source"]))} + demand(removed == permitted, "scope", f"replaced source clocks {sorted(removed)}") + a_insertions, b_insertions = [], [] + for edit in changes: + if edit["source_start"] in b_clocks: + b_insertions.extend(edit["candidate"]) + else: + a_insertions.extend(edit["candidate"]) + demand(b_insertions == [["MOVE", 379, 748, 1072, False]], "idle_replacement", repr(b_insertions)) + first, last = sorted(b_clocks) + demand(program[first] == ["MOVE", 379, 748, 1065, False] and program[last] == ["MOVE", 379, 1065, 1072, False], + "idle_source", "role 379's two leg identities") + demand(not any(379 in touched(event) for event in program[first + 1:last]), "idle_intervening_operand", "role 379") + if variant == "C": + demand(all(set(touched(event)) <= {902, 1091} for event in a_insertions), "contact_operands", repr(a_insertions)) + contacts = [event for event in a_insertions if event[0] == "ADD"] + demand(len(contacts) == 1 and contacts[0][1:3] == [1091, 902] and contacts[0][4] == 373, + "contact_chart", repr(contacts)) + + +def histogram(raw): + result = Counter() + for rank, quantity in raw.items(): + parsed = int(rank) + demand(str(parsed) == rank and parsed > 0, "invoice_rank", repr(rank)) + demand(type(quantity) is int and quantity > 0, "invoice_count", repr(quantity)) + result[parsed] = quantity + return result + + +def delta(before, after): + return {rank: after[rank] - before[rank] for rank in sorted(before.keys() | after.keys()) + if after[rank] != before[rank]} + + +def signed_invoice(pinned, original, candidate): + demand(pinned["schema"] == "integer-mult-recursive-invoice/v1", "invoice_schema", str(pinned["schema"])) + demand(pinned["contract"]["model"] == "mixed-target-unnormalized-power-v1" + and pinned["contract"]["ambient_rank"] == 145 + and pinned["contract"]["boundary"] == "complete signed #7113 caller application with 17 native calls", + "invoice_contract", str(pinned["contract"])) + residual, invoice = {}, {} + for key in ("paid", "targets"): + current = histogram(pinned[key]) + residual[key], invoice[key] = Counter(), Counter() + for rank in current.keys() | original[key].keys() | candidate[key].keys(): + kept = current[rank] - CALLS * original[key][rank] + demand(kept >= 0, "invoice_negative_residual", f"{key} at rank {rank}") + if kept: + residual[key][rank] = kept + count = kept + CALLS * candidate[key][rank] + if count: + invoice[key][rank] = count + return {"schema": pinned["schema"], "contract": pinned["contract"], **invoice}, residual + + +def signed_weights(invoice): + paid, targets = (histogram({str(k): v for k, v in invoice[key].items()}) for key in ("paid", "targets")) + return {rank: rank * change for rank, change in delta(paid, targets).items()} + + +def quantize(lower, upper): + return Fraction(math.floor(lower * GATE), GATE), Fraction(math.ceil(upper * GATE), GATE) + + +def log_one_to_two(z): + """2 atanh(z), where 0 <= z <= 1/3. Bound the positive omitted tail.""" + square = z * z + term, total = z, Fraction(0) + for i in range(96): + total += term / (2 * i + 1) + term *= square + return 2 * total, 2 * (total + term / (193 * (1 - square))) + + +@cache +def log_integer(number): + exponent = number.bit_length() - 1 + divisor = 1 << exponent + lower, upper = log_one_to_two(Fraction(number - divisor, number + divisor)) + two_lo, two_hi = log_one_to_two(Fraction(1, 3)) + return quantize(lower + exponent * two_lo, upper + exponent * two_hi) + + +@cache +def exp_minus_small(value): + """Even and odd partial sums bound exp(-x) for 0 <= x < 1.""" + demand(0 <= value < 1, "price_exponential_domain", str(value)) + term, total = Fraction(1), Fraction(1) + for k in range(1, 33): + term = -term * value / k + total += term + return quantize(total - term * value / 33, total) + + +def signed_price(weights, start, end, derivative=False): + lo = hi = Fraction(0) + for rank, weight in weights.items(): + log_lo, log_hi = log_integer(rank) + power_lo = exp_minus_small(end * log_hi)[0] + power_hi = exp_minus_small(start * log_lo)[1] + if derivative: + power_lo, power_hi = power_lo * log_lo, power_hi * log_hi + weight = -weight + a, b = weight * power_lo, weight * power_hi + lo += min(a, b) + hi += max(a, b) + return lo, hi + + +def approximate_grid(weights): + """Propose neighboring 13-place decimals. Only the exact sign test accepts them.""" + log = {rank: math.log(rank) for rank in weights} + low, high = 0, PRICE_SCALE // 100 + while high - low > 1: + middle = (low + high) // 2 + estimate = math.fsum(weight * math.exp(-middle / PRICE_SCALE * log[rank]) for rank, weight in weights.items()) + if estimate > 0: + low = middle + else: + high = middle + return (f"0.{low:013d}", f"0.{high:013d}") + + +def decimal_text(value, places): + sign = "-" if value < 0 else "" + quotient, suffix = divmod(abs(value), 10**places) + return f"{sign}{quotient}.{suffix:0{places}d}" + + +def outward_decimal(interval, places=26): + scale = 10**places + return [decimal_text(math.floor(interval[0] * scale), places), decimal_text(math.ceil(interval[1] * scale), places)] + + +def price_bracket(weights, bracket): + left, right = map(Fraction, bracket) + lower = signed_price(weights, left, left) + upper = signed_price(weights, right, right) + slope = signed_price(weights, left, right, derivative=True) + demand(left < right and lower[0] > 0 > upper[1] and slope[1] < 0, "price_bracket", repr(bracket)) + return dict(kappa=list(bracket), at_lower=outward_decimal(lower), at_upper=outward_decimal(upper), + derivative=outward_decimal(slope), weighted_surplus=sum(weights.values())) + + +def with_event(word, clock, changed): + tape = list(word["program"]) + tape[clock] = changed + return {**word, "program": tape} + + +def rejected(expected, action): + try: + action() + except Refusal as error: + demand(error.record["code"] in expected, "wrong_control_rejection", repr(error.record)) + return error.record + raise Refusal("control_accepted", repr(expected)) + + +def adverse_controls(word, candidate, masks, dimensions, certificates, changes, invoice_seed, original): + direct_clock = next(edit["candidate_start"] + i for edit in changes + for i, event in enumerate(edit["candidate"]) + if event == ["MOVE", 379, 748, 1072, False]) + direct = word["program"][direct_clock] + wrong_end = next(b for b, rank in enumerate(dimensions) + if rank == dimensions[direct[3]] and not strictly_inside(masks[direct[2]], masks[b])) + wrong_chart = with_event(word, direct_clock, [*direct[:3], wrong_end, False]) + chart = rejected({"public_ascent"}, lambda: interpret(wrong_chart, masks, dimensions, certificates)) + demand(chart["clock"] == direct_clock, "wrong_control_clock", repr(chart)) + + # A final-hub public ADD preserves the paid/target ranks and changes a real output. + last_clear = candidate["erasures"][-1][0] + clock, event = next((i, word["program"][i]) for i in range(len(word["program"]) - 1, last_clear, -1) + if word["program"][i][0] == "ADD" and max(touched(word["program"][i])) < PUBLIC) + wrong = [*event[:3], str(-coefficient(event[3])), event[4]] + mutated = interpret(with_event(word, clock, wrong), masks, dimensions, certificates) + good_invoice = signed_invoice(invoice_seed, original, candidate)[0] + control_invoice = signed_invoice(invoice_seed, original, mutated)[0] + demand(good_invoice == control_invoice, "control_price_changed", f"sign mutation at {clock}") + good = rejected({"final_row"}, lambda: exact_compare(candidate, mutated)) + + first_event, first_terms = certificates[0] + invalid = [(first_event, {**first_terms, first_event[1]: Fraction(1)}), *certificates[1:]] + clear = rejected({"clear_self"}, lambda: interpret(word, masks, dimensions, invalid)) + return dict(chart=dict(literal_before=direct, literal_after=wrong_chart["program"][direct_clock], rejection=chart), + coefficient=dict(clock=clock, literal_before=event, literal_after=wrong, invoice_identical=True, rejection=good), + certificate=dict(rejection=clear)) + + +def ordered_proof_trace(result): + def serial_row(row): + return None if row is None else [(i, str(value)) for i, value in sorted(row.items())] + + def serialize(data): + return digest(json.dumps(data, separators=(",", ":")).encode()) + + return { + "final_rows_sha256": serialize([serial_row(row) for row in result["rows"]]), + "ordered_clear_sha256": serialize([(event, serial_row(row)) for _, event, row in result["erasures"]]), + "ordered_protected_sha256": serialize([(event, + [(chart, serial_row(row)) for chart, row in before], + [(chart, serial_row(row)) for chart, row in after]) + for _, event, before, after in result["observations"]]), + "peak_owned": result["peak"], + "owned_label_count": len(result["labels"]), + "owned_lifetimes": len(result["lifetimes"]), + "owned_moves": sum(result["paid_owned"].values()), + "owned_add_zero_refills": owned_add_zero_refills(result["observations"]), + "ordered_clear_values": len(result["erasures"]), + "ordered_owned_or_copy_observations": len(result["observations"]), + "protected_observations_by_opcode": Counter(event[0] for _, event, _, _ in result["observations"]), + "nonzero_public_output_coefficients": sum(len(row) for row in result["rows"][:PUBLIC]), + "events_by_opcode": result["counts"], + "changed_operation_grid": result["grid"], + "non_dyadic_literal_events": result["nondyadic"], + "literal_scalar_units": result["scalar_units"], + "tape_move_pair_count": len(result["move_pairs"]), + "native_paid": result["paid"], + "native_paid_owned": result["paid_owned"], + "native_helper_targets": result["targets"], + } + + +def owned_add_zero_refills(observations): + count = 0 + pending = set() + for _, (operation, target, *_), before, after in observations: + if operation in {"INIT", "CLEAR"}: + pending.discard(target) + elif operation == "ADD" and target >= PUBLIC: + if target in pending and before[1][1]: + count += 1 + pending.remove(target) + if not after[0][1]: + pending.add(target) + return count + + +def run(args, custody, report): + pin = SOURCES[args.source_pr] + source = read_word(args.source_word or args.data / "word.json.gz", pin.gzip_sha, pin.literal_sha, custody) + demand(source["schema"] == "p104-accumulated-block-composition/2", "word_schema", source["schema"]) + demand(source["public"] == len(source["initial"]) == len(source["final"]) == PUBLIC + and source["owned_fields"] == OWNED and len(source["program"]) == pin.events and len(source["frames"]) == 1096, + "source_denominator", "public, owned, event and chart totals") + if args.source_pr == 7658: + demand(source["initial"][457] == 281, "source_entrance", "row 457 enters at chart 281") + if args.candidate is not None: + candidate = read_word(args.candidate, args.candidate_gzip_sha, args.candidate_json_sha, custody) + demand({k: v for k, v in source.items() if k != "program"} == + {k: v for k, v in candidate.items() if k != "program"}, "word_header", "candidate header differs") + changes = literal_changes(source["program"], candidate["program"]) + verify_scope(changes, source["program"], args.variant, pin.b_clocks) + certificate_bytes = read_pinned(args.source_certificates or args.data / "clear-certificates.json", pin.certs_sha, custody) + certs = source_certificates(certificate_bytes, source["program"], pin.clears) + affected_bytes = read_pinned(args.data / "affected-pairs-new.json", pin.affected_sha, custody) + affected = {tuple(pair) for pair in exact_json(affected_bytes)} + demand(len(affected) == pin.affected, "affected_census", str(len(affected))) + pinned_invoice = exact_json(read_pinned(args.source_invoice or args.data / "invoice-new.json", pin.invoice_sha, custody)) + masks, dimensions = chart_catalogue(source["frames"]) + before = interpret(source, masks, dimensions, certs) + demand(before["peak"] == 50 and len(before["labels"]) == pin.used_labels, "owned_denominator", "peak or used label count") + if args.source_pr == 7636: + demand(sum(before["paid_owned"].values()) == 47, "owned_moves", "source MOVE count") + if args.source_pr == 7658: + demand(owned_add_zero_refills(before["observations"]) == 0, "owned_zero_refill", "source has an exact-zero join") + demand(not before["altered_helpers"], "helper_identity", repr(before["altered_helpers"])) + source_invoice, residual = signed_invoice(pinned_invoice, before, before) + source_weights = signed_weights(source_invoice) + report["source"] = dict(pr=args.source_pr, head=pin.head, literal_sha256=pin.literal_sha, gzip_sha256=pin.gzip_sha, + full_signed_invoice=source_invoice, caller_residual=residual, + price=price_bracket(source_weights, pin.price), trace=ordered_proof_trace(before), + public=PUBLIC, allocated_owned=OWNED, frames=len(masks), + affected_predecessor_census=len(affected), + clear_certificate_term_counts=sorted(Counter(len(terms) for _, terms in certs).items())) + if args.candidate is None: + report["result"] = "PASS_SOURCE_REPLAY_AND_CONDITIONAL_PRICE" + return + + after = interpret(candidate, masks, dimensions, certs) + exact_compare(before, after) + invoice, _ = signed_invoice(pinned_invoice, before, after) + weights = signed_weights(invoice) + bracket = approximate_grid(weights) + candidate_price = price_bracket(weights, bracket) + demand(Fraction(bracket[0]) > Fraction(pin.price[1]), "strict_price_improvement", repr(bracket)) + if args.claim: + claim = Fraction(args.claim) + demand(claim > Fraction(pin.price[1]), "claim_exceeds_source", args.claim) + sign = signed_price(weights, claim, claim) + preceding = signed_price(source_weights, claim, claim) + demand(sign[0] > 0 > preceding[1], "claim_price_sign", args.claim) + candidate_price.update(claim=args.claim, at_claim=outward_decimal(sign), source_at_claim=outward_decimal(preceding)) + + source_pairs, candidate_pairs = before["move_pairs"], after["move_pairs"] + changed_pair_counts = [[*pair, source_pairs[pair], candidate_pairs[pair]] + for pair in sorted(source_pairs.keys() | candidate_pairs.keys()) + if source_pairs[pair] != candidate_pairs[pair]] + changes_out = {key: delta(source_invoice[key], invoice[key]) for key in ("paid", "targets")} + ordinary_variable_delta = CALLS * (after["scalar_units"] - before["scalar_units"] + + 1000 * (sum(after["paid"].values()) - sum(before["paid"].values()))) + report["candidate"] = dict(variant=args.variant, literal_sha256=args.candidate_json_sha, gzip_sha256=args.candidate_gzip_sha, + literal_changes=changes, full_signed_invoice=invoice, full_signed_delta=changes_out, + price=candidate_price, trace=ordered_proof_trace(after), + changed_pair_multiplicities=changed_pair_counts, + pairs_new_to_word=sorted(candidate_pairs.keys() - source_pairs.keys()), + pairs_removed_from_word=sorted(source_pairs.keys() - candidate_pairs.keys()), + affected_census_with_literal_edit=len(affected | {tuple(pair[:2]) for pair in changed_pair_counts}), + changed_native_ordinary_units_at_17_calls=ordinary_variable_delta) + report["controls"] = adverse_controls(candidate, after, masks, dimensions, certs, changes, pinned_invoice, before) + report["result"] = "PASS_PAIRED_EXACT_REPLAY_AND_CONDITIONAL_PRICE" + + +def cap(source_pr): + usable = sorted(os.sched_getaffinity(0)) + # The two independent pinned replays can use different available CPUs. + chosen = usable[-1] if source_pr == 7658 else usable[len(usable) // 2] + os.sched_setaffinity(0, {chosen}) + address = 2 * 1024**3 + resource.setrlimit(resource.RLIMIT_AS, (address, address)) + resource.setrlimit(resource.RLIMIT_CPU, (240, 241)) + + def timeout(_signum, _frame): + raise Refusal("timeout", "240-second elapsed-time cap") + + signal.signal(signal.SIGALRM, timeout) + signal.alarm(240) + return dict(cpu=chosen, address_space_bytes=address, cpu_seconds=240, wall_seconds=240) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--data", type=Path, required=True) + parser.add_argument("--source-pr", type=int, choices=tuple(SOURCES), default=7636) + parser.add_argument("--source-word", type=Path) + parser.add_argument("--source-certificates", type=Path) + parser.add_argument("--source-invoice", type=Path) + parser.add_argument("--candidate", type=Path) + parser.add_argument("--candidate-gzip-sha") + parser.add_argument("--candidate-json-sha") + parser.add_argument("--variant", choices=("B", "C")) + parser.add_argument("--claim") + parser.add_argument("--out", type=Path, required=True) + args = parser.parse_args() + if args.candidate is not None and not (args.candidate_gzip_sha and args.candidate_json_sha and args.variant): + parser.error("a candidate requires both hashes and its variant") + if args.source_pr == 7658 and args.variant == "C": + parser.error("#7658 is pinned only for the standalone role-379 edit") + report = {"schema": "p104-independent-exact-replay/2", "limits": cap(args.source_pr), + "started": datetime.now(timezone.utc).isoformat(), + "price_convention": "sum (targets_r - paid_r) * r^(1-C)", + "assurance": "Exact literal row and certificate replay with the pinned source's conditional #7113 invoice residual."} + custody = {} + start = time.perf_counter() + with args.out.open("x") as output: + try: + run(args, custody, report) + for path, expected in custody.items(): + demand(digest(path.read_bytes()) == expected, "input_changed_during_run", path.name) + roles = { + args.source_word or args.data / "word.json.gz": "source_gzip", + args.source_certificates or args.data / "clear-certificates.json": "clear_certificates", + args.source_invoice or args.data / "invoice-new.json": "source_invoice", + args.data / "affected-pairs-new.json": "source_affected_census", + args.candidate: "candidate_gzip", + } + report["input_bytes_rechecked"] = {roles[path]: sha for path, sha in custody.items()} + except Exception as error: + report["result"] = "REFUSED" + report["error"] = error.record if isinstance(error, Refusal) else repr(error) + traceback.print_exc() + report["finished"] = datetime.now(timezone.utc).isoformat() + report["elapsed_seconds"] = time.perf_counter() - start + used = resource.getrusage(resource.RUSAGE_SELF) + report["resource_usage"] = dict(user_cpu_seconds=used.ru_utime, system_cpu_seconds=used.ru_stime, max_rss_kib=used.ru_maxrss) + json.dump(report, output, indent=2, sort_keys=True) + output.write("\n") + signal.alarm(0) + print(report["result"]) + return report["result"] == "REFUSED" + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/research/p104-180-contact-application/src/native/engines/verify_native.py b/research/p104-180-contact-application/src/native/engines/verify_native.py new file mode 100644 index 0000000000..f083f6ca83 --- /dev/null +++ b/research/p104-180-contact-application/src/native/engines/verify_native.py @@ -0,0 +1,444 @@ +#!/usr/bin/env python3 +"""Verify a frozen public rechart relative to the exact #7660 native word.""" + +import argparse +from collections import defaultdict +from datetime import datetime, timezone +from difflib import SequenceMatcher +from fractions import Fraction +from functools import cache +import gzip +import hashlib +import json +from pathlib import Path +from time import monotonic_ns +from types import ModuleType + +import physical +import walsh + + +SOURCE_HEAD = "d12b854d4825e9edfa3a3466909e1abf3525e929" +SOURCE_RAW = "f0753b6614b2d351723dddc307a39b6ecd748a43008c6fdb9335b01feeec9669" +SOURCE_GZIP = "4e9cd9cc70a5423db44f870b35d8d6da9ac5746aa352f3af1420443f6dda350e" +PARENT_DRIVER = "6cc127ed1b1eddeadb50b69e672587e2c64378e5e5790357e526a9c022e32760" +PARENT_COMPILER = "334e37a3fb31c8cd374bc4ecafcdb9fb2597eb3192d3d49373417830458cb696" +PARENT_PHASE = "3b340b468d119fcca8bca015b0bab187119cd2593b25737ec496c9dc3564ebc6" +PARENT_RESULT = "01490a7539289511a367602466bb2e8749ce36e3aec642e9066c68dfdebd78b7" +PARENT_MOVE_CENSUS = "6ee58da2a668539882e635f7596ecf54f2029ad1b81347aa8c5f04f7030b7859" +PARENT_PRIME_RECEIPTS = { + 1000000009: "ab8f75845f296ca2789e225867f97b64758182caed2344c86a4b720a9aa5c167", + 998244353: "2b1ef0f69fe5bbdb35606e2b7d9a9ebe2c07f901abb0e1c13ad33a72e3dcb4a2", +} +MODULI = ((1000000009, 11), (998244353, 37)) +SOURCE_EVENTS = 150009 +SCALAR_EVENTS = 143844 +CLEAR_COUNT = 234 + + +def require(condition, detail): + if not condition: + raise ValueError(detail) + + +def sha(data): + return hashlib.sha256(data).hexdigest() + + +def canonical(value): + return json.dumps(value, sort_keys=True, separators=(",", ":")).encode() + + +def pinned(path, digest): + require(path.is_file() and not path.is_symlink(), f"input is missing or symlinked: {path}") + data = path.read_bytes() + require(sha(data) == digest, f"input SHA-256: {path}") + return data + + +def stamp(): + return datetime.now(timezone.utc).isoformat() + + +def dump(path, value): + with path.open("x") as stream: + json.dump(value, stream, sort_keys=True, indent=2) + stream.write("\n") + + +def word(path, packed_digest, raw_digest): + raw = gzip.decompress(pinned(path, packed_digest)) + require(sha(raw) == raw_digest, f"decoded SHA-256: {path}") + obj = json.loads(raw) + require(raw == canonical(obj), f"decoded word is not canonical: {path}") + return obj + + +def parent_numerics(root): + driver_path = root / "application-evidence/native-replay/check_native.py" + driver = ModuleType("pinned_7660_native_driver") + exec(compile(pinned(driver_path, PARENT_DRIVER), str(driver_path), "exec"), driver.__dict__) + phase_code = driver.read_engine(root / "retained/pr7658/check.py", PARENT_COMPILER) + require(sha(phase_code.encode()) == PARENT_PHASE, "phase engine differs from #7660") + return driver, driver.engine_from(phase_code) + + +def group_tape(word): + """Anchor MOVE order to the ordinal of each normalized scalar operator.""" + scalars, moves = [], defaultdict(list) + for clock, event in enumerate(word["program"]): + if event[0] == "MOVE": + moves[len(scalars)].append((clock, event)) + else: + scalars.append((clock, event)) + return scalars, moves + + +def public_scalar(event, count): + op = event[0] + if op == "SCALE": + return event[1] < count + if op == "ADD": + return event[1] < count and event[2] < count + return False + + +def normalized_edits(source, candidate): + n = source["public"] + require(source.keys() == candidate.keys() + and all(candidate[k] == v for k, v in source.items() if k != "program"), + "native word header changed") + old_scalars, old_moves = group_tape(source) + new_scalars, new_moves = group_tape(candidate) + require(len(old_scalars) == len(new_scalars) == SCALAR_EVENTS, "scalar denominator") + contacts, move_edits, owned = [], [], 0 + for ordinal, ((old_clock, old), (new_clock, new)) in enumerate(zip(old_scalars, new_scalars)): + if old != new: + require(public_scalar(old, n) and old[:-1] == new[:-1], + f"normalized or protected scalar changed at {old_clock}/{new_clock}") + contacts.append({"scalar_ordinal": ordinal, "source_clock": old_clock, "source": old, + "candidate_clock": new_clock, "candidate": new}) + if not public_scalar(old, n): + owned += 1 + + for ordinal in sorted(old_moves.keys() | new_moves.keys()): + old, new = old_moves[ordinal], new_moves[ordinal] + old_events = [tuple(e) for _, e in old] + new_events = [tuple(e) for _, e in new] + if old_events == new_events: + continue + matcher = SequenceMatcher(a=old_events, b=new_events, autojunk=False) + for op, a, b, c, d in matcher.get_opcodes(): + if op == "equal": + continue + drop, put = old[a:b], new[c:d] + require(all(e[1] < n and e[4] is False for _, e in (*drop, *put)), + f"protected MOVE changed before scalar {ordinal}") + move_edits.append({"before_scalar_ordinal": ordinal, "source": drop, "candidate": put}) + + require(move_edits, "no changed MOVE") + roles = sorted({event[1] for edit in move_edits for side in ("source", "candidate") + for _, event in edit[side]}) + return {"scalar_events": SCALAR_EVENTS, "protected_scalar_events": owned, + "changed_public_move_roles": roles, "recharted_contacts": contacts, + "move_edits": move_edits} + + +def parent_pairs(driver, source, result, census_bytes): + require(result["status"] == "PASS_STRICT_379_NATIVE_FINITE" + and result["candidate"]["raw_sha256"] == SOURCE_RAW + and result["candidate"]["gzip_sha256"] == SOURCE_GZIP + and result["phase_code_sha256"] == PARENT_PHASE + and result["artifacts"]["MOVE-PAIRS.json"] == PARENT_MOVE_CENSUS, + "prior result binding") + census = json.loads(census_bytes) + actual = driver.groups_for(source["program"], source["frames"]) + count = {"ascent_groups": len(actual), "move_occurrences": sum(map(len, actual.values())), + "directed_pairs": len({(x[2], x[3]) for entries in actual.values() for x in entries})} + require(census["counts"]["candidate"] == result["pair_counts"]["candidate"] == count + == {"ascent_groups": 2959, "move_occurrences": 6165, "directed_pairs": 2981}, + "prior MOVE denominator") + accepted = set() + for row in census["rows"]: + key = tuple(row["ascent"]) + require(key in actual and key not in accepted and row["candidate_occurrences"] == actual[key] + and row["rank"] == len(source["frames"][key[1]]) - len(source["frames"][key[0]]) + and row["forward_columns"] == row["adjoint_columns"] == walsh.SIZE + and row["wrong_phase_rejected"] is True, f"prior MOVE entry {key}") + accepted.add(key) + require(accepted == set(actual), "prior MOVE coverage is incomplete") + return actual + + +def exact_pair(phase, frames, a, b): + before, after = tuple(frames[a]), tuple(frames[b]) + expected = phase.dagger(phase.frame_circuit(before)) + phase.frame_circuit(after) + recipe = phase.lower(phase.frame_op(before).dag().then(phase.frame_op(after))) + require(recipe["rank"] == len(after) - len(before), f"paid ascent rank {a},{b}") + compiled = phase.recipe_circuit(recipe) + require(phase.tableau(compiled) == phase.tableau(expected), f"signed action {a},{b}") + for x, y, direct_circuit, recipe_circuit in ( + (before, after, expected, compiled), + (after, before, phase.dagger(expected), phase.dagger(compiled)), + ): + wrong = recipe_circuit + (("phase", 1),) + require(phase.tableau(wrong) == phase.tableau(recipe_circuit), "phase control tableau premise") + for unit in range(walsh.SIZE): + oracle = walsh.transition(x, y, unit) + require(walsh.equal_gaussian_columns(oracle, phase.column(direct_circuit, unit)), + f"canonical Walsh basis disagreement {a},{b}, column {unit}") + require(walsh.equal_gaussian_columns(oracle, phase.column(recipe_circuit, unit)), + f"compiled Walsh basis disagreement {a},{b}, column {unit}") + if unit == 0: + require(not walsh.equal_gaussian_columns(oracle, phase.column(wrong, unit)), + f"absolute phase control accepted {a},{b}") + return {"rank": recipe["rank"], "forward_columns": walsh.SIZE, "adjoint_columns": walsh.SIZE, + "absolute_phase_rejections": 2} + + +def pair_replay(driver, phase, source, candidate, prior, edits): + frames = source["frames"] + current = driver.groups_for(candidate["program"], frames) + changed_pairs = set() + for edit in edits["move_edits"]: + for side in ("source", "candidate"): + for _, (_, _, a, b, _) in edit[side]: + if len(frames[a]) > len(frames[b]): + a, b = b, a + changed_pairs.add((a, b)) + fresh = changed_pairs | (current.keys() - prior.keys()) + rows = [] + for a, b in sorted(prior.keys() | current.keys()): + row = {"ascent": (a, b), "source_occurrences": prior.get((a, b), []), + "candidate_occurrences": current.get((a, b), [])} + if (a, b) in fresh: + row["fresh"] = exact_pair(phase, frames, a, b) + else: + row["prior_census_sha256"] = PARENT_MOVE_CENSUS + rows.append(row) + require(fresh <= (prior.keys() | current.keys()), "missing changed transition") + return {"source_groups": len(prior), "candidate_groups": len(current), + "source_moves": sum(map(len, prior.values())), "candidate_moves": sum(map(len, current.values())), + "fresh_groups": len(fresh), "transferred_groups": len(rows) - len(fresh), "rows": rows} + + +def route_columns(phase, source, candidate, edits): + """Verify separate cross-contact terms along the two literal route histories.""" + contacts = edits["recharted_contacts"] + ordinals = [edit["before_scalar_ordinal"] for edit in edits["move_edits"]] + ordinals.extend(contact["scalar_ordinal"] for contact in contacts) + low, high = min(ordinals), max(ordinals) + roles = set(edits["changed_public_move_roles"]) + for contact in contacts: + event = contact["source"] + roles.update(event[1:3] if event[0] == "ADD" else [event[1]]) + + def cut(word): + charts = {r: word["initial"][r] for r in roles} + routes = {r: [] for r in roles} + ordinal = 0 + for clock, event in enumerate(word["program"]): + if ordinal > high: + break + if event[0] != "MOVE": + ordinal += 1 + continue + _, r, a, b, _ = event + if r in roles: + if ordinal < low: + charts[r] = b + else: + routes[r].append((clock, a, b)) + return charts, routes + + source_enter, source_routes = cut(source) + candidate_enter, candidate_routes = cut(candidate) + require(source_enter == candidate_enter, "edited route cut has different entry charts") + frames = source["frames"] + + @cache + def compiled(a, b): + recipe = phase.lower(phase.frame_op(frames[a]).dag().then(phase.frame_op(frames[b]))) + require(recipe["rank"] == len(frames[b]) - len(frames[a]), f"composed path rank {a},{b}") + return phase.recipe_circuit(recipe) + + def charts(enter, moves): + result = [enter] + for _, a, b in moves: + require(result[-1] == a, "route composition lost an intermediate chart") + result.append(b) + return result + + def circuit(path): + return tuple(g for a, b in zip(path, path[1:]) for g in compiled(a, b)) + + def compare(label, old_path, new_path): + require((old_path[0], old_path[-1]) == (new_path[0], new_path[-1]), f"restoration chart {label}") + old, new = map(circuit, (old_path, new_path)) + for a, b in ((old, new), (phase.dagger(old), phase.dagger(new))): + require(phase.tableau(a) == phase.tableau(b), f"composed signed action {label}") + for unit in range(walsh.SIZE): + require(phase.column(a, unit) == phase.column(b, unit), + f"composed exact column {label}, {unit}") + wrong = new + (("phase", 1),) + require(phase.tableau(wrong) == phase.tableau(new) and phase.column(wrong) != phase.column(old), + f"composed absolute phase control {label}") + return {"path": label, "source": old_path, "candidate": new_path, + "forward_columns": walsh.SIZE, "adjoint_columns": walsh.SIZE, "wrong_phase": "rejected"} + + def contribution(enter, moves, contact, side): + r, s = contact[side][1:3] + clock = contact[f"{side}_clock"] + before = [(j, a, b) for j, a, b in moves[s] if j < clock] + after = [(j, a, b) for j, a, b in moves[r] if j > clock] + prefix = charts(enter[s], before) + require(prefix[-1] == contact[side][-1], f"contribution chart at {clock}") + return charts(enter[s], before + after) + + rows = [compare(f"role {r} independent entry to return", + charts(source_enter[r], source_routes[r]), charts(candidate_enter[r], candidate_routes[r])) + for r in sorted(roles)] + for contact in contacts: + if contact["source"][0] == "ADD": + r, s, coefficient, _ = contact["source"][1:] + row = compare(f"role {s} contribution to {r} at source {contact['source_clock']}", + contribution(source_enter, source_routes, contact, "source"), + contribution(candidate_enter, candidate_routes, contact, "candidate")) + row["coefficient"] = coefficient + rows.append(row) + return {"all_forward": walsh.SIZE, "all_adjoint": walsh.SIZE, "wrong_phase": "rejected", + "first_scalar_ordinal": low, "last_scalar_ordinal": high, "composed_paths": rows} + + +def contact_controls(driver, source, candidate, edits, test_clock): + new_events = len(candidate["program"]) + changed_arrivals = {clock for edit in edits["move_edits"] for clock, _ in edit["candidate"]} + require(test_clock in changed_arrivals, "phase control is not on an edited candidate MOVE") + + def mutate(clock, event): + return driver.changed_event(candidate, clock, event) + + def schedule(trial): + return driver.schedule(trial, new_events, CLEAR_COUNT, 281) + + move = candidate["program"][test_clock] + controls = {"wrong_move_source": driver.rejected( + f"MOVE source at {test_clock}", lambda: schedule(mutate(test_clock, move[:2] + [move[3], *move[3:]]))), + "public_owned_flag": driver.rejected( + f"MOVE flag at {test_clock}", lambda: schedule(mutate(test_clock, [*move[:4], True])))} + contacts = edits["recharted_contacts"] + if contacts: + contact = contacts[0] + clock = contact["candidate_clock"] + event = contact["candidate"] + controls["wrong_contact_chart"] = driver.rejected( + f"{event[0]} frame at {clock}", lambda: schedule(mutate(clock, contact["source"]))) + coefficient_index = 2 if event[0] == "SCALE" else 3 + signed = list(event) + signed[coefficient_index] = str(-Fraction(event[coefficient_index])) + sign_mutant = mutate(clock, signed) + schedule(sign_mutant) + controls["legal_same_rank_wrong_coefficient_sign"] = driver.rejected( + "normalized or protected scalar changed", lambda: normalized_edits(source, sign_mutant)) + + first_add = next((j for j in contacts if j["candidate"][0] == "ADD"), None) + if first_add is not None: + clock, event = first_add["candidate_clock"], first_add["candidate"] + controls["aliased_public_contact"] = driver.rejected( + f"ADD frame at {clock}", lambda: schedule(mutate(clock, [*event[:2], event[1], *event[3:]]))) + return controls + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + for name in ("parent-package", "parent-census", "candidate", "binding", "out"): + parser.add_argument("--" + name, type=Path, required=True) + args = parser.parse_args() + started = monotonic_ns() + parent = args.parent_package + spec_raw = args.binding.read_bytes() + spec = json.loads(spec_raw) + require(spec["source_head"] == SOURCE_HEAD and spec["source_raw_sha256"] == SOURCE_RAW, + "binding source pin") + require(spec["public_claim"] and spec["running_event"], "missing public claim or goal event") + source_path = parent / "application-evidence/signed-replay/data/WORD.json.gz" + parent_result_path = parent / "application-evidence/receipts/native/RESULT.json" + driver_path = parent / "application-evidence/native-replay/check_native.py" + compiler_path = parent / "retained/pr7658/check.py" + prior_fields = {p: parent / f"application-evidence/receipts/native/PHYSICAL-{p}.json" for p, _ in MODULI} + pins = {source_path: SOURCE_GZIP, args.candidate: spec["candidate_gzip_sha256"], + args.binding: sha(spec_raw), driver_path: PARENT_DRIVER, compiler_path: PARENT_COMPILER, + parent_result_path: PARENT_RESULT, args.parent_census: PARENT_MOVE_CENSUS} + pins.update({path: PARENT_PRIME_RECEIPTS[p] for p, path in prior_fields.items()}) + scripts = (Path(__file__), Path(physical.__file__), Path(walsh.__file__)) + script_pins = {p: sha(p.read_bytes()) for p in scripts} + args.out.mkdir(exist_ok=False) + dump(args.out / "START.json", {"started_at": stamp(), "binding": spec, + "pins": {str(p): s for p, s in pins.items()}, + "scripts": {p.name: s for p, s in script_pins.items()}, + "primes_and_seeds": MODULI}) + + source = word(source_path, SOURCE_GZIP, SOURCE_RAW) + candidate = word(args.candidate, spec["candidate_gzip_sha256"], spec["candidate_raw_sha256"]) + result = json.loads(pinned(parent_result_path, PARENT_RESULT)) + driver, phase = parent_numerics(parent) + source_schedule = driver.schedule(source, SOURCE_EVENTS, CLEAR_COUNT, 281) + candidate_schedule = driver.schedule(candidate, spec["candidate_events"], CLEAR_COUNT, 281) + require(source_schedule["lifetime_trace"] == candidate_schedule["lifetime_trace"] + and source_schedule["owned_paid"] == candidate_schedule["owned_paid"], + "protected owned lifetime sequence") + edits = normalized_edits(source, candidate) + require(edits["changed_public_move_roles"] == spec["changed_public_move_roles"], "public edit role scope") + if "recharted_contact_count" in spec: + require(len(edits["recharted_contacts"]) == spec["recharted_contact_count"], "contact edit denominator") + dump(args.out / "EDITS.json", edits) + + test_clock = spec["phase_control_clock"] + controls = contact_controls(driver, source, candidate, edits, test_clock) + prior = parent_pairs(driver, source, result, pinned(args.parent_census, PARENT_MOVE_CENSUS)) + pairs = pair_replay(driver, phase, source, candidate, prior, edits) + dump(args.out / "MOVE-PAIRS.json", pairs) + raw_ports = physical.raw_ports(phase, source, require) + routes = route_columns(phase, source, candidate, edits) + dump(args.out / "OPERATORS.json", {"controls": controls, "raw_ports": raw_ports, + "fresh_pairs": pairs["fresh_groups"], "walsh_basis_size": walsh.SIZE, + "route_columns": routes}) + + finite = [] + for prime, seed in MODULI: + field = physical.evaluate(phase, source, candidate, prime, seed, test_clock, + prime == MODULI[0][0], require) + earlier = json.loads(pinned(prior_fields[prime], PARENT_PRIME_RECEIPTS[prime])) + require(earlier["prime"] == prime and earlier["seed"] == seed + and field["endpoint_rows"] == earlier["endpoint_rows"] == 1501 + and field["owned_zero_rows"] == earlier["owned_zero_rows"] == 68 + and field["digests"]["initial"] == earlier["digests"]["initial"] + and field["digests"]["source"] == earlier["digests"]["candidate"] + and field["digests"]["reference_public"] == earlier["digests"]["reference_public"] + and field["source"] == earlier["candidate"], f"prior physical replay transfer at {prime}") + dump(args.out / f"PHYSICAL-{prime}.json", field) + finite.append(field) + + for path, digest in (pins | script_pins).items(): + pinned(path, digest) + report = { + "status": "PASS_7660_PUBLIC_RECHART_NATIVE", + "pr": 7660, "head": SOURCE_HEAD, + "candidate": {"raw_sha256": spec["candidate_raw_sha256"], "gzip_sha256": spec["candidate_gzip_sha256"], + "canonical_sha256": spec["candidate_raw_sha256"]}, + "source": {"pr": 7660, "head": SOURCE_HEAD, "raw_sha256": SOURCE_RAW, "gzip_sha256": SOURCE_GZIP, + "canonical_sha256": SOURCE_RAW}, + "public_claim": spec["public_claim"], "running_event": spec["running_event"], + "source_schedule": source_schedule, "candidate_schedule": candidate_schedule, + "phase_code_sha256": PARENT_PHASE, "prior_result_sha256": PARENT_RESULT, + "exact": {k: v for k, v in pairs.items() if k != "rows"}, + "controls": controls, "raw_ports": raw_ports, "finite_replays": finite, "route_columns": routes, + "artifacts": {p.name: sha(p.read_bytes()) for p in sorted(args.out.glob("*.json"))}, + "completed_at": stamp(), "elapsed_ns": monotonic_ns() - started, + } + dump(args.out / "RESULT.json", report) + print(f"{report['status']} word={spec['candidate_raw_sha256']} pairs={pairs['fresh_groups']}", flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/src/native/engines/walsh.py b/research/p104-180-contact-application/src/native/engines/walsh.py new file mode 100644 index 0000000000..16c8462db8 --- /dev/null +++ b/research/p104-180-contact-application/src/native/engines/walsh.py @@ -0,0 +1,96 @@ +"""Independent exact Gaussian columns for the ordered #7660 frames.""" + +from functools import cache + + +WIDTH = 9 +SIZE = 1 << WIDTH + + +def times_i(real, imag, exponent): + return ((real, imag), (-imag, real), (-real, -imag), (imag, -real))[exponent & 3] + + +def butterflies(values, block): + """Unnormalized Walsh transform on the low axes of each coset.""" + stride = 1 + while stride < block: + for start in range(0, SIZE, 2 * stride): + for left in range(start, start + stride): + right = left + stride + a, b = values[left], values[right] + values[left], values[right] = a + b, a - b + stride *= 2 + + +@cache +def chart(basis): + rank = len(basis) + if rank in (0, WIDTH): + return 1 << rank, tuple(range(SIZE)), (0,) * SIZE + + # Enumerate the coordinate map by subset XORs, with the specified + # ordered basis first and the first independent unit vectors after it. + elements = [0] + included = {0} + for vector in (*basis, *(1 << i for i in range(WIDTH))): + if vector in included: + continue + shifted = [x ^ vector for x in elements] + included.update(shifted) + elements.extend(shifted) + if len(elements) != SIZE: + raise ValueError("ordered frame completion does not fill the address space") + + inverse = {address: coordinates for coordinates, address in enumerate(elements)} + inverse_columns = [inverse[1 << i] for i in range(WIDTH)] + quadratic = [] + for address in range(SIZE): + active = [inverse_columns[i] for i in range(WIDTH) if address >> i & 1] + phase = sum(1 - (column.bit_count() & 1) for column in active) + phase += 2 * sum((a & b).bit_count() & 1 for i, a in enumerate(active) for b in active[i + 1:]) + quadratic.append(phase & 3) + return 1 << rank, tuple(elements), tuple(quadratic) + + +def apply_chart(basis, input_real, input_imag, sign): + block, elements, quadratic = chart(basis) + if block == 1: + return input_real, input_imag, 0 + + real, imag = zip(*(times_i(input_real[p], input_imag[p], -quadratic[p]) for p in elements)) + real, imag = list(real), list(imag) + butterflies(real, block) + butterflies(imag, block) + for i in range(SIZE): + exponent = sign * (i & (block - 1)).bit_count() + real[i], imag[i] = times_i(real[i], imag[i], exponent) + butterflies(real, block) + butterflies(imag, block) + + output_real, output_imag = [0] * SIZE, [0] * SIZE + for i, p in enumerate(elements): + output_real[p], output_imag[p] = times_i(real[i], imag[i], quadratic[p]) + return output_real, output_imag, block.bit_length() - 1 + + +def transition(before, after, unit_address): + real, imag = [0] * SIZE, [0] * SIZE + real[unit_address] = 1 + real, imag, before_den = apply_chart(before, real, imag, -1) + real, imag, after_den = apply_chart(after, real, imag, 1) + return {i: (a, b) for i, (a, b) in enumerate(zip(real, imag)) if a or b}, before_den + after_den + + +def equal_gaussian_columns(left, right): + left_values, left_den = left + right_values, right_den = right + if left_values.keys() != right_values.keys(): + return False + den = max(left_den, right_den) + return all( + a << (den - left_den) == c << (den - right_den) + and b << (den - left_den) == d << (den - right_den) + for i, (a, b) in left_values.items() + for c, d in (right_values[i],) + ) diff --git a/research/p104-180-contact-application/src/native/run_guarded_low.py b/research/p104-180-contact-application/src/native/run_guarded_low.py new file mode 100644 index 0000000000..152cad4bf3 --- /dev/null +++ b/research/p104-180-contact-application/src/native/run_guarded_low.py @@ -0,0 +1,95 @@ +#!/usr/bin/env python3 +"""Arm a scoped low-family run and retain its ledger gate and resource receipts.""" + +import argparse +from datetime import datetime, timezone +import json +import os +from pathlib import Path +import subprocess +import time + +from build_low import C_RAW, SOURCE_RAW, require, sha, write_json + + +HERE = Path(__file__).resolve().parent +CLAIM = "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656" +RUNNERS = {"core": "build_low.py", "native": "verify_low_native.py"} +EVENTS = {"core": "p7636-180-lowering-core-running", "native": "p7636-180-lowering-native-running"} +ADDRESS_LIMIT = 2_684_354_560 + + +def now(): + return datetime.now(timezone.utc).isoformat() + + +def file_hash(path): + return sha(path.read_bytes()) if path.is_file() else None + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("stage", choices=RUNNERS) + parser.add_argument("--inputs", type=Path, required=True) + parser.add_argument("--out", type=Path, required=True) + parser.add_argument("--log", type=Path, required=True) + parser.add_argument("--authorization", type=Path, required=True) + parser.add_argument("--materialized", type=Path) + parser.add_argument("--cpu", type=int, required=True) + parser.add_argument("--wall", type=int, required=True) + args = parser.parse_args() + require(0 < args.wall <= 1200 and args.cpu in os.sched_getaffinity(0), "invalid resource limit") + require(args.stage == "core" or args.materialized is not None, "native needs the built matched pair") + require(not args.authorization.exists() and not args.out.exists(), "run requires fresh gate and output paths") + args.log.mkdir(exist_ok=False) + runner = HERE / RUNNERS[args.stage] + command = ["/usr/bin/time", "-v", "-o", str(args.log / "time.txt"), "timeout", "-k", "8s", f"{args.wall}s", + "prlimit", f"--as={ADDRESS_LIMIT}", f"--cpu={args.wall}", "taskset", "-c", str(args.cpu), + "python3.12", "-B", str(runner), "--inputs", str(args.inputs), "--out", str(args.out), + "--authorization", str(args.authorization)] + if args.materialized is not None: + command += ["--materialized", str(args.materialized)] + files = [runner, HERE / "build_low.py", *sorted((HERE / "engines").glob("*.py"))] + code = {str(path.relative_to(HERE)): file_hash(path) for path in files} + write_json(args.log / "START.json", {"stage": args.stage, "armed_at": now(), "public_claim": CLAIM, + "source_raw_sha256": SOURCE_RAW, "raw_combined_sha256": C_RAW, "expected_event": EVENTS[args.stage], + "wall_limit_seconds": args.wall, "address_space_bytes": ADDRESS_LIMIT, "cpu_affinity": [args.cpu], + "code": code, "entrypoint": RUNNERS[args.stage], "argv": command}) + deadline = time.monotonic() + 240 + while not args.authorization.is_file(): + if time.monotonic() >= deadline: + write_json(args.log / "launch.json", {"stage": args.stage, "exit": 124, "ended_at": now(), + "disposition": "ledger authorization wait expired before execution"}) + return 124 + time.sleep(0.2) + auth = json.loads(args.authorization.read_bytes()) + require(auth.get("source_raw_sha256") == SOURCE_RAW and auth.get("raw_combined_sha256") == C_RAW + and auth.get("public_claim") == CLAIM and auth.get("running_event") == EVENTS[args.stage] + and auth.get("receipt_id"), "ledger gate scope or receipt") + require(all(file_hash(HERE / path) == value for path, value in code.items()), "code changed while armed") + started = now() + with (args.log / "stdout.txt").open("xb") as out, (args.log / "stderr.txt").open("xb") as err: + completed = subprocess.run(command, stdout=out, stderr=err, check=False) + require(all(file_hash(HERE / path) == value for path, value in code.items()), "code changed while running") + result_name = "BINDING.json" if args.stage == "core" else "RESULT.json" + result_path = args.out / result_name + result = json.loads(result_path.read_bytes()) if completed.returncode == 0 else {} + record = {"stage": args.stage, "run_id": EVENTS[args.stage], "exit": completed.returncode, + "started_at": started, "ended_at": now(), "source_raw_sha256": SOURCE_RAW, + "running_event": auth["running_event"], "receipt_id": auth["receipt_id"], + "authorization_sha256": file_hash(args.authorization), "launcher_sha256": file_hash(Path(__file__)), + "adapter_sha256": file_hash(runner), "physical_sha256": file_hash(HERE / "engines/physical.py"), + "walsh_sha256": file_hash(HERE / "engines/walsh.py"), + "start_sha256": file_hash(args.log / "START.json"), "native_result_sha256": file_hash(result_path), + "stdout_sha256": file_hash(args.log / "stdout.txt"), "stderr_sha256": file_hash(args.log / "stderr.txt"), + "time_sha256": file_hash(args.log / "time.txt")} + if result: + record["candidate_raw_sha256"] = result["candidate"]["raw_sha256"] + record["candidate_canonical_sha256"] = result["candidate"]["canonical_sha256"] + record["status"] = result["status"] + write_json(args.log / "launch.json", record) + return completed.returncode + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/research/p104-180-contact-application/src/native/verify_low_native.py b/research/p104-180-contact-application/src/native/verify_low_native.py new file mode 100644 index 0000000000..1aad62b46a --- /dev/null +++ b/research/p104-180-contact-application/src/native/verify_low_native.py @@ -0,0 +1,328 @@ +#!/usr/bin/env python3 +"""Exact chart and dense finite replay of the repaired #7636 source and combination.""" + +import argparse +from collections import Counter +from datetime import datetime, timezone +from fractions import Fraction +import json +from math import gcd +from pathlib import Path +import sys +from time import monotonic_ns +from types import ModuleType + +import build_low as build + + +HERE = Path(__file__).resolve().parent +ENGINES = HERE / "engines" +MODULI = ((1000000009, 11), (998244353, 37)) +PHASE_CODE = "3b340b468d119fcca8bca015b0bab187119cd2593b25737ec496c9dc3564ebc6" +ENGINE_PINS = { + "verify_native.py": "b0e073a89ef4d24745e63dfddb1b8b4307d2d1edcee783ad76ab055cb54f836b", + "physical.py": "e76bc78b132607890b2d9ea234d3a52e608e0e919bdc48308cc0727a2a07c73e", + "walsh.py": "c8d29246c26967315a223cb01f822060e83b3fdedad96d8dbcf878be94c51fac", + "check_native_7660.py": "6cc127ed1b1eddeadb50b69e672587e2c64378e5e5790357e526a9c022e32760", + "phase-source7636.py": "72dfc0f5435cea2630a0d4e8f466fbb7b866404a22804769c3e690845ca72d2b", +} +INPUT_PINS = { + "source-word.json.gz": build.SOURCE_GZIP, + "source-clear.json": build.SOURCE_CLEAR, + "raw-combined.json.gz": build.C_GZIP, + "combined-clear.json": build.C_CLEAR, + "combined-prior.json": "6b0672e4f3329a351ca0e6006274102b32b274fd0b1dde727b2063ca9682943b", + "prior-native.json": "a2e29cb40f971aba674487d71002a19b40af124d76fb2a4962958e0ea5e460da", + "prior-pairs.json": "a6645322a783f6160381205b455d410f0a1287f208f18deba156ae7c4aa7f16a", + "prior-physical-1000000009.json": "c96a11f0104fc9930a392cee0d3862d039c3de8de9e08c7ee4f7c70f781b3ff8", + "prior-physical-998244353.json": "4bd3cdce0b6042edde5f4cb418e6d348fee78b87509daf6bfbb8586f03f3a2bc", +} +REPLAY_EVENT = "p7636-180-lowering-native-running" +CLAIM = "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656" +SCALAR_EVENTS = 196441 +PAID_DELTA = {1: -3, 2: 1, 4: -1, 5: 1} + +require = build.require +dump = build.write_json +pinned = build.pinned +sha = build.sha + + +def stamp(): + return datetime.now(timezone.utc).isoformat() + + +def load_engine(filename, name): + path = ENGINES / filename + data = pinned(path, ENGINE_PINS[filename]) + module = ModuleType(name) + module.__file__ = str(path) + sys.modules[name] = module + exec(compile(data, str(path), "exec"), module.__dict__) + return module + + +def checked_inputs(root, materialized): + raw_source, lowered_source, lowered_c, clock_map, source_terms, candidate_terms = build.matched(root) + binding_path = materialized / "BINDING.json" + binding_bytes = binding_path.read_bytes() + binding = json.loads(binding_bytes) + require(binding["status"] == "PASS_7636_MATCHED_SCALAR_LOWERING_BUILD" + and binding["source_head"] == build.HEAD + and binding["source_parent_raw_sha256"] == build.SOURCE_RAW + and binding["candidate_parent_raw_sha256"] == build.C_RAW, + "materialization receipt") + pins = {binding_path: sha(binding_bytes)} + for side, expected, terms in (("source", lowered_source, source_terms), ("candidate", lowered_c, candidate_terms)): + meta = binding[side] + word_file = materialized / side / "WORD.json.gz" + cert_file = materialized / side / "CLEAR-CERTIFICATES.json" + require(meta["raw_sha256"] == meta["canonical_sha256"] == sha(build.canonical(expected)) + and meta["events"] == len(expected["program"]), f"canonical {side} identity") + require(build.load_word(word_file, meta["gzip_sha256"], meta["raw_sha256"]) == expected, + f"materialized {side} tape") + require(build.read_certificates(cert_file, meta["clear_sha256"], expected) == terms, + f"materialized {side} certificate binding") + pins[word_file] = meta["gzip_sha256"] + pins[cert_file] = meta["clear_sha256"] + require(binding["role_379_phase_control_clock"] == clock_map[131294] + and binding["contact_control_clock"] == clock_map[127446], "candidate control clocks") + return raw_source, lowered_source, lowered_c, clock_map, source_terms, candidate_terms, binding, pins + + +def native_law(common, source, candidate, clock_map): + """Prove arbitrary rows by aligning the actual ordered common-coordinate tape.""" + old_scalars, old_moves = common.group_tape(source) + new_scalars, new_moves = common.group_tape(candidate) + require(len(old_scalars) == len(new_scalars) == SCALAR_EVENTS, "repaired scalar denominator") + contacts = [] + for ordinal, ((old_j, old), (new_j, new)) in enumerate(zip(old_scalars, new_scalars, strict=True)): + if old != new: + require(old_j == 127446 and new_j == clock_map[old_j] + and old == build.OLD[old_j] and new == build.REPLACEMENT[old_j], + f"unexpected public/protected scalar change at {old_j}/{new_j}") + contacts.append({"scalar_ordinal": ordinal, "source_clock": old_j, "source": old, + "candidate_clock": new_j, "candidate": new}) + require(len(contacts) == 1, "one contact annotation changed") + + old_ordinal = {clock: ordinal for ordinal, rows in old_moves.items() for clock, _ in rows} + new_ordinal = {clock: ordinal for ordinal, rows in new_moves.items() for clock, _ in rows} + blocks = {"contact": {"changed_public_move_roles": [902, 1091], "recharted_contacts": contacts, "move_edits": []}, + "role379": {"changed_public_move_roles": [379], "recharted_contacts": [], "move_edits": []}} + for clock, old in build.OLD.items(): + if old[0] != "MOVE": + continue + new = build.REPLACEMENT[clock] + new_clock = clock_map.get(clock) + ordinal = old_ordinal[clock] + if new is not None: + require(new_ordinal[new_clock] == ordinal, f"changed scalar anchor at {clock}") + block = blocks["role379" if old[1] == 379 else "contact"] + block["move_edits"].append({"before_scalar_ordinal": ordinal, "source": [(clock, old)], + "candidate": [] if new is None else [(new_clock, new)]}) + + original = Fraction(build.ORIGINAL[3]) + whole, fraction = (Fraction(e[3]) for e in build.SPLIT) + require(whole.denominator == 1 and fraction.denominator == original.denominator + and original == whole + fraction and whole > 0 and fraction > 0 + and gcd(fraction.numerator, fraction.denominator) == 1, + "exact shear, preserved division domain and same-sign intermediate") + require(whole - fraction != original, "wrong-sign split fails the shear identity") + return blocks, {"ordered_scalar_events": SCALAR_EVENTS, "contact_annotations": contacts, + "split_sum": str(original), "split_wrong_sign_rejected": True, + "original_literal_bits": abs(original.numerator).bit_length(), + "split_literal_bits": [abs(whole.numerator).bit_length(), abs(fraction.numerator).bit_length()]} + + +def witness_charts(word, certificates): + charts = word["initial"] + [None] * word["owned_fields"] + recorded = [] + for clock, event in enumerate(word["program"]): + operation, r = event[:2] + if operation == "MOVE": + charts[r] = event[3] + elif operation == "INIT": + charts[r] = event[2] + elif operation == "CLEAR": + terms = [] + for s_text, q in sorted(certificates[str(clock)].items(), key=lambda item: int(item[0])): + s = int(s_text) + require(0 <= s < len(charts) and s != r and charts[s] is not None and Fraction(q), + f"CLEAR witness is not live and non-self at {clock}") + terms.append((s, charts[s], q)) + recorded.append((r, charts[r], terms)) + charts[r] = None + require(len(recorded) == build.CLEARS, "witness chart denominator") + return recorded + + +def prior_coverage(driver, root, raw_source): + result = json.loads(pinned(root / "prior-native.json", INPUT_PINS["prior-native.json"])) + require(result["status"] == "PASS_STRICT_379_NATIVE_FINITE" + and result["source"]["raw_sha256"] == build.SOURCE_RAW + and result["candidate"]["raw_sha256"] == build.B_RAW + and result["phase_code_sha256"] == PHASE_CODE + and result["artifacts"]["MOVE-PAIRS.json"] == INPUT_PINS["prior-pairs.json"], "the pinned low native run") + role379, _ = build.apply_splice(raw_source, {j: build.REPLACEMENT[j] for j in (131142, 131294)}) + require(sha(build.canonical(role379)) == build.B_RAW, "reconstruct historical role-379 baseline") + frames = raw_source["frames"] + a = driver.groups_for(raw_source["program"], frames) + b = driver.groups_for(role379["program"], frames) + census = json.loads(pinned(root / "prior-pairs.json", INPUT_PINS["prior-pairs.json"])) + require(census["counts"] == result["pair_counts"] and len(a) == 2986 and len(b) == 2987 + and sum(map(len, a.values())) == 6228 and sum(map(len, b.values())) == 6227 + and len(census["rows"]) == 2987, "low parent all-pair denominators") + union = a.keys() | b.keys() + accepted = set() + for row in census["rows"]: + pair = tuple(row["ascent"]) + require(pair in union and pair not in accepted + and row["rank"] == len(frames[pair[1]]) - len(frames[pair[0]]) + and row["forward_columns"] == row["adjoint_columns"] == 512 and row["wrong_phase_rejected"] is True + and row["source_occurrences"] == a.get(pair, []) and row["candidate_occurrences"] == b.get(pair, []), + f"accepted all-pair occurrence transfer {pair}") + accepted.add(pair) + require(accepted == union, "incomplete parent catalogue") + return accepted, result + + +def pair_columns(common, driver, phase, source, candidate, blocks, accepted): + frames = source["frames"] + a = driver.groups_for(source["program"], frames) + b = driver.groups_for(candidate["program"], frames) + fresh = {tuple(e[2:4]) for block in blocks.values() for move in block["move_edits"] + for side in ("source", "candidate") for _, e in move[side]} + union = a.keys() | b.keys() + require(len(fresh) == 10 and fresh <= union and union - fresh <= accepted, + "all changed and inherited transition checks are covered") + rows = [] + for pair in sorted(union): + row = {"ascent": pair, "source_occurrences": a.get(pair, []), "candidate_occurrences": b.get(pair, [])} + if pair in fresh: + row["fresh"] = common.exact_pair(phase, frames, *pair) + else: + row["transferred_from"] = INPUT_PINS["prior-pairs.json"] + rows.append(row) + return {"source_moves": sum(map(len, a.values())), "candidate_moves": sum(map(len, b.values())), + "source_ascending_pairs": len(a), "candidate_ascending_pairs": len(b), "fresh_pairs": len(fresh), + "transferred_pairs": len(union - fresh), "rows": rows} + + +def controls(common, driver, source, candidate, clock_map): + c = clock_map[127446] + m = clock_map[131294] + + def trial(clock, event): + modified = driver.changed_event(candidate, clock, event) + return driver.schedule(modified, build.SOURCE_EVENTS - 1, build.CLEARS, 281) + + bad_sign = driver.changed_event(candidate, c, ["ADD", 1091, 902, "-1/2", 373]) + driver.schedule(bad_sign, build.SOURCE_EVENTS - 1, build.CLEARS, 281) + return { + "old_contact_chart": driver.rejected(f"ADD frame at {c}", lambda: trial(c, build.OLD[127446])), + "aliased_contact": driver.rejected(f"ADD frame at {c}", lambda: trial(c, ["ADD", 1091, 1091, "1/2", 373])), + "legal_wrong_contact_sign": driver.rejected("unexpected public/protected scalar change", lambda: native_law( + common, source, bad_sign, clock_map)), + "wrong_move_chart": driver.rejected(f"MOVE source at {m}", lambda: trial(m, build.OLD[131294])), + "wrong_public_flag": driver.rejected(f"MOVE flag at {m}", lambda: trial(m, ["MOVE", 379, 748, 1072, True])), + } + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + for name in ("inputs", "materialized", "out", "authorization"): + parser.add_argument("--" + name, type=Path, required=True) + args = parser.parse_args() + started = monotonic_ns() + auth_bytes = args.authorization.read_bytes() + auth = json.loads(auth_bytes) + require(auth["public_claim"] == CLAIM and auth["running_event"] == REPLAY_EVENT + and auth["source_raw_sha256"] == build.SOURCE_RAW and auth["raw_combined_sha256"] == build.C_RAW + and auth["receipt_id"], "authorized native scope") + args.out.mkdir(exist_ok=False) + dump(args.out / "START.json", {"started_at": stamp(), "authorization": auth, + "engine_pins": ENGINE_PINS, "input_pins": INPUT_PINS, "moduli": MODULI}) + pins = {args.inputs / filename: digest for filename, digest in INPUT_PINS.items()} + pins.update({ENGINES / filename: digest for filename, digest in ENGINE_PINS.items()}) + pins[args.authorization] = sha(auth_bytes) + for path, digest in pins.items(): + pinned(path, digest) + raw_source, source, candidate, clock_map, source_terms, candidate_terms, binding, materialized = checked_inputs( + args.inputs, args.materialized) + pins.update(materialized) + require(auth["candidate_raw_sha256"] == binding["candidate"]["raw_sha256"], "native candidate authorization") + + previous = json.loads(pinned(args.inputs / "combined-prior.json", INPUT_PINS["combined-prior.json"])) + require(previous["status"] == "PASS_SCOPED_COMBINATION" and previous["candidate"]["decoded_sha256"] == build.C_RAW + and previous["certificates"] == {"source": 180, "candidate": 180, "nonzero": 174}, "raw C predecessor") + physical = load_engine("physical.py", "physical") + load_engine("walsh.py", "walsh") + common = load_engine("verify_native.py", "common_native") + driver = load_engine("check_native_7660.py", "prior_native_driver") + phase_code = driver.read_engine(ENGINES / "phase-source7636.py", ENGINE_PINS["phase-source7636.py"]) + require(sha(phase_code.encode()) == PHASE_CODE, "exact scalar-independent phase compiler") + phase = driver.engine_from(phase_code) + + schedule_a = driver.schedule(source, build.SOURCE_EVENTS + 1, build.CLEARS, 281) + schedule_b = driver.schedule(candidate, build.SOURCE_EVENTS - 1, build.CLEARS, 281) + require(schedule_a["lifetime_trace"] == schedule_b["lifetime_trace"] + and schedule_a["owned_paid"] == schedule_b["owned_paid"], "ordered owned schedules") + paid = Counter(schedule_b["paid"]) + paid.subtract(schedule_a["paid"]) + require({rank: n for rank, n in paid.items() if n} == PAID_DELTA, "native paid profile delta") + blocks, scalar = native_law(common, source, candidate, clock_map) + a_witness = witness_charts(source, source_terms) + b_witness = witness_charts(candidate, candidate_terms) + require(a_witness == b_witness, "a retained CLEAR witness chart or coefficient changed") + require(sum(bool(terms) for _, _, terms in a_witness) == 174, "nonzero erasure denominator") + scalar["ordered_clear_witness_charts_sha256"] = sha(build.canonical(a_witness)) + scalar["ordered_clears"] = len(a_witness) + + mutations = controls(common, driver, source, candidate, clock_map) + accepted, parent = prior_coverage(driver, args.inputs, raw_source) + move = pair_columns(common, driver, phase, source, candidate, blocks, accepted) + dump(args.out / "MOVE-PAIRS.json", move) + paths = {name: common.route_columns(phase, source, candidate, edits) for name, edits in blocks.items()} + require(sum(len(block["composed_paths"]) for block in paths.values()) == 4, "four changed composition paths") + paths = {"all_forward": 512, "all_adjoint": 512, "wrong_phase": "rejected", "blocks": paths} + ports = physical.raw_ports(phase, source, require) + dump(args.out / "OPERATORS.json", {"scalar_law": scalar, "controls": mutations, "raw_ports": ports, + "route_columns": paths}) + + finite = [] + for prime, seed in MODULI: + report = physical.evaluate(phase, source, candidate, prime, seed, clock_map[131294], + prime == MODULI[0][0], require) + name = f"prior-physical-{prime}.json" + baseline = json.loads(pinned(args.inputs / name, INPUT_PINS[name])) + require(parent["artifacts"][f"PHYSICAL-{prime}.json"] == INPUT_PINS[name] + and baseline["prime"] == prime and baseline["seed"] == seed + and report["endpoint_rows"] == baseline["endpoint_rows"] == 1501 + and report["owned_zero_rows"] == baseline["owned_zero_rows"] == 68 + and report["digests"] == baseline["digests"], f"repair changes the historical dense outputs at {prime}") + for side in ("source", "candidate"): + counters = report[side] + require(counters["clears"] == 180 and counters["copy_zero_checks"] == 1 + and counters["ordered_clear_values"] == baseline["source"]["ordered_clear_values"], + f"repair changes ordered physical CLEAR payloads at {prime} ({side})") + dump(args.out / f"PHYSICAL-{prime}.json", report) + finite.append(report) + + for path, digest in pins.items(): + pinned(path, digest) + output = {"status": "PASS_7636_LOWERED_C_NATIVE", "pr": 7636, "head": build.HEAD, + "source": binding["source"], "candidate": binding["candidate"], + "source_parent_raw_sha256": build.SOURCE_RAW, "candidate_parent_raw_sha256": build.C_RAW, + "public_claim": CLAIM, "running_event": REPLAY_EVENT, "raw_ports": ports, "route_columns": paths, + "finite_replays": finite, "scalar_law": scalar, "controls": mutations, "native_paid_delta": PAID_DELTA, + "pair_counts": {k: v for k, v in move.items() if k != "rows"}, "phase_code_sha256": PHASE_CODE, + "source_schedules": {"source": schedule_a, "candidate": schedule_b}, + "artifacts": {p.name: sha(p.read_bytes()) for p in sorted(args.out.glob("*.json"))}, + "completed_at": stamp(), "elapsed_ns": monotonic_ns() - started} + dump(args.out / "RESULT.json", output) + print(f"{output['status']} word={binding['candidate']['raw_sha256']} pairs={move['fresh_pairs']} " + "path_columns=2048/2048 endpoints=1501x2 clears=180x2", flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-180-contact-application/verify.py b/research/p104-180-contact-application/verify.py new file mode 100644 index 0000000000..0ff9e0d488 --- /dev/null +++ b/research/p104-180-contact-application/verify.py @@ -0,0 +1,279 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Run the 180-CLEAR verification from the bundled inputs and receipts.""" + +import argparse +from copy import deepcopy +import gzip +from hashlib import sha1, sha256 +import json +import os +from pathlib import Path, PurePosixPath +from shutil import copy2, copytree +import subprocess +import sys +from tempfile import TemporaryDirectory +from time import monotonic, sleep + + +ROOT = Path(__file__).resolve().parent +CLAIM = "https://github.com/CrocSwap/integer-mult-bounds/discussions/7111#discussioncomment-19698656" +FILES = "INVENTORY.json" +SIDES = ("source", "candidate") +LOCAL_REPLAY = "independent-checkout-replay" + + +def require(test, reason): + if not test: + raise ValueError(reason) + + +def digest(path): + return sha256(path.read_bytes()).hexdigest() + + +def load(path): + return json.loads(path.read_bytes()) + + +def save(path, obj): + with path.open("x", encoding="utf-8") as output: + json.dump(obj, output, indent=2, sort_keys=True) + output.write("\n") + + +def check_inventory(): + inventory = load(ROOT / FILES) + pins = inventory["files"] + require(inventory["schema_version"] == 1 and inventory["file_count"] == len(pins) and pins, + "package inventory count") + observed = set() + for path in ROOT.rglob("*"): + name = path.relative_to(ROOT).as_posix() + require(not path.is_symlink(), f"package symlink {name}") + if path.is_file() and name != FILES: + observed.add(name) + require(observed == pins.keys(), f"package inventory difference: {sorted(observed ^ pins.keys())}") + for name, record in pins.items(): + rel = PurePosixPath(name) + require(rel.parts and rel.as_posix() == name and not rel.is_absolute() and ".." not in rel.parts, + "unsafe package path") + raw = (ROOT / rel).read_bytes() + require(len(raw) == record["bytes"] and sha256(raw).hexdigest() == record["sha256"], + f"package byte difference: {name}") + if record.get("origin") == "published Git blob": + git_blob = sha1(f"blob {len(raw)}\0".encode() + raw).hexdigest() + require(git_blob == record["git_blob"], f"retained Git blob difference: {name}") + if "decoded_sha256" in record: + require(sha256(gzip.decompress(raw)).hexdigest() == record["decoded_sha256"], + f"retained decoded evidence difference: {name}") + + +def python_command(work, script, *args, import_siblings=False): + argv = [sys.executable, "-I", "-B", "-X", f"pycache_prefix={work / 'new-cache'}"] + path = ROOT / script + if import_siblings: + # Isolated Python omits the script directory. Add only the pinned native + # adapter directory so its local build_low import works. + argv.extend(["-c", "import pathlib,runpy,sys\n" + "script=pathlib.Path(sys.argv.pop(1))\n" + "sys.path.insert(0,str(script.parent))\n" + "runpy.run_path(str(script),run_name='__main__')", path]) + else: + argv.append(path) + return [*argv, *args] + + +def command(work, script, *args, timeout): + subprocess.run(python_command(work, script, *args), cwd=work, check=True, timeout=timeout) + + +def build_pair(work): + regenerated = work / "regenerated" + command(work, "src/native/build_low.py", "--inputs", ROOT / "inputs/native", "--out", regenerated, + "--authorization", ROOT / "evidence/core-authorization.json", timeout=15) + brief = load(regenerated / "BINDING.json") + pair = work / "pair" + pair.mkdir() + original = load(ROOT / "evidence/BINDING.json") + for side in SIDES: + saved = ROOT / "inputs/lowered" / side + raw = gzip.decompress((regenerated / side / "WORD.json.gz").read_bytes()) + require(raw == gzip.decompress((saved / "WORD.json.gz").read_bytes()) + and sha256(raw).hexdigest() == brief[side]["raw_sha256"], f"rebuilt decoded bytes: {side}") + require((regenerated / side / "CLEAR-CERTIFICATES.json").read_bytes() == + (saved / "CLEAR-CERTIFICATES.json").read_bytes(), f"rebuilt CLEAR certificates: {side}") + # The retained grid binds the original gzip bytes. Establish decoded + # equality before copying that immutable transport for signed replay. + fields = original[side] + require(fields["gzip_sha256"] == digest(saved / "WORD.json.gz") + and fields["clear_sha256"] == digest(saved / "CLEAR-CERTIFICATES.json"), + f"retained transport binding: {side}") + copytree(saved, pair / side) + brief[side]["gzip_sha256"] = fields["gzip_sha256"] + require(brief == original, "retained build receipt differs from the cold rebuild") + copy2(ROOT / "evidence/BINDING.json", pair / "BINDING.json") + return pair + + +def exact(work): + pair = build_pair(work) + scalar = subprocess.check_output(python_command( + work, "src/check_scalar.py", ROOT / "inputs/native/raw-combined.json.gz", + pair / "candidate/WORD.json.gz"), cwd=work, timeout=20) + require(json.loads(scalar) == load(ROOT / "evidence/SCALAR-DOMAIN.json"), "scalar residue evidence differs") + result = work / "INDEPENDENT-RESULT.json" + command(work, "src/independent/verify.py", "--spec", ROOT / "INDEPENDENT.json", + "--out", result, timeout=230) + actual, expected = load(result), load(ROOT / "evidence/INDEPENDENT-RESULT.json") + for record in (actual, expected): + del record["started_at"] + del record["completed_at"] + require(actual == expected, "portable independent evidence differs") + + +def native_science(record): + data = deepcopy(record) + for name in ("completed_at", "elapsed_ns", "artifacts"): + del data[name] + for report in data["finite_replays"]: + del report["elapsed_ns"] + for side in SIDES: + # Gzip framing varies by Python and zlib. build_pair compares the exact + # decoded payload and verifies each replay's own transport hash. + del data[side]["gzip_sha256"] + return data + + +def run_native(work, wall): + """Produce a new native result and launch receipt for the signed input gate.""" + native = work / "native" + copytree(ROOT / "src/native", native) + pair = build_pair(native) + inputs = native / "inputs" + copytree(ROOT / "inputs/native", inputs) + archive = inputs / "prior-pairs.json.gz" + (inputs / "prior-pairs.json").write_bytes(gzip.decompress(archive.read_bytes())) + out = native / "replay" + log = native / "native-logs" + release = native / "native-authorization.json" + cpu = min(os.sched_getaffinity(0)) + argv = python_command(work, native / "run_guarded_low.py", "native", "--inputs", inputs, + "--out", out, "--log", log, "--authorization", release, + "--materialized", pair, "--cpu", str(cpu), "--wall", str(wall), import_siblings=True) + with subprocess.Popen(argv, cwd=work) as process: + try: + start = log / "START.json" + deadline = monotonic() + 10 + while not start.is_file(): + require(process.poll() is None and monotonic() < deadline, "native launcher did not arm") + sleep(0.1) + # The legacy gate expects the original event key. Record this + # independent checkout with its own request hash and no graph ID. + original = load(ROOT / "evidence/native-authorization.json") + origin = {k: v for k, v in original.items() if k not in {"receipt_id", "receipt_sha256"}} + request = native / "REPLAY-REQUEST.json" + save(request, {**origin, "mode": LOCAL_REPLAY, "native_start_sha256": digest(start)}) + staged = native / "REPLAY-RELEASE.json" + save(staged, {**load(request), "receipt_id": f"sha256:{digest(request)}"}) + staged.rename(release) + require(process.wait(timeout=wall + 15) == 0, "native launcher failed") + finally: + if process.poll() is None: + process.kill() + actual, expected = load(out / "RESULT.json"), load(ROOT / "evidence/NATIVE-RESULT.json") + require(native_science(actual) == native_science(expected), "portable native evidence differs") + require(actual["artifacts"]["MOVE-PAIRS.json"] == expected["artifacts"]["MOVE-PAIRS.json"], + "complete MOVE catalogue digest differs") + return native + + +def native(work): + run_native(work, 340) + + +def local_gate(work, scope, spec, fields): + path = work / "GO.json" + payload = {"mode": LOCAL_REPLAY, "status": "GO", "scope": scope, "spec_sha256": digest(spec), + "public_claim": CLAIM, "event_id": LOCAL_REPLAY, **fields} + receipt = work / "REPLAY-REQUEST.json" + save(receipt, payload) + save(path, {**payload, "receipt_id": f"sha256:{digest(receipt)}"}) + return path + + +def resources(work, case, wall): + build_pair(work) + spec = ROOT / "RESOURCE.json" + cpu = min(os.sched_getaffinity(0)) + go = local_gate(work, "7636-lowered-paired-resource", spec, + {"bounds": {case: {"cpu": cpu, "cpu_seconds": wall - 10, "wall_seconds": wall}}}) + output = work / "resources" + command(work, "src/application/resource_replay.py", "--evidence", ROOT / "application-evidence", + "--spec", spec, "--go", go, "--case", case, "--out", output, timeout=wall + 10) + result = load(output / "RESULT.json") + originals = ROOT / "evidence/resources" / ("resource-" + case) + original = load(originals / "RESULT.json") + # This runner uses the immutable originally observed compressed input, so + # proof-relevant receipts can be compared as canonical JSON objects. + for name, expected_pin in original["receipts"].items(): + expected = originals / name + require(digest(expected) == expected_pin and digest(output / name) == result["receipts"][name], + f"resource receipt hash {case}/{name}") + old, new = load(expected), load(output / name) + for record in (old, new): + if name == "GRID.json": + del record["elapsed_seconds"] + elif name == "ORDINARY.json": + del record["adapted_ordinary_sha256"] # contains the relocated input and output paths + require(new == old, f"portable resource evidence differs: {case}/{name}") + + +def signed(work): + started = monotonic() + native_root = run_native(work, 260) + spec = work / "SIGNED-SPEC.json" + command(work, "src/application/freeze_signed.py", "--core", ROOT, "--native", native_root, + "--independent", ROOT / "evidence/INDEPENDENT-RESULT.json", "--resources", ROOT / "evidence/resources", + "--out", spec, timeout=15) + remaining = 575 - int(monotonic() - started) + require(remaining >= 155, "registered signed wall budget after fresh native proof") + go = local_gate(work, "fresh-signed-7636-lowered-c", spec, + {"cpu": min(os.sched_getaffinity(0)), "wall_seconds": remaining - 5}) + command(work, "src/application/signed_replay.py", "--core", ROOT, "--spec", spec, + "--go", go, "--out", work / "signed", "--expected", ROOT / "evidence/SIGNED-EXPECTED.json", + timeout=remaining) + + +def main(): + require(sys.version_info[:2] == (3, 12) and sys.flags.isolated and sys.dont_write_bytecode and __debug__ + and sys.platform.startswith("linux"), "use Linux CPython 3.12 -I -B") + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("stage", choices=("integrity", "exact", "native", "resource-source", "resource-candidate", "signed")) + parser.add_argument("--out", type=Path, help="keep the replay in this new directory outside the package") + parser.add_argument("--resource-wall", type=int, default=420, help="wall cap for a resource replay") + args = parser.parse_args() + check_inventory() + if args.stage != "integrity": + stages = {"exact": exact, "native": native, "signed": signed} + runner = stages.get(args.stage) + if runner is None: + case = args.stage.removeprefix("resource-") + + def runner(work): + require(15 <= args.resource_wall <= 420, "finite resource wall limit") + resources(work, case, args.resource_wall) + + if args.out is None: + with TemporaryDirectory(prefix="p104-180-") as temporary: + runner(Path(temporary).resolve()) + else: + out = args.out.resolve() + require(not out.is_relative_to(ROOT), "place replay output outside the frozen input package") + out.mkdir(exist_ok=False) + runner(out) + print("PASS_180_CONTACT_APPLICATION_" + args.stage.upper().replace("-", "_"), flush=True) + + +if __name__ == "__main__": + main()