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