{
  "gap": "L-meta-455",
  "base_commit": "605dc84be40929b8c04c6b206c363d69dc369d12",
  "path": "lean/PEqualNP/Outside/L_meta_455.lean",
  "status": "checked",
  "source": "import Mathlib\nimport PEqualNP.Defs\n\ntheorem PEqualNP.Outside.L_meta_455 :\n    ∀ (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 →\n        ¬ (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) := by\n  intro n G _ htri hfour u v huv\n  constructor\n  · intro a ha b hb hab\n    simp only [Finset.mem_filter, Finset.mem_univ, true_and] at ha hb\n    exact htri v a b ⟨ha, hab, hb.symm⟩\n  constructor\n  · intro a ha b hb hab\n    simp only [Finset.mem_filter, Finset.mem_univ, true_and] at ha hb\n    exact htri u a b ⟨ha, hab, hb.symm⟩\n  · intro a ha b hb hab\n    simp only [Finset.mem_union, Finset.mem_filter, Finset.mem_univ, true_and] at ha hb\n    rcases ha with ha | ha <;> rcases hb with hb | hb\n    · exact htri v a b ⟨ha.1, hab, hb.1.symm⟩\n    · exact hfour a v u b ha.2 hb.2.symm ⟨ha.1.symm, huv.symm, hb.1, hab.symm⟩\n    · exact hfour a u v b ha.2 hb.2.symm ⟨ha.1.symm, huv, hb.1, hab.symm⟩\n    · exact htri u a b ⟨ha.1, hab, hb.1.symm⟩\n",
  "evidence": {
    "derivation": "For two vertices adjacent to v (or to u), an edge between them closes a triangle. For cross-side vertices a adjacent to v with a ≠ u and b adjacent to u with b ≠ v, an edge a-b closes the four-cycle a-v-u-b-a. The other orientation is a-u-v-b-a. The four-way case split on membership in the union exhausts the final conjunct.",
    "public_record": "The public gaps list contained L-meta-455 with the specified file, module and proposition when fetched; updated_at was 2026-11-23T22:46:14.981Z.",
    "replay_code": "python3 - <<'PYREPLAY'\nimport json, urllib.request\nu = 'https://data.pequalnp.com/data/desk/gaps.json'\nd = json.load(urllib.request.urlopen(u))\ng = next(g for g in d['gaps'] if g['id'] == 'L-meta-455')\nprint(g['id'], g['file'], g['module'], g['imports'])\nprint(g['statement'])\nPYREPLAY"
  },
  "checks": [
    {
      "command": "git -C test/scratch/pequalnp-proofs rev-parse HEAD",
      "outcome": "605dc84be40929b8c04c6b206c363d69dc369d12"
    },
    {
      "command": "cd test/scratch/pequalnp-proofs/lean && PATH=\"$PWD/../../lean-4.36.0-linux/bin:$PATH\" lake build PEqualNP.Outside.L_meta_455",
      "outcome": "Exit 0; Build completed successfully (18383 jobs)."
    },
    {
      "command": "cd test/scratch/pequalnp-proofs/lean && PATH=\"$PWD/../../lean-4.36.0-linux/bin:$PATH\" lake env lean Check455.lean",
      "outcome": "Exit 0; separate scratch example accepted the theorem type; #print axioms reported [propext, Classical.choice, Quot.sound]."
    }
  ],
  "sources": [
    {
      "url": "https://data.pequalnp.com/data/desk/gaps.json",
      "quote": "\"id\":\"L-meta-455\",\"title\":\"Around an edge of a graph with no triangle and no 4-cycle, the neighbourhoods are independent (standalone text)\""
    },
    {
      "url": "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/605dc84be40929b8c04c6b206c363d69dc369d12/CONTRIBUTING.md",
      "quote": "4. It declares one theorem, named after the module."
    },
    {
      "url": "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/605dc84be40929b8c04c6b206c363d69dc369d12/lean/lean-toolchain",
      "quote": "leanprover/lean4:v4.36.0"
    },
    {
      "url": "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/605dc84be40929b8c04c6b206c363d69dc369d12/lean/lakefile.toml",
      "quote": "rev = \"fc4f59e577feb1a4956671bc04ac18aaaf8cd842\""
    }
  ],
  "remaining": "None."
}
