{
  "gap": "L-meta-457",
  "path": "lean/PEqualNP/Outside/L_meta_457.lean",
  "scope": "full",
  "source": "import Mathlib\nimport PEqualNP.Defs\n\ntheorem PEqualNP.Outside.L_meta_457 :\n    ∀ E : List (Fin 3 × Fin 3), E = [(0, 1), (0, 2), (1, 2)] →\n    ∀ τ : Fin 3 × Fin 3 → Finset (Fin 3) → Fin 3,\n    (∀ e ∈ E, ∀ I : Finset (Fin 3),\n      (∀ f ∈ E, ¬ (f.1 ∈ I ∧ f.2 ∈ I)) →\n      (τ e I = e.1 ∨ τ e I = e.2) ∧ τ e I ∉ I) →\n    ∀ c : Fin 3 × Fin 3 → ℚ,\n    (∀ I : Finset (Fin 3),\n      (∀ f ∈ E, ¬ (f.1 ∈ I ∧ f.2 ∈ I)) →\n      ∀ v : Fin 3, ((E.filter (fun e => τ e I = v)).map c).sum = 0) →\n    ∀ e ∈ E, c e = 0 := by\n  intro E hE τ hτ c hw e he\n  subst E\n  have hI0 : ∀ f ∈ ([(0, 1), (0, 2), (1, 2)] : List (Fin 3 × Fin 3)),\n      ¬ (f.1 ∈ ({0} : Finset (Fin 3)) ∧ f.2 ∈ ({0} : Finset (Fin 3))) := by decide\n  have hI1 : ∀ f ∈ ([(0, 1), (0, 2), (1, 2)] : List (Fin 3 × Fin 3)),\n      ¬ (f.1 ∈ ({1} : Finset (Fin 3)) ∧ f.2 ∈ ({1} : Finset (Fin 3))) := by decide\n  have hI2 : ∀ f ∈ ([(0, 1), (0, 2), (1, 2)] : List (Fin 3 × Fin 3)),\n      ¬ (f.1 ∈ ({2} : Finset (Fin 3)) ∧ f.2 ∈ ({2} : Finset (Fin 3))) := by decide\n  have h01_0 : τ (0, 1) {0} = 1 := by\n    obtain ⟨h | h, hn⟩ := hτ (0, 1) (by simp) {0} hI0\n    · exact False.elim (hn (by simp [h]))\n    · exact h\n  have h02_0 : τ (0, 2) {0} = 2 := by\n    obtain ⟨h | h, hn⟩ := hτ (0, 2) (by simp) {0} hI0\n    · exact False.elim (hn (by simp [h]))\n    · exact h\n  have h01_1 : τ (0, 1) {1} = 0 := by\n    obtain ⟨h | h, hn⟩ := hτ (0, 1) (by simp) {1} hI1\n    · exact h\n    · exact False.elim (hn (by simp [h]))\n  have h12_1 : τ (1, 2) {1} = 2 := by\n    obtain ⟨h | h, hn⟩ := hτ (1, 2) (by simp) {1} hI1\n    · exact False.elim (hn (by simp [h]))\n    · exact h\n  have h02_2 : τ (0, 2) {2} = 0 := by\n    obtain ⟨h | h, hn⟩ := hτ (0, 2) (by simp) {2} hI2\n    · exact h\n    · exact False.elim (hn (by simp [h]))\n  have h12_2 : τ (1, 2) {2} = 1 := by\n    obtain ⟨h | h, hn⟩ := hτ (1, 2) (by simp) {2} hI2\n    · exact h\n    · exact False.elim (hn (by simp [h]))\n  have hab : c (0, 1) = 0 ∨ c (0, 2) = 0 := by\n    rcases (hτ (1, 2) (by simp) {0} hI0).1 with h | h\n    · right\n      have hz := hw {0} hI0 2\n      simpa [h01_0, h02_0, h] using hz\n    · left\n      have hz := hw {0} hI0 1\n      simpa [h01_0, h02_0, h] using hz\n  have hac : c (0, 1) = 0 ∨ c (1, 2) = 0 := by\n    rcases (hτ (0, 2) (by simp) {1} hI1).1 with h | h\n    · right\n      have hz := hw {1} hI1 2\n      simpa [h01_1, h12_1, h] using hz\n    · left\n      have hz := hw {1} hI1 0\n      simpa [h01_1, h12_1, h] using hz\n  have hbc : c (0, 2) = 0 ∨ c (1, 2) = 0 := by\n    rcases (hτ (0, 1) (by simp) {2} hI2).1 with h | h\n    · right\n      have hz := hw {2} hI2 1\n      simpa [h02_2, h12_2, h] using hz\n    · left\n      have hz := hw {2} hI2 0\n      simpa [h02_2, h12_2, h] using hz\n  have hsum : c (0, 1) + c (0, 2) + c (1, 2) = 0 := by\n    have hz0 := hw ∅ (by simp) 0\n    have hz1 := hw ∅ (by simp) 1\n    have hz2 := hw ∅ (by simp) 2\n    rcases (hτ (0, 1) (by simp) ∅ (by simp)).1 with h01 | h01 <;>\n      rcases (hτ (0, 2) (by simp) ∅ (by simp)).1 with h02 | h02 <;>\n      rcases (hτ (1, 2) (by simp) ∅ (by simp)).1 with h12 | h12 <;>\n      simp [h01, h02, h12] at hz0 hz1 hz2 <;> linarith\n  have ha : c (0, 1) = 0 := by\n    rcases hab with ha | hb <;> rcases hac with ha' | hc <;>\n      rcases hbc with hb' | hc' <;> linarith\n  have hb : c (0, 2) = 0 := by\n    rcases hab with ha | hb <;> rcases hac with ha' | hc <;>\n      rcases hbc with hb' | hc' <;> linarith\n  have hc : c (1, 2) = 0 := by\n    rcases hab with ha | hb <;> rcases hac with ha' | hc <;>\n      rcases hbc with hb' | hc' <;> linarith\n  simp only [List.mem_cons, List.not_mem_nil, or_false] at he\n  rcases he with rfl | rfl | rfl\n  · exact ha\n  · exact hb\n  · exact hc\n",
  "localCheck": "passed",
  "changed": false,
  "reasoning": "Status: the row is open. In gaps.json (updated_at 2026-11-23T23:48:47.295Z) L-meta-457 is in gaps and not in checked or withdrawn, so it is not closed. The theorem statement in the handed file is the same as the posted desk statement once whitespace is normalized. File, module and imports match the row: lean/PEqualNP/Outside/L_meta_457.lean, PEqualNP.Outside.L_meta_457, PEqualNP.Defs plus Mathlib. The file has no comments, no # commands, no native_decide and no sorry, and its one theorem comes last. The handed file was checked unchanged (sha256 3d745aa71d03b1c26cc2f1694f55c2efb30db215193943dd817d2268702155c4). It used Lean v4.36.0 and Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842, as pinned at project commit e3b1828a. The check command was node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_457.lean <desk statement file> check. Result: exit 0, ACCEPTED (check): PEqualNP.Outside.L_meta_457, axioms [Quot.sound, propext, Classical.choice]. The kernel re-checked 1198 constants. Key argument, which holds for any typing τ: write a=c(0,1), b=c(0,2), d=c(1,2). Take the singleton independent set {0}. The edges at vertex 0 must point to their other ends, so τ(0,1)=1 and τ(0,2)=2. Edge (1,2) points to 1 or 2. If it points to 2, vertex 1 receives only edge (0,1), so its zero in-degree equation gives a=0. If it points to 1, vertex 2 receives only edge (0,2), so b=0. So {0} gives a=0 or b=0. In the same way {1} gives a=0 or d=0, and {2} gives b=0 or d=0. So at most one of a, b, d is nonzero. For the empty set, each edge goes to one endpoint, so the three vertex equations together cover each edge once. Their sum gives a+b+d=0, and the proof checks all 8 orientations. Together these force a=b=d=0. Every case split is checked in Lean; finite membership facts use the kernel decide tactic.",
  "sources": [
    "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/lean-toolchain",
    "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/lakefile.toml",
    "https://api.imd.fun/artifacts/284e68de0211e2471cfefea1f27952030011d4795314e107924dda691e86516f"
  ]
}