interplane.Get Omega
Read in your language

yang

This project has not described itself yet.

Brought by drakestapleton

branch main Branches Tags History

yang / evidence / wilson_face_cut.md

120 lines · 6791 bytes Raw Blame History Rendered
1# Certified minimum split-face middle
2
3Contract row 2; base `f10fd3c407abd56760a4d3970beb00f86d179f5b`.
4Contract SHA-256: `90c6af671d9b50961d1b338ef9244141bfc3e3010158b4138a2614fa9ff2354f`.
5Implementation: `scripts/face_min_cut.py`; dependencies: Python standard library and NumPy only.
6
7## Exact minimization class
8
9`minimum_middle(faces, pinned, source, target)` returns a flat NumPy boolean
10middle mask and a Python integer minimum. `faces` is an integer array with four
11dense link indices per row; all three masks are flat boolean arrays of the same
12link count. Invalid shapes, types, indices, or intersecting forced regions raise
13`ValueError`. The caller supplies endpoint anchor masks excluding pins; labels
14placed on pinned entries are nevertheless ignored, and returned pinned bits are
15always false. Inputs are not modified.
16
17Let P be the pinned links, A and B the source and target free-link anchor sets,
18and E_f the set of distinct nonpinned links in face row f. A face is mixed by X
19exactly when E_f intersects both X and its complement. Write this set of face
20rows as boundary(X). Empty and singleton E_f are never mixed. Repeated rows are
21separate unit-cost faces; repeated incidences within a row are not extra costs.
22
23The minimized class is **all** subsets M of the free links satisfying:
24
25- A is contained in M and M is disjoint from B;
26- boundary(M) is disjoint from boundary(A) union boundary(B).
27
28The objective is the number of mixed face rows, each costing one, not a count
29of cut incidences or cut link pairs. No connectedness, regularity, time-slab,
30volume, or topology constraint is imposed. Free links absent from every face
31are permitted: an isolated source anchor is included, an isolated target anchor
32is excluded, and an unconstrained isolated link is returned false.
33
34Every face split by A has some A-link; avoiding a middle split therefore forces
35**all** its free links into M. Faces split by B similarly force all their free
36links out. Expand both anchor regions this way once. An intersection proves
37infeasibility. Otherwise a labeling extending these disjoint regions is feasible;
38there is no propagation along faces not split by the original endpoint masks.
39
40## Unit-face network and checked certificate
41
42Each effective face has auxiliary nodes a_f and b_f. Insert the directed arc
43a_f -> b_f of unit capacity, and, for every free link v of the face, arcs
44v -> a_f and b_f -> v with capacity H. Forced source and target links receive
45terminal arcs of capacity H, where H is the number of input face rows plus one.
46Faces with fewer than two distinct free links need no gadget.
47
48For any mixed face, a source-side link forces a_f source-side and a target-side
49link forces b_f target-side, so exactly one unit bottleneck is required. An
50unmixed face can place both auxiliary nodes with its links at zero cost.
51Thus every feasible geometric mask extends to a network cut with exactly its
52mixed-face count. Such a cut never needs a hard arc, since its total cost is at
53most the number of face rows, strictly below H. Conversely a minimum network
54cut cannot cross a hard arc and hence respects the expanded anchors. The
55network therefore minimizes exactly the class above.
56
57The implementation deterministically augments integer flow along shortest
58residual paths, using iterative traversals rather than recursion. It extracts
59the residual source-side mask, then independently recounts actual mixed faces
60and checks anchors and disjoint endpoint boundaries on the original face data.
61Before returning it checks the **actual flow on every original directed arc**:
62
63- integral flow, nonnegativity, and the arc capacity, including unit bottlenecks;
64- forward residual capacity equals original capacity minus that flow;
65- flow conservation at every nonterminal, including auxiliary nodes;
66- equal source outflow and target inflow, both equal to the recounted primal;
67- terminal separation and total network cut capacity equal to that same primal.
68
69An equal feasible flow is a lower bound for every network cut, while the returned
70geometric mask attains it. This is an integer primal/flow certificate checked
71inside every successful API call, not merely a solver-reported scalar. Certificate
72failures raise `RuntimeError`; the checks do not rely on Python assertions.
73The four-link local truth table is also checked through Wolfram in
74`wilson_face_cut_math.txt` (`math-check`); it is not presented as a general
75formal proof of the implementation.
76
77## Narrow acceptance and replay
78
79From the repository root:
80
81```sh
82python3 scripts/face_min_cut.py
83```
84
85The entrypoint exhaustively enumerates middle masks using a separate set-based
86oracle that checks the original class, without reusing anchor expansion or the
87network. Its main small graph contains repeated incidences, empty and singleton
88effective faces, isolated free anchors, an isolated optional link, and a forced
89mixed face with multiple links on both sides. The measured optimum is 3 with
9016 admissible masks. Every source/target pin-label combination returns the same
91middle. A second geometry has disjoint original anchors but overlapping expanded
92regions; exhaustive enumeration finds no feasible mask and the solver rejects it.
93
94It additionally checks all disjoint ternary anchor assignments on six tiny face
95families with and without a pinned link, including no faces and duplicate faces.
96The measured outcomes are 594 feasible and 378 infeasible cases, all agreeing
97with exhaustive enumeration. Repeated calls agree bit-for-bit. Deliberately
98corrupted flow certificates are rejected separately for unit capacity,
99integrality, conservation, and primal equality.
100
101Observed command: `python3 scripts/face_min_cut.py`.
102Timestamp: `2026-11-23T13:20:22Z`; exit status: `0`.
103Output: `wilson_face_cut_controls.txt`, mirrored from
104`/tmp/yang-mask.R58ROy/face-cut-controls.log`.
105SHA-256 of that control log:
106`73a5bbfa83067ba2ce5c6d64e3da71154d2defdc10af6dc1c568320214c3887a`.
107Wolfram raw query/reply log: `/tmp/yang-mask.R58ROy/face-cut-math.log`,
108SHA-256 `d06afdfa8ce9957b38d251d7a1c88e6209330f5cd7fc244182ccdce68c48075a`;
109the durable mathematical receipt records its timestamp, query, result and exit status.
110
111## Limits
112
113This is a finite, fixed-pinning, unweighted hypergraph optimum. It does not
114optimize the gauge tree, endpoint choice, Wilson action, sampled fields, exchange
115loss, or ensemble rate. It imposes no physical lattice structure beyond the
116supplied faces. It makes no continuum or mass-gap claim. The flow certificate
117uses exact Python integers, but this is trusted scientific code, not a
118hostile-input or independently formalized solver. No sampler, axial-tree,
119SU(2)/U(1), or Lean integration result is claimed by this row's controls.
120No commits or publication were performed by this row's worker.