Skip to content
Open
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
17 changes: 17 additions & 0 deletions research/p104-balanced-plane-cut-optimum/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Certify the maximum paired-cut deficit on the P104 804-bank witness

Exact independent-set separation gives a paired-cut deficit of 50 each direction for the pinned 804-bank witness.

A 28-edge and four odd-cycle certificate proves the upper bound. Fixed append-only nested repair forces at least 100 extra banks and D+R≥128.

The source archive contains the exact pins, proof, licenses, commands and control outcomes.

Archive SHA-256 `1296d28a29c0825af438ce424c1330289783013048a4d37fa0988ccec393cbb0`.

Unpack in a clean directory, validate `sha256sum -c MANIFEST.sha256`, and run `python3 -B -S verify.py`.

## Open next questions

Separate a redesigned bank network without the fixed-witness assumption.

Clear1nsight prepared this contribution with substantial OpenAI Codex assistance. Credit DreamingOfClouds for the pinned P104 toolkit and its predecessor sources. Copied Apache-2.0 sources retain their notices.
147 changes: 147 additions & 0 deletions research/p104-balanced-plane-cut-optimum/RESULT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
# Exact paired-cut separation for the balanced-plane witness

**Result.** For the fixed 804-bank balanced-plane witness in #7857, the
maximum violation of the two designated #7113 paired directed-cut
inequalities over **all Boolean predicates on the chart subspaces** is
exactly **50 in each direction**. One maximizing predicate gives

```
outgoing incoming
banks 0 214
main fields 0 214
mandatory paired extras 50 50
required banks 50 264
```

The old label-11 predicate is reproduced at `(bank out,in; field out,in) =
(0,396;0,396)` with one required extra in each direction. The maximizer
places the same label 11 among 50 selected labels. This result is about a
fixed graph's **cut-separation objective**. It does not establish the optimum
D+R after banks are redesigned.

The sources are PR #7852 head `41beda1d6435760dc99e38bd7e65f36798aad212`
and PR #7857 head `c55b7721e1a8ef438f7b932f07e4e05ab24897b9`. The three
copied Python source blobs have Git object IDs `99c72466…`, `de0b5be3…`,
`ffbb4f29…`, respectively, matching the #7857 head. The additional pinned
`UniHSC7113.lean` and `WordModelDefs.lean` have blob IDs `f65939d3…` and
`4e75a31e…`, matching #7852. Replay checks their SHA-256 byte hashes and the
six Lean pins from #7857. Matching those bytes establishes the local source
identity; no Lean build is claimed.

## Why this is an exact separation

Use `0` and `1` for the sides of a predicate P. There are 104 ports q. For
this witness, each has a unique x-plane `X_q`, and one or two assigned
compatible y-planes `Y_qj` as generated by the frozen integer matching. The
400 field paths are

```
L_q -> X_q -> top (one or two copies)
bot -> Y_qj -> H_q (one or two copies)
```

where `L_q=span(q)` and `H_q=ker(q)`. In addition there is one bank in each
direction between top and each of two flag planes `b1,b2`. The witness has
D=R=14 and X=D+R=28. The source `UniHSC7113.hsc7113` establishes that, for a
legal #7113 word's folded graph, the designated `Ehi`/`Elo` rows pair fields
of the **same** label. For D labels these are respectively X2/Y2 and Y/X;
for non-D labels X/Y and Y/X. Generic `HSContract` only asserts an
injective partner and does not by itself identify an arbitrary graph's
pairing with these labels. The exact result below concerns the #7113
pairing and the particular fixed witness, not arbitrary `HSContract`
instances.

For any path A -> C -> B, in both directions its bank-crossing count minus
its field-crossing count is `1` when A and B lie on the same side but C
lies on the other; otherwise it is `0`. The four flag banks add one surplus
in each direction for each `b_i` on the opposite side from top.

If `P(top)=P(bot)`, no designated x/y pair can have both x endpoints on one
side and both y endpoints on the other, and path telescoping makes the
violation nonpositive. Complementing P exchanges the two directions and
preserves the violation. Hence it suffices to take `P(top)=1, P(bot)=0`.
Put `l_q=P(L_q)`, `t_q=1-P(H_q)`, and `w_q=1` for a non-D port or `2` for
a D port. The mandatory excess in **each** direction is

```
E(P) = sum_q l_q t_q.
```

For fixed plane sides, the common bank-minus-field surplus is

```
S(P) = sum_q [w_q l_q (1-P(X_q)) + t_q sum_j P(Y_qj)]
+ (1-P(b1)) + (1-P(b2)).
```

