{"summary":"CD07 proved in Lean that no generated output in the first nine derived wires is the Petersen edge function, even without the novelty, head and pair-exclusion premises. Singleton/edge tests force all ten projections into any terminal support. At nine gates the root operands would have disjoint supports, which the connected graph and its odd cycle preclude for nonconstant operands. Lean also certifies that the unrestricted head premise is vacuous, all premises are jointly satisfiable at length 18, and edge/minimal-true and maximal-false rows determine any monotone candidate. No full proof or counterexample for L-meta-18647 was found. Boundary SAT returned UNSAT for length 9 and an ordered length-10 encoding. The baseline length-10 and length-18 runs were inconclusive. The original statement hash matches the capsule and public record. Lean build, module replay, axiom audit and both outside guards passed. The official backend exited 137 on both check runs.","agentId":"CD07","strategyId":"degenerate-boundaries","status":"supporting-lemma","target":{"id":"L-meta-18647","kind":"helper","module":"PEqualNP.Outside.L_meta_18647","file":"lean/PEqualNP/Outside/L_meta_18647.lean","exactStatement":"have x1 : List (Fin (10 : ℕ) × Fin (10 : ℕ)) := [((0 : Fin (10 : ℕ)), (1 : Fin (10 : ℕ))), ((1 : Fin (10 : ℕ)), (2 : Fin (10 : ℕ))), ((2 : Fin (10 : ℕ)), (3 : Fin (10 : ℕ))), ((3 : Fin (10 : ℕ)), (4 : Fin (10 : ℕ))), ((4 : Fin (10 : ℕ)), (0 : Fin (10 : ℕ))), ((0 : Fin (10 : ℕ)), (5 : Fin (10 : ℕ))), ((1 : Fin (10 : ℕ)), (6 : Fin (10 : ℕ))), ((2 : Fin (10 : ℕ)), (7 : Fin (10 : ℕ))), ((3 : Fin (10 : ℕ)), (8 : Fin (10 : ℕ))), ((4 : Fin (10 : ℕ)), (9 : Fin (10 : ℕ))), ((5 : Fin (10 : ℕ)), (7 : Fin (10 : ℕ))), ((7 : Fin (10 : ℕ)), (9 : Fin (10 : ℕ))), ((9 : Fin (10 : ℕ)), (6 : Fin (10 : ℕ))), ((6 : Fin (10 : ℕ)), (8 : Fin (10 : ℕ))), ((8 : Fin (10 : ℕ)), (5 : Fin (10 : ℕ)))]; ∀ (x2 : List ((Fin (10 : ℕ) → Bool) → Bool)),   x2.length ≤ (18 : ℕ) →     (∀ (x4 : Fin x2.length),         have x5 : List ((Fin (10 : ℕ) → Bool) → Bool) := ((fun (x5 : Fin (10 : ℕ) → Bool) => Bool.false) :: (fun (x5 : Fin (10 : ℕ) → Bool) => Bool.true) :: List.ofFn fun (x5 : Fin (10 : ℕ)) (x6 : Fin (10 : ℕ) → Bool) => x6 x5) ++ [fun (x5 : Fin (10 : ℕ) → Bool) => x5 (0 : Fin (10 : ℕ)) && x5 (1 : Fin (10 : ℕ))] ++ List.take (↑x4) x2;         x2.get x4 ∉ x5 ∧ ∃ x6 ∈ x5, ∃ x7 ∈ x5, (x2.get x4 = fun (x8 : Fin (10 : ℕ) → Bool) => x6 x8 && x7 x8) ∨ x2.get x4 = fun (x8 : Fin (10 : ℕ) → Bool) => x6 x8 || x7 x8) →       (∀ x5 ∈ x2.head?, ∃ (x7 : (Fin (10 : ℕ) → Bool) → Bool) (x8 : (Fin (10 : ℕ) → Bool) → Bool), x5 = fun (x9 : Fin (10 : ℕ) → Bool) => x7 x9 || x8 x9) → (∀ x6 ∈ x2, ∀ (x8 x9 : Fin (10 : ℕ)), x8 ≠ x9 → (¬(x1.any fun (x11 : Fin (10 : ℕ) × Fin (10 : ℕ)) => Decidable.decide ((x8, x9) = x11 ∨ (x9, x8) = x11)) = Bool.true → x6 ≠ fun (x12 : Fin (10 : ℕ) → Bool) => x12 x8 && x12 x9) ∧ x6 ≠ fun (x11 : Fin (10 : ℕ) → Bool) => x11 x8 || x11 x9) → (fun (x7 : Fin (10 : ℕ) → Bool) => x1.any fun (x8 : Fin (10 : ℕ) × Fin (10 : ℕ)) => x7 x8.1 && x7 x8.2) ∉ x2","statementSha256":"d6b0ea1cb0acf29a540e253aee4295d896fe42286ed3f9e266a956da19cc971e","allowedImports":["PEqualNP.Defs"],"capsuleSha256":"f817777448e5acd46bd64359cdaf866097e2fc2c42e54e65f731f6799bc80eeb","sources":["https://data.pequalnp.com/data/lemma/L-meta-18647.fdb8d5f3407a.json","https://api.imd.fun/artifacts/f817777448e5acd46bd64359cdaf866097e2fc2c42e54e65f731f6799bc80eeb"]},"env":{"commit":"8dec1cacf8aab169f12858fff3a2e945fea7a880","pins":{"lean":{"toolchain":"leanprover/lean4:v4.36.0","releaseSha256":"2b7ab1ed8b92d2e6abfaf41344823b510064dbc9c0260cac73eb496ab2dea6eb"},"mathlib":"fc4f59e577feb1a4956671bc04ac18aaaf8cd842","plausible":"054b228ce0ac61d767c6e71ba73a24728f191b72","LeanSearchClient":"4fb58e749ef3fc0395fe274f6cab70c2ea85f1c9","importGraph":"8370c640afcd1cc3fb1cb9bf1560cc66eafee5e0","proofwidgets":"2f0f3520daeac2d9310ff25b7a877a0e5cdaa203","aesop":"66ff77cf0c4c898799e4b94d14db55f7a02d0c5a","Qq":"ff055a2fcc835935e0ae607339b455a5f5896b4b","batteries":"b4b25a3886a16daacaf6615c2eea7170a6e8f458","Cli":"50810f72af7618bee62fe9800dc26e806c188703"},"clean-run source":"#!/bin/sh\nset -eu\nbase=$(CDPATH= cd -- \"$(dirname -- \"$0\")\" && pwd)\ntoolchain=\"$base/runtime/lean-4.36.0-linux/bin\"\nexec env -i PATH=\"$toolchain:/usr/local/bin:/usr/bin:/bin\" \\\n  GIT_CONFIG_NOSYSTEM=1 GIT_CONFIG_GLOBAL=/dev/null GIT_TERMINAL_PROMPT=0 GIT_CEILING_DIRECTORIES=\"$base\" \\\n  CURL_HOME=\"$base/tmp\" XDG_CONFIG_HOME=\"$base/tmp\" XDG_CACHE_HOME=\"$base/cache\" TMPDIR=\"$base/tmp\" \\\n  HTTPS_PROXY=\"${HTTPS_PROXY-}\" HTTP_PROXY=\"${HTTP_PROXY-}\" NO_PROXY=\"${NO_PROXY-}\" \\\n  MATHLIB_CACHE_DIR=\"$base/cache/mathlib\" LAKE_CACHE_DIR=\"$base/cache/lake\" LAKE_ARTIFACT_CACHE=false \\\n  PEQUALNP_HOME=\"$base/queue\" PEQUALNP_REAL_LAKE=\"$toolchain/lake\" LEAN_NUM_THREADS=5 \"$@\"\n","fetchPinsSource":"from concurrent.futures import ThreadPoolExecutor\nimport json\nfrom pathlib import Path\nimport subprocess\n\npins = json.loads(Path(\"capsule.json\").read_text())[\"capsule\"][\"environment\"][\"pins\"]\nmanifest = json.loads(Path(\"repo/lean/lake-manifest.json\").read_text())\nassert {p[\"name\"]: p[\"rev\"] for p in manifest[\"packages\"]} == {k: v for k, v in pins.items() if k != \"lean\"}\nassert Path(\"repo/lean/lean-toolchain\").read_text().strip() == pins[\"lean\"][\"toolchain\"]\n\ndef fetch(p):\n    url, rev, name = (p[k] for k in (\"url\", \"rev\", \"name\"))\n    assert url.startswith(\"https://github.com/\")\n    dest = Path(\"repo/lean/.lake/packages\") / name\n    dest.mkdir(parents=True, exist_ok=True)\n    def git(*args):\n        return subprocess.check_output([\"git\", \"-C\", dest, \"-c\", \"credential.helper=\", \"-c\", \"core.hooksPath=/dev/null\", *args], text=True).strip()\n    git(\"init\", \"-q\")\n    git(\"remote\", \"add\", \"origin\", url)\n    git(\"fetch\", \"--depth=1\", \"origin\", rev)\n    git(\"checkout\", \"--detach\", \"FETCH_HEAD\")\n    assert git(\"rev-parse\", \"HEAD\") == rev\n    return (name, rev)\n\nwith ThreadPoolExecutor(max_workers=9) as pool:\n    for result in pool.map(fetch, manifest[\"packages\"]):\n        print(*result, flush=True)\n","commands run":[{"command":"curl -fsSL https://api.imd.fun/artifacts/f817777448e5acd46bd64359cdaf866097e2fc2c42e54e65f731f6799bc80eeb -o capsule.json","exitCode":0,"observation":"HTTP body byte-identical to the provided after-p4 input by SHA-256."},{"command":"curl -fsSL https://data.pequalnp.com/data/lemma/L-meta-18647.fdb8d5f3407a.json -o public.json","exitCode":0,"observation":"formal_statement matched statement.txt byte for byte."},{"command":"git init repo; git -C repo -c credential.helper= fetch --depth=1 https://github.com/open-goat/pequalnp-proofs.git 8dec1cacf8aab169f12858fff3a2e945fea7a880; git -C repo checkout --detach FETCH_HEAD","exitCode":0,"observation":"Credential prompting and hooks were disabled. Pinned detached HEAD matched."},{"command":"./clean-run python3 fetch-pins.py","exitCode":0,"observation":"All nine package HEADs matched the input capsule and unchanged Lake manifest."},{"command":"curl -fL https://github.com/leanprover/lean4/releases/download/v4.36.0/lean-4.36.0-linux.tar.zst -o runtime/lean-4.36.0-linux.tar.zst","exitCode":0},{"command":"sha256sum -c (archive and expected hash in the Lean pin)","exitCode":0,"observation":"Archive hash matched 2b7ab1ed8b92d2e6abfaf41344823b510064dbc9c0260cac73eb496ab2dea6eb."},{"command":"tar --no-same-owner -I zstd -xf runtime/lean-4.36.0-linux.tar.zst -C runtime-ownership-check","exitCode":0,"observation":"Validated extraction recipe. Initial tar extracted the files but returned 2 trying to set archive ownership. For a fresh rebuild use --no-same-owner and extract into runtime/."},{"command":"./clean-run lean --version","exitCode":0,"observation":"Lean 4.36.0 Release, commit 611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9."},{"command":"cd repo/lean && ../../clean-run lake exe cache get","exitCode":0,"observation":"9117 files downloaded and decompressed."},{"command":"cd repo/lean && ../../clean-run lake build +PEqualNP.Defs","exitCode":0,"observation":"Build completed successfully (5149 jobs)."},{"command":"cd repo/lean && ../../clean-run lake build checklemma","exitCode":0,"observation":"Build completed successfully (5 jobs)."},{"command":"git -C repo diff --exit-code HEAD","exitCode":0,"observation":"No tracked upstream checker, definitions or configuration changes."}],"checkerSourceSha256":{".github/scripts/outside-guard.mjs":"738adeb889cb829a2dc359d970249e7723d5698d87ccd6819b2f82c6a83bf535","tools/check-lean.mjs":"c8fc4b209e678f76adc3cf4e988be55675ef9384e44cd388203c95c6afb68846","lean/CheckLemma.lean":"86997b026ef2b80d738df77f4c214166cf5b0b2ea8cc98d4bd3c8b5e420dbdd5"},"definitionsAudit":[{"module":"PEqualNP.Defs","actualSha256":"76a3954170372cea159b1b31fcdd01f7aeffe00286e88964ebae2bc34b1971c5","observation":"Digest matched capsule. The capsule excerpt is the first three of 86 direct imports."},{"module":"Init.Data.List.Basic","actualSha256":"566e74dd5c3e72b2111af000b8bd1552f1aaffe29be317ba01bc91c9e5b55293","observation":"Digest matched capsule."},{"module":"Init.Data.List.OfFn","actualSha256":"b91368ac7239f0171498250d1de0e270102c5f8431fa5723a449c83b02807c1b","capsuleSha256":"bcfcfe7bd80c99423e5d62d7848d158684517bc86b15ba9dd75220d075cce4dc","observation":"Source digests differ. The executable release archive matched its pin, and the quoted ofFn declaration matches the source in that release."}],"rebuild":"Use isolated scratch. Fetch the pinned detached project and nine manifest packages, verify and extract the Lean release, and initialize the pinned Mathlib cache and definitions. Insert artifacts[0].content at artifacts[0].path in the scratch project. Recreate statement.txt from target.exactStatement and short-statement.txt from artifacts[0].exactStatement with no trailing newline. For the guards write imports.json from target.allowedImports and create the guard output directory. The proof adds zero dependencies beyond the pinned project and Mathlib."},"artifacts":[{"path":"lean/PEqualNP/Outside/L_meta_18647.lean","content":"import PEqualNP.Defs\nimport Mathlib.Data.Finset.Card\nimport Mathlib.Data.Fintype.Pi\nimport Mathlib.Order.Preorder.Finite\nimport Mathlib.Tactic.FinCases\n\nnamespace PEqualNP.Outside.L_meta_18647\n\nabbrev Wire := (Fin 10 → Bool) → Bool\n\ndef edges : List (Fin 10 × Fin 10) :=\n  [(0,1), (1,2), (2,3), (3,4), (4,0), (0,5), (1,6), (2,7), (3,8), (4,9),\n   (5,7), (7,9), (9,6), (6,8), (8,5)]\n\ndef edgeFn : Wire := fun x => edges.any fun e => x e.1 && x e.2\n\ndef proj (i : Fin 10) : Wire := fun x => x i\n\ndef seed : Wire := fun x => x 0 && x 1\n\ndef base : List Wire := ((fun _ => false) :: (fun _ => true) :: List.ofFn proj) ++ [seed]\n\ndef Binary {α : Type} (w a b : α → Bool) : Prop :=\n  (w = fun x => a x && b x) ∨ (w = fun x => a x || b x)\n\ndef Generated {α : Type} (inputs gates : List (α → Bool)) : Prop :=\n  ∀ i : Fin gates.length,\n    ∃ a ∈ inputs ++ gates.take i, ∃ b ∈ inputs ++ gates.take i, Binary (gates.get i) a b\n\ndef Supports {α : Type} (s : Finset (α → Bool)) (w : α → Bool) : Prop :=\n  ∀ x y, (∀ v ∈ s, v x = v y) → w x = w y\n\nprivate lemma generated_snoc {α : Type} {inputs gates : List (α → Bool)} {w : α → Bool}\n    (h : Generated inputs (gates ++ [w])) :\n    Generated inputs gates ∧ ∃ a ∈ inputs ++ gates, ∃ b ∈ inputs ++ gates, Binary w a b := by\n  constructor\n  · intro i\n    have hi : (i : Nat) < (gates ++ [w]).length := by\n      have := i.isLt\n      simp\n    simpa [List.take_append_of_le_length (Nat.le_of_lt i.isLt), List.get_eq_getElem,\n      List.getElem_append_left i.isLt] using h ⟨i, hi⟩\n  · have hi : gates.length < (gates ++ [w]).length := by simp\n    simpa [List.get_eq_getElem, List.getElem_append_right] using h ⟨gates.length, hi⟩\n\nprivate def expand {α : Type} [DecidableEq α] (w a b : α) (s : Finset α) : Finset α :=\n  if w ∈ s then insert a (insert b (s.erase w)) else s\n\nprivate lemma expand_union {α : Type} [DecidableEq α] (w a b : α) (s t : Finset α) :\n    expand w a b s ∪ expand w a b t = expand w a b (s ∪ t) := by\n  ext v\n  by_cases hs : w ∈ s <;> by_cases ht : w ∈ t <;> by_cases h : v = w <;>\n    simp [expand, hs, ht, h]\n\nprivate lemma expand_card {α : Type} [DecidableEq α] (w a b : α) (s : Finset α) :\n    (expand w a b s).card ≤ s.card + 1 := by\n  by_cases h : w ∈ s\n  · rw [expand, ite_eq_left h]\n    have h₁ := Finset.card_insert_le a (insert b (s.erase w))\n    have h₂ := Finset.card_insert_le b (s.erase w)\n    have h₃ := Finset.card_erase_add_one h\n    omega\n  · simp [expand, h]\n\nprivate lemma expand_tight {α : Type} [DecidableEq α] {w a b : α} {s : Finset α}\n    (h : (expand w a b s).card = s.card + 1) :\n    a ∉ s.erase w ∧ b ∉ s.erase w := by\n  have hm : w ∈ s := by\n    by_contra hn\n    simp [expand, hn] at h\n  rw [expand, ite_eq_left hm] at h\n  have he := Finset.card_erase_add_one hm\n  constructor\n  · intro ha\n    rw [Finset.insert_eq_of_mem (Finset.mem_insert_of_mem ha)] at h\n    have hl := Finset.card_insert_le b (s.erase w)\n    omega\n  · intro hb\n    rw [Finset.insert_eq_of_mem hb] at h\n    have hl := Finset.card_insert_le a (s.erase w)\n    omega\n\nprivate lemma expand_disjoint {α : Type} [DecidableEq α] {w a b : α} {s t : Finset α}\n    (hc : (expand w a b (s ∪ t)).card = (s ∪ t).card + 1)\n    (hd : Disjoint s t) : Disjoint (expand w a b s) (expand w a b t) := by\n  have htight := expand_tight hc\n  have left {p q : Finset α} (hp : w ∈ p) (hq : w ∉ q) (h : Disjoint p q)\n      (hu : p ∪ q = s ∪ t) : Disjoint (expand w a b p) (expand w a b q) := by\n    rw [expand, ite_eq_left hp, expand, ite_eq_right hq]\n    refine Finset.disjoint_left.mpr fun v hv hqv => ?_\n    rcases (show v = a ∨ v = b ∨ v ≠ w ∧ v ∈ p by simpa using hv) with rfl | rfl | ⟨_, hpv⟩\n    · exact htight.1 (Finset.mem_erase.mpr ⟨fun e => hq (e ▸ hqv),\n        hu ▸ Finset.mem_union_right p hqv⟩)\n    · exact htight.2 (Finset.mem_erase.mpr ⟨fun e => hq (e ▸ hqv),\n        hu ▸ Finset.mem_union_right p hqv⟩)\n    · exact Finset.disjoint_left.mp h hpv hqv\n  by_cases hs : w ∈ s\n  · exact left hs (fun ht => Finset.disjoint_left.mp hd hs ht) hd rfl\n  · by_cases ht : w ∈ t\n    · exact (left ht hs hd.symm (Finset.union_comm t s)).symm\n    · simpa [expand, hs, ht] using hd\n\nprivate lemma expand_mem {α : Type} [DecidableEq (α → Bool)]\n    {w a b : α → Bool} {s : Finset (α → Bool)} {l : List (α → Bool)}\n    (ha : a ∈ l) (hb : b ∈ l) (hs : ∀ v ∈ s, v ∈ l ++ [w]) :\n    ∀ v ∈ expand w a b s, v ∈ l := by\n  intro v hv\n  by_cases h : w ∈ s\n  · rcases (show v = a ∨ v = b ∨ v ≠ w ∧ v ∈ s by simpa [expand, h] using hv) with\n      rfl | rfl | ⟨hne, hv⟩\n    · exact ha\n    · exact hb\n    · simpa [hne] using hs v hv\n  · have hv' : v ∈ s := by simpa [expand, h] using hv\n    have hne : v ≠ w := fun e => h (e ▸ hv')\n    simpa [hne] using hs v hv'\n\nprivate lemma expand_support {α : Type} [DecidableEq (α → Bool)]\n    {w a b : α → Bool} {s t : Finset (α → Bool)} (h : Binary w a b)\n    (ht : ∀ v ∈ expand w a b s, Supports t v) :\n    ∀ v ∈ s, Supports t v := by\n  intro v hv x y heq\n  by_cases hw : w ∈ s\n  · by_cases e : v = w\n    · subst v\n      have ea := ht a (by simp [expand, hw]) x y heq\n      have eb := ht b (by simp [expand, hw]) x y heq\n      rcases h with h' | h' <;> rw [h'] <;> exact congrArg₂ _ ea eb\n    · exact ht v (by simp [expand, hw, e, hv]) x y heq\n  · exact ht v (by simpa [expand, hw] using hv) x y heq\n\nprivate lemma terminal_pair {α : Type} [DecidableEq (α → Bool)] {inputs gates : List (α → Bool)}\n    (h : Generated inputs gates) (s t : Finset (α → Bool))\n    (hs : ∀ v ∈ s, v ∈ inputs ++ gates) (ht : ∀ v ∈ t, v ∈ inputs ++ gates) :\n    ∃ u v : Finset (α → Bool),\n      (∀ k ∈ u ∪ v, k ∈ inputs) ∧\n      (u ∪ v).card ≤ (s ∪ t).card + gates.length ∧\n      (∀ k ∈ s, Supports u k) ∧ (∀ k ∈ t, Supports v k) ∧\n      ((u ∪ v).card = (s ∪ t).card + gates.length → Disjoint s t → Disjoint u v) := by\n  induction gates using List.reverseRecOn generalizing s t with\n  | nil =>\n    refine ⟨s, t, ?_, by simp, ?_, ?_, fun _ h => h⟩\n    · intro k hk\n      rcases Finset.mem_union.mp hk with h | h\n      · simpa using hs k h\n      · simpa using ht k h\n    · exact fun _ hk _ _ e => e _ hk\n    · exact fun _ hk _ _ e => e _ hk\n  | append_singleton gates w ih =>\n    obtain ⟨hg, a, ha, b, hb, hw⟩ := generated_snoc h\n    have hse := expand_mem ha hb (by simpa [List.append_assoc] using hs)\n    have hte := expand_mem ha hb (by simpa [List.append_assoc] using ht)\n    obtain ⟨u, v, huv, hc, hu, hv, hd⟩ := ih hg _ _ hse hte\n    have hgrow := expand_card w a b (s ∪ t)\n    rw [expand_union] at hc hd\n    refine ⟨u, v, huv, ?_, expand_support hw hu, expand_support hw hv, ?_⟩\n    · simp only [List.length_append, List.length_singleton]\n      omega\n    · intro heq hdis\n      simp only [List.length_append, List.length_singleton] at heq\n      have he : (expand w a b (s ∪ t)).card = (s ∪ t).card + 1 := by omega\n      apply hd ?_ (expand_disjoint he hdis)\n      omega\n\nprivate lemma terminal_support {α : Type} {inputs gates : List (α → Bool)}\n    (h : Generated inputs gates) (s : Finset (α → Bool))\n    (hs : ∀ w ∈ s, w ∈ inputs ++ gates) :\n    ∃ t : Finset (α → Bool), (∀ w ∈ t, w ∈ inputs) ∧ t.card ≤ s.card + gates.length ∧\n      ∀ w ∈ s, Supports t w := by\n  classical\n  obtain ⟨t, u, htu, hc, ht, _, _⟩ := terminal_pair h s ∅ hs (by simp)\n  refine ⟨t, fun w hw => htu w (Finset.mem_union_left u hw), ?_, ht⟩\n  exact (Finset.card_le_card (Finset.subset_union_left : t ⊆ t ∪ u)).trans (by simpa using hc)\n\ndef neighbor (i : Fin 10) : Fin 10 :=\n  ![4, 2, 3, 2, 3, 7, 9, 5, 6, 7] i\n\ndef low (i : Fin 10) (j : Fin 10) : Bool := decide (j = neighbor i)\ndef high (i : Fin 10) (j : Fin 10) : Bool := decide (j = i ∨ j = neighbor i)\n\nprivate lemma edge_separates (i : Fin 10) :\n    edgeFn (low i) = false ∧ edgeFn (high i) = true ∧ seed (low i) = seed (high i) := by\n  fin_cases i <;> decide +kernel\n\nprivate lemma proj_agrees {i j : Fin 10} (h : j ≠ i) : proj j (low i) = proj j (high i) := by\n  simp [proj, low, high, h]\n\nprivate lemma must_contain_projection {s : Finset Wire} (hb : ∀ w ∈ s, w ∈ base)\n    (hs : Supports s edgeFn) (i : Fin 10) : proj i ∈ s := by\n  by_contra hm\n  have he : ∀ w ∈ s, w (low i) = w (high i) := by\n    intro w hw\n    have h := hb w hw\n    simp only [base, List.mem_append, List.mem_cons, List.not_mem_nil, or_false, List.mem_ofFn] at h\n    rcases h with ((rfl | rfl | ⟨j, rfl⟩) | rfl)\n    · rfl\n    · rfl\n    · exact proj_agrees (fun e => hm (e ▸ hw))\n    · exact (edge_separates i).2.2\n  have heq := hs _ _ he\n  rw [(edge_separates i).1, (edge_separates i).2.1] at heq\n  cases heq\n\nprivate lemma proj_injective : Function.Injective proj := by\n  intro i j h\n  by_contra hne\n  have he := congrFun h (fun k => decide (k = i))\n  simp [proj, Ne.symm hne] at he\n\nprivate def projections : Finset Wire := Finset.univ.map ⟨proj, proj_injective⟩\n\nprivate lemma card_projections : projections.card = 10 := by simp [projections]\n\nprivate lemma projection_mem (i : Fin 10) : proj i ∈ projections :=\n  Finset.mem_map.mpr ⟨i, Finset.mem_univ _, rfl⟩\n\nprivate lemma projections_subset {s : Finset Wire} (hb : ∀ w ∈ s, w ∈ base)\n    (hs : Supports s edgeFn) : projections ⊆ s := by\n  intro w hw\n  obtain ⟨i, _, rfl⟩ := Finset.mem_map.mp hw\n  exact must_contain_projection hb hs i\n\nprivate lemma excluded_short {gates : List Wire} (hlen : gates.length ≤ 8)\n    (h : Generated base gates) : edgeFn ∉ base ++ gates := by\n  classical\n  intro hm\n  obtain ⟨s, hs, hc, he⟩ := terminal_support h {edgeFn} (by simpa using hm)\n  have hcard := Finset.card_le_card (projections_subset hs (he edgeFn (by simp)))\n  simp only [card_projections] at hcard\n  simp at hc\n  omega\n\ndef row (i j : Fin 10) (k : Fin 10) : Bool := decide (k = i ∨ k = j)\n\nprivate lemma singletons_false (i : Fin 10) : edgeFn (row i i) = false := by\n  fin_cases i <;> decide +kernel\n\nprivate lemma edge_true {i j : Fin 10} (he : (i,j) ∈ edges) :\n    edgeFn (row i j) = true :=\n  List.any_eq_true.mpr ⟨(i,j), he, by simp [row]⟩\n\nprivate lemma forget_right {s : Finset Wire} (hs : s ⊆ projections) {w : Wire}\n    (hw : Supports s w) {i j : Fin 10} (hj : proj j ∉ s) :\n    w (row i j) = w (row i i) := by\n  apply hw\n  intro v hv\n  obtain ⟨k, _, rfl⟩ := Finset.mem_map.mp (hs hv)\n  have hne : k ≠ j := fun e => hj (e ▸ hv)\n  simp [row, proj, hne]\n\nprivate lemma forget_left {s : Finset Wire} (hs : s ⊆ projections) {w : Wire}\n    (hw : Supports s w) {i j : Fin 10} (hi : proj i ∉ s) :\n    w (row i j) = w (row j j) := by\n  have e : row i j = row j i := funext fun k => by simp [row, or_comm]\n  rw [e]\n  exact forget_right hs hw hi\n\nprivate lemma connected_colors (c : Fin 10 → Bool)\n    (h : ∀ i j, (i,j) ∈ edges → c i = c j) : ∀ i, c i = c 0 := by\n  have h1 : c 1 = c 0 := (h 0 1 (by decide +kernel)).symm\n  have h2 : c 2 = c 0 := (h 1 2 (by decide +kernel)).symm.trans h1\n  have h3 : c 3 = c 0 := (h 2 3 (by decide +kernel)).symm.trans h2\n  have h4 : c 4 = c 0 := (h 3 4 (by decide +kernel)).symm.trans h3\n  have h5 : c 5 = c 0 := (h 0 5 (by decide +kernel)).symm\n  have h6 : c 6 = c 0 := (h 1 6 (by decide +kernel)).symm.trans h1\n  have h7 : c 7 = c 0 := (h 2 7 (by decide +kernel)).symm.trans h2\n  have h8 : c 8 = c 0 := (h 3 8 (by decide +kernel)).symm.trans h3\n  have h9 : c 9 = c 0 := (h 4 9 (by decide +kernel)).symm.trans h4\n  intro i\n  fin_cases i <;> first | rfl | assumption\n\nprivate lemma odd_cycle (c : Fin 10 → Bool) :\n    ∃ i j, (i,j) ∈ edges ∧ c i = c j := by\n  by_contra hc\n  have neq (i j : Fin 10) (he : (i,j) ∈ edges) : c i ≠ c j :=\n    fun heq => hc ⟨i,j,he,heq⟩\n  have h01 := neq 0 1 (by decide +kernel)\n  have h12 := neq 1 2 (by decide +kernel)\n  have h23 := neq 2 3 (by decide +kernel)\n  have h34 := neq 3 4 (by decide +kernel)\n  have h40 := neq 4 0 (by decide +kernel)\n  cases e0 : c 0 <;> cases e1 : c 1 <;> cases e2 : c 2 <;>\n    cases e3 : c 3 <;> cases e4 : c 4 <;> simp_all\n\nprivate lemma one_constant {s t : Finset Wire} {a b : Wire}\n    (hsu : s ∪ t = projections) (hd : Disjoint s t)\n    (ha : Supports s a) (hb : Supports t b) (h : Binary edgeFn a b) :\n    (∃ k : Bool, a = fun _ => k) ∨ (∃ k : Bool, b = fun _ => k) := by\n  classical\n  have hs : s ⊆ projections := hsu ▸ Finset.subset_union_left\n  have ht : t ⊆ projections := hsu ▸ Finset.subset_union_right\n  let c (i : Fin 10) : Bool := decide (proj i ∈ s)\n  have cs (i : Fin 10) : c i = true ↔ proj i ∈ s := by simp [c]\n  have ct (i : Fin 10) : c i = false ↔ proj i ∈ t := by\n    have hmem : proj i ∈ s ∨ proj i ∈ t :=\n      Finset.mem_union.mp (hsu ▸ projection_mem i)\n    constructor\n    · intro hc\n      exact hmem.resolve_left (by simpa [c] using hc)\n    · intro hm\n      simpa [c] using (show proj i ∉ s from fun hs' => Finset.disjoint_left.mp hd hs' hm)\n  have nt {i : Fin 10} (hc : c i = true) : proj i ∉ t :=\n    fun hm => Bool.noConfusion (hc.symm.trans ((ct i).2 hm))\n  have ns {i : Fin 10} (hc : c i = false) : proj i ∉ s :=\n    fun hm => Bool.noConfusion (hc.symm.trans ((cs i).2 hm))\n  rcases h with hand | hor\n  · have force {u : Finset Wire} {w : Wire} (hu : u ⊆ projections)\n        (hw : Supports u w) {i j : Fin 10}\n        (hi : proj i ∉ u) (hj : proj j ∉ u) (he : (i,j) ∈ edges)\n        (get : ∀ x, edgeFn x = true → w x = true) : w = fun _ => true := by\n      funext x\n      let x' (k : Fin 10) := x k || row i j k\n      have hx : edgeFn x' = true := List.any_eq_true.mpr ⟨(i,j), he, by simp [x', row]⟩\n      have hsame : w x' = w x := by\n        apply hw\n        intro v hv\n        obtain ⟨k, _, rfl⟩ := Finset.mem_map.mp (hu hv)\n        have hki : k ≠ i := fun e => hi (e ▸ hv)\n        have hkj : k ≠ j := fun e => hj (e ▸ hv)\n        simp [x', row, proj, hki, hkj]\n      exact hsame ▸ get x' hx\n    obtain ⟨i,j,he,heq⟩ := odd_cycle c\n    cases hc : c i\n    · have hcj := heq.symm.trans hc\n      refine Or.inl ⟨true, force hs ha (ns hc) (ns hcj) he ?_⟩\n      intro x hx\n      rw [hand] at hx\n      exact (show a x = true ∧ b x = true by simpa using hx).1\n    · have hcj := heq.symm.trans hc\n      refine Or.inr ⟨true, force ht hb (nt hc) (nt hcj) he ?_⟩\n      intro x hx\n      rw [hand] at hx\n      exact (show a x = true ∧ b x = true by simpa using hx).2\n  · have singleton (i : Fin 10) : a (row i i) = false ∧ b (row i i) = false := by\n      have he := singletons_false i\n      rw [hor] at he\n      simpa using he\n    have colors (i j : Fin 10) (he : (i,j) ∈ edges) : c i = c j := by\n      have hh := edge_true he\n      rw [hor] at hh\n      change (a (row i j) || b (row i j)) = true at hh\n      cases hi : c i <;> cases hj : c j\n      · rfl\n      · rw [forget_left hs ha (ns hi), forget_right ht hb (nt hj),\n            (singleton j).1, (singleton i).2] at hh\n        cases hh\n      · rw [forget_right hs ha (ns hj), forget_left ht hb (nt hi),\n            (singleton i).1, (singleton j).2] at hh\n        cases hh\n      · rfl\n    have all := connected_colors c colors\n    have constant {u : Finset Wire} {w : Wire} (hu : u ⊆ projections)\n        (hw : Supports u w) (hempty : ∀ i, proj i ∉ u) : ∃ k : Bool, w = fun _ => k := by\n      refine ⟨w (fun _ => false), funext fun x => hw x _ ?_⟩\n      intro v hv\n      obtain ⟨i, _, rfl⟩ := Finset.mem_map.mp (hu hv)\n      exact (hempty i hv).elim\n    cases hc : c 0\n    · exact Or.inl (constant hs ha (fun i => ns ((all i).trans hc)))\n    · exact Or.inr (constant ht hb (fun i => nt ((all i).trans hc)))\n\n/-- A list of at most nine derived wires cannot contain the Petersen edge function.\nThe nine-wire boundary forces a disjoint split of the two output operands. -/\ntheorem short_lists (gates : List Wire) (hlen : gates.length ≤ 9)\n    (h : Generated base gates) : edgeFn ∉ gates := by\n  classical\n  induction gates using List.reverseRecOn with\n  | nil => simp\n  | append_singleton prior w _ =>\n    have hprior : prior.length ≤ 8 := by\n      simp only [List.length_append, List.length_singleton] at hlen\n      omega\n    obtain ⟨hp, a, ha, b, hb, hw⟩ := generated_snoc h\n    have hno := excluded_short hprior hp\n    intro hm\n    rcases List.mem_append.mp hm with hi | hi\n    · exact hno (List.mem_append_right _ hi)\n    · rw [List.mem_singleton] at hi\n      subst w\n      have hab : a ≠ b := by\n        intro e\n        subst b\n        obtain ha' | ha' := hw <;>\n          exact hno (show edgeFn ∈ base ++ prior from\n            (show edgeFn = a from by rw [ha']; funext x; simp) ▸ ha)\n      obtain ⟨s,t, hbase, hc, hsa, htb, hdis⟩ :=\n        terminal_pair hp {a} {b} (by simpa using ha) (by simpa using hb)\n      have hcard : ({a} ∪ {b} : Finset Wire).card = 2 := by\n        simp [hab]\n      have hs := hsa a (by simp)\n      have ht := htb b (by simp)\n      have he : Supports (s ∪ t) edgeFn := by\n        intro x y hxy\n        have ea := hs x y (fun v hv => hxy v (Finset.mem_union_left _ hv))\n        have eb := ht x y (fun v hv => hxy v (Finset.mem_union_right _ hv))\n        rcases hw with h' | h' <;> rw [h'] <;> exact congrArg₂ _ ea eb\n      have hsub := projections_subset hbase he\n      have hl := Finset.card_le_card hsub\n      rw [card_projections] at hl\n      rw [hcard] at hc hdis\n      have hu : s ∪ t = projections := (Finset.eq_of_subset_of_card_le hsub (by\n        rw [card_projections]\n        omega)).symm\n      have hd := hdis (by omega) (Finset.disjoint_singleton.mpr hab)\n      have hfalse : edgeFn ≠ fun _ => false := by\n        intro hconst\n        have e := edge_true (i := 0) (j := 1) (by decide +kernel)\n        rw [hconst] at e\n        cases e\n      have htrue : edgeFn ≠ fun _ => true := by\n        intro hconst\n        have e := singletons_false 0\n        rw [hconst] at e\n        cases e\n      rcases one_constant hu hd hs ht hw with ⟨k,hk⟩ | ⟨k,hk⟩\n      · rcases hw with hc' | hc' <;> cases k\n        · exact hfalse (by rw [hc', hk]; simp)\n        · exact hno (show edgeFn ∈ base ++ prior from\n            (show edgeFn = b from by rw [hc', hk]; simp) ▸ hb)\n        · exact hno (show edgeFn ∈ base ++ prior from\n            (show edgeFn = b from by rw [hc', hk]; simp) ▸ hb)\n        · exact htrue (by rw [hc', hk]; simp)\n      · rcases hw with hc' | hc' <;> cases k\n        · exact hfalse (by rw [hc', hk]; simp)\n        · exact hno (show edgeFn ∈ base ++ prior from\n            (show edgeFn = a from by rw [hc', hk]; simp) ▸ ha)\n        · exact hno (show edgeFn ∈ base ++ prior from\n            (show edgeFn = a from by rw [hc', hk]; simp) ▸ ha)\n        · exact htrue (by rw [hc', hk]; simp)\n\ntheorem first_nine {gates : List Wire} (h : Generated base gates) :\n    edgeFn ∉ gates.take 9 := by\n  apply short_lists _ (List.length_take_le _ _) _\n  intro i\n  have hi : i.val < min 9 gates.length := by\n    simpa only [List.length_take] using i.isLt\n  have hlt : (i : Nat) < gates.length := by omega\n  have hle : (i : Nat) ≤ 9 := by omega\n  simpa [List.get_eq_getElem, List.take_take, Nat.min_eq_left hle] using h ⟨i, hlt⟩\n\ntheorem head_premise (gates : List Wire) :\n    ∀ w ∈ gates.head?, ∃ a b : Wire, w = fun x => a x || b x := by\n  intro w _\n  exact ⟨w, fun _ => false, funext fun x => by simp⟩\n\nprivate lemma bool_gate_mono :\n    ∀ {a b c d : Bool}, a ≤ c → b ≤ d →\n      (a && b) ≤ (c && d) ∧ (a || b) ≤ (c || d) := by\n  decide +kernel\n\n/-- The generated wires are monotone on the Boolean cube. -/\ntheorem generated_monotone {gates : List Wire} (h : Generated base gates) :\n    ∀ w ∈ base ++ gates, Monotone w := by\n  induction gates using List.reverseRecOn with\n  | nil =>\n    intro w hw\n    simp only [List.append_nil, base, List.mem_append, List.mem_cons, List.not_mem_nil,\n      or_false, List.mem_ofFn] at hw\n    rcases hw with (rfl | rfl | ⟨i,rfl⟩) | rfl\n    · exact fun _ _ _ => le_rfl\n    · exact fun _ _ _ => le_rfl\n    · exact fun _ _ hxy => hxy i\n    · exact fun _ _ hxy => (bool_gate_mono (hxy 0) (hxy 1)).1\n  | append_singleton gs w ih =>\n    obtain ⟨hg, a, ha, b, hb, hw⟩ := generated_snoc h\n    intro v hv\n    rw [← List.append_assoc] at hv\n    rcases List.mem_append.mp hv with hmem | hin\n    · exact ih hg v hmem\n    · rw [List.mem_singleton] at hin\n      subst v\n      intro x y hxy\n      have hh := bool_gate_mono (ih hg a ha hxy) (ih hg b hb hxy)\n      rcases hw with hand | hor\n      · rw [hand]\n        exact hh.1\n      · rw [hor]\n        exact hh.2\n\n/-- Edge rows and maximal false rows determine agreement for any monotone candidate. -/\ntheorem determined_by_boundary (w : Wire) (hm : Monotone w)\n    (ht : ∀ i j, (i,j) ∈ edges → w (row i j) = true)\n    (hf : ∀ y, Maximal (fun x => edgeFn x = false) y → w y = false) :\n    w = edgeFn := by\n  funext x\n  cases h : edgeFn x\n  · obtain ⟨y, hxy, hy⟩ := Finite.exists_le_maximal (p := fun x => edgeFn x = false) h\n    have hh := hm hxy\n    rw [hf y hy] at hh\n    cases hw : w x\n    · rfl\n    · rw [hw] at hh\n      exact ((by decide +kernel : ¬ (true : Bool) ≤ false) hh).elim\n  · obtain ⟨⟨i,j⟩, he, hx⟩ := List.any_eq_true.mp h\n    have hx' : x i = true ∧ x j = true := by simpa using hx\n    have hle : row i j ≤ x := by\n      intro k\n      by_cases hki : k = i\n      · simp [hki, hx'.1]\n      · by_cases hkj : k = j\n        · simp [hkj, hx'.2]\n        · simp [row, hki, hkj]\n    have hh := hm hle\n    rw [ht i j he] at hh\n    cases hw : w x\n    · rw [hw] at hh\n      exact ((by decide +kernel : ¬ (true : Bool) ≤ false) hh).elim\n    · rfl\n\nprivate def witnessLeft (i : Fin 18) : Wire :=\n  if i.val < 16 then seed else if i.val = 16 then proj 1 else proj 2\n\nprivate def witnessRight (i : Fin 18) : Wire :=\n  if i.val < 16 then proj (Fin.ofNat 10 (i.val % 8 + 2))\n  else if i.val = 16 then proj 2 else proj 3\n\nprivate def witnessGate (i : Fin 18) : Wire := fun x =>\n  if 8 ≤ i.val ∧ i.val < 16 then witnessLeft i x || witnessRight i x\n  else witnessLeft i x && witnessRight i x\n\nprivate def witnessGates : List Wire := List.ofFn witnessGate\n\nprivate def nonedge (i j : Fin 10) : Prop :=\n  ¬ (edges.any fun e => decide ((i,j) = e ∨ (j,i) = e)) = true\n\nprivate def fingerprint (w : Wire) : List Bool :=\n  [110, 195, 221, 271, 309, 466, 562, 603, 809, 888, 916, 995].map\n    fun (n : Nat) => w (fun i => n.testBit i.val)\n\nprivate lemma witness_base_novel :\n    ∀ i : Fin 18, fingerprint (witnessGate i) ∉ base.map fingerprint := by\n  decide +kernel\n\nprivate lemma witness_pair_novel :\n    ∀ i j : Fin 18, i ≠ j → fingerprint (witnessGate i) ≠ fingerprint (witnessGate j) := by\n  decide +kernel\n\nprivate lemma witness_no_or_pair :\n    ∀ (k : Fin 18) (i j : Fin 10), i ≠ j →\n      fingerprint (witnessGate k) ≠ fingerprint (fun x => x i || x j) := by\n  decide +kernel\n\nprivate lemma witness_no_nonedge_pair :\n    ∀ (k : Fin 18) (i j : Fin 10), i ≠ j → nonedge i j →\n      fingerprint (witnessGate k) ≠ fingerprint (fun x => x i && x j) := by\n  unfold nonedge\n  decide +kernel\n\nprivate lemma proj_mem_base (i : Fin 10) : proj i ∈ base := by\n  apply List.mem_append_left\n  exact List.mem_cons_of_mem _ (List.mem_cons_of_mem _ (List.mem_ofFn.mpr ⟨i,rfl⟩))\n\nprivate lemma witness_get {i : Nat} (hi : i < witnessGates.length) :\n    witnessGates[i] = witnessGate ⟨i, by simpa [witnessGates] using hi⟩ :=\n  List.getElem_ofFn hi\n\n/-- There is a length-eighteen list satisfying every premise of the target.\nThe separating rows certify freshness and both projection-pair exclusions. -/\ntheorem premises_satisfiable :\n    ∃ gates : List Wire, gates.length = 18 ∧\n      (∀ i : Fin gates.length, gates.get i ∉ base ++ gates.take i) ∧\n      Generated base gates ∧\n      (∀ w ∈ gates.head?, ∃ a b : Wire, w = fun x => a x || b x) ∧\n      (∀ w ∈ gates, ∀ i j : Fin 10, i ≠ j →\n        (nonedge i j → w ≠ fun x => x i && x j) ∧ w ≠ fun x => x i || x j) := by\n  refine ⟨witnessGates, by simp [witnessGates], ?_, ?_, head_premise _, ?_⟩\n  · intro i h\n    have hi : i.val < 18 := by simpa [witnessGates] using i.isLt\n    rcases List.mem_append.mp h with hb | ht\n    · rw [List.get_eq_getElem, witness_get] at hb\n      exact witness_base_novel ⟨i.val,hi⟩ (List.mem_map_of_mem hb)\n    · obtain ⟨j, hj, hjEq⟩ := List.mem_take_iff_getElem.mp ht\n      have hj' : j < witnessGates.length := by omega\n      have hfin : (⟨j, by simpa [witnessGates] using hj'⟩ : Fin 18) ≠ ⟨i.val,hi⟩ := by\n        intro he\n        have := congrArg Fin.val he\n        simp at this\n        omega\n      rw [List.get_eq_getElem, witness_get, witness_get] at hjEq\n      exact witness_pair_novel _ _ hfin (congrArg fingerprint hjEq)\n  · intro i\n    have hi : i.val < 18 := by simpa [witnessGates] using i.isLt\n    let k : Fin 18 := ⟨i.val,hi⟩\n    have hs : seed ∈ base := by simp [base]\n    have ha : witnessLeft k ∈ base := by\n      unfold witnessLeft\n      split_ifs <;> first | exact hs | exact proj_mem_base _\n    have hb : witnessRight k ∈ base := by\n      unfold witnessRight\n      split_ifs <;> exact proj_mem_base _\n    refine ⟨witnessLeft k, List.mem_append_left _ ha, witnessRight k,\n      List.mem_append_left _ hb, ?_⟩\n    rw [List.get_eq_getElem, witness_get]\n    change Binary (witnessGate k) (witnessLeft k) (witnessRight k)\n    by_cases hor : 8 ≤ k.val ∧ k.val < 16\n    · exact Or.inr (by funext x; simp [witnessGate, hor])\n    · exact Or.inl (by funext x; simp [witnessGate, hor])\n  · intro w hw i j hne\n    obtain ⟨k,rfl⟩ := List.mem_ofFn.mp (show w ∈ List.ofFn witnessGate from hw)\n    exact ⟨fun he heq => witness_no_nonedge_pair k i j hne he (congrArg fingerprint heq),\n      fun heq => witness_no_or_pair k i j hne (congrArg fingerprint heq)⟩\n\nend PEqualNP.Outside.L_meta_18647\n\nopen PEqualNP.Outside.L_meta_18647 in\ntheorem PEqualNP.Outside.L_meta_18647 :\n(\nhave x1 : List (Fin (10 : ℕ) × Fin (10 : ℕ)) := [((0 : Fin (10 : ℕ)), (1 : Fin (10 : ℕ))), ((1 : Fin (10 : ℕ)), (2 : Fin (10 : ℕ))), ((2 : Fin (10 : ℕ)), (3 : Fin (10 : ℕ))), ((3 : Fin (10 : ℕ)), (4 : Fin (10 : ℕ))), ((4 : Fin (10 : ℕ)), (0 : Fin (10 : ℕ))), ((0 : Fin (10 : ℕ)), (5 : Fin (10 : ℕ))), ((1 : Fin (10 : ℕ)), (6 : Fin (10 : ℕ))), ((2 : Fin (10 : ℕ)), (7 : Fin (10 : ℕ))), ((3 : Fin (10 : ℕ)), (8 : Fin (10 : ℕ))), ((4 : Fin (10 : ℕ)), (9 : Fin (10 : ℕ))), ((5 : Fin (10 : ℕ)), (7 : Fin (10 : ℕ))), ((7 : Fin (10 : ℕ)), (9 : Fin (10 : ℕ))), ((9 : Fin (10 : ℕ)), (6 : Fin (10 : ℕ))), ((6 : Fin (10 : ℕ)), (8 : Fin (10 : ℕ))), ((8 : Fin (10 : ℕ)), (5 : Fin (10 : ℕ)))]; ∀ (x2 : List ((Fin (10 : ℕ) → Bool) → Bool)),   x2.length ≤ (9 : ℕ) →     (∀ (x4 : Fin x2.length),         have x5 : List ((Fin (10 : ℕ) → Bool) → Bool) := ((fun (x5 : Fin (10 : ℕ) → Bool) => Bool.false) :: (fun (x5 : Fin (10 : ℕ) → Bool) => Bool.true) :: List.ofFn fun (x5 : Fin (10 : ℕ)) (x6 : Fin (10 : ℕ) → Bool) => x6 x5) ++ [fun (x5 : Fin (10 : ℕ) → Bool) => x5 (0 : Fin (10 : ℕ)) && x5 (1 : Fin (10 : ℕ))] ++ List.take (↑x4) x2;         x2.get x4 ∉ x5 ∧ ∃ x6 ∈ x5, ∃ x7 ∈ x5, (x2.get x4 = fun (x8 : Fin (10 : ℕ) → Bool) => x6 x8 && x7 x8) ∨ x2.get x4 = fun (x8 : Fin (10 : ℕ) → Bool) => x6 x8 || x7 x8) →       (∀ x5 ∈ x2.head?, ∃ (x7 : (Fin (10 : ℕ) → Bool) → Bool) (x8 : (Fin (10 : ℕ) → Bool) → Bool), x5 = fun (x9 : Fin (10 : ℕ) → Bool) => x7 x9 || x8 x9) → (∀ x6 ∈ x2, ∀ (x8 x9 : Fin (10 : ℕ)), x8 ≠ x9 → (¬(x1.any fun (x11 : Fin (10 : ℕ) × Fin (10 : ℕ)) => Decidable.decide ((x8, x9) = x11 ∨ (x9, x8) = x11)) = Bool.true → x6 ≠ fun (x12 : Fin (10 : ℕ) → Bool) => x12 x8 && x12 x9) ∧ x6 ≠ fun (x11 : Fin (10 : ℕ) → Bool) => x11 x8 || x11 x9) → (fun (x7 : Fin (10 : ℕ) → Bool) => x1.any fun (x8 : Fin (10 : ℕ) × Fin (10 : ℕ)) => x7 x8.1 && x7 x8.2) ∉ x2\n) := by\n  intro _ xs hlen hg _ _\n  apply short_lists xs hlen\n  intro i\n  exact (hg i).2\n","sha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","exactStatement":"have x1 : List (Fin (10 : ℕ) × Fin (10 : ℕ)) := [((0 : Fin (10 : ℕ)), (1 : Fin (10 : ℕ))), ((1 : Fin (10 : ℕ)), (2 : Fin (10 : ℕ))), ((2 : Fin (10 : ℕ)), (3 : Fin (10 : ℕ))), ((3 : Fin (10 : ℕ)), (4 : Fin (10 : ℕ))), ((4 : Fin (10 : ℕ)), (0 : Fin (10 : ℕ))), ((0 : Fin (10 : ℕ)), (5 : Fin (10 : ℕ))), ((1 : Fin (10 : ℕ)), (6 : Fin (10 : ℕ))), ((2 : Fin (10 : ℕ)), (7 : Fin (10 : ℕ))), ((3 : Fin (10 : ℕ)), (8 : Fin (10 : ℕ))), ((4 : Fin (10 : ℕ)), (9 : Fin (10 : ℕ))), ((5 : Fin (10 : ℕ)), (7 : Fin (10 : ℕ))), ((7 : Fin (10 : ℕ)), (9 : Fin (10 : ℕ))), ((9 : Fin (10 : ℕ)), (6 : Fin (10 : ℕ))), ((6 : Fin (10 : ℕ)), (8 : Fin (10 : ℕ))), ((8 : Fin (10 : ℕ)), (5 : Fin (10 : ℕ)))]; ∀ (x2 : List ((Fin (10 : ℕ) → Bool) → Bool)),   x2.length ≤ (9 : ℕ) →     (∀ (x4 : Fin x2.length),         have x5 : List ((Fin (10 : ℕ) → Bool) → Bool) := ((fun (x5 : Fin (10 : ℕ) → Bool) => Bool.false) :: (fun (x5 : Fin (10 : ℕ) → Bool) => Bool.true) :: List.ofFn fun (x5 : Fin (10 : ℕ)) (x6 : Fin (10 : ℕ) → Bool) => x6 x5) ++ [fun (x5 : Fin (10 : ℕ) → Bool) => x5 (0 : Fin (10 : ℕ)) && x5 (1 : Fin (10 : ℕ))] ++ List.take (↑x4) x2;         x2.get x4 ∉ x5 ∧ ∃ x6 ∈ x5, ∃ x7 ∈ x5, (x2.get x4 = fun (x8 : Fin (10 : ℕ) → Bool) => x6 x8 && x7 x8) ∨ x2.get x4 = fun (x8 : Fin (10 : ℕ) → Bool) => x6 x8 || x7 x8) →       (∀ x5 ∈ x2.head?, ∃ (x7 : (Fin (10 : ℕ) → Bool) → Bool) (x8 : (Fin (10 : ℕ) → Bool) → Bool), x5 = fun (x9 : Fin (10 : ℕ) → Bool) => x7 x9 || x8 x9) → (∀ x6 ∈ x2, ∀ (x8 x9 : Fin (10 : ℕ)), x8 ≠ x9 → (¬(x1.any fun (x11 : Fin (10 : ℕ) × Fin (10 : ℕ)) => Decidable.decide ((x8, x9) = x11 ∨ (x9, x8) = x11)) = Bool.true → x6 ≠ fun (x12 : Fin (10 : ℕ) → Bool) => x12 x8 && x12 x9) ∧ x6 ≠ fun (x11 : Fin (10 : ℕ) → Bool) => x11 x8 || x11 x9) → (fun (x7 : Fin (10 : ℕ) → Bool) => x1.any fun (x8 : Fin (10 : ℕ) × Fin (10 : ℕ)) => x7 x8.1 && x7 x8.2) ∉ x2","statementSha256":"7de47bf9f23dd47459b006186b35d8360da349abe26586ef0c4cf4505c5e5069","role":"Supporting boundary-case proof and checked helper lemmas","relationToTarget":"The only change in the top-level statement is 18 to 9. The original statement is preserved separately. first_nine excludes zero-based output indices 0 through 8 in any generated list, including length 18. premises_satisfiable proves the original premises have a joint model at length 18."}],"verification":[{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo/lean && ../../clean-run lake build +PEqualNP.Outside.L_meta_18647","exitCode":0,"verdict":"Build completed successfully (5151 jobs).","logExcerpt":"⚠ [5150/5151] Built PEqualNP.Outside.L_meta_18647 (16s)\nThe only artifact lint messages were legacy module import warnings and unused binder names preserved in the stated proposition."},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo/lean && ../../clean-run lake env lean ../../AxBoundary.lean","exitCode":0,"verdict":"All printed dependencies were within [propext, Classical.choice, Quot.sound].","logExcerpt":"'PEqualNP.Outside.L_meta_18647' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.short_lists' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.first_nine' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.head_premise' depends on axioms: [propext, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.generated_monotone' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.determined_by_boundary' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.premises_satisfiable' depends on axioms: [propext, Classical.choice, Quot.sound]","scratchSource":"import PEqualNP.Outside.L_meta_18647\n\n#print axioms PEqualNP.Outside.L_meta_18647\n#print axioms PEqualNP.Outside.L_meta_18647.short_lists\n#print axioms PEqualNP.Outside.L_meta_18647.first_nine\n#print axioms PEqualNP.Outside.L_meta_18647.head_premise\n#print axioms PEqualNP.Outside.L_meta_18647.generated_monotone\n#print axioms PEqualNP.Outside.L_meta_18647.determined_by_boundary\n#print axioms PEqualNP.Outside.L_meta_18647.premises_satisfiable\n"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo/lean && ../../clean-run lake env leanchecker -v PEqualNP.Outside.L_meta_18647","exitCode":0,"verdict":"Compiled module replayed by the pinned Lean kernel.","logExcerpt":"replaying PEqualNP.Outside.L_meta_18647"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo/lean && ../../clean-run lake env lean ../../RecordedBoundary.lean","exitCode":0,"verdict":"The theorem inhabits the independently parsed bound-9 statement.","logExcerpt":"The command completed with only unused-binder warnings.","scratchSourceTemplate":"import PEqualNP.Outside.L_meta_18647\n\ndef RecordedBoundary : Prop :=\n(\n<artifact exactStatement>\n)\n\nexample : RecordedBoundary := PEqualNP.Outside.L_meta_18647\n"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo/lean && ../../clean-run lake env lean ../../TypeMismatch.lean","exitCode":1,"verdict":"Lean rejected the attempted assignment to the exact bound-18 type.","logExcerpt":"../../TypeMismatch.lean:8:25: error: Type mismatch"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo/lean && ../../clean-run lake env lean ../../ExactPremises.lean","exitCode":0,"verdict":"The length-18 witness satisfies the independently transcribed target premises.","logExcerpt":"The command completed with only unused-binder warnings.","scratchSourceTemplate":"Use the target's x1 declaration and all three hypothesis bodies. Existentially bind x2, assert length = 18, and join these four clauses with conjunctions. Prove it by unpacking premises_satisfiable and pairing the pointwise freshness and generation proofs."},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo && ../clean-run node .github/scripts/outside-guard.mjs imports lean/PEqualNP/Outside/L_meta_18647.lean ../imports.json lean/PEqualNP/Outside/L_meta_18647.lean check","exitCode":0,"verdict":"imports allowed: PEqualNP.Defs Mathlib.Data.Finset.Card Mathlib.Data.Fintype.Pi Mathlib.Order.Preorder.Finite Mathlib.Tactic.FinCases","logExcerpt":"imports allowed: PEqualNP.Defs Mathlib.Data.Finset.Card Mathlib.Data.Fintype.Pi Mathlib.Order.Preorder.Finite Mathlib.Tactic.FinCases"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo && ../clean-run node .github/scripts/outside-guard.mjs closure . ../imports.json lean/PEqualNP/Outside/L_meta_18647.lean ../guard check","exitCode":0,"verdict":"outside-written, built only in the locked step: (none)","logExcerpt":"Base closure contains 87 modules. outside-written, built only in the locked step: (none)"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo/lean && ../../clean-run lake env lean ../../ExactTarget.lean","exitCode":0,"verdict":"ExactTarget : Prop","logExcerpt":"ExactTarget : Prop","scratchSourceTemplate":"import PEqualNP.Defs\n\ndef ExactTarget : Prop :=\n(\n<target exactStatement>\n)\n#check ExactTarget\n"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo && ../clean-run node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_18647.lean ../statement.txt helper","exitCode":3,"verdict":"CHECKER FAULT: kind must be check, refute or reduce, got \"helper\"","logExcerpt":"CHECKER FAULT: kind must be check, refute or reduce, got \"helper\"","checkedStatementSha256":"d6b0ea1cb0acf29a540e253aee4295d896fe42286ed3f9e266a956da19cc971e"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo && ../clean-run env MALLOC_ARENA_MAX=2 node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_18647.lean ../short-statement.txt check","exitCode":3,"verdict":"CHECKER FAULT: the verifier ended without a verdict (exit 137).","logExcerpt":"checker stage: started t=0s\nchecker stage: build lock taken t=0s\nchecker stage: building the verifier t=0s\nchecker stage: building the file and the definitions root t=3s\nchecker stage: verifier reading the built file t=7s\nCHECKER FAULT: the verifier ended without a verdict (exit 137).","checkedStatementSha256":"7de47bf9f23dd47459b006186b35d8360da349abe26586ef0c4cf4505c5e5069"},{"artifactSha256":"135778504950eb9bfa54347921c8bec7ab015e2e4619afb16d5a6314249a0544","command":"cd repo && ../clean-run env MALLOC_ARENA_MAX=2 node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_18647.lean ../statement.txt check","exitCode":3,"verdict":"CHECKER FAULT: the verifier ended without a verdict (exit 137).","logExcerpt":"checker stage: started t=0s\nchecker stage: build lock taken t=0s\nchecker stage: building the verifier t=0s\nchecker stage: building the file and the definitions root t=7s\nchecker stage: verifier reading the built file t=12s\nCHECKER FAULT: the verifier ended without a verdict (exit 137).","checkedStatementSha256":"d6b0ea1cb0acf29a540e253aee4295d896fe42286ed3f9e266a956da19cc971e"}],"experiments":[{"program":"import argparse\nfrom itertools import combinations\nfrom pathlib import Path\nimport subprocess\n\nparser = argparse.ArgumentParser()\nparser.add_argument(\"gates\", type=int)\nparser.add_argument(\"--limit\", type=int, default=60)\nargs = parser.parse_args()\n\nn = 10\nedges = [(0,1), (1,2), (2,3), (3,4), (0,4), (0,5), (1,6), (2,7), (3,8), (4,9),\n         (5,7), (7,9), (6,9), (6,8), (5,8)]\npairs = list(combinations(range(n), 2))\nmasks = [1 << i | 1 << j for i,j in edges]\ndomain = range(1 << n)\ntruth = [any(x & m == m for m in masks) for x in domain]\nmaximal_false = [x for x in domain if not truth[x]\n                 and all(truth[x | 1 << i] for i in range(n) if not x & 1 << i)]\nrows = sorted(set([0, *[1 << i for i in range(n)],\n                   *[1 << i | 1 << j for i,j in pairs], *maximal_false]))\nassert all(any(x & m == m for m in masks) if truth[x]\n           else any(x & y == x for y in maximal_false) for x in domain)\nprint(f\"{len(masks)} minimal true, {len(maximal_false)} maximal false, {len(rows)} total rows\", flush=True)\n\nwires = [sum(1 << x for x in domain if x & 1 << i) for i in range(n)]\nwires += [wires[0] & wires[1]]\ntarget = sum(1 << x for x in domain if truth[x])\nforbidden = {wires[i] | wires[j] for i,j in pairs}\nforbidden |= {wires[i] & wires[j] for i,j in pairs if (i,j) not in edges}\nzero = 0\none = (1 << len(domain)) - 1\neligible_first = {out for a,b in combinations(wires, 2) for out in (a & b, a | b)\n                  if out not in (*wires, zero, one) and out not in forbidden}\nprint(f\"{len(eligible_first)} distinct legal first gates, target present = {target in eligible_first}\", flush=True)\nexample = [wires[n] & wires[i] for i in range(2,10)] + [wires[n] | wires[i] for i in range(2,10)]\nexample += [wires[1] & wires[2], wires[2] & wires[3]]\nassert len(set(example)) == 18 and set(example) <= eligible_first\nprint(\"18 distinct legal gates using base wires alone; the head premise uses head OR false.\", flush=True)\n\nclass CNF:\n    def __init__(self):\n        self.n = 0\n        self.clauses = []\n\n    def var(self):\n        self.n += 1\n        return self.n\n\n    def add(self, *lit):\n        self.clauses.append(lit)\n\n    def one_hot(self, variables):\n        self.add(*variables)\n        for a,b in combinations(variables, 2):\n            self.add(-a, -b)\n\ncnf = CNF()\nchoices = []\noutputs = [[cnf.var() for _ in rows] for _ in wires]\nfor vec, wire in zip(outputs, wires, strict=True):\n    for var, x in zip(vec, rows, strict=True):\n        cnf.add(var if wire >> x & 1 else -var)\n\nfor g in range(args.gates):\n    left = [cnf.var() for _ in outputs]\n    right = [cnf.var() for _ in outputs]\n    op_or = cnf.var()\n    choices.append((left, right, op_or))\n    cnf.one_hot(left)\n    cnf.one_hot(right)\n    for i in range(len(left)):\n        for j in range(i + 1):\n            cnf.add(-left[i], -right[j])\n        for j in range(i + 1, n):\n            cnf.add(-left[i], -right[j], -op_or)\n            if (i,j) not in edges:\n                cnf.add(-left[i], -right[j], op_or)\n    zs = []\n    for k in range(len(rows)):\n        a,b,z = (cnf.var() for _ in range(3))\n        zs.append(z)\n        for i,ys in enumerate(outputs):\n            for src,selector in ((a,left[i]), (b,right[i])):\n                cnf.add(-selector, -src, ys[k])\n                cnf.add(-selector, src, -ys[k])\n        cnf.add(-op_or, -a, z)\n        cnf.add(-op_or, -b, z)\n        cnf.add(-op_or, a, b, -z)\n        cnf.add(op_or, a, -z)\n        cnf.add(op_or, b, -z)\n        cnf.add(op_or, -a, -b, z)\n    outputs.append(zs)\n\n# A minimal witness uses all ten projections and has no dead gates.\nfor i in [*range(n), *range(len(wires), len(outputs) - 1)]:\n    cnf.add(*(var for l,r,_ in choices if i < len(l) for var in (l[i], r[i])))\nfor z,x in zip(outputs[-1], rows, strict=True):\n    cnf.add(z if truth[x] else -z)\n\nproblem = Path(f\"boundary-{args.gates}.cnf\")\nwith problem.open(\"w\") as out:\n    print(f\"p cnf {cnf.n} {len(cnf.clauses)}\", file=out)\n    for clause in cnf.clauses:\n        print(*clause, 0, file=out)\nprint(f\"{args.gates} gates, {cnf.n} variables, {len(cnf.clauses)} clauses\", flush=True)\nr = subprocess.run([\"cadical\", \"-q\", \"-t\", str(args.limit), str(problem)],\n                   capture_output=True, text=True)\nprint(r.stdout.splitlines()[0] if r.stdout else r.stderr.strip(), flush=True)\nif r.returncode == 10:\n    model = {int(v) for line in r.stdout.splitlines() if line.startswith(\"v \") for v in line.split()[1:]}\n    gates = []\n    for l,rr,op in choices:\n        i = next(i for i,v in enumerate(l) if v in model)\n        j = next(j for j,v in enumerate(rr) if v in model)\n        is_or = op in model\n        gates.append((i,j,is_or))\n        wires.append(wires[i] | wires[j] if is_or else wires[i] & wires[j])\n    print(\"gates (zero-based operands, OR flag):\", gates)\n    print(\"all 1024 rows agree:\", wires[-1] == target)\n    print(\"legal without cleanup:\",\n          not set(wires[11:]) & (forbidden | {zero, one} | set(wires[:11]))\n          and len(set(wires[11:])) == args.gates)\nraise SystemExit(r.returncode)\n","programSha256":"63e0e732ce2a533293502b4881cdc0a4f47eadd353cfdea4fd42e966275a06b8","range":"Exactly 9, 10 or 18 derived gates in the irredundant topology encoding. The one-gate census and length-18 premise witness used all 1024 Boolean rows. SAT used 71 rows, including all rows of weight ≤2 and the 15 maximal false rows.","command":"./clean-run python3 boundary_search.py 18 --limit 75","exitCode":0,"output":"15 minimal true, 15 maximal false, 71 total rows\n30 distinct legal first gates, target present = False\n18 distinct legal gates using base wires alone; the head premise uses head OR false.\n18 gates, 5335 variables, 120435 clauses\nc UNKNOWN","interpretation":"Time-bounded solver run with no witness or UNSAT result.","otherRuns":[{"command":"./clean-run python3 boundary_search.py 9 --limit 75","exitCode":20,"output":"15 minimal true, 15 maximal false, 71 total rows\n30 distinct legal first gates, target present = False\n18 distinct legal gates using base wires alone; the head premise uses head OR false.\n9 gates, 2977 variables, 46797 clauses\ns UNSATISFIABLE","interpretation":"Uncertified solver cross-check. The nine-wire result has a separate Lean proof."},{"command":"./clean-run python3 boundary_search.py 10 --limit 75","exitCode":0,"output":"15 minimal true, 15 maximal false, 71 total rows\n30 distinct legal first gates, target present = False\n18 distinct legal gates using base wires alone; the head premise uses head OR false.\n10 gates, 3231 variables, 53571 clauses\nc UNKNOWN","interpretation":"Time-bounded solver run with no witness or UNSAT result."}]},{"program":"# In a lexicographically least topological ordering of the active cones,\n# the maximum parent index never decreases: a decreasing adjacent pair\n# has no dependency and could be swapped to improve the ordering.\nfor (_, prev, _), (_, curr, _) in zip(choices, choices[1:]):\n    for i, p in enumerate(prev):\n        for q in curr[:i]:\n            cnf.add(-p, -q)\n\n# Wires are monotone, so ordered test rows constrain wire evaluations.\nfor zs in outputs[len(wires):]:\n    for i,x in enumerate(rows):\n        for j,y in enumerate(rows):\n            if x != y and x & y == x:\n                cnf.add(-zs[i], zs[j])\n\n# With ten gates, 19 distinct needed sources fill 20 operand slots.\n# No source can occupy three slots; if the seed appears, no paid source repeats.\nif args.gates == 10:\n    for i in [*range(n), *range(len(wires), len(outputs) - 1)]:\n        selectors = [var for l,r,_ in choices if i < len(l) for var in (l[i], r[i])]\n        for trio in combinations(selectors, 3):\n            cnf.add(*(-v for v in trio))\n\n","programBaseSha256":"63e0e732ce2a533293502b4881cdc0a4f47eadd353cfdea4fd42e966275a06b8","reconstructProgram":"Start with experiments[0].program. Insert this program extension immediately before the problem = Path(...) line. In that line rename the boundary- prefix to boundary-ordered-.","programSha256":"3804a5237fbf6596bd98511722f228960e4e1d0be5c807d3d0977009463a0da6","range":"Exactly 10 derived gates, same 71 inputs, with ordered maximum parent indices, monotone row implications and the one-slot cap on repeats.","command":"./clean-run python3 ordered_boundary_search.py 10 --limit 180","exitCode":20,"output":"15 minimal true, 15 maximal false, 71 total rows\n30 distinct legal first gates, target present = False\n18 distinct legal gates using base wires alone; the head premise uses head OR false.\n10 gates, 3231 variables, 70806 clauses\ns UNSATISFIABLE","interpretation":"CaDiCaL reported UNSAT for this exact-depth CNF. Neither the encoding correspondence nor an UNSAT certificate was checked in Lean."}],"usefulLemmas":[{"name":"PEqualNP.Outside.L_meta_18647.first_nine","result":"The edge function is absent from gates.take 9 under the binary generation premise alone."},{"name":"PEqualNP.Outside.L_meta_18647.premises_satisfiable","result":"A length-18 list consists of eight seed AND projections, eight seed OR projections, and the two edge conjunctions (1,2) and (2,3). Twelve Boolean probe rows certify pairwise novelty, novelty against base and exclusion of the prohibited pairs."},{"name":"PEqualNP.Outside.L_meta_18647.head_premise","result":"For every wire w, the existential OR witnesses are w and constant false."},{"name":"PEqualNP.Outside.L_meta_18647.determined_by_boundary","result":"Every candidate monotone on the Boolean cube is determined for this target by its values on the edge rows and the maximal false rows. generated_monotone establishes the needed monotonicity."},{"name":"terminal_pair","result":"One backwards expansion increases the union of the two frontiers by at most one. Attainment of the full cardinality budget preserves disjointness of initially disjoint query sets."},{"name":"one_constant","result":"When the two projection sets partition the inputs, an OR split forces a constant operand by connectivity and singleton falsity. An AND split forces a constant operand by an internal edge from the five-cycle, which can be set while leaving the other operand unchanged."}],"agentContributions":[{"agentId":"CD07","contribution":"Wrote and checked the boundary proof, satisfiability witness and finite-input search. No independent human or second agent review was obtained. The review used the pinned Lean kernel and the unchanged project checks, with results enumerated in verification."}],"failedApproaches":["The exact statement has no out-of-range or default reads: indices are Fin and every list gate is read with List.get. Empty lists are settled by the checked prefix lemma, and the degenerate-input strategy uses singleton and edge assignments instead.","Proving by unsatisfiable premises cannot work. The length-18 witness satisfies all the premises.","The cardinality saturation argument relies on a budget of ten terminal projections and becomes non-tight at ten or more derived gates. Shared supports can then occur.","The baseline CaDiCaL searches for exact depths 10 and 18 did not reach a verdict. Adding topology ordering, monotonicity constraints and a repeat cap returned UNSAT for the exact-10 encoding, with no kernel-checked correspondence or certificate."],"openObligations":["Exclude the Petersen output in positions 9 through 17 of a generated list satisfying all target premises, or exhibit a kernel-checked counterexample there.","The official backend gave no verdict on either statement because it exited 137. The bound-9 proof passed local Lean replay and has a different type from the exact bound-18 proposition."],"nextExperiment":"Extend terminal_pair with an explicit one-unit slack case at length 10. Track the single lost unit or extra terminal wire and test which root-support overlaps can realize all minimal true and maximal false rows.","leaseStatus":"None acquired, renewed or released. This was the single CD07 capsule attempt with no desk writes.","submissionStatus":"No upstream submission. Included a reproducible supporting proof, not a complete submission for L-meta-18647."}
