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-signed-margin/LICENSE b/research/p104-single-band-signed-margin/LICENSE new file mode 100644 index 0000000000..261eeb9e9f --- /dev/null +++ b/research/p104-single-band-signed-margin/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-single-band-signed-margin/OVERLAY.json b/research/p104-single-band-signed-margin/OVERLAY.json new file mode 100644 index 0000000000..93fcd0e584 --- /dev/null +++ b/research/p104-single-band-signed-margin/OVERLAY.json @@ -0,0 +1,96 @@ +{ + "band_product.py": { + "old_sha256": "7feb08718d511b45d0e9f927540115c9c1526f9b65ff3dadaef55b1ac8a2b19d", + "new_sha256": "b58c52fdb95499722618614b49a628fd8565d7a64173415961416039ed86aec6", + "edits": [ + [ + "\n@cache\ndef production_supplier(rank_log):\n from strong_complex import artifacts, word\n\n", + "\n@cache\ndef production_supplier(rank_log, stop_denominator):\n from strong_complex import artifacts, word\n\n" + ], + [ + " return ComplexRaw(atlas, fields, columns, **kw)\n\n return Positive(native, physical, 1 << rank_log)\n\n\n", + " return ComplexRaw(atlas, fields, columns, **kw)\n\n return Positive(native, physical, 1 << rank_log, denominator=stop_denominator)\n\n\n" + ], + [ + " binary = source_planner(profile.power, profile.floor)\n streams = [binary.image(1 << log_rank) for log_rank in profile.rank_logs]\n positive = production_supplier(profile.complex_log)\n if positive.owners <= 1:\n raise ArithmeticError(\"The numerical carrier needs independent rows\")\n", + " binary = source_planner(profile.power, profile.floor)\n streams = [binary.image(1 << log_rank) for log_rank in profile.rank_logs]\n positive = production_supplier(profile.complex_log, profile.positive_stop_denominator)\n if positive.owners <= 1:\n raise ArithmeticError(\"The numerical carrier needs independent rows\")\n" + ], + [ + " bit,\n self.profile.complex_log,\n partial(production_supplier, self.profile.complex_log),\n )\n\n", + " bit,\n self.profile.complex_log,\n partial(production_supplier, self.profile.complex_log, self.profile.positive_stop_denominator),\n )\n\n" + ] + ] + }, + "calibration.py": { + "old_sha256": "c36a253ab22f77381fe3e36889c9175680eadfd4a1203f2047141dc7a772f679", + "new_sha256": "444f185c619ef01bdea6328af3dc7ba30014b5cfebe7d1de875966e656fd57ff", + "edits": [ + [ + " ordinary: Fraction\n kappa: Fraction\n\n\n", + " ordinary: Fraction\n kappa: Fraction\n positive_stop_denominator: int = 10**14\n\n\n" + ], + [ + " kappa=Fraction(\"0.00389011527141\"),\n)\nPROFILES = {\"compact\": COMPACT, \"high-rate\": HIGH_RATE, \"price-match\": PRICE_MATCH}\n\n\n", + " kappa=Fraction(\"0.00389011527141\"),\n)\nSPLIT_TARIFF = replace(\n HIGH_RATE,\n rank_logs=(106_811_524, 1_708_984_375, 27_343_750_000,\n 437_500_000_000, 7_000_000_000_000, 112_000_000_000_000),\n power=268,\n floor=1 << 50,\n bit_c=Fraction(280312348082011, 2**56),\n ordinary=Fraction(\"0.0038901152863925\"),\n kappa=Fraction(\"0.003890115286352\"),\n)\nSPLIT_TILT = Fraction(593, 2048)\nPRODUCTIVE_TILT = Fraction(491, 1024)\nSPLIT_WEIGHT = Fraction(1, 64)\nFIXED_STOCK = replace(SPLIT_TARIFF, kappa=Fraction(\"0.0038901152863924\"),\n positive_stop_denominator=10**17)\nSMALL_GAP = replace(FIXED_STOCK,\n rank_logs=tuple(64*height for height in FIXED_STOCK.rank_logs),\n power=285,\n floor=1 << 47,\n bit_c=Fraction(280312348082137, 2**56),\n ordinary=Fraction(\"0.00389011528659083\"),\n kappa=Fraction(\"0.0038901152865907\"),\n)\nPROFILES = {\"compact\": COMPACT, \"high-rate\": HIGH_RATE, \"price-match\": PRICE_MATCH,\n \"split-tariff\": SPLIT_TARIFF, \"fixed-stock-stop\": FIXED_STOCK, \"small-gap\": SMALL_GAP}\n\n\n" + ], + [ + "\n\ndef prices(profile):\n bit_loss = debit(134, 127, profile.power, profile.bit_c, profile.floor, 5)\n numeric_loss = debit(153, 129, COMPLEX_POWER, COMPLEX_C, COMPLEX_FLOOR, 1)\n result = []\n", + "\n\ndef split_tariff_debit(profile):\n floor = profile.floor\n scale = 4 * (134 * 127) ** profile.power * floor\n assert Fraction(1024 * floor, 15 * (floor - 2)) < 69\n assert 69**100 < 2**611\n bound = Fraction(611, 100) + profile.bit_c * (scale - 1).bit_length()\n return -(-bound.numerator // bound.denominator)\n\n\ndef prices(profile):\n bit_loss = (split_tariff_debit(profile) if profile.power in (SPLIT_TARIFF.power, SMALL_GAP.power)\n else debit(134, 127, profile.power, profile.bit_c, profile.floor, 5))\n numeric_loss = debit(153, 129, COMPLEX_POWER, COMPLEX_C, COMPLEX_FLOOR, 1)\n result = []\n" + ], + [ + " result.append((height, covered, rate))\n previous = rate\n if not (\n profile.kappa + 4 * GAP < profile.ordinary\n and profile.kappa + 5 * GAP < COMPLEX_C - Fraction(numeric_loss, profile.complex_log)\n ):\n raise ArithmeticError(\"The numerical consumer cannot receive these prices\")\n", + " result.append((height, covered, rate))\n previous = rate\n gap = Fraction(1, profile.positive_stop_denominator)\n if not (\n 0 < gap <= GAP\n and profile.kappa + 4 * gap < profile.ordinary\n and profile.kappa + 5 * gap < COMPLEX_C - Fraction(numeric_loss, profile.complex_log)\n ):\n raise ArithmeticError(\"The numerical consumer cannot receive these prices\")\n" + ] + ] + }, + "check_product.py": { + "old_sha256": "5ace944e196d730ba966c042ddff6eccd2022e04f721619dfe47f45eefd64177", + "new_sha256": "3caf1264c85faa30dd2c599c3d3521059f25a366d64df995bd145161fb608092", + "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(profile):\n from dataclasses import replace\n assert multiply(-741503, 466013, profile=profile) == -345550037539\n for x in (0, -1, 1, 37, -69, 2**16383 + 5):\n assert multiply(x, -997, profile=profile) == x * -997\n # Exercise the production stage body with a feasible rank and all 81 by 81 addresses.\n profile = replace(profile, 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(profile=None):\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 if profile is None:\n from calibration import COMPACT\n\n profile = COMPACT\n stock_and_public(profile)\n core = Receiver(2, balanced_widths(1), direct=True, profile=profile)\n calls = Counter()\n\n" + ] + ] + }, + "strict_moment.py": { + "old_sha256": "899ce86a0e5ae0455ea6cf97934658b2fd31b81d7111cb2bd636ce10e3e7264d", + "new_sha256": "f13c79ed45ce41c67a3f47c1767601be032ae65a908b9ee3a80643b0ac08689a", + "edits": [ + [ + "from math import isqrt\n\nfrom calibration import COMPLEX_C, COMPLEX_POWER\n\nUNIT = 1 << 112\n", + "from math import isqrt\n\nfrom calibration import COMPLEX_C, COMPLEX_POWER, PRODUCTIVE_TILT, SMALL_GAP, SPLIT_TARIFF, SPLIT_TILT, SPLIT_WEIGHT\n\nUNIT = 1 << 112\n" + ], + [ + "\n\ndef certify(word, c, tilt, drop, power, slack_bits, cutoff):\n if (word.power, word.floor, word.low_cut, word.high_cut) != (power, cutoff, 12, 12):\n raise ValueError(\"The evaluated strictifier differs from the installed one\")\n", + "\n\ndef certify(word, c, tilt, drop, power, slack_bits, cutoff, *, split_weight=2):\n if (word.power, word.floor, word.low_cut, word.high_cut) != (power, cutoff, 12, 12):\n raise ValueError(\"The evaluated strictifier differs from the installed one\")\n" + ], + [ + " gamma = Fraction(moment(paid, t + tilt, True) * UNIT, lower * power_interval(12, tilt)[0])\n loss = Fraction(moment(targets, t - drop, True) * power_interval(cutoff, drop)[1], lower * UNIT)\n deficit = 1 - alpha**power - 2 * gamma**power - loss**power\n if not (tilt >= c and deficit > Fraction(1, 1 << slack_bits)):\n raise ArithmeticError(\"The strict local surplus cannot pay all physical fringe axes\")\n", + " gamma = Fraction(moment(paid, t + tilt, True) * UNIT, lower * power_interval(12, tilt)[0])\n loss = Fraction(moment(targets, t - drop, True) * power_interval(cutoff, drop)[1], lower * UNIT)\n if split_weight != 2:\n # For x >= 1, (2x)^c - 1 <= (101/100)c x^tilt / tilt.\n assert 0 < c < Fraction(1, 250) and c <= tilt <= 1\n assert Fraction(101, 100)**250 > 2\n assert Fraction(101, 100) * c / tilt < split_weight\n deficit = 1 - alpha**power - split_weight * gamma**power - loss**power\n if not (tilt >= c and deficit > Fraction(1, 1 << slack_bits)):\n raise ArithmeticError(\"The strict local surplus cannot pay all physical fringe axes\")\n" + ], + [ + "\ndef both(binary, positive, profile):\n return (\n certify(\n", + "\ndef both(binary, positive, profile):\n if profile.power in (SPLIT_TARIFF.power, SMALL_GAP.power):\n return (\n certify(binary, profile.bit_c, SPLIT_TILT, PRODUCTIVE_TILT,\n profile.power, profile.floor.bit_length() - 2, 15, split_weight=SPLIT_WEIGHT),\n certify(positive, COMPLEX_C, Fraction(19, 64), Fraction(23, 64), COMPLEX_POWER, 14, 16),\n )\n return (\n certify(\n" + ] + ] + }, + "strong_binary.py": { + "old_sha256": "03ffb2075620fe793156e9bd22890185bef21e097abadba3a7d6cb5406051855", + "new_sha256": "74ba0d1aa9ca1dc2f4ade19ca1989f8dbf5329ddf3736bf3056280283f4fd660", + "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, 268, 285):\n raise ValueError(\"Select a certified binary power\")\n raw = binary_ports(graph(), caller())\n" + ] + ] + } +} diff --git a/research/p104-single-band-signed-margin/PROOF.md b/research/p104-single-band-signed-margin/PROOF.md new file mode 100644 index 0000000000..acc9919e5d --- /dev/null +++ b/research/p104-single-band-signed-margin/PROOF.md @@ -0,0 +1,23 @@ +# Transfer of the positive stopping parameter and signed budgets + +Use the exact [single-band stopped positive proof](https://github.com/aliromman/integer-mult-bounds/blob/6285dd829114705862e8d91facaedc1f31d3cfcb/research/single-band-native-carriers/LINEAR-GEOMETRY.md) and its [physical application](https://github.com/aliromman/integer-mult-bounds/blob/6285dd829114705862e8d91facaedc1f31d3cfcb/research/single-band-native-carriers/APPLICATION.md). We verify the parameter on the running tape machine, on the leaf bounds, and at both paid outer interfaces. + +## All-size stopping cost + +Let the fixed positive rank be \(M=2^{1600000}\). At an active call, let \(h\) be the original selected width, and let \(g=1/D\) for a fixed integer \(D\ge2\). The two stop tests are \(e\le M\) and \(e^D\le h\), where \(e\) is the actual selected width. The comparator uses squared products capped at \(h+1\), so changing \(D\) has a fixed \(O(\log D)\) factor in the number of arithmetic operations on \(O(\log h)\)-bit integers. Each complete active step pays all residual axes and recurses on every issued whole child of width \(\lfloor e/M\rfloor\). + +At depth \(j\) the quotient is \(e_j=\lfloor h/M^j\rfloor\). The identity for nested integer quotients makes this exact. A stopped positive width satisfies \(e_j\le\max(M,h^g)\le Mh^g\). For the full admitted normalized paid ratio at most \(M^\sigma\), with \(\sigma=1-b\) and \(0M\) implies \(h^D>h\), so the real installed action is reached at the same sufficient public entrance for a fixed set of ranks. The actual profile reaches this path through both `prepare_native` and the numerical `Product.h` dispatcher. The positive supplier cache includes the denominator. + +All local precise-field sizes and grid closures retain their fixed rank and projected width. The recurrence proof bounds work with the larger admissible family of descents. The checked `10^-17` margin changes the cost comparison and discrete early stop, while the leaves, normalized source operators, and final recovery remain the same computations at each visited site. + +## Signed margin and concrete installations + +Use the inherited outer parameters \(a=\kappa+4g\), \(b=\kappa+5g\), \(q=\kappa+3g\), \(\epsilon=1-g\), and \(\beta=1-3g\). The stopped positive power meets the required interface since \((1-g)b>a\), with exact difference \(g(1-b)>0\). The two consumers also need independently proved ordinary cap \(b_{\rm ord}>a\) and complete positive cap \(b_{\rm pos}>b\). The rational checker evaluates these and the 54 strict and four functional signed expressions from the [pinned gate](https://github.com/CrocSwap/integer-mult-bounds/blob/4f7c67ae387cc91580f469aeda4d508b372b9ec1/research/p104-dual-supplier-lift/complex/supplier_gate.py). For the actual single-band implementation the numerical supplier pays the 128-factor physical tariff at \(2043/2^{19}-10/1600000\), including the restored windows and paid residuals. The composed bit and numerical services enter the [same signed application theorem](https://github.com/aliromman/integer-mult-bounds/blob/6285dd829114705862e8d91facaedc1f31d3cfcb/research/single-band-native-carriers/APPLICATION.md). Geometry and correctness are supplied separately by the installed operator proof. Its fixed logarithmic factors can be absorbed into the recurring constant for every strictly positive exact gap. + +The fixed-stock configuration uses #8033's exact BIT factor power, rank logarithms, 21-bit full debit and admitted ordinary rate `0.0038901152863925`. It surpasses the complete prior claim at the same BIT, positive carrier and sufficient activation exponents. The near-crossing configuration uses \(C=280312348082137/2^{56}\), \(v=285\), productive floor \(15^v\), paid cap \(12^v\), and band floor \(2^{47}\). Both independent engines check surplus above \(2^{-46}\), including every split remainder by [the split surcharge theorem](https://github.com/Clear1nsight/integer-mult-bounds/blob/a1313ff9f84fd00d50b282fe432e522191277821/research/p104-single-band-split-tariff/PROOF.md). The complete binary debit is 22 bits. The new ordinary cap is `0.00389011528659083` with all six stages charged. The fixed small margin permits `0.0038901152865907` at signed entry. The receipt recomputes all owner, stock, setup, precision, and public entrance estimates. Both profile controls reject the old \(g=10^{-14}\), \(g=0\), and equality at either paid border. diff --git a/research/p104-single-band-signed-margin/README.md b/research/p104-single-band-signed-margin/README.md new file mode 100644 index 0000000000..37866e303b --- /dev/null +++ b/research/p104-single-band-signed-margin/README.md @@ -0,0 +1,36 @@ +# A smaller positive stopping margin for the paired single-band multiplier + +The complete paired multiplier certifies **conditional κ ≥ 0.0038901152865907** with a near-crossing installation. The gain over [#8033](https://github.com/CrocSwap/integer-mult-bounds/pull/8033) is exactly `0.0000000000002387`. A second installation at #8033's original rank and activation exponents certifies **conditional κ ≥ 0.0038901152863924**, a gain of `0.0000000000000404`. + +The positive recursion's cutoff is now a profile parameter. Its all-size terminal estimate works for a smaller positive exponent `g=10^-17`. The same value funds the signed caller's strict inequalities. The runtime and the price checker share the denominator, including fixed-program preparation and the actual numerical call path. [Proof](PROOF.md) + +| Resource | Fixed stock | Near crossing | +| --- | ---: | ---: | +| Binary factors | 268 | 285 | +| Largest binary carrier exponent | 112000000000000 | 7168000000000000 | +| Sufficient public activation exponent | 119466661575676 | 7645866239991957 | +| Full BIT debit, bits | 21 | 22 | +| Full positive debit, bits | 10 | 10 | +| Signed κ | 0.0038901152863924 | 0.0038901152865907 | + +Both installations preserve the 36 native BIT calls and 48 native rational calls of the exact paired word. The near-crossing installation enlarges the binary ranks by a factor of 64. The fixed-word directed raw upper is `0.003890115286594461129996943`, leaving a gap of about `3.76113e-15` above the strongest lower. [Receipt](RESULT.json) + +## Sources and replay + +The archived package has the exact #8030 source, `6285dd829114705862e8d91facaedc1f31d3cfcb`. The 36/48-call physical interfaces are from #8027 at `fb9b6a7b0d27da1cf98430893a3016bf811e2aa4`. The split-tail refinement is from #8033 at `a1313ff9f84fd00d50b282fe432e522191277821`. The signed arithmetic expressions are pinned to `4f7c67ae387cc91580f469aeda4d508b372b9ec1`. The archive and `OVERLAY.json` authenticate the precise source and modified files. + +```sh +python3.12 -IB scripts/research_package.py --package research/p104-single-band-signed-margin +``` + +Replay covers both directed BIT prices, the retained positive price, 54 strict and four functional outer checks at each profile, the integer stopping guard, band loans, dense operators, actual BIT and rational words, ownership and precision, and both finite signed product controls. The old margin, vanishing margin, equality at either paid supplier gate, and extra paid rank-one position are rejection controls. + +The all-size guarantee uses the five inherited premises for all-column native action, owned erasure and restoration, compiler transfer, precision and tape services, and analytic recovery. The finite operator and product replays exercise feasible tapes. The sufficient activation is a proved resource bound, and the least practical crossover remains open. + +## Open next questions + +Can an exact operator-preserving change raise the paid BIT word's raw crossing? A changed set of priced events needs complete role, typed owner and signed tape verification. The fixed rank histogram supplies the current obstruction. + +## Attribution + +Ali Romman supplied the paired circuits and single-band tape application. DreamingOfClouds and the P104 dual-supplier contributors supplied the signed gate machinery. Other predecessor credit and licenses are retained in the pinned archive. Clear1nsight contributed the stopping parameter proof and the two installations. OpenAI Codex materially assisted research, implementation and verification. New material is Apache-2.0. diff --git a/research/p104-single-band-signed-margin/RESULT.json b/research/p104-single-band-signed-margin/RESULT.json new file mode 100644 index 0000000000..1deecfb332 --- /dev/null +++ b/research/p104-single-band-signed-margin/RESULT.json @@ -0,0 +1,172 @@ +{ + "baseline_kappa": "243132205397/62500000000000", + "fixed_stock": { + "band_floor": 1125899906842624, + "bit_trial": "280312348082011/72057594037927936", + "certified_surplus_floor_e24": 137497115659, + "complete_requirements": { + "all_size_margin_lower_at_entrance": 46056909860339, + "binary_entrance_logs": [ + 107240551, + 1816224990, + 29159975054, + 466659975118, + 7466659975182, + 119466659975246 + ], + "binary_rank_logs": [ + 106811524, + 1708984375, + 27343750000, + 437500000000, + 7000000000000, + 112000000000000 + ], + "complex_rank_log": 1600000, + "component_exponent": "39/10000", + "full_binary_debit": 21, + "full_positive_debit": 10, + "initial_s": 119466661575677, + "kappa": "9725288215981/2500000000000000", + "linear_geometry": { + "actual_dense_root_entry_log2": 192153584101141164, + "first_extent_bits_minus_b": -119466661575672, + "largest_axis_width": 96076792050570582, + "last_extent_bits_minus_b": -119466661575671, + "log2_axis_count": 119466661575617, + "minimum_width": 61166930726747904, + "private_clock_log2_upper": 98505088387899413501, + "public_offset_above_2_to_A": 2 + }, + "log2_all_fixed_setup_upper": 114688000000000003, + "log2_dominant_J": 114688000000000000, + "log2_rank_part_of_recurring_envelope": 11468800000000000000, + "log2_sufficient_public_precision": 119466661575676, + "native_depth_bound_at_entrance": 75859736, + "native_volume_log2_upper": 65536, + "ordinary_rate": "1556046114557/400000000000000", + "positive_context_cost_bitlength_upper": 58, + "prior_geometry_at_same_n": { + "actual_dense_root_entry_log2": 3380401600608611737324541881004, + "first_extent_bits_minus_b": -119466661575672, + "largest_axis_width": 1690200800304305868662270940502, + "last_extent_bits_minus_b": -119466661575671, + "log2_axis_count": 119466661575573, + "minimum_width": 913426126594389717785472533056, + "private_clock_log2_upper": 14965573658122731675945438736809984, + "public_offset_above_2_to_A": 2 + }, + "rate_ticks_e18": [ + 3874359003879035, + 3890040022613520, + 3890114220608457, + 3890115234520437, + 3890115283396085, + 3890115286392500 + ], + "raw_structural_nodes_log2_upper": 8113, + "stripe_excess_log_at_entrance": 9943087644814, + "stripe_margin_at_entrance": 49790243143022, + "uniform_payload_slope": "759627333958522/9126961279296875" + }, + "factor_power": 268, + "g": "1/100000000000000000", + "kappa": "9725288215981/2500000000000000", + "positive_paid_cap": "1274827/327680000", + "signed": { + "functional": 4, + "ordinary_margin": "3/50000000000000000", + "positive_margin": "27837635479/80000000000000000", + "smallest_margin": "1/1000000000000000000", + "strict": 54 + } + }, + "fixed_word_raw_interval": [ + "1945057643297230564998471/500000000000000000000000000", + "3890115286594461129996943/1000000000000000000000000000" + ], + "largest_gain": "2387/10000000000000000", + "near_crossing": { + "band_floor": 140737488355328, + "bit_trial": "280312348082137/72057594037927936", + "certified_surplus_floor_e24": 25356184201, + "complete_requirements": { + "all_size_margin_lower_at_entrance": 2957494058781171, + "binary_entrance_logs": [ + 6863391165, + 116238391229, + 1866238391293, + 29866238391357, + 477866238391421, + 7645866238391485 + ], + "binary_rank_logs": [ + 6835937536, + 109375000000, + 1750000000000, + 28000000000000, + 448000000000000, + 7168000000000000 + ], + "complex_rank_log": 1600000, + "component_exponent": "39/10000", + "full_binary_debit": 22, + "full_positive_debit": 10, + "initial_s": 7645866239991958, + "kappa": "38901152865907/10000000000000000", + "linear_geometry": { + "actual_dense_root_entry_log2": 12297829382473034412, + "first_extent_bits_minus_b": -7645866239991953, + "largest_axis_width": 6148914691236517206, + "last_extent_bits_minus_b": -7645866239991952, + "log2_axis_count": 7645866239991892, + "minimum_width": 3914683514875883776, + "private_clock_log2_upper": 6304325656722185444502, + "public_offset_above_2_to_A": 4 + }, + "log2_all_fixed_setup_upper": 7340032000000000003, + "log2_dominant_J": 7340032000000000000, + "log2_rank_part_of_recurring_envelope": 734003200000000000000, + "log2_sufficient_public_precision": 7645866239991957, + "native_depth_bound_at_entrance": 4779859471, + "native_volume_log2_upper": 65536, + "ordinary_rate": "389011528659083/100000000000000000", + "positive_context_cost_bitlength_upper": 58, + "prior_geometry_at_same_n": { + "actual_dense_root_entry_log2": 13846124956092873676081323544586924, + "first_extent_bits_minus_b": -7645866239991953, + "largest_axis_width": 6923062478046436838040661772293462, + "last_extent_bits_minus_b": -7645866239991952, + "log2_axis_count": 7645866239991842, + "minimum_width": 3741393315830320735193337899120896, + "private_clock_log2_upper": 61298988086563990959951325070812512256, + "public_offset_above_2_to_A": 4 + }, + "rate_ticks_e18": [ + 3874551620035190, + 3890052831589600, + 3890115024252961, + 3890115284762185, + 3890115286537883, + 3890115286590830 + ], + "raw_structural_nodes_log2_upper": 8623, + "stripe_excess_log_at_entrance": 626505740910746, + "stripe_margin_at_entrance": 3196427379085231, + "uniform_payload_slope": "23931754708979261/292062760937500000" + }, + "factor_power": 285, + "g": "1/100000000000000000", + "kappa": "38901152865907/10000000000000000", + "positive_paid_cap": "1274827/327680000", + "signed": { + "functional": 4, + "ordinary_margin": "9/100000000000000000", + "positive_margin": "5567523923/16000000000000000", + "smallest_margin": "1/1000000000000000000", + "strict": 54 + } + }, + "remaining_gap_upper": "3761129996943/1000000000000000000000000000", + "same_stock_gain": "101/2500000000000000" +} diff --git a/research/p104-single-band-signed-margin/SOURCES.json b/research/p104-single-band-signed-margin/SOURCES.json new file mode 100644 index 0000000000..4afaeff69d --- /dev/null +++ b/research/p104-single-band-signed-margin/SOURCES.json @@ -0,0 +1,633 @@ +{ + "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" + } + } + }, + "paired_native_source": { + "pr": 8027, + "head": "fb9b6a7b0d27da1cf98430893a3016bf811e2aa4" + }, + "comparative_profile": { + "pr": 8032, + "head": "9c5881ab4015854c68d5f5a3fc7d97f68505cc4c", + "kappa": "0.00389011528633", + "largest_BIT_rank_exponent": 114688000000000, + "sufficient_public_exponent": 136798773006437 + }, + "split_tariff_comparator": { + "pr": 8033, + "head": "a1313ff9f84fd00d50b282fe432e522191277821", + "kappa": "0.003890115286352", + "largest_BIT_rank_exponent": 112000000000000, + "sufficient_public_exponent": 119466661575676 + }, + "signed_inequality_source": { + "commit": "4f7c67ae387cc91580f469aeda4d508b372b9ec1", + "path": "research/p104-dual-supplier-lift/complex/supplier_gate.py", + "sha256": "3796b2e5a27f3caa142d16364154788e60d0099f1e24a8dcd028e4fbd35a84ca", + "kind": "external exact provenance of the self-contained expression transcription" + } +} diff --git a/research/p104-single-band-signed-margin/TASK.json b/research/p104-single-band-signed-margin/TASK.json new file mode 100644 index 0000000000..faec94107a --- /dev/null +++ b/research/p104-single-band-signed-margin/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": "Parametrize the numerical stopping exponent, certify the inequalities with strict margins, and install both fixed-stock and near-crossing profiles.", + "actual_scope": "Complete conditional fixed-stock and larger single-band paired tape witnesses with the parameterized positive stopping proof.", + "bottleneck_link": "The stopped positive tail and inherited signed margins must be paid at the actual binary and numerical caps.", + "stop_rule": "Authenticate the source, check both directed supplier prices, all signed tests and production guards, and run the eight registered cases with two product profiles.", + "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 exact operator-equivalent changes increase the fixed BIT raw crossing?", + "why_it_matters": "The remaining fixed-word raw gap of about 3.76e-15 is smaller than the tested structural gains would need.", + "first_step": "Find a legal cheaper native transport that persists after the whole-word arbitrary-field check.", + "blocked_by": "A new physical word with both complete paid invoices and exact observer control." + } + ] +} diff --git a/research/p104-single-band-signed-margin/VERIFY.json b/research/p104-single-band-signed-margin/VERIFY.json new file mode 100644 index 0000000000..1ab2a0f4a0 --- /dev/null +++ b/research/p104-single-band-signed-margin/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": "Prove the bound profiles, two directed BIT prices, positive stopping parameter, and the full set of signed inequalities." + }, + { + "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 both new parameter profiles at the public entry, admitted small body and finite signed Fourier product." + } + ] +} diff --git a/research/p104-single-band-signed-margin/check_profile.py b/research/p104-single-band-signed-margin/check_profile.py new file mode 100644 index 0000000000..fe3381b843 --- /dev/null +++ b/research/p104-single-band-signed-margin/check_profile.py @@ -0,0 +1,127 @@ +# SPDX-License-Identifier: Apache-2.0 +"""Qualify both parameterized signed profiles with two directed price readers.""" +from collections import Counter +from dataclasses import replace +from fractions import Fraction as Q +import json +from pathlib import Path +import sys +from types import SimpleNamespace +from unittest.mock import patch + +sys.path.insert(0,str(Path(__file__).resolve().parent)) +from upstream import install + +install() +from band_product import production_supplier +from binary_receiver import Receiver, source_rule +from calibration import (COMPLEX_C,FIXED_STOCK,GAP,PRODUCTIVE_TILT,SMALL_GAP,SPLIT_TARIFF, + SPLIT_TILT,SPLIT_WEIGHT,prices) +from independent_binary_price import mass,rank_price,raw_moments +from module_atoms import balanced_widths +from outer_budget import qualify +from positive import power_le +from resources import requirements +from strict_moment import certify +from strong_binary import caller,graph,native_word + +RAW_LEFT = Q('0.003890115286594461129996942') +RAW_RIGHT = Q('0.003890115286594461129996943') + + +def check(ok,message): + if not ok: + raise ArithmeticError(message) + + +def reject(run,*args): + try: + run(*args) + except ArithmeticError: + return + raise ValueError('The corrupted control passed') + + +def check_profile(p,expected_debit,targets,paid): + v,c=p.power,p.bit_c + word=native_word(v) + check(Counter(x.rank for x in word.targets)==targets and Counter(x.rank for x in word.paid)==paid, + 'independent literal inventories agree') + check((word.ambient,word.floor,word.low_cut,word.high_cut)==(134,15,12,12), + 'installed word takes the certified physical positions and split cap') + t,z,w=1-c,SPLIT_TILT,PRODUCTIVE_TILT + denom=mass(targets,t,0) + alpha=mass(paid,t,1)/denom + gamma=mass(paid,t+z,1)/(rank_price(12,z)[0]*denom) + lam=rank_price(15,w)[1]*mass(targets,t-w,1)/denom + surplus=1-alpha**v-SPLIT_WEIGHT*gamma**v-lam**v + eps=Q(2,p.floor) + check(0mass(targets,t,1), + 'independent price passes and one excess rank-one cut fails') + certify(word,c,z,w,v,p.floor.bit_length()-2,15,split_weight=SPLIT_WEIGHT) + reject(certify,word,c,z,w,v,p.floor.bit_length()-2,15) + check(18_906**v+104_904**v+23_800**v<2**(18*v) and + 5**13>16*4**13 and 8*(Q(13,4)+Q(1,512))<27 and + 18*(Q(13,4)+Q(1,512))<60 and 15**v>=2*12**v and + 512*v<=min(p.rank_logs), 'actual order, splits, rank width and source enumeration') + check(2**64*(v+1)*2**(28*v)<2**(512*v) and + 872*(Q(13,4)+Q(2,512))*(512*v)<2**(512*v), 'generation and causal precision guard') + binary,numeric,rows=prices(p) + check(binary==expected_debit and numeric==10 and len(rows)==6,'complete BIT, positive and stage bills') + positive=COMPLEX_C-Q(numeric,p.complex_log) + g=Q(1,p.positive_stop_denominator) + signed=qualify(p.kappa,g,p.ordinary,positive) + reject(qualify,p.kappa,GAP,p.ordinary,positive) + reject(qualify,p.kappa,Q(0),p.ordinary,positive) + reject(qualify,p.kappa,g,p.kappa+4*g,positive) + reject(qualify,p.kappa,g,p.ordinary,p.kappa+5*g) + reject(prices,replace(p,positive_stop_denominator=GAP.denominator)) + res=requirements(p) + check(res['all_size_margin_lower_at_entrance']>0,'complete size, precision and stripe certificate') + control=Receiver(2,balanced_widths(1),direct=True,profile=p) + check(control.rule is source_rule(v) and control.rule.word is word and control.stock>0, + 'this profile enters the physical BIT receiver') + return {'kappa':str(p.kappa),'g':str(g),'bit_trial':str(c),'factor_power':v,'band_floor':p.floor, + 'certified_surplus_floor_e24':(surplus*10**24).__floor__(),'positive_paid_cap':str(positive), + 'signed':signed,'complete_requirements':res} + + +def check_stop_dispatch(): + check(power_le(4,3,128) and not power_le(4,4,128), 'integer discrimination at a feasible cutoff') + for den in (10**14,10**17): + check(not power_le(2,den,1<<1000) and power_le(1,den,1<<1000),'exact reduced power stop') + # Check the actual production supplier constructor and its cache key on two ranks. + with patch('strong_complex.artifacts',return_value=SimpleNamespace(graph=None,layout=None)), \ + patch('strong_complex.word',return_value=object()): + small=production_supplier(9,10**17) + old=production_supplier(9,10**14) + check(small is not old and small.carrier==old.carrier==512 and + small.denominator==10**17 and old.denominator==10**14, 'positive runtime policy and cache') + production_supplier.cache_clear() + + +def main(): + check_stop_dispatch() + T,P=raw_moments(graph(),caller()) + check(mass(T,1-RAW_LEFT,0)>mass(P,1-RAW_LEFT,1) and + mass(P,1-RAW_RIGHT,0)>mass(T,1-RAW_RIGHT,1), 'fixed-word raw directed bracket') + check(FIXED_STOCK.rank_logs==SPLIT_TARIFF.rank_logs and FIXED_STOCK.ordinary==SPLIT_TARIFF.ordinary + and FIXED_STOCK.bit_c==SPLIT_TARIFF.bit_c, 'fixed-stock comparison') + fixed=check_profile(FIXED_STOCK,21,T,P) + near=check_profile(SMALL_GAP,22,T,P) + check(SPLIT_TARIFF.kappa