Since the port lines and hyperplanes are distinct actual charts, their
Boolean choices are independent. For each q, independently maximizing
`l*t - a*l - b*t` over bits `l,t`, with nonnegative integer
`a=w_q(1-P(X_q))`, `b=sum_j P(Y_qj)`, gives 1 exactly if `a=b=0`, and 0
otherwise. The two extra flag planes are distinct from every intermediate
plane, so they can both be set to 1 without affecting anything else.
Consequently the maximal violation is the maximum number of q for which

```
P(X_q)=1 and P(Y_qj)=0 for every assigned y-plane j.
```

Construct an undirected conflict graph on the 104 labels: add q--r if a
`Y_qj` equals `X_r`. The checked x-planes are unique; every y-plane is an
x-plane, with no self-loop. The simultaneously qualifying labels are
precisely the independent sets of this graph, up to the choice of the
remaining plane sides. The checked graph has 124 edges and maximum degree 4.

The optimality proof is an independently checkable combinatorial
certificate: `CERT_EDGES` and `CERT_CYCLES` in `separate.py` partition all
104 vertices into 28 edges and four odd cycles of lengths 13, 11, 11, 13.
An independent set meets them in at most

```
28 + floor(13/2) + floor(11/2) + floor(11/2) + floor(13/2) = 50.
```

The script also constructs a 50-vertex independent set and checks the
actual 804-bank and 400-field counts. It independently computes the same
optimum using an exact recursive independent-set solver (405 memoized
states). No floating point or solver-status assumption is used for either
the upper or the lower certificate. Exhaustive toy checks compare the
recursion with brute force on every graph of up to five vertices and verify
the path and endpoint Boolean identities.

## Inequalities and limits

For the maximizing predicate P, the pair-cut lemma `BankFitHS.dir_extras`
requires outgoing banks ≥ 50 and incoming banks ≥ 264 for the **concrete**
#7113 D/B assignment; other helper fields would only increase the field
crossing requirements. The number 214 is `2 * (200 - 93)` because the 50
selected labels carry 93 x-field copies and 93 y-field copies. This is a
necessary condition of a full banked graph with those endpoint data, not a
construction of one.

With the same 104 labels but only `DCount=96`, without fixing which eight
are non-D, at least 46 of the 54 unselected labels are D. The 54 unselected
labels therefore produce at least 200 incoming field crossings, so the
same fixed predicate still requires at least **250 incoming banks** and
**50 outgoing banks**. This is a paper application of the pinned directed
cut lemma; it has not been added to Lean or kernel-replayed here.

If one holds the 400 fields and all 804 witness banks fixed and only
**appends** nested banks, this particular cut alone requires at least 50
new banks in each direction. Every nontrivial nested chart transition has
absolute dimension change ≥1. Thus any such append-only repair has at least
100 additional banks and X ≥ 28+100 = **128**. This append-only bound is
not a bound on a redesigned witness, on unrestricted networks, or on legal
words. It neither proves nor disproves `hJ`, the aggregate D+R ≥ 112
premise, and gives no invoice crossing `hV` or κ result.

## Replay

```
nice -n 15 python3 -B -S verify.py
```

The checker is standard-library-only and reads the frozen files in this
directory. It validates the byte pins, exact certificates, and recorded receipt.
`verify.log` records the run; it completes in under one second
on this machine. No repository or upstream changes were made.
31 changes: 31 additions & 0 deletions research/p104-balanced-plane-cut-optimum/SOURCES.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"schema_version": 1,
"base_commit": "e54523517d0f03e58352e647c403a5af3e525a57",
"files": [
{
"path": "docs/research/agent-task-catalog.json",
"usage": "provenance",
"git_blob": "3404fbdd5e7529a0674eef26114b5071e4586cec",
"sha256": "ead6cdc9d0af6d58e8a49744d8ec8c7c15e13d2ba93c276c434bcf9b51b93a81"
},
{
"path": "certificates/selected-result.json",
"usage": "provenance",
"git_blob": "75d77b328ea02ded535e7f23aee5b1e55d0bb1a8",
"sha256": "154c3d30455d778fd3343b6b4851f0fa4665f0f7625b0adb3675e2bafbbf6bf1"
}
],
"external_sources": [
{
"pr": 7852,
"head": "41beda1d6435760dc99e38bd7e65f36798aad212",
"package": "research/p104-lowerbound-toolkit",
"repo": "CrocSwap/integer-mult-bounds"
}
],
"archive_file_sha256": {
"RESULT.md": "919197e61320d7065d630e40a8beedd8f5f0395625ba70df7c45bdd55d4e442a",
"README.md": "090cfc4b62ac5bcb26bc394c54e6e5dd290bdbbaac75d47de389f867a5feeed3",
"replay.tar.gz": "1296d28a29c0825af438ce424c1330289783013048a4d37fa0988ccec393cbb0"
}
}
Binary file not shown.
Loading