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-gaussian-receiver-rank/BROADCAST.md b/research/p104-gaussian-receiver-rank/BROADCAST.md new file mode 100644 index 0000000000..c3a997c609 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/BROADCAST.md @@ -0,0 +1,94 @@ +# Two-receiver shared-packet addendum + +This addendum considers the exact normalized Gaussian word of ToikY's +[#8072](https://github.com/CrocSwap/integer-mult-bounds/pull/8072), head +`75f7e1c44f48c43983016bcf8878c4d9e5e87c62`, and builds on the receiver-stock +certificate at [#8074 head `a9e110ae5580f6366a1098987adbe8398a047c7a`](https://github.com/CrocSwap/integer-mult-bounds/commit/a9e110ae5580f6366a1098987adbe8398a047c7a). +The input is the same authenticated `word.json.gz`; no second word or stock +cache is used. + +## Contract and stopping condition + +For each original move `u: a -> b` appearing with nonzero coefficient in the +original row of a second move `v: b -> d`, remove these two moves. Give the +original sender `a` its entire original stock, even values created later in the +saved word. Allow it to form any rational linear packet `t`. A relay `h` gets +that packet and passes it unchanged to `b` and `d`; if `h` equals an endpoint, +the coincident leg is local and has zero grade. Both receivers may decode +arbitrary rational linear combinations of the packet and their other original +stocks. The rewrite must reconstruct the original scalar `u` at `b` and the +original scalar `v` at `d`, and fixes the other original functions. This model +grants acausal stock availability and no uncharged input-dependent side channel. + +Eight incidences have `a=d`: after deleting `v`, the source and second receiver +are the same chart, and their remaining independent stock cannot generate `v`. +For every remaining incidence, enumerate **all 1,103 original charts** as +possible relay. A nonlocal leg must connect properly nested frames; equal-depth +distinct charts are not charged as zero-grade legs. Let `g(x,y)` be the +absolute frame-depth difference. Compare the old integer raw grade +`g(a,b)+g(b,d)` with `g(a,h)+g(h,b)+g(h,d)`. If no legal relay makes the +latter strictly smaller, stop for that incidence; a more general price +analysis is not inferred. + +The word has **11,819** such original row incidences. Of the rest, **58** have a +strictly cheaper relay, covering 39 chart triples. The checker proves **47** of +those have no nonzero common packet in `S_a ∩ S_b ∩ S_d`, and that the **11** +remaining cases have only a multiple of `u`, which has zero coordinate on the +removed `v` at its receiver. There is therefore no candidate in this family. +A canonical digest of all 58 incidence, relay and rank records is +`c2969359ad56459f42323c8e6b5945b89a8dc7c53d537ab6c606b04fbe3f123f`. + +## The rational rank argument + +The existing evaluator authenticates the complete graph and proves that each +original local stock is independent modulo `p=65521`. All word coefficients +have denominators prime to `p`, so each stock also has a rational basis whose +square pivot minor is a `p`-unit. For each source stock `S_a` and receiver stock +`S_d`, form 36 modular annihilators and explicitly check every annihilator +against every stock basis row. Each such modular annihilator lifts to a rational +one with `p`-unit denominator: fix integer lifts of its free coordinates and +solve the pivot equations using the nonsingular stock minor. Its reduction is +the checked modular vector. + +Pair these 72 annihilators with each original stock vector at `b`. If the +resulting modular matrix has full row rank, a nonzero rational minor persists, +so no nonzero vector of `S_b` is annihilated by all 72 vectors. In particular, +`S_a ∩ S_b ∩ S_d = {0}` over Q. This gives 47 exclusions. In the other 11 the +modular pairing rank is exactly one less than `dim(S_b)`, so the rational +intersection has dimension at most one. Each `u` is nonzero, belongs to +`S_b`, is defined by a row over `S_a`, and has the following exact rational +representation in the independent stock of chart 127: + +```text +91582 = 103243 +91560 = -2*104268 - 2*104318 +97266 = -103991/2 - 103944/2 +89777 = 104126 + 104146 + 104063 + 103952 - 104092/58 +96513 = 103514 +``` + +Thus the intersection is exactly `span(u)`. In each of the 11 cases the removed +`v` is absent from the relevant right-hand side. Independence of the chart-127 +stock makes the `v` coordinate of every multiple of `u` zero, so that receiver +cannot decode `v` after its arrival is removed. The checker expands these five +identities over all 1,291 rational input coordinates. Its negative control +replaces `-1/58` by `-1/57` and requires rejection. + +Each nonnegative pairing dot product is at most +`1291 * 65520^2 = 5,542,095,686,400 < 2^53 < 2^63`. Therefore its binary64 +integer accumulation is exact, and the program compares one dot product to a +Python-integer calculation before reducing modulo `p`. Randomness only selects +annihilators: their annihilation equations and nonzero rank minors are checked. +The replay includes a positive toy with a working pair of decoders and a +negative full-rank toy. + +## Boundary + +This is a finite exclusion in the stated one-packet, original-sender, +two-original-scalar model, not a new rate or a global impossibility theorem. +Other senders or changed sender stocks, unrelated transfer pairs, multiple new +packets, rewritten dependencies, preservation of only downstream combinations, +nonlinear operations, and equal-raw-grade changes with a different nonlinear +price remain open. A positive replacement would still need a real chronology, +full transition identity, paid and productive invoice, ownership and return +checks, independent validation, and κ qualification. diff --git a/research/p104-gaussian-receiver-rank/LICENSE b/research/p104-gaussian-receiver-rank/LICENSE new file mode 100644 index 0000000000..261eeb9e9f --- /dev/null +++ b/research/p104-gaussian-receiver-rank/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-gaussian-receiver-rank/NOTICE.md b/research/p104-gaussian-receiver-rank/NOTICE.md new file mode 100644 index 0000000000..24c41f2fca --- /dev/null +++ b/research/p104-gaussian-receiver-rank/NOTICE.md @@ -0,0 +1,20 @@ +# Attribution and license + +The scientific input is the normalized Gaussian graph inherited by ToikY's +[#8072](https://github.com/CrocSwap/integer-mult-bounds/pull/8072), exact head +`75f7e1c44f48c43983016bcf8878c4d9e5e87c62`. #8072 supplies the capped +allocation and authenticated restoration of Ali Romman's +[#8057](https://github.com/CrocSwap/integer-mult-bounds/pull/8057) weighted +producer. Ali Romman's [#8027](https://github.com/CrocSwap/integer-mult-bounds/pull/8027) +supplied the literal circuits, scalar journals and 48-call schedule; his +physical source credits Clear1nsight's iterated-return programs and the earlier +contributors retained in the source archive and [PARENT-NOTICE](PARENT-NOTICE). +The #8072 notice also credits SYLforge's ordinary circuit and physical replay. + +The finite receiver, demand-rank, cut, chronological-reroute and chart-595 +fixed-sender and 12-chart sender-space certificates were prepared for +Clear1nsight with substantial OpenAI Codex assistance, including a separate +Gaussian-word research worker. The +frozen word and accompanying work are distributed under the inherited +[Apache License 2.0](LICENSE). This package does not represent independent +scientific acceptance of either the source or the new certificate. diff --git a/research/p104-gaussian-receiver-rank/PARENT-NOTICE b/research/p104-gaussian-receiver-rank/PARENT-NOTICE new file mode 100644 index 0000000000..fe51894a1a --- /dev/null +++ b/research/p104-gaussian-receiver-rank/PARENT-NOTICE @@ -0,0 +1,31 @@ +Mixed paid cutoffs for the P104 ordinary BIT supplier + +Prepared for Clear1nsight with substantial OpenAI Codex assistance. The +new schedule, directed comparison, occurrence controls, and documentation +are offered under Apache-2.0. + +verify.py adapts the Apache-2.0 verifiers from Dugongue's PR #7831 +(2d1fb9c878ae1e292cb918de40fa8e4f7fa7f75e) and Rohan Arun's PR #7835 +(43007c979859fa84ccc3a3509ccacc9620d181fa). Rohan Arun submitted #7835 +through the original X request at +https://x.com/RohanArun/status/2123655584797143516. The source manifest +retains the published #7835 NOTICE. + +Retained predecessor NOTICE from the grade-14 package follows. + +Iterated returns on the P104 ordinary suppliers + +Clear1nsight prepared the successor construction, explicit witnesses and verification +with substantial OpenAI Codex assistance, including independent computational checks. +The new material is offered under Apache-2.0. + +The exact starting words and the rational and binary replay interfaces are from +Clear1nsight's PR #7781. The paid and productive scalar operations, the 48-call +complex schedule, the punctured binary supplier and the common outer application +come from Ali Romman's PR #7776. The two paid projections build on the local +quotient and terminal repair in #7774 and #7781. The binary paired caller and +finite compiler use work by DreamingOfClouds, Jerry Chen (CubeJerry), zxv and the +contributors cited in their retained sources. SYLforge, Rohan Arun, Cinna Davis, +Douglas Colkitt and other predecessors contributed the caller, physical and +analytic framework. The source-fetch helper is adapted from #7774. The immutable +source manifest identifies the public inputs and their notices. diff --git a/research/p104-gaussian-receiver-rank/PROOF.md b/research/p104-gaussian-receiver-rank/PROOF.md new file mode 100644 index 0000000000..f81116a6fb --- /dev/null +++ b/research/p104-gaussian-receiver-rank/PROOF.md @@ -0,0 +1,241 @@ +# Certificate and interpretation + +## Graph, field and stock + +The input is the full canonical rational graph recovered from the pinned #8072 +runtime. Each input role is an independent public coordinate. A negative node +`~i` denotes input coordinate `i`; a move node carries the linear form in its +row from its source chart to its target chart; an output node is a final demand. +The supplied schedule must be topological, and every row reads only values at +its declared source. Every original transfer is checked to connect properly +nested F₂ frames. The frame dimension is its depth, and its charged grade is +the absolute depth difference. + +The checker evaluates the 6,965 graph rows over `F_65521`. It verifies that +65,521 is prime and rejects any rational coefficient whose denominator is not +a unit modulo this prime. At each chart it first inserts all original local +inputs, then inserts each arrival in chronological order into an echelon basis +on all 1,291 public input coordinates. All 5,674 insertions find a new pivot. +Thus the entire original stock at each chart is linearly independent over the +field and hence over Q. This includes 977 receiving charts; one additional chart +has only local input stock. It also implies each delivered value is nonzero. +The conclusion includes the local inputs, and is stronger than merely checking +that consecutive arrivals differ. + +## Exact rational local-demand rank + +For a chart `c`, let `X_c` be its original incoming values and `I_c` its original +inputs. Let `D_c` list every original outgoing transfer value and every final +output read there. The checker confirms each demand row references only an +entry of `X_c` or `I_c`; its coefficients on `X_c` form the matrix `M_c`. +The full-stock result makes `(I_c,X_c)` independent linear forms. Therefore, +for fixed `I_c` and fixed linear demands `D_c`, any linear scalar-arrival +interface must provide at least `rank_Q(M_c)` independent scalar dimensions. +Summing these local lower bounds gives 5,660. This statement is for the fixed +chart demands, with no uncharged side channel or input-dependent timing; it is +not an existence proof for a replacement graph. + +For every nondeficient receiver, `M_c` has full column rank modulo 65,521, +which directly proves full column rank over Q. At 14 charts the modular rank is +exactly one less than the arrival count. For each, the supplied nonzero vector +in [null-sources.json](null-sources.json) is checked against every row with +exact `Fraction` arithmetic. That rational right-null vector proves the Q rank +is at most the modular rank, while a nonzero modular minor proves the reverse +inequality. Thus the one-dimensional deficits and their sum are exact over Q. +The source chart, grade, complete support and source groups of every witness +are checked against the graph. Modular rank alone would **not** establish a +rational upper bound. + +## A stronger fixed-sender result at chart 595 + +This certificate allows the transmitted values and the receiver's decoding +basis to change, but fixes the receiver's eight outgoing demands and the +original stocks at its two original senders, charts 3 and 520. Chart 595 has +no original local input, and its original eight arrivals have these two sources. +The exact demand-space rank is seven; call that seven-dimensional Q subspace +`H`. The null witness at 595 has pivot 1 on arrival `97320`. For each other +arrival `j`, the row `h_j = value(j) - null_j * value(97320)` forms a basis of +`H`. + +Chart 3 has 907 original input coordinates and no arrivals; public input 0 is +not among those coordinates. Chart 520 has no original input and exactly three +arrivals. The checker evaluates the entire graph on public input coordinate 0 +with exact rational arithmetic and finds that `h_95061` has coefficient `-2`, +so `dim(H ∩ S_3) <= 6`. On the ten explicitly listed input coordinates it also +computes the determinant of the seven `h_j` vectors together with all three +chart-520 arrivals: it is `25594` in `F_65521`. This nonzero minor proves that +those ten rational vectors are independent and hence `H ∩ S_520 = {0}`. + +Suppose at most seven linear scalar arrivals from these same unchanged sender +stocks suffice to reproduce the fixed seven-dimensional demand space. Their +span must equal `H`, so each transmitted value belongs to `H`. Values sent by +chart 3 lie in `H ∩ S_3`, while values sent by chart 520 lie in `H ∩ S_520`; +together those subspaces span at most six dimensions. This contradicts the +seven-dimensional demand. The original eight arrivals provide the matching +upper bound, so **eight are necessary and sufficient in this fixed-stock, +fixed-demand linear model**, even granting both senders unlimited acausal access +to their original stocks and arbitrary receiver decoding. New sender stocks, +other sending charts, changed demands, uncharged timing and nonlinear encoding +are outside this conclusion. The full witness is in the `chart_595` section of +[RESULT.json](RESULT.json). + +## Sender-space extension across 12 receivers + +The following calculation generalizes the fixed-stock question to all 14 +receivers with a one-dimensional local demand nullspace. It covers 11 new +receivers beyond the stronger chart-595 result above. The exact word, all local +nulls and each full original chart stock are authenticated and replayed by the +existing verifier. Every source stock and each new demand-plus-input basis is +independent modulo 65,521, and therefore has the same dimension over Q. + +Fix one receiver with `m = d+1` original arrivals and rank-`d` fixed local +demands. Let `L` be the span of its free original local inputs and let `H` be +the rank-`d` demand space in arrival coordinates, built from the exact null +vector as in the 595 construction. Set `W = H + L`. Because the original +arrivals and local inputs are independent, `dim_Q(W) = d + dim(L)` and `W` +equals the span of the fixed outgoing demands together with `L`. + +For an original sender `s`, let `S_s` be the span of **all** its original +inputs and arrivals, even those occurring after the receiver's original +operation. Project the modular `W` rows through elimination by the full modular +basis of `S_s`; let the resulting rank be `q_s`. The map's kernel is precisely +that modular sender stock. Since the modular and rational dimensions of both +`W` and `S_s` agree, while the rational rank of their combined matrix is at +least its modular rank, + +`dim_Q(W ∩ S_s) <= dim_Fp(W ∩ S_s) = dim(W) - q_s =: u_s`. + +Each quotient rank is checked by a nonzero square minor on recorded row and +input-coordinate indices. The receipt records all 83 receiver–sender pairs, +their stock sizes, original port counts, ranks, upper bounds and actual modular +minor determinants. A modular rank drop on its own is not used as a rational +upper bound; the individual full-rank conditions are essential. + +Let `c_s` be the number of original ports from sender `s` to the receiver. +Delete one original port from some sender `r`, retaining at most `c_s` ports +from every other sender and at most `c_r-1` from `r`. This leaves at most `d` +messages. If those messages and the free inputs reproduce all fixed demands, +their span contains `W` and has dimension at most `dim(L)+d = dim(W)`. +Consequently the span equals `W`, so each transmitted value lies in `W`; a +value sent by `s` also lies in `S_s`. The total possible message-space +dimension is therefore at most + +`sum_s min(c_s - [s=r], u_s)`. + +The checker maximizes this upper bound over every original sender from which a +port might be deleted. If the maximum is less than `d`, no such deletion can +succeed even with arbitrary linear message values and receiver decoding and +unlimited acausal access to all original sender stock. The 12-chart conclusion +retains the original per-sender caps. If instead +`sum_s u_s < d`, the same reasoning excludes **any** allocation of the at +most `d` remaining ports among the original senders. This stronger inequality +holds at eight of the 12 receivers, as shown below; the other four exclusions +require their original per-sender caps. None of these results changes sender +stock or demands, adds a route or free side channel, or permits nonlinear or +input-dependent-timing communication. The existing `d+1`-port graph may use +messages outside `W` that cancel in its decoding; this argument applies once a +port is removed, leaving at most `d` messages. + +| Receiver | Demand rank `d` | Best upper bound with original port caps | Sum of sender upper bounds without port caps | +| ---: | ---: | ---: | ---: | +| 243 | 28 | 22 | 39 | +| 394 | 5 | 4 | 7 | +| 477 | 12 | 7 | 7 | +| 517 | 13 | 8 | 8 | +| 518 | 12 | 7 | 7 | +| 529 | 7 | 6 | 7 | +| 531 | 4 | 1 | 1 | +| 541 | 7 | 6 | 7 | +| 543 | 6 | 5 | 5 | +| 591 | 5 | 1 | 1 | +| 595 | 7 | 6 | 6 | +| 1091 | 23 | 16 | 16 | + +At 470 the bound is 5 for rank 5, and at 599 it is 8 for rank 8; these two +checks are inconclusive, not constructions or impossibility results. The +separate exact 595 proof above independently permits arbitrary reallocation +of the seven ports between its original two sender stocks. The extension +includes a fresh negative control that zeroes a row of the actual 13-by-13 +quotient minor for receiver 477 and sender 288; the replay must reject it. +These local port obstructions do not establish a physical or signed rate gain. + +## Directed depth cuts + +Let `A` be the public input-to-final-output linear operator recomputed from the +word. For every threshold `h=1,...,9` and each direction, select final outputs +inside that depth side and inputs outside it. The rank of the corresponding +block of `A` over `F_65521` is a lower bound on its rank over Q, and hence on +the number of scalar values that must cross that directed cut in a linear, +fixed-endpoint protocol. Opposite-direction traffic and already local inputs +are allowed. The output matrix and every rank are recomputed; these are modular +lower bounds, not asserted equalities over Q. + +Each proper nested transfer crosses exactly `|depth(source)-depth(target)|` +thresholds in its direction. Summing the 18 directed cut bounds gives **9,527**; +summing actual crossings gives **9,639**, the graph's total grade. Any proposed +redesign to which this bound is applied must preserve the same input and final +charts and linear operator, and charge at least one unit for each threshold a +scalar transmission crosses. Cut lower bounds do not supply a scheduling, +storage, owner-return, compiler or κ certificate. + +## The 140,277 single-link reroutes + +For each original transfer `k: a -> b`, examine every chart `c` with nonempty +original stock for which `c` and `b` are nested and +`0 < |depth(c)-depth(b)| < |depth(a)-depth(b)|`. The checker explicitly +enumerates 140,277 `(k,c)` pairs. In each case, it asks whether `c` can form +**the same original value** of `k` from an arbitrary linear combination of all +its original inputs and arrivals, giving it even the stock created later in the +saved schedule. All other original node functions and dependencies are frozen. + +For speed, three deterministic annihilators of each complete modular stock are +formed from a fixed seed. A nonzero pairing with the target is an exact witness +that the target is outside the modular stock span. Randomness affects only +which valid certificates are chosen: it never turns a zero into a rejection. +Exactly 171 pairs pass this preliminary screen; every one is resolved by full +modular elimination with augmented donor coordinates. The full list of cases, +coordinates and a required descendant is in `RESULT.json`. For each case the +coordinate on that descendant is nonzero and the descendant's transitive +original dependency set contains `k`. Even allowing later independent donors +and arbitrary rescheduling, feeding that descendant into `k` would close a +cycle. All 171 are thus excluded; no same-value candidate survives this model. + +Why does modular exclusion also exclude Q? Let the original stock rows be `B`. +The stock is independent over `F_p`, so one square full-rank minor `B_I` has a +determinant that is a unit modulo `p`. If a rational vector `v` lay in the Q +span of `B`, its unique coefficients would be `v_I B_I^{-1}`. Because all +original denominators and `det(B_I)` are units modulo `p`, those coefficients +also have a well-defined reduction, and `v mod p` would lie in the modular +span. Thus a nonzero annihilator pairing excludes rational membership. This +argument relies on the full-rank minor; an arbitrary zero modular rank is not a +rational no-go. Likewise, whenever rational membership exists, the unique +rational coordinates reduce to the checked modular coordinates. A modularly +nonzero descendant coefficient therefore forces a nonzero rational descendant +coefficient. If the target is not in the rational span at all, it is excluded +already. The test does not rule out altering other transported values or +rewriting and recoding downstream donor functions. + +The signed-rational control uses inputs `x,y`, a transfer `k=10` of `x`, an +earlier alternate copy `13=x` and a later chart with donors `11=x-y/2` and +`12=y/2`. The copy is a permitted source. The second chart expresses `x` only +as `11+12`, and `11` is a descendant of `k`, so that source is rejected. A +second schedule makes `13` later but acyclic and confirms it is classified as +requiring rescheduling rather than as a cycle. These controls run over the +separate prime 65,519. + +## Arithmetic bounds + +All stored residues lie in `[0,65520]`. The longest literal row has 521 terms; +the largest dot product has 1,291 terms. Therefore each nonnegative integer +accumulation is bounded by + +`1291 * 65520^2 = 5,542,095,686,400 < 2^53 < 2^63`. + +Integer row updates, matrix elimination and integer annihilator dot products +therefore fit in signed 64-bit arithmetic. For the screening matrix only, NumPy +uses `float64` products: each integer multiplication is exactly representable, +all partial sums are nonnegative and below `2^53`, so every addition is exact +as well. The checker recomputes the bound and compares a screening dot product +to a Python-integer dot product. It then converts the exact integer results to +`int64` before reducing modulo the prime. No floating-point rank decision or +probabilistic zero test is used. diff --git a/research/p104-gaussian-receiver-rank/README.md b/research/p104-gaussian-receiver-rank/README.md new file mode 100644 index 0000000000..0ccdf3691d --- /dev/null +++ b/research/p104-gaussian-receiver-rank/README.md @@ -0,0 +1,148 @@ +# Gaussian receiver ranks and chronological reroutes + +This is a finite certificate for the exact normalized Gaussian word used by +[ToikY's #8072](https://github.com/CrocSwap/integer-mult-bounds/pull/8072), +head `75f7e1c44f48c43983016bcf8878c4d9e5e87c62`. It concerns one pinned +1,291-input, 5,674-transfer graph; it does not supply a replacement multiplier, +an improved price, a new κ, or a global impossibility result. The sender-space extension builds +on the original [#8074 certificate at head +`327e55157afb3a7a13e7ecb2b2cef20097d7feac`](https://github.com/CrocSwap/integer-mult-bounds/commit/327e55157afb3a7a13e7ecb2b2cef20097d7feac). + +| Checked statement | Result | +| --- | ---: | +| Arrivals independent of all other arrivals and initial inputs at each destination | 5,674 arrivals on 977 receiving charts | +| Sum of ranks of the fixed local demand matrices | 5,660 | +| One-dimensional rational local demand nullspaces | 14 charts | +| Chart 595: minimum arrivals from its two unchanged sender stocks, even with receiver recoding | 8 | +| Deficient receivers where one port cannot be deleted under original sender-stock and per-sender port caps | 12 of 14 | +| Of those, receivers also excluded with unrestricted reallocation among the original senders | 8 | +| Directed depth-cut rank lower bound versus the graph's total transfer grade | 9,527 versus 9,639 | +| Strictly cheaper nested alternate senders with nonempty original stock | 140,277 cases | +| Screening survivors, all requiring an original descendant of the replaced transfer | 171 | +| Original-sender two-receiver shared-packet incidences excluded with a cheaper relay | 58 of 58 | + +The single-link screen rules out only a **same-value** reroute while the +other donor functions and their dependency graph remain fixed. We give each +alternate sender its entire original stock, even values produced later in the +original schedule. For the 171 survivors, the unique full-stock coordinates +need a descendant of the transfer, which would create a cycle; simply reordering +independent later work cannot fix that. Empty-stock charts cannot send the +nonzero target by a linear combination. Changed transported values, receiver +recoding, multiple edits and redesigned donor graphs remain open outside the +following limited broadcast screen. + +The 14 nullspaces concern **local downstream demand**, not dependence among +the delivered values. Their existence does not construct 14 removable links. +For chart 595, a separate sender-space certificate strengthens the local rank-7 +bound: seven arrivals cannot reproduce its fixed demands using its two original +sender stocks, even if their values and the receiver basis are changed and all +stock is available acausally. The existing eight arrivals attain this count. +This sharper result does not cover new sender stocks, other routes or nonlinear +communication. + +A separate sender-space calculation now covers 12 of the 14 deficient charts, +including 11 charts beyond 595. For each it excludes deleting one arrival when +each original sender's stock and per-sender port cap are fixed, even granting +all stock acausally and allowing arbitrary linear transmitted values and +receiver decoding. At eight of these charts the same bounds also exclude any +reallocation of the remaining ports among the original senders. The other +four exclusions require their original per-sender port caps. Charts 470 and 599 +remain inconclusive. New routes or stock and changed downstream demands remain +outside the results. The separate exact chart-595 proof independently permits +reallocation between its two unchanged senders. See the detailed +[sender-space receipt](sender-space-result.json) and [proof](PROOF.md). +A [two-receiver addendum](BROADCAST.md) allows an arbitrary changed packet +from the original sender and arbitrary linear decoders at both receivers, +with the other original stocks granted acausally. It tests all 11,819 actual +`u: a -> b` read by `v: b -> d` incidences and every properly nested relay +for the cases where the source and second receiver are different. Of 58 +incidences with a strictly lower raw-grade route, 47 have no nonzero +common packet over Q and 11 can share only a multiple of `u`, which cannot +decode the removed `v`. Eight cases where the sender is the second receiver +also cannot introduce that missing information. This supplies no price or κ. +The cut ranks lower-bound scalar communication under the specified fixed linear +input/output and endpoint contract; the gap of 112 grade units is not a +realizable saving. See [PROOF.md](PROOF.md), the full [RESULT.json](RESULT.json) +and the [exact rational null witnesses](null-sources.json). + +## Reproduce + +With CPython 3.12 and `numpy==1.26.4`: + +```sh +python3.12 -I -B research/p104-gaussian-receiver-rank/verify.py +# Or, in the repository's registered package runner: +python3.12 -I -B scripts/research_package.py --package research/p104-gaussian-receiver-rank +``` + +`verify.py` authenticates both the compressed bytes and the canonical full +uncompressed graph before computing all results. It checks each rational null +vector with `fractions.Fraction`, proves the finite-field arithmetic bounds, +checks the chart-595 sender obstruction and all 171 modular coordinate +witnesses, and exercises a signed-rational +example over a second prime with an available sender, a forbidden descendant, +and an acyclic later sender that requires rescheduling. The second registered +command recomputes the 12-chart sender-space bounds and the nonzero modular +minor for every receiver–sender pair. Its deliberate corrupt-minor control must +fail with a nonzero exit status: + +```sh +python3.12 -I -B research/p104-gaussian-receiver-rank/sender_space.py +python3.12 -I -B research/p104-gaussian-receiver-rank/sender_space.py --corrupt-minor +``` + +The first sender-space command must pass; the second zeroes a row of the actual +chart-477, sender-288 minor and must reject it. + +The third registered command runs the shared-packet census, exact rational +identities and positive/negative toy controls. Its separate mutation option +changes one actual rational coordinate and must exit nonzero: + +```sh +python3.12 -I -B research/p104-gaussian-receiver-rank/broadcast.py +python3.12 -I -B research/p104-gaussian-receiver-rank/broadcast.py --corrupt-coordinate +``` + +The baseline verifier can additionally +compare a previously installed, source-pinned runtime: + +```sh +python3.12 -I -B research/p104-gaussian-receiver-rank/verify.py --runtime /path/to/installed-8072/runtime +``` + +For the independent source reconstruction, obtain the exact #8072 package at +head `75f7e1c44f48c43983016bcf8878c4d9e5e87c62`, including its archive, and run: + +```sh +python3.12 -I -B research/p104-gaussian-receiver-rank/rebuild.py \ + /path/to/research/p104-weighted-capped-allocation-490950 +``` + +The optional rebuild checks the exact #8072 `verify.py` and `prepare.py` bytes, +uses their own authenticated #8057 archive restoration and bootstrap, and +compares the whole rebuilt normalized graph and layout to the frozen input. It +uses a temporary directory and requires `git`; the archive need not be copied +into this package or fetched by the normal replay. The pinned source drivers are +[#8072 verify.py](https://github.com/ToikY/integer-mult-bounds/blob/75f7e1c44f48c43983016bcf8878c4d9e5e87c62/research/p104-weighted-capped-allocation-490950/verify.py) +and [prepare.py](https://github.com/ToikY/integer-mult-bounds/blob/75f7e1c44f48c43983016bcf8878c4d9e5e87c62/research/p104-weighted-capped-allocation-490950/prepare.py). +The source's `strong_complex.load_changed` rebuilds the journals, verifies their +input hashes, and checks the graph and layout digests. The canonical word digest +is `38d2b3a2311a9ba5fee091cc7aa204c7ed95651aec95d75184b2391df090cbfb`; +the compressed-file digest is +`e5c1477c1b33c5cfe112fc0fd503f7dd01d1ccc556d229e76c11b1fbb7d01bb4`. + +This is an author-side computational certificate, not a claim of independent +scientific acceptance. The pinned archive and predecessor notices identify the +source history; [NOTICE.md](NOTICE.md) and [PARENT-NOTICE](PARENT-NOTICE) retain +the relevant credits. The generic package metadata pins the historical task +catalogue at base `0618e75a22cec54d1651394ef83d088551b7f026`; that provenance +base is distinct from the #8072 graph source head. + +## Open next questions + +- Can charts 470 and 599 be resolved with stronger source-space bounds, or can + another sender allocation or changed stock exploit a null direction while + preserving a legal chronological graph and all owner returns? +- Can any such executable redesign improve the complete, directed signed price + after the actual 48-call supplier, physical costs and other obligations are + included? No changed invoice is supplied here. diff --git a/research/p104-gaussian-receiver-rank/RESULT.json b/research/p104-gaussian-receiver-rank/RESULT.json new file mode 100644 index 0000000000..fc1b4fa100 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/RESULT.json @@ -0,0 +1,5346 @@ +{ + "word": "38d2b3a2311a9ba5fee091cc7aa204c7ed95651aec95d75184b2391df090cbfb", + "modulus": 65521, + "roles": 1291, + "transfers": 5674, + "receiving_charts": 977, + "independent_arrivals": 5674, + "local_demand_rank_total": 5660, + "deficient_local": { + "243": [ + 29, + 32, + 28 + ], + "1091": [ + 24, + 25, + 23 + ], + "470": [ + 6, + 6, + 5 + ], + "394": [ + 6, + 6, + 5 + ], + "477": [ + 13, + 14, + 12 + ], + "517": [ + 14, + 14, + 13 + ], + "595": [ + 8, + 8, + 7 + ], + "541": [ + 8, + 9, + 7 + ], + "543": [ + 7, + 7, + 6 + ], + "599": [ + 9, + 9, + 8 + ], + "518": [ + 13, + 13, + 12 + ], + "531": [ + 5, + 5, + 4 + ], + "529": [ + 8, + 8, + 7 + ], + "591": [ + 6, + 6, + 5 + ] + }, + "cuts": [ + { + "level": 1, + "up": { + "paid": 907, + "output_rank_mod": 907, + "slack": 0 + }, + "down": { + "paid": 0, + "output_rank_mod": 0, + "slack": 0 + } + }, + { + "level": 2, + "up": { + "paid": 1114, + "output_rank_mod": 1106, + "slack": 8 + }, + "down": { + "paid": 8, + "output_rank_mod": 0, + "slack": 8 + } + }, + { + "level": 3, + "up": { + "paid": 1124, + "output_rank_mod": 1116, + "slack": 8 + }, + "down": { + "paid": 8, + "output_rank_mod": 0, + "slack": 8 + } + }, + { + "level": 4, + "up": { + "paid": 1122, + "output_rank_mod": 1114, + "slack": 8 + }, + "down": { + "paid": 8, + "output_rank_mod": 0, + "slack": 8 + } + }, + { + "level": 5, + "up": { + "paid": 1022, + "output_rank_mod": 1014, + "slack": 8 + }, + "down": { + "paid": 8, + "output_rank_mod": 0, + "slack": 8 + } + }, + { + "level": 6, + "up": { + "paid": 1127, + "output_rank_mod": 1119, + "slack": 8 + }, + "down": { + "paid": 8, + "output_rank_mod": 0, + "slack": 8 + } + }, + { + "level": 7, + "up": { + "paid": 1133, + "output_rank_mod": 1125, + "slack": 8 + }, + "down": { + "paid": 8, + "output_rank_mod": 0, + "slack": 8 + } + }, + { + "level": 8, + "up": { + "paid": 1132, + "output_rank_mod": 1124, + "slack": 8 + }, + "down": { + "paid": 8, + "output_rank_mod": 0, + "slack": 8 + } + }, + { + "level": 9, + "up": { + "paid": 902, + "output_rank_mod": 902, + "slack": 0 + }, + "down": { + "paid": 0, + "output_rank_mod": 0, + "slack": 0 + } + } + ], + "total_paid_grade": 9639, + "total_cut_lower_bound": 9527, + "nonempty_charts": 978, + "strictly_cheaper_nested_single_link_cases": 140277, + "annihilator_survivors": 171, + "descendant_required": 171, + "descendant_witnesses": [ + [ + [ + 20007, + 3, + 1048, + 777, + 5, + 1 + ], + 96070, + 1 + ], + [ + [ + 88470, + 101, + 381, + 237, + 2, + 1 + ], + 88634, + 1 + ], + [ + [ + 89413, + 37, + 470, + 761, + 2, + 1 + ], + 99545, + 1 + ], + [ + [ + 89511, + 37, + 475, + 1090, + 2, + 1 + ], + 89519, + 1 + ], + [ + [ + 89764, + 234, + 477, + 127, + 4, + 1 + ], + 104126, + 1 + ], + [ + [ + 89768, + 242, + 477, + 127, + 4, + 1 + ], + 104146, + 1 + ], + [ + [ + 90671, + 3, + 330, + 616, + 2, + 1 + ], + 91600, + 1 + ], + [ + [ + 90744, + 75, + 261, + 1091, + 2, + 1 + ], + 90778, + 1 + ], + [ + [ + 90746, + 75, + 264, + 1091, + 2, + 1 + ], + 90775, + 1 + ], + [ + [ + 90750, + 86, + 265, + 1091, + 2, + 1 + ], + 90761, + 1 + ], + [ + [ + 90899, + 232, + 267, + 127, + 4, + 1 + ], + 103995, + 1 + ], + [ + [ + 91199, + 535, + 536, + 541, + 3, + 1 + ], + 95935, + 1 + ], + [ + [ + 91385, + 537, + 543, + 127, + 2, + 1 + ], + 103801, + 2 + ], + [ + [ + 91386, + 540, + 543, + 127, + 2, + 1 + ], + 103801, + 2 + ], + [ + [ + 91392, + 538, + 543, + 127, + 2, + 1 + ], + 104318, + 2 + ], + [ + [ + 91555, + 539, + 543, + 127, + 2, + 1 + ], + 104318, + 2 + ], + [ + [ + 92634, + 237, + 517, + 127, + 4, + 1 + ], + 103584, + 1 + ], + [ + [ + 92635, + 516, + 517, + 127, + 4, + 1 + ], + 103561, + 1 + ], + [ + [ + 92636, + 498, + 517, + 127, + 4, + 1 + ], + 104123, + 1 + ], + [ + [ + 92719, + 242, + 517, + 127, + 4, + 1 + ], + 103589, + 1 + ], + [ + [ + 93421, + 8, + 434, + 754, + 2, + 1 + ], + 99316, + 1 + ], + [ + [ + 93958, + 3, + 116, + 828, + 5, + 1 + ], + 98589, + 1 + ], + [ + [ + 94003, + 235, + 518, + 127, + 4, + 1 + ], + 104070, + 1 + ], + [ + [ + 94004, + 244, + 518, + 127, + 4, + 1 + ], + 104466, + 1 + ], + [ + [ + 94005, + 498, + 518, + 127, + 4, + 1 + ], + 104262, + 1 + ], + [ + [ + 94006, + 516, + 518, + 127, + 4, + 1 + ], + 103648, + 1 + ], + [ + [ + 94007, + 234, + 518, + 127, + 4, + 1 + ], + 103578, + 1 + ], + [ + [ + 94053, + 23, + 302, + 712, + 2, + 1 + ], + 94063, + 1 + ], + [ + [ + 94958, + 3, + 115, + 554, + 5, + 1 + ], + 98016, + 1 + ], + [ + [ + 95022, + 489, + 569, + 565, + 4, + 1 + ], + 95053, + 1 + ], + [ + [ + 95028, + 3, + 570, + 1039, + 3, + 2 + ], + 95046, + 1 + ], + [ + [ + 95047, + 429, + 1039, + 925, + 3, + 2 + ], + 95417, + 1 + ], + [ + [ + 95049, + 572, + 918, + 127, + 4, + 2 + ], + 20005, + 1 + ], + [ + [ + 95050, + 392, + 1037, + 918, + 3, + 2 + ], + 101275, + 1 + ], + [ + [ + 95055, + 573, + 921, + 127, + 4, + 2 + ], + 20006, + 1 + ], + [ + [ + 95056, + 411, + 1038, + 921, + 3, + 2 + ], + 95425, + 1 + ], + [ + [ + 95077, + 3, + 602, + 686, + 2, + 1 + ], + 97872, + 1 + ], + [ + [ + 95079, + 3, + 602, + 685, + 2, + 1 + ], + 97451, + 1 + ], + [ + [ + 95199, + 619, + 625, + 630, + 2, + 1 + ], + 95210, + 1 + ], + [ + [ + 95202, + 620, + 626, + 629, + 2, + 1 + ], + 95207, + 1 + ], + [ + [ + 95205, + 621, + 627, + 628, + 2, + 1 + ], + 95219, + 1 + ], + [ + [ + 95208, + 289, + 629, + 632, + 4, + 1 + ], + 95214, + 1 + ], + [ + [ + 95211, + 268, + 630, + 634, + 4, + 1 + ], + 95223, + 1 + ], + [ + [ + 95220, + 249, + 628, + 208, + 4, + 2 + ], + 95349, + 1 + ], + [ + [ + 95304, + 594, + 726, + 884, + 3, + 2 + ], + 95929, + 1 + ], + [ + [ + 95374, + 570, + 771, + 923, + 3, + 1 + ], + 95419, + 1 + ], + [ + [ + 95377, + 593, + 759, + 852, + 3, + 2 + ], + 99904, + 1 + ], + [ + [ + 95382, + 442, + 776, + 905, + 4, + 1 + ], + 101208, + 1 + ], + [ + [ + 95493, + 3, + 278, + 551, + 2, + 1 + ], + 95987, + 1 + ], + [ + [ + 95701, + 43, + 669, + 672, + 4, + 1 + ], + 95703, + 1 + ], + [ + [ + 95704, + 507, + 672, + 650, + 4, + 1 + ], + 97948, + 1 + ], + [ + [ + 95811, + 374, + 1029, + 529, + 3, + 2 + ], + 96748, + 1 + ], + [ + [ + 95835, + 46, + 790, + 913, + 5, + 1 + ], + 95838, + 1 + ], + [ + [ + 95908, + 676, + 678, + 681, + 3, + 1 + ], + 95910, + 1 + ], + [ + [ + 95911, + 297, + 681, + 658, + 4, + 1 + ], + 98143, + 1 + ], + [ + [ + 95994, + 279, + 553, + 549, + 4, + 1 + ], + 95997, + 1 + ], + [ + [ + 96012, + 550, + 549, + 127, + 4, + 2 + ], + 103939, + 1 + ], + [ + [ + 96040, + 545, + 549, + 127, + 4, + 2 + ], + 103957, + 1 + ], + [ + [ + 96128, + 459, + 564, + 565, + 4, + 1 + ], + 96130, + 1 + ], + [ + [ + 96173, + 1032, + 569, + 673, + 2, + 1 + ], + 97985, + 1 + ], + [ + [ + 96210, + 317, + 1033, + 903, + 3, + 2 + ], + 96218, + 1 + ], + [ + [ + 96213, + 576, + 770, + 901, + 3, + 1 + ], + 96220, + 1 + ], + [ + [ + 96254, + 336, + 1034, + 907, + 3, + 2 + ], + 96257, + 1 + ], + [ + [ + 96260, + 570, + 1039, + 1041, + 2, + 1 + ], + 96268, + 1 + ], + [ + [ + 96266, + 566, + 565, + 127, + 4, + 2 + ], + 104283, + 1 + ], + [ + [ + 96286, + 561, + 565, + 127, + 4, + 2 + ], + 104220, + 1 + ], + [ + [ + 96293, + 3, + 488, + 545, + 2, + 1 + ], + 95966, + 1 + ], + [ + [ + 96356, + 306, + 267, + 127, + 4, + 1 + ], + 104077, + 1 + ], + [ + [ + 96396, + 306, + 517, + 127, + 4, + 1 + ], + 104009, + 5 + ], + [ + [ + 96505, + 306, + 518, + 127, + 4, + 1 + ], + 103514, + 6 + ], + [ + [ + 96566, + 478, + 665, + 667, + 4, + 1 + ], + 96569, + 1 + ], + [ + [ + 96626, + 3, + 1051, + 127, + 5, + 4 + ], + 103644, + 11 + ], + [ + [ + 96706, + 519, + 1028, + 1069, + 2, + 1 + ], + 99924, + 1 + ], + [ + [ + 96741, + 365, + 1028, + 529, + 3, + 2 + ], + 96743, + 1 + ], + [ + [ + 97404, + 289, + 548, + 549, + 4, + 1 + ], + 97406, + 1 + ], + [ + [ + 97599, + 17, + 1058, + 906, + 4, + 2 + ], + 97719, + 1 + ], + [ + [ + 97623, + 698, + 704, + 707, + 2, + 1 + ], + 97625, + 1 + ], + [ + [ + 97654, + 637, + 643, + 646, + 2, + 1 + ], + 97656, + 1 + ], + [ + [ + 97671, + 597, + 120, + 207, + 4, + 3 + ], + 102302, + 1 + ], + [ + [ + 97671, + 597, + 120, + 983, + 4, + 2 + ], + 98890, + 2 + ], + [ + [ + 97761, + 750, + 768, + 902, + 3, + 1 + ], + 100947, + 1 + ], + [ + [ + 97764, + 318, + 1056, + 904, + 3, + 2 + ], + 98833, + 1 + ], + [ + [ + 97815, + 459, + 647, + 650, + 4, + 1 + ], + 97818, + 1 + ], + [ + [ + 97843, + 249, + 645, + 648, + 4, + 1 + ], + 98158, + 1 + ], + [ + [ + 97867, + 641, + 175, + 127, + 4, + 1 + ], + 104257, + 1 + ], + [ + [ + 97903, + 499, + 664, + 666, + 4, + 1 + ], + 97906, + 1 + ], + [ + [ + 97937, + 661, + 667, + 127, + 4, + 2 + ], + 104238, + 1 + ], + [ + [ + 97956, + 481, + 1095, + 671, + 3, + 1 + ], + 97958, + 1 + ], + [ + [ + 97959, + 297, + 671, + 634, + 4, + 1 + ], + 97965, + 1 + ], + [ + [ + 97988, + 668, + 650, + 127, + 4, + 2 + ], + 104327, + 1 + ], + [ + [ + 98124, + 624, + 632, + 127, + 3, + 2 + ], + 104219, + 1 + ], + [ + [ + 98133, + 622, + 634, + 127, + 3, + 2 + ], + 104225, + 1 + ], + [ + [ + 98148, + 278, + 679, + 680, + 3, + 1 + ], + 98150, + 1 + ], + [ + [ + 98151, + 258, + 680, + 648, + 4, + 1 + ], + 98154, + 1 + ], + [ + [ + 98190, + 551, + 648, + 127, + 4, + 2 + ], + 103727, + 1 + ], + [ + [ + 98193, + 677, + 658, + 127, + 3, + 2 + ], + 104127, + 1 + ], + [ + [ + 98210, + 3, + 717, + 802, + 3, + 1 + ], + 98215, + 1 + ], + [ + [ + 98213, + 717, + 769, + 924, + 3, + 1 + ], + 98218, + 1 + ], + [ + [ + 98242, + 489, + 694, + 659, + 4, + 1 + ], + 98245, + 1 + ], + [ + [ + 98258, + 468, + 695, + 666, + 4, + 1 + ], + 98261, + 1 + ], + [ + [ + 98299, + 640, + 648, + 127, + 3, + 2 + ], + 104153, + 1 + ], + [ + [ + 98320, + 688, + 208, + 127, + 4, + 1 + ], + 104237, + 1 + ], + [ + [ + 98324, + 687, + 666, + 127, + 3, + 2 + ], + 103961, + 1 + ], + [ + [ + 98333, + 689, + 659, + 127, + 3, + 2 + ], + 104060, + 1 + ], + [ + [ + 98336, + 1032, + 674, + 127, + 3, + 2 + ], + 104218, + 1 + ], + [ + [ + 98343, + 599, + 261, + 1091, + 2, + 1 + ], + 103148, + 1 + ], + [ + [ + 98360, + 599, + 265, + 1091, + 2, + 1 + ], + 103116, + 1 + ], + [ + [ + 98366, + 599, + 264, + 1091, + 2, + 1 + ], + 103101, + 1 + ], + [ + [ + 98418, + 17, + 720, + 234, + 2, + 1 + ], + 102993, + 1 + ], + [ + [ + 98535, + 355, + 785, + 909, + 3, + 2 + ], + 98563, + 1 + ], + [ + [ + 98630, + 401, + 1062, + 922, + 3, + 2 + ], + 98680, + 1 + ], + [ + [ + 98676, + 743, + 245, + 127, + 2, + 1 + ], + 103818, + 1 + ], + [ + [ + 98813, + 327, + 783, + 907, + 3, + 2 + ], + 98817, + 1 + ], + [ + [ + 98898, + 623, + 208, + 127, + 4, + 1 + ], + 104276, + 1 + ], + [ + [ + 98910, + 449, + 1067, + 929, + 3, + 2 + ], + 98913, + 1 + ], + [ + [ + 98930, + 885, + 175, + 127, + 2, + 1 + ], + 102743, + 2 + ], + [ + [ + 98931, + 884, + 175, + 127, + 2, + 1 + ], + 102743, + 2 + ], + [ + [ + 99027, + 871, + 135, + 127, + 2, + 1 + ], + 103644, + 2 + ], + [ + [ + 99028, + 866, + 135, + 127, + 2, + 1 + ], + 103644, + 2 + ], + [ + [ + 99131, + 508, + 768, + 904, + 3, + 1 + ], + 100967, + 1 + ], + [ + [ + 99134, + 508, + 769, + 189, + 3, + 2 + ], + 101233, + 1 + ], + [ + [ + 99139, + 509, + 771, + 246, + 3, + 2 + ], + 103036, + 1 + ], + [ + [ + 99139, + 509, + 771, + 925, + 3, + 1 + ], + 101109, + 1 + ], + [ + [ + 99148, + 365, + 791, + 912, + 4, + 1 + ], + 99361, + 1 + ], + [ + [ + 99161, + 546, + 666, + 127, + 4, + 2 + ], + 104154, + 1 + ], + [ + [ + 99196, + 514, + 776, + 907, + 3, + 1 + ], + 101136, + 1 + ], + [ + [ + 99200, + 514, + 777, + 930, + 3, + 1 + ], + 101127, + 1 + ], + [ + [ + 99245, + 439, + 1066, + 930, + 3, + 2 + ], + 99250, + 1 + ], + [ + [ + 99253, + 266, + 752, + 930, + 3, + 1 + ], + 101124, + 1 + ], + [ + [ + 99348, + 373, + 1036, + 914, + 3, + 2 + ], + 99377, + 1 + ], + [ + [ + 99439, + 1096, + 785, + 808, + 2, + 1 + ], + 99586, + 1 + ], + [ + [ + 99443, + 533, + 1057, + 1068, + 2, + 1 + ], + 99574, + 1 + ], + [ + [ + 99527, + 1070, + 208, + 127, + 2, + 1 + ], + 103993, + 2 + ], + [ + [ + 99528, + 1069, + 208, + 127, + 2, + 1 + ], + 104256, + 1 + ], + [ + [ + 99627, + 745, + 1071, + 245, + 3, + 2 + ], + 102950, + 1 + ], + [ + [ + 99661, + 749, + 1066, + 1073, + 2, + 1 + ], + 99961, + 1 + ], + [ + [ + 99690, + 509, + 770, + 246, + 3, + 2 + ], + 102996, + 1 + ], + [ + [ + 99690, + 509, + 770, + 903, + 3, + 1 + ], + 100950, + 1 + ], + [ + [ + 99738, + 735, + 922, + 127, + 4, + 2 + ], + 20004, + 1 + ], + [ + [ + 99928, + 639, + 650, + 127, + 3, + 2 + ], + 104224, + 1 + ], + [ + [ + 99948, + 3, + 1083, + 202, + 7, + 1 + ], + 99951, + 1 + ], + [ + [ + 100088, + 356, + 1035, + 911, + 3, + 2 + ], + 100730, + 1 + ], + [ + [ + 100187, + 3, + 1098, + 762, + 3, + 1 + ], + 100622, + 1 + ], + [ + [ + 100276, + 699, + 705, + 706, + 2, + 1 + ], + 100278, + 1 + ], + [ + [ + 100279, + 279, + 706, + 632, + 4, + 1 + ], + 100412, + 1 + ], + [ + [ + 100282, + 597, + 773, + 774, + 3, + 2 + ], + 100563, + 1 + ], + [ + [ + 100311, + 467, + 655, + 656, + 3, + 1 + ], + 100313, + 1 + ], + [ + [ + 100314, + 268, + 656, + 658, + 4, + 1 + ], + 100323, + 1 + ], + [ + [ + 100350, + 499, + 657, + 659, + 4, + 1 + ], + 100359, + 1 + ], + [ + [ + 100423, + 697, + 703, + 708, + 2, + 1 + ], + 100425, + 1 + ], + [ + [ + 100426, + 468, + 708, + 667, + 4, + 1 + ], + 100432, + 1 + ], + [ + [ + 100489, + 701, + 632, + 127, + 3, + 2 + ], + 104053, + 1 + ], + [ + [ + 100494, + 700, + 667, + 127, + 3, + 2 + ], + 104468, + 1 + ], + [ + [ + 100500, + 702, + 175, + 127, + 4, + 1 + ], + 104059, + 1 + ], + [ + [ + 100558, + 383, + 741, + 241, + 2, + 1 + ], + 103199, + 1 + ], + [ + [ + 100564, + 741, + 774, + 908, + 2, + 1 + ], + 100573, + 1 + ], + [ + [ + 100567, + 355, + 788, + 910, + 3, + 2 + ], + 100569, + 1 + ], + [ + [ + 100641, + 773, + 774, + 910, + 2, + 1 + ], + 101031, + 1 + ], + [ + [ + 100675, + 773, + 775, + 917, + 2, + 1 + ], + 101244, + 1 + ], + [ + [ + 100680, + 348, + 787, + 909, + 4, + 1 + ], + 100683, + 1 + ], + [ + [ + 100698, + 562, + 658, + 127, + 4, + 2 + ], + 104211, + 1 + ], + [ + [ + 100719, + 1089, + 917, + 127, + 4, + 2 + ], + 20003, + 1 + ], + [ + [ + 100940, + 567, + 634, + 127, + 4, + 2 + ], + 103971, + 1 + ], + [ + [ + 100955, + 653, + 659, + 127, + 3, + 2 + ], + 103714, + 1 + ], + [ + [ + 101029, + 572, + 916, + 127, + 4, + 2 + ], + 104370, + 1 + ], + [ + [ + 101096, + 735, + 920, + 127, + 4, + 2 + ], + 104221, + 1 + ], + [ + [ + 101101, + 573, + 919, + 127, + 4, + 2 + ], + 104062, + 1 + ], + [ + [ + 101233, + 769, + 189, + 127, + 2, + 1 + ], + 103753, + 1 + ], + [ + [ + 101945, + 836, + 222, + 127, + 2, + 1 + ], + 103754, + 2 + ], + [ + [ + 101946, + 835, + 222, + 127, + 2, + 1 + ], + 103754, + 2 + ], + [ + [ + 102950, + 1071, + 245, + 127, + 2, + 1 + ], + 104090, + 1 + ] + ], + "descendant_coordinates": [ + [ + [ + 20007, + 3, + 1048, + 777, + 5, + 1 + ], + [ + [ + 96070, + 1 + ] + ], + 96070 + ], + [ + [ + 88470, + 101, + 381, + 237, + 2, + 1 + ], + [ + [ + 88634, + 1 + ] + ], + 88634 + ], + [ + [ + 89413, + 37, + 470, + 761, + 2, + 1 + ], + [ + [ + 99545, + 1 + ] + ], + 99545 + ], + [ + [ + 89511, + 37, + 475, + 1090, + 2, + 1 + ], + [ + [ + 89519, + 1 + ] + ], + 89519 + ], + [ + [ + 89764, + 234, + 477, + 127, + 4, + 1 + ], + [ + [ + 104126, + 1 + ] + ], + 104126 + ], + [ + [ + 89768, + 242, + 477, + 127, + 4, + 1 + ], + [ + [ + 104146, + 1 + ] + ], + 104146 + ], + [ + [ + 90671, + 3, + 330, + 616, + 2, + 1 + ], + [ + [ + 91600, + 1 + ] + ], + 91600 + ], + [ + [ + 90744, + 75, + 261, + 1091, + 2, + 1 + ], + [ + [ + 90778, + 1 + ] + ], + 90778 + ], + [ + [ + 90746, + 75, + 264, + 1091, + 2, + 1 + ], + [ + [ + 90775, + 1 + ] + ], + 90775 + ], + [ + [ + 90750, + 86, + 265, + 1091, + 2, + 1 + ], + [ + [ + 90761, + 1 + ] + ], + 90761 + ], + [ + [ + 90899, + 232, + 267, + 127, + 4, + 1 + ], + [ + [ + 103995, + 13586 + ] + ], + 103995 + ], + [ + [ + 91199, + 535, + 536, + 541, + 3, + 1 + ], + [ + [ + 95935, + 1 + ] + ], + 95935 + ], + [ + [ + 91385, + 537, + 543, + 127, + 2, + 1 + ], + [ + [ + 103801, + 32761 + ], + [ + 104268, + 2 + ] + ], + 103801 + ], + [ + [ + 91386, + 540, + 543, + 127, + 2, + 1 + ], + [ + [ + 103801, + 16380 + ], + [ + 104268, + 1 + ] + ], + 103801 + ], + [ + [ + 91392, + 538, + 543, + 127, + 2, + 1 + ], + [ + [ + 104318, + 4 + ], + [ + 104319, + 1 + ] + ], + 104318 + ], + [ + [ + 91555, + 539, + 543, + 127, + 2, + 1 + ], + [ + [ + 104318, + 65517 + ], + [ + 104319, + 1 + ] + ], + 104318 + ], + [ + [ + 92634, + 237, + 517, + 127, + 4, + 1 + ], + [ + [ + 103584, + 65520 + ] + ], + 103584 + ], + [ + [ + 92635, + 516, + 517, + 127, + 4, + 1 + ], + [ + [ + 103561, + 1 + ] + ], + 103561 + ], + [ + [ + 92636, + 498, + 517, + 127, + 4, + 1 + ], + [ + [ + 104123, + 1 + ] + ], + 104123 + ], + [ + [ + 92719, + 242, + 517, + 127, + 4, + 1 + ], + [ + [ + 103589, + 65520 + ] + ], + 103589 + ], + [ + [ + 93421, + 8, + 434, + 754, + 2, + 1 + ], + [ + [ + 99316, + 1 + ] + ], + 99316 + ], + [ + [ + 93958, + 3, + 116, + 828, + 5, + 1 + ], + [ + [ + 98589, + 1 + ] + ], + 98589 + ], + [ + [ + 94003, + 235, + 518, + 127, + 4, + 1 + ], + [ + [ + 104070, + 1 + ] + ], + 104070 + ], + [ + [ + 94004, + 244, + 518, + 127, + 4, + 1 + ], + [ + [ + 104466, + 65520 + ] + ], + 104466 + ], + [ + [ + 94005, + 498, + 518, + 127, + 4, + 1 + ], + [ + [ + 104262, + 1 + ] + ], + 104262 + ], + [ + [ + 94006, + 516, + 518, + 127, + 4, + 1 + ], + [ + [ + 103648, + 1 + ] + ], + 103648 + ], + [ + [ + 94007, + 234, + 518, + 127, + 4, + 1 + ], + [ + [ + 103578, + 1 + ] + ], + 103578 + ], + [ + [ + 94053, + 23, + 302, + 712, + 2, + 1 + ], + [ + [ + 94063, + 1 + ] + ], + 94063 + ], + [ + [ + 94958, + 3, + 115, + 554, + 5, + 1 + ], + [ + [ + 98016, + 1 + ] + ], + 98016 + ], + [ + [ + 95022, + 489, + 569, + 565, + 4, + 1 + ], + [ + [ + 95053, + 1 + ] + ], + 95053 + ], + [ + [ + 95028, + 3, + 570, + 1039, + 3, + 2 + ], + [ + [ + 95046, + 1 + ] + ], + 95046 + ], + [ + [ + 95047, + 429, + 1039, + 925, + 3, + 2 + ], + [ + [ + 95417, + 1 + ] + ], + 95417 + ], + [ + [ + 95049, + 572, + 918, + 127, + 4, + 2 + ], + [ + [ + 20005, + 1 + ] + ], + 20005 + ], + [ + [ + 95050, + 392, + 1037, + 918, + 3, + 2 + ], + [ + [ + 101275, + 1 + ] + ], + 101275 + ], + [ + [ + 95055, + 573, + 921, + 127, + 4, + 2 + ], + [ + [ + 20006, + 1 + ] + ], + 20006 + ], + [ + [ + 95056, + 411, + 1038, + 921, + 3, + 2 + ], + [ + [ + 95425, + 1 + ] + ], + 95425 + ], + [ + [ + 95077, + 3, + 602, + 686, + 2, + 1 + ], + [ + [ + 97872, + 1 + ] + ], + 97872 + ], + [ + [ + 95079, + 3, + 602, + 685, + 2, + 1 + ], + [ + [ + 97451, + 1 + ] + ], + 97451 + ], + [ + [ + 95199, + 619, + 625, + 630, + 2, + 1 + ], + [ + [ + 95210, + 1 + ] + ], + 95210 + ], + [ + [ + 95202, + 620, + 626, + 629, + 2, + 1 + ], + [ + [ + 95207, + 1 + ] + ], + 95207 + ], + [ + [ + 95205, + 621, + 627, + 628, + 2, + 1 + ], + [ + [ + 95219, + 1 + ] + ], + 95219 + ], + [ + [ + 95208, + 289, + 629, + 632, + 4, + 1 + ], + [ + [ + 95214, + 1 + ] + ], + 95214 + ], + [ + [ + 95211, + 268, + 630, + 634, + 4, + 1 + ], + [ + [ + 95223, + 1 + ] + ], + 95223 + ], + [ + [ + 95220, + 249, + 628, + 208, + 4, + 2 + ], + [ + [ + 95349, + 1 + ] + ], + 95349 + ], + [ + [ + 95304, + 594, + 726, + 884, + 3, + 2 + ], + [ + [ + 95929, + 1 + ] + ], + 95929 + ], + [ + [ + 95374, + 570, + 771, + 923, + 3, + 1 + ], + [ + [ + 95419, + 1 + ] + ], + 95419 + ], + [ + [ + 95377, + 593, + 759, + 852, + 3, + 2 + ], + [ + [ + 99904, + 1 + ] + ], + 99904 + ], + [ + [ + 95382, + 442, + 776, + 905, + 4, + 1 + ], + [ + [ + 101208, + 65520 + ] + ], + 101208 + ], + [ + [ + 95493, + 3, + 278, + 551, + 2, + 1 + ], + [ + [ + 95987, + 1 + ] + ], + 95987 + ], + [ + [ + 95701, + 43, + 669, + 672, + 4, + 1 + ], + [ + [ + 95703, + 1 + ] + ], + 95703 + ], + [ + [ + 95704, + 507, + 672, + 650, + 4, + 1 + ], + [ + [ + 97948, + 1 + ] + ], + 97948 + ], + [ + [ + 95811, + 374, + 1029, + 529, + 3, + 2 + ], + [ + [ + 96748, + 1 + ] + ], + 96748 + ], + [ + [ + 95835, + 46, + 790, + 913, + 5, + 1 + ], + [ + [ + 95838, + 1 + ] + ], + 95838 + ], + [ + [ + 95908, + 676, + 678, + 681, + 3, + 1 + ], + [ + [ + 95910, + 1 + ] + ], + 95910 + ], + [ + [ + 95911, + 297, + 681, + 658, + 4, + 1 + ], + [ + [ + 98143, + 1 + ] + ], + 98143 + ], + [ + [ + 95994, + 279, + 553, + 549, + 4, + 1 + ], + [ + [ + 95997, + 1 + ] + ], + 95997 + ], + [ + [ + 96012, + 550, + 549, + 127, + 4, + 2 + ], + [ + [ + 103939, + 65519 + ] + ], + 103939 + ], + [ + [ + 96040, + 545, + 549, + 127, + 4, + 2 + ], + [ + [ + 103957, + 1 + ] + ], + 103957 + ], + [ + [ + 96128, + 459, + 564, + 565, + 4, + 1 + ], + [ + [ + 96130, + 1 + ] + ], + 96130 + ], + [ + [ + 96173, + 1032, + 569, + 673, + 2, + 1 + ], + [ + [ + 97985, + 1 + ] + ], + 97985 + ], + [ + [ + 96210, + 317, + 1033, + 903, + 3, + 2 + ], + [ + [ + 96218, + 1 + ] + ], + 96218 + ], + [ + [ + 96213, + 576, + 770, + 901, + 3, + 1 + ], + [ + [ + 96220, + 1 + ] + ], + 96220 + ], + [ + [ + 96254, + 336, + 1034, + 907, + 3, + 2 + ], + [ + [ + 96257, + 1 + ] + ], + 96257 + ], + [ + [ + 96260, + 570, + 1039, + 1041, + 2, + 1 + ], + [ + [ + 96268, + 1 + ] + ], + 96268 + ], + [ + [ + 96266, + 566, + 565, + 127, + 4, + 2 + ], + [ + [ + 104283, + 1 + ] + ], + 104283 + ], + [ + [ + 96286, + 561, + 565, + 127, + 4, + 2 + ], + [ + [ + 104220, + 32761 + ] + ], + 104220 + ], + [ + [ + 96293, + 3, + 488, + 545, + 2, + 1 + ], + [ + [ + 95966, + 1 + ] + ], + 95966 + ], + [ + [ + 96356, + 306, + 267, + 127, + 4, + 1 + ], + [ + [ + 104077, + 32760 + ] + ], + 104077 + ], + [ + [ + 96396, + 306, + 517, + 127, + 4, + 1 + ], + [ + [ + 103561, + 65520 + ], + [ + 103589, + 1 + ], + [ + 104123, + 65520 + ], + [ + 103584, + 1 + ], + [ + 104009, + 1 + ] + ], + 104009 + ], + [ + [ + 96505, + 306, + 518, + 127, + 4, + 1 + ], + [ + [ + 103578, + 65520 + ], + [ + 103648, + 65520 + ], + [ + 104466, + 1 + ], + [ + 104262, + 65520 + ], + [ + 104070, + 65520 + ], + [ + 103514, + 1 + ] + ], + 103514 + ], + [ + [ + 96566, + 478, + 665, + 667, + 4, + 1 + ], + [ + [ + 96569, + 1 + ] + ], + 96569 + ], + [ + [ + 96626, + 3, + 1051, + 127, + 5, + 4 + ], + [ + [ + 103756, + 32761 + ], + [ + 103758, + 1 + ], + [ + 103644, + 65519 + ], + [ + 103759, + 32760 + ], + [ + 103641, + 1 + ], + [ + 104431, + 65519 + ], + [ + 104430, + 65520 + ], + [ + 103599, + 32760 + ], + [ + 103709, + 1 + ], + [ + 103526, + 32761 + ], + [ + 103527, + 1 + ] + ], + 103644 + ], + [ + [ + 96706, + 519, + 1028, + 1069, + 2, + 1 + ], + [ + [ + 99924, + 1 + ] + ], + 99924 + ], + [ + [ + 96741, + 365, + 1028, + 529, + 3, + 2 + ], + [ + [ + 96743, + 1 + ] + ], + 96743 + ], + [ + [ + 97404, + 289, + 548, + 549, + 4, + 1 + ], + [ + [ + 97406, + 1 + ] + ], + 97406 + ], + [ + [ + 97599, + 17, + 1058, + 906, + 4, + 2 + ], + [ + [ + 97719, + 1 + ] + ], + 97719 + ], + [ + [ + 97623, + 698, + 704, + 707, + 2, + 1 + ], + [ + [ + 97625, + 1 + ] + ], + 97625 + ], + [ + [ + 97654, + 637, + 643, + 646, + 2, + 1 + ], + [ + [ + 97656, + 1 + ] + ], + 97656 + ], + [ + [ + 97671, + 597, + 120, + 207, + 4, + 3 + ], + [ + [ + 102302, + 32761 + ] + ], + 102302 + ], + [ + [ + 97671, + 597, + 120, + 983, + 4, + 2 + ], + [ + [ + 98889, + 32760 + ], + [ + 98890, + 32761 + ] + ], + 98890 + ], + [ + [ + 97761, + 750, + 768, + 902, + 3, + 1 + ], + [ + [ + 100947, + 1 + ] + ], + 100947 + ], + [ + [ + 97764, + 318, + 1056, + 904, + 3, + 2 + ], + [ + [ + 98833, + 1 + ] + ], + 98833 + ], + [ + [ + 97815, + 459, + 647, + 650, + 4, + 1 + ], + [ + [ + 97818, + 1 + ] + ], + 97818 + ], + [ + [ + 97843, + 249, + 645, + 648, + 4, + 1 + ], + [ + [ + 98158, + 1 + ] + ], + 98158 + ], + [ + [ + 97867, + 641, + 175, + 127, + 4, + 1 + ], + [ + [ + 104257, + 1 + ] + ], + 104257 + ], + [ + [ + 97903, + 499, + 664, + 666, + 4, + 1 + ], + [ + [ + 97906, + 1 + ] + ], + 97906 + ], + [ + [ + 97937, + 661, + 667, + 127, + 4, + 2 + ], + [ + [ + 104238, + 1 + ] + ], + 104238 + ], + [ + [ + 97956, + 481, + 1095, + 671, + 3, + 1 + ], + [ + [ + 97958, + 1 + ] + ], + 97958 + ], + [ + [ + 97959, + 297, + 671, + 634, + 4, + 1 + ], + [ + [ + 97965, + 1 + ] + ], + 97965 + ], + [ + [ + 97988, + 668, + 650, + 127, + 4, + 2 + ], + [ + [ + 104327, + 1 + ] + ], + 104327 + ], + [ + [ + 98124, + 624, + 632, + 127, + 3, + 2 + ], + [ + [ + 104219, + 1 + ] + ], + 104219 + ], + [ + [ + 98133, + 622, + 634, + 127, + 3, + 2 + ], + [ + [ + 104225, + 1 + ] + ], + 104225 + ], + [ + [ + 98148, + 278, + 679, + 680, + 3, + 1 + ], + [ + [ + 98150, + 1 + ] + ], + 98150 + ], + [ + [ + 98151, + 258, + 680, + 648, + 4, + 1 + ], + [ + [ + 98154, + 1 + ] + ], + 98154 + ], + [ + [ + 98190, + 551, + 648, + 127, + 4, + 2 + ], + [ + [ + 103727, + 1 + ] + ], + 103727 + ], + [ + [ + 98193, + 677, + 658, + 127, + 3, + 2 + ], + [ + [ + 104127, + 1 + ] + ], + 104127 + ], + [ + [ + 98210, + 3, + 717, + 802, + 3, + 1 + ], + [ + [ + 98215, + 1 + ] + ], + 98215 + ], + [ + [ + 98213, + 717, + 769, + 924, + 3, + 1 + ], + [ + [ + 98218, + 1 + ] + ], + 98218 + ], + [ + [ + 98242, + 489, + 694, + 659, + 4, + 1 + ], + [ + [ + 98245, + 1 + ] + ], + 98245 + ], + [ + [ + 98258, + 468, + 695, + 666, + 4, + 1 + ], + [ + [ + 98261, + 1 + ] + ], + 98261 + ], + [ + [ + 98299, + 640, + 648, + 127, + 3, + 2 + ], + [ + [ + 104153, + 1 + ] + ], + 104153 + ], + [ + [ + 98320, + 688, + 208, + 127, + 4, + 1 + ], + [ + [ + 104237, + 2 + ] + ], + 104237 + ], + [ + [ + 98324, + 687, + 666, + 127, + 3, + 2 + ], + [ + [ + 103961, + 1 + ] + ], + 103961 + ], + [ + [ + 98333, + 689, + 659, + 127, + 3, + 2 + ], + [ + [ + 104060, + 1 + ] + ], + 104060 + ], + [ + [ + 98336, + 1032, + 674, + 127, + 3, + 2 + ], + [ + [ + 104218, + 32761 + ] + ], + 104218 + ], + [ + [ + 98343, + 599, + 261, + 1091, + 2, + 1 + ], + [ + [ + 103148, + 1 + ] + ], + 103148 + ], + [ + [ + 98360, + 599, + 265, + 1091, + 2, + 1 + ], + [ + [ + 103116, + 1 + ] + ], + 103116 + ], + [ + [ + 98366, + 599, + 264, + 1091, + 2, + 1 + ], + [ + [ + 103101, + 1 + ] + ], + 103101 + ], + [ + [ + 98418, + 17, + 720, + 234, + 2, + 1 + ], + [ + [ + 102993, + 1 + ] + ], + 102993 + ], + [ + [ + 98535, + 355, + 785, + 909, + 3, + 2 + ], + [ + [ + 98563, + 1 + ] + ], + 98563 + ], + [ + [ + 98630, + 401, + 1062, + 922, + 3, + 2 + ], + [ + [ + 98680, + 1 + ] + ], + 98680 + ], + [ + [ + 98676, + 743, + 245, + 127, + 2, + 1 + ], + [ + [ + 103818, + 1 + ] + ], + 103818 + ], + [ + [ + 98813, + 327, + 783, + 907, + 3, + 2 + ], + [ + [ + 98817, + 1 + ] + ], + 98817 + ], + [ + [ + 98898, + 623, + 208, + 127, + 4, + 1 + ], + [ + [ + 104276, + 65519 + ] + ], + 104276 + ], + [ + [ + 98910, + 449, + 1067, + 929, + 3, + 2 + ], + [ + [ + 98913, + 1 + ] + ], + 98913 + ], + [ + [ + 98930, + 885, + 175, + 127, + 2, + 1 + ], + [ + [ + 102743, + 1 + ], + [ + 103795, + 65519 + ] + ], + 102743 + ], + [ + [ + 98931, + 884, + 175, + 127, + 2, + 1 + ], + [ + [ + 102743, + 1 + ], + [ + 103795, + 2 + ] + ], + 102743 + ], + [ + [ + 99027, + 871, + 135, + 127, + 2, + 1 + ], + [ + [ + 103644, + 2 + ], + [ + 103786, + 1 + ] + ], + 103644 + ], + [ + [ + 99028, + 866, + 135, + 127, + 2, + 1 + ], + [ + [ + 103644, + 65519 + ], + [ + 103786, + 1 + ] + ], + 103644 + ], + [ + [ + 99131, + 508, + 768, + 904, + 3, + 1 + ], + [ + [ + 100967, + 1 + ] + ], + 100967 + ], + [ + [ + 99134, + 508, + 769, + 189, + 3, + 2 + ], + [ + [ + 101233, + 1 + ] + ], + 101233 + ], + [ + [ + 99139, + 509, + 771, + 246, + 3, + 2 + ], + [ + [ + 103036, + 1 + ] + ], + 103036 + ], + [ + [ + 99139, + 509, + 771, + 925, + 3, + 1 + ], + [ + [ + 101109, + 1 + ] + ], + 101109 + ], + [ + [ + 99148, + 365, + 791, + 912, + 4, + 1 + ], + [ + [ + 99361, + 1 + ] + ], + 99361 + ], + [ + [ + 99161, + 546, + 666, + 127, + 4, + 2 + ], + [ + [ + 104154, + 1 + ] + ], + 104154 + ], + [ + [ + 99196, + 514, + 776, + 907, + 3, + 1 + ], + [ + [ + 101136, + 1 + ] + ], + 101136 + ], + [ + [ + 99200, + 514, + 777, + 930, + 3, + 1 + ], + [ + [ + 101127, + 1 + ] + ], + 101127 + ], + [ + [ + 99245, + 439, + 1066, + 930, + 3, + 2 + ], + [ + [ + 99250, + 1 + ] + ], + 99250 + ], + [ + [ + 99253, + 266, + 752, + 930, + 3, + 1 + ], + [ + [ + 101124, + 1 + ] + ], + 101124 + ], + [ + [ + 99348, + 373, + 1036, + 914, + 3, + 2 + ], + [ + [ + 99377, + 1 + ] + ], + 99377 + ], + [ + [ + 99439, + 1096, + 785, + 808, + 2, + 1 + ], + [ + [ + 99586, + 1 + ] + ], + 99586 + ], + [ + [ + 99443, + 533, + 1057, + 1068, + 2, + 1 + ], + [ + [ + 99574, + 1 + ] + ], + 99574 + ], + [ + [ + 99527, + 1070, + 208, + 127, + 2, + 1 + ], + [ + [ + 104256, + 1 + ], + [ + 103993, + 65520 + ] + ], + 103993 + ], + [ + [ + 99528, + 1069, + 208, + 127, + 2, + 1 + ], + [ + [ + 104256, + 1 + ] + ], + 104256 + ], + [ + [ + 99627, + 745, + 1071, + 245, + 3, + 2 + ], + [ + [ + 102950, + 1 + ] + ], + 102950 + ], + [ + [ + 99661, + 749, + 1066, + 1073, + 2, + 1 + ], + [ + [ + 99961, + 1 + ] + ], + 99961 + ], + [ + [ + 99690, + 509, + 770, + 246, + 3, + 2 + ], + [ + [ + 102996, + 1 + ] + ], + 102996 + ], + [ + [ + 99690, + 509, + 770, + 903, + 3, + 1 + ], + [ + [ + 100950, + 1 + ] + ], + 100950 + ], + [ + [ + 99738, + 735, + 922, + 127, + 4, + 2 + ], + [ + [ + 20004, + 1 + ] + ], + 20004 + ], + [ + [ + 99928, + 639, + 650, + 127, + 3, + 2 + ], + [ + [ + 104224, + 1 + ] + ], + 104224 + ], + [ + [ + 99948, + 3, + 1083, + 202, + 7, + 1 + ], + [ + [ + 99951, + 1 + ] + ], + 99951 + ], + [ + [ + 100088, + 356, + 1035, + 911, + 3, + 2 + ], + [ + [ + 100730, + 1 + ] + ], + 100730 + ], + [ + [ + 100187, + 3, + 1098, + 762, + 3, + 1 + ], + [ + [ + 100622, + 65520 + ] + ], + 100622 + ], + [ + [ + 100276, + 699, + 705, + 706, + 2, + 1 + ], + [ + [ + 100278, + 1 + ] + ], + 100278 + ], + [ + [ + 100279, + 279, + 706, + 632, + 4, + 1 + ], + [ + [ + 100412, + 1 + ] + ], + 100412 + ], + [ + [ + 100282, + 597, + 773, + 774, + 3, + 2 + ], + [ + [ + 100563, + 1 + ] + ], + 100563 + ], + [ + [ + 100311, + 467, + 655, + 656, + 3, + 1 + ], + [ + [ + 100313, + 1 + ] + ], + 100313 + ], + [ + [ + 100314, + 268, + 656, + 658, + 4, + 1 + ], + [ + [ + 100323, + 1 + ] + ], + 100323 + ], + [ + [ + 100350, + 499, + 657, + 659, + 4, + 1 + ], + [ + [ + 100359, + 1 + ] + ], + 100359 + ], + [ + [ + 100423, + 697, + 703, + 708, + 2, + 1 + ], + [ + [ + 100425, + 1 + ] + ], + 100425 + ], + [ + [ + 100426, + 468, + 708, + 667, + 4, + 1 + ], + [ + [ + 100432, + 1 + ] + ], + 100432 + ], + [ + [ + 100489, + 701, + 632, + 127, + 3, + 2 + ], + [ + [ + 104053, + 1 + ] + ], + 104053 + ], + [ + [ + 100494, + 700, + 667, + 127, + 3, + 2 + ], + [ + [ + 104468, + 1 + ] + ], + 104468 + ], + [ + [ + 100500, + 702, + 175, + 127, + 4, + 1 + ], + [ + [ + 104059, + 1 + ] + ], + 104059 + ], + [ + [ + 100558, + 383, + 741, + 241, + 2, + 1 + ], + [ + [ + 103199, + 1 + ] + ], + 103199 + ], + [ + [ + 100564, + 741, + 774, + 908, + 2, + 1 + ], + [ + [ + 100573, + 1 + ] + ], + 100573 + ], + [ + [ + 100567, + 355, + 788, + 910, + 3, + 2 + ], + [ + [ + 100569, + 1 + ] + ], + 100569 + ], + [ + [ + 100641, + 773, + 774, + 910, + 2, + 1 + ], + [ + [ + 101031, + 1 + ] + ], + 101031 + ], + [ + [ + 100675, + 773, + 775, + 917, + 2, + 1 + ], + [ + [ + 101244, + 1 + ] + ], + 101244 + ], + [ + [ + 100680, + 348, + 787, + 909, + 4, + 1 + ], + [ + [ + 100683, + 1 + ] + ], + 100683 + ], + [ + [ + 100698, + 562, + 658, + 127, + 4, + 2 + ], + [ + [ + 104211, + 1 + ] + ], + 104211 + ], + [ + [ + 100719, + 1089, + 917, + 127, + 4, + 2 + ], + [ + [ + 20003, + 1 + ] + ], + 20003 + ], + [ + [ + 100940, + 567, + 634, + 127, + 4, + 2 + ], + [ + [ + 103971, + 1 + ] + ], + 103971 + ], + [ + [ + 100955, + 653, + 659, + 127, + 3, + 2 + ], + [ + [ + 103714, + 1 + ] + ], + 103714 + ], + [ + [ + 101029, + 572, + 916, + 127, + 4, + 2 + ], + [ + [ + 104370, + 32761 + ] + ], + 104370 + ], + [ + [ + 101096, + 735, + 920, + 127, + 4, + 2 + ], + [ + [ + 104221, + 1 + ] + ], + 104221 + ], + [ + [ + 101101, + 573, + 919, + 127, + 4, + 2 + ], + [ + [ + 104062, + 1 + ] + ], + 104062 + ], + [ + [ + 101233, + 769, + 189, + 127, + 2, + 1 + ], + [ + [ + 103753, + 1 + ] + ], + 103753 + ], + [ + [ + 101945, + 836, + 222, + 127, + 2, + 1 + ], + [ + [ + 103754, + 1 + ], + [ + 104282, + 16380 + ] + ], + 103754 + ], + [ + [ + 101946, + 835, + 222, + 127, + 2, + 1 + ], + [ + [ + 103754, + 1 + ], + [ + 104282, + 49141 + ] + ], + 103754 + ], + [ + [ + 102950, + 1071, + 245, + 127, + 2, + 1 + ], + [ + [ + 104090, + 1 + ] + ], + 104090 + ] + ], + "chart_595": { + "receiver": 595, + "arrival_nodes": [ + 95059, + 95061, + 95062, + 95067, + 96227, + 96764, + 96765, + 97320 + ], + "outgoing_demand_rows": [ + 53, + 97156, + 97179, + 97183, + 97323, + 98351, + 98485, + 100249 + ], + "demand_rank_Q": 7, + "existing_senders": [ + 3, + 520 + ], + "source_3_input_count": 907, + "source_520_arrivals": [ + 96747, + 97279, + 97315 + ], + "minor_input_coordinates": [ + 574, + 0, + 164, + 262, + 443, + 127, + 276, + 32, + 3, + 274 + ], + "minor_mod_prime": 65521, + "minor_mod_determinant": 25594, + "outside_input_coordinate": 0, + "outside_value_Q": "-2", + "source_3_intersection_dim_upper": 6, + "source_520_intersection_dim": 0, + "min_arrivals_existing_sender_stocks": 8 + } +} diff --git a/research/p104-gaussian-receiver-rank/SOURCES.json b/research/p104-gaussian-receiver-rank/SOURCES.json new file mode 100644 index 0000000000..e7eefb9540 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/SOURCES.json @@ -0,0 +1,18 @@ +{ + "schema_version": 1, + "base_commit": "0618e75a22cec54d1651394ef83d088551b7f026", + "files": [ + { + "path": "certificates/selected-result.json", + "usage": "provenance", + "git_blob": "75d77b328ea02ded535e7f23aee5b1e55d0bb1a8", + "sha256": "154c3d30455d778fd3343b6b4851f0fa4665f0f7625b0adb3675e2bafbbf6bf1" + }, + { + "path": "docs/research/agent-task-catalog.json", + "usage": "provenance", + "git_blob": "3404fbdd5e7529a0674eef26114b5071e4586cec", + "sha256": "ead6cdc9d0af6d58e8a49744d8ec8c7c15e13d2ba93c276c434bcf9b51b93a81" + } + ] +} diff --git a/research/p104-gaussian-receiver-rank/TASK.json b/research/p104-gaussian-receiver-rank/TASK.json new file mode 100644 index 0000000000..f86685473d --- /dev/null +++ b/research/p104-gaussian-receiver-rank/TASK.json @@ -0,0 +1,119 @@ +{ + "schema_version": 1, + "task_id": "scalar-to-moment", + "priority_revision": 8, + "base_commit": "0618e75a22cec54d1651394ef83d088551b7f026", + "original_card": { + "id": "scalar-to-moment", + "question": "Can a scalar/frame rewrite improve the complete signed moment through paid jobs, productive targets, or both?", + "starting_points": [ + "docs/research/current-priorities.md", + "docs/research/research-family-status.md", + "certificates/selected-result.json", + "docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md", + "docs/research/recursive-invoice-preflight.md" + ], + "methods": [ + "Construct and independently check one source-bound instance of the stated first experiment.", + "Seek an exact counterexample or target-specific complete-budget obstruction to that same proposed change." + ], + "acceptance_gate": "Require a legal chronological rewrite and favorable complete signed target-minus-paid moment with all extra charges. Unchanged ADD counts or unchanged paid-call counts alone decide neither success nor failure. Compiler, native and outer admission remain separate obligations.", + "first_step": { + "command": [ + "python3", + "-B", + "scripts/research_selected_baseline.py" + ], + "expected": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY", + "inspect": "Read revision 8, the selected review and live exact-source handoffs. Then follow this card's bounded first_experiment.", + "scope": "Source-bound orientation only, not a supplier replay or theorem proof." + }, + "first_experiment": "Construct one legal source-bound rewrite and compare complete before/after P and T. Charge restoration, source windows and owned helpers. A paid call need not disappear: a legal target split or rank redistribution may win. Stop if the signed moment is unchanged or the consumer repays the gain. Do not extend a scalar-only census on ADD counts.", + "bottleneck_link": "Judge the actual current supplier contract and complete signed target/paid bill; frozen-profile ceilings require an applicability proof.", + "allowed_variations": [ + "One exact source head, helper/cut region or quantified proposition and changed hypothesis; check live handoffs first. Different seeds are not different scopes." + ], + "scope_change_triggers": [ + "Changing source head, helper/cut domain, operation alphabet or caller boundary without recording the new scope.", + "Treating an archived proposal or local numerical pass as complete supplier admission." + ], + "overlap_terms": [ + "signed moment", + "target split", + "rank exchange", + "scalar rewrite" + ], + "existing_checks": [ + { + "scope": "PR #3998: consecutive A2 scalar contraction", + "evidence": "research/staged544-a2-graph-rewrite/README.md", + "remaining": "A genuinely changed paid itinerary or a distinct independent audit; no default scalar-only expansion.", + "status": "author-checked", + "source_commit": "389268a6b5e0373a3125d5c6fcd6995f4ea324f5", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "PR #4019: separated A2 sites with unchanged recursive histogram", + "evidence": "research/staged544-separated-a2/README.md", + "remaining": "A genuinely changed paid itinerary or a distinct independent audit; no default scalar-only expansion.", + "status": "author-checked", + "source_commit": "f408e09df300b575235f7f77f81948071397e16d", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "PR #4112: composition audit", + "evidence": "research/staged544-a2-composition-audit/README.md", + "remaining": "A genuinely changed paid itinerary or a distinct independent audit; no default scalar-only expansion.", + "status": "author-checked", + "source_commit": "205b7380656ba4b6316a8a493b1a3c679b8f7a0e", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "PR #4152: A1858 contraction audit", + "evidence": "research/staged544-a1858-contraction-audit/README.md", + "remaining": "A genuinely changed paid itinerary or a distinct independent audit; no default scalar-only expansion.", + "status": "author-checked", + "source_commit": "caaa14cde5962adc372fdca71f63d0f29e73c8b2", + "selected_record_sha256": "bb2eaa58647b353f88d0aec2eafb9d30df1be53589231b23e12ceef3e4bad129" + }, + { + "scope": "Selected PR5599: complete helper-subspace construction and independent caller replay; five framework assumptions remain.", + "evidence": "docs/research/pr-intake-evidence/pr5599-completion/PROOF-REVIEW.md", + "remaining": "The next experiment must identify uncovered source-specific work. Successor archive intake does not transfer this admission.", + "status": "reviewed", + "source_commit": "09dd0965711ca7eeb169057a420abab1c9052137", + "selected_record_sha256": "2a0220e866417774606e0f991e41b9c1d26b1f43b97857238cf478dbc7d330b5" + } + ] + }, + "scope_status": "changed", + "scope_change_reason": "The assigned follow-up asks for a finite receiver-stock, directed-cut and same-value reroute obstruction on the exact #8072 Gaussian word, rather than a constructed signed moment improvement. The addendum tests changed shared packets and two decoders on one precise family of paired transfers.", + "actual_scope": "Authenticate one 1,291-role Gaussian graph; prove local full-stock independence, exact local demand ranks, a chart-595 fixed-sender obstruction, original-stock port-deletion obstructions at 12 receivers including unrestricted allocation among original senders at eight, directed depth-cut lower bounds, and exhaustively exclude strictly cheaper nested same-value single-link reroutes using unchanged donor functions and their dependency graph. Also exhaust the original-sender, two-receiver, one-packet broadcast family on all 11,819 actual two-move incidences and strictly cheaper raw-grade relays.", + "bottleneck_link": "A proposed lower-cost paid itinerary must retain chronological access to all receiver demands and pay the full physical and signed caller bill; independent arrivals and fixed-demand ranks identify limitations before that broader accounting.", + "budget_minutes": null, + "stop_rule": "Replay the authenticated source word, all 14 exact rational demand null vectors, the chart-595 witness, all 83 sender-space quotient minors, every directed depth cut and every cheaper eligible single-link sender, including signed chronology and corrupted-minor controls; do not claim an improved construction or kappa from this finite screen. For each such incidence enumerate every original relay, stop if no strictly lower raw grade is possible, and otherwise check exact rational intersection and both original-scalar decoders.", + "outcome": "completed", + "evidence": "README.md, PROOF.md, RESULT.json, sender-space-result.json, null-sources.json, authenticated word.json.gz, verify.py and sender_space.py. BROADCAST.md and broadcast.py supply the separate two-receiver addendum.", + "author": "Clear1nsight", + "ai_assistance": "Substantial OpenAI Codex assistance in the original rank certificates, computational replay, mathematical argument and documentation.", + "open_questions": [ + { + "question": "Can the sender-space bound be tightened or a legal replacement constructed at receivers 470 and 599?", + "why_it_matters": "Their present capacity upper bounds equal the fixed local demand ranks, so this screen does not decide them.", + "first_step": "Find exact rational intersection witnesses or exhibit a chronological linear decoding and price all affected ports and owner returns.", + "blocked_by": "The current modular quotient upper bounds are inconclusive and no replacement is constructed." + }, + { + "question": "Can changed transported values and receiver-side decoding reduce the paid itinerary?", + "why_it_matters": "The single-link exclusion fixes the transported value and all other donor functions, while the 14 demand null directions do not themselves give a chronological construction.", + "first_step": "Choose one deficient chart and a source-compatible null direction, change the transported values, rebuild the receiver decoding and prove the full donor schedule and restored outputs.", + "blocked_by": "No complete chronological replacement and restored owner certificate is included here." + }, + { + "question": "Can a legal redesigned graph improve the complete signed caller price and kappa?", + "why_it_matters": "A lower local transfer count or depth-cut allowance is not a complete supplier, physical, or all-size price.", + "first_step": "Bind any executable replacement to the actual 48-call caller and price all paid and productive changes with directed interval arithmetic.", + "blocked_by": "The present certificate supplies no executable redesign or complete changed invoice." + } + ] +} diff --git a/research/p104-gaussian-receiver-rank/VERIFY.json b/research/p104-gaussian-receiver-rank/VERIFY.json new file mode 100644 index 0000000000..f754356d3f --- /dev/null +++ b/research/p104-gaussian-receiver-rank/VERIFY.json @@ -0,0 +1,48 @@ +{ + "schema_version": 1, + "status": "ready", + "python": "3.12", + "requirements": [ + "numpy==1.26.4" + ], + "inputs": [ + "research/p104-gaussian-receiver-rank/word.json.gz", + "research/p104-gaussian-receiver-rank/null-sources.json", + "research/p104-gaussian-receiver-rank/RESULT.json", + "research/p104-gaussian-receiver-rank/sender_space.py", + "research/p104-gaussian-receiver-rank/sender-space-result.json", + "research/p104-gaussian-receiver-rank/broadcast.py" + ], + "commands": [ + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/verify.py" + ], + "timeout_seconds": 360, + "checks": "Authenticate the full normalized graph and rational witnesses; verify all receiver ranks, exact local null vectors, the chart-595 fixed-sender obstruction, depth cuts, cheaper nested reroutes and signed chronological pass/reject controls." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/sender_space.py" + ], + "timeout_seconds": 180, + "checks": "Recompute source-bound sender stock and demand spaces, all 83 nonzero quotient minors and 14 fixed-port and unrestricted-sender capacity bounds, including the deliberately corrupted-minor negative control." + }, + { + "argv": [ + "{python}", + "-I", + "-B", + "{package}/broadcast.py" + ], + "timeout_seconds": 180, + "checks": "Authenticate the shared source word and original local stocks, enumerate all 11,819 two-move incidences and strict-grade relays, verify all 47 plus 11 exact-Q exclusions, and reject a corrupted rational coordinate with positive and negative toy controls." + } + ] +} diff --git a/research/p104-gaussian-receiver-rank/broadcast.py b/research/p104-gaussian-receiver-rank/broadcast.py new file mode 100644 index 0000000000..967050aec9 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/broadcast.py @@ -0,0 +1,258 @@ +#!/usr/bin/env python3 +"""Exact-Q two-receiver broadcast screen on the authenticated #8072 word. + +A shared packet goes from the original sender through one relay to the two +receivers of an original incidence u: a->b, v: b->d, where v reads u. The +packet and both decoders may be arbitrary linear forms. Original stocks are +available acausally. Only a strict reduction in integer raw grade is tested. +The class and the lifting of modular annihilators to Q are in BROADCAST.md. + +--corrupt-coordinate is an expected-failure negative control: it changes one +rational coefficient in an actual sink identity and must exit nonzero. +""" +from __future__ import annotations + +import argparse +import hashlib +import importlib.util +import json +import os +import sys +from collections import Counter, defaultdict +from fractions import Fraction +from functools import lru_cache +from pathlib import Path + +for variable in ("OPENBLAS_NUM_THREADS", "OMP_NUM_THREADS", "MKL_NUM_THREADS"): + os.environ[variable] = "1" +import numpy as np + +HERE = Path(__file__).resolve().parent +SPEC = importlib.util.spec_from_file_location("gaussian_receiver_baseline", HERE / "verify.py") +base = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(base) +P = 65521 +CASES_SHA = "c2969359ad56459f42323c8e6b5945b89a8dc7c53d537ab6c606b04fbe3f123f" + +IDENTITIES = { + 91582: [(103243, "1")], + 91560: [(104268, "-2"), (104318, "-2")], + 97266: [(103991, "-1/2"), (103944, "-1/2")], + 89777: [(104126, "1"), (104146, "1"), (104063, "1"), + (103952, "1"), (104092, "-1/58")], + 96513: [(103514, "1")], +} + + +def check(condition, message): + if not condition: + raise ValueError(message) + + +def bits(mask): + while mask: + bit = mask & -mask + yield bit.bit_length() - 1 + mask ^= bit + + +def relay_census(data): + """Enumerate every actual incidence and every legal cheaper relay.""" + graph, dims, spans, moves, rows = (data[k] for k in + ("graph", "dims", "spans", "moves", "rows")) + size = len(dims) + depth_masks = {depth: 0 for depth in set(dims)} + for chart, depth in enumerate(dims): + depth_masks[depth] |= 1 << chart + neighbors = [] + for a in range(size): + mask = 0 + for b in range(size): + if dims[a] != dims[b] and base.nested(spans[a], spans[b]): + mask |= 1 << b + neighbors.append(mask) + + def routes(a, b, d, old_grade): + possible = ((neighbors[a] | (1 << a)) & (neighbors[b] | (1 << b)) & + (neighbors[d] | (1 << d))) + output = [] + for level, mask in depth_masks.items(): + cost = (abs(dims[a] - level) + abs(dims[b] - level) + + abs(dims[d] - level)) + if cost < old_grade: + output.extend([h, cost] for h in bits(possible & mask)) + return sorted(output) + + counts, cases = Counter(), [] + for v, (b, d) in moves.items(): + for u, coefficient in rows[v]: + if u not in moves or moves[u][1] != b: + continue + check(base.rational(coefficient) != 0, "zero incidence coefficient") + a, _ = moves[u] + counts["incidences"] += 1 + if a == d: + counts["source_is_second_receiver"] += 1 + continue + old_grade = abs(dims[a] - dims[b]) + abs(dims[b] - dims[d]) + found = routes(a, b, d, old_grade) + if found: + counts["cheaper_relay_incidences"] += 1 + cases.append({"u": u, "v": v, "charts": [a, b, d], + "old_grade": old_grade, "routes": found}) + check(counts == {"incidences": 11819, "source_is_second_receiver": 8, + "cheaper_relay_incidences": 58}, "incidence census differs") + check(len({tuple(e["charts"]) for e in cases}) == 39, "chart triple count differs") + return cases + + +def annihilators(data, cases): + """Produce and verify 36 modular annihilators per involved source stock.""" + rng = np.random.default_rng(0x8072F00D) + n = data["n"] + result = {} + for chart in sorted({c for e in cases for c in (e["charts"][0], e["charts"][2])}): + z = rng.integers(0, P, (36, n), dtype=np.int64) + for col, row in reversed(list(data["basis"][chart].items())): + z[:, col] = (z[:, col] - z @ row) % P + for row in data["basis"][chart].values(): + check(not np.any((z @ row) % P), "invalid stock annihilator") + result[chart] = z + return result + + +def identity_checker(rows): + """Return a checker expanding identities on all rational input coordinates.""" + sys.setrecursionlimit(50000) + + @lru_cache(None) + def vector(node): + if node < 0: + return {~node: Fraction(1)} + result = defaultdict(Fraction) + for parent, coeff in rows[node]: + scalar = Fraction(coeff) + for coordinate, value in vector(parent).items(): + result[coordinate] += scalar * value + return {i: x for i, x in result.items() if x} + + def check_identity(node, terms): + difference = defaultdict(Fraction) + for coordinate, value in vector(node).items(): + difference[coordinate] += value + for source, coefficient in terms: + for coordinate, value in vector(source).items(): + difference[coordinate] -= Fraction(coefficient) * value + check(not any(difference.values()), "rational coordinate identity mismatch") + + return check_identity + + +def damaged_identity(): + result = list(IDENTITIES[89777]) + check(result[-1] == (104092, "-1/58"), "wrong mutation anchor") + result[-1] = (104092, "-1/57") + return result + + +def toy_controls(): + """Check a working two-decoder broadcast and a full-rank obstruction.""" + source = np.array([[1, 0], [0, 1]], dtype=np.int64) + b = np.array([[1, 0], [0, 1]], dtype=np.int64) + d = np.array([[0, 1], [1, 1]], dtype=np.int64) + check(all(base.rank_mod(stock, P) == 2 for stock in (source, b, d)), + "positive toy stocks dependent") + packet = source[0] + check(np.array_equal(packet, b[0]), "first toy decoder fails") + check(np.array_equal((packet + d[0]) % P, d[1]), "second toy decoder fails") + check(9 + 7 > 2 + 7, "positive toy has no raw grade saving") + # Source span{x}, b span{x,z}, and d span{y,x+z}. The rows in z below + # annihilate the stated source and destination stocks; b's pairing has rank 2. + source = np.array([[1, 0, 0]], dtype=np.int64) + b = np.array([[1, 0, 0], [0, 0, 1]], dtype=np.int64) + d = np.array([[0, 1, 0], [1, 0, 1]], dtype=np.int64) + z = np.array([[0, 1, 0], [0, 0, 1], [1, 0, P - 1]], dtype=np.int64) + check(not np.any((source @ z[:2].T) % P), "bad toy source annihilator") + check(not np.any((d @ z[2:].T) % P), "bad toy destination annihilator") + check(base.rank_mod((b @ z.T) % P, P) == 2, "negative toy rank differs") + + +def compute(): + check(np.__version__ == "1.26.4", "replay requires numpy==1.26.4") + graph = base.read_graph() + data = base.evaluate(graph, P) + n = data["n"] + check(n == 1291 and len(data["moves"]) == 5674, "baseline census differs") + check(n * (P - 1) ** 2 < 2**53 < 2**63, "unsafe dot-product bound") + cases = relay_census(data) + stock_annihilators = annihilators(data, cases) + ranks = {} + for entry in cases: + a, b, d = entry["charts"] + key = (a, b, d) + if key not in ranks: + stock_b = np.stack([data["vectors"][j] for j in data["owners"][b]]) + z = np.concatenate([stock_annihilators[a], stock_annihilators[d]], axis=0) + products = stock_b.astype(np.float64) @ z.astype(np.float64).T + exact = sum(int(q) * int(r) for q, r in zip(stock_b[0], z[0])) + check(products[0, 0] == exact, "float dot-product control failed") + matrix = products.astype(np.int64) % P + ranks[key] = (base.rank_mod(matrix, P), len(stock_b)) + entry["rank"], entry["stock_size"] = ranks[key] + + check_identity = identity_checker(data["rows"]) + checked = set() + counts = Counter() + for entry in cases: + u, v = entry["u"], entry["v"] + a, b, d = entry["charts"] + rank, dimension = entry["rank"], entry["stock_size"] + if rank == dimension: + entry["kind"] = "zero" + counts["zero"] += 1 + continue + check(rank == dimension - 1 and d == 127 and u in IDENTITIES, + "rank-one packet case differs") + terms = IDENTITIES[u] + check(v not in [node for node, _ in terms], "removed v occurs in sink identity") + check(all(node in data["owners"][d] for node, _ in terms), + "identity reads a non-sink node") + if u not in checked: + check_identity(u, terms) + checked.add(u) + entry["kind"] = "rank_one" + counts["rank_one"] += 1 + check(counts == {"zero": 47, "rank_one": 11}, "47+11 exclusion differs") + check(checked == set(IDENTITIES), "one of the five exact identities was not tested") + try: + check_identity(89777, damaged_identity()) + except ValueError as error: + check(str(error) == "rational coordinate identity mismatch", "wrong corruption failure") + else: + raise ValueError("corrupted rational coordinate was accepted") + toy_controls() + records = sorted([[e["u"], e["v"], *e["charts"], e["old_grade"], e["routes"], + e["rank"], e["kind"]] for e in cases], key=lambda r: (r[0], r[1])) + digest = hashlib.sha256(json.dumps(records, sort_keys=True, + separators=(",", ":")).encode()).hexdigest() + check(digest == CASES_SHA, "route/rank case digest differs") + return digest + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--corrupt-coordinate", action="store_true", + help="expected-failure control for a rational coordinate") + args = parser.parse_args() + if args.corrupt_coordinate: + graph = base.read_graph() + identity_checker(dict(graph["forms"]))(89777, damaged_identity()) + raise ValueError("corrupted rational coordinate was accepted") + digest = compute() + print("PASS_BROADCAST incidences=11819 same_receiver=8 cheaper=58 zero=47 rank_one=11") + print("PASS_BROADCAST_TOY_POSITIVE_NEGATIVE AND_CORRUPTED_COORDINATE_REJECTED") + print("PASS_BROADCAST_CASE_DIGEST sha256=" + digest) + + +if __name__ == "__main__": + main() diff --git a/research/p104-gaussian-receiver-rank/null-sources.json b/research/p104-gaussian-receiver-rank/null-sources.json new file mode 100644 index 0000000000..1468637bd6 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/null-sources.json @@ -0,0 +1,840 @@ +{ + "graph": "38d2b3a2311a9ba5fee091cc7aa204c7ed95651aec95d75184b2391df090cbfb", + "layout": "0ce3f9e383fc4bfdd22612b9e34fc9759d97204215937b82d23aec2cedd9b8ee", + "charts": [ + { + "chart": 243, + "dimension": 4, + "incoming": 29, + "demands": 32, + "rank_Q": 28, + "support": [ + { + "node": 92545, + "coeff": "-1/2", + "source": 438, + "grade": 1 + }, + { + "node": 92546, + "coeff": "-1/2", + "source": 437, + "grade": 1 + }, + { + "node": 92548, + "coeff": "-1/2", + "source": 435, + "grade": 1 + }, + { + "node": 92556, + "coeff": "-1", + "source": 432, + "grade": 1 + }, + { + "node": 92559, + "coeff": "-1", + "source": 434, + "grade": 1 + }, + { + "node": 92562, + "coeff": "-1/2", + "source": 436, + "grade": 1 + }, + { + "node": 92564, + "coeff": "1", + "source": 433, + "grade": 1 + }, + { + "node": 96404, + "coeff": "1", + "source": 517, + "grade": 4 + } + ], + "source_groups": { + "438": [ + 92545 + ], + "437": [ + 92546 + ], + "435": [ + 92548 + ], + "432": [ + 92556 + ], + "434": [ + 92559 + ], + "436": [ + 92562 + ], + "433": [ + 92564 + ], + "517": [ + 96404 + ] + } + }, + { + "chart": 1091, + "dimension": 4, + "incoming": 24, + "demands": 25, + "rank_Q": 23, + "support": [ + { + "node": 19, + "coeff": "3/4", + "source": 267, + "grade": 4 + }, + { + "node": 90766, + "coeff": "3/8", + "source": 262, + "grade": 1 + }, + { + "node": 90772, + "coeff": "3/8", + "source": 260, + "grade": 1 + }, + { + "node": 92795, + "coeff": "-2", + "source": 265, + "grade": 1 + }, + { + "node": 92796, + "coeff": "-2", + "source": 266, + "grade": 1 + }, + { + "node": 92799, + "coeff": "-1", + "source": 262, + "grade": 1 + }, + { + "node": 92804, + "coeff": "-1", + "source": 260, + "grade": 1 + }, + { + "node": 92806, + "coeff": "2", + "source": 264, + "grade": 1 + }, + { + "node": 92808, + "coeff": "-1", + "source": 261, + "grade": 1 + }, + { + "node": 92813, + "coeff": "-1", + "source": 259, + "grade": 1 + }, + { + "node": 92817, + "coeff": "2", + "source": 263, + "grade": 1 + }, + { + "node": 103338, + "coeff": "1", + "source": 260, + "grade": 1 + } + ], + "source_groups": { + "267": [ + 19 + ], + "262": [ + 90766, + 92799 + ], + "260": [ + 90772, + 92804, + 103338 + ], + "265": [ + 92795 + ], + "266": [ + 92796 + ], + "264": [ + 92806 + ], + "261": [ + 92808 + ], + "259": [ + 92813 + ], + "263": [ + 92817 + ] + } + }, + { + "chart": 470, + "dimension": 3, + "incoming": 6, + "demands": 6, + "rank_Q": 5, + "support": [ + { + "node": 89558, + "coeff": "-1", + "source": 37, + "grade": 2 + }, + { + "node": 89742, + "coeff": "3/4", + "source": 3, + "grade": 3 + }, + { + "node": 89781, + "coeff": "1", + "source": 1090, + "grade": 1 + } + ], + "source_groups": { + "37": [ + 89558 + ], + "3": [ + 89742 + ], + "1090": [ + 89781 + ] + } + }, + { + "chart": 394, + "dimension": 3, + "incoming": 6, + "demands": 6, + "rank_Q": 5, + "support": [ + { + "node": 93983, + "coeff": "4", + "source": 384, + "grade": 1 + }, + { + "node": 96944, + "coeff": "4", + "source": 240, + "grade": 1 + }, + { + "node": 96948, + "coeff": "1", + "source": 76, + "grade": 2 + } + ], + "source_groups": { + "384": [ + 93983 + ], + "240": [ + 96944 + ], + "76": [ + 96948 + ] + } + }, + { + "chart": 477, + "dimension": 8, + "incoming": 13, + "demands": 14, + "rank_Q": 12, + "support": [ + { + "node": 89763, + "coeff": "-1/2", + "source": 288, + "grade": 4 + }, + { + "node": 89772, + "coeff": "1/2", + "source": 244, + "grade": 4 + }, + { + "node": 91684, + "coeff": "-1", + "source": 242, + "grade": 4 + }, + { + "node": 94852, + "coeff": "-1", + "source": 234, + "grade": 4 + }, + { + "node": 94865, + "coeff": "-1", + "source": 244, + "grade": 4 + }, + { + "node": 95676, + "coeff": "-1", + "source": 516, + "grade": 4 + }, + { + "node": 97125, + "coeff": "-1", + "source": 237, + "grade": 4 + }, + { + "node": 99064, + "coeff": "1", + "source": 1090, + "grade": 4 + } + ], + "source_groups": { + "288": [ + 89763 + ], + "244": [ + 89772, + 94865 + ], + "242": [ + 91684 + ], + "234": [ + 94852 + ], + "516": [ + 95676 + ], + "237": [ + 97125 + ], + "1090": [ + 99064 + ] + } + }, + { + "chart": 517, + "dimension": 8, + "incoming": 14, + "demands": 14, + "rank_Q": 13, + "support": [ + { + "node": 92740, + "coeff": "-1", + "source": 232, + "grade": 4 + }, + { + "node": 95068, + "coeff": "-1", + "source": 242, + "grade": 4 + }, + { + "node": 95659, + "coeff": "-1", + "source": 498, + "grade": 4 + }, + { + "node": 95677, + "coeff": "-1", + "source": 516, + "grade": 4 + }, + { + "node": 97129, + "coeff": "-1", + "source": 306, + "grade": 4 + }, + { + "node": 97132, + "coeff": "-1", + "source": 237, + "grade": 4 + }, + { + "node": 97232, + "coeff": "1", + "source": 243, + "grade": 4 + } + ], + "source_groups": { + "232": [ + 92740 + ], + "242": [ + 95068 + ], + "498": [ + 95659 + ], + "516": [ + 95677 + ], + "306": [ + 97129 + ], + "237": [ + 97132 + ], + "243": [ + 97232 + ] + } + }, + { + "chart": 595, + "dimension": 1, + "incoming": 8, + "demands": 8, + "rank_Q": 7, + "support": [ + { + "node": 95061, + "coeff": "8", + "source": 3, + "grade": 1 + }, + { + "node": 95067, + "coeff": "-4", + "source": 3, + "grade": 1 + }, + { + "node": 96227, + "coeff": "-2", + "source": 3, + "grade": 1 + }, + { + "node": 96764, + "coeff": "-1", + "source": 3, + "grade": 1 + }, + { + "node": 96765, + "coeff": "-4", + "source": 3, + "grade": 1 + }, + { + "node": 97320, + "coeff": "1", + "source": 520, + "grade": 5 + } + ], + "source_groups": { + "3": [ + 95061, + 95067, + 96227, + 96764, + 96765 + ], + "520": [ + 97320 + ] + } + }, + { + "chart": 541, + "dimension": 7, + "incoming": 8, + "demands": 9, + "rank_Q": 7, + "support": [ + { + "node": 91373, + "coeff": "-1/2", + "source": 336, + "grade": 5 + }, + { + "node": 91375, + "coeff": "1/2", + "source": 327, + "grade": 5 + }, + { + "node": 91560, + "coeff": "1", + "source": 543, + "grade": 1 + } + ], + "source_groups": { + "336": [ + 91373 + ], + "327": [ + 91375 + ], + "543": [ + 91560 + ] + } + }, + { + "chart": 543, + "dimension": 8, + "incoming": 7, + "demands": 7, + "rank_Q": 6, + "support": [ + { + "node": 101884, + "coeff": "1", + "source": 544, + "grade": 1 + }, + { + "node": 101885, + "coeff": "1/2", + "source": 541, + "grade": 1 + }, + { + "node": 101887, + "coeff": "1", + "source": 542, + "grade": 1 + } + ], + "source_groups": { + "544": [ + 101884 + ], + "541": [ + 101885 + ], + "542": [ + 101887 + ] + } + }, + { + "chart": 599, + "dimension": 1, + "incoming": 9, + "demands": 9, + "rank_Q": 8, + "support": [ + { + "node": 97342, + "coeff": "1", + "source": 3, + "grade": 1 + }, + { + "node": 97343, + "coeff": "-1", + "source": 260, + "grade": 2 + }, + { + "node": 97345, + "coeff": "1", + "source": 3, + "grade": 1 + }, + { + "node": 97347, + "coeff": "1", + "source": 3, + "grade": 1 + }, + { + "node": 97349, + "coeff": "1", + "source": 3, + "grade": 1 + } + ], + "source_groups": { + "3": [ + 97342, + 97345, + 97347, + 97349 + ], + "260": [ + 97343 + ] + } + }, + { + "chart": 518, + "dimension": 8, + "incoming": 13, + "demands": 13, + "rank_Q": 12, + "support": [ + { + "node": 94855, + "coeff": "-1", + "source": 235, + "grade": 4 + }, + { + "node": 94856, + "coeff": "-1", + "source": 244, + "grade": 4 + }, + { + "node": 94942, + "coeff": "-1", + "source": 234, + "grade": 4 + }, + { + "node": 95658, + "coeff": "-1", + "source": 498, + "grade": 4 + }, + { + "node": 95678, + "coeff": "-1", + "source": 516, + "grade": 4 + }, + { + "node": 97135, + "coeff": "-1", + "source": 306, + "grade": 4 + }, + { + "node": 97241, + "coeff": "1", + "source": 240, + "grade": 4 + } + ], + "source_groups": { + "235": [ + 94855 + ], + "244": [ + 94856 + ], + "234": [ + 94942 + ], + "498": [ + 95658 + ], + "516": [ + 95678 + ], + "306": [ + 97135 + ], + "240": [ + 97241 + ] + } + }, + { + "chart": 531, + "dimension": 8, + "incoming": 5, + "demands": 5, + "rank_Q": 4, + "support": [ + { + "node": 95891, + "coeff": "8", + "source": 525, + "grade": 2 + }, + { + "node": 96548, + "coeff": "8", + "source": 526, + "grade": 2 + }, + { + "node": 96550, + "coeff": "-1/6", + "source": 532, + "grade": 1 + }, + { + "node": 97203, + "coeff": "-1/6", + "source": 530, + "grade": 1 + }, + { + "node": 97288, + "coeff": "1", + "source": 529, + "grade": 1 + } + ], + "source_groups": { + "525": [ + 95891 + ], + "526": [ + 96548 + ], + "532": [ + 96550 + ], + "530": [ + 97203 + ], + "529": [ + 97288 + ] + } + }, + { + "chart": 529, + "dimension": 7, + "incoming": 8, + "demands": 8, + "rank_Q": 7, + "support": [ + { + "node": 96708, + "coeff": "-1/2", + "source": 1028, + "grade": 2 + }, + { + "node": 96709, + "coeff": "-1/2", + "source": 1029, + "grade": 2 + }, + { + "node": 97266, + "coeff": "1", + "source": 531, + "grade": 1 + } + ], + "source_groups": { + "1028": [ + 96708 + ], + "1029": [ + 96709 + ], + "531": [ + 97266 + ] + } + }, + { + "chart": 591, + "dimension": 8, + "incoming": 6, + "demands": 6, + "rank_Q": 5, + "support": [ + { + "node": 100056, + "coeff": "-6", + "source": 1041, + "grade": 2 + }, + { + "node": 100058, + "coeff": "1/2", + "source": 1045, + "grade": 1 + }, + { + "node": 100062, + "coeff": "-3/2", + "source": 565, + "grade": 1 + }, + { + "node": 100107, + "coeff": "-3", + "source": 1042, + "grade": 2 + }, + { + "node": 100111, + "coeff": "1", + "source": 1046, + "grade": 1 + } + ], + "source_groups": { + "1041": [ + 100056 + ], + "1045": [ + 100058 + ], + "565": [ + 100062 + ], + "1042": [ + 100107 + ], + "1046": [ + 100111 + ] + } + } + ] +} diff --git a/research/p104-gaussian-receiver-rank/rebuild.py b/research/p104-gaussian-receiver-rank/rebuild.py new file mode 100644 index 0000000000..c864db3756 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/rebuild.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python3 +"""Optionally rebuild the pinned #8072 word from its separately supplied package. + +This is not needed for the fast frozen-word replay. It authenticates the two +#8072 drivers before they authenticate and restore their own #8057 archive, +installs the temporary runtime and compares the full canonical graph and layout. +""" +import argparse +import gzip +import hashlib +import json +from pathlib import Path +import runpy +import subprocess +import sys +from tempfile import TemporaryDirectory + +HERE = Path(__file__).resolve().parent +PINS = { + "verify.py": "10362de3ceaa651cde5b71c6599fd4683d9f1f4d76cc252178e915b43a098fee", + "prepare.py": "76f9d4c6bfd880ee49f6ba5bde9138cf0856d669edb4d525e48ca71a9094eec3", +} +WORD = "38d2b3a2311a9ba5fee091cc7aa204c7ed95651aec95d75184b2391df090cbfb" +LAYOUT = "0ce3f9e383fc4bfdd22612b9e34fc9759d97204215937b82d23aec2cedd9b8ee" + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("source_package", type=Path, + help="research/p104-weighted-capped-allocation-490950 at exact #8072 head") + package = parser.parse_args().source_package.resolve() + for name, pin in PINS.items(): + if hashlib.sha256((package / name).read_bytes()).hexdigest() != pin: + raise ValueError(f"The #8072 source driver differs: {name}") + with TemporaryDirectory(prefix="gaussian-rank-rebuild-") as temp: + work = Path(temp) + original = runpy.run_path(str(package / "verify.py")) + peer = original["restore"](work) + runpy.run_path(str(package / "prepare.py"))["materialize"](peer) + runtime = work / "runtime" + subprocess.run([sys.executable, "-I", "-B", str(peer / "bootstrap.py"), str(runtime)], check=True) + sys.path.insert(0, str(runtime)) + from strong_complex import digest, load_changed + graph, layout = load_changed(runtime / "inputs") + frozen = gzip.decompress((HERE / "word.json.gz").read_bytes()) + canonical = json.dumps(graph, sort_keys=True, separators=(",", ":")).encode() + if digest(graph) != WORD or digest(layout) != LAYOUT or canonical != frozen: + raise ValueError("The source rebuild differs from the frozen graph or layout") + print("PASS_PINNED_8072_SOURCE_REBUILD", WORD) + + +if __name__ == "__main__": + main() diff --git a/research/p104-gaussian-receiver-rank/sender-space-result.json b/research/p104-gaussian-receiver-rank/sender-space-result.json new file mode 100644 index 0000000000..ce39e6eec7 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/sender-space-result.json @@ -0,0 +1,3841 @@ +{ + "schema_version": 1, + "predecessor_certificate_head": "327e55157afb3a7a13e7ecb2b2cef20097d7feac", + "graph_sha256": "38d2b3a2311a9ba5fee091cc7aa204c7ed95651aec95d75184b2391df090cbfb", + "prime": 65521, + "independent_public_inputs": 1291, + "certified_receivers": [ + 243, + 394, + 477, + 517, + 518, + 529, + 531, + 541, + 543, + 591, + 595, + 1091 + ], + "unrestricted_original_sender_allocation_receivers": [ + 477, + 517, + 518, + 531, + 543, + 591, + 595, + 1091 + ], + "unresolved_receivers": [ + 470, + 599 + ], + "receiver_source_pairs": 83, + "receivers": [ + { + "receiver": 243, + "demand_rank_Q": 28, + "free_input_owners": 3, + "free_input_roles": [ + 681, + 1260, + 1270 + ], + "arrival_nodes": [ + 62, + 74, + 92545, + 92546, + 92548, + 92556, + 92559, + 92562, + 92564, + 92566, + 93437, + 93438, + 93440, + 93448, + 93451, + 93454, + 93456, + 96238, + 96404, + 96463, + 96465, + 96467, + 96469, + 97549, + 97766, + 99225, + 99241, + 103042, + 103045 + ], + "demand_nodes": [ + 0, + 96408, + 97232, + 99767, + 103671, + 103940, + 103941, + 103978, + 103979, + 104039, + 104048, + 104147, + 104148, + 104217, + 104259, + 104260, + 104285, + 155026, + 155120, + 155121, + 155123, + 155125, + 155128, + 155131, + 155410, + 155411, + 155412, + 155781, + 155784, + 155786, + 155791, + 156048 + ], + "demand_basis_null_pivot_arrival": 92545, + "demand_basis_other_arrivals": [ + 62, + 74, + 92546, + 92548, + 92556, + 92559, + 92562, + 92564, + 92566, + 93437, + 93438, + 93440, + 93448, + 93451, + 93454, + 93456, + 96238, + 96404, + 96463, + 96465, + 96467, + 96469, + 97549, + 97766, + 99225, + 99241, + 103042, + 103045 + ], + "source_stock_sizes": { + "3": 907, + "431": 4, + "432": 5, + "433": 4, + "434": 5, + "435": 5, + "436": 4, + "437": 4, + "438": 5, + "517": 14, + "576": 4, + "748": 4, + "749": 5, + "750": 7 + }, + "source_port_counts": { + "3": 1, + "431": 1, + "432": 3, + "433": 2, + "434": 3, + "435": 3, + "436": 2, + "437": 2, + "438": 3, + "517": 1, + "576": 2, + "748": 2, + "749": 2, + "750": 2 + }, + "intersection_dim_Q_upper": { + "3": 17, + "431": 2, + "432": 2, + "433": 1, + "434": 2, + "435": 2, + "436": 1, + "437": 1, + "438": 2, + "517": 1, + "576": 2, + "748": 2, + "749": 2, + "750": 2 + }, + "quotient_rank_mod_p": { + "3": 14, + "431": 29, + "432": 29, + "433": 30, + "434": 29, + "435": 29, + "436": 30, + "437": 30, + "438": 29, + "517": 30, + "576": 29, + "748": 29, + "749": 29, + "750": 29 + }, + "quotient_nonzero_minors": { + "3": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4, + 5, + 6, + 16, + 17, + 22, + 23, + 25, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 8, + 67, + 80, + 88, + 66, + 26, + 671, + 2, + 688, + 631, + 725, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 16380 + }, + "431": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 8, + 34, + 66, + 80, + 88, + 67, + 258, + 353, + 352, + 1016, + 1013, + 506, + 1280, + 1018, + 1023, + 671, + 360, + 642, + 644, + 643, + 688, + 129, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 57331 + }, + "432": { + "projected_W_row_indices": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 352, + 39, + 80, + 88, + 66, + 26, + 258, + 353, + 506, + 1016, + 1013, + 1280, + 1018, + 1023, + 671, + 2, + 360, + 642, + 644, + 643, + 688, + 129, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 21841 + }, + "433": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 8, + 129, + 39, + 80, + 88, + 66, + 258, + 352, + 353, + 506, + 1016, + 1013, + 1018, + 1280, + 1023, + 671, + 2, + 360, + 642, + 644, + 643, + 688, + 172, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 32759 + }, + "434": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 14, + 15, + 16, + 17, + 18, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 66, + 352, + 39, + 80, + 88, + 67, + 26, + 258, + 353, + 506, + 1016, + 1013, + 1280, + 1018, + 1023, + 671, + 642, + 360, + 644, + 643, + 688, + 172, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 65505 + }, + "435": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 67, + 352, + 39, + 80, + 88, + 66, + 26, + 258, + 353, + 1013, + 1016, + 506, + 1280, + 1018, + 1023, + 671, + 644, + 360, + 642, + 643, + 688, + 129, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 43682 + }, + "436": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 8, + 39, + 66, + 80, + 88, + 95, + 258, + 352, + 353, + 506, + 1016, + 1013, + 1018, + 1280, + 1023, + 671, + 2, + 360, + 642, + 644, + 643, + 688, + 129, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 40095 + }, + "437": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 66, + 352, + 39, + 80, + 88, + 67, + 26, + 258, + 353, + 1016, + 1013, + 506, + 1280, + 1018, + 1023, + 671, + 2, + 360, + 642, + 644, + 643, + 688, + 129, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 65519 + }, + "438": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 8, + 352, + 39, + 80, + 88, + 66, + 67, + 258, + 353, + 1016, + 1013, + 506, + 1280, + 1018, + 1023, + 671, + 643, + 360, + 642, + 644, + 688, + 129, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 43682 + }, + "517": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 26, + 352, + 34, + 80, + 88, + 66, + 67, + 258, + 353, + 506, + 1016, + 1013, + 702, + 1280, + 1018, + 1023, + 671, + 642, + 360, + 643, + 644, + 688, + 129, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 24 + }, + "576": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 26, + 129, + 34, + 355, + 88, + 66, + 172, + 258, + 353, + 352, + 1016, + 1013, + 506, + 1280, + 1018, + 1023, + 2, + 360, + 642, + 644, + 643, + 688, + 173, + 363, + 725, + 357, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 26206 + }, + "748": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 23, + 24, + 25, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 3, + 26, + 34, + 80, + 88, + 95, + 258, + 357, + 353, + 352, + 1016, + 1013, + 506, + 1280, + 1018, + 1023, + 688, + 2, + 360, + 642, + 644, + 643, + 129, + 363, + 725, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 32762 + }, + "749": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 8, + 129, + 34, + 88, + 352, + 66, + 26, + 258, + 353, + 360, + 1016, + 1013, + 506, + 1280, + 1018, + 1023, + 671, + 67, + 363, + 642, + 644, + 643, + 688, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 12 + }, + "750": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 19, + 20, + 21, + 22, + 24, + 25, + 26, + 27, + 28, + 29, + 30 + ], + "input_coordinate_columns": [ + 8, + 164, + 34, + 80, + 88, + 360, + 26, + 258, + 353, + 352, + 1016, + 1013, + 506, + 1280, + 1018, + 1023, + 671, + 67, + 642, + 644, + 643, + 688, + 363, + 725, + 357, + 355, + 681, + 1260, + 1270 + ], + "determinant_mod_p": 12 + } + }, + "best_capacity_upper_after_one_port_removed": 22, + "uncapped_sender_intersection_upper": 39, + "proven_with_unrestricted_original_sender_allocation": false, + "proven_excluded": true + }, + { + "receiver": 394, + "demand_rank_Q": 5, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 91318, + 91319, + 93983, + 96944, + 96948, + 99016 + ], + "demand_nodes": [ + 5, + 91353, + 96968, + 99020, + 99022, + 99766 + ], + "demand_basis_null_pivot_arrival": 93983, + "demand_basis_other_arrivals": [ + 91318, + 91319, + 96944, + 96948, + 99016 + ], + "source_stock_sizes": { + "3": 907, + "76": 7, + "240": 29, + "384": 4 + }, + "source_port_counts": { + "3": 1, + "76": 2, + "240": 1, + "384": 2 + }, + "intersection_dim_Q_upper": { + "3": 3, + "76": 1, + "240": 2, + "384": 1 + }, + "quotient_rank_mod_p": { + "3": 2, + "76": 4, + "240": 3, + "384": 4 + }, + "quotient_nonzero_minors": { + "3": { + "projected_W_row_indices": [ + 2, + 3 + ], + "input_coordinate_columns": [ + 1, + 6 + ], + "determinant_mod_p": 49141 + }, + "76": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 93, + 1, + 6, + 340 + ], + "determinant_mod_p": 17404 + }, + "240": { + "projected_W_row_indices": [ + 0, + 2, + 4 + ], + "input_coordinate_columns": [ + 455, + 718, + 340 + ], + "determinant_mod_p": 65505 + }, + "384": { + "projected_W_row_indices": [ + 1, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 455, + 1, + 82, + 340 + ], + "determinant_mod_p": 49141 + } + }, + "best_capacity_upper_after_one_port_removed": 4, + "uncapped_sender_intersection_upper": 7, + "proven_with_unrestricted_original_sender_allocation": false, + "proven_excluded": true + }, + { + "receiver": 470, + "demand_rank_Q": 5, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 89412, + 89413, + 89558, + 89559, + 89742, + 89781 + ], + "demand_nodes": [ + 4, + 89420, + 89569, + 89804, + 99543, + 99545 + ], + "demand_basis_null_pivot_arrival": 89558, + "demand_basis_other_arrivals": [ + 89412, + 89413, + 89559, + 89742, + 89781 + ], + "source_stock_sizes": { + "3": 907, + "37": 7, + "460": 4, + "1090": 21 + }, + "source_port_counts": { + "3": 1, + "37": 2, + "460": 2, + "1090": 1 + }, + "intersection_dim_Q_upper": { + "3": 2, + "37": 1, + "460": 2, + "1090": 3 + }, + "quotient_rank_mod_p": { + "3": 3, + "37": 4, + "460": 3, + "1090": 2 + }, + "quotient_nonzero_minors": { + "3": { + "projected_W_row_indices": [ + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 15, + 41, + 4 + ], + "determinant_mod_p": 49140 + }, + "37": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 377, + 15, + 378, + 4 + ], + "determinant_mod_p": 32761 + }, + "460": { + "projected_W_row_indices": [ + 1, + 3, + 4 + ], + "input_coordinate_columns": [ + 164, + 41, + 4 + ], + "determinant_mod_p": 12285 + }, + "1090": { + "projected_W_row_indices": [ + 0, + 3 + ], + "input_coordinate_columns": [ + 4, + 188 + ], + "determinant_mod_p": 17404 + } + }, + "best_capacity_upper_after_one_port_removed": 5, + "uncapped_sender_intersection_upper": 8, + "proven_with_unrestricted_original_sender_allocation": false, + "proven_excluded": false + }, + { + "receiver": 477, + "demand_rank_Q": 12, + "free_input_owners": 1, + "free_input_roles": [ + 932 + ], + "arrival_nodes": [ + 34002, + 89763, + 89764, + 89766, + 89768, + 89770, + 89772, + 91684, + 94852, + 94865, + 95676, + 97125, + 99064 + ], + "demand_nodes": [ + 11, + 34, + 89777, + 103660, + 103952, + 104063, + 104092, + 104103, + 104119, + 104126, + 104146, + 104474, + 155923, + 156050 + ], + "demand_basis_null_pivot_arrival": 89763, + "demand_basis_other_arrivals": [ + 34002, + 89764, + 89766, + 89768, + 89770, + 89772, + 91684, + 94852, + 94865, + 95676, + 97125, + 99064 + ], + "source_stock_sizes": { + "234": 26, + "237": 27, + "242": 23, + "244": 22, + "288": 29, + "516": 11, + "1090": 21 + }, + "source_port_counts": { + "234": 2, + "237": 3, + "242": 2, + "244": 2, + "288": 1, + "516": 2, + "1090": 1 + }, + "intersection_dim_Q_upper": { + "234": 1, + "237": 2, + "242": 1, + "244": 1, + "288": 0, + "516": 1, + "1090": 1 + }, + "quotient_rank_mod_p": { + "234": 12, + "237": 11, + "242": 12, + "244": 12, + "288": 13, + "516": 12, + "1090": 12 + }, + "quotient_nonzero_minors": { + "234": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 22, + 1282, + 29, + 20, + 4, + 10, + 234, + 788, + 816, + 1155, + 15, + 932 + ], + "determinant_mod_p": 32078 + }, + "237": { + "projected_W_row_indices": [ + 1, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 18, + 29, + 20, + 4, + 10, + 19, + 788, + 816, + 1155, + 15, + 932 + ], + "determinant_mod_p": 4351 + }, + "242": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 22, + 18, + 1282, + 20, + 4, + 10, + 19, + 788, + 816, + 1155, + 15, + 932 + ], + "determinant_mod_p": 34936 + }, + "244": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 22, + 18, + 1282, + 29, + 20, + 10, + 788, + 19, + 816, + 1155, + 15, + 932 + ], + "determinant_mod_p": 17468 + }, + "288": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 22, + 18, + 1282, + 3, + 20, + 4, + 91, + 19, + 788, + 816, + 1155, + 15, + 932 + ], + "determinant_mod_p": 48053 + }, + "516": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 22, + 18, + 1282, + 29, + 4, + 10, + 19, + 788, + 816, + 1155, + 15, + 932 + ], + "determinant_mod_p": 34936 + }, + "1090": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 22, + 18, + 1282, + 4, + 20, + 10, + 19, + 788, + 816, + 1155, + 877, + 932 + ], + "determinant_mod_p": 32078 + } + }, + "best_capacity_upper_after_one_port_removed": 7, + "uncapped_sender_intersection_upper": 7, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + }, + { + "receiver": 517, + "demand_rank_Q": 13, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 92633, + 92634, + 92635, + 92636, + 92719, + 92740, + 95068, + 95659, + 95677, + 96396, + 97129, + 97132, + 97232, + 98796 + ], + "demand_nodes": [ + 41, + 96404, + 103561, + 103584, + 103589, + 103672, + 104009, + 104089, + 104123, + 104397, + 104398, + 104400, + 155934, + 156046 + ], + "demand_basis_null_pivot_arrival": 92740, + "demand_basis_other_arrivals": [ + 92633, + 92634, + 92635, + 92636, + 92719, + 95068, + 95659, + 95677, + 96396, + 97129, + 97132, + 97232, + 98796 + ], + "source_stock_sizes": { + "232": 32, + "237": 27, + "242": 23, + "243": 32, + "306": 23, + "498": 22, + "516": 11 + }, + "source_port_counts": { + "232": 3, + "237": 2, + "242": 2, + "243": 1, + "306": 2, + "498": 2, + "516": 2 + }, + "intersection_dim_Q_upper": { + "232": 2, + "237": 1, + "242": 1, + "243": 1, + "306": 1, + "498": 1, + "516": 1 + }, + "quotient_rank_mod_p": { + "232": 11, + "237": 12, + "242": 12, + "243": 12, + "306": 12, + "498": 12, + "516": 12 + }, + "quotient_nonzero_minors": { + "232": { + "projected_W_row_indices": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "input_coordinate_columns": [ + 22, + 20, + 13, + 21, + 995, + 44, + 1166, + 2, + 39, + 33, + 8 + ], + "determinant_mod_p": 21851 + }, + "237": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 12, + 20, + 13, + 29, + 995, + 44, + 1166, + 2, + 39, + 250, + 8, + 1278 + ], + "determinant_mod_p": 21851 + }, + "242": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 12, + 22, + 20, + 13, + 995, + 44, + 1166, + 2, + 39, + 33, + 8, + 1278 + ], + "determinant_mod_p": 21839 + }, + "243": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 12, + 22, + 20, + 13, + 21, + 995, + 44, + 1166, + 67, + 33, + 702, + 1278 + ], + "determinant_mod_p": 65393 + }, + "306": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 12, + 22, + 20, + 13, + 29, + 995, + 44, + 1166, + 129, + 33, + 8, + 1278 + ], + "determinant_mod_p": 43680 + }, + "498": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 12, + 22, + 20, + 29, + 995, + 448, + 1166, + 2, + 39, + 33, + 8, + 1278 + ], + "determinant_mod_p": 21843 + }, + "516": { + "projected_W_row_indices": [ + 0, + 1, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12 + ], + "input_coordinate_columns": [ + 12, + 22, + 13, + 29, + 995, + 44, + 1166, + 2, + 39, + 33, + 8, + 1278 + ], + "determinant_mod_p": 43682 + } + }, + "best_capacity_upper_after_one_port_removed": 8, + "uncapped_sender_intersection_upper": 8, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + }, + { + "receiver": 518, + "demand_rank_Q": 12, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 94003, + 94004, + 94005, + 94006, + 94007, + 94855, + 94856, + 94942, + 95658, + 95678, + 96505, + 97135, + 97241 + ], + "demand_nodes": [ + 96513, + 103514, + 103578, + 103648, + 103688, + 104070, + 104101, + 104262, + 104325, + 104399, + 104401, + 104402, + 104466 + ], + "demand_basis_null_pivot_arrival": 94855, + "demand_basis_other_arrivals": [ + 94003, + 94004, + 94005, + 94006, + 94007, + 94856, + 94942, + 95658, + 95678, + 96505, + 97135, + 97241 + ], + "source_stock_sizes": { + "234": 26, + "235": 23, + "240": 29, + "244": 22, + "306": 23, + "498": 22, + "516": 11 + }, + "source_port_counts": { + "234": 2, + "235": 2, + "240": 1, + "244": 2, + "306": 2, + "498": 2, + "516": 2 + }, + "intersection_dim_Q_upper": { + "234": 1, + "235": 1, + "240": 1, + "244": 1, + "306": 1, + "498": 1, + "516": 1 + }, + "quotient_rank_mod_p": { + "234": 11, + "235": 11, + "240": 11, + "244": 11, + "306": 11, + "498": 11, + "516": 11 + }, + "quotient_nonzero_minors": { + "234": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "input_coordinate_columns": [ + 24, + 4, + 13, + 20, + 972, + 234, + 43, + 1012, + 2, + 245, + 1 + ], + "determinant_mod_p": 56819 + }, + "235": { + "projected_W_row_indices": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "input_coordinate_columns": [ + 4, + 13, + 20, + 18, + 972, + 19, + 43, + 1012, + 2, + 245, + 1 + ], + "determinant_mod_p": 26202 + }, + "240": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 10, + 11 + ], + "input_coordinate_columns": [ + 24, + 4, + 13, + 20, + 18, + 972, + 19, + 43, + 1012, + 288, + 986 + ], + "determinant_mod_p": 52468 + }, + "244": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "input_coordinate_columns": [ + 24, + 13, + 20, + 18, + 972, + 19, + 43, + 1012, + 2, + 245, + 1 + ], + "determinant_mod_p": 39319 + }, + "306": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 10, + 11 + ], + "input_coordinate_columns": [ + 24, + 4, + 13, + 20, + 18, + 972, + 19, + 43, + 1012, + 245, + 1 + ], + "determinant_mod_p": 39319 + }, + "498": { + "projected_W_row_indices": [ + 0, + 1, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "input_coordinate_columns": [ + 24, + 4, + 20, + 18, + 972, + 19, + 448, + 1012, + 2, + 245, + 1 + ], + "determinant_mod_p": 17468 + }, + "516": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11 + ], + "input_coordinate_columns": [ + 24, + 4, + 13, + 18, + 972, + 19, + 43, + 1012, + 2, + 245, + 1 + ], + "determinant_mod_p": 39319 + } + }, + "best_capacity_upper_after_one_port_removed": 7, + "uncapped_sender_intersection_upper": 7, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + }, + { + "receiver": 529, + "demand_rank_Q": 7, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 96708, + 96709, + 96715, + 96743, + 96748, + 96749, + 97266, + 97365 + ], + "demand_nodes": [ + 97288, + 97315, + 102189, + 102193, + 103165, + 103166, + 103277, + 103982 + ], + "demand_basis_null_pivot_arrival": 96708, + "demand_basis_other_arrivals": [ + 96709, + 96715, + 96743, + 96748, + 96749, + 97266, + 97365 + ], + "source_stock_sizes": { + "520": 3, + "524": 3, + "531": 5, + "1028": 4, + "1029": 3 + }, + "source_port_counts": { + "520": 1, + "524": 2, + "531": 1, + "1028": 2, + "1029": 2 + }, + "intersection_dim_Q_upper": { + "520": 2, + "524": 2, + "531": 1, + "1028": 1, + "1029": 1 + }, + "quotient_rank_mod_p": { + "520": 5, + "524": 5, + "531": 6, + "1028": 6, + "1029": 6 + }, + "quotient_nonzero_minors": { + "520": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 5, + 20, + 164, + 814, + 73 + ], + "determinant_mod_p": 64156 + }, + "524": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 5, + 6 + ], + "input_coordinate_columns": [ + 22, + 164, + 814, + 5, + 0 + ], + "determinant_mod_p": 65520 + }, + "531": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5, + 6 + ], + "input_coordinate_columns": [ + 9, + 20, + 814, + 73, + 32, + 0 + ], + "determinant_mod_p": 1 + }, + "1028": { + "projected_W_row_indices": [ + 0, + 1, + 3, + 4, + 5, + 6 + ], + "input_coordinate_columns": [ + 3, + 20, + 814, + 73, + 5, + 0 + ], + "determinant_mod_p": 57331 + }, + "1029": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5, + 6 + ], + "input_coordinate_columns": [ + 32, + 20, + 814, + 73, + 5, + 0 + ], + "determinant_mod_p": 32761 + } + }, + "best_capacity_upper_after_one_port_removed": 6, + "uncapped_sender_intersection_upper": 7, + "proven_with_unrestricted_original_sender_allocation": false, + "proven_excluded": true + }, + { + "receiver": 531, + "demand_rank_Q": 4, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 95891, + 96548, + 96550, + 97203, + 97288 + ], + "demand_nodes": [ + 97266, + 103865, + 103944, + 103991, + 104044 + ], + "demand_basis_null_pivot_arrival": 95891, + "demand_basis_other_arrivals": [ + 96548, + 96550, + 97203, + 97288 + ], + "source_stock_sizes": { + "525": 4, + "526": 4, + "529": 8, + "530": 2, + "532": 2 + }, + "source_port_counts": { + "525": 1, + "526": 1, + "529": 1, + "530": 1, + "532": 1 + }, + "intersection_dim_Q_upper": { + "525": 0, + "526": 0, + "529": 1, + "530": 0, + "532": 0 + }, + "quotient_rank_mod_p": { + "525": 4, + "526": 4, + "529": 3, + "530": 4, + "532": 4 + }, + "quotient_nonzero_minors": { + "525": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3 + ], + "input_coordinate_columns": [ + 3, + 5, + 8, + 310 + ], + "determinant_mod_p": 32517 + }, + "526": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3 + ], + "input_coordinate_columns": [ + 10, + 5, + 8, + 288 + ], + "determinant_mod_p": 33507 + }, + "529": { + "projected_W_row_indices": [ + 0, + 1, + 3 + ], + "input_coordinate_columns": [ + 9, + 8, + 10 + ], + "determinant_mod_p": 30713 + }, + "530": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3 + ], + "input_coordinate_columns": [ + 8, + 5, + 164, + 288 + ], + "determinant_mod_p": 33491 + }, + "532": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3 + ], + "input_coordinate_columns": [ + 10, + 164, + 8, + 288 + ], + "determinant_mod_p": 1493 + } + }, + "best_capacity_upper_after_one_port_removed": 1, + "uncapped_sender_intersection_upper": 1, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + }, + { + "receiver": 541, + "demand_rank_Q": 7, + "free_input_owners": 1, + "free_input_roles": [ + 1113 + ], + "arrival_nodes": [ + 91123, + 91373, + 91375, + 91377, + 91560, + 95935, + 95936, + 101894 + ], + "demand_nodes": [ + 91580, + 97724, + 101885, + 101941, + 101984, + 102947, + 103239, + 103240, + 103243 + ], + "demand_basis_null_pivot_arrival": 91373, + "demand_basis_other_arrivals": [ + 91123, + 91375, + 91377, + 91560, + 95935, + 95936, + 101894 + ], + "source_stock_sizes": { + "327": 8, + "336": 6, + "534": 4, + "536": 4, + "543": 7 + }, + "source_port_counts": { + "327": 2, + "336": 2, + "534": 1, + "536": 2, + "543": 1 + }, + "intersection_dim_Q_upper": { + "327": 1, + "336": 1, + "534": 2, + "536": 2, + "543": 1 + }, + "quotient_rank_mod_p": { + "327": 7, + "336": 7, + "534": 6, + "536": 6, + "543": 7 + }, + "quotient_nonzero_minors": { + "327": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 6, + 7 + ], + "input_coordinate_columns": [ + 786, + 19, + 4, + 2, + 20, + 7, + 1113 + ], + "determinant_mod_p": 61426 + }, + "336": { + "projected_W_row_indices": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7 + ], + "input_coordinate_columns": [ + 55, + 4, + 2, + 20, + 786, + 7, + 1113 + ], + "determinant_mod_p": 8190 + }, + "534": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5, + 7 + ], + "input_coordinate_columns": [ + 131, + 19, + 3, + 4, + 786, + 1113 + ], + "determinant_mod_p": 8702 + }, + "536": { + "projected_W_row_indices": [ + 0, + 1, + 3, + 5, + 6, + 7 + ], + "input_coordinate_columns": [ + 249, + 19, + 2, + 786, + 7, + 1113 + ], + "determinant_mod_p": 16994 + }, + "543": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 6, + 7 + ], + "input_coordinate_columns": [ + 786, + 19, + 7, + 55, + 15, + 249, + 1113 + ], + "determinant_mod_p": 47594 + } + }, + "best_capacity_upper_after_one_port_removed": 6, + "uncapped_sender_intersection_upper": 7, + "proven_with_unrestricted_original_sender_allocation": false, + "proven_excluded": true + }, + { + "receiver": 543, + "demand_rank_Q": 6, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 91385, + 91386, + 91392, + 91555, + 101884, + 101885, + 101887 + ], + "demand_nodes": [ + 91560, + 103801, + 104149, + 104206, + 104268, + 104318, + 104319 + ], + "demand_basis_null_pivot_arrival": 101884, + "demand_basis_other_arrivals": [ + 91385, + 91386, + 91392, + 91555, + 101885, + 101887 + ], + "source_stock_sizes": { + "537": 4, + "538": 4, + "539": 6, + "540": 4, + "541": 9, + "542": 2, + "544": 2 + }, + "source_port_counts": { + "537": 1, + "538": 1, + "539": 1, + "540": 1, + "541": 1, + "542": 1, + "544": 1 + }, + "intersection_dim_Q_upper": { + "537": 1, + "538": 1, + "539": 1, + "540": 1, + "541": 1, + "542": 0, + "544": 0 + }, + "quotient_rank_mod_p": { + "537": 5, + "538": 5, + "539": 5, + "540": 5, + "541": 5, + "542": 6, + "544": 6 + }, + "quotient_nonzero_minors": { + "537": { + "projected_W_row_indices": [ + 1, + 2, + 3, + 4, + 5 + ], + "input_coordinate_columns": [ + 6, + 2, + 3, + 4, + 1152 + ], + "determinant_mod_p": 30713 + }, + "538": { + "projected_W_row_indices": [ + 0, + 1, + 3, + 4, + 5 + ], + "input_coordinate_columns": [ + 11, + 6, + 3, + 4, + 1152 + ], + "determinant_mod_p": 48117 + }, + "539": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5 + ], + "input_coordinate_columns": [ + 11, + 6, + 4, + 131, + 1152 + ], + "determinant_mod_p": 49141 + }, + "540": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4, + 5 + ], + "input_coordinate_columns": [ + 11, + 3, + 4, + 21, + 1152 + ], + "determinant_mod_p": 49141 + }, + "541": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5 + ], + "input_coordinate_columns": [ + 11, + 6, + 15, + 249, + 1152 + ], + "determinant_mod_p": 29667 + }, + "542": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "input_coordinate_columns": [ + 21, + 6, + 3, + 4, + 249, + 1152 + ], + "determinant_mod_p": 53464 + }, + "544": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "input_coordinate_columns": [ + 11, + 6, + 21, + 4, + 249, + 1152 + ], + "determinant_mod_p": 13753 + } + }, + "best_capacity_upper_after_one_port_removed": 5, + "uncapped_sender_intersection_upper": 5, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + }, + { + "receiver": 591, + "demand_rank_Q": 5, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 100056, + 100058, + 100062, + 100064, + 100107, + 100111 + ], + "demand_nodes": [ + 100120, + 103975, + 104056, + 104104, + 104289, + 104488 + ], + "demand_basis_null_pivot_arrival": 100056, + "demand_basis_other_arrivals": [ + 100058, + 100062, + 100064, + 100107, + 100111 + ], + "source_stock_sizes": { + "565": 8, + "1041": 5, + "1042": 4, + "1045": 2, + "1046": 2 + }, + "source_port_counts": { + "565": 2, + "1041": 1, + "1042": 1, + "1045": 1, + "1046": 1 + }, + "intersection_dim_Q_upper": { + "565": 1, + "1041": 0, + "1042": 0, + "1045": 0, + "1046": 0 + }, + "quotient_rank_mod_p": { + "565": 4, + "1041": 5, + "1042": 5, + "1045": 5, + "1046": 5 + }, + "quotient_nonzero_minors": { + "565": { + "projected_W_row_indices": [ + 0, + 1, + 3, + 4 + ], + "input_coordinate_columns": [ + 5, + 8, + 24, + 23 + ], + "determinant_mod_p": 4351 + }, + "1041": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 5, + 619, + 2, + 24, + 23 + ], + "determinant_mod_p": 4351 + }, + "1042": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 5, + 8, + 2, + 431, + 23 + ], + "determinant_mod_p": 61170 + }, + "1045": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 8, + 418, + 2, + 24, + 23 + ], + "determinant_mod_p": 4351 + }, + "1046": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4 + ], + "input_coordinate_columns": [ + 5, + 8, + 2, + 24, + 418 + ], + "determinant_mod_p": 8702 + } + }, + "best_capacity_upper_after_one_port_removed": 1, + "uncapped_sender_intersection_upper": 1, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + }, + { + "receiver": 595, + "demand_rank_Q": 7, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 95059, + 95061, + 95062, + 95067, + 96227, + 96764, + 96765, + 97320 + ], + "demand_nodes": [ + 53, + 97156, + 97179, + 97183, + 97323, + 98351, + 98485, + 100249 + ], + "demand_basis_null_pivot_arrival": 95061, + "demand_basis_other_arrivals": [ + 95059, + 95062, + 95067, + 96227, + 96764, + 96765, + 97320 + ], + "source_stock_sizes": { + "3": 907, + "520": 3 + }, + "source_port_counts": { + "3": 7, + "520": 1 + }, + "intersection_dim_Q_upper": { + "3": 6, + "520": 0 + }, + "quotient_rank_mod_p": { + "3": 1, + "520": 7 + }, + "quotient_nonzero_minors": { + "3": { + "projected_W_row_indices": [ + 6 + ], + "input_coordinate_columns": [ + 0 + ], + "determinant_mod_p": 49141 + }, + "520": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "input_coordinate_columns": [ + 574, + 164, + 262, + 443, + 127, + 276, + 274 + ], + "determinant_mod_p": 13309 + } + }, + "best_capacity_upper_after_one_port_removed": 6, + "uncapped_sender_intersection_upper": 6, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + }, + { + "receiver": 599, + "demand_rank_Q": 8, + "free_input_owners": 0, + "free_input_roles": [], + "arrival_nodes": [ + 93318, + 93321, + 93323, + 93325, + 97342, + 97343, + 97345, + 97347, + 97349 + ], + "demand_nodes": [ + 93327, + 95086, + 95271, + 95273, + 97469, + 98343, + 98360, + 98366, + 98479 + ], + "demand_basis_null_pivot_arrival": 97342, + "demand_basis_other_arrivals": [ + 93318, + 93321, + 93323, + 93325, + 97343, + 97345, + 97347, + 97349 + ], + "source_stock_sizes": { + "3": 907, + "260": 6 + }, + "source_port_counts": { + "3": 8, + "260": 1 + }, + "intersection_dim_Q_upper": { + "3": 7, + "260": 1 + }, + "quotient_rank_mod_p": { + "3": 1, + "260": 7 + }, + "quotient_nonzero_minors": { + "3": { + "projected_W_row_indices": [ + 4 + ], + "input_coordinate_columns": [ + 0 + ], + "determinant_mod_p": 49141 + }, + "260": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 4, + 5, + 6, + 7 + ], + "input_coordinate_columns": [ + 474, + 276, + 254, + 76, + 639, + 640, + 641 + ], + "determinant_mod_p": 8 + } + }, + "best_capacity_upper_after_one_port_removed": 8, + "uncapped_sender_intersection_upper": 8, + "proven_with_unrestricted_original_sender_allocation": false, + "proven_excluded": false + }, + { + "receiver": 1091, + "demand_rank_Q": 23, + "free_input_owners": 1, + "free_input_roles": [ + 281 + ], + "arrival_nodes": [ + 19, + 90761, + 90763, + 90766, + 90772, + 90775, + 90778, + 90784, + 90788, + 92795, + 92796, + 92799, + 92804, + 92806, + 92808, + 92813, + 92817, + 103101, + 103116, + 103148, + 103338, + 103341, + 103343, + 103345 + ], + "demand_nodes": [ + 3, + 44, + 96363, + 103382, + 103384, + 103395, + 103396, + 103398, + 103552, + 103938, + 103956, + 103962, + 103963, + 103977, + 104096, + 104461, + 104477, + 154993, + 155407, + 155408, + 155409, + 155643, + 155962, + 155963, + 155964 + ], + "demand_basis_null_pivot_arrival": 19, + "demand_basis_other_arrivals": [ + 90761, + 90763, + 90766, + 90772, + 90775, + 90778, + 90784, + 90788, + 92795, + 92796, + 92799, + 92804, + 92806, + 92808, + 92813, + 92817, + 103101, + 103116, + 103148, + 103338, + 103341, + 103343, + 103345 + ], + "source_stock_sizes": { + "259": 4, + "260": 6, + "261": 7, + "262": 4, + "263": 4, + "264": 6, + "265": 8, + "266": 6, + "267": 9 + }, + "source_port_counts": { + "259": 2, + "260": 3, + "261": 4, + "262": 2, + "263": 2, + "264": 4, + "265": 4, + "266": 2, + "267": 1 + }, + "intersection_dim_Q_upper": { + "259": 1, + "260": 3, + "261": 3, + "262": 1, + "263": 1, + "264": 3, + "265": 3, + "266": 1, + "267": 0 + }, + "quotient_rank_mod_p": { + "259": 23, + "260": 21, + "261": 21, + "262": 23, + "263": 23, + "264": 21, + "265": 21, + "266": 23, + "267": 24 + }, + "quotient_nonzero_minors": { + "259": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "input_coordinate_columns": [ + 92, + 0, + 2, + 27, + 87, + 225, + 57, + 129, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 641, + 640, + 652, + 1194, + 1196, + 1195, + 281 + ], + "determinant_mod_p": 43686 + }, + "260": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9, + 10, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 20, + 21, + 22, + 23 + ], + "input_coordinate_columns": [ + 151, + 57, + 7, + 27, + 81, + 225, + 87, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 641, + 640, + 1194, + 1196, + 1195, + 281 + ], + "determinant_mod_p": 32760 + }, + "261": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 19, + 20, + 21, + 23 + ], + "input_coordinate_columns": [ + 92, + 2, + 7, + 57, + 225, + 87, + 640, + 151, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 641, + 652, + 1194, + 1196, + 281 + ], + "determinant_mod_p": 21843 + }, + "262": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "input_coordinate_columns": [ + 92, + 7, + 2, + 57, + 81, + 225, + 151, + 27, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 641, + 640, + 652, + 1194, + 1196, + 1195, + 281 + ], + "determinant_mod_p": 49141 + }, + "263": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "input_coordinate_columns": [ + 92, + 0, + 2, + 7, + 81, + 225, + 224, + 57, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 641, + 640, + 652, + 1194, + 1196, + 1195, + 281 + ], + "determinant_mod_p": 21851 + }, + "264": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 17, + 18, + 19, + 21, + 22, + 23 + ], + "input_coordinate_columns": [ + 92, + 7, + 27, + 224, + 225, + 87, + 639, + 57, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 641, + 640, + 652, + 1196, + 1195, + 281 + ], + "determinant_mod_p": 43638 + }, + "265": { + "projected_W_row_indices": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 18, + 19, + 20, + 22, + 23 + ], + "input_coordinate_columns": [ + 2, + 81, + 27, + 87, + 225, + 278, + 641, + 57, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 640, + 652, + 1194, + 1195, + 281 + ], + "determinant_mod_p": 21819 + }, + "266": { + "projected_W_row_indices": [ + 0, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "input_coordinate_columns": [ + 92, + 2, + 7, + 87, + 225, + 227, + 27, + 57, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 641, + 640, + 652, + 1194, + 1196, + 1195, + 281 + ], + "determinant_mod_p": 21835 + }, + "267": { + "projected_W_row_indices": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23 + ], + "input_coordinate_columns": [ + 92, + 0, + 7, + 57, + 81, + 225, + 87, + 27, + 188, + 885, + 895, + 898, + 875, + 925, + 928, + 1190, + 639, + 641, + 640, + 652, + 1194, + 1196, + 1195, + 281 + ], + "determinant_mod_p": 13309 + } + }, + "best_capacity_upper_after_one_port_removed": 16, + "uncapped_sender_intersection_upper": 16, + "proven_with_unrestricted_original_sender_allocation": true, + "proven_excluded": true + } + ] +} diff --git a/research/p104-gaussian-receiver-rank/sender_space.py b/research/p104-gaussian-receiver-rank/sender_space.py new file mode 100644 index 0000000000..a066ecd271 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/sender_space.py @@ -0,0 +1,203 @@ +#!/usr/bin/env python3 +"""Source-bound sender-space screen for the 14 deficient Gaussian receivers. + +Every quotient-rank lower bound is accompanied by its actual nonzero modular +minor. The fixed stock, sender-port and linear-demand assumptions are stated +in PROOF.md. ``--corrupt-minor`` is an expected-failure negative control. +""" +from __future__ import annotations + +import argparse +import importlib.util +import json +import os +from collections import defaultdict +from fractions import Fraction +from pathlib import Path + +for variable in ("OPENBLAS_NUM_THREADS", "OMP_NUM_THREADS", "MKL_NUM_THREADS"): + os.environ[variable] = "1" +import numpy as np + +HERE = Path(__file__).resolve().parent +SPEC = importlib.util.spec_from_file_location("gaussian_receiver_baseline", HERE / "verify.py") +base = importlib.util.module_from_spec(SPEC) +SPEC.loader.exec_module(base) +P = 65521 + +# Each pair is (exact rational demand rank, best surviving capacity bound). +EXPECTED = { + 243: (28, 22), 394: (5, 4), 477: (12, 7), 517: (13, 8), + 518: (12, 7), 529: (7, 6), 531: (4, 1), 541: (7, 6), + 543: (6, 5), 591: (5, 1), 595: (7, 6), 1091: (23, 16), +} +UNRESOLVED = {470: (5, 5), 599: (8, 8)} +UNRESTRICTED = {477, 517, 518, 531, 543, 591, 595, 1091} + + +def check(condition, message): + if not condition: + raise ValueError(message) + + +def select_minor(matrix): + """Find original independent rows and pivot columns and verify their minor.""" + pivots = {} + original_rows = [] + for i, row in enumerate(matrix): + if base.insert(pivots, row, P): + original_rows.append(i) + columns = list(pivots) + rank = len(columns) + check(rank == base.rank_mod(matrix, P), "independent rank algorithms disagree") + minor = matrix[np.ix_(original_rows, columns)] + check(minor.shape == (rank, rank), "quotient minor is not square") + return original_rows, columns, minor + + +def checked_determinant(minor): + determinant = base.determinant_mod(minor, P) + check(determinant != 0, "nonzero quotient minor is corrupted or singular") + return determinant + + +def compute(corrupt_minor=False): + check(np.__version__ == "1.26.4", "replay requires numpy==1.26.4") + graph = base.read_graph() + raw_witness = (HERE / "null-sources.json").read_bytes() + check(base.sha(raw_witness) == base.WITNESS_SHA, "rational witness hash mismatch") + witness = json.loads(raw_witness) + data = base.evaluate(graph, P) + groups, local_total, deficient = base.local_ranks(data, witness) + check(data["n"] == 1291 and len(data["moves"]) == 5674 and + len(data["received"]) == 977 and local_total == 5660 and len(deficient) == 14, + "baseline receiver census differs") + entries = {entry["chart"]: entry for entry in witness["charts"]} + check(set(entries) == set(EXPECTED) | set(UNRESOLVED), "deficient receiver set differs") + results = [] + control_seen = False + for receiver in sorted(entries): + incoming = groups[receiver]["incoming"] + demand = groups[receiver]["demand"] + dimension = len(incoming) - 1 + entry = entries[receiver] + check(entry["rank_Q"] == dimension, "rational local demand rank differs") + null = {term["node"]: base.rational(term["coeff"]) for term in entry["support"]} + check(null and set(null) <= set(incoming), "invalid rational null support") + pivot = next(node for node in incoming if null.get(node, 0)) + pivot_coefficient = null[pivot] + demand_basis_nodes = [node for node in incoming if node != pivot] + # Exact null and rank were already checked in base.local_ranks. These + # vectors span the fixed demand space modulo the free receiver inputs. + h = [] + for node in demand_basis_nodes: + ratio = null.get(node, Fraction(0)) / pivot_coefficient + scale = base.residue(str(ratio), P) + h.append((data["vectors"][node] - scale * data["vectors"][pivot]) % P) + free_roles = [i for i, chart in enumerate(graph["initial"]) if chart == receiver] + free = [data["vectors"][~i] for i in free_roles] + W = np.stack(h + free) + check(base.rank_mod(W, P) == len(W), "demand and free-input basis is dependent") + source_groups = defaultdict(list) + for node in incoming: + source_groups[data["moves"][node][0]].append(node) + upper, quotient, minors = {}, {}, {} + for source in sorted(source_groups): + # The elimination map has kernel equal to the entire original stock + # at source. Baseline evaluation proved every such stock independent. + projected = W.copy() + stock = data["basis"][source] + check(len(stock) == len(data["owners"][source]), "source stock is dependent") + for column, row in stock.items(): + coefficients = projected[:, column].copy() + if np.any(coefficients): + projected = (projected - coefficients[:, None] * row) % P + row_indices, columns, minor = select_minor(projected) + if receiver == 477 and source == 288: + check(len(minor) > 0, "corruption control has no minor") + damaged = minor.copy() + damaged[0, :] = 0 + if corrupt_minor: + checked_determinant(damaged) # deliberately fails closed + try: + checked_determinant(damaged) + except ValueError: + control_seen = True + else: + raise ValueError("corrupted quotient minor was accepted") + det = checked_determinant(minor) + rank = len(row_indices) + quotient[source] = rank + upper[source] = len(W) - rank + check(0 <= upper[source] <= len(data["owners"][source]), + "intersection dimension bound is invalid") + minors[str(source)] = { + "projected_W_row_indices": row_indices, + "input_coordinate_columns": columns, + "determinant_mod_p": det, + } + best = max( + sum(min(len(nodes) - (source == removed), upper[source]) + for source, nodes in source_groups.items()) + for removed in source_groups + ) + excluded = best < dimension + uncapped = sum(upper.values()) + unrestricted = uncapped < dimension + check(unrestricted == (receiver in UNRESTRICTED), + "unrestricted existing-sender capacity summary differs") + wanted = EXPECTED.get(receiver, UNRESOLVED.get(receiver)) + check((dimension, best) == wanted and excluded == (receiver in EXPECTED), + "fixed-port capacity summary differs") + record = { + "receiver": receiver, + "demand_rank_Q": dimension, + "free_input_owners": len(free_roles), + "free_input_roles": free_roles, + "arrival_nodes": incoming, + "demand_nodes": demand, + "demand_basis_null_pivot_arrival": pivot, + "demand_basis_other_arrivals": demand_basis_nodes, + "source_stock_sizes": {str(s): len(data["owners"][s]) for s in sorted(source_groups)}, + "source_port_counts": {str(s): len(source_groups[s]) for s in sorted(source_groups)}, + "intersection_dim_Q_upper": {str(s): upper[s] for s in sorted(source_groups)}, + "quotient_rank_mod_p": {str(s): quotient[s] for s in sorted(source_groups)}, + "quotient_nonzero_minors": minors, + "best_capacity_upper_after_one_port_removed": best, + "uncapped_sender_intersection_upper": uncapped, + "proven_with_unrestricted_original_sender_allocation": unrestricted, + "proven_excluded": excluded, + } + results.append(record) + check(control_seen, "corrupted-minor control did not run") + return { + "schema_version": 1, + "predecessor_certificate_head": "327e55157afb3a7a13e7ecb2b2cef20097d7feac", + "graph_sha256": base.WORD_SHA, + "prime": P, + "independent_public_inputs": data["n"], + "certified_receivers": sorted(EXPECTED), + "unrestricted_original_sender_allocation_receivers": sorted(UNRESTRICTED), + "unresolved_receivers": sorted(UNRESOLVED), + "receiver_source_pairs": sum(len(x["source_port_counts"]) for x in results), + "receivers": results, + } + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--emit-result", action="store_true", help="emit the recomputed complete receipt") + parser.add_argument("--corrupt-minor", action="store_true", help="expected-failure minor corruption control") + args = parser.parse_args() + result = compute(corrupt_minor=args.corrupt_minor) + if args.emit_result: + print(json.dumps(result, indent=2)) + else: + expected = json.loads((HERE / "sender-space-result.json").read_bytes()) + check(result == expected, "sender-space receipt or source-bound minors differ") + print("PASS_CORRUPTED_QUOTIENT_MINOR_REJECTED chart=477 source=288") + print("PASS_SENDER_SPACE certified=12 unrestricted_allocation=8 unresolved=2 receiver_source_pairs=83") + + +if __name__ == "__main__": + main() diff --git a/research/p104-gaussian-receiver-rank/verify.py b/research/p104-gaussian-receiver-rank/verify.py new file mode 100644 index 0000000000..9ae8bca3b6 --- /dev/null +++ b/research/p104-gaussian-receiver-rank/verify.py @@ -0,0 +1,538 @@ +#!/usr/bin/env python3 +"""Replay the finite #8072 receiver, cut and same-value reroute certificates. + +The supplied word is authenticated before use. All elimination is over a +prime field, apart from the explicit Fraction checks of the 14 null vectors. +The optional rebuild check accepts an already installed #8072 runtime. +""" +from __future__ import annotations + +import argparse +import gzip +import hashlib +import json +import math +import os +import sys +from collections import Counter, defaultdict +from fractions import Fraction +from functools import cache +from pathlib import Path + +# Avoid an oversubscribed BLAS pool in shared CI. Values are fixed before NumPy +# is imported. Correctness does not depend on thread count or a random search. +for variable in ("OPENBLAS_NUM_THREADS", "OMP_NUM_THREADS", "MKL_NUM_THREADS"): + os.environ[variable] = "1" +import numpy as np + +HERE = Path(__file__).resolve().parent +WORD_SHA = "38d2b3a2311a9ba5fee091cc7aa204c7ed95651aec95d75184b2391df090cbfb" +GZIP_SHA = "e5c1477c1b33c5cfe112fc0fd503f7dd01d1ccc556d229e76c11b1fbb7d01bb4" +WITNESS_SHA = "739c3acbaca7f69717f506149e13c89b8ca60a61a1019947a74c6f393fbf9751" +LAYOUT_SHA = "0ce3f9e383fc4bfdd22612b9e34fc9759d97204215937b82d23aec2cedd9b8ee" +P = 65521 + + +def check(condition, message): + if not condition: + raise ValueError(message) + + +def canonical(obj): + return json.dumps(obj, sort_keys=True, separators=(",", ":")).encode() + + +def sha(data): + return hashlib.sha256(data).hexdigest() + + +def prime(p): + return p >= 2 and all(p % k for k in range(2, math.isqrt(p) + 1)) + + +@cache +def rational(q): + return Fraction(q) + + +@cache +def residue(q, p=P): + x = rational(q) + check(x.denominator % p != 0, "a coefficient denominator is zero modulo p") + return x.numerator * pow(x.denominator, -1, p) % p + + +def read_graph(): + compressed = (HERE / "word.json.gz").read_bytes() + check(sha(compressed) == GZIP_SHA, "compressed word hash mismatch") + raw = gzip.decompress(compressed) + graph = json.loads(raw) + check(raw == canonical(graph), "word is not the canonical serialized graph") + check(sha(raw) == WORD_SHA, "canonical graph hash mismatch") + return graph + + +def rank_mod(matrix, p=P): + """Row echelon rank, with every integer intermediate bounded in int64.""" + a = matrix.copy() + height, width = a.shape + h = 0 + for column in range(width): + if h == height: + break + possible = np.flatnonzero(a[h:, column]) + if not len(possible): + continue + j = h + int(possible[0]) + a[[h, j]] = a[[j, h]] + pivot = (a[h] * pow(int(a[h, column]), -1, p)) % p + targets = h + 1 + np.flatnonzero(a[h + 1:, column]) + if len(targets): + a[targets] = (a[targets] - a[targets, column, None] * pivot) % p + h += 1 + return h + + +def insert(space, values, p=P): + """Insert a row in an insertion-ordered pivot basis; report dependence.""" + row = values.copy() + for column, previous in space.items(): + coefficient = int(row[column]) + if coefficient: + row = (row - coefficient * previous) % p + positions = np.flatnonzero(row) + if not len(positions): + return False + column = int(positions[0]) + space[column] = (row * pow(int(row[column]), -1, p)) % p + return True + + +def chart_span(frame): + values = {0} + for element in frame: + check(isinstance(element, int) and 0 <= element < 512, "invalid F2 frame") + values |= {x ^ element for x in values} + check(len(values) == 1 << len(frame), "a chart frame is dependent") + return sum(1 << x for x in values) + + +def nested(a, b): + return (a & b) == a or (a & b) == b + + +def evaluate(graph, p=P): + """Evaluate all word rows and keep the full independent stock per chart.""" + check(prime(p), "the modulus is not prime") + n = len(graph["initial"]) + check(len(graph["final"]) == n, "unequal input and output roles") + frames = graph["frames"] + dims = [len(f) for f in frames] + spans = [chart_span(f) for f in frames] + forms = graph["forms"] + rows = dict(forms) + check(len(rows) == len(forms), "repeated row node") + triples = graph["moves"] + moves = {k: (a, b) for k, a, b in triples} + check(len(moves) == len(triples), "repeated transfer node") + schedule = graph["schedule"] + check(len(schedule) == len(rows) and set(schedule) == set(rows), "schedule differs from rows") + output_nodes = {graph["first_output"] + i for i in range(n)} + check(set(rows) == set(moves) | output_nodes and not (set(moves) & output_nodes), + "rows must be transfers or final outputs") + for chart in graph["initial"] + graph["final"]: + check(isinstance(chart, int) and 0 <= chart < len(frames), "invalid endpoint chart") + for source, target in moves.values(): + check(0 <= source < len(frames) and 0 <= target < len(frames), "invalid transfer chart") + check(nested(spans[source], spans[target]) and dims[source] != dims[target], + "a baseline transfer is not a proper nested chart pair") + locations = {~i: c for i, c in enumerate(graph["initial"])} + locations.update({node: dest for node, (_, dest) in moves.items()}) + locations.update({graph["first_output"] + i: c for i, c in enumerate(graph["final"])}) + check(len(locations) == n + len(rows), "a node name has more than one owner") + order = {node: i for i, node in enumerate(schedule)} + max_terms = max((len(row) for row in rows.values()), default=0) + max_inner = max(n, max_terms) * (p - 1) ** 2 + check(max_inner + p < 2**63, "int64 accumulation bound is not safe") + check(n * (p - 1) ** 2 < 2**53, "float64 screening bound is not exact") + basis = defaultdict(dict) + owners = defaultdict(list) + vectors = {} + ancestors = {} + eye = np.eye(n, dtype=np.int64) + for i, chart in enumerate(graph["initial"]): + node = ~i + vectors[node] = eye[i].copy() + ancestors[node] = 0 + check(insert(basis[chart], vectors[node], p), "dependent local initial inputs") + owners[chart].append(node) + received = Counter() + for node in schedule: + source = moves[node][0] if node in moves else locations[node] + row = rows[node] + check(len({j for j, _ in row}) == len(row), "duplicate row coordinate") + values = np.zeros(n, dtype=np.int64) + dependencies = 0 + for parent, coefficient in row: + check(parent in vectors, "row violates the saved topological order") + check(locations[parent] == source, "a row reads a value outside its chart") + check(rational(coefficient) != 0, "a zero term would falsify the dependency graph") + values += residue(coefficient, p) * vectors[parent] + if parent >= 0: + dependencies |= ancestors[parent] | (1 << order[parent]) + values %= p + vectors[node] = values + ancestors[node] = dependencies + if node in moves: + destination = locations[node] + received[destination] += 1 + check(insert(basis[destination], values, p), + f"arrival {node} is dependent at chart {destination}") + owners[destination].append(node) + return dict(graph=graph, n=n, p=p, rows=rows, moves=moves, locations=locations, + basis=basis, owners=owners, received=received, vectors=vectors, + ancestors=ancestors, order=order, spans=spans, dims=dims, + max_terms=max_terms, max_inner=max_inner) + + +def local_ranks(data, witness): + graph, p = data["graph"], data["p"] + moves, rows, dims = data["moves"], data["rows"], data["dims"] + groups = defaultdict(lambda: {"incoming": [], "demand": []}) + for node, (source, target) in moves.items(): + groups[target]["incoming"].append(node) + groups[source]["demand"].append(node) + for i, target in enumerate(graph["final"]): + groups[target]["demand"].append(graph["first_output"] + i) + check(witness["graph"] == WORD_SHA and witness["layout"] == LAYOUT_SHA, + "rational witness belongs to another graph or layout") + witnesses = {entry["chart"]: entry for entry in witness["charts"]} + check(len(witnesses) == len(witness["charts"]) == 14, "duplicate or missing null vectors") + deficient = {} + total_rank = 0 + for chart, group in groups.items(): + incoming, demand = group["incoming"], group["demand"] + columns = {node: i for i, node in enumerate(incoming)} + mat = np.zeros((len(demand), len(incoming)), dtype=np.int64) + for i, node in enumerate(demand): + for src, coefficient in rows[node]: + if src in columns: + mat[i, columns[src]] = residue(coefficient, p) + else: + check(src < 0 and data["locations"][src] == chart, + "local demand has an unexpanded non-arrival dependency") + rank = rank_mod(mat, p) + total_rank += rank + if rank < len(incoming): + check(chart in witnesses, "missing rational null witness") + w = witnesses.pop(chart) + check((w["dimension"], w["incoming"], w["demands"], w["rank_Q"]) == + (dims[chart], len(incoming), len(demand), rank), "null witness metadata differs") + check(len(incoming) - rank == 1, "deficiency is not exactly one") + support = {} + source_groups = defaultdict(list) + for term in w["support"]: + node = term["node"] + check(node in columns and node not in support, "null vector has invalid node") + value = rational(term["coeff"]) + check(value != 0, "null vector has a zero support entry") + source, target = moves[node] + check(target == chart and term["source"] == source and + term["grade"] == abs(dims[source] - dims[target]), + "null vector source or grade differs") + support[node] = value + source_groups[str(source)].append(node) + check(support and dict(source_groups) == w["source_groups"], "null support groups differ") + for node in demand: + exact = sum((rational(coeff) * support.get(src, 0) for src, coeff in rows[node]), + Fraction(0)) + check(exact == 0, f"rational null vector fails for chart {chart}") + deficient[str(chart)] = [len(incoming), len(demand), rank] + check(not witnesses, "an extraneous deficient-chart witness was supplied") + return groups, total_rank, deficient + + +def determinant_mod(matrix, p=P): + """Determinant of a small square matrix over the prime field.""" + a = matrix.copy() + size = a.shape[0] + check(a.shape == (size, size), "minor is not square") + result = 1 + for column in range(size): + possible = np.flatnonzero(a[column:, column]) + if not len(possible): + return 0 + row = column + int(possible[0]) + if row != column: + a[[column, row]] = a[[row, column]] + result = -result + pivot = int(a[column, column]) + result = result * pivot % p + a[column] = (a[column] * pow(pivot, -1, p)) % p + for j in range(column + 1, size): + if a[j, column]: + a[j] = (a[j] - a[j, column] * a[column]) % p + return result % p + + +def sender_obstruction_595(data, groups, witness): + """Seven arrivals cannot satisfy fixed demands using the two original stocks.""" + graph, rows, moves, p = data["graph"], data["rows"], data["moves"], data["p"] + incoming = [95059, 95061, 95062, 95067, 96227, 96764, 96765, 97320] + demands = [53, 97156, 97179, 97183, 97323, 98351, 98485, 100249] + source520 = [96747, 97279, 97315] + check(groups[595]["incoming"] == incoming and groups[595]["demand"] == demands, + "chart 595 arrivals or fixed demands differ") + check({moves[k][0] for k in incoming} == {3, 520}, "chart 595 sender set differs") + check(graph["initial"].count(595) == 0, "chart 595 has a local input") + check(graph["initial"].count(3) == 907 and graph["initial"][0] != 3 and + not [k for k, (_, b) in moves.items() if b == 3], "chart 3 stock differs") + check(graph["initial"].count(520) == 0 and + [k for k, (_, b) in moves.items() if b == 520] == source520, "chart 520 stock differs") + entry = next(x for x in witness["charts"] if x["chart"] == 595) + null = {term["node"]: rational(term["coeff"]) for term in entry["support"]} + check(entry["rank_Q"] == 7 and null.get(97320) == 1, "chart 595 null basis differs") + coordinate_indices = [574, 0, 164, 262, 443, 127, 276, 32, 3, 274] + pivot = 97320 + vectors = data["vectors"] + cols = [] + for node in incoming: + if node == pivot: + continue + scalar = residue(str(null.get(node, Fraction(0))), p) + cols.append((vectors[node] - scalar * vectors[pivot]) % p) + cols.extend(vectors[node] for node in source520) + minor = np.stack([col[coordinate_indices] for col in cols], axis=1) + determinant = determinant_mod(minor, p) + check(determinant == 25594, "chart 595 demand/sender minor differs") + # A separate exact-Q coordinate excludes H from the 907-coordinate stock + # at chart 3. No modular-rank upper-bound inference is used. + exact = {~i: Fraction(i == 0) for i in range(data["n"])} + for node in graph["schedule"]: + exact[node] = sum((rational(q) * exact[j] for j, q in rows[node] if exact[j]), + Fraction(0)) + outside = exact[95061] - null[95061] * exact[pivot] + check(outside == -2, "chart 595 rational separating coordinate differs") + return {"receiver": 595, "arrival_nodes": incoming, "outgoing_demand_rows": demands, + "demand_rank_Q": 7, "existing_senders": [3, 520], + "source_3_input_count": 907, "source_520_arrivals": source520, + "minor_input_coordinates": coordinate_indices, "minor_mod_prime": p, + "minor_mod_determinant": determinant, "outside_input_coordinate": 0, + "outside_value_Q": str(outside), "source_3_intersection_dim_upper": 6, + "source_520_intersection_dim": 0, "min_arrivals_existing_sender_stocks": 8} + + +def depth_cuts(data): + graph, p = data["graph"], data["p"] + dims, moves = data["dims"], data["moves"] + n = data["n"] + outputs = np.stack([data["vectors"][graph["first_output"] + i] for i in range(n)]) + cuts = [] + for level in range(1, max(dims) + 1): + item = {"level": level} + for high, label in ((True, "up"), (False, "down")): + inside = lambda chart: (dims[chart] >= level) == high + out = [i for i, c in enumerate(graph["final"]) if inside(c)] + inp = [i for i, c in enumerate(graph["initial"]) if not inside(c)] + lower = rank_mod(outputs[np.ix_(out, inp)], p) + crossing = sum(not inside(a) and inside(b) for a, b in moves.values()) + check(lower <= crossing, "cut rank exceeds the supplied graph's messages") + item[label] = {"paid": crossing, "output_rank_mod": lower, "slack": crossing - lower} + cuts.append(item) + paid = sum(abs(dims[a] - dims[b]) for a, b in moves.values()) + cut_total = sum(row[d]["output_rank_mod"] for row in cuts for d in ("up", "down")) + check(sum(row[d]["paid"] for row in cuts for d in ("up", "down")) == paid, + "crossing census does not equal directed grade") + return cuts, paid, cut_total + + +def coordinates(data, chart, tasks): + """Resolve tasks in an independent full stock, with donor coordinates.""" + p, n = data["p"], data["n"] + local = data["owners"][chart] + d = len(local) + pivots = {} + + def reduce(row): + for col, pivot in pivots.items(): + scalar = int(row[col]) + if scalar: + row = (row - scalar * pivot) % p + return row + + for i, node in enumerate(local): + row = np.zeros(n + d, dtype=np.int64) + row[:n] = data["vectors"][node] + row[n + i] = 1 + row = reduce(row) + indices = np.flatnonzero(row[:n]) + check(len(indices), "full stock lost independence during coordinate solve") + column = int(indices[0]) + pivots[column] = (row * pow(int(row[column]), -1, p)) % p + result = [] + for task in tasks: + node = task[0] + row = np.zeros(n + d, dtype=np.int64) + row[:n] = data["vectors"][node] + row = reduce(row) + if np.any(row[:n]): + result.append((task, None, None, None)) + continue + terms = [(local[i], int(-row[n + i]) % p) for i in np.flatnonzero(row[n:])] + descendant = [j for j, _ in terms if j >= 0 and + ((data["ancestors"][j] >> data["order"][node]) & 1)] + later = [j for j, _ in terms if j >= 0 and data["order"][j] >= data["order"][node]] + result.append((task, terms, descendant, later)) + return result + + +def reroutes(data): + """Deterministically screen every cheaper nested source with nonempty stock.""" + n, p = data["n"], data["p"] + keys = sorted(data["moves"]) + charts = sorted(data["basis"]) + # Three exact annihilators per chart. Random seed only chooses certificates: + # a nonzero pairing is a proof, and every zero survivor is fully resolved. + random = np.random.default_rng(8072) + annihilators = {} + for chart in charts: + forms = data["basis"][chart] + z = random.integers(0, p, (3, n), dtype=np.int64) + for col, row in reversed(list(forms.items())): + z[:, col] = (z[:, col] - z @ row) % p + for row in forms.values(): + check(bool(np.all((z @ row) % p == 0)), "invalid full-stock annihilator") + annihilators[chart] = z + grouped = defaultdict(list) + spans, dims = data["spans"], data["dims"] + for node in keys: + source, target = data["moves"][node] + original = abs(dims[source] - dims[target]) + if original <= 1: + continue + for chart in charts: + new = abs(dims[chart] - dims[target]) + if 0 < new < original and nested(spans[chart], spans[target]): + grouped[chart].append([node, source, target, chart, original, new]) + candidates = sum(map(len, grouped.values())) + survivors = [] + checked_float = False + for chart, tasks in grouped.items(): + signals_int = np.stack([data["vectors"][row[0]] for row in tasks]) + z_int = annihilators[chart] + # All summands are nonnegative integers. Each product and each partial + # sum is < 2**53, so the binary64 BLAS dot product is the exact integer. + dot = signals_int.astype(np.float64) @ z_int.astype(np.float64).T + if not checked_float and len(tasks): + exact = sum(int(x) * int(y) for x, y in zip(signals_int[0], z_int[0])) + check(dot[0, 0] == exact, "float64 dot product failed exactness control") + checked_float = True + ints = dot.astype(np.int64) + ints %= p + survivors.extend(row for row, ok in zip(tasks, np.all(ints == 0, axis=1)) if ok) + by_chart = defaultdict(list) + for task in survivors: + by_chart[task[3]].append(task) + excluded, coordinate_witnesses, false_positive, admissible = [], [], 0, [] + for chart, tasks in by_chart.items(): + for task, terms, descendant, later in coordinates(data, chart, tasks): + if terms is None: + false_positive += 1 + elif descendant: + excluded.append([task, descendant[0], len(terms)]) + coordinate_witnesses.append([task, [[node, q] for node, q in terms], descendant[0]]) + else: + admissible.append(dict(task=task, terms=terms, later=later)) + return dict(nonempty_charts=len(charts), candidates=candidates, survivors=len(survivors), + exact_span_false_positives=false_positive, descendants=len(excluded), + admissible=admissible, descendant_witnesses=sorted(excluded), + descendant_coordinates=sorted(coordinate_witnesses)) + + +def toy_controls(): + # k=10 carries x to chart 1. Chart 3 holds an independent, earlier copy of + # x, so a cheaper same-value reroute from 3 is permitted. Chart 2 contains + # x-y/2 and y/2; it can express x only by using node 11, a descendant of k. + graph = dict(initial=[0, 1], final=[0, 1], first_output=20, + frames=[[], [1, 2, 4], [1], [1, 2]], + moves=[[13, 0, 3], [10, 0, 1], [11, 1, 2], [12, 1, 2]], + forms=[[13, [[-1, "1"]]], [10, [[-1, "1"]]], + [11, [[10, "1"], [-2, "-1/2"]]], + [12, [[-2, "1/2"]]], [20, [[-1, "1"]]], + [21, [[-2, "1"]]]], schedule=[13, 10, 11, 12, 20, 21]) + # The signed rational example is independent of the large graph and uses a + # different prime. It tests both an available donor and a descendant cycle. + toy = evaluate(graph, 65519) + good = coordinates(toy, 3, [[10, 0, 1, 3, 3, 1]])[0] + bad = coordinates(toy, 2, [[10, 0, 1, 2, 3, 2]])[0] + check(good[1] == [(13, 1)] and not good[2] and not good[3], "toy legal reroute failed") + check(bad[1] == [(11, 1), (12, 1)] and bad[2] == [11], "toy descendant was not rejected") + matrix = np.array([[1, 2], [2, 4]], dtype=np.int64) + check(rank_mod(matrix, 65519) == 1 and 1 * Fraction(-2) + 2 * Fraction(1) == 0, + "toy rational null-rank control failed") + altered = dict(graph, schedule=[10, 13, 11, 12, 20, 21]) + reordered = evaluate(altered, 65519) + moved = coordinates(reordered, 3, [[10, 0, 1, 3, 3, 1]])[0] + check(not moved[2] and moved[3] == [13], "toy later acyclic donor was misclassified") + + +def rebuild(runtime, graph): + """Optional source comparison; source install is pinned and supplied separately.""" + runtime = runtime.resolve() + sys.path.insert(0, str(runtime)) + from strong_complex import digest, load_changed + rebuilt, layout = load_changed(runtime / "inputs") + check(digest(rebuilt) == WORD_SHA and digest(layout) == LAYOUT_SHA, + "installed source failed its graph or layout pin") + check(canonical(rebuilt) == canonical(graph), "compressed word differs from source rebuild") + print("PASS_PINNED_SOURCE_REBUILD", WORD_SHA, flush=True) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("--runtime", type=Path, help="optional already installed pinned #8072 runtime") + parser.add_argument("--emit-coordinates", action="store_true", help="print the full modular survivor coordinates") + args = parser.parse_args() + check(np.__version__ == "1.26.4", "replay requires numpy==1.26.4") + toy_controls() + print("PASS_SIGNED_RATIONAL_TOYS modulus=65519 available=1 descendant=1 reorder=1", flush=True) + graph = read_graph() + if args.runtime: + rebuild(args.runtime, graph) + raw_witness = (HERE / "null-sources.json").read_bytes() + check(sha(raw_witness) == WITNESS_SHA, "rational witness hash mismatch") + witness = json.loads(raw_witness) + expected = json.loads((HERE / "RESULT.json").read_bytes()) + data = evaluate(graph) + check((data["n"], len(data["moves"]), len(graph["frames"]), len(data["received"])) == + (1291, 5674, 1103, 977), "graph census differs") + check(sum(data["received"].values()) == 5674, "missing received values") + print("PASS_FULL_STOCK roles=1291 arrivals=5674 receiving_charts=977", flush=True) + groups, local_total, deficient = local_ranks(data, witness) + check(local_total == 5660 and deficient == expected["deficient_local"], + "local rank summary differs") + print("PASS_LOCAL_RANK rank=5660 rational_one_dimensional_deficits=14", flush=True) + source595 = sender_obstruction_595(data, groups, witness) + check(source595 == expected["chart_595"], "chart 595 sender certificate differs") + print("PASS_FIXED_SENDERS chart=595 demand_rank=7 min_arrivals=8", flush=True) + cuts, paid, cut_total = depth_cuts(data) + check((paid, cut_total) == (9639, 9527) and cuts == expected["cuts"], "cut certificate differs") + print("PASS_DIRECTED_CUT lower=9527 paid=9639", flush=True) + result = reroutes(data) + check((result["nonempty_charts"], result["candidates"], result["survivors"], + result["exact_span_false_positives"], result["descendants"], result["admissible"]) == + (978, 140277, 171, 0, 171, []), "same-value reroute census differs") + check(result["descendant_witnesses"] == expected["descendant_witnesses"], + "descendant witness list differs") + check(result["descendant_coordinates"] == expected["descendant_coordinates"], + "descendant coordinate proofs differ") + if args.emit_coordinates: + print("COORDINATES_JSON=" + json.dumps(result["descendant_coordinates"], separators=(",", ":")), flush=True) + print("PASS_SAME_VALUE_REROUTES cheaper=140277 survivors=171 descendant_required=171", flush=True) + print(f"PASS_BOUNDS modulus={P} max_row_terms={data['max_terms']} " + f"max_int64_accumulation={data['max_inner']} float64_dot_bound={data['n'] * (P-1)**2}", flush=True) + print("PASS_GAUSSIAN_RECEIVER_RANK", flush=True) + + +if __name__ == "__main__": + main() diff --git a/research/p104-gaussian-receiver-rank/word.json.gz b/research/p104-gaussian-receiver-rank/word.json.gz new file mode 100644 index 0000000000..7ab5095056 Binary files /dev/null and b/research/p104-gaussian-receiver-rank/word.json.gz differ