yang
This project has not described itself yet.
Brought by drakestapleton
yang / evidence / lean_wilson_uncross.txt
| 1 | Contract row 2: PROVED abstract geometric uncrossing on actual Wilson freeBoundary. |
| 2 | Contract base: 0cc5f925842f9b0a639bea4f7a5ca771f9a0ea71 |
| 3 | Contract SHA256: 091b3430014619b53d55c8d2389cc6a86004b8b76838e9f9792c1ad4de1a26f2 |
| 4 | No commits, publication, signing, keys, GPU work or dependency-source changes by this worker. |
| 5 | |
| 6 | MODEL / SYSTEM LINK AND CLAIM BOUNDARY |
| 7 | -------------------------------------- |
| 8 | proofs/WilsonReplicaUncross.lean directly imports the existing WilsonReplicaFreeShell. |
| 9 | The masks have type Edge l -> Bool and P is an arbitrary compatible PinnedFrame l. |
| 10 | The boundary in every public geometric theorem is the existing P.freeBoundary: |
| 11 | Finset.univ filtered by failure of P.freeUniform on faceEdges p minus P.edges. |
| 12 | There is no substituted graph boundary or separately assumed split-face set. |
| 13 | The matching dependency source and compiled olean hashes were observed below. |
| 14 | |
| 15 | freeBoundary_complement: globally complementing a mask preserves its actual free |
| 16 | boundary. Either endpoint orientation may therefore be aligned independently |
| 17 | before applying the remaining statements. Protected-link labels must be checked |
| 18 | on the resulting aligned inputs; arbitrary unaligned anchor labels are not an |
| 19 | assumption of the uncrossing theorem. |
| 20 | |
| 21 | sorted_uniformity: if one input is uniform on the free links of a face, pointwise |
| 22 | Boolean meet and join equal a fixed permutation of the two original inputs on |
| 23 | that face. The permutation may differ by face. This includes empty free faces: |
| 24 | no free-link witness or nonemptiness hypothesis is used. |
| 25 | |
| 26 | freeBoundary_uncross: disjoint input free boundaries imply disjoint output free |
| 27 | boundaries and exact equality of their unions. Input alignment is not required |
| 28 | for this geometric statement. A split may move from one mask to the other. |
| 29 | freeBoundary_uncross_card: using both disjointness statements and union equality, |
| 30 | the sum of the two actual freeBoundary cardinalities is exactly preserved. |
| 31 | |
| 32 | uncross_nested_labels: the meet's true-link set is contained in the join's, and |
| 33 | both outputs preserve any prescribed label shared by the inputs on any finite |
| 34 | protected-link set. The prescribed label may vary with the link, so the set can |
| 35 | contain both source and target neighborhoods with opposite labels. It need not |
| 36 | be a whole slice or a face, and labels outside the set are unconstrained. |
| 37 | |
| 38 | exists_nested_aligned_pair combines these properties: every aligned admissible |
| 39 | pair has a nested, aligned, boundary-disjoint representative of equal total |
| 40 | geometric cost. Thus restricting optimization of this cost and these protected |
| 41 | labels to nested pairs loses no candidate cost. A nested pair is itself an |
| 42 | aligned pair. This is an abstract implication, not a Lean construction or |
| 43 | numerical optimum certificate for the concrete side-eight pinned geometry. |
| 44 | The concrete optimizer's feasibility, capacities, exact minimum, masks and |
| 45 | measurements are separate evidence. No heap, action, exchange-field or measured |
| 46 | loss equivalence, continuum, equilibrium, attenuation or mass-gap claim is made. |
| 47 | |
| 48 | NEGATIVE CONTROL |
| 49 | ---------------- |
| 50 | identical_split_counterexample is a checked theorem, not a failed proof attempt. |
| 51 | It uses Edge 2, P = empty 2 and the identical mask m(e) = decide(e.2 = 0) twice. |
| 52 | The actual (0,1) Wilson plaquette at site zero has two free corners with opposite |
| 53 | labels, so it is in P.freeBoundary m. Both meet and join reduce to that same m; |
| 54 | their output boundaries are NOT disjoint. This concretely refutes dropping the |
| 55 | input-disjointness premise for output disjointness, even with aligned inputs. |
| 56 | The witness is constructed from actual corners and freeFace membership. |
| 57 | |
| 58 | A separate expected-failure compiler control asks for the false positive |
| 59 | Disjoint statement on exactly this witness and supplies the checked negative |
| 60 | theorem. Lean rejects it with a type mismatch (negative versus positive claim). |
| 61 | This rejection is supplementary; the successful counterexample theorem above |
| 62 | is the mathematical negative control. |
| 63 | Control source, copied to the same fresh scratch: |
| 64 | import WilsonReplicaUncross |
| 65 | namespace YangMills.PeriodicWilson.PinnedFrame |
| 66 | open WilsonPolymer |
| 67 | example : Disjoint |
| 68 | ((empty 2).freeBoundary (fun e : Edge 2 => decide (e.2 = 0) && decide (e.2 = 0))) |
| 69 | ((empty 2).freeBoundary (fun e : Edge 2 => decide (e.2 = 0) || decide (e.2 = 0))) := by |
| 70 | exact identical_split_counterexample |
| 71 | end YangMills.PeriodicWilson.PinnedFrame |
| 72 | |
| 73 | SOURCE / INTEGRATION SHA256 |
| 74 | -------------------------- |
| 75 | 23da925af43504dd6b1506b3d344d94b6eb01a4625b81cc5a454c4e5834e186c proofs/WilsonReplicaUncross.lean |
| 76 | e66fea9576773dff39b3da251ba83c3a4511a46730d8bbd4c5bfaea287f3c5dc scripts/build_and_run_spark.sh |
| 77 | The only recipe edits add the new source to the existing FreeShell/PathPacking |
| 78 | copy command and compile it immediately after FreeShell, emitting an olean. |
| 79 | Consistency grep found the copy at line 453 and compile at line 488, after |
| 80 | FreeShell at line 487. No prior dependency or control was edited. Both matching |
| 81 | integration sites changed; every preexisting compile command remains unchanged. |
| 82 | bash -n scripts/build_and_run_spark.sh: exit 0 in both recorded invocations. |
| 83 | Full legacy bridge build not run: focused complete new module compiled instead. |
| 84 | |
| 85 | OBSERVED PINNED SPARK ENVIRONMENT |
| 86 | -------------------------------- |
| 87 | Lean 4.32.0, aarch64-unknown-linux-gnu, Release, |
| 88 | commit 8c9756b28d64dab099da31a4c09229a9e6a2ef35. |
| 89 | Mathlib HEAD: 81a5d257c8e410db227a6665ed08f64fea08e997 |
| 90 | 2773c517aa90b66ea8a2c52bddddf84393157797f8341be0df45294fff7fd32e lean-toolchain |
| 91 | 2f7b545f9aba8348d4be4c18b78da47d7fe7d80fbca737ce3d32415f31f9149e lakefile.toml |
| 92 | 48a4e2bcfad97fa154139282a40a2c43ac80cd736520e6b9c2acb98c4d60a7bc lake-manifest.json |
| 93 | Reused immutable dependencies (source and olean): |
| 94 | d8c4be226a6df7211289c507154578177c232d84ba728303098842cfbc51549f WilsonReplicaFrame.lean |
| 95 | 8182391573527293a311985f5f6a5a3549fae40e0b1a092e9c08ab332ea1cfe9 WilsonReplicaFrame.olean |
| 96 | 61780cb05bfc47757f60c472cea01f4bc5ddc78d51d3697ef49047d41820f87f WilsonReplicaShells.lean |
| 97 | c8775ebec8dd963a0058e674f1fdf14764b00c3e7507151f3982a633447a387c WilsonReplicaShells.olean |
| 98 | 267a68c43a8eacf57deb182f7be55b53bc8730108ac7239773cc6650c874601a WilsonReplicaExchange.lean |
| 99 | dabf149932ebe4db0fe4b8cfd1a72d0f4ed4864f21dd60307baf202e5cc08d09 WilsonReplicaExchange.olean |
| 100 | 608b8af3fc0b24afdbe71f5856579743eaae5540d2c91c4e289674ec58ca16ab WilsonReplicaFreeShell.lean |
| 101 | 16311e52504cf4ba73166b5b002cc4f2e71727ac5193efc5742b67d8726fa209 WilsonReplicaFreeShell.olean |
| 102 | |
| 103 | COMMANDS / REPLAY |
| 104 | ----------------- |
| 105 | Fresh scratch creation (exit 0): |
| 106 | ssh spark 'mktemp -d /tmp/yang-uncross.XXXXXX' |
| 107 | Observed path: /tmp/yang-uncross.bTC72H |
| 108 | Prior pin/locations source: /tmp/yang-collar.mLCOQp/packing-check.sh |
| 109 | Local runner: /tmp/yang-local.5bzC63/uncross-check.sh |
| 110 | Runner SHA256: a6244acb03583ffe05dd7c72a8b764e0120f677f1231c4d296c40295a8955569 |
| 111 | Only the new module and supplementary control were copied into the fresh scratch. |
| 112 | BRIDGE=/home/drakestapleton/workspace/yang-lean-bridge |
| 113 | REPLICA=$BRIDGE/replica.Co3b44 |
| 114 | FREE=/tmp/yang-free-shell.3OPWVv |
| 115 | SCRATCH=/tmp/yang-uncross.bTC72H |
| 116 | For a fresh installation set these role variables to copies with matching hashes. |
| 117 | |
| 118 | Executed runner command (full module, not a selected theorem): |
| 119 | bash /tmp/yang-local.5bzC63/uncross-check.sh > /tmp/yang-local.5bzC63/uncross-final.log 2>&1 |
| 120 | Runner's compile operation, with role variables as above: |
| 121 | scp proofs/WilsonReplicaUncross.lean spark:"$SCRATCH/" |
| 122 | ssh spark "set -eu; export PATH=\$HOME/.elan/bin:\$PATH; cd $BRIDGE; |
| 123 | lean --version; sha256sum lean-toolchain lakefile.toml lake-manifest.json; |
| 124 | git -C .lake/packages/mathlib rev-parse HEAD; |
| 125 | sha256sum $REPLICA/WilsonReplica{Frame,Shells,Exchange}.{lean,olean}; |
| 126 | sha256sum $FREE/WilsonReplicaFreeShell.{lean,olean}; |
| 127 | lake env sh -ec 'export LEAN_PATH=$SCRATCH:$FREE:$REPLICA:\$LEAN_PATH; |
| 128 | cd $SCRATCH; sha256sum WilsonReplicaUncross.lean; |
| 129 | taskset -c 0,1 nice -n 10 lean -o WilsonReplicaUncross.olean WilsonReplicaUncross.lean; |
| 130 | sha256sum WilsonReplicaUncross.olean'" |
| 131 | No dependency is rebuilt. The existing pinned Lake project supplies its olean |
| 132 | closure; the scratch, FreeShell and replica directories extend LEAN_PATH. |
| 133 | |
| 134 | FULL-MODULE RESULT / AXIOM AUDIT |
| 135 | ------------------------------- |
| 136 | Start 2026-11-23T14:31:50Z; end 2026-11-23T14:32:05Z; LEAN_EXIT=0. |
| 137 | No warnings or errors in this final complete-module compile. |
| 138 | Output olean SHA256: |
| 139 | c9c4ce9a8f7a3d5da6c40a364e08749c84d251ea6b0386238a133bdf5a772a96 |
| 140 | Raw log: /tmp/yang-local.5bzC63/uncross-final.log |
| 141 | Raw log SHA256: 4d02fac2de093410ffd6a387f00b2c9ce755881aefcbadadf55f1dfc7d84ab84 |
| 142 | #print axioms emitted for EVERY new theorem, including private proof helpers: |
| 143 | freeBoundary_complement: [propext, Classical.choice, Quot.sound] |
| 144 | freeUniform_congr_on (private): [propext, Classical.choice, Quot.sound] |
| 145 | sorted_uniformity (private): [propext, Classical.choice, Quot.sound] |
| 146 | freeBoundary_uncross: [propext, Classical.choice, Quot.sound] |
| 147 | freeBoundary_uncross_card: [propext, Classical.choice, Quot.sound] |
| 148 | uncross_nested_labels: [propext, Quot.sound] |
| 149 | exists_nested_aligned_pair: [propext, Classical.choice, Quot.sound] |
| 150 | identical_split_counterexample: [propext, Classical.choice, Quot.sound] |
| 151 | No sorryAx, native-decide axiom or extra axiom. A forbidden-token scan of the |
| 152 | whole new source found none of sorry, axiom, native_decide, unsafe, |
| 153 | implemented_by, extern (scan gate exit 0). #print axioms is not an axiom declaration. |
| 154 | |
| 155 | SUPPLEMENTARY EXPECTED-FAILURE OUTPUT |
| 156 | ------------------------------------- |
| 157 | Command: |
| 158 | bash /tmp/yang-local.5bzC63/uncross-check.sh /tmp/yang-local.5bzC63/UncrossUnconditionalControl.lean > /tmp/yang-local.5bzC63/uncross-negative.log 2>&1 |
| 159 | Start 2026-11-23T14:32:16Z; end 2026-11-23T14:32:23Z; LEAN_EXIT=1 (expected). |
| 160 | Source SHA256: c3fd6152740921f90b34658b6c388e32d79cfbd992fa2af2021554e4a7b4b831 |
| 161 | Raw log SHA256: c8915912fbc28e13fb9a29a5c489148d162049d63f7a4c5c1506b2cfce5ea074 |
| 162 | Output (after the same environment and dependency hashes): |
| 163 | UncrossUnconditionalControl.lean:7:2: error: Type mismatch |
| 164 | identical_split_counterexample |
| 165 | has type |
| 166 | have m := fun e => decide (e.2 = 0); |
| 167 | ¬Disjoint ((empty 2).freeBoundary fun e => m e && m e) |
| 168 | ((empty 2).freeBoundary fun e => m e || m e) |
| 169 | but is expected to have type |
| 170 | Disjoint ((empty 2).freeBoundary fun e => decide (e.2 = 0) && decide (e.2 = 0)) |
| 171 | ((empty 2).freeBoundary fun e => decide (e.2 = 0) || decide (e.2 = 0)) |
| 172 | LEAN_EXIT=1 |
| 173 | Gate test "$rc" -ne 0 exited 0. |
| 174 | |
| 175 | An initial full compile before the final source failed in the concrete witness |
| 176 | because classical decidability was not enabled there; this was corrected with |
| 177 | local classical, without changing the theorem statement. The final full-module |
| 178 | result above supersedes it. Initial log retained privately as uncross-compile1.log. |
| 179 | No existing theorem, dependency, assertion or control was weakened. |