# Root merge 1 of 2: 25 results on 17 pequalnp.com gaps Goal: "Use as much of your time and agents and contribute and try to solve it https://pequalnp.com/join.txt". This file merges 25 results from seven batches. They cover 17 distinct open gaps (Lean lemmas) from the project's desk list. Eight gaps appear twice: a first attempt (batches 01-03) and a later review of that attempt (batches 04-05). Batches 06-07 are single results per gap. ## 1. Bottom line - **P vs NP is not solved by anything here.** The project says so itself: "P vs NP is not solved here. Most open steps are small and real: an identity, a small case, a" (quote recorded by b01-l-meta-452 from https://pequalnp.com/join.txt). Every result is one small standalone Lean lemma. - **10 of 17 gaps** have a full Lean file that a result reports as accepted by the project's own checker (verdict `ACCEPTED (check)` or `localCheck: passed`): L-meta-448, 449, 451, 452, 457, 461, 462, 467, 469, 1406. - **2 of 17** have a full file that built under `lake build` with allowed axioms, but no project-checker verdict: L-meta-455, L-meta-1207. - **3 of 17** have a full candidate file that Lean never elaborated: L-meta-1208, L-gct-194, L-meta-456. - **2 of 17** have no proof of the posted statement: L-meta-464 (no source at all) and L-gct-228 (a restricted negative result only). - **No result reports submitting anything** to the project (no pull request, no desk claim, no upload). Every review that looked found its gap still listed as open on the desk at review time. Whether any of these files has since been contributed is not in the inputs. - All "accepted" and "built" claims are the reporting machines' own. This merge did not run Lean. What this merge did check itself is listed in section 7. ## 2. Common setting (as reported by the results) | Item | Value | Reported by | |---|---|---| | Project repository | `brilliant-hq/pequalnp-proofs` on GitHub | all results' source lists | | Desk list of gaps | https://data.pequalnp.com/data/desk/gaps.json, with collections `gaps`, `checked`, `withdrawn` | b04-l-meta-448, b04-l-meta-455 | | Commit used by first attempts (b01-b03) | `605dc84be40929b8c04c6b206c363d69dc369d12` | `base_commit` field of every b01-b03 result | | Commit used by reviews and later batches (b04-b07) | `e3b1828a4423909b34c8d8184be1e208451c631a` | b04-l-meta-448 and the source URLs of b04-b07 | | Lean toolchain | `leanprover/lean4:v4.36.0`, commit `611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9` | b01-l-meta-448, b01-l-meta-467 (`lean/lean-toolchain`) | | Mathlib revision | `fc4f59e577feb1a4956671bc04ac18aaaf8cd842` | b01-l-meta-452 quoting `lean/lakefile.toml`: `rev = "fc4f59e577feb1a4956671bc04ac18aaaf8cd842"` | | Allowed axioms | `propext`, `Classical.choice`, `Quot.sound` | b01-l-meta-452 quoting CONTRIBUTING.md: "No `sorry`. No axioms beyond `propext`, `Classical.choice`, `Quot.sound`." and `lean/CheckLemma.lean`: `def allowedAxioms : List Name := [``propext, ``Classical.choice, ``Quot.sound]` | | File rule | "4. It declares one theorem, named after the module." | b01-l-meta-455 quoting CONTRIBUTING.md | | Project checkers | `lean/CheckLemma.lean` (built as `checklemma`, used at 605dc84) and `tools/check-lean.mjs` ("check-lean 3", used at e3b1828) | b01-l-meta-452, b01-l-meta-467, b04-l-meta-448 | | Mathlib cache size | 9117 cached files for full `import Mathlib`; 773 for `Mathlib.Combinatorics.SimpleGraph.Basic` alone | b01-l-meta-452, b01-l-meta-467, b02-l-meta-1207; b01-l-meta-448 | | Build sizes | 18383 jobs for a module importing Mathlib and `PEqualNP.Defs`; 5107 jobs for `PEqualNP.Defs` alone; 1563 jobs for L_meta_448; 5 jobs for `checklemma` | b01-l-meta-452/455/467, b02-l-meta-1207, b03; b02-l-meta-1208, b03-l-gct-228; b01-l-meta-448; b01-l-meta-452 | Difference between the two commits, as reported: b04-l-meta-467 says `git diff` from 605dc84 to e3b1828 "shows only added files: new lean/PEqualNP/Outside/L_* proofs and two new lean/PEqualNP/MetaComplexity files (Helpers/LadderOrd.lean, L1396.lean)", with `tools/`, `lean/CheckLemma.lean`, `lakefile.toml`, `lean-toolchain`, `lake-manifest.json`, CONTRIBUTING.md and `PEqualNP.Defs` unchanged. b04-l-meta-455 says the same for the toolchain, lakefile, manifest, `PEqualNP/Defs` and `check-lean.mjs`. Neither machine re-ran a checker to confirm that verdicts carry over; b04-l-meta-448 did re-run at e3b1828 and got the same verdict for its gap. Desk snapshots the results read (`updated_at` of gaps.json): | `updated_at` | Read by | What it showed | |---|---|---| | 2026-11-23T22:46:14.981Z | b01-l-meta-455, b01-l-meta-467 | L-meta-455 and L-meta-467 present with matching file, module and statement | | 2026-11-23T23:34:35.180Z | b06-l-meta-449, b07-l-meta-461 | L-meta-449 and L-meta-461 in `gaps`, not in `checked` or `withdrawn` | | 2026-11-23T23:48:47.295Z | b04-l-meta-455, b04-l-meta-457, b04-l-meta-467 | those three in `gaps`; `checked` had 561 entries and `withdrawn` 0 (b04-l-meta-455) | | "fetched 2026-11-23T23:53Z" | b05-l-gct-194 | L-gct-194 in `gaps` only | | 2026-11-23T23:59:28.225Z | b04-l-meta-452, b05-l-meta-1207 | L-meta-452 and L-meta-1207 in `gaps` only | | 2026-11-24T00:03:31.039Z | b04-l-meta-448 | L-meta-448 in `gaps` only; its file absent at e3b1828 (raw GitHub 404) | | 2026-11-24T00:11:30.423Z | b05-l-meta-1208 | L-meta-1208 in `gaps` only; `checked` had 580 entries | b06-l-meta-456 and b06-l-meta-464 say their gaps were open on the desk on 2026-11-23 without a timestamp. b06-l-meta-451, b06-l-meta-469, b07-l-meta-462 and b03 do not state a desk disposition. ## 3. Status of each gap "Accepted" means a result quotes or reports the project checker accepting the full file against the desk statement. Source SHA-256 values are of the `source` field of the named input and were recomputed by this merge. | Gap | What the lemma says | Best status | Checker, commit | Axioms reported | Source: bytes, SHA-256 | Results | |---|---|---|---|---|---|---| | L-meta-448 | The subdivision relation defines a simple graph | Accepted | check-lean.mjs, e3b1828; also lake build at 605dc84 | [propext, Quot.sound] | 1637, `a476a4a3e06ad4162fb2adc1e4993412bf49ebf1cb493be7c8757c68b53c64cc` | b01, b04 | | L-meta-449 | Subdivision has (2k+1)·|E(H)| edges | Accepted | check-lean.mjs, e3b1828 | [Quot.sound, propext, Classical.choice] | 10157, `4b5c0e4c6db3387111bd0ed6f8dbf27744b6e42ae45f193ff7ced1aa526d5393` | b06 | | L-meta-451 | Internal path vertices have exactly 2 neighbours | Accepted (`localCheck: passed`; no verdict line quoted) | not named in the reasoning; source list cites check-lean.mjs at e3b1828 | not stated | 5088, `c37dfbba01a0b304f35bf9dbfa71cccb3f0ce370466a7e5a20ef40b29ec5c66b` | b06 | | L-meta-452 | A redundant vector raises rank above the number of essential vectors | Accepted | checklemma at 605dc84 (b01); pinned checker at e3b1828 (b04) | [Quot.sound, propext, Classical.choice] | 2751, `dc76b2cc33014e1bd7037d9c2503fbd2639106889b41d226c2d8e57bece1255a` | b01, b04 | | L-meta-455 | Neighbourhoods around an edge are independent in a triangle-free, 4-cycle-free graph | Built, not checker-verified | lake build + `#print axioms` at 605dc84 (b01); review could not run Lean (b04) | [propext, Classical.choice, Quot.sound] | 1732, `41c3555b02d0726d43811254d2db66531a4f8c037aee0364cdc57b978ed020c9` | b01, b04 | | L-meta-456 | Old vertices are at walk distance at least 2k+1 in the subdivision | Unverified full candidate | none; compiled only against a stand-in for Mathlib's graph types | not obtained | 4954, `0ed42ae8e6d12cc77994ed72248b57b90818adacca19bc050f0ebf0fcc42bd29` | b06 | | L-meta-457 | Triangle: zero weighted in-degree for every typing forces zero weights | Accepted | check-lean.mjs, e3b1828 (b04); lake build at 605dc84 (b01) | [Quot.sound, propext, Classical.choice] | 3828, `3d745aa71d03b1c26cc2f1694f55c2efb30db215193943dd817d2268702155c4` | b01, b04 | | L-meta-461 | Same as 457 for the 6-vertex "net" graph (triangle plus three pendants) | Accepted | check-lean.mjs, e3b1828 | [Quot.sound, propext, Classical.choice] | 6849, `b9d52d404e1f01274573e20ce0dbeff50f6dc547a32016a683c83f701b211e53` | b07 | | L-meta-462 | Any exact rectangle cover of the net needs at least 9 rectangles | Accepted ("pinned project checker accepted"; no verdict line quoted) | check-lean.mjs cited, e3b1828 | not stated | 8732, `8ad2895941f5079814f9c0581066fc3e2e0de5de4795a2cd2b817fd8ab273c6b` | b07 | | L-meta-464 | Not stated in the input (reasoning concerns cycles in the subdivision) | No proof; empty source | none | none | 0 | b06 | | L-meta-467 | A vertex cover of H lifts to a vertex cover of the subdivision | Accepted at 605dc84; review at e3b1828 could not run Lean | checklemma, 605dc84 (b01) | [propext, Quot.sound, Classical.choice] | 3426, `e5217a4aff9bac84541d8a592a7f0ce60a8fb8385cffd5de993aa49c4ab77f33` | b01, b04 | | L-meta-469 | The lifted cover has |T| + k·|E(H)| vertices | Accepted ("pinned project checker accepted"; no verdict line quoted) | check-lean.mjs cited, e3b1828 | not stated | 6146, `f8fb1f70acb1852eb22a43767551e4a138873b7babe621691d4d6058ce074155` | b06 | | L-meta-1207 | A 10-gate monotone circuit computes a given 7-edge graph function on 8 inputs | Built, not checker-verified | lake build + `#print axioms` at 605dc84 (b02); checker killed with exit 137 at e3b1828 (b05) | [propext, Quot.sound] | 1428, `40789c98c0e90b7a18000e002d39b15e10f2b93d1635f262e2859da1530a6c30` | b02, b05 | | L-meta-1208 | Same shape, a different 7-edge graph | Unverified full candidate (revised in review) | none completed | not obtained | revised 1377, `6739443ffc442222687472932d6072defbadb37dde7648902e362036c617d15d`; original 1444, `09840b3f2776fbb00ddae7ffc04542d2c7b0b7d7c35e89dc7d25420decd7e5c6` | b02, b05 | | L-meta-1406 | In a 4-cycle-free graph, a clean monotone circuit's AND gates yield a vertex cover no larger than the AND count | Accepted | checklemma, 605dc84 | [propext, Quot.sound, Classical.choice] | 19275, `8a2e3ac3370ec888542c6941d1a9e568d10d136eed5bdbe2b94650c93c0ed65b` | b03 | | L-gct-194 | A sum over the 120 injections Fin 4 → Fin 5 of products of (1 + entries) equals 120 | Unverified full candidate (rewritten in review); identity checked outside Lean | none completed | not obtained | rewritten 14490, `9c04dcb633dde2f7910f2eb2daa0137088e205bb48602af50250f6c320d8cda8`; first draft 2871, `75c8a55fb2850e466e4b3a5e046dcb42f16101472b1a55da46faa86ded47cf22` | b02, b05 | | L-gct-228 | Existence of a 4-dimensional subspace of 3×3 matrices over F_5 on which per(J+t) = 6 | Open; only a restricted non-existence result | lake build + audit at 605dc84 for the helper lemmas | [propext, Classical.choice, Quot.sound] for the three audited lemmas | Lean 9848, `f6d2166ebf0b7d571ff3a0f5abe8edb5455883a4b1d6affe4aecd1878bce7096`; Python 3782, `006da1228c2db8ab22f7829e922848b7df7f6ce453b0954c904454fbe9295b78` | b03 | The short lemma descriptions are this merge's paraphrase of the Lean statements, except L-meta-452 and L-meta-455, whose desk titles are quoted in section 4. Full sources are reproduced in the appendix where they fit; the others are identified by the hashes above and stay in the named input artifacts (section 8). ## 4. Findings per gap The subdivision gaps (448, 449, 451, 456, 464, 467, 469) share one encoding: H is a graph on `Fin m`, the subdivision S lives on `Fin (m + 2*k*(m*m))`, and `Q u v p x` says x is the vertex at position p on the path replacing edge (u,v): position 0 is u, position 2k+1 is v, positions 1..2k are internal with `x.val + 1 = m + 2*k*(u.val*m + v.val) + p`. S-adjacency means consecutive positions on the path of some edge u < v of H. ### L-meta-448 (b01 structural-lemmas, b04 structural-proof-review) - Proof (both): take S with adjacency equal to the posted relation; symmetry swaps the two disjuncts; irreflexivity is nine cases closed by `omega` using `u.isLt`, `v.isLt` and 1 ≤ k; the equivalence is `rfl`. b04 walks all three position types (p = 0, p = 2k, interior) by hand and finds no gap. - b01: `lake build PEqualNP.Outside.L_meta_448` "Succeeded (1563 jobs)"; a scratch file with the exact public statement elaborated; `#print axioms` gave [propext, Quot.sound]. - b04: file unchanged; `node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_448.lean statement.lean check` exited 0 with "ACCEPTED (check): PEqualNP.Outside.L_meta_448; axioms [propext, Quot.sound]; kernel re-checked 1203 constants". - The file imports only `Mathlib.Combinatorics.SimpleGraph.Basic`, not `PEqualNP.Defs`. b04 notes the desk row lists `PEqualNP.Defs` as the allowed project import and that rule 2 of CONTRIBUTING.md permits a Mathlib-only import. ### L-meta-449 (b06 subdivision-paths) - Proof: define the path vertex value `pv`, show `Q u v p x ↔ x = pt u v p`, count base edges by ordered representatives B = {(u,v) | u < v, H.Adj u v}, and show the map ((u,v),p) ↦ s(pt p, pt (p+1)) is injective on B × Iic(2k) by division and remainder (by 2k, then by m). Result: `S.edgeSet.ncard = (2*k+1) * H.edgeSet.ncard`. - Check: `node tools/check-lean.mjs` at e3b1828 "returned exit 0 and printed: ACCEPTED (check): PEqualNP.Outside.L_meta_449; axioms [Quot.sound, propext, Classical.choice]". ### L-meta-451 (b06) - Proof: a `decode` helper (equal `width*a + i` with offsets in [1, width] forces equal block and offset), applied twice to recover the path offset and both base vertex indices; the predecessor and successor of an internal vertex exist, differ, and are its only neighbours, so `(S.neighborSet x).ncard = 2`. - Check: `localCheck: passed`. The result gives no command, verdict line or axiom list; it only cites `tools/check-lean.mjs` at e3b1828 among its sources. Treat as accepted on that machine's word, with less evidence than 449. ### L-meta-452 (b01, b04) - Desk title (quoted by b01): "A redundant vector raises the rank above the number of essential vectors (standalone text)". - Proof (both): index the essential rows plus one redundant row j by `Option E`; in a vanishing combination an essential row's coefficient must be zero, then `r j ≠ 0` kills the last coefficient; `finrank_span_eq_card` and `Submodule.finrank_mono` give `Nat.card E + 1 ≤ finrank`. - b01: build "completed successfully (18383 jobs)" after two repairs (an under-specified sum rewrite and an unqualified helper name); `checklemma ... check` gave "ACCEPTED (check): PEqualNP.Outside.L_meta_452; axioms [Quot.sound, propext, Classical.choice]; kernel re-checked 1198 constants." - b04: file unchanged, `localCheck: passed`, same verdict line and 1198 constants, described as "the pinned local checker" with sources at e3b1828. ### L-meta-455 (b01, b04) - Desk title (quoted by b01): "Around an edge of a graph with no triangle and no 4-cycle, the neighbourhoods are independent (standalone text)". - Proof (both): two neighbours of the same endpoint joined by an edge make a triangle; a cross pair a ∈ N(v)\{u}, b ∈ N(u)\{v} joined by an edge makes the 4-cycle a-v-u-b; both orientations are handled. - b01: `lake build` exit 0 "(18383 jobs)"; scratch example accepted the theorem type; axioms [propext, Classical.choice, Quot.sound]. No project checker was run. - b04: file unchanged, hand review finds it complete, but `localCheck: incomplete`: "about 981 MB of free disk", too little for the toolchain and cache. It states that a `check-lean.mjs` run "is still needed before this can be marked passed". ### L-meta-456 (b06) - Proof idea: a potential `pot` on vertex values, 0 at the start vertex, 2k+1 at every other old vertex, and the path position (from the correct end) on chains touching the start; each S-edge changes it by at most 1, so any walk between distinct old vertices has length at least 2k+1. - Check: `localCheck: incomplete`. The file "minus import Mathlib" compiled under Lean v4.36.0 core with `SimpleGraph` and `SimpleGraph.Walk` "replaced by a minimal stand-in". `check-lean.mjs` "stopped with CHECKER FAULT (exit 3): the prebuilt Mathlib cache is missing"; about 400 MB of disk was free. The result names the remaining risk itself: Mathlib's `Walk` or simp lemmas may behave differently from the stand-in. ### L-meta-457 (b01, b04) - Proof (both): with a = c(0,1), b = c(0,2), d = c(1,2), the singleton independent sets {0}, {1}, {2} give "a = 0 or b = 0", "a = 0 or d = 0", "b = 0 or d = 0"; the empty set gives a + b + d = 0 over 8 orientations; hence all three are 0. - b01: build passed; scratch example of the exact statement passed; axioms [propext, Classical.choice, Quot.sound]. - b04: file unchanged; `node tools/check-lean.mjs ... check` "exit 0, ACCEPTED (check): PEqualNP.Outside.L_meta_457, axioms [Quot.sound, propext, Classical.choice]. The kernel re-checked 1198 constants." ### L-meta-461 (b07 net-size-and-rank) - Proof: edges [(0,1),(0,2),(1,2),(0,3),(1,4),(2,5)]. For I = {0}, {1}, {2} the typing is forced on edges at I; the pendant vertices 3, 4, 5 give c(0,3) = c(1,4) = c(2,5) = 0; the six triangle-vertex equations split into 8 cases closed by `linarith`. "The empty-set equations are not needed." - Check: `check-lean.mjs` at e3b1828 "printed ACCEPTED (check): PEqualNP.Outside.L_meta_461; axioms [Quot.sound, propext, Classical.choice]". - Environment note from the result: the Lean binary could not read `/proc//exe`, so the build ran with an `LD_PRELOAD` shim redirecting that lookup; the result says this does not affect what is checked. b02-l-meta-1208 used the same kind of shim. ### L-meta-462 (b07) - Proof: encode each usable rectangle by its centre and edge set (24 tiles listed in the source); for the four independent sets {0,4,5}, {1,3,5}, {2,3,4}, {3,4,5}, enumerate the partitions of the six edges into tiles; the kernel checks that every choice of four enumerated partitions uses at least nine distinct tiles; the image of the original rectangles has at most k elements, so 9 ≤ k. - Check: `localCheck: passed`; "The pinned project checker accepted the complete file against the desk statement." No verdict line or axiom list is quoted. The file imports `Mathlib` only. ### L-meta-464 (b06) — no proof, and one of its sources did not hold - `scope: partial`, `source` empty, `localCheck: incomplete`. The result sketches what a proof must do (decode each adjacency into a unique oriented thread step, show a simple cycle cannot stay inside one thread, count internal vertices on at least three threads, rotate the cycle to an old vertex) but completed none of it. It could not run the checker: "the checkout has no prebuilt Mathlib cache and the machine has no elan/Lean runtime." - Its two sources are https://data.pequalnp.com/data/desk/gaps.json and the CONTRIBUTING.md blob at e3b1828. The merge brief reports that one of this result's sources did not hold on re-read (a page that could not be read or does not say what it was quoted for); the brief does not say which of the two. So this result's two factual claims are unconfirmed as sourced: that the gap "remains open in the desk data", and that the pinned checkout "exposes only the subdivision definitions through the allowed import PEqualNP.Defs". Nothing else in this merge depends on either claim. The lemma's statement is not in the input. ### L-meta-467 (b01, b04) - Proof (both): for a path edge at position p, the lifted cover T' takes old vertices in T plus internal index i with (i odd ↔ u ∈ T). First edge: u ∈ T or index 0 is selected. Last edge: index 2k−1 is odd, so it is selected if u ∈ T, otherwise the cover hypothesis puts v in T. Interior edges: consecutive indices have opposite parity. - b01: built on the first attempt "(18383 jobs)"; `checklemma ... check` gave "ACCEPTED (check): PEqualNP.Outside.L_meta_467; axioms [propext, Quot.sound, Classical.choice]; kernel re-checked 1212 constants"; all seven source quotes re-fetched and matched; source is 3426 bytes. - b04: file unchanged, proof read by hand and judged complete, but `localCheck: incomplete`: about 380 MB of disk free, toolchain download failed with "No space left on device". It argues the 605dc84 verdict "should carry over to e3b1828" because the diff only adds files, and adds: "I have not reproduced it independently." ### L-meta-469 (b06) - Proof: map (selected old vertices) ⊕ (ordered edges × Fin k) onto T'; the smaller endpoint fixes the parity bit, block offsets are 2j + p; old values are below m and new values at least m; mixed-radix encodings are injective; when k = 0 there are no new vertices. Result: `T'.card = T.card + k * H.edgeSet.ncard`. - Check: `localCheck: passed`; "The pinned project checker accepted the full file against the desk statement." No verdict line or axiom list is quoted. The file imports `Mathlib.Combinatorics.SimpleGraph.Finite` and `Mathlib.Data.Fintype.Sum`, not `PEqualNP.Defs`. ### L-meta-1207 (b02 explicit-witnesses, b05 witness-proof-review) - Witness (both): inputs are wires 0..7; gates 8=OR(1,2), 9=AND(0,8), 10=OR(1,5), 11=AND(3,10), 12=OR(2,5), 13=AND(4,12), 14=AND(6,7), 15=OR(9,11), 16=OR(15,13), 17=OR(16,14); output 17. It computes x0∧(x1∨x2) ∨ x3∧(x1∨x5) ∨ x4∧(x2∨x5) ∨ x6∧x7, i.e. edges 01, 02, 13, 24, 35, 45, 67. - b02: Python replay "256 valuations matched; 10 binary AND/OR gates"; `lake build` "Build completed successfully (18383 jobs)", the module built in 28s; `#print axioms` gave [propext, Quot.sound]; statement text matches the public gap exactly. Status "checked". - b05: file unchanged; independent replay of all 256 assignments matched. `check-lean.mjs` at e3b1828 compiled the candidate and the definitions root, but the first run stopped with CHECKER FAULT because `/tmp` was absent, and the second was killed "with exit 137 before any ACCEPTED or REJECTED verdict". So `localCheck: incomplete`. - Disagreement: b02 labels the result "checked"; b05 says that label "is not a public desk disposition or a verdict of the required checker". Both are consistent on the facts: the file builds and has allowed axioms, and no project-checker verdict exists. ### L-meta-1208 (b02, b05) — two different proof files - Witness (both, identical): 8=OR(1,2), 9=AND(0,8), 10=AND(1,3), 11=OR(2,6), 12=AND(4,11), 13=OR(3,7), 14=AND(5,13), 15=OR(9,10), 16=OR(15,12), 17=OR(16,14); output 17. Edges 01, 02, 13, 24, 35, 46, 57. Each result ran a node replay: all 256 valuations matched. - b02 (status "partial"): proved the truth table with `decide +kernel` over all `Fin 8 → Bool`. `lake build PEqualNP.Defs` passed "(5107 jobs)", but `timeout 20s ... lake env lean` on the lemma gave "exit=124 and no Lean diagnostic". Never elaborated. - b05 (`changed: true`): replaced the proof with the pattern of the sibling L-meta-1206, which it says is checked on the desk and whose file at e3b1828 matches the desk `file_sha256`: a helper `keval` proved by `decide` on eight explicit Booleans, `simp [List.ofFn_succ]` to unfold the input list. A diff against `L_meta_1206.lean` shows only names, two gate input pairs and the edge terms changed. `localCheck: incomplete`: about 289 MB of disk free, toolchain download failed with "No space left on device (os error 28)". "No Lean elaboration of either the handed or the revised file was done here." - The appendix carries the revised (b05) file. The original differs only in the proof, not the witness. ### L-meta-1406 (b03 frontier-subproblems) - Statement (see appendix): for a graph with no 4-cycle, any circuit of AND/OR gates with at most two inputs that computes "some edge has both ends true" and is clean (an AND gate firing implies an edge is present) has, for any index set I containing all AND gates, a vertex cover T with `T.card ≤ I.card`. - Proof: helper lemma `first_star`. If no AND fires on a pair input, every true wire is true on a singleton, contradicting correctness; take the least firing AND. Cleanliness rules out empty and unary ANDs and orients the two endpoints into the two operands' singleton acceptance sets; monotonicity lifts to cross pairs, which are edges; two vertices on each side would give a 4-cycle, so one side is a single vertex: the gate's centre. The centres of the ANDs cover every edge. - Checks at 605dc84: build "completed successfully (18383 jobs)"; `checklemma PEqualNP.Outside.L_meta_1406 ../posted.lean check` gave "ACCEPTED (check): PEqualNP.Outside.L_meta_1406; axioms [propext, Quot.sound, Classical.choice]; kernel re-checked 1257 constants"; `first_star` has the same three axioms. - No review of this result is among the 25 inputs, and it was not re-checked at e3b1828. ### L-gct-194 (b02, b05) — two different proof files, neither elaborated - Statement: see appendix. - b02 (status "partial", "Draft only, not verified"): expand all 625 tuples then `norm_num` and `ring_nf`. `lake build` was "killed at the 600 s tool limit"; a scratch run "hit the 480 s timeout with no output". It also says no coefficient check outside Lean was run. - b05 (`changed: true`, `localCheck: incomplete`): checked the identity outside Lean with a script over Z[c,d,i] enumerating all 120 injections; total is the constant 120. Grouped by the omitted image k: k=4 gives 24; k=0 gives 24+(2−2i)cd+4c²d−(2+2i)c³d; k=1 gives 24−4cd+4i c³d; k=2 gives 24+(2−2i)cd−4c²d−(2+2i)c³d; k=3 gives 24+4i cd+4c³d. The d-terms cancel without using i² = −1. The file was rewritten: lemma `cK` kept from the checked `L_gct_215`, 20 entry lemmas, five group lemmas proved by `linear_combination q_k * Complex.I_sq`, and a final `linear_combination`. Lean was not run: about 330 MB of disk free, `lake exe cache get` failed with "No space left on device (os error 28)", and "The public Lean web server refused automated clients." b05 calls the file "an unverified full candidate" and names the first risks: the `simp +decide` expansion in `main` and the entry lemmas. - The two results agree the b02 draft never compiled. They differ on evidence of truth: b02 had none, b05 supplies the exact script check. This merge confirmed only the arithmetic of the last step (section 7). ### L-gct-228 (b03) — posted statement not settled - Posted statement: `∃ L : Submodule (ZMod 5) (Fin 3 × Fin 3 → ZMod 5), Module.finrank (ZMod 5) L = 4 ∧ ∀ t ∈ L, Matrix.permanent (Matrix.of fun (i j : Fin 3) => (1 : ZMod 5) + t (i, j)) = 6`. - What was shown: let P be the plane of matrices with row 0 equal to (u, v, −u−v) and rows 1, 2 zero. **No qualifying 4-dimensional subspace contains P; the maximum dimension in that family is 3**, attained by P plus a line with bottom rows s·e_j and −s·e_j. - Lean (built at 605dc84, "Build completed successfully (18383 jobs)"; audited): `sum_entries_zero`, `restricted_finrank_le_three`, `no_four_dimensional_extension`, each depending on exactly [propext, Classical.choice, Quot.sound]. The file contains no theorem named `PEqualNP.Outside.L_gct_228`, so it is not a contribution for the gap as posted. - Python exhaustive search (exit 0): 3906 projective directions tested; 3 good directions, [0,0,1,0,0,4], [0,1,0,0,4,0], [1,0,0,4,0,0]; 508431 RREF planes; 508428 pruned by a pivot direction, 3 by a non-pivot direction in the count table; 3 planes checked on all 625 combinations, each failing 320 of 625; 0 witnesses; 103965 permanent evaluations in direction tests and 1875 in full-plane tests. - Remaining, in the result's words: "Four-dimensional subspaces that do not contain P are outside this search, and the posted existential statement imposes no containment condition. No witness for the unrestricted statement was established." Whether the posted statement is true or false is therefore unknown from these inputs. - One internal inconsistency in the result's search output: the count table lists both `planes_checked_on_all_625: 3` and `pruned_nonpivot_direction: 3` next to `pruned_pivot_direction: 508428` and `rref_planes: 508431`. 508428 + 3 = 508431, so the two 3s must be the same three planes counted under two labels (checked on all 625, then rejected). The input does not explain this; it does not affect the 0-witness result. ## 5. Where results disagree or differ in strength 1. **"Checked" does not mean the same thing across batches.** In b01-b03 `status: checked` meant the machine's own `lake build` plus a scratch statement check, sometimes plus `checklemma` (452, 467, 1406) and sometimes not (448, 455, 457, 1207). In b04-b07 `localCheck: passed` meant the project checker accepted the file. b05-l-meta-1207 says this outright about its paired b02 result. 2. **L-meta-455 and L-meta-467**: first attempt says checked; the review could not run Lean and reports `incomplete`. No contradiction on the mathematics: both reviews read the proofs by hand and found them complete. 3. **L-meta-1207**: first attempt says checked; the review's checker run was killed (exit 137) before a verdict. 4. **L-meta-1208 and L-gct-194**: the review replaced the first attempt's proof. Neither version of either file has been elaborated by Lean. 5. **Two commits.** First attempts used 605dc84, reviews e3b1828. Reported diff: added files only. Verdicts obtained only at 605dc84: L-meta-467, L-meta-1406, and the builds of 455 and 1207. 6. **Axiom lists differ in order** between results for the same gap (e.g. 452, 467); the sets are the same. L-meta-448 and L-meta-1207 use only [propext, Quot.sound]. 7. **Kernel re-check counts** differ by gap, not by result: 1203 (448 at e3b1828), 1198 (452 at both commits; 457 at e3b1828), 1212 (467 at 605dc84), 1257 (1406 at 605dc84). ## 6. Recurring obstacles reported - Disk space on review machines: about 981 MB (b04-455), 380 MB (b04-467), 330 MB (b05-gct-194), 289 MB (b05-1208), 400 MB (b06-456) free; too little for the toolchain plus Mathlib cache ("several GB"). - Time or memory limits: 600 s and 480 s timeouts (b02-gct-194), 20 s foreground window (b02-1208), exit 137 (b05-1207). - Sandbox: `/proc//exe` unreadable, worked around with an `LD_PRELOAD` shim (b02-1208, b07-461); `/tmp` absent (b05-1207); no elan/Lean runtime (b06-464). - Lean warns that plain files importing Mathlib should use the module system; the results treat this as expected because the contribution format requires plain files (b01-448, b01-467, b02-1207, b03-gct-228). ## 7. What this merge checked itself, and what it did not Checked here, by script over the 25 input files: - All 25 inputs are present and parse as JSON. None is missing. One has an empty `source` (b06-l-meta-464). - Where a result reports a SHA-256 for its Lean source, the `source` field hashes to it: 448 (`a476…c64cc`, reported by b04), 452 (`dc76…255a`), 457 (`3d74…55c4`, reported by b04), 467 (`e521…f33`, 3426 bytes), 1406 (`8a2e…d65b`). - "Unchanged" reviews really are byte-identical to the first attempt's source: 448, 452, 455, 457, 467 (b01 vs b04) and 1207 (b02 vs b05). - L-gct-194: the five group values b05 reports sum to 120 (cd: (2−2i) − 4 + (2−2i) + 4i = 0; c²d: 4 − 4 = 0; c³d: −(2+2i) + 4i − (2+2i) + 4 = 0; constants 5·24 = 120). In addition, a floating-point evaluation of the posted sum over all 120 injections at three arbitrary complex points (c, d) gave 120 with absolute error below 1e-9. This is a sanity check of the identity, not a proof and not a check of the Lean file. Not checked here: no Lean build, no project checker, no fetch of the desk, repository or any cited URL. Every build outcome, verdict line, desk timestamp and quote above is as the named result reports it. Not found in the inputs: - any submission, pull request or desk acceptance for any of the 17 gaps; - the statement of L-meta-464; - a project-checker verdict for 455, 456, 1207, 1208, gct-194; - a verdict line or axiom list for 451, 462, 469; - a review or an e3b1828 re-check for L-meta-1406 and L-gct-228; - any answer to whether the L-gct-228 statement is true. ## 8. Inputs Path pattern: `artifacts/goal/batches//items//result.json`. Batches: b01 structural-lemmas, b02 explicit-witnesses, b03 frontier-subproblems, b04 structural-proof-review, b05 witness-proof-review, b06 subdivision-paths, b07 net-size-and-rank. File SHA-256 values were recomputed here and match the ones the merge brief lists. | Input | Batch / item | Status fields | File SHA-256 | |---|---|---|---| | b01-l-meta-448 | structural-lemmas / l-meta-448 | status: checked | `6e46a03032e1f4a0b408d6ace008151975a024c6a46d6d873c1948fd383271e3` | | b01-l-meta-452 | structural-lemmas / l-meta-452 | status: checked | `77a2871b8ded275109a014364b093ed6fac6de597fd0c6d59ac9c109b6fc0895` | | b01-l-meta-455 | structural-lemmas / l-meta-455 | status: checked | `c98aa4b919154cd8c57205a41f2b6332b7825a003674c620cc829e1ac7f78c21` | | b01-l-meta-457 | structural-lemmas / l-meta-457 | status: checked | `284e68de0211e2471cfefea1f27952030011d4795314e107924dda691e86516f` | | b01-l-meta-467 | structural-lemmas / l-meta-467 | status: checked | `4d0dc12a75fb2df06097d3e28038a5f19b9bf57a7e0ca52dd77804de84d95023` | | b02-l-gct-194 | explicit-witnesses / l-gct-194 | status: partial | `4f4cc047af3e84f4191ae6dcadf8e4917e208f77c51bc00fd5d3e2d35ce53dcf` | | b02-l-meta-1207 | explicit-witnesses / l-meta-1207 | status: checked | `4ed5f2bf36591e5987cfcf5c779bde92aa28e6c1a0cef4ff3fced52acfb5260a` | | b02-l-meta-1208 | explicit-witnesses / l-meta-1208 | status: partial | `36003a164a558a0d64c9db956d988116ed3a7c51acd4013a00a1cbbf4bef3c88` | | b03-l-gct-228 | frontier-subproblems / l-gct-228 | status: partial | `f0320b1b517c5ee475ac5c8f00f9ecf6b37e01b8eff3fcdd8a017daffdfe90c1` | | b03-l-meta-1406 | frontier-subproblems / l-meta-1406 | status: checked | `74867afc7a81806b87955715821be3e13d2eedad5170ef3685e00745c6abdb3f` | | b04-l-meta-448 | structural-proof-review / l-meta-448 | scope: full, localCheck: passed, changed: false | `efaf23ea4bf8180b287e4b15c21807b3b36e008baeb7116d8a2af98065e8bbd5` | | b04-l-meta-452 | structural-proof-review / l-meta-452 | scope: full, localCheck: passed, changed: false | `ae7cc1c02e95fe7c94c6a00a25ec3cce332756ba007abc0277b6c50c330484d6` | | b04-l-meta-455 | structural-proof-review / l-meta-455 | scope: full, localCheck: incomplete, changed: false | `a52b8fb213e7136b19295a081471b939ef751ba1670425f3b7b5bb9657adbc29` | | b04-l-meta-457 | structural-proof-review / l-meta-457 | scope: full, localCheck: passed, changed: false | `9b8df438e38f1be70c1a9f4e4b521349c25cff4c65208d82b7b94097c4c7eb84` | | b04-l-meta-467 | structural-proof-review / l-meta-467 | scope: full, localCheck: incomplete, changed: false | `62c566f4416e3c0606046f4fee201f3cd697d742ad1e7df60677bf8fcba8d263` | | b05-l-gct-194 | witness-proof-review / l-gct-194 | scope: full, localCheck: incomplete, changed: true | `83160298789c00ae9f33f7d02177894ce91904147c03094eebff75302baa809d` | | b05-l-meta-1207 | witness-proof-review / l-meta-1207 | scope: full, localCheck: incomplete, changed: false | `3895f327c41001fa27c7c9dd2fe1d42e08f875d31a7104ea456274473e463eb9` | | b05-l-meta-1208 | witness-proof-review / l-meta-1208 | scope: full, localCheck: incomplete, changed: true | `57bab0bcb2c63cb0d0c617cfb8fbad1f86116cd1128e6c72e9fb96cb260a8729` | | b06-l-meta-449 | subdivision-paths / l-meta-449 | scope: full, localCheck: passed, changed: not stated | `ab990908287a8b0e14a73818ea7e208cfd474e78ba0c85c01c1efa9ec7f8e7c4` | | b06-l-meta-451 | subdivision-paths / l-meta-451 | scope: full, localCheck: passed, changed: not stated | `5655c3d6f5bdf5a5a7c9005b8ce8a7d73bc0f947b2a016958d94031adcc5bf01` | | b06-l-meta-456 | subdivision-paths / l-meta-456 | scope: full, localCheck: incomplete, changed: not stated | `66398dd07f6a667e1a85b517b2d2d2baaad69bf87c7692725390dacc4d4f4d6c` | | b06-l-meta-464 | subdivision-paths / l-meta-464 | scope: partial, localCheck: incomplete, changed: not stated | `f45eed43a58764990530ab9a981ef5957add65a9eeca557ec567d9677f6599c4` | | b06-l-meta-469 | subdivision-paths / l-meta-469 | scope: full, localCheck: passed, changed: not stated | `121c0bc7abc0fd40146a86ebcbbe6da66ede56e612b728ec0d728a7d63c425c2` | | b07-l-meta-461 | net-size-and-rank / l-meta-461 | scope: full, localCheck: passed, changed: not stated | `e69b88a2669e15c7c26b422916f77db6e2f61463517a4602e65e6ca5eacdd6ef` | | b07-l-meta-462 | net-size-and-rank / l-meta-462 | scope: full, localCheck: passed, changed: not stated | `1a7f9a1ddd3dd290f4f0476bd89ab1cf26aa958ca3446593587fa220a31d526a` | ## 9. Appendix: statements and Lean sources Sources below are copied byte for byte from the `source` field of the named input. Files not reproduced here (too large for this document) are identified by the hashes in section 3 and remain in the input artifacts. ### Statements of gaps whose full source is not reproduced #### L-meta-449 (statement, from b06-l-meta-449) ```lean theorem PEqualNP.Outside.L_meta_449 : ∀ (m k : ℕ) (H : SimpleGraph (Fin m)) (Q : Fin m → Fin m → ℕ → Fin (m + 2 * k * (m * m)) → Prop) (S : SimpleGraph (Fin (m + 2 * k * (m * m)))), 1 ≤ k → (∀ (u v : Fin m) (p : ℕ) (x : Fin (m + 2 * k * (m * m))), Q u v p x ↔ (p = 0 ∧ x.val = u.val) ∨ (p = 2 * k + 1 ∧ x.val = v.val) ∨ (1 ≤ p ∧ p ≤ 2 * k ∧ x.val + 1 = m + 2 * k * (u.val * m + v.val) + p)) → (∀ x y : Fin (m + 2 * k * (m * m)), S.Adj x y ↔ ∃ u v : Fin m, u < v ∧ H.Adj u v ∧ ∃ p : ℕ, p ≤ 2 * k ∧ ((Q u v p x ∧ Q u v (p + 1) y) ∨ (Q u v p y ∧ Q u v (p + 1) x))) → S.edgeSet.ncard = (2 * k + 1) * H.edgeSet.ncard ``` #### L-meta-462 (statement, from b07-l-meta-462) ```lean theorem PEqualNP.Outside.L_meta_462 : ∀ (k : ℕ) (A : Fin k → Finset (Sym2 (Fin 6))) (B : Fin k → Finset (Finset (Fin 6))) (t : Fin k → Fin 6), (∀ i, ∀ e ∈ A i, e ∈ (SimpleGraph.fromRel (fun a b : Fin 6 => (a = 0 ∧ b = 1) ∨ (a = 0 ∧ b = 2) ∨ (a = 1 ∧ b = 2) ∨ (a = 0 ∧ b = 3) ∨ (a = 1 ∧ b = 4) ∨ (a = 2 ∧ b = 5))).edgeFinset ∧ t i ∈ e) → (∀ i, ∀ I ∈ B i, t i ∉ I) → (∀ e ∈ (SimpleGraph.fromRel (fun a b : Fin 6 => (a = 0 ∧ b = 1) ∨ (a = 0 ∧ b = 2) ∨ (a = 1 ∧ b = 2) ∨ (a = 0 ∧ b = 3) ∨ (a = 1 ∧ b = 4) ∨ (a = 2 ∧ b = 5))).edgeFinset, ∀ I : Finset (Fin 6), (∀ u ∈ I, ∀ w ∈ I, ¬ (SimpleGraph.fromRel (fun a b : Fin 6 => (a = 0 ∧ b = 1) ∨ (a = 0 ∧ b = 2) ∨ (a = 1 ∧ b = 2) ∨ (a = 0 ∧ b = 3) ∨ (a = 1 ∧ b = 4) ∨ (a = 2 ∧ b = 5))).Adj u w) → ∃! i : Fin k, e ∈ A i ∧ I ∈ B i) → 9 ≤ k ``` #### L-meta-1406 (statement, from b03-l-meta-1406) ```lean theorem PEqualNP.Outside.L_meta_1406 : ∀ (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj], (∀ a b c d : Fin n, a ≠ c → b ≠ d → ¬ (G.Adj a b ∧ G.Adj b c ∧ G.Adj c d ∧ G.Adj d a)) → ∀ (gates : List PEqualNP.CircuitLowerBounds.Gate) (out : ℕ), (∀ g ∈ gates, (g.op = PEqualNP.CircuitLowerBounds.GateOp.and ∨ g.op = PEqualNP.CircuitLowerBounds.GateOp.or) ∧ g.inputs.length ≤ 2) → (∀ x : Fin n → Bool, PEqualNP.CircuitLowerBounds.Circuit.eval ⟨gates, out⟩ (List.ofFn x) = decide (∃ u v : Fin n, G.Adj u v ∧ x u = true ∧ x v = true)) → (∀ (i : Fin gates.length) (x : Fin n → Bool), (gates.get i).op = PEqualNP.CircuitLowerBounds.GateOp.and → (PEqualNP.CircuitLowerBounds.Circuit.wires ⟨gates, 0⟩ (List.ofFn x)).getD (n + (i : ℕ)) false = true → ∃ u v : Fin n, G.Adj u v ∧ x u = true ∧ x v = true) → ∀ I : Finset (Fin gates.length), (∀ i : Fin gates.length, (gates.get i).op = PEqualNP.CircuitLowerBounds.GateOp.and → i ∈ I) → ∃ T : Finset (Fin n), (∀ u v : Fin n, G.Adj u v → u ∈ T ∨ v ∈ T) ∧ T.card ≤ I.card ``` #### L-gct-194 (statement, from b05-l-gct-194) ```lean theorem PEqualNP.Outside.L_gct_194 : ∀ c d : ℂ, (∑ f : Fin 4 ↪ Fin 5, ∏ j : Fin 4, (1 + (if (f j).val = 4 then d * (if j.val = 0 then (1 : ℂ) else if j.val = 1 then -1 else 0) else c * (if j.val = (f j).val then (1 : ℂ) else if j.val = ((f j).val + 1) % 4 then Complex.I else if j.val = ((f j).val + 2) % 4 then -Complex.I else -1)))) = 120 ``` #### L-meta-451 (statement, from b06-l-meta-451) ```lean theorem PEqualNP.Outside.L_meta_451 : ∀ (m k : ℕ) (H : SimpleGraph (Fin m)) (Q : Fin m → Fin m → ℕ → Fin (m + 2 * k * (m * m)) → Prop) (S : SimpleGraph (Fin (m + 2 * k * (m * m)))), 1 ≤ k → (∀ (u v : Fin m) (p : ℕ) (x : Fin (m + 2 * k * (m * m))), Q u v p x ↔ (p = 0 ∧ x.val = u.val) ∨ (p = 2 * k + 1 ∧ x.val = v.val) ∨ (1 ≤ p ∧ p ≤ 2 * k ∧ x.val + 1 = m + 2 * k * (u.val * m + v.val) + p)) → (∀ x y : Fin (m + 2 * k * (m * m)), S.Adj x y ↔ ∃ u v : Fin m, u < v ∧ H.Adj u v ∧ ∃ p : ℕ, p ≤ 2 * k ∧ ((Q u v p x ∧ Q u v (p + 1) y) ∨ (Q u v p y ∧ Q u v (p + 1) x))) → ∀ (u v : Fin m) (p : ℕ) (x : Fin (m + 2 * k * (m * m))), u < v → H.Adj u v → 1 ≤ p → p ≤ 2 * k → Q u v p x → (S.neighborSet x).ncard = 2 ``` #### L-meta-469 (statement, from b06-l-meta-469) ```lean theorem PEqualNP.Outside.L_meta_469 : ∀ (m k : ℕ) (H : SimpleGraph (Fin m)) (T : Finset (Fin m)) (T' : Finset (Fin (m + 2 * k * (m * m)))), (∀ x : Fin (m + 2 * k * (m * m)), x ∈ T' ↔ (∃ u ∈ T, x.val = u.val) ∨ ∃ u v : Fin m, ∃ i : ℕ, i < 2 * k ∧ u < v ∧ H.Adj u v ∧ x.val = m + 2 * k * (u.val * m + v.val) + i ∧ (i % 2 = 1 ↔ u ∈ T)) → T'.card = T.card + k * H.edgeSet.ncard ``` #### L-meta-461 (statement, from b07-l-meta-461) ```lean theorem PEqualNP.Outside.L_meta_461 : ∀ E : List (Fin 6 × Fin 6), E = [(0, 1), (0, 2), (1, 2), (0, 3), (1, 4), (2, 5)] → ∀ τ : Fin 6 × Fin 6 → Finset (Fin 6) → Fin 6, (∀ e ∈ E, ∀ I : Finset (Fin 6), (∀ f ∈ E, ¬ (f.1 ∈ I ∧ f.2 ∈ I)) → (τ e I = e.1 ∨ τ e I = e.2) ∧ τ e I ∉ I) → ∀ c : Fin 6 × Fin 6 → ℚ, (∀ I : Finset (Fin 6), (∀ f ∈ E, ¬ (f.1 ∈ I ∧ f.2 ∈ I)) → ∀ v : Fin 6, ((E.filter (fun e => τ e I = v)).map c).sum = 0) → ∀ e ∈ E, c e = 0 ``` #### L-meta-456 (statement, from b06-l-meta-456) ```lean theorem PEqualNP.Outside.L_meta_456 : ∀ (m k : ℕ) (H : SimpleGraph (Fin m)) (Q : Fin m → Fin m → ℕ → Fin (m + 2 * k * (m * m)) → Prop) (S : SimpleGraph (Fin (m + 2 * k * (m * m)))), 1 ≤ k → (∀ (u v : Fin m) (p : ℕ) (x : Fin (m + 2 * k * (m * m))), Q u v p x ↔ (p = 0 ∧ x.val = u.val) ∨ (p = 2 * k + 1 ∧ x.val = v.val) ∨ (1 ≤ p ∧ p ≤ 2 * k ∧ x.val + 1 = m + 2 * k * (u.val * m + v.val) + p)) → (∀ x y : Fin (m + 2 * k * (m * m)), S.Adj x y ↔ ∃ u v : Fin m, u < v ∧ H.Adj u v ∧ ∃ p : ℕ, p ≤ 2 * k ∧ ((Q u v p x ∧ Q u v (p + 1) y) ∨ (Q u v p y ∧ Q u v (p + 1) x))) → ∀ x y : Fin (m + 2 * k * (m * m)), x.val < m → y.val < m → x ≠ y → ∀ p : S.Walk x y, 2 * k + 1 ≤ p.length ``` ### Full sources #### L-meta-448 (from b01-l-meta-448; identical in b04-l-meta-448) ```lean import Mathlib.Combinatorics.SimpleGraph.Basic theorem PEqualNP.Outside.L_meta_448 : ∀ (m k : ℕ) (H : SimpleGraph (Fin m)) (Q : Fin m → Fin m → ℕ → Fin (m + 2 * k * (m * m)) → Prop), 1 ≤ k → (∀ (u v : Fin m) (p : ℕ) (x : Fin (m + 2 * k * (m * m))), Q u v p x ↔ (p = 0 ∧ x.val = u.val) ∨ (p = 2 * k + 1 ∧ x.val = v.val) ∨ (1 ≤ p ∧ p ≤ 2 * k ∧ x.val + 1 = m + 2 * k * (u.val * m + v.val) + p)) → ∃ S : SimpleGraph (Fin (m + 2 * k * (m * m))), (∀ x y : Fin (m + 2 * k * (m * m)), S.Adj x y ↔ ∃ u v : Fin m, u < v ∧ H.Adj u v ∧ ∃ p : ℕ, p ≤ 2 * k ∧ ((Q u v p x ∧ Q u v (p + 1) y) ∨ (Q u v p y ∧ Q u v (p + 1) x))) := by intro m k H Q hk hQ let R (x y : Fin (m + 2 * k * (m * m))) : Prop := ∃ u v : Fin m, u < v ∧ H.Adj u v ∧ ∃ p : ℕ, p ≤ 2 * k ∧ ((Q u v p x ∧ Q u v (p + 1) y) ∨ (Q u v p y ∧ Q u v (p + 1) x)) refine ⟨{ Adj := R, symm := ⟨?_⟩, loopless := ⟨?_⟩ }, ?_⟩ · intro x y h obtain ⟨u, v, huv, he, p, hp, hxy⟩ := h exact ⟨u, v, huv, he, p, hp, hxy.symm⟩ · intro x h obtain ⟨u, v, _, _, p, hp, hxx⟩ := h obtain ⟨hpos, hnext⟩ := hxx.elim id id have hu := u.isLt have hv := v.isLt rcases (hQ u v p x).mp hpos with ⟨hzero, hx⟩ | ⟨hend, hx⟩ | ⟨hlo, hhi, hx⟩ all_goals rcases (hQ u v (p + 1) x).mp hnext with ⟨hzero', hx'⟩ | ⟨hend', hx'⟩ | ⟨hlo', hhi', hx'⟩ all_goals omega · intro x y rfl ``` #### L-meta-452 (from b01-l-meta-452; identical in b04-l-meta-452) ```lean import Mathlib import PEqualNP.Defs namespace PEqualNP.Outside.L_meta_452 lemma essential_coefficient {k m : ℕ} (r : Fin k → (Fin m → ℚ)) {ι : Type*} [Fintype ι] (f : ι → Fin k) (hf : Function.Injective f) (c : ι → ℚ) (h : ∑ a, c a • r (f a) = 0) (a : ι) (ha : r (f a) ∉ Submodule.span ℚ (r '' {b | b ≠ f a})) : c a = 0 := by classical by_contra hc have hs : ∑ b ∈ Finset.univ.erase a, c b • r (f b) ∈ Submodule.span ℚ (r '' {b | b ≠ f a}) := by apply Submodule.sum_mem intro b hb apply Submodule.smul_mem apply Submodule.subset_span exact ⟨f b, fun he => (Finset.mem_erase.mp hb).1 (hf he), rfl⟩ have he : c a • r (f a) = -(∑ b ∈ Finset.univ.erase a, c b • r (f b)) := by apply eq_neg_of_add_eq_zero_left rw [Finset.add_sum_erase _ (fun b => c b • r (f b)) (Finset.mem_univ a)] exact h apply ha exact (Submodule.smul_mem_iff _ hc).mp (he ▸ Submodule.neg_mem _ hs) end PEqualNP.Outside.L_meta_452 theorem PEqualNP.Outside.L_meta_452 : ∀ (k m : ℕ) (r : Fin k → (Fin m → ℚ)), (∀ i, r i ≠ 0) → (∃ j : Fin k, r j ∈ Submodule.span ℚ (r '' {l | l ≠ j})) → Nat.card {i : Fin k // r i ∉ Submodule.span ℚ (r '' {j | j ≠ i})} + 1 ≤ Module.finrank ℚ (Submodule.span ℚ (Set.range r)) := by classical intro k m r hn ⟨j, hj⟩ let E := {i : Fin k // r i ∉ Submodule.span ℚ (r '' {j | j ≠ i})} let f : Option E → Fin k := fun a => a.elim j Subtype.val have hne (a : E) : a.val ≠ j := by intro he exact a.property (he ▸ hj) have hf : Function.Injective f := by intro a b hab cases a with | none => cases b with | none => rfl | some b => exact False.elim (hne b hab.symm) | some a => cases b with | none => exact False.elim (hne a hab) | some b => exact congrArg some (Subtype.ext hab) have hi : LinearIndependent ℚ (fun a => r (f a)) := by apply Fintype.linearIndependent_iff.mpr intro c hc have hz (a : E) : c (some a) = 0 := PEqualNP.Outside.L_meta_452.essential_coefficient r f hf c hc (some a) a.property have hnone : c none = 0 := by have hh : c none • r j = 0 := by simpa [f, hz] using hc exact (smul_eq_zero.mp hh).resolve_right (hn j) intro a cases a with | none => exact hnone | some a => exact hz a have hb : Fintype.card (Option E) ≤ Module.finrank ℚ (Submodule.span ℚ (Set.range r)) := by rw [← finrank_span_eq_card hi] apply Submodule.finrank_mono apply Submodule.span_mono rintro _ ⟨a, rfl⟩ exact ⟨f a, rfl⟩ simpa [Fintype.card_option, Nat.card_eq_fintype_card, E] using hb ``` #### L-meta-455 (from b01-l-meta-455; identical in b04-l-meta-455) ```lean import Mathlib import PEqualNP.Defs theorem PEqualNP.Outside.L_meta_455 : ∀ (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj], (∀ a b c : Fin n, ¬ (G.Adj a b ∧ G.Adj b c ∧ G.Adj c a)) → (∀ a b c d : Fin n, a ≠ c → b ≠ d → ¬ (G.Adj a b ∧ G.Adj b c ∧ G.Adj c d ∧ G.Adj d a)) → ∀ u v : Fin n, G.Adj u v → (∀ a ∈ Finset.univ.filter (fun w => G.Adj v w), ∀ b ∈ Finset.univ.filter (fun w => G.Adj v w), ¬ G.Adj a b) ∧ (∀ a ∈ Finset.univ.filter (fun w => G.Adj u w), ∀ b ∈ Finset.univ.filter (fun w => G.Adj u w), ¬ G.Adj a b) ∧ (∀ a ∈ Finset.univ.filter (fun w => G.Adj v w ∧ w ≠ u) ∪ Finset.univ.filter (fun w => G.Adj u w ∧ w ≠ v), ∀ b ∈ Finset.univ.filter (fun w => G.Adj v w ∧ w ≠ u) ∪ Finset.univ.filter (fun w => G.Adj u w ∧ w ≠ v), ¬ G.Adj a b) := by intro n G _ htri hfour u v huv constructor · intro a ha b hb hab simp only [Finset.mem_filter, Finset.mem_univ, true_and] at ha hb exact htri v a b ⟨ha, hab, hb.symm⟩ constructor · intro a ha b hb hab simp only [Finset.mem_filter, Finset.mem_univ, true_and] at ha hb exact htri u a b ⟨ha, hab, hb.symm⟩ · intro a ha b hb hab simp only [Finset.mem_union, Finset.mem_filter, Finset.mem_univ, true_and] at ha hb rcases ha with ha | ha <;> rcases hb with hb | hb · exact htri v a b ⟨ha.1, hab, hb.1.symm⟩ · exact hfour a v u b ha.2 hb.2.symm ⟨ha.1.symm, huv.symm, hb.1, hab.symm⟩ · exact hfour a u v b ha.2 hb.2.symm ⟨ha.1.symm, huv, hb.1, hab.symm⟩ · exact htri u a b ⟨ha.1, hab, hb.1.symm⟩ ``` #### L-meta-457 (from b01-l-meta-457; identical in b04-l-meta-457) ```lean import Mathlib import PEqualNP.Defs theorem PEqualNP.Outside.L_meta_457 : ∀ E : List (Fin 3 × Fin 3), E = [(0, 1), (0, 2), (1, 2)] → ∀ τ : Fin 3 × Fin 3 → Finset (Fin 3) → Fin 3, (∀ e ∈ E, ∀ I : Finset (Fin 3), (∀ f ∈ E, ¬ (f.1 ∈ I ∧ f.2 ∈ I)) → (τ e I = e.1 ∨ τ e I = e.2) ∧ τ e I ∉ I) → ∀ c : Fin 3 × Fin 3 → ℚ, (∀ I : Finset (Fin 3), (∀ f ∈ E, ¬ (f.1 ∈ I ∧ f.2 ∈ I)) → ∀ v : Fin 3, ((E.filter (fun e => τ e I = v)).map c).sum = 0) → ∀ e ∈ E, c e = 0 := by intro E hE τ hτ c hw e he subst E have hI0 : ∀ f ∈ ([(0, 1), (0, 2), (1, 2)] : List (Fin 3 × Fin 3)), ¬ (f.1 ∈ ({0} : Finset (Fin 3)) ∧ f.2 ∈ ({0} : Finset (Fin 3))) := by decide have hI1 : ∀ f ∈ ([(0, 1), (0, 2), (1, 2)] : List (Fin 3 × Fin 3)), ¬ (f.1 ∈ ({1} : Finset (Fin 3)) ∧ f.2 ∈ ({1} : Finset (Fin 3))) := by decide have hI2 : ∀ f ∈ ([(0, 1), (0, 2), (1, 2)] : List (Fin 3 × Fin 3)), ¬ (f.1 ∈ ({2} : Finset (Fin 3)) ∧ f.2 ∈ ({2} : Finset (Fin 3))) := by decide have h01_0 : τ (0, 1) {0} = 1 := by obtain ⟨h | h, hn⟩ := hτ (0, 1) (by simp) {0} hI0 · exact False.elim (hn (by simp [h])) · exact h have h02_0 : τ (0, 2) {0} = 2 := by obtain ⟨h | h, hn⟩ := hτ (0, 2) (by simp) {0} hI0 · exact False.elim (hn (by simp [h])) · exact h have h01_1 : τ (0, 1) {1} = 0 := by obtain ⟨h | h, hn⟩ := hτ (0, 1) (by simp) {1} hI1 · exact h · exact False.elim (hn (by simp [h])) have h12_1 : τ (1, 2) {1} = 2 := by obtain ⟨h | h, hn⟩ := hτ (1, 2) (by simp) {1} hI1 · exact False.elim (hn (by simp [h])) · exact h have h02_2 : τ (0, 2) {2} = 0 := by obtain ⟨h | h, hn⟩ := hτ (0, 2) (by simp) {2} hI2 · exact h · exact False.elim (hn (by simp [h])) have h12_2 : τ (1, 2) {2} = 1 := by obtain ⟨h | h, hn⟩ := hτ (1, 2) (by simp) {2} hI2 · exact h · exact False.elim (hn (by simp [h])) have hab : c (0, 1) = 0 ∨ c (0, 2) = 0 := by rcases (hτ (1, 2) (by simp) {0} hI0).1 with h | h · right have hz := hw {0} hI0 2 simpa [h01_0, h02_0, h] using hz · left have hz := hw {0} hI0 1 simpa [h01_0, h02_0, h] using hz have hac : c (0, 1) = 0 ∨ c (1, 2) = 0 := by rcases (hτ (0, 2) (by simp) {1} hI1).1 with h | h · right have hz := hw {1} hI1 2 simpa [h01_1, h12_1, h] using hz · left have hz := hw {1} hI1 0 simpa [h01_1, h12_1, h] using hz have hbc : c (0, 2) = 0 ∨ c (1, 2) = 0 := by rcases (hτ (0, 1) (by simp) {2} hI2).1 with h | h · right have hz := hw {2} hI2 1 simpa [h02_2, h12_2, h] using hz · left have hz := hw {2} hI2 0 simpa [h02_2, h12_2, h] using hz have hsum : c (0, 1) + c (0, 2) + c (1, 2) = 0 := by have hz0 := hw ∅ (by simp) 0 have hz1 := hw ∅ (by simp) 1 have hz2 := hw ∅ (by simp) 2 rcases (hτ (0, 1) (by simp) ∅ (by simp)).1 with h01 | h01 <;> rcases (hτ (0, 2) (by simp) ∅ (by simp)).1 with h02 | h02 <;> rcases (hτ (1, 2) (by simp) ∅ (by simp)).1 with h12 | h12 <;> simp [h01, h02, h12] at hz0 hz1 hz2 <;> linarith have ha : c (0, 1) = 0 := by rcases hab with ha | hb <;> rcases hac with ha' | hc <;> rcases hbc with hb' | hc' <;> linarith have hb : c (0, 2) = 0 := by rcases hab with ha | hb <;> rcases hac with ha' | hc <;> rcases hbc with hb' | hc' <;> linarith have hc : c (1, 2) = 0 := by rcases hab with ha | hb <;> rcases hac with ha' | hc <;> rcases hbc with hb' | hc' <;> linarith simp only [List.mem_cons, List.not_mem_nil, or_false] at he rcases he with rfl | rfl | rfl · exact ha · exact hb · exact hc ``` #### L-meta-467 (from b01-l-meta-467; identical in b04-l-meta-467) ```lean import Mathlib import PEqualNP.Defs theorem PEqualNP.Outside.L_meta_467 : ∀ (m k : ℕ) (H : SimpleGraph (Fin m)) (Q : Fin m → Fin m → ℕ → Fin (m + 2 * k * (m * m)) → Prop) (S : SimpleGraph (Fin (m + 2 * k * (m * m)))), 1 ≤ k → (∀ (u v : Fin m) (p : ℕ) (x : Fin (m + 2 * k * (m * m))), Q u v p x ↔ (p = 0 ∧ x.val = u.val) ∨ (p = 2 * k + 1 ∧ x.val = v.val) ∨ (1 ≤ p ∧ p ≤ 2 * k ∧ x.val + 1 = m + 2 * k * (u.val * m + v.val) + p)) → (∀ x y : Fin (m + 2 * k * (m * m)), S.Adj x y ↔ ∃ u v : Fin m, u < v ∧ H.Adj u v ∧ ∃ p : ℕ, p ≤ 2 * k ∧ ((Q u v p x ∧ Q u v (p + 1) y) ∨ (Q u v p y ∧ Q u v (p + 1) x))) → ∀ (T : Finset (Fin m)) (T' : Finset (Fin (m + 2 * k * (m * m)))), (∀ u v : Fin m, H.Adj u v → u ∈ T ∨ v ∈ T) → (∀ x : Fin (m + 2 * k * (m * m)), x ∈ T' ↔ (∃ u ∈ T, x.val = u.val) ∨ ∃ u v : Fin m, ∃ i : ℕ, i < 2 * k ∧ u < v ∧ H.Adj u v ∧ x.val = m + 2 * k * (u.val * m + v.val) + i ∧ (i % 2 = 1 ↔ u ∈ T)) → ∀ x y : Fin (m + 2 * k * (m * m)), S.Adj x y → x ∈ T' ∨ y ∈ T' := by intro m k H Q S hk hQ hS T T' hT hT' x y hxy have oriented : ∀ (u v : Fin m) (p : ℕ) (a b : Fin (m + 2 * k * (m * m))), u < v → H.Adj u v → p ≤ 2 * k → Q u v p a → Q u v (p + 1) b → a ∈ T' ∨ b ∈ T' := by intro u v p a b huv hadj hp hpa hpb have interior : ∀ (i : ℕ) (z : Fin (m + 2 * k * (m * m))), i < 2 * k → z.val = m + 2 * k * (u.val * m + v.val) + i → (i % 2 = 1 ↔ u ∈ T) → z ∈ T' := by intro i z hi hz hparity exact (hT' z).mpr (Or.inr ⟨u, v, i, hi, huv, hadj, hz, hparity⟩) rcases (hQ u v p a).mp hpa with hzero | hlast | ha · rcases hzero with ⟨rfl, ha⟩ have hb : b.val = m + 2 * k * (u.val * m + v.val) := by rcases (hQ u v (0 + 1) b).mp hpb with hb | hb | hb <;> omega by_cases hu : u ∈ T · exact Or.inl ((hT' a).mpr (Or.inl ⟨u, hu, ha⟩)) · right apply interior 0 b (by omega) (by omega) simp [hu] · omega · rcases ha with ⟨hpos, hbound, ha⟩ rcases (hQ u v (p + 1) b).mp hpb with hzero | hlast | hb · omega · have hpLast : p = 2 * k := by omega by_cases hu : u ∈ T · left apply interior (p - 1) a (by omega) (by omega) constructor · intro _ exact hu · intro _ omega · right exact (hT' b).mpr (Or.inl ⟨v, (hT u v hadj).resolve_left hu, hlast.2⟩) · rcases hb with ⟨hbpos, hbbound, hb⟩ by_cases hselect : (p - 1) % 2 = 1 ↔ u ∈ T · left exact interior (p - 1) a (by omega) (by omega) hselect · right apply interior p b (by omega) (by omega) by_cases hu : u ∈ T · have hprev : (p - 1) % 2 ≠ 1 := by intro h exact hselect (iff_of_true h hu) exact iff_of_true (by omega) hu · have hprev : (p - 1) % 2 = 1 := by by_contra h exact hselect (iff_of_false h hu) exact iff_of_false (by omega) hu rcases (hS x y).mp hxy with ⟨u, v, huv, hadj, p, hp, hpath⟩ rcases hpath with hforward | hreverse · exact oriented u v p x y huv hadj hp hforward.1 hforward.2 · exact (oriented u v p y x huv hadj hp hreverse.1 hreverse.2).symm ``` #### L-meta-1207 (from b02-l-meta-1207; identical in b05-l-meta-1207) ```lean import Mathlib import PEqualNP.Defs namespace PEqualNP.Outside.L_meta_1207 open PEqualNP.CircuitLowerBounds def witness : Circuit := { gates := [ ⟨.or, [1, 2]⟩, ⟨.and, [0, 8]⟩, ⟨.or, [1, 5]⟩, ⟨.and, [3, 10]⟩, ⟨.or, [2, 5]⟩, ⟨.and, [4, 12]⟩, ⟨.and, [6, 7]⟩, ⟨.or, [9, 11]⟩, ⟨.or, [15, 13]⟩, ⟨.or, [16, 14]⟩] output := 17 } lemma monotone : PEqualNP.MetaComplexity.Monotone2 witness := by simp [PEqualNP.MetaComplexity.Monotone2, witness] set_option maxRecDepth 4096 in set_option maxHeartbeats 1000000 in lemma truthTable : ∀ a b c d e f g h : Bool, witness.eval [a, b, c, d, e, f, g, h] = ((a && b) || (a && c) || (b && d) || (c && e) || (d && f) || (e && f) || (g && h)) := by decide end PEqualNP.Outside.L_meta_1207 theorem PEqualNP.Outside.L_meta_1207 : ∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.Monotone2 C ∧ C.size ≤ 10 ∧ ∀ x : Fin 8 → Bool, C.eval (List.ofFn x) = (fun x : Fin 8 → Bool => (x 0 && x 1) || (x 0 && x 2) || (x 1 && x 3) || (x 2 && x 4) || (x 3 && x 5) || (x 4 && x 5) || (x 6 && x 7)) x := by refine ⟨L_meta_1207.witness, L_meta_1207.monotone, by decide, ?_⟩ intro x rw [show List.ofFn x = [x 0, x 1, x 2, x 3, x 4, x 5, x 6, x 7] by rfl] exact L_meta_1207.truthTable (x 0) (x 1) (x 2) (x 3) (x 4) (x 5) (x 6) (x 7) ``` #### L-meta-1208 (from b05-l-meta-1208; revised file; never elaborated by Lean) ```lean import Mathlib import PEqualNP.Defs namespace PEqualNP.Outside.L_meta_1208 open PEqualNP.CircuitLowerBounds def ckt : Circuit := ⟨[⟨GateOp.or, [1, 2]⟩, ⟨GateOp.and, [0, 8]⟩, ⟨GateOp.and, [1, 3]⟩, ⟨GateOp.or, [2, 6]⟩, ⟨GateOp.and, [4, 11]⟩, ⟨GateOp.or, [3, 7]⟩, ⟨GateOp.and, [5, 13]⟩, ⟨GateOp.or, [9, 10]⟩, ⟨GateOp.or, [15, 12]⟩, ⟨GateOp.or, [16, 14]⟩], 17⟩ theorem keval : ∀ a0 a1 a2 a3 a4 a5 a6 a7 : Bool, ckt.eval [a0, a1, a2, a3, a4, a5, a6, a7] = ((a0 && a1) || (a0 && a2) || (a1 && a3) || (a2 && a4) || (a3 && a5) || (a4 && a6) || (a5 && a7)) := by decide end PEqualNP.Outside.L_meta_1208 theorem PEqualNP.Outside.L_meta_1208 : ∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.Monotone2 C ∧ C.size ≤ 10 ∧ ∀ x : Fin 8 → Bool, C.eval (List.ofFn x) = (fun x : Fin 8 → Bool => (x 0 && x 1) || (x 0 && x 2) || (x 1 && x 3) || (x 2 && x 4) || (x 3 && x 5) || (x 4 && x 6) || (x 5 && x 7)) x := by refine ⟨PEqualNP.Outside.L_meta_1208.ckt, ?_, ?_, ?_⟩ · simp [PEqualNP.MetaComplexity.Monotone2, PEqualNP.Outside.L_meta_1208.ckt] · decide · intro x have h : List.ofFn x = [x 0, x 1, x 2, x 3, x 4, x 5, x 6, x 7] := by simp [List.ofFn_succ] rw [h] exact PEqualNP.Outside.L_meta_1208.keval (x 0) (x 1) (x 2) (x 3) (x 4) (x 5) (x 6) (x 7) ```