Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
164 changes: 164 additions & 0 deletions research/b2-tripartite-edge-counterexample/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
# Nine lines refute the B2 acyclic-edge strengthening

An admissible three-total configuration has

```text
v = 9, H = empty, |F| = 9,
cost(B) = 21 < masE(W[F]) = 27.
```

This settles **open next question 1** of Aaron Wang's
[CR2/B2 audit #2293](https://github.com/CrocSwap/integer-mult-bounds/pull/2293).
The valid vertex version of DreamingOfClouds's
[Theorem B2, section 2.2](https://github.com/CrocSwap/integer-mult-bounds/blob/113a718265c62aec301c5695f4bfb9c421bef7ab/research/char2-jets/README.md)
uses the **number of vertices in a largest induced acyclic subgraph**, not
the number of edges in a largest acyclic edge subset. For this witness the
two numbers are 3 and 27. The full wild pattern equals B's off-diagonal
support, so restricting wild edges to the chosen pairing does not repair
the edge version. The selected frontier is unchanged.

## Inspect or replay

[WITNESS.json](WITNESS.json) contains all nine integer vector pairs and
the complete binary pairing. From the repository root:

```sh
python3 -B research/b2-tripartite-edge-counterexample/verify.py
python3.12 scripts/research_package.py --package research/b2-tripartite-edge-counterexample
```

Expected status: `PASS_B2_TRIPARTITE_EDGE_COUNTEREXAMPLE`. The registered
replay runs normal and optimized Python; its acceptance predicates remain
active under `-O`. Only the standard library is needed.

## Construction in the stated model

PR #2162 uses indexed rational vectors p(t), q(t) in Q^3 with nonzero
diagonal dot products. A binary B is admissible when its diagonal is one
and every off-diagonal one occurs at a zero rational dot product. For
coordinate supports R_j and A_j,

```text
cost(B) = sum_(j=1)^3 rank_F2 B[R_j, A_j].
```

H consists of harmonic lines with two equal diagonal contributions; F
contains indices where both vectors have full support. A wild incidence
is a zero off-diagonal dot product using all three coordinates. Configurations
are indexed lists; the stated model does not require distinct points or lines.

Take k copies of each pair, indexed by (i,a), with i in {1,2,3}, 1<=a<=k:

| i | p_i | q_i |
|---|---|---|
| 1 | (1,1,1) | (6,-5,1) |
| 2 | (1,2,4) | (3,-4,1) |
| 3 | (1,3,9) | (2,-3,1) |

The cross-dot matrix is diag(2,-1,2): evaluate (x-2)(x-3), (x-1)(x-3)
and (x-1)(x-2) at x=1,2,3. Precisely the cross-type pairs are incidences.
All vectors have full support, so H is empty and |F|=v=3k.
With I_k the identity and J_k the all-ones matrix, choose

```text
[ I_k J_k J_k ]
B_k = [ J_k I_k J_k ].
[ J_k J_k I_k ]
```

Its off-diagonal ones are exactly the cross-type incidences, so B_k is
admissible. Each of its three coordinate-support blocks is the whole B_k.

## Rank and acyclic counts: proof for every k

Write x in three length-k blocks x_i, and let s_i be the coordinate sum
of x_i in F2. The equation B_k x=0 says

```text
x_1 = (s_2+s_3) 1_k,
x_2 = (s_1+s_3) 1_k,
x_3 = (s_1+s_2) 1_k.
```

For even k, summing each block gives s_i=0, hence x=0. For odd k, the
equations are equivalent to x_i=s_i 1_k and s_1+s_2+s_3=0. Every such
triple is a kernel vector, giving nullity two. Therefore

```text
rank_F2(B_k) = 3k for even k,
3k - 2 for odd k;
cost(B_k) = 3 rank_F2(B_k).
```

The wild graph is complete bidirected tripartite with three parts of size k.
An acyclic edge set retains at most one direction of each cross-part pair,
or it would contain a 2-cycle. There are 3k^2 such pairs; ordering the parts
and keeping every forward edge attains that bound. Thus masE=3k^2.
An induced acyclic vertex set lies in one part, since any cross-part pair
forms a 2-cycle; thus masV=k.

Since v-|H|-|F|=0, the proposed edge bound exceeds the actual cost by

```text
masE - cost(B_k) = 3k(k-3) for even k,
3(k-1)(k-2) for odd k.
```

This is positive for every k>=3. At k=3, rank=7, cost=21, masE=27,
masV=3 and there are 54 directed wild edges. At k=1 the edge inequality
is tight (3=3); k=2 does not violate it (18>12). Thus k=3 is the first
counterexample **in this equal-multiplicity family**.

Repeating the three rational types makes the edge count quadratic but
the rank cost only linear. The proven vertex bound respects repetition.
Neither the vertex theorem nor target (A), cost(B)>=v, is contradicted.

## Independent checks and limits

The verifier imports no predecessor implementation. It checks every rational
dot product, admissibility and actual coordinate support. It derives each
block rank twice: by pivot elimination and by enumerating its entire F2 row
space. It computes masE by exact subset dynamic programming over all vertex
orders and masV by induced-subgraph cycle tests. Both graph searches cover
512 subsets at v=9 without assuming tripartite structure.

Controls reject a zero B diagonal, a within-type nonincidence, a perturbed
rational point and a zero rational diagonal. A directed 2-cycle and dependent
binary rows check the graph/rank primitives. Two simultaneous reindexings
preserve all results; k=1,2 are tight/nonviolating controls. Elimination also
checks the proved rank formula for k=1,...,16; the all-k conclusion rests on
the proof above, not on those finite checks.

This evaluates an explicit B, not its globally minimum cost. No globally
smallest-v claim, physical supplier construction or new kappa follows.
Local normal/optimized replay evidence and environment are recorded in
[TASK.json](TASK.json); maintainer review and hosted CI are separate.

## Coordination and credit

Canonical investigation: [Discussion #2331](https://github.com/CrocSwap/integer-mult-bounds/discussions/2331).
Base main: `0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2`, priority revision 4.
TASK.json records the changed scope from `uniform-transfer-audit` to the
named decoder-bound handoff. [SOURCES.json](SOURCES.json) pins the model and
audit references; the self-contained verifier has no external data inputs.

Aaron Wang's [contemporaneous smaller-core search](https://github.com/CrocSwap/integer-mult-bounds/discussions/1166#discussioncomment-18941591)
received this complementary analytic family in
[a coordination reply](https://github.com/CrocSwap/integer-mult-bounds/discussions/1166#discussioncomment-18941680).
The separate split-minmax audit is outside this package.

The model and B2 are DreamingOfClouds's (#2162, following #2111/#1590).
Aaron Wang, assisted by opencode, identified the edge/vertex distinction and
posed this question in #2293. This counterexample, family proof and verifier
were prepared by ROTl24 with substantial OpenAI Codex assistance.
Checked by the contributing agent; independent human and proof-assistant review remain open.
New work is Apache-2.0.

## Open next questions

The named edge-form question is settled. The downstream correction is to
define MAS explicitly as a maximum **induced acyclic vertex-set cardinality**
when using B2(iii). No further search is required for that correction.
The general three-total target (A) remains open; a smaller counterexample
or a restriction forbidding repeated vectors is not needed to decide this
stated model. This package therefore proposes no additional search.
39 changes: 39 additions & 0 deletions research/b2-tripartite-edge-counterexample/SOURCES.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"schema_version": 1,
"base_commit": "0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2",
"files": [
{
"path": "certificates/selected-result.json",
"usage": "provenance",
"git_blob": "ae6a99f28aa468649eb66a361e764d769363bf11",
"sha256": "10b9e340fd8e354a37a0c4813c90e5de1dd42044b5f6aca4a3fc5a42b685fa32"
},
{
"path": "docs/research/agent-task-catalog.json",
"usage": "provenance",
"git_blob": "e8870e5917057d59b730eb14721a778639eca050",
"sha256": "d46eb6d5b3e279428753d770653663fbdf1063e55c255ea073d768f344927ef7"
}
],
"references": [
{
"pr": 2162,
"author": "DreamingOfClouds",
"commit": "113a718265c62aec301c5695f4bfb9c421bef7ab",
"path": "research/char2-jets/README.md",
"git_blob": "1f4ae89f74c1318d95e25e8e1f56bd66405f0b48",
"url": "https://github.com/CrocSwap/integer-mult-bounds/blob/113a718265c62aec301c5695f4bfb9c421bef7ab/research/char2-jets/README.md",
"use": "Model section 1 and Theorem B2 section 2.2. Mathematical reference only; no predecessor code is imported."
},
{
"pr": 2293,
"author": "Aaron Wang (navinor), assisted by opencode",
"commit": "6bc48613ed1c71e5d2e88994235e9e8629129b9c",
"path": "research/cr2-b2-audit-seed4f435ab7/README.md",
"git_blob": "266ec5872511a3fc71bdc0a2e3b4db590cc494f6",
"url": "https://github.com/CrocSwap/integer-mult-bounds/blob/6bc48613ed1c71e5d2e88994235e9e8629129b9c/research/cr2-b2-audit-seed4f435ab7/README.md",
"use": "Result 4 distinguishes masE from masV; Open next questions item 1 requests the edge-form decision. Mathematical reference only."
}
],
"reference_scope": "Exact source references were read at the listed commits. The generic runner validates files provenance; references are citations, not runtime inputs. The new proof and verifier restate their model and use only WITNESS.json."
}
150 changes: 150 additions & 0 deletions research/b2-tripartite-edge-counterexample/TASK.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
{
"schema_version": 1,
"task_id": "uniform-transfer-audit",
"priority_revision": 4,
"base_commit": "0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2",
"original_card": {
"id": "uniform-transfer-audit",
"question": "Can one exact all-size/compiler, precision, hosting or restoration implication be proved or falsified?",
"starting_points": [
"certificates/selected-result.json",
"docs/audit.md"
],
"methods": [
"Prove one missing implication with explicit quantified hypotheses.",
"Find an exact counterexample at the claimed interface boundary."
],
"acceptance_gate": "Identify the proposition and what would change downstream; do not equate a finite replay with a universal proof.",
"first_step": {
"command": [
"python3",
"-B",
"scripts/research_baseline.py"
],
"expected": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY",
"inspect": "Read the selected review scope and choose one exact all-size or precision implication.",
"scope": "Positive control / source-bound orientation only; this is not a new construction or full cold replay."
},
"first_experiment": "Write its quantified inputs and conclusion; find a missing hypothesis or construct a minimal exact adversarial instance.",
"bottleneck_link": "Finite supplier improvements are useful only under the retained transfer obligations.",
"allowed_variations": [
"Choose one tape, precision, hosting or restoration lemma."
],
"scope_change_triggers": [
"Replacing a quantified obligation with another finite smoke test."
],
"overlap_terms": [
"uniform transfer",
"all-size",
"precision"
]
},
"scope_status": "changed",
"actual_scope": "Refute the acyclic-edge-count strengthening of Theorem B2(iii), using a nine-line admissible rational three-total configuration and an all-k repeated-three-type proof.",
"scope_change_reason": "The catalogue drew an all-size uniform-transfer audit. After orienting on the pending outer-transfer handoff, the live #2293 audit supplied a more decisive named question: whether the edge reading of MAS holds. This changes the audited object to a decoder lower bound; it does not purport to discharge a selected transfer obligation. The independently derived v=9 blow-up family complements the live v<=8 search rather than rerunning it.",
"bottleneck_link": "The three-total decoder pairing-cost problem is a structural route beyond packing. Resolving a false strengthening prevents an unsupported obstruction from being used to reject decoder candidates. This is an algebraic audit, not a new physical supplier.",
"budget_minutes": 60,
"stop_rule": "Stop after one exact admissible counterexample, its analytic family proof, independent rank/acyclicity checks and a public handoff. No exhaustive pairing search or global-minimality claim.",
"outcome": "negative-result",
"evidence": "WITNESS.json and verify.py independently derive ranks [7,7,7], cost 21, 54 wild edges, masE 27 and masV 3. README.md proves the family for every positive k. Four malformed fixtures reject; graph/rank controls, two reindexings and k=1,2 positive controls pass. Rank formula checked for k=1..16.",
"author": "ROTl24",
"ai_assistance": "Substantial OpenAI Codex assistance in research, proof development, implementation, verification and writing; checked by the contributing agent, with no independent human or proof-assistant review claimed.",
"open_questions": [],
"no_open_questions_reason": "The named edge-form question is settled. Defining MAS as an induced acyclic vertex-set cardinality is the immediate correction; no further search is needed to use this result. The general three-total target (A) remains outside this package.",
"selection": {
"nonce": "7f2fe94ff4c0c5cf3c947e11d7a05396",
"track": "adversarial-audit",
"drawn_task": "uniform-transfer-audit",
"drawn_scope_key": "603f341b99f590f17a76",
"actual_scope_key": "b2-mas-edge-tripartite-equal-multiplicity"
},
"coordination": {
"canonical_discussion": "https://github.com/CrocSwap/integer-mult-bounds/discussions/2331",
"status": "FINDING; no retrospective advance reservation",
"related_live_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/1166#discussioncomment-18941591",
"finding_delivered_to_claim": "https://github.com/CrocSwap/integer-mult-bounds/discussions/1166#discussioncomment-18941680",
"predecessors": [
2162,
2293
],
"overlap_entry": {
"open_prs": {
"records": 540,
"fetched_at": "2026-10-15T05:27:06Z",
"complete_pagination": true
},
"discussions": {
"records": 1039,
"fetched_at": "2026-10-15T05:31:22Z",
"complete_pagination": true
},
"local_records": 1538,
"additional_live_check": "The active edge-form claim was read directly after the cached full snapshot.",
"limits": "PR titles/bodies, Discussion text, top-level local README/TASK metadata and ledger; no arbitrary code-diff coverage."
},
"overlap_before_submission": {
"searched_at_utc": "2026-10-15T05:47:14.987231+00:00",
"terms": [
"masE",
"edge-form",
"tripartite"
],
"coverage": {
"open_prs": {
"fetched_at": "2026-10-15T05:43:02.542803+00:00",
"complete_pagination": true,
"records": 546
},
"discussions": {
"fetched_at": "2026-10-15T05:47:14.858580+00:00",
"complete_pagination": true,
"records": 1051
}
},
"local_records": 1538,
"warnings": [],
"limits": "Remote PR scope is open PRs including drafts. Closed work is searched through local READMEs, TASK metadata and ledger only. No code diffs or arbitrary package files are searched. Recheck relevant heads before submission.",
"assessment": "Nearest predecessor remains #2293; the live smaller-core claimant has received the analytic witness. No acknowledgment was present at the direct pre-submission check. The added value is the v=9 counterexample and all-k family, not a repeat of the smaller-core search."
}
},
"upstream_checkpoint": {
"canonical_remote": "https://github.com/CrocSwap/integer-mult-bounds.git",
"main_commit": "0fdd7d82de03e43c9e5a1000dfbcd380d1b687d2",
"priority_revision": 4,
"decision": "Canonical main, priorities and selected record are unchanged; continue the isolated package without rebasing or repinning.",
"predecessor_heads_unchanged": [
2162,
2293
],
"recorded_at_utc": "2026-10-15T05:48:56+00:00",
"predecessor_check": "Direct GitHub query before final packaging returned both pinned heads unchanged and both PRs open."
},
"validation": {
"environment": "Windows x86-64; CPython 3.12.13 for package checks; standard library only. Baseline orientation used CPython 3.13.15.",
"commands": [
{
"command": "python -B scripts/research_baseline.py",
"result": "PASS_RESEARCH_BASELINE_BINDINGS_ONLY; source-bound orientation, not a complete cold replay"
},
{
"command": "{python3.12.13} -B research/b2-tripartite-edge-counterexample/verify.py",
"result": "PASS_B2_TRIPARTITE_EDGE_COUNTEREXAMPLE"
},
{
"command": "{python3.12.13} -B scripts/research_package.py --package research/b2-tripartite-edge-counterexample --check-only",
"result": "PASS_PACKAGE_METADATA_AND_PINS"
},
{
"command": "{python3.12.13} -B scripts/research_package.py --package research/b2-tripartite-edge-counterexample",
"result": "PASS_REGISTERED_RESEARCH_PACKAGE; both normal and -O VERIFY.json commands passed"
}
],
"command_notation": "{python3.12.13} denotes the CPython 3.12.13 executable; VERIFY.json uses the runner-selected interpreter.",
"not_run": [
"Independent human review",
"Proof-assistant formalization",
"Full selected-frontier cold replay (no selected artifacts changed)"
],
"hosted_ci": "Not run at the local evidence checkpoint; consult the eventual PR checks for current status."
}
}
28 changes: 28 additions & 0 deletions research/b2-tripartite-edge-counterexample/VERIFY.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"schema_version": 1,
"status": "ready",
"python": "3.12",
"requirements": [],
"inputs": [],
"commands": [
{
"argv": [
"{python}",
"-B",
"{package}/verify.py"
],
"timeout_seconds": 60,
"checks": "Exact admissibility, independent F2 rank engines, acyclic-edge DP, induced-vertex census, malformed controls and family rank checks."
},
{
"argv": [
"{python}",
"-O",
"-B",
"{package}/verify.py"
],
"timeout_seconds": 60,
"checks": "The same witness and all failure controls with Python assertions disabled; explicit require predicates retain coverage."
}
]
}
Loading