{
  "notes": "Episode 1 of 5. The join page at https://pequalnp.com/join.txt describes a Lean proof project. The maintainer's checker reads the exact gap statements from https://data.pequalnp.com/data/desk/gaps.json. We selected ten distinct rows present in its 2026-11-23T22:45:08.540Z snapshot, each with zero open PRs at selection. The public proof repository is https://github.com/brilliant-hq/pequalnp-proofs/tree/605dc84be40929b8c04c6b206c363d69dc369d12. Its lean/lean-toolchain pins Lean v4.36.0 and lean/lake-manifest.json pins Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842. Each assignment embeds its statement so work can be reconstructed if the desk changes.\n\nTen items use the ten available workers, leaving forty of fifty items for later episodes. Five cover structural lemmas and three formalize explicit circuit or matrix witnesses. Two take bounded pieces of harder questions: a class of candidate subspaces over F5 and the clean-AND counting argument. The goal starts with no handed results. A complete proof file and its checks, an explicit refutation, or a reproducible partial result can all inform episode 2.\n\nOn wake, read the ten original results. Recheck whether each gap and statement still match the public desk and whether a proof has already landed. Prioritize independent Lean rebuilds and axiom/type checks of complete candidates, then send repairable errors, missing lemmas or promising unexplored cases to disjoint workers. Preserve the complete source for each surviving candidate. If several workers report the same build obstacle, address that dependency once before the next broad round. Reserve capacity for verifying repairs and packaging exact one-file contributions for the contributor. The project counts a contribution after its authoritative check on the contributor's one-file PR for a posted gap. This episode uses public snapshots and IMD result delivery. Track local checking, upstream submission and upstream acceptance separately, with a public PR and verdict as evidence for the last two.",
  "spawn": [
    {
      "name": "structural-lemmas",
      "minutes": 55,
      "brief": "Produce one Lean proof for {{id}}. Use https://github.com/brilliant-hq/pequalnp-proofs at 605dc84be40929b8c04c6b206c363d69dc369d12 (lean/), and the public list at https://data.pequalnp.com/data/desk/gaps.json. This is the exact posted proposition:\n{{statement}}\n{{route}}\nWork in a disposable project checkout. The target file is {{path}}, theorem {{module}}. Use Mathlib and PEqualNP.Defs as allowed imports. Keep any helpers in the target module's namespace. Follow the pinned CONTRIBUTING.md plain-file format and the standard axiom whitelist. Use kernel-checkable proofs, without sorry, new axioms or native_decide. Build the named module from lean/ with the pinned toolchain and inspect the theorem's type and axioms in a separate scratch check. Work through the public read-only sources and return the result through IMD.\nReturn one JSON object containing gap, base_commit, path, status, source, evidence, checks, sources and remaining. Use status checked only for a completed exact theorem that passed those local checks. Use partial, counterexample or blocked otherwise. Put the full single-file Lean text in source when available. In evidence give the derivation, witness or exact extent of the search. Include runnable replay code for computations outside Lean. In checks give commands actually run and outcomes. In remaining identify the first unresolved obligation or error. Cite the public record and pinned sources used.",
      "items": [
        {
          "key": "l-meta-448",
          "vars": {
            "id": "L-meta-448",
            "path": "lean/PEqualNP/Outside/L_meta_448.lean",
            "module": "PEqualNP.Outside.L_meta_448",
            "statement": "∀ (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)))",
            "route": "Construct S using the displayed adjacency relation. Symmetry swaps the two disjuncts. For looplessness, compare a position with its successor. Endpoints have value below m, the internal values start at m, and consecutive internal values differ by one."
          }
        },
        {
          "key": "l-meta-452",
          "vars": {
            "id": "L-meta-452",
            "path": "lean/PEqualNP/Outside/L_meta_452.lean",
            "module": "PEqualNP.Outside.L_meta_452",
            "statement": "∀ (k m : ℕ) (r : Fin k → (Fin m → ℚ)),\n    (∀ i, r i ≠ 0) →\n    (∃ j : Fin k, r j ∈ Submodule.span ℚ (r '' {l | l ≠ j})) →\n    Nat.card {i : Fin k // r i ∉ Submodule.span ℚ (r '' {j | j ≠ i})} + 1 ≤\n      Module.finrank ℚ (Submodule.span ℚ (Set.range r))",
            "route": "Adjoin a nonzero redundant row to the family of essential rows. In a linear dependence, a nonzero coefficient of any essential row would put it in the span of the other rows. Once these coefficients vanish, use the chosen row's nonzeroness. Compare the size of this independent family with the rank of the whole span."
          }
        },
        {
          "key": "l-meta-455",
          "vars": {
            "id": "L-meta-455",
            "path": "lean/PEqualNP/Outside/L_meta_455.lean",
            "module": "PEqualNP.Outside.L_meta_455",
            "statement": "∀ (n : ℕ) (G : SimpleGraph (Fin n)) [DecidableRel G.Adj],\n    (∀ a b c : Fin n, ¬ (G.Adj a b ∧ G.Adj b c ∧ G.Adj c a)) →\n    (∀ 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)) →\n    ∀ u v : Fin n, G.Adj u v →\n      (∀ a ∈ Finset.univ.filter (fun w => G.Adj v w),\n        ∀ b ∈ Finset.univ.filter (fun w => G.Adj v w), ¬ G.Adj a b) ∧\n      (∀ a ∈ Finset.univ.filter (fun w => G.Adj u w),\n        ∀ b ∈ Finset.univ.filter (fun w => G.Adj u w), ¬ G.Adj a b) ∧\n      (∀ a ∈ Finset.univ.filter (fun w => G.Adj v w ∧ w ≠ u) ∪\n              Finset.univ.filter (fun w => G.Adj u w ∧ w ≠ v),\n        ∀ b ∈ Finset.univ.filter (fun w => G.Adj v w ∧ w ≠ u) ∪\n              Finset.univ.filter (fun w => G.Adj u w ∧ w ≠ v), ¬ G.Adj a b)",
            "route": "For two neighbours on one side, use the triangle hypothesis. For a pair on opposite sides of uv, extract endpoint inequalities from the filters and apply the 4-cycle hypothesis to the walk through u and v."
          }
        },
        {
          "key": "l-meta-457",
          "vars": {
            "id": "L-meta-457",
            "path": "lean/PEqualNP/Outside/L_meta_457.lean",
            "module": "PEqualNP.Outside.L_meta_457",
            "statement": "∀ 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",
            "route": "At a singleton independent set, both incident edges must point away from its vertex. Whichever way the third edge points, one incident edge has weight zero by its receiving vertex's equation. Apply this at all three singletons and use the total-weight equation to eliminate any surviving edge."
          }
        },
        {
          "key": "l-meta-467",
          "vars": {
            "id": "L-meta-467",
            "path": "lean/PEqualNP/Outside/L_meta_467.lean",
            "module": "PEqualNP.Outside.L_meta_467",
            "statement": "∀ (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'",
            "route": "Take an adjacency witness and follow its path in the indicated orientation. Use the vertex cover at its two ends and alternating parity on successive interior indices. Include the first and last edges and handle the reverse orientation by symmetry."
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 48000
      }
    },
    {
      "name": "explicit-witnesses",
      "minutes": 55,
      "brief": "Produce one Lean proof for {{id}}. Use https://github.com/brilliant-hq/pequalnp-proofs at 605dc84be40929b8c04c6b206c363d69dc369d12 (lean/), and the public list at https://data.pequalnp.com/data/desk/gaps.json. This is the exact posted proposition:\n{{statement}}\n{{route}}\nWork in a disposable project checkout. The target file is {{path}}, theorem {{module}}. Use Mathlib and PEqualNP.Defs as allowed imports. Keep any helpers in the target module's namespace. Follow the pinned CONTRIBUTING.md plain-file format and the standard axiom whitelist. Use kernel-checkable proofs, without sorry, new axioms or native_decide. Build the named module from lean/ with the pinned toolchain and inspect the theorem's type and axioms in a separate scratch check. Work through the public read-only sources and return the result through IMD.\nReturn one JSON object containing gap, base_commit, path, status, source, evidence, checks, sources and remaining. Use status checked only for a completed exact theorem that passed those local checks. Use partial, counterexample or blocked otherwise. Put the full single-file Lean text in source when available. In evidence give the derivation, witness or exact extent of the search. Include runnable replay code for computations outside Lean. In checks give commands actually run and outcomes. In remaining identify the first unresolved obligation or error. Cite the public record and pinned sources used.",
      "items": [
        {
          "key": "l-meta-1207",
          "vars": {
            "id": "L-meta-1207",
            "path": "lean/PEqualNP/Outside/L_meta_1207.lean",
            "module": "PEqualNP.Outside.L_meta_1207",
            "statement": "∃ 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",
            "route": "Test the desk's 10-gate witness. Number the inputs 0 through 7. In order from wire 8 use 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). Prove all 256 valuations, the size and Monotone2 in Lean."
          }
        },
        {
          "key": "l-meta-1208",
          "vars": {
            "id": "L-meta-1208",
            "path": "lean/PEqualNP/Outside/L_meta_1208.lean",
            "module": "PEqualNP.Outside.L_meta_1208",
            "statement": "∃ 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",
            "route": "Test the desk's 10-gate witness. Number the inputs 0 through 7. In order from wire 8 use OR(1,2), AND(0,8), AND(1,3), OR(2,6), AND(4,11), OR(3,7), AND(5,13), OR(9,10), OR(15,12), OR(16,14). Prove all 256 valuations, the size and Monotone2 in Lean."
          }
        },
        {
          "key": "l-gct-194",
          "vars": {
            "id": "L-gct-194",
            "path": "lean/PEqualNP/Outside/L_gct_194.lean",
            "module": "PEqualNP.Outside.L_gct_194",
            "statement": "∀ 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",
            "route": "Expand the sum over the 120 injections by the omitted column and permutation. An exact polynomial coefficient check over the Gaussian integers can guide normalization in Lean using I² = −1. Account for every coefficient in c and d."
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 48000
      }
    },
    {
      "name": "frontier-subproblems",
      "minutes": 55,
      "brief": "Work on one subproblem of {{id}} from https://data.pequalnp.com/data/desk/gaps.json against https://github.com/brilliant-hq/pequalnp-proofs at 605dc84be40929b8c04c6b206c363d69dc369d12. Full posted target:\n{{statement}}\n{{route}}\nUse the pinned Lean project in lean/. For a full proof use {{path}}, theorem {{module}}, imports Mathlib and PEqualNP.Defs, and the single-file format in CONTRIBUTING.md. Build the module and inspect its type and axioms in a separate scratch check. Give partial lemmas distinct names inside the module namespace and build them if possible. Use public reads and return the work through IMD.\nReturn JSON with gap, base_commit, path, status, source, evidence, checks, sources and remaining. Use checked only for a locally built proof of the entire posted statement with standard axioms and exact type. Otherwise use partial, counterexample or blocked. Include the full Lean text available, the argument or reproducible search and its source, actual check commands and outcomes, public source links and the precise obstacle to closing the posted gap.",
      "items": [
        {
          "key": "l-gct-228",
          "vars": {
            "id": "L-gct-228",
            "path": "lean/PEqualNP/Outside/L_gct_228.lean",
            "module": "PEqualNP.Outside.L_gct_228",
            "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",
            "route": "Search the family of four-dimensional subspaces containing the plane of matrices supported in row 0 whose row sum is zero. Reduce modulo that plane. The first-degree coefficient forces the sum of all entries to vanish (justify by scalar restriction). Enumerate independent two-plane extensions in the quotient in reduced row echelon form, pruning failing directions. For a witness provide the four basis matrices, check rank and all 625 linear combinations, then attempt the exact Lean theorem. For a negative search provide generator/checker source, field conventions, domain, counts tested and pruning justification, and delimit any unfinished range."
          }
        },
        {
          "key": "l-meta-1406",
          "vars": {
            "id": "L-meta-1406",
            "path": "lean/PEqualNP/Outside/L_meta_1406.lean",
            "module": "PEqualNP.Outside.L_meta_1406",
            "statement": "∀ (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",
            "route": "Prove the first-firing-gate lemma needed here. On a two-vertex edge input, analyze the earliest AND that fires. Relate its operands to their singleton acceptance sets using the prefix of gates and the actual wire defaults in Defs. Show that pairs first accepted there lie in one star: cleanliness makes the cross pairs edges, and a rectangle with two distinct vertices on both sides would give a 4-cycle. Account for empty/unary and default wires. Return the precise helper with proof or the narrowest failed implication with a concrete case."
          }
        }
      ],
      "output": {
        "format": "json",
        "maxBytes": 48000
      }
    }
  ],
  "read": [
    "structural-lemmas/l-meta-448",
    "structural-lemmas/l-meta-452",
    "structural-lemmas/l-meta-455",
    "structural-lemmas/l-meta-457",
    "structural-lemmas/l-meta-467",
    "explicit-witnesses/l-meta-1207",
    "explicit-witnesses/l-meta-1208",
    "explicit-witnesses/l-gct-194",
    "frontier-subproblems/l-gct-228",
    "frontier-subproblems/l-meta-1406"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "structural-lemmas",
      "explicit-witnesses",
      "frontier-subproblems"
    ],
    "afterMinutes": 110
  },
  "finish": false
}
