yang
This project has not described itself yet.
Brought by drakestapleton
yang / evidence / lean_wilson_path_packing.txt
| 1 | Contract row 2: PROVED abstract path-packing certificate, not a constructed torus packing. |
| 2 | Base: a002e52ccf1467a6e19c2a96ee9434d6db1736c8 |
| 3 | Contract SHA256: 01e9776502eb668f6a7d06c310ee7cce110bc98c3799c6c5b5cb53598adec9e4 |
| 4 | No publication, signing, dependency modification or full legacy rebuild by this worker. |
| 5 | |
| 6 | Model and scope |
| 7 | --------------- |
| 8 | proofs/WilsonReplicaPathPacking.lean imports the existing WilsonReplicaFreeShell. |
| 9 | For arbitrary compatible PinnedFrame P and mask m, FreeFacePath is an inductive |
| 10 | chain of actual Wilson Face l values, not an abstract graph of assumed split |
| 11 | faces. A cons step carries two members of P.freeFace p, which is the existing |
| 12 | faceEdges p minus P.edges. Its second link is literally the next step's first |
| 13 | link. The terminal empty path has one free endpoint. Incidence therefore uses |
| 14 | the existing periodic Wilson plaquette corners; pinned links cannot witness a |
| 15 | step. No path step assumes p belongs to P.freeBoundary m. |
| 16 | |
| 17 | path_crosses_freeBoundary: different labels at the two endpoints force an |
| 18 | actual path face into P.freeBoundary m. Equal labels propagate by induction; |
| 19 | a changed label contradicts the existing freeUniform definition. The empty |
| 20 | path is ruled out by the opposite-label premise, not by a hidden nonemptiness |
| 21 | assumption. |
| 22 | |
| 23 | path_packing_le_freeBoundary: given n such chains, opposite endpoint labels, |
| 24 | and pairwise disjoint face supports, choose one boundary witness per chain. |
| 25 | Disjointness makes that choice injective into P.freeBoundary m, proving |
| 26 | n <= (P.freeBoundary m).card. Paths may share links/endpoints and may revisit |
| 27 | their own faces; only different chains must have disjoint face supports. |
| 28 | The theorem does not assume that chains exhaust all lattice faces. |
| 29 | |
| 30 | overlapping_paths_counterexample: a concrete side-two Wilson plaquette at |
| 31 | site zero with directions (0,1), the empty compatible frame, and the mask |
| 32 | selecting direction zero give a genuine one-step crossing. Repeat it |
| 33 | card(freeBoundary)+1 times. Every path and opposite-label premise holds, |
| 34 | but the count fails. Thus dropping inter-path face disjointness is genuinely |
| 35 | false, not merely beyond the tactics used here. |
| 36 | |
| 37 | CONCRETE DATA LIMIT: this file does not construct the side-eight pinned tree, |
| 38 | the two temporal arcs, their face-disjoint packing, or the whole-slice labels. |
| 39 | Those are separate geometry certificates/data. In particular it does not |
| 40 | claim a Lean-certified side-eight numerical minimum or optimal flat cuts. |
| 41 | It proves the general certificate implication on actual Wilson incidence. |
| 42 | No configuration, Wilson action, exchange field, chain, stationarity, |
| 43 | continuum, ensemble decay rate or mass-gap assertion is proved here. |
| 44 | |
| 45 | Source and integration hashes (SHA256) |
| 46 | ------------------------------------ |
| 47 | cbcec70a782980d56139e0f6686d66b7f6a2205e86b5d71069cc05b6faeab940 proofs/WilsonReplicaPathPacking.lean |
| 48 | e1294278215f7789a55439afd868ab47f930a46ad60e96efb0da17c82e7af165 scripts/build_and_run_spark.sh |
| 49 | The only recipe changes add this module to the copy step and compile it |
| 50 | immediately after FreeShell, emitting its olean. Both matching integration |
| 51 | sites were checked; bash -n scripts/build_and_run_spark.sh exited 0. |
| 52 | Existing module order and all other modes remain unchanged. |
| 53 | |
| 54 | Pinned environment observed on Spark |
| 55 | ----------------------------------- |
| 56 | Lean 4.32.0, aarch64-unknown-linux-gnu, Release, |
| 57 | commit 8c9756b28d64dab099da31a4c09229a9e6a2ef35. |
| 58 | Mathlib HEAD: 81a5d257c8e410db227a6665ed08f64fea08e997 |
| 59 | 2773c517aa90b66ea8a2c52bddddf84393157797f8341be0df45294fff7fd32e lean-toolchain |
| 60 | 2f7b545f9aba8348d4be4c18b78da47d7fe7d80fbca737ce3d32415f31f9149e lakefile.toml |
| 61 | 48a4e2bcfad97fa154139282a40a2c43ac80cd736520e6b9c2acb98c4d60a7bc lake-manifest.json |
| 62 | Reused immutable dependency source/olean hashes: |
| 63 | d8c4be226a6df7211289c507154578177c232d84ba728303098842cfbc51549f WilsonReplicaFrame.lean |
| 64 | 8182391573527293a311985f5f6a5a3549fae40e0b1a092e9c08ab332ea1cfe9 WilsonReplicaFrame.olean |
| 65 | 61780cb05bfc47757f60c472cea01f4bc5ddc78d51d3697ef49047d41820f87f WilsonReplicaShells.lean |
| 66 | c8775ebec8dd963a0058e674f1fdf14764b00c3e7507151f3982a633447a387c WilsonReplicaShells.olean |
| 67 | 267a68c43a8eacf57deb182f7be55b53bc8730108ac7239773cc6650c874601a WilsonReplicaExchange.lean |
| 68 | dabf149932ebe4db0fe4b8cfd1a72d0f4ed4864f21dd60307baf202e5cc08d09 WilsonReplicaExchange.olean |
| 69 | 608b8af3fc0b24afdbe71f5856579743eaae5540d2c91c4e289674ec58ca16ab WilsonReplicaFreeShell.lean |
| 70 | 16311e52504cf4ba73166b5b002cc4f2e71727ac5193efc5742b67d8726fa209 WilsonReplicaFreeShell.olean |
| 71 | |
| 72 | Execution and portable replay |
| 73 | ----------------------------- |
| 74 | Fresh remote scratch was created with: |
| 75 | ssh spark 'mktemp -d /tmp/yang-path-packing.XXXXXX' |
| 76 | Only the new source and controls were copied into it. The prior FreeShell |
| 77 | scratch and pinned replica bridge were used read-only, in precisely the |
| 78 | locations resolved by the preceding free-shell-check runner. Their hashes |
| 79 | above were re-observed in each invocation. No dependency was rebuilt. |
| 80 | |
| 81 | Actual runner: packing-check.sh (private work log directory, basename only). |
| 82 | Runner SHA256: b6eb348841aaff1ce3eb8496cb99ece5db768cbc1a7736926e349e1f608bc772 |
| 83 | Invocation: bash packing-check.sh proofs/WilsonReplicaPathPacking.lean |
| 84 | Full-module compilation: 2026-11-23T13:36:30Z to 2026-11-23T13:36:38Z. |
| 85 | LEAN_EXIT=0. No warnings or errors. Output olean SHA256: |
| 86 | 2ac3752b82861321ccdd2a464fb3c6f76ef478dcb5d759d13f6dfb3d09146a18 |
| 87 | Raw log: packing-final.log |
| 88 | Raw log SHA256: 0b3edf1fedce01e2c15c2c8ca35b7cd8c1f2db4e194592a52b27cfe174634c6d |
| 89 | |
| 90 | The following is the executed compilation command with machine-local paths |
| 91 | replaced by role variables. BRIDGE is the pinned Lake project; REPLICA is its |
| 92 | prior replica module directory; FREE is the prior FreeShell directory; SCRATCH |
| 93 | is the fresh directory above. Set these to installations matching the hashes. |
| 94 | cd "$BRIDGE" |
| 95 | export PATH="$HOME/.elan/bin:$PATH" |
| 96 | lake env sh -ec ' |
| 97 | export LEAN_PATH="$SCRATCH:$FREE:$REPLICA:$LEAN_PATH" |
| 98 | cd "$SCRATCH" |
| 99 | taskset -c 0,1 nice -n 10 lean -o WilsonReplicaPathPacking.olean WilsonReplicaPathPacking.lean |
| 100 | ' |
| 101 | Export those four role variables before lake env, and copy the source into |
| 102 | SCRATCH. This new-module recipe avoids any full legacy build or private path |
| 103 | requirement. The repository openai_bridge recipe also checks the new module |
| 104 | on a full bridge run, but that expensive mode was not run for this evidence. |
| 105 | |
| 106 | Portable positive output / axiom audit: |
| 107 | 'YangMills.PeriodicWilson.PinnedFrame.path_crosses_freeBoundary' depends on axioms: [propext, Classical.choice, Quot.sound] |
| 108 | 'YangMills.PeriodicWilson.PinnedFrame.path_packing_le_freeBoundary' depends on axioms: [propext, Classical.choice, Quot.sound] |
| 109 | 'YangMills.PeriodicWilson.PinnedFrame.overlapping_paths_counterexample' depends on axioms: [propext, Classical.choice, Quot.sound] |
| 110 | All are standard axioms. No sorry, native_decide, added axiom or unsafe proof. |
| 111 | The first development run had a local decide elaboration error in the control; |
| 112 | replacing it with explicit simplification fixed it. The full final source, |
| 113 | not merely the changed declaration, was then compiled successfully above. |
| 114 | |
| 115 | Actual false-weakening control |
| 116 | ----------------------------- |
| 117 | Invocation: bash packing-check.sh PathPackingFalseControl.lean |
| 118 | Timestamp: 2026-11-23T13:36:49Z to 2026-11-23T13:36:55Z. |
| 119 | Expected and observed LEAN_EXIT=1. The sole error was at the attempted false |
| 120 | inequality; preceding actual-chain, endpoint-label and negation proofs checked. |
| 121 | Raw log: packing-negative.log |
| 122 | Raw log SHA256: 265bc73cf3572283f828f54988eaead98a5c6ff68ab39aa0c3ba84e9d9465b4d |
| 123 | Control source SHA256: 59b3a8335b1d256f99a8636b30aa49ca01f08d18376b13bfb6202fdd1d3e48ee |
| 124 | Portable diagnostic: |
| 125 | PathPackingFalseControl.lean:23:2: error: omega could not prove the goal: |
| 126 | a possible counterexample may satisfy the constraints |
| 127 | c >= 0 |
| 128 | where |
| 129 | c := [integer coercion of] ((empty 2).freeBoundary m).card |
| 130 | |
| 131 | For replay, save these exact UTF-8 source bytes as PathPackingFalseControl.lean |
| 132 | and run the same command with that filename substituted (expect nonzero): |
| 133 | --- BEGIN CONTROL --- |
| 134 | import WilsonReplicaPathPacking |
| 135 | namespace YangMills.PeriodicWilson.PinnedFrame |
| 136 | open WilsonPolymer |
| 137 | noncomputable section |
| 138 | -- False weakening: duplicate a genuine one-face crossing, dropping only |
| 139 | -- inter-path disjointness. Path and opposite-label premises still hold. |
| 140 | private def p : Face 2 := (0, ⟨(0, 1), by decide⟩) |
| 141 | private def a : Edge 2 := (corners p).1 |
| 142 | private def b : Edge 2 := (corners p).2.2.2 |
| 143 | private def m (e : Edge 2) : Bool := decide (e.2 = 0) |
| 144 | private def n : ℕ := ((empty 2).freeBoundary m).card + 1 |
| 145 | example : ∀ _i : Fin n, (empty 2).FreeFacePath a [p] b := by |
| 146 | intro _ |
| 147 | exact .cons (by simp [a, freeFace, empty, faceEdges]) |
| 148 | (by simp [b, freeFace, empty, faceEdges]) (.nil (by simp [empty])) |
| 149 | example : ∀ _i : Fin n, m a ≠ m b := by |
| 150 | intro _ |
| 151 | simp [m, a, b, p, corners] |
| 152 | -- Kernel-checked positive negation of exactly the next attempted inequality. |
| 153 | example : ¬ n ≤ ((empty 2).freeBoundary m).card := Nat.not_succ_le_self _ |
| 154 | theorem false_without_disjointness : n ≤ ((empty 2).freeBoundary m).card := by |
| 155 | unfold n |
| 156 | omega |
| 157 | end |
| 158 | end YangMills.PeriodicWilson.PinnedFrame |
| 159 | --- END CONTROL --- |
| 160 | The successful counterexample theorem in the committed module independently |
| 161 | proves existence of these path/label data and the negated count with standard |
| 162 | axioms. Therefore this negative control is not relying on tactic failure as |
| 163 | an oracle of mathematical falsity. The control is not a build target. |