{
  "gap": "L-meta-448",
  "path": "lean/PEqualNP/Outside/L_meta_448.lean",
  "module": "PEqualNP.Outside.L_meta_448",
  "scope": "full",
  "changed": false,
  "localCheck": "passed",
  "source": "import Mathlib.Combinatorics.SimpleGraph.Basic\n\ntheorem PEqualNP.Outside.L_meta_448 :\n    ∀ (m k : ℕ) (H : SimpleGraph (Fin m))\n      (Q : Fin m → Fin m → ℕ → Fin (m + 2 * k * (m * m)) → Prop),\n      1 ≤ k →\n      (∀ (u v : Fin m) (p : ℕ) (x : Fin (m + 2 * k * (m * m))),\n        Q u v p x ↔\n          (p = 0 ∧ x.val = u.val) ∨\n          (p = 2 * k + 1 ∧ x.val = v.val) ∨\n          (1 ≤ p ∧ p ≤ 2 * k ∧ x.val + 1 = m + 2 * k * (u.val * m + v.val) + p)) →\n      ∃ S : SimpleGraph (Fin (m + 2 * k * (m * m))),\n        (∀ x y : Fin (m + 2 * k * (m * m)),\n          S.Adj x y ↔ ∃ u v : Fin m, u < v ∧ H.Adj u v ∧\n            ∃ p : ℕ, p ≤ 2 * k ∧\n              ((Q u v p x ∧ Q u v (p + 1) y) ∨ (Q u v p y ∧ Q u v (p + 1) x))) := by\n  intro m k H Q hk hQ\n  let R (x y : Fin (m + 2 * k * (m * m))) : Prop :=\n    ∃ u v : Fin m, u < v ∧ H.Adj u v ∧\n      ∃ p : ℕ, p ≤ 2 * k ∧\n        ((Q u v p x ∧ Q u v (p + 1) y) ∨\n          (Q u v p y ∧ Q u v (p + 1) x))\n  refine ⟨{ Adj := R, symm := ⟨?_⟩, loopless := ⟨?_⟩ }, ?_⟩\n  · intro x y h\n    obtain ⟨u, v, huv, he, p, hp, hxy⟩ := h\n    exact ⟨u, v, huv, he, p, hp, hxy.symm⟩\n  · intro x h\n    obtain ⟨u, v, _, _, p, hp, hxx⟩ := h\n    obtain ⟨hpos, hnext⟩ := hxx.elim id id\n    have hu := u.isLt\n    have hv := v.isLt\n    rcases (hQ u v p x).mp hpos with ⟨hzero, hx⟩ | ⟨hend, hx⟩ | ⟨hlo, hhi, hx⟩\n    all_goals\n      rcases (hQ u v (p + 1) x).mp hnext with\n        ⟨hzero', hx'⟩ | ⟨hend', hx'⟩ | ⟨hlo', hhi', hx'⟩\n      all_goals omega\n  · intro x y\n    rfl\n",
  "reasoning": "Disposition: open. On 2026-11-24 the desk list https://data.pequalnp.com/data/desk/gaps.json (updated_at 2026-11-24T00:03:31.039Z) carries L-meta-448 in gaps, not in checked and not in withdrawn, and the pinned tree e3b1828 has no lean/PEqualNP/Outside/L_meta_448.lean (raw GitHub returns 404), so the gap is not closed and a full candidate is in order.\n\nStatement match: the theorem type in the handed file equals the desk statement character for character up to whitespace (compared with code). The file imports only Mathlib.Combinatorics.SimpleGraph.Basic, declares exactly one theorem named PEqualNP.Outside.L_meta_448, uses no helper declarations, no comments, no double quotes, no # command, no set_option, no attribute, no sorry, no axiom and no native_decide; the word import appears only in the header. It satisfies CONTRIBUTING.md and the plain-file rules of the pinned commit, so it goes through the fast path.\n\nProof: S is the SimpleGraph whose Adj is the posted right-hand relation R x y := ∃ u v, u < v ∧ H.Adj u v ∧ ∃ p ≤ 2k, (Q u v p x ∧ Q u v (p+1) y) ∨ (Q u v p y ∧ Q u v (p+1) x). Symmetry swaps the two disjuncts with the same u, v, p. The adjacency equivalence is then rfl.\n\nIrreflexivity (the part the brief asks to scrutinise): a loop needs Q u v p x and Q u v (p+1) x for one x with p ≤ 2k. Expanding both by hQ gives 3×3 cases. First end position p = 0: Q u v 0 x forces x.val = u.val < m (the p = 2k+1 and 1 ≤ p branches are impossible at p = 0); Q u v 1 x cannot be the p = 0 branch (1 ≠ 0), cannot be the end branch because 1 = 2k+1 would need k = 0 against 1 ≤ k, so it is internal with x.val + 1 = m + 2k(um+v) + 1, forcing x.val ≥ m: contradiction with x.val = u.val < m, using u.isLt. Second end position p = 2k: Q u v 2k x cannot be p = 0 (k ≥ 1) and cannot be the end branch (2k = 2k+1 is impossible), so it is internal with x.val + 1 = m + 2k(um+v) + 2k ≥ m + 1; Q u v (2k+1) x cannot be internal (2k+1 ≤ 2k fails) and cannot be p = 0, so x.val = v.val < m by v.isLt: contradiction. Interior 1 ≤ p < 2k: both instances are internal and give x.val + 1 = m + A + p and x.val + 1 = m + A + p + 1 for the same A = 2k(um+v), differing by one. All remaining mixed branches contradict the arithmetic side conditions on p (p = 0 ∧ p + 1 = 2k + 1 needs k = 0; two end branches need 2k+1 = p and 2k+1 = p+1). The file hands all nine cases to omega with u.isLt and v.isLt in context; omega treats the product 2 * k * (u.val * m + v.val) as one atom shared by both equations, which is exactly what each case needs. The kernel-checked acceptance below confirms the argument is complete, including both end positions.\n\nLocal check at the pinned commit: a clone of brilliant-hq/pequalnp-proofs at e3b1828a4423909b34c8d8184be1e208451c631a with Lean 4.36.0 (lean-toolchain) and Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842 (lakefile.toml / lake-manifest.json, prebuilt via lake exe cache get). The handed file was saved unchanged at lean/PEqualNP/Outside/L_meta_448.lean, the desk statement was written to a statement file, and `node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_448.lean <statement file> check` exited 0 with the final line: ACCEPTED (check): PEqualNP.Outside.L_meta_448; axioms [propext, Quot.sound]; kernel re-checked 1203 constants of [PEqual […]. The verifier re-checked the definitions root and the lemma module in the kernel and confirmed the theorem proves the recorded statement; axioms are [propext, Quot.sound] only. No proof or format defect was found, so the candidate is preserved byte for byte (SHA-256 a476a4a3e06ad4162fb2adc1e4993412bf49ebf1cb493be7c8757c68b53c64cc).\n\nNote on the handed result: it reports a passing lake build and an independent statement check at base commit 605dc84, which pins the same Lean and Mathlib; this review re-did the judgement with the project checker at the commit this item pins (e3b1828) and reached the same verdict. The row lists PEqualNP.Defs as its allowed project import; the file does not need it and imports only a Mathlib module, which rule 2 of CONTRIBUTING.md permits.",
  "localCheckDetail": {
    "checker": "tools/check-lean.mjs (check-lean 3) at e3b1828a4423909b34c8d8184be1e208451c631a",
    "command": "node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_448.lean statement.lean check",
    "exit": 0,
    "verdictLine": "ACCEPTED (check): PEqualNP.Outside.L_meta_448; axioms [propext, Quot.sound]; kernel re-checked 1203 constants of [PEqualNP.Defs.Base, PEqualNP.Defs.Classes, PEqualNP.Defs.CircuitLowerBounds, PEqualNP.Defs.MetaComplexity, PEqualNP.Defs.MetaComplexityLocal, PEqualNP.Defs.MetaComplexitySparse, PEqualNP.Defs.MetaComplexityMinimal, PEqualNP.Defs.MetaComplexityLgp, PEqualNP.Defs.MetaComplexityLgpMono, PEqualNP.Defs.BinaryCircuit, PEqualNP.Defs.MetaComplexityCoverCircuit, PEqualNP.Defs.ProofComplexity, PEqualNP.Defs.ProofComplexityLin, PEqualNP.Defs.ProofComplexityLinK, PEqualNP.Defs.ProofComplexityLift, PEqualNP.Defs.ProofComplexityResK, PEqualNP.Defs.ProofComplexityRestrict, PEqualNP.Defs.ProofComplexityBit, PEqualNP.Defs.ProofComplexityPC, PEqualNP.Defs.ProofComplexityMoment, PEqualNP.Defs.ProofComplexityChain, PEqualNP.Defs.ProofComplexityGeneral, PEqualNP.Defs.Search, PEqualNP.Defs.SearchQ, PEqualNP.Defs.SearchQTree, PEqualNP.Defs.SearchCP, PEqualNP.Defs.SearchRUP, PEqualNP.Defs.SearchQSyn, PEqualNP.Defs.SearchSoS, PEqualNP.Defs.Gct, PEqualNP.Defs.Oracle, PEqualNP.Defs.Algebraic, PEqualNP.Defs.Expanders, PEqualNP.Defs.RiffleRank, PEqualNP.Defs.TimeAlt, PEqualNP.Defs.CoverPromise, PEqualNP.Defs.SingleLevel, PEqualNP.Defs.DeMorganFormula, PEqualNP.Defs.MetaComplexityTypedRank, PEqualNP.Defs.Pebble, PEqualNP.Defs.Subdivision, PEqualNP.Defs.AndCountCircuit, PEqualNP.Defs.PebbleThreeWay, PEqualNP.Defs.CoLevel, PEqualNP.Defs.Peelable, PEqualNP.Defs.NestedCoverCircuit, PEqualNP.Defs.LiteralPartition, PEqualNP.Defs.MinimumComplex, PEqualNP.Defs.PendantBit, PEqualNP.Defs.BorrowedCoverCircuit, PEqualNP.Defs.LineDegree, PEqualNP.Defs.CircuitMoves, PEqualNP.Defs.LowMerge, PEqualNP.Defs.NewLowMerge, PEqualNP.Defs.AffinePlane, PEqualNP.Defs.EdgeOwnership, PEqualNP.Defs.PencilGate, PEqualNP.Defs.BlindGate, PEqualNP.Defs.BicliqueBlockCost, PEqualNP.Defs.SharingOrder, PEqualNP.Defs.NotPremium, PEqualNP.Defs.NotBracket, PEqualNP.Defs.PairShadow, PEqualNP.Defs.InvisibleWire, PEqualNP.Defs.SharedOr, PEqualNP.Defs, PEqualNP.Outside.L_meta_448]",
    "restsOn": [
      "PEqualNP.Outside.L_meta_448"
    ],
    "toolchain": "Lean 4.36.0 (commit 611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9), Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842",
    "candidateSha256": "a476a4a3e06ad4162fb2adc1e4993412bf49ebf1cb493be7c8757c68b53c64cc",
    "formatChecks": {
      "imports": [
        "import Mathlib.Combinatorics.SimpleGraph.Basic"
      ],
      "importWordAfterHeader": false,
      "doubleQuotes": false,
      "hashCommands": false,
      "sorry": false,
      "nativeDecide": false,
      "axiom": false,
      "setOption": false,
      "attribute": false,
      "macroSyntaxNotationElabInitializeEval": false,
      "theoremName": true,
      "declarationCount": 1,
      "comments": false
    }
  },
  "disposition": {
    "closed": false,
    "inGaps": true,
    "inChecked": false,
    "inWithdrawn": false,
    "gapsUpdatedAt": "2026-11-24T00:03:31.039Z",
    "fileAtPinnedCommit": "404 (absent)"
  },
  "sources": [
    "https://pequalnp.com/join.txt",
    "https://data.pequalnp.com/data/desk/gaps.json",
    "https://github.com/brilliant-hq/pequalnp-proofs/tree/e3b1828a4423909b34c8d8184be1e208451c631a",
    "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/CONTRIBUTING.md",
    "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/tools/check-lean.mjs",
    "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/CheckLemma.lean",
    "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/lean-toolchain",
    "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/lakefile.toml",
    "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/lake-manifest.json",
    "https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/Combinatorics/SimpleGraph/Basic.lean",
    "https://api.imd.fun/artifacts/6e46a03032e1f4a0b408d6ace008151975a024c6a46d6d873c1948fd383271e3"
  ]
}
