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-single-band-near-crossing/OVERLAY.json b/research/p104-single-band-near-crossing/OVERLAY.json new file mode 100644 index 0000000000..369d78deab --- /dev/null +++ b/research/p104-single-band-near-crossing/OVERLAY.json @@ -0,0 +1,64 @@ +{ + "calibration.py": { + "old_sha256": "c36a253ab22f77381fe3e36889c9175680eadfd4a1203f2047141dc7a772f679", + "new_sha256": "cca37a0142ef5118fbeef865596c9f4364f9f095e1bf99f2131b5848eef1659b", + "edits": [ + [ + " kappa=Fraction(\"0.00389011527141\"),\n)\nPROFILES = {\"compact\": COMPACT, \"high-rate\": HIGH_RATE, \"price-match\": PRICE_MATCH}\n\n\n", + " kappa=Fraction(\"0.00389011527141\"),\n)\nNEAR_CROSSING = replace(\n HIGH_RATE,\n rank_logs=tuple(512*h for h in HIGH_RATE.rank_logs),\n power=320,\n floor=1 << 44,\n bit_c=Fraction(17519521755133, 4503599627370496),\n ordinary=Fraction(\"0.003890115286380239\"),\n kappa=Fraction(\"0.00389011528633\"),\n)\nPROFILES = {\"compact\": COMPACT, \"high-rate\": HIGH_RATE, \"price-match\": PRICE_MATCH,\n \"near-crossing\": NEAR_CROSSING}\n\n\n" + ] + ] + }, + "check_product.py": { + "old_sha256": "5ace944e196d730ba966c042ddff6eccd2022e04f721619dfe47f45eefd64177", + "new_sha256": "ba04464995caea7b7aed64d265acb47623d3a7a808a6fcc86a904af216dd0fac", + "edits": [ + [ + "\n\ndef stock_and_public():\n from dataclasses import replace\n from calibration import COMPACT\n\n assert multiply(-741503, 466013) == -345550037539\n for x in (0, -1, 1, 37, -69, 2**16383 + 5):\n assert multiply(x, -997) == x * -997\n # Exercise the production stage body with a feasible rank and all 81 by 81 addresses.\n profile = replace(COMPACT, rank_logs=(1,))\n side = 3**4\n records = bytes((i * 97 + (i >> 4)) % 256 for i in range(side * side))\n", + "\n\ndef stock_and_public(selected=None):\n from dataclasses import replace\n from calibration import COMPACT\n\n selected = selected or COMPACT\n assert multiply(-741503, 466013, profile=selected) == -345550037539\n for x in (0, -1, 1, 37, -69, 2**16383 + 5):\n assert multiply(x, -997, profile=selected) == x * -997\n # Exercise the production stage body with a feasible rank and all 81 by 81 addresses.\n profile = replace(selected, rank_logs=(1,))\n side = 3**4\n records = bytes((i * 97 + (i >> 4)) % 256 for i in range(side * side))\n" + ], + [ + "\n\ndef physical_product():\n from binary_receiver import Receiver\n from module_atoms import balanced_widths\n", + "\n\ndef physical_product(selected=None):\n from calibration import COMPACT\n from binary_receiver import Receiver\n from module_atoms import balanced_widths\n" + ], + [ + " from triangular_ordinary import root_body\n\n stock_and_public()\n core = Receiver(2, balanced_widths(1), direct=True)\n calls = Counter()\n\n", + " from triangular_ordinary import root_body\n\n selected = selected or COMPACT\n stock_and_public(selected)\n core = Receiver(2, balanced_widths(1), direct=True, profile=selected)\n calls = Counter()\n\n" + ], + [ + " rectangle(restored, dst, 2, 9, prefix, gap, suffix, restrict=True)\n\n machine = Product((3, 5), 8, 136, exchange)\n row = one(machine, -741503, 466013)\n assert calls[\"shuttles\"] == 138 and row[\"H_calls\"] == 157248\n", + " rectangle(restored, dst, 2, 9, prefix, gap, suffix, restrict=True)\n\n machine = Product((3, 5), 8, 136, exchange, profile=selected)\n row = one(machine, -741503, 466013)\n assert calls[\"shuttles\"] == 138 and row[\"H_calls\"] == 157248\n" + ] + ] + }, + "independent_binary_price.py": { + "old_sha256": "1936595a79fbfa14ec74af3b4e521216740d00bd45f379b5e97a1440e5a2aaf9", + "new_sha256": "d2eedc523b02188508cca8f030ce9de92b370e8560c7282dea5c478507fb1bef", + "edits": [ + [ + " (128, 16, Fraction(2_039, 2**19), Fraction(13, 32), Fraction(1, 10_000)),\n (228, 15, Fraction(17_108_907_955, 2**42), Fraction(31, 64), Fraction(1311, 10**13)),\n )\n floors = []\n", + " (128, 16, Fraction(2_039, 2**19), Fraction(13, 32), Fraction(1, 10_000)),\n (228, 15, Fraction(17_108_907_955, 2**42), Fraction(31, 64), Fraction(1311, 10**13)),\n (320, 15, Fraction(17519521755133, 4503599627370496), Fraction(31,64), Fraction(1,2**43)),\n )\n floors = []\n" + ] + ] + }, + "strict_moment.py": { + "old_sha256": "899ce86a0e5ae0455ea6cf97934658b2fd31b81d7111cb2bd636ce10e3e7264d", + "new_sha256": "4337feda5ec1f42015ec6abd70c60224abeb2765f82610987cbb9c87d37b6109", + "edits": [ + [ + " profile.bit_c,\n Fraction(19, 64),\n Fraction(31 if profile.power == 228 else 26, 64),\n profile.power,\n profile.floor.bit_length() - 2,\n 15 if profile.power == 228 else 16,\n ),\n certify(positive, COMPLEX_C, Fraction(19, 64), Fraction(23, 64), COMPLEX_POWER, 14, 16),\n", + " profile.bit_c,\n Fraction(19, 64),\n Fraction(26 if profile.power == 128 else 31, 64),\n profile.power,\n profile.floor.bit_length() - 2,\n 16 if profile.power == 128 else 15,\n ),\n certify(positive, COMPLEX_C, Fraction(19, 64), Fraction(23, 64), COMPLEX_POWER, 14, 16),\n" + ] + ] + }, + "strong_binary.py": { + "old_sha256": "03ffb2075620fe793156e9bd22890185bef21e097abadba3a7d6cb5406051855", + "new_sha256": "ceca6107fdead262568399eed9aa17514c5e3f55dea604d6f85fc20a520992e8", + "edits": [ + [ + "@cache\ndef native_word(power=128):\n if power not in (128, 228):\n raise ValueError(\"Select a certified binary power\")\n raw = binary_ports(graph(), caller())\n", + "@cache\ndef native_word(power=128):\n if power not in (128, 228, 320):\n raise ValueError(\"Select a certified binary power\")\n raw = binary_ports(graph(), caller())\n" + ] + ] + } +} diff --git a/research/p104-single-band-near-crossing/PROOF.md b/research/p104-single-band-near-crossing/PROOF.md new file mode 100644 index 0000000000..da96e45b74 --- /dev/null +++ b/research/p104-single-band-near-crossing/PROOF.md @@ -0,0 +1,39 @@ +# The 320-factor proof extension + +This instantiates the already written [single-band compiler and integer loans](https://github.com/aliromman/integer-mult-bounds/blob/6285dd829114705862e8d91facaedc1f31d3cfcb/research/single-band-native-carriers/BAND.md) and [complete tape application](https://github.com/aliromman/integer-mult-bounds/blob/6285dd829114705862e8d91facaedc1f31d3cfcb/research/single-band-native-carriers/APPLICATION.md) on a new 320-factor price. The physical one-letter operators and sources are the 36-call BIT word and 48-call positive rational word of the exact [#8027](https://github.com/CrocSwap/integer-mult-bounds/pull/8027) and #8030 closures. In particular, the numerical supplier stays at 128 factors, carrier exponent 1,600,000 and strict full charge 10 bits. + +## Full separated binary price + +For the 320-factor ordinary word, use working ambient A=134³²⁰, maximum productive grade K=127³²⁰, floor k=15³²⁰, and maximum paid slab J=12³²⁰. Take C=17519521755133/2⁵², t=1−C, z=19/64 and w=31/64. All 104,904 original paid occurrences and 18,906 target occurrences, with the caller included, enter the one-letter masses P and T. The omitted low productive ranks are specialized on separate zero owners and return to zero, retaining their operations. The actual positive slab split preserves the projector on disjoint axes including every part of a dirty parent. + +Set + +``` +α = P_t/T_t +γ = P_(t+z)/(12^z T_t) +λ = 15^w T_(t−w)/T_t +``` + +The exact normalized full paid plus surrendered target bound is at most α³²⁰+2γ³²⁰+λ³²⁰. This follows from the two inherited power-tail inequalities on the actual slots. The directed binary-root engine and the independent rational log/exp engine both make this bound strictly smaller than 1−2⁻⁴³. The latter certifies left-over mass strictly greater than 1.3836×10⁻¹³. Even one more paid rank-one position in the underlying 36-call inventory makes its signed margin negative at t. These comparisons are made on literal histograms regenerated separately by both source readers. They also give the same directed raw bracket [0.003890115286594, 0.003890115286595]. The normalized paired-rank monotonicity of #8030 applies because every signed coefficient is identical. + +The strict surplus exceeds ε=2⁻⁴³ relative to the retained target mass as well, since the retained mass is at most T_t³²⁰. Use L=2⁴⁴ and hence Lε=2. The productive-to-paid gap is at least (15/12)³²⁰>2. Each power-of-two installation obeys N/(4A)≥K L. These are the hypotheses of the finite band calculation with true potential and integer fringe. Its normalized price, with five actual ordinary bits and a complete dyadic carrier, is below 2²⁴ using both the program’s directed log bound and the integer comparison + +``` +72^10000 · [4 (134·127)^320 · 2^44]^39 < 2^240000 . +``` + +The same exact conservative test with 23 in place of 24 fails. The 288-factor control uses the same C,z,w, cutoff and floor and fails the fixed two-tail sufficient moment certificate. Neither control is a lower bound on all alternative band certificates. + +## Generation, stock and re-entry at the six new ranks + +The new rank exponents are (12,800,000,000, 81,920,000,000, 512,000,000,000, 3,072,000,000,000, 18,432,000,000,000, 114,688,000,000,000). At each H we retain H≥512v with v=320. The number of productive and paid slots after splitting is at most 18906ᵛ+104904ᵛ+(285600/12)ᵛ<2¹⁸ᵛ. This includes every per-parent partial slab. The original 5/4 gap still gives vG<13H/4+v for the band height G. Therefore the full rejected-plus-retained candidate sum stays below N⁶⁰ and virtual column numerators and denominators below 27H+2 bits. The former common bounds N⁷⁵ for enumerated units and N⁷⁶ for external sources continue to dominate. The raw records per native instance satisfy 2⁶⁴(v+1)2²⁸ᵛ<2⁵¹²ᵛ≤N. The causal context estimate 872 v(G+1)κ+4g and the positive cap>κ+5g. The exact resource and price engines check both for κ=0.00389011528633. They reject equality in the first gate. This gives the complete bound through [the inherited signed entry, numerical recovery and ordinary-interface proof](https://github.com/aliromman/integer-mult-bounds/blob/6285dd829114705862e8d91facaedc1f31d3cfcb/research/single-band-native-carriers/APPLICATION.md) under the five premises named in the README. + +The new lower is 0.00000000000273 above #8031’s complete lower and greater than its raw upper minus the 869/H debit by about 2.6354×10⁻¹². The raw upper is 2.65×10⁻¹³ above the new lower. For the old #8030 H=1568000000000, even granting that raw upper and charging just five ordinary bits gives b₆1000000000000000/591, hence H≥1692047377327. This necessary calculation applies to that tariff and raw word, with all other losses forgiven. The different six-stage production installation here is financed in full. diff --git a/research/p104-single-band-near-crossing/README.md b/research/p104-single-band-near-crossing/README.md new file mode 100644 index 0000000000..977d3970cf --- /dev/null +++ b/research/p104-single-band-near-crossing/README.md @@ -0,0 +1,35 @@ +# A near-crossing 320-factor single-band multiplier + +The paired literal integer multiplier certifies **conditional κ ≥ 0.00389011528633** in a new profile of [#8030’s single-band construction](https://github.com/CrocSwap/integer-mult-bounds/pull/8030). This is **0.00000000000273** above [#8031](https://github.com/CrocSwap/integer-mult-bounds/pull/8031). The fixed histogram’s directed raw BIT upper endpoint is **0.003890115286595**, leaving **0.000000000000265**. That endpoint is a bound for this strictly priced raw word. + +| Quantity | #8030 price-match profile | This profile | +| --- | ---: | ---: | +| Binary tensor power | 228 | 320 | +| Source trial C | 17108907955/2⁴² | 17519521755133/2⁵² | +| Complete binary band debit, including five ordinary bits | 19 | 24 | +| Largest binary rank exponent H | 1,568,000,000,000 | 114,688,000,000,000 | +| Sufficient public-precision exponent | 1,870,297,303,584 | 136,798,773,006,437 | +| Ordinary BIT cap | 0.003890115271496 | 0.003890115286380239 | +| Complete conditional κ | 0.00389011527141 | **0.00389011528633** | + +The new carrier exponent is about 2.61× smaller than the 299,610,000,000,000 exponent used by #8031. The older #8030 price-match installation achieves its earlier rate with a smaller carrier, setup and activation. Under its five-bit ordinary tariff and four signed ticks, matching even #8031 at the unchanged raw BIT upper requires a binary rank exponent of at least 1,692,047,377,327. The exact price and applicability proof are in [PROOF.md](PROOF.md). + +## Replay + +From a CPython 3.12 checkout run + +```sh +python3.12 -IB scripts/research_package.py --package research/p104-single-band-near-crossing +``` + +The package authenticates 91 files of [#8030 at 6285dd829114705862e8d91facaedc1f31d3cfcb](https://github.com/aliromman/integer-mult-bounds/tree/6285dd829114705862e8d91facaedc1f31d3cfcb/research/single-band-native-carriers), applies the five small module updates in [OVERLAY.json](OVERLAY.json) to a private copy, and regenerates the complete profile from the actual entry points. The registered cases cover two strict source price calculations, finite band flow, dense spectral results, exact BIT charts, paid Gaussian grid and atlas, the rational physical caller, and the signed product on the candidate profile. The product checks all recovered digits, 157,248 numerical H calls, 138 rank-two shuttles, retained input bytes and pointers, and an admitted small-stage body. + +[RESULT.json](RESULT.json) retains the literal invoice and stage prices, complete resource and activation data, and rejected price controls. It rejects an additional paid rank-one call, the 288-factor sufficient test at the selected offsets and price, the exact conservative 23-bit band test, and equality at the required signed ordinary gate. No assertion is made about other 288-factor proofs or the optimal 320-factor tariff. + +The complete conditional application inherits all-column native action, owned erasure and restoration, compiler transfer, precision and tape services, and analytic recovery. The written installation and cost proof covers production sizes through its parameters. The executed operator, tape and product controls use finite dimensions. Production-dimensional execution and a practical crossover remain open. + +## Open next questions + +Can a changed literal BIT invoice give a strictly higher raw crossing? The first decisive check is a positive signed moment at 0.003890115286595 with a legal paid or productive change. Any such change requires a fresh operator, erasure, precision and outer application replay. + +Ali Romman supplied the single-band compiler, paired native circuits and all-column implementation. Clear1nsight supplied the prior compiler and refined application comparison, with earlier source and complement bounds by ToikY, Jacob Alan Sussman, DreamingOfClouds and zxv. New contributions are the directed 320-factor choice, staged proof extension, exact price controls and replay. OpenAI Codex materially assisted. The archived sources retain their original notices and licenses. The new material is Apache-2.0. diff --git a/research/p104-single-band-near-crossing/RESULT.json b/research/p104-single-band-near-crossing/RESULT.json new file mode 100644 index 0000000000..7410c801ad --- /dev/null +++ b/research/p104-single-band-near-crossing/RESULT.json @@ -0,0 +1,117 @@ +{ + "application": { + "all_size_margin_lower_at_entrance": 52916203811566, + "binary_entrance_logs": [ + 12851405687, + 94771405751, + 606771405815, + 3678771405879, + 22110771405943, + 136798771406007 + ], + "binary_rank_logs": [ + 12800000000, + 81920000000, + 512000000000, + 3072000000000, + 18432000000000, + 114688000000000 + ], + "complex_rank_log": 1600000, + "component_exponent": "39/10000", + "full_binary_debit": 24, + "full_positive_debit": 10, + "initial_s": 136798773006438, + "kappa": "389011528633/100000000000000", + "linear_geometry": { + "actual_dense_root_entry_log2": 192153584101141164, + "first_extent_bits_minus_b": -136798773006433, + "largest_axis_width": 96076792050570582, + "last_extent_bits_minus_b": -136798773006432, + "log2_axis_count": 136798773006378, + "minimum_width": 70040971779297536, + "private_clock_log2_upper": 98522853802115943526, + "public_offset_above_2_to_A": 4 + }, + "log2_all_fixed_setup_upper": 117440512000000003, + "log2_dominant_J": 117440512000000000, + "log2_rank_part_of_recurring_envelope": 11744051200000000000, + "log2_sufficient_public_precision": 136798773006437, + "native_depth_bound_at_entrance": 85511935, + "native_volume_log2_upper": 65536, + "ordinary_rate": "3890115286380239/1000000000000000000", + "positive_context_cost_bitlength_upper": 58, + "prior_geometry_at_same_n": { + "actual_dense_root_entry_log2": 3380401600608611737324541881004, + "first_extent_bits_minus_b": -136798773006433, + "largest_axis_width": 1690200800304305868662270940502, + "last_extent_bits_minus_b": -136798773006432, + "log2_axis_count": 136798773006334, + "minimum_width": 1197689874948284800076124662016, + "private_clock_log2_upper": 19622950911152985052267634460983296, + "public_offset_above_2_to_A": 4 + }, + "rate_ticks_e18": [ + 3874552957947621, + 3890052745482536, + 3890114989742051, + 3890115277625339, + 3890115285261247, + 3890115286380239 + ], + "raw_structural_nodes_log2_upper": 9673, + "stripe_excess_log_at_entrance": 11208220672142, + "stripe_margin_at_entrance": 57191165831075, + "uniform_payload_slope": "645215657/7875000000" + }, + "c": "17519521755133/4503599627370496", + "claim": "389011528633/100000000000000", + "controls": [ + "one extra paid rank one", + "288 at fixed trial and fixed Chernoff offsets", + "23-bit bound criterion fails", + "equality at the signed ordinary gate" + ], + "epsilon": "1/8796093022208", + "fixed_8030_required_H": 1692047377327, + "fixed_word_raw_gap": "53/200000000000000", + "kappa_over_8031": "273/100000000000000", + "known_good_8030_application": "389011527141/100000000000000", + "old_relaxed_ceiling": "23310348802954559/5992200000000000000", + "paid": { + "1": 48972, + "2": 44892, + "3": 1980, + "4": 1512, + "5": 1044, + "6": 2916, + "7": 480, + "14": 444, + "21": 444, + "28": 444, + "35": 444, + "42": 444, + "49": 444, + "56": 444 + }, + "productive": { + "4": 612, + "8": 14520, + "15": 444, + "22": 444, + "29": 444, + "36": 444, + "43": 444, + "50": 444, + "57": 444, + "64": 444, + "127": 222 + }, + "raw_BIT_crossing": [ + "1945057643297/500000000000000", + "778023057319/200000000000000" + ], + "source": "6285dd829114705862e8d91facaedc1f31d3cfcb", + "strict_separation": "15792067/5992200000000000000", + "strict_surplus_lower_grid_24": "27672703747/200000000000000000000000" +} diff --git a/research/p104-single-band-near-crossing/SOURCES.json b/research/p104-single-band-near-crossing/SOURCES.json new file mode 100644 index 0000000000..fa8c0b03ad --- /dev/null +++ b/research/p104-single-band-near-crossing/SOURCES.json @@ -0,0 +1,620 @@ +{ + "schema_version": 1, + "base_commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "files": [ + { + "path": "AGENTS.md", + "git_blob": "ff81117fca368042f6092964d1f54eb4e6e08fb9", + "sha256": "fece32cdec9c1572ddce354a0b623459cb2c4ca162125d36d36262a92e3caa83", + "usage": "provenance" + }, + { + "path": "autoresearch.md", + "git_blob": "2fe84a7b30b1e26e60ce0ec4775894eb1831c5d6", + "sha256": "d16f0d3bb4d4b213d06c128db6d6460b0fe9ec1ac5a6c1ea1febf1db40e7b60d", + "usage": "provenance" + }, + { + "path": "CONTRIBUTING.md", + "git_blob": "5185786f2ec00f215019fb5777d70979429690a9", + "sha256": "fcd1a8d0e52342a23b8ffa9e905e85ccc539fb084145ef016dfc93cedfb3d924", + "usage": "provenance" + }, + { + "path": "certificates/selected-result.json", + "git_blob": "75d77b328ea02ded535e7f23aee5b1e55d0bb1a8", + "sha256": "154c3d30455d778fd3343b6b4851f0fa4665f0f7625b0adb3675e2bafbbf6bf1", + "usage": "provenance" + }, + { + "path": "docs/research/agent-task-catalog.json", + "git_blob": "3404fbdd5e7529a0674eef26114b5071e4586cec", + "sha256": "ead6cdc9d0af6d58e8a49744d8ec8c7c15e13d2ba93c276c434bcf9b51b93a81", + "usage": "provenance" + }, + { + "path": "research/unconditional-batched-crt/CRT.md", + "git_blob": "d98dd8e368431cac33d5fc1c8c336696663641d6", + "sha256": "02c3a1e38cbee25aefe2640cc72676da62ba10eb7519fbcb9adb9d48b74eff2b", + "usage": "provenance" + }, + { + "path": "research/delayed-cover-physical-batch-routing/PROOF.md", + "git_blob": "af919b5ba2257c07ea17180f9b8c9fd457556079", + "sha256": "1c3dcd294d327a16fa081b7ea27497941ac6480d352f53e55e8b9e87f45d1454", + "usage": "provenance" + }, + { + "path": "notes/compact-control-movement.tex", + "git_blob": "06b6a9ef24245ac7b724c53a204635415b402357", + "sha256": "b963c3d2f4e1b7059aa289bb4b4ac89b688920bcf42f5b20d7698cdef0132cc6", + "usage": "provenance" + } + ], + "offline_predecessor": { + "head": "6285dd829114705862e8d91facaedc1f31d3cfcb", + "pr": 8030, + "tree": "3a1c001cbf175ae48ee1d56e56e4723eda1c8218", + "archive": "predecessor-8030.tar.gz", + "archive_sha256": "769d5a05cc1373fa22ed5956af636992fcd19d7e5c1753a32033a73c358cd31c", + "files": { + "ACTIVATION-SPACE.md": { + "size": 15082, + "mode": "100644", + "git_blob": "52f71ba75c3383401da5eda2c435a998629bc984", + "sha256": "e805961b0b3f5263cfb0b5c559dd99243330b8821d0a2c932c2bfabde79181c4" + }, + "ACTUAL-SETUP.md": { + "size": 6161, + "mode": "100644", + "git_blob": "61deda9516719a7039b60a0bc0f53673ad7a252d", + "sha256": "071abc2a2f9ad6d53923ccbc3f0ef09ae31430dd1ba03f54bca2bb661cda954b" + }, + "APPLICATION.md": { + "size": 11870, + "mode": "100644", + "git_blob": "07f01dadb8160dc44875a55d0884780a9ffb3649", + "sha256": "e84215c5ca9faeeb5aa9567fe6db0f1dc817bbc909c8c4e6caf3aa6d65ca938a" + }, + "BAND.md": { + "size": 16863, + "mode": "100644", + "git_blob": "bf1d63a1b7219b46dc935e734adcb22d84cac1f1", + "sha256": "4c0adb553b4357ead618e26af4fe8c600fdafc816449c54b48a9b2dfa0cff494" + }, + "LICENSE": { + "size": 11357, + "mode": "100644", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + }, + "LINEAR-GEOMETRY.md": { + "size": 21359, + "mode": "100644", + "git_blob": "b07c2127327faceb59c4e6833e592cb96c98600a", + "sha256": "8f6a9045ebcb4b8ddeb6339e7414bc897a6583e02ae689b15d4dac0394659550" + }, + "NOTICE.md": { + "size": 4296, + "mode": "100644", + "git_blob": "10167a0c8a4f2ec6af86f16acc6cad577e5aa713", + "sha256": "c00f5acddbb6516a69f1fd9a3ef01e737f4c10fabb36a19eef5623b1fbc1edbe" + }, + "README.md": { + "size": 7097, + "mode": "100644", + "git_blob": "5349b7f95653fbc85557b44540bcdf587d3b03aa", + "sha256": "0814b1c07155a037347127fc941c47ec3d5c23b8e8c06d23f46993085f0f6798" + }, + "REQUIREMENTS.json": { + "size": 6970, + "mode": "100644", + "git_blob": "64a217df2fc0012b7aab402ceeb3d5fae1f2ce9a", + "sha256": "6de3056c25423a952d35c89f661ba511594981544c4dd270f6a5b58920edb1aa" + }, + "SOURCES.json": { + "size": 3201, + "mode": "100644", + "git_blob": "94e74a7e0202e088a4fc78e7fd4aedbfda4c7043", + "sha256": "0d22a7cfdde48de7a106fca872601d5ed345a4ae3631b0acff2e05407eae2e65" + }, + "STRONG-BINARY.md": { + "size": 13442, + "mode": "100644", + "git_blob": "530be21be91f5988cb22feea134613122f9cf040", + "sha256": "548e4d8e2290c4e58845ddd20f9099d9fc866cd3b19997ad0791b056e66ccd92" + }, + "STRONG-COMPLEX.md": { + "size": 13932, + "mode": "100644", + "git_blob": "e9c08411e4cbdddb3a2c8bb1e19bc59e8c9ba6be", + "sha256": "724e816015c2329414d503a7b29683bf563be4b7469a8149cfe2cfc888696b44" + }, + "TASK.json": { + "size": 5897, + "mode": "100644", + "git_blob": "baff001ee17330bb0a4745161fc4bec7f1b369f5", + "sha256": "9372161b8b3de4bb6ec5efa1f3519a0bbe45a87c2cc8d1c5a6f76bd6f2c0da56" + }, + "VERIFICATION.md": { + "size": 6883, + "mode": "100644", + "git_blob": "00890cd08a955dcecd1b8da12478853096cd78de", + "sha256": "1906c8a2564b83df5ed386ffea3ba8c675c225051ff9800d0147223cea0fe1bd" + }, + "VERIFY.json": { + "size": 2415, + "mode": "100644", + "git_blob": "549567731dde171633082c211dd860ed8f457c19", + "sha256": "9b935893bb78c26ff753e21f290d3007762cc8f3c1781e06c13bd628632f82de" + }, + "band_compiler.py": { + "size": 3702, + "mode": "100644", + "git_blob": "49d3675027743cb7f1ed91765da5b92ba0819a90", + "sha256": "64d96e1b732117983bf5f5cba3c59ba91b672ae0f03fc23477c8727c4109a701" + }, + "band_positive.py": { + "size": 3683, + "mode": "100644", + "git_blob": "d2e6cf98c50e5a9a11ef41d5793921890bc6527d", + "sha256": "a279e7f4261f947f32f6b0e641bacf95b69755e7ac9263e3df60698bb425b5e8" + }, + "band_product.py": { + "size": 4311, + "mode": "100644", + "git_blob": "4fba42dc54ac9ccfcebe35ecbf5b4a16f130455f", + "sha256": "7feb08718d511b45d0e9f927540115c9c1526f9b65ff3dadaef55b1ac8a2b19d" + }, + "binary_receiver.py": { + "size": 4436, + "mode": "100644", + "git_blob": "d6652929234d9232d824603e15ebc2990047d216", + "sha256": "2be42f476aa71cc2d2ad44392113151e101e56f7a09b7264fc98a74393756372" + }, + "build_charts.py": { + "size": 1333, + "mode": "100644", + "git_blob": "65492d9f8d403e1f467957501ad6dd1bfd9a23ac", + "sha256": "5ae0a7e6509ed81b03e42534ea2a82a01b8edf5dec3ef9d9b9dca49bd424725c" + }, + "calibration.py": { + "size": 2963, + "mode": "100644", + "git_blob": "9992aee320983f7e0fcbd650643d2dcc4674e3c8", + "sha256": "c36a253ab22f77381fe3e36889c9175680eadfd4a1203f2047141dc7a772f679" + }, + "check_activation_space.py": { + "size": 2953, + "mode": "100644", + "git_blob": "5dfbd8e718da6bf451e440ffb0ac0bcb51a25b28", + "sha256": "51df69d2e2c396a8bf4d6f51572e3d04250237ee23b6d3bce25bf02625f07eee" + }, + "check_band.py": { + "size": 9019, + "mode": "100644", + "git_blob": "2a453d888f53d668ed573c2db80805f984f5f27a", + "sha256": "21343d0f71d82986a5cfeb2fd7f2da4836bee5ac54eeca3608d012f994c237f6" + }, + "check_dense_band.py": { + "size": 1335, + "mode": "100644", + "git_blob": "eabff4f9911ab4423ba38ea1c9a7ca737cb8e0e1", + "sha256": "7b06a2d8c0e23897b93dbd9075123553495d51258a63ee9b8c940d76cb1db44b" + }, + "check_epoch_reentry.py": { + "size": 2630, + "mode": "100644", + "git_blob": "fa1f66b44153505051ccd0c6461b7dce73394735", + "sha256": "5764c34527e1c7b06456864f8628fdd12cc8ec2f0c47f07d4a75151663abf129" + }, + "check_linear_geometry.py": { + "size": 8659, + "mode": "100644", + "git_blob": "e8c636fc61fb8e56bc840083768bfdd83c3e77af", + "sha256": "57ed4d3111de70a9ed1ac42717f7c2c9d02073878ca2b3e211cb22e2989c5616" + }, + "check_product.py": { + "size": 4876, + "mode": "100644", + "git_blob": "c1af1bd9cc64615041a0ea908ebf4d66076936de", + "sha256": "5ace944e196d730ba966c042ddff6eccd2022e04f721619dfe47f45eefd64177" + }, + "check_strong_binary.py": { + "size": 9959, + "mode": "100644", + "git_blob": "05f8801667ef417fe63a710c01ef8d94a3df0f76", + "sha256": "dd5acaa148e4bf04fd395515010660678600e7fc1e8ef806c6446a448568aa8b" + }, + "check_strong_complex.py": { + "size": 9287, + "mode": "100644", + "git_blob": "cc1232dabcf0523dd22ac3a23c2bf78b49620e90", + "sha256": "ab3ae76bfbd2238d7c41b130a4de8f73f65f7bec3bba92973d914abaaa72cd0a" + }, + "check_strong_physical.py": { + "size": 3512, + "mode": "100644", + "git_blob": "754f4430b05a2d90c0228a468f26fe8f35409b96", + "sha256": "c1497710e88267cff463ca0ad47acca4d8e88d48c8c4cf563e6ad35c2836d978" + }, + "check_strong_raw_word.py": { + "size": 6304, + "mode": "100644", + "git_blob": "32d3cc9d3ba4c2c87dec73c0254b3bf7d69adf5a", + "sha256": "946fbb355f21536287a9af5812bc833c14a50a0aa0a455c5fdaff2b28ff15465" + }, + "check_weighted_binary.py": { + "size": 6921, + "mode": "100644", + "git_blob": "5e500f36231e9575041fec8c01726605ae629013", + "sha256": "fe70753a3c62f8e3b9b39e526311ae1e5bf4743bfba9d66f0320adcbaa52fade" + }, + "epoch_tape.py": { + "size": 6294, + "mode": "100644", + "git_blob": "2a54438538061dc06f3286ef9624f43c187abb0d", + "sha256": "c66b8c040571471170581b0c577a36f5d2c1283aac517bdc6f407122b945df04" + }, + "independent_binary_price.py": { + "size": 4835, + "mode": "100644", + "git_blob": "9cc55c5655f35f99aa017cad2e59ea4d0dcaac81", + "sha256": "1936595a79fbfa14ec74af3b4e521216740d00bd45f379b5e97a1440e5a2aaf9" + }, + "inputs/complex-source.json": { + "size": 1309, + "mode": "100644", + "git_blob": "6e1030bb2e40ec36e264a27a030dcbf8e2ee5554", + "sha256": "b33575085bcaf8e646ad7656d1f8d2c7ad402712e6b49efd307fc926f2fb39b0" + }, + "inputs/complex-source/BANK-FACTORS.json.gz": { + "size": 4098, + "mode": "100644", + "git_blob": "de611b5588be4ed1a22225b030c7994d0ef3e3f1", + "sha256": "b009cd6bb13036879214cb6d43beb923578ef7fb4c83f36a1cc971ab4ea23543" + }, + "inputs/complex-source/BIDIRECTIONAL-QUOTIENT-RECEIPT.json": { + "size": 1075, + "mode": "100644", + "git_blob": "7606122e82f72718048e6c53e9cd37ba684d11fc", + "sha256": "459f519593242a3e8ecf42817f178fb214a6833e0df0e1ce727c5809035d02de" + }, + "inputs/complex-source/BIDIRECTIONAL-QUOTIENT.json.gz": { + "size": 42126, + "mode": "100644", + "git_blob": "93b35fe94405b77409182cf0d3de06c2227ea096", + "sha256": "ed725d5c69a507352efc6a18f3e4f7e5c20592a655a7b80193034232feb43d6f" + }, + "inputs/complex-source/BIDIRECTIONAL.json.gz": { + "size": 115971, + "mode": "100644", + "git_blob": "3c91100fb02b95bf163fcccd1637dcc0bfc1b48a", + "sha256": "baf07c7085f588ce06201e2a6bf4f5f58632801202783ca195d3b8369ff74836" + }, + "inputs/complex-source/HELPER-SPLITS-RECEIPT.json": { + "size": 995, + "mode": "100644", + "git_blob": "f35d9f85be917ddc6f6743b4b45fd4a8274fc69c", + "sha256": "712b783baf1463b738bd5c5ad3023bf42681d7d0105dd550ba3549c02674f711" + }, + "inputs/complex-source/HELPER-SPLITS.json": { + "size": 3361, + "mode": "100644", + "git_blob": "a6225bf11bc9b0710f9f123da2143c1039e91dc0", + "sha256": "f70ba89a9ed5839476bbe298d4cb8f4d9eeb703621d5f478c884861cdd91fb20" + }, + "inputs/complex-source/LAYOUT.json.gz": { + "size": 7865, + "mode": "100644", + "git_blob": "3ee3637e63e4a2c135b29ae44b39937d6f33ab4b", + "sha256": "84cd1d11ff454eecf3504e4b3f26adc371539b17553bfce1bcfda7a331811998" + }, + "inputs/complex-source/LICENSE": { + "size": 11357, + "mode": "100644", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + }, + "inputs/complex-source/PARENT-NOTICE": { + "size": 1694, + "mode": "100644", + "git_blob": "fe51894a1a630c6feee4b13da2a0499e41ee6edf", + "sha256": "b213998c8dae6d88e4a1f0fd17c81dd78c31ef35bc9460fa16ca692326f1a02b" + }, + "inputs/complex-source/WORD.json.gz": { + "size": 617321, + "mode": "100644", + "git_blob": "31786df96c1da3fe7adc42e30839265b29a90964", + "sha256": "731246c085638706bdb97e7e88618f8923e27ee4ce8eb4869f0847f8f4699f7c" + }, + "inputs/complex-source/replay.py": { + "size": 10929, + "mode": "100644", + "git_blob": "129817a60c7949749d22b9a0523aa27cea4780c9", + "sha256": "9c847a1242e730acf1dfd3a83f4801470e3e2da6c3079f53ccb7ada620b37a7b" + }, + "inputs/complex-source/verify_bidirectional.py": { + "size": 6798, + "mode": "100644", + "git_blob": "dad44147182f126ff75757bd14977d04272aed3c", + "sha256": "ef85db5c6f348b55e0db4d61517dde6a58b027737037e14b9fdea04f8b96e716" + }, + "inputs/complex-source/verify_component.py": { + "size": 7051, + "mode": "100644", + "git_blob": "6f2aff9a042ced040502e3e9fef0b47adc428f59", + "sha256": "163b1ca3a35531da94ef454229f040592c754675f59dfb805d0a9aadb33b8d65" + }, + "inputs/complex-source/verify_split_helpers.py": { + "size": 3731, + "mode": "100644", + "git_blob": "d596f75f1ff185c642f66209f04315d4770a1186", + "sha256": "6a0b59657bd1902d19b9c0f8badef2caa13c8ba84e0311550d6391360bdf186b" + }, + "inputs/new-charts.json.gz": { + "size": 1464, + "mode": "100644", + "git_blob": "04d818a87cac2b384cba4358b26d6e40d592552f", + "sha256": "b626b1ebc3359a36c4437b6916a340597bc74403b65f5a05f057602f5b6d35b0" + }, + "inputs/review.json": { + "size": 1445, + "mode": "100644", + "git_blob": "be3441d8ebb63d2235593a74c2a186dcea711dff", + "sha256": "614a5d273fc8a676b12d512ae9282f88990e696f978a2800f6cd7f986d295874" + }, + "inputs/review/check_complex.py": { + "size": 6659, + "mode": "100644", + "git_blob": "e1c0793e65ee4968f69f02ff947719ada284cc42", + "sha256": "ce8dc94ccc9fc780b991aad35aceba03b95335f9fd5b77235deb9e1a7f52e9f8" + }, + "inputs/review/check_periodic.py": { + "size": 7672, + "mode": "100644", + "git_blob": "f18ce6df234bcddb21fd46871773f25a66cf9fa5", + "sha256": "c1a5c81b5a4121498886758dd021ffdaa237c9fdc6e71e0d315a80947edc70d5" + }, + "inputs/review/check_powered.py": { + "size": 5924, + "mode": "100644", + "git_blob": "2f1c1192cdc2fe298622a837f830182e5c231c0b", + "sha256": "fc81d8d652b4290f473874114f72d4c7c8213ee4f26f5be8968894e01f786c35" + }, + "inputs/review/clifford_exact.py": { + "size": 6824, + "mode": "100644", + "git_blob": "166841a037f069249f6f7f6dedb89248812f59e2", + "sha256": "2982ead07721e83358dc67c6f49c2b4c16a236a6bebdfd72f58221be1f5d0962" + }, + "inputs/review/graph_identity.py": { + "size": 3801, + "mode": "100644", + "git_blob": "b372fd19ed4d24a630d04d3e51f9c7e55bf8e902", + "sha256": "90440581667a00a8e0a8e02a8a5a196a88dc0edb48eb8e89c22603e615524681" + }, + "inputs/review/native_verify.py": { + "size": 12323, + "mode": "100644", + "git_blob": "2c209dfa9cfade3bc20ac5fc9d876b433a147f8c", + "sha256": "3049471905b47b385c88378a1a3be7a18b8858aadd035b8a6da2f4a03b470f38" + }, + "inputs/triangular.json": { + "size": 1314, + "mode": "100644", + "git_blob": "349cba11da90a2ff5539dec904389cb904899b52", + "sha256": "8474fd210582be93568bef852910cc9a11fbfc5da710e29dd4ce50fbf47be54d" + }, + "inputs/triangular/LICENSE": { + "size": 11357, + "mode": "100644", + "git_blob": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + }, + "inputs/triangular/NOTICE.md": { + "size": 3860, + "mode": "100644", + "git_blob": "9323d93ce13ff8f924006a4218f94efb9edebc52", + "sha256": "7ec57034ab47631a47e35ab9cd86a563a6a4bb2ce7397d545861f898281c696c" + }, + "inputs/triangular/direct_body.py": { + "size": 6255, + "mode": "100644", + "git_blob": "e8d742d9efab1be4283c7b13d0a17c6faad0d989", + "sha256": "f4ca3082b95f958b50f84a3c138667add0051d6a796e7f63afe95d41cf24e7af" + }, + "inputs/triangular/inputs/retained.json": { + "size": 6679, + "mode": "100644", + "git_blob": "43a35ae8c03f612b57705b3b80caa38f5d91ae22", + "sha256": "4d0dd81eb156c97403d752a3dc654d85a93b0284aed8cfa5eed840259f6abd88" + }, + "inputs/triangular/inputs/retained.tar.gz": { + "size": 1083295, + "mode": "100644", + "git_blob": "c1a75d8f555f109cb522d3050ce00d75b20efdb8", + "sha256": "77742c09b088f27e8742c3fad7b7148d3397e4d51b95312106f39a8970165903" + }, + "inputs/triangular/limb_scale.py": { + "size": 3839, + "mode": "100644", + "git_blob": "2c7243ddb889b5fd858d0b6714a43b5af02bfb78", + "sha256": "ed7c27348c2bc8259683b617c45bb0ee6aacb781c0ad04168c59035b7b5cf8ff" + }, + "inputs/triangular/multiplier.py": { + "size": 4185, + "mode": "100644", + "git_blob": "512cc8cba444b4579b414bef843d7d376ecf4067", + "sha256": "e805fb05caaa76d4c65dc3a55b99c6332a1c3772516547cf24e8027ade718cf4" + }, + "inputs/triangular/quotient_route.py": { + "size": 11607, + "mode": "100644", + "git_blob": "fc8502647a9626ffd4047cb7046b80ecc83afb5c", + "sha256": "3243f45d6097a80bc8b077d8682426e4555f6c4a3097bd0a12ffd4f1f5c45ba8" + }, + "inputs/triangular/receiver.py": { + "size": 10352, + "mode": "100644", + "git_blob": "37646beb735d42e86f3f9d54b6d0997a7eee30da", + "sha256": "09d2e9508e3e34934a6f2132c6e864f6b4ba68fa96aaadbec0a1902aa7762642" + }, + "inputs/triangular/retained.py": { + "size": 1830, + "mode": "100644", + "git_blob": "47d494454262cf9a12ec9ca57b9da5bb38dd5bc6", + "sha256": "970e71bb0fcab41a03ccc5068ddc5e0df5c00953098f542fdc1a3e0e2048ffda" + }, + "inputs/triangular/same_order_body.py": { + "size": 6478, + "mode": "100644", + "git_blob": "0b7afa194a7152cf221964a14ebfffc642209fcf", + "sha256": "56a15ce431daf25794741cb5157e136ce509ed646b32aaea34348088396e459d" + }, + "inputs/triangular/staged_carriers.py": { + "size": 5578, + "mode": "100644", + "git_blob": "4dd73b0d36850c80e2f446096d971fd0b1b409aa", + "sha256": "6c925ae4b39dc9999ac5891d1a27dcbb38e129a36e1473b2b418f27a806b6fc4" + }, + "inputs/triangular/triangular_ordinary.py": { + "size": 3674, + "mode": "100644", + "git_blob": "f9f44f18527ae0c7f705558962aea519ca7bc107", + "sha256": "1f69f21881229566e0b251a2edd8a3c9ac6409eeebdb68ee046f27e74dd8af71" + }, + "lean/.gitignore": { + "size": 7, + "mode": "100644", + "git_blob": "01f8cdb637da2370fa79960e25efa59dd8cffd6d", + "sha256": "fde850d24186b6e99c8c0debd641fb3ab85198b109eb66f71a1fea02bd6ea1b3" + }, + "lean/BandFlow.lean": { + "size": 15134, + "mode": "100644", + "git_blob": "71e109b0abba123f91302a913cf51d5e3b2ac631", + "sha256": "c47338afcf5a35e992df47ea4d11e89709a848041ef680a77c39acd57384342a" + }, + "lean/Profiles.lean": { + "size": 2148, + "mode": "100644", + "git_blob": "2423069aa74f1c739858c5a8fb272c0665cd9879", + "sha256": "53bcad234dac897478d35260598d602cc79b545e979df18efb6f82ba6667617a" + }, + "lean/SquareSieve.lean": { + "size": 6694, + "mode": "100644", + "git_blob": "183d1e6705049461e4375fe2b4d21cacc324d10d", + "sha256": "4aa9e9693a8006981aac783f7a7302b4102505c544203f69062d3073c4e83618" + }, + "lean/lake-manifest.json": { + "size": 3551, + "mode": "100644", + "git_blob": "f27574d9f7d30f24567df0789cd81751f0819998", + "sha256": "3b30b2d7e59f23142ff2028b8beec632936359b7fe3e904e8984d842a44b1488" + }, + "lean/lakefile.toml": { + "size": 304, + "mode": "100644", + "git_blob": "cac451e8fbd658c5c88eb6b8511b943bfce75d07", + "sha256": "34e23113b620bf67211a36526ebb9a768d4cddb5ba2e990b8d3222540875e19d" + }, + "lean/lean-toolchain": { + "size": 25, + "mode": "100644", + "git_blob": "ba8ebf2dbaf6a668cd2a0e086186d6d569b69ff5", + "sha256": "d5edba4e4b8faad9c1baeadb265716d20d03be4d1a2647dc5e35b0c0325bea7b" + }, + "linear_geometry.py": { + "size": 3145, + "mode": "100644", + "git_blob": "f042bfa42f75bfb3d2b59501b13f54aad197a9bf", + "sha256": "6628fcddf1eed2ffa39c2d3256d79577b950e04c4a688161a66ba92baa3fb7c2" + }, + "ordinary_carrier.py": { + "size": 2681, + "mode": "100644", + "git_blob": "15382c98cb39d8f0ef999f8cfd46aaa5e23e8a96", + "sha256": "c8e87147661a394bc7e1b879744546b7697fcde7f3636556b39ca1623a9d7b31" + }, + "positive_dispatch.py": { + "size": 2393, + "mode": "100644", + "git_blob": "6846c690e0292e9c9f1d19fb6cac3713ea0c1e73", + "sha256": "8bd147f6fd1a22b8b4519d165a290b46ab50870246345cbb0740a405f49a9a73" + }, + "prior_setup.py": { + "size": 2905, + "mode": "100644", + "git_blob": "282d755de195893b85f33ceed9d5d017e3e97a25", + "sha256": "28fa12b5290033e50e145e374d2c42b564b30ecdb2f4309213834b5a10981d5a" + }, + "resources.py": { + "size": 2918, + "mode": "100644", + "git_blob": "36cf93f347623bfe15a8fdf9a0178db68dd155a8", + "sha256": "13027d55cb74e2f53f2c182c6dce3a99c0886d2f6bc51da62df5746e3054f94e" + }, + "strict_moment.py": { + "size": 2618, + "mode": "100644", + "git_blob": "f95dff0192befe7631d1df9fc8261de98e051765", + "sha256": "899ce86a0e5ae0455ea6cf97934658b2fd31b81d7111cb2bd636ce10e3e7264d" + }, + "strong-bit.json.gz": { + "size": 135471, + "mode": "100644", + "git_blob": "16f8cafb1c4d139a99a62e46eb40c118e6176c34", + "sha256": "74e93daf2b7acf794ffb51f92f03f51556f68126d41ee13a8969bddb4cbe6326" + }, + "strong_binary.py": { + "size": 4722, + "mode": "100644", + "git_blob": "913e4faaa31709796e0bc70d9ae120555acadad0", + "sha256": "03ffb2075620fe793156e9bd22890185bef21e097abadba3a7d6cb5406051855" + }, + "strong_complex.py": { + "size": 4381, + "mode": "100644", + "git_blob": "3d5fa9f9b2bdecd9aa179af7d1fc55d3e998bb4e", + "sha256": "0c9a103a322df6c18b9b3754e5756f07ce02130a131d20a1bb254d47175cfa5e" + }, + "upstream.py": { + "size": 1128, + "mode": "100644", + "git_blob": "f68872df228508a3227cbb406caab27ddd0e5655", + "sha256": "d9b079965d8abc04be3eda662fc84ba9a08c4f03e8ccc7bd3e775876164e6c10" + }, + "verify.py": { + "size": 3506, + "mode": "100644", + "git_blob": "c0b5cbeba13d70d534e697c4288b62fb86259430", + "sha256": "20ab1e4bc2d2944ddb59f774c09977439a70e10389b7f28454f0b00fd81d5cc9" + }, + "verify_formal.py": { + "size": 1959, + "mode": "100644", + "git_blob": "0f35787441541c83b82422a81e1a28a7fc3f6550", + "sha256": "b9e908e09467794a52fd10d32ed6a1eb6f63e1d37726520af493825285f1db85" + }, + "verify_sources.py": { + "size": 2347, + "mode": "100644", + "git_blob": "a3ef7f778829e73ee80fcda0fb0df3f864359b84", + "sha256": "6ef97baeafb01cb0fc9afb6ff7beb779cea93755620f836f9e4db5307e3cd365" + } + } + }, + "comparative_price": { + "pr": 8031, + "head": "745f2763cbe4eaa83cb0aa7d1dcebd4823668f08", + "kappa": "0.00389011528360", + "uniform_debit_numerator": 869, + "H": 299610000000000 + }, + "paired_native_source": { + "pr": 8027, + "head": "fb9b6a7b0d27da1cf98430893a3016bf811e2aa4" + } +} diff --git a/research/p104-single-band-near-crossing/TASK.json b/research/p104-single-band-near-crossing/TASK.json new file mode 100644 index 0000000000..788b297701 --- /dev/null +++ b/research/p104-single-band-near-crossing/TASK.json @@ -0,0 +1,81 @@ +{ + "schema_version": 1, + "task_id": "selected-stock-envelope", + "priority_revision": 8, + "base_commit": "e54523517d0f03e58352e647c403a5af3e525a57", + "original_card": { + "id": "selected-stock-envelope", + "question": "What explicit uniform stock envelope does the actual selected stopped producer supply at one bootstrap stage?", + "starting_points": [ + "research/selected-bootstrap-stock-audit/README.md", + "research/bootstrap-cutoff-time-space-split/README.md", + "certificates/selected-result.json", + "docs/research/community-efficient1000-review.md", + "research/stock-margin-chain/README.md" + ], + "methods": [ + "Derive a source-bound reserve recurrence at the actual selected atom widths, separating parent stock from completed inner borrowing.", + "Find an exact missing implication or counterexample to a proposed selected-stage stock envelope." + ], + "acceptance_gate": "Bind every coefficient and depth factor to the selected producer and state the width domain. Compare a proved envelope with the sufficient cutoff guard; a large numerical headroom or a historical m=120 coefficient is not a selected m=73 proof.", + "first_step": { + "command": [ + "python3", + "-B", + "scripts/research_selected_baseline.py" + ], + "expected": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY", + "inspect": "Resolve the current selected review, separate complex/ordinary BIT/admitted BIT/outer budgets, and compare the card against live handoffs before starting. Historical ceilings require exact source/model equivalence.", + "scope": "Source-binding orientation only; not a scientific replay or all-size proof. Materialize selected inputs if this checkout is sparse." + }, + "first_experiment": "Choose one actual selected producer/stage and derive its parent reserve and depth coefficient from source. Check whether newer handoffs already cover that exact obligation. Stop with the missing implementation lemma if it cannot be bounded; do not rerun #2972 cutoff/headroom arithmetic as a new contribution.", + "bottleneck_link": "This reduces a concrete inherited implementation obligation without confusing unchanged kappa arithmetic with a completed theorem.", + "allowed_variations": [ + "One stage or one explicit reserve/depth implication.", + "An independently checked same-domain proof repair, retaining all remaining assumptions." + ], + "scope_change_triggers": [ + "Importing the historical 57604 or 252 allowance without a selected-producer binding.", + "Calling a conditional fit lemma a full outer-proof adoption.", + "Replacing an actual selected stock coefficient with cutoff comparisons or a conditional fit inequality." + ], + "overlap_terms": [ + "selected stock", + "stock envelope", + "bootstrap cutoff", + "1956", + "1965", + "1990", + "2972", + "stock-margin-chain", + "actual_stock_coefficient" + ], + "existing_checks": [ + { + "scope": "Retained stock audit identifies missing actual selected-stage coefficients; later cutoff-chain arithmetic does not supply them.", + "evidence": "docs/research/research-family-status.md#revision-6-handoffs-source-archives-awaiting-independent-validation", + "remaining": "Derive one actual reserve/depth coefficient from the selected producer.", + "status": "reviewed", + "source_commit": "836b19bfa309ceafbc8ee32a15e8c4b10dde7e11", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + } + ] + }, + "scope_status": "refined", + "scope_change_reason": "Instantiate the #8030 full-tape one-band construction using a higher exact price and 320 factors, and compare against the #8031 larger-carrier result.", + "actual_scope": "Prove and replay the specified 320-factor binary profile in the complete paired one-band machine.", + "bottleneck_link": "The existing 228-factor compact price-match installation is below the minimum carrier exponent for the new signed rate under its stated tariff.", + "stop_rule": "Authenticate the predecessor, pass two exact strict-moment prices, all finite geometry and precision conditions, the six paid ordinary stages and eight targeted replay commands with their controls.", + "outcome": "completed", + "evidence": "README.md, PROOF.md, RESULT.json and registered replay in VERIFY.json.", + "author": "Clear1nsight", + "ai_assistance": "OpenAI Codex materially assisted the parameter search, proof, implementation and verification.", + "open_questions": [ + { + "question": "Can a changed literal source cross the paired raw upper 0.003890115286595?", + "why_it_matters": "Only 2.65e-13 remains at the measured precision of the fixed-word upper.", + "first_step": "Use a source-preserving candidate with a lowered paid or higher productive rank and check the exact signed moment at the current raw upper.", + "blocked_by": "A legal changed source with exact operator, erasure and precision replay." + } + ] +} diff --git a/research/p104-single-band-near-crossing/VERIFY.json b/research/p104-single-band-near-crossing/VERIFY.json new file mode 100644 index 0000000000..22a633810e --- /dev/null +++ b/research/p104-single-band-near-crossing/VERIFY.json @@ -0,0 +1,97 @@ +{ + "schema_version": 1, + "status": "ready", + "python": "3.12", + "requirements": [], + "inputs": [], + "commands": [ + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "price" + ], + "timeout_seconds": 55, + "checks": "Check both strict moment engines, every stage invoice and the complete candidate activation and stock receipt." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "band" + ], + "timeout_seconds": 20, + "checks": "Rebuild exact band flow, fringe, field loans, returns and installed epoch reentry." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "dense" + ], + "timeout_seconds": 42, + "checks": "Rebuild and independently compare the finite dense complete transform." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "binary" + ], + "timeout_seconds": 70, + "checks": "Recheck the literal native BIT projectors, operator, resource counts and both word orientations." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "grid" + ], + "timeout_seconds": 55, + "checks": "Check every paid Gaussian scalar grid entry." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "atlas" + ], + "timeout_seconds": 325, + "checks": "Rebuild the actual rational atlas, phases, 48-call caller and ownership." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "physical" + ], + "timeout_seconds": 300, + "checks": "Replay the changed rational dense transports and full signed caller returns on the source physical fields." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py", + "product" + ], + "timeout_seconds": 333, + "checks": "Run the real signed public tape entry, admitted small stage body and full finite Fourier product with the new profile." + } + ] +} diff --git a/research/p104-single-band-near-crossing/check_profile.py b/research/p104-single-band-near-crossing/check_profile.py new file mode 100644 index 0000000000..a425a0da81 --- /dev/null +++ b/research/p104-single-band-near-crossing/check_profile.py @@ -0,0 +1,117 @@ +# SPDX-License-Identifier: Apache-2.0 +"""Check the new profile inside the authenticated, privately adapted #8030 export.""" +from collections import Counter +from dataclasses import replace +from fractions import Fraction as Q +from pathlib import Path +import json +import sys + +HERE=Path(__file__).resolve().parent +sys.path.insert(0,str(HERE)) +from upstream import install +install() +from binary_receiver import Receiver, source_rule +from calibration import GAP, NEAR_CROSSING, PRICE_MATCH, prices +from independent_binary_price import mass, rank_price, raw_moments +from module_atoms import balanced_widths +from resources import requirements +from strict_moment import certify +from strong_binary import caller,graph,native_word + +RAW_LEFT = Q('.003890115286594') +RAW_RIGHT = Q('.003890115286595') +SOURCE_COMPLEMENT_CLAIM = Q('.00389011528360') +PEER_PRICE_MATCH_H = 1_568_000_000_000 +REFERENCE_H = 299_610_000_000_000 + + +def check(ok,msg): + if not ok: + raise ValueError(msg) + + +def powers(targets,paid,c,v): + t=1-c; z=Q(19,64); w=Q(31,64) + denom=mass(targets,t,0) + alpha=mass(paid,t,1)/denom + gamma=mass(paid,t+z,1)/(rank_price(12,z)[0]*denom) + loss=rank_price(15,w)[1]*mass(targets,t-w,1)/denom + bound=alpha**v+2*gamma**v+loss**v + check(0=2*12**v and 134**v<2**(8*v) and 512*v<=min(Hs), 'ambient, integer separation and generation budget') + check(18_906**v+104_904**v+23_800**v < 2**(18*v), 'all physical tuple and split positions including remainders') + check(5**13>16*4**13 and 18*(Q(13,4)+Q(1,512))<60 and 8*(Q(13,4)+Q(1,512))<27, + 'virtual height, unit enumeration and exact integer-column widths') + check(2**64*(v+1)*2**(28*v)<2**(512*v), 'every raw native record at each production carrier') + check(872*(Q(13,4)+Q(2,512))*(512*v)<2**(512*v), 'active causal context allowance at the first possible width') + check(72**10000 * (4*(134*127)**v*profile.floor)**39 < 2**240000, + 'independent 24-bit band with complete ordinary factor') + check(72**10000 * (4*(134*127)**v*profile.floor)**39 >= 2**230000, + '23 bits fails this exact conservative tariff test') + + +def main(): + p=NEAR_CROSSING; v=p.power; c=p.bit_c + t,pay=raw_moments(graph(),caller()) + word=native_word(v) + check(Counter(x.rank for x in word.targets)==t and Counter(x.rank for x in word.paid)==pay, + 'both independent literal invoice reconstructions agree') + check(sum(r*n for r,n in pay.items())==285_600 and max(t)==127 and max(pay)==56, 'true physical histogram') + check(mass(t,1-RAW_LEFT,0)>mass(pay,1-RAW_LEFT,1) and mass(pay,1-RAW_RIGHT,0)>mass(t,1-RAW_RIGHT,1), + 'directed raw crossing endpoints on the literal word') + check(dict((r,t[r]-pay[r]) for r in range(1,9))==dict(enumerate((-48972,-44892,-1980,-900,-1044,-2916,-480,14520),1)), + 'same monotone paired-rank crossing contract') + check(cmass(t,1-c,1), 'one additional paid rank-one call rejects the strict trial') + first=certify(word,c,Q(19,64),Q(31,64),v,43,15) + check(first['raw_paid']==104904 and first['raw_productive']==18906,'independent dyadic finite source gate') + strict_upper=powers(t,pay,c,v) + check(strict_upper < 1-Q(1,2**43),'independent rational series certificate') + check(powers(t,pay,c,288)>=1,'preceding factor-count control for the chosen sufficient tariff') + check_operator_quantities(word,p) + physical=Receiver(2, balanced_widths(1), direct=True, profile=p) + check(physical.rule is source_rule(v) and physical.rule.word is word and physical.stock>0, + 'candidate supplied to the actual receiver with a legal finite stock') + rb,rz,rows=prices(p) + stock=requirements(p) + check(rb==24 and rz==10 and len(rows)==6 and p.kappa+4*GAP0, 'six ordinary stages, positive charge and outer guards') + try: + prices(replace(p,ordinary=p.kappa+4*GAP)) + except ArithmeticError as e: + check('numerical consumer' in str(e),'boundary control failed at exact intended gate') + else: + raise ValueError('strict signed ordinary equality passed') + old_upper=RAW_RIGHT-Q(869,REFERENCE_H) + hmin=5/(RAW_RIGHT-SOURCE_COMPLEMENT_CLAIM-4*GAP) + match_ceiling=RAW_RIGHT-Q(5,PEER_PRICE_MATCH_H)-4*GAP + check(p.kappa>old_upper>SOURCE_COMPLEMENT_CLAIM>match_ceiling and hmin//1+1==1692047377327, + 'strict comparison and scoped stock-floor obstruction') + event={'source':'6285dd829114705862e8d91facaedc1f31d3cfcb','paid':dict(sorted(pay.items())), + 'productive':dict(sorted(t.items())),'c':str(c),'epsilon':str(Q(1,2**43)), + 'strict_surplus_lower_grid_24':str(Q(((1-strict_upper)*10**24)//1,10**24)), + 'application':stock,'raw_BIT_crossing':[str(RAW_LEFT),str(RAW_RIGHT)], + 'claim':str(p.kappa),'kappa_over_8031':str(p.kappa-SOURCE_COMPLEMENT_CLAIM), + 'old_relaxed_ceiling':str(old_upper),'strict_separation':str(p.kappa-old_upper), + 'fixed_word_raw_gap':str(RAW_RIGHT-p.kappa),'fixed_8030_required_H':int(hmin)+1, + 'known_good_8030_application':str(PRICE_MATCH.kappa), + 'controls':['one extra paid rank one','288 at fixed trial and fixed Chernoff offsets', + '23-bit bound criterion fails','equality at the signed ordinary gate']} + txt=json.dumps(event,sort_keys=True,indent=2)+'\n' + if len(sys.argv)>1: + Path(sys.argv[1]).write_text(txt) + else: + print(txt,end='') + print('PASS_320_PROFILE_STRICT_ORDINARY_AND_SIGNED_APPLICATION',str(p.kappa),flush=True) + + +if __name__=='__main__': + main() diff --git a/research/p104-single-band-near-crossing/predecessor-8030.tar.gz b/research/p104-single-band-near-crossing/predecessor-8030.tar.gz new file mode 100644 index 0000000000..e00a6bfe83 Binary files /dev/null and b/research/p104-single-band-near-crossing/predecessor-8030.tar.gz differ diff --git a/research/p104-single-band-near-crossing/verify.py b/research/p104-single-band-near-crossing/verify.py new file mode 100644 index 0000000000..2f91815cd2 --- /dev/null +++ b/research/p104-single-band-near-crossing/verify.py @@ -0,0 +1,117 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: Apache-2.0 +"""Verify the portable #8030 tree, apply the reviewed extension, and replay one check.""" +from argparse import ArgumentParser +from hashlib import sha1,sha256 +import json +from pathlib import Path,PurePosixPath +import shutil +import subprocess +import sys +import tarfile +from tempfile import TemporaryDirectory + +HERE = Path(__file__).resolve().parent +PARENT = '6285dd829114705862e8d91facaedc1f31d3cfcb' +TREE = '3a1c001cbf175ae48ee1d56e56e4723eda1c8218' + + +def check(ok,message): + if not ok: + raise ValueError(message) + + +def git_oid(kind,raw): + return sha1(kind.encode()+b' '+str(len(raw)).encode()+b'\0'+raw).hexdigest() + + +def tree_id(files): + nodes={}; entries=[] + for name,(mode,oid) in files.items(): + node,sep,rest=name.partition('/') + if sep: + nodes.setdefault(node,{})[rest]=(mode,oid) + else: + entries.append((node,mode,oid)) + entries.extend((name,'40000',tree_id(rows)) for name,rows in nodes.items()) + entries.sort(key=lambda row:(row[0]+('/' if row[1]=='40000' else '')).encode()) + return git_oid('tree',b''.join(mode.encode()+b' '+name.encode()+b'\0'+bytes.fromhex(oid) + for name,mode,oid in entries)) + + +def restore(path): + spec=json.loads((HERE/'SOURCES.json').read_bytes())['offline_predecessor'] + check(spec['head']==PARENT and spec['tree']==TREE,'exact public predecessor head and package tree') + archive=HERE/spec['archive'] + check(sha256(archive.read_bytes()).hexdigest()==spec['archive_sha256'],'portable archive') + rows={} + with tarfile.open(archive) as tar: + for item in tar: + name=item.name + parts=PurePosixPath(name).parts + check(parts and '/'.join(parts)==name and '\\' not in name and + all(x not in ('/', '.', '..') for x in parts) and name not in rows,'unique confined package path') + expected=spec['files'].get(name) + check(expected and item.isfile() and not item.linkname and + 0<=item.size==expected['size']<=4*1024*1024,'registered regular source') + with tar.extractfile(item) as content: + data=content.read() + check(len(data)==item.size and git_oid('blob',data)==expected['git_blob'] and + sha256(data).hexdigest()==expected['sha256'] and expected['mode'] in ('100644','100755'),f'literal provenance {name}') + dest=path.joinpath(*parts);dest.parent.mkdir(exist_ok=True,parents=True) + with dest.open('xb') as out:out.write(data) + rows[name]=(expected['mode'],expected['git_blob']) + check(len(rows)==91 and set(rows)==set(spec['files']) and tree_id(rows)==TREE,'complete exact #8030 Git package') + + +def apply_overlay(path): + overlay=json.loads((HERE/'OVERLAY.json').read_bytes()) + expected={'calibration.py','check_product.py','independent_binary_price.py','strict_moment.py','strong_binary.py'} + check(set(overlay)==expected,'exact list of changed modules') + for name,info in overlay.items(): + source=path/name + check(sha256(source.read_bytes()).hexdigest()==info['old_sha256'],'old code '+name) + text=source.read_text() + for before,after in info['edits']: + check(text.count(before)==1,'unique patch anchor '+name) + text=text.replace(before,after) + data=text.encode() + check(sha256(data).hexdigest()==info['new_sha256'],'new code '+name) + source.write_bytes(data) + # Rebuild the profile table via the actual code. Every predecessor row is retained. + generated=subprocess.check_output([sys.executable,'-IB',path/'verify.py','resources'],cwd=path) + previous=json.loads((path/'REQUIREMENTS.json').read_bytes());new=json.loads(generated) + check({name:row for name,row in new.items() if name!='near-crossing'}==previous,'unchanged prior installations') + (path/'REQUIREMENTS.json').write_bytes(generated) + shutil.copyfile(HERE/'check_profile.py',path/'check_profile.py') + + +def run(path,name,*args): + subprocess.run([sys.executable,'-IB',path/name,*args],cwd=path,check=True) + + +def main(): + p=ArgumentParser(description=__doc__) + p.add_argument('case',choices=('price','band','dense','binary','grid','atlas','physical','product')) + a=p.parse_args() + check(sys.version_info[:2]==(3,12) and sys.implementation.name=='cpython' and __debug__,'CPython 3.12 with assertions') + with TemporaryDirectory(prefix='single-band-320-') as work: + root=Path(work);path=root/'package';path.mkdir() + restore(path);apply_overlay(path) + if a.case=='price': + out=root/'result.json' + run(path,'check_profile.py',out) + check(out.read_bytes()==(HERE/'RESULT.json').read_bytes(),'sealed candidate receipt') + if a.case=='product': + # Exercise the actual public entry, a feasible post-admission body and a signed + # Fourier product with physical rank-two CRT shuttles under the new profile. + driver=path/'candidate_product.py' + driver.write_text('import sys,json\nfrom pathlib import Path\nsys.path.insert(0,str(Path(__file__).resolve().parent))\nfrom calibration import NEAR_CROSSING\nfrom check_product import physical_product\nr=physical_product(NEAR_CROSSING)\nassert r["product"]=="-345550037539" and r["shuttles"]==138\nprint(json.dumps(r,sort_keys=True))\n') + run(path,driver.name) + else: + run(path,'verify.py',a.case) + print('PASS_SINGLE_BAND_NEAR_CROSSING',a.case,flush=True) + + +if __name__=='__main__': + main()