{
  "summary": "CT07 proved by list induction that the first wire separating two points from a third must be an AND of available wires with opposite singleton values. For the exact Petersen edge list and seed (0,1), each of the other 14 edges has such a witness if the output occurs, and the inner five-cycle forces at least two distinct derived AND indices. Lean also proved the head-OR premise is vacuous. A five-gate truth-table example shows one witness can cover three edges and a nonedge despite the gate exclusions. The supporting theorem builds and passes the axiom and outside checks. The 18-gate exclusion remains open in this attempt. The official checker accepted the supporting statement. The original-statement comparison rejected this artifact.",
  "agentId": "CT07",
  "strategyId": "generalize-then-project",
  "status": "supporting-lemma",
  "target": {
    "id": "L-meta-18647",
    "kind": "helper",
    "checkerMode": "check",
    "module": "PEqualNP.Outside.L_meta_18647",
    "file": "lean/PEqualNP/Outside/L_meta_18647.lean",
    "allowedImports": [
      "PEqualNP.Defs"
    ],
    "exact statement": "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",
    "source": "https://data.pequalnp.com/data/lemma/L-meta-18647.fdb8d5f3407a.json"
  },
  "env": {
    "commit": "8dec1cacf8aab169f12858fff3a2e945fea7a880",
    "repository": "https://github.com/open-goat/pequalnp-proofs",
    "toolchainArchive": "https://github.com/leanprover/lean4/releases/download/v4.36.0/lean-4.36.0-linux.tar.zst",
    "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",
    "commands run": [
      "In test/scratch, download the pinned release as lean.tar.zst and run sha256sum lean.tar.zst. It matched the pinned release hash.",
      "mkdir -p runtime tmp cache; tar --zstd -xf lean.tar.zst -C runtime; chmod +x clean-run",
      "GIT_CONFIG_GLOBAL=/dev/null GIT_CONFIG_NOSYSTEM=1 GIT_TERMINAL_PROMPT=0 git clone --no-checkout https://github.com/open-goat/pequalnp-proofs.git project",
      "./clean-run git -C project checkout --detach 8dec1cacf8aab169f12858fff3a2e945fea7a880",
      "For each manifest package, initialized a scratch git repo, added its manifest URL as origin, ran git fetch --depth=1 origin <rev>, ran git checkout --detach FETCH_HEAD and compared git rev-parse HEAD to the manifest revision. Moved the nine verified directories under project/lean/.lake/packages/ by name.",
      "cd project/lean && ../../clean-run lean --version",
      "cd project/lean && ../../clean-run lake exe cache get",
      "cd project/lean && ../../clean-run lake build +PEqualNP.Defs",
      "cd project/lean && ../../clean-run lake build checklemma",
      "cd project/lean && ../../clean-run lake env lean ../../Target.lean",
      "Placed the embedded source at the artifact path within the scratch project. Wrote the two exact statements to supporting-statement.txt and statement.txt, with no added newline. Wrote [\"PEqualNP.Defs\"] to imports.json and created guard-out/.",
      "cd project/lean && ../../clean-run lake build +PEqualNP.Outside.L_meta_18647 +PEqualNP.Defs",
      "cd project/lean && ../../clean-run lake env lean ../../Axioms.lean",
      "cd project && ../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",
      "cd project && ../clean-run node .github/scripts/outside-guard.mjs closure . ../imports.json lean/PEqualNP/Outside/L_meta_18647.lean ../guard-out check",
      "cd project && ../clean-run node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_18647.lean ../supporting-statement.txt check",
      "cd project && ../clean-run node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_18647.lean ../statement.txt check",
      "git -C project diff --quiet HEAD"
    ],
    "cache": "Decompressed 9117 files from the pinned Mathlib cache. The downloaded toolchain and project checkout were used solely for scratch verification.",
    "trackedTreeDiffExitCode": 0,
    "axiomCheckSource": "import PEqualNP.Outside.L_meta_18647\n\n#print axioms PEqualNP.Outside.L_meta_18647\n#print axioms PEqualNP.Outside.L_meta_18647.first_separation\n#print axioms PEqualNP.Outside.L_meta_18647.first_separation_forces_and\n#print axioms PEqualNP.Outside.L_meta_18647.crossing_of_edge\n#print axioms PEqualNP.Outside.L_meta_18647.two_ands_of_five_cycle\n#print axioms PEqualNP.Outside.L_meta_18647.head_or_condition\n",
    "targetHash": "d6b0ea1cb0acf29a540e253aee4295d896fe42286ed3f9e266a956da19cc971e",
    "capsuleHash": "f817777448e5acd46bd64359cdaf866097e2fc2c42e54e65f731f6799bc80eeb"
  },
  "artifacts": [
    {
      "path": "lean/PEqualNP/Outside/L_meta_18647.lean",
      "content": "import Mathlib.Tactic.Tauto\nimport PEqualNP.Defs\n\nnamespace PEqualNP.Outside.L_meta_18647\n\nabbrev Wire (α : Type*) := α → Bool\n\ndef andWire (a b : Wire α) : Wire α := fun x => a x && b x\n\ndef orWire (a b : Wire α) : Wire α := fun x => a x || b x\n\ndef Built (seed gates : List (Wire α)) : Prop :=\n  ∀ i : Fin gates.length, ∃ a ∈ seed ++ gates.take i.val,\n    ∃ b ∈ seed ++ gates.take i.val,\n    gates.get i = andWire a b ∨ gates.get i = orWire a b\n\n\ndef Separates (p q z : α) (g : Wire α) : Prop :=\n  g p = false ∧ g q = false ∧ g z = true\n\ndef Crosses (p q z : α) (a b : Wire α) : Prop :=\n  a z = true ∧ b z = true ∧\n    ((a p = true ∧ a q = false ∧ b p = false ∧ b q = true) ∨\n     (a p = false ∧ a q = true ∧ b p = true ∧ b q = false))\n\ntheorem and_separation (p q z : α) (a b : Wire α)\n    (h : Separates p q z (andWire a b)) :\n    Separates p q z a ∨ Separates p q z b ∨ Crosses p q z a b := by\n  unfold Separates Crosses andWire at *\n  cases hap : a p <;> cases haq : a q <;> cases haz : a z <;>\n    cases hbp : b p <;> cases hbq : b q <;> cases hbz : b z <;>\n    simp_all\n\ntheorem or_separation (p q z : α) (a b : Wire α)\n    (h : Separates p q z (orWire a b)) :\n    Separates p q z a ∨ Separates p q z b := by\n  unfold Separates orWire at *\n  simp only [Bool.or_eq_false_iff, Bool.or_eq_true] at h\n  rcases h with ⟨⟨ap, bp⟩, ⟨aq, bq⟩, az | bz⟩\n  · exact Or.inl ⟨ap, aq, az⟩\n  · exact Or.inr ⟨bp, bq, bz⟩\n\ndef FirstSeparates (p q z : α) (seed gates : List (Wire α))\n    (i : Fin gates.length) : Prop :=\n  Separates p q z (gates.get i) ∧\n    ∀ w ∈ seed ++ gates.take i.val, ¬ Separates p q z w\n\ntheorem first_separation (p q z : α) (seed gates : List (Wire α))\n    (hs : ∀ g ∈ seed, ¬ Separates p q z g)\n    (hout : ∃ g ∈ gates, Separates p q z g) :\n    ∃ i : Fin gates.length, FirstSeparates p q z seed gates i := by\n  induction gates generalizing seed with\n  | nil => simp at hout\n  | cons g gs ih =>\n    by_cases h : Separates p q z g\n    · exact ⟨⟨0, by simp⟩, h, by simpa using hs⟩\n    · have hseed : ∀ w ∈ seed ++ [g], ¬ Separates p q z w := by\n        intro w hw\n        simp only [List.mem_append, List.mem_singleton] at hw\n        rcases hw with hw | rfl\n        · exact hs w hw\n        · exact h\n      have hout' : ∃ w ∈ gs, Separates p q z w := by\n        obtain ⟨w, hw, hwsep⟩ := hout\n        rcases List.mem_cons.mp hw with rfl | hw\n        · exact (h hwsep).elim\n        · exact ⟨w, hw, hwsep⟩\n      obtain ⟨i, hi, hprefix⟩ := ih (seed ++ [g]) hseed hout'\n      refine ⟨⟨i.val + 1, by simp⟩, hi, ?_⟩\n      simpa [List.append_assoc, List.take_succ_cons] using hprefix\n\ntheorem first_separation_forces_and {p q z : α} {seed gates : List (Wire α)}\n    {i : Fin gates.length} (h : FirstSeparates p q z seed gates i)\n    {a b : Wire α} (ha : a ∈ seed ++ gates.take i.val) (hb : b ∈ seed ++ gates.take i.val)\n    (hop : gates.get i = andWire a b ∨ gates.get i = orWire a b) :\n    gates.get i = andWire a b ∧ Crosses p q z a b := by\n  obtain ⟨hsep, hprior⟩ := h\n  rcases hop with hg | hg\n  · rcases and_separation p q z a b (hg ▸ hsep) with hsa | hsb | hc\n    · exact (hprior a ha hsa).elim\n    · exact (hprior b hb hsb).elim\n    · exact ⟨hg, hc⟩\n  · rcases or_separation p q z a b (hg ▸ hsep) with hsa | hsb\n    · exact (hprior a ha hsa).elim\n    · exact (hprior b hb hsb).elim\n\nabbrev Input (n : ℕ) := Fin n → Bool\n\nabbrev single (i : Fin n) : Input n := PEqualNP.PairShadow.unitInput i\n\nabbrev pair (i j : Fin n) : Input n := PEqualNP.EdgeOwnership.pairInput i j\n\ndef inputWire (k : Fin n) : Wire (Input n) := fun x => x k\n\ndef seeds (u v : Fin n) : List (Wire (Input n)) :=\n  ((fun _ => false) :: (fun _ => true) :: List.ofFn inputWire) ++\n    [andWire (inputWire u) (inputWire v)]\n\ndef edgeFunction (edges : List (Fin n × Fin n)) : Wire (Input n) :=\n  fun x => edges.any fun e => x e.1 && x e.2\n\ntheorem seed_does_not_separate (u v i j : Fin n)\n    (hne : ¬ ((u = i ∧ v = j) ∨ (u = j ∧ v = i))) :\n    ∀ g ∈ seeds u v, ¬ Separates (single i) (single j) (pair i j) g := by\n  intro g hg h\n  simp only [seeds, List.mem_append, List.mem_cons, List.mem_ofFn, List.not_mem_nil, or_false] at hg\n  rcases hg with (rfl | rfl | ⟨k, rfl⟩) | rfl\n  · simp [Separates] at h\n  · simp [Separates] at h\n  · simp [Separates, inputWire, PEqualNP.PairShadow.unitInput, PEqualNP.EdgeOwnership.pairInput] at h\n    tauto\n  · simp [Separates, andWire, inputWire, PEqualNP.PairShadow.unitInput, PEqualNP.EdgeOwnership.pairInput] at h\n    exact hne (by tauto)\n\ntheorem edge_separates (edges : List (Fin n × Fin n))\n    (hloop : ∀ e ∈ edges, e.1 ≠ e.2) {i j : Fin n} (he : (i,j) ∈ edges) :\n    Separates (single i) (single j) (pair i j) (edgeFunction edges) := by\n  have hf (k : Fin n) : edgeFunction edges (single k) = false := by\n    apply Bool.eq_false_iff.mpr\n    intro ht\n    obtain ⟨⟨a,b⟩, hab, hv⟩ := List.any_eq_true.mp ht\n    simp [PEqualNP.PairShadow.unitInput] at hv\n    exact hloop (a,b) hab (hv.1.trans hv.2.symm)\n  refine ⟨hf i, hf j, List.any_eq_true.mpr ⟨(i,j), he, ?_⟩⟩\n  simp [PEqualNP.EdgeOwnership.pairInput]\n\ntheorem first_separation_of_edge {edges : List (Fin n × Fin n)} {u v i j : Fin n}\n    {gates : List (Wire (Input n))}\n    (hloop : ∀ e ∈ edges, e.1 ≠ e.2)\n    (he : (i,j) ∈ edges) (hne : ¬ ((u = i ∧ v = j) ∨ (u = j ∧ v = i)))\n    (hout : edgeFunction edges ∈ gates) :\n    ∃ k : Fin gates.length,\n      FirstSeparates (single i) (single j) (pair i j) (seeds u v) gates k :=\n  first_separation (single i) (single j) (pair i j) _ _\n    (seed_does_not_separate u v i j hne) ⟨_, hout, edge_separates edges hloop he⟩\n\ntheorem crossing_of_edge {edges : List (Fin n × Fin n)} {u v i j : Fin n}\n    {gates : List (Wire (Input n))}\n    (hloop : ∀ e ∈ edges, e.1 ≠ e.2)\n    (he : (i,j) ∈ edges) (hne : ¬ ((u = i ∧ v = j) ∨ (u = j ∧ v = i)))\n    (hb : Built (seeds u v) gates) (hout : edgeFunction edges ∈ gates) :\n    ∃ k : Fin gates.length, ∃ a ∈ seeds u v ++ gates.take k.val,\n      ∃ b ∈ seeds u v ++ gates.take k.val,\n        gates.get k = andWire a b ∧ Crosses (single i) (single j) (pair i j) a b := by\n  obtain ⟨k, hk⟩ := first_separation_of_edge hloop he hne hout\n  obtain ⟨a, ha, b, hb, hop⟩ := hb k\n  exact ⟨k, a, ha, b, hb, first_separation_forces_and hk ha hb hop⟩\n\ndef IsAndAt (seed gates : List (Wire α)) (k : Fin gates.length) : Prop :=\n  ∃ a ∈ seed ++ gates.take k.val, ∃ b ∈ seed ++ gates.take k.val,\n    gates.get k = andWire a b\n\ntheorem and_at_first_separation {p q z : α} {seed gates : List (Wire α)}\n    {k : Fin gates.length} (hb : Built seed gates)\n    (hf : FirstSeparates p q z seed gates k) : IsAndAt seed gates k := by\n  obtain ⟨a, ha, b, hb, hop⟩ := hb k\n  exact ⟨a, ha, b, hb, (first_separation_forces_and hf ha hb hop).1⟩\n\ntheorem crosses_singletons {p q z : α} {a b : Wire α}\n    (h : Crosses p q z a b) : a p ≠ a q := by\n  rcases h.2.2 with ⟨hp, hq, _, _⟩ | ⟨hp, hq, _, _⟩ <;> simp [hp, hq]\n\ntheorem two_ands_of_five_cycle {seed gates : List (Wire α)}\n    (hb : Built seed gates) (p₀ p₁ p₂ p₃ p₄ z₀ z₁ z₂ z₃ z₄ : α)\n    (h₀ : ∃ k, FirstSeparates p₀ p₁ z₀ seed gates k)\n    (h₁ : ∃ k, FirstSeparates p₁ p₂ z₁ seed gates k)\n    (h₂ : ∃ k, FirstSeparates p₂ p₃ z₂ seed gates k)\n    (h₃ : ∃ k, FirstSeparates p₃ p₄ z₃ seed gates k)\n    (h₄ : ∃ k, FirstSeparates p₄ p₀ z₄ seed gates k) :\n    ∃ k l, k ≠ l ∧ IsAndAt seed gates k ∧ IsAndAt seed gates l := by\n  classical\n  by_cases hunique : ∀ k l, IsAndAt seed gates k → IsAndAt seed gates l → k = l\n  · exfalso\n    obtain ⟨k₀, hf₀⟩ := h₀\n    obtain ⟨k₁, hf₁⟩ := h₁\n    obtain ⟨k₂, hf₂⟩ := h₂\n    obtain ⟨k₃, hf₃⟩ := h₃\n    obtain ⟨k₄, hf₄⟩ := h₄\n    have ha₀ := and_at_first_separation hb hf₀\n    have hk₁ := hunique k₁ k₀ (and_at_first_separation hb hf₁) ha₀\n    have hk₂ := hunique k₂ k₀ (and_at_first_separation hb hf₂) ha₀\n    have hk₃ := hunique k₃ k₀ (and_at_first_separation hb hf₃) ha₀\n    have hk₄ := hunique k₄ k₀ (and_at_first_separation hb hf₄) ha₀\n    subst k₁ k₂ k₃ k₄\n    obtain ⟨a, ha, b, hb', hop⟩ := hb k₀\n    have hn₀ := crosses_singletons (first_separation_forces_and hf₀ ha hb' hop).2\n    have hn₁ := crosses_singletons (first_separation_forces_and hf₁ ha hb' hop).2\n    have hn₂ := crosses_singletons (first_separation_forces_and hf₂ ha hb' hop).2\n    have hn₃ := crosses_singletons (first_separation_forces_and hf₃ ha hb' hop).2\n    have hn₄ := crosses_singletons (first_separation_forces_and hf₄ ha hb' hop).2\n    cases h₀ : a p₀ <;> cases h₁ : a p₁ <;> cases h₂ : a p₂ <;> cases h₃ : a p₃ <;> cases h₄ : a p₄ <;>\n      simp_all\n  · push Not at hunique\n    obtain ⟨k, l, hk, hl, hne⟩ := hunique\n    exact ⟨k, l, hne, hk, hl⟩\n\ntheorem head_or_condition (gates : List (Wire α)) :\n    ∀ g ∈ gates.head?, ∃ a b : Wire α, g = orWire a b := by\n  intro g _\n  exact ⟨g, g, funext fun x => (Bool.or_self (g x)).symm⟩\n\nend PEqualNP.Outside.L_meta_18647\n\nopen PEqualNP.Outside.L_meta_18647 in\ntheorem PEqualNP.Outside.L_meta_18647 :\n  have edges : 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 : ℕ)))];have seeds : List ((Fin 10 → Bool) → Bool) :=\n    ((fun _ => false) :: (fun _ => true) :: List.ofFn (fun k x => x k)) ++\n      [fun x => x 0 && x 1];\n  ∀ (gates : List ((Fin 10 → Bool) → Bool)),\n    (∀ k : Fin gates.length, ∃ a ∈ seeds ++ gates.take k.val,\n      ∃ b ∈ seeds ++ gates.take k.val,\n        gates.get k = (fun x => a x && b x) ∨ gates.get k = (fun x => a x || b x)) →\n    (fun x => edges.any (fun e => x e.1 && x e.2)) ∈ gates →\n    (∀ i j : Fin 10, (i,j) ∈ edges → (i,j) ≠ (0,1) → (i,j) ≠ (1,0) →\n      ∃ k : Fin gates.length, ∃ a ∈ seeds ++ gates.take k.val,\n        ∃ b ∈ seeds ++ gates.take k.val,\n          gates.get k = (fun x => a x && b x) ∧\n          a (fun t => decide (t = i ∨ t = j)) = true ∧\n          b (fun t => decide (t = i ∨ t = j)) = true ∧\n          ((a (fun t => decide (t = i)) = true ∧ a (fun t => decide (t = j)) = false ∧\n            b (fun t => decide (t = i)) = false ∧ b (fun t => decide (t = j)) = true) ∨\n           (a (fun t => decide (t = i)) = false ∧ a (fun t => decide (t = j)) = true ∧\n            b (fun t => decide (t = i)) = true ∧ b (fun t => decide (t = j)) = false))) ∧\n    ∃ k l : Fin gates.length, k ≠ l ∧\n      (∃ a ∈ seeds ++ gates.take k.val, ∃ b ∈ seeds ++ gates.take k.val,\n        gates.get k = (fun x => a x && b x)) ∧\n      (∃ a ∈ seeds ++ gates.take l.val, ∃ b ∈ seeds ++ gates.take l.val,\n        gates.get l = (fun x => a x && b x)) := by\n  dsimp only\n  intro gates hb hout\n  let edges : 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 : ℕ)))]\n  change Built (seeds 0 1) gates at hb\n  change edgeFunction edges ∈ gates at hout\n  have hloop : ∀ e ∈ edges, e.1 ≠ e.2 := by\n    dsimp [edges]\n    decide +kernel\n  constructor\n  · intro i j he hf hr\n    have hne : ¬ (((0 : Fin 10) = i ∧ (1 : Fin 10) = j) ∨\n        ((0 : Fin 10) = j ∧ (1 : Fin 10) = i)) := by\n      rintro (⟨rfl, rfl⟩ | ⟨rfl, rfl⟩)\n      · exact hf rfl\n      · exact hr rfl\n    exact crossing_of_edge hloop he hne hb hout\n  · have first (i j : Fin 10) (he : (i,j) ∈ edges)\n        (hne : ¬ (((0 : Fin 10) = i ∧ (1 : Fin 10) = j) ∨\n          ((0 : Fin 10) = j ∧ (1 : Fin 10) = i))) :=\n      first_separation_of_edge hloop he hne hout\n    exact two_ands_of_five_cycle hb\n      (single 5) (single 7) (single 9) (single 6) (single 8)\n      (pair 5 7) (pair 7 9) (pair 9 6) (pair 6 8) (pair 8 5)\n      (first 5 7 (by dsimp [edges]; decide +kernel) (by decide +kernel))\n      (first 7 9 (by dsimp [edges]; decide +kernel) (by decide +kernel))\n      (first 9 6 (by dsimp [edges]; decide +kernel) (by decide +kernel))\n      (first 6 8 (by dsimp [edges]; decide +kernel) (by decide +kernel))\n      (first 8 5 (by dsimp [edges]; decide +kernel) (by decide +kernel))\n",
      "sha256": "2442a5ee2aac8418581c9b94dbadc75048e5f387d3b27583aac6d04aa196d512",
      "exact statement": "have edges : 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 : ℕ)))];have seeds : List ((Fin 10 → Bool) → Bool) :=\n  ((fun _ => false) :: (fun _ => true) :: List.ofFn (fun k x => x k)) ++\n    [fun x => x 0 && x 1];\n∀ (gates : List ((Fin 10 → Bool) → Bool)),\n  (∀ k : Fin gates.length, ∃ a ∈ seeds ++ gates.take k.val,\n    ∃ b ∈ seeds ++ gates.take k.val,\n      gates.get k = (fun x => a x && b x) ∨ gates.get k = (fun x => a x || b x)) →\n  (fun x => edges.any (fun e => x e.1 && x e.2)) ∈ gates →\n  (∀ i j : Fin 10, (i,j) ∈ edges → (i,j) ≠ (0,1) → (i,j) ≠ (1,0) →\n    ∃ k : Fin gates.length, ∃ a ∈ seeds ++ gates.take k.val,\n      ∃ b ∈ seeds ++ gates.take k.val,\n        gates.get k = (fun x => a x && b x) ∧\n        a (fun t => decide (t = i ∨ t = j)) = true ∧\n        b (fun t => decide (t = i ∨ t = j)) = true ∧\n        ((a (fun t => decide (t = i)) = true ∧ a (fun t => decide (t = j)) = false ∧\n          b (fun t => decide (t = i)) = false ∧ b (fun t => decide (t = j)) = true) ∨\n         (a (fun t => decide (t = i)) = false ∧ a (fun t => decide (t = j)) = true ∧\n          b (fun t => decide (t = i)) = true ∧ b (fun t => decide (t = j)) = false))) ∧\n  ∃ k l : Fin gates.length, k ≠ l ∧\n    (∃ a ∈ seeds ++ gates.take k.val, ∃ b ∈ seeds ++ gates.take k.val,\n      gates.get k = (fun x => a x && b x)) ∧\n    (∃ a ∈ seeds ++ gates.take l.val, ∃ b ∈ seeds ++ gates.take l.val,\n      gates.get l = (fun x => a x && b x))",
      "statementSha256": "ab52a93c241a85d2eb755b11b4adc2fde7def3e6567e3edd551fc4a9423fff7b",
      "role": "supporting theorem and inductive helpers",
      "relationToTarget": "Necessary condition under the target's construction hypothesis and the assumption that the Petersen edge function occurs. It uses the same seed, prefix indexing, and edge list. It drops freshness and the gate-exclusion premises because neither is needed for the two-AND bound. This artifact's theorem type differs from the target."
    }
  ],
  "verification": [
    {
      "artifactSha256": "2442a5ee2aac8418581c9b94dbadc75048e5f387d3b27583aac6d04aa196d512",
      "command": "cd project/lean && ../../clean-run lake build +PEqualNP.Outside.L_meta_18647 +PEqualNP.Defs",
      "exitCode": 0,
      "verdict": "Build completed successfully (5151 jobs).",
      "logExcerpt": "Build completed successfully (5151 jobs)."
    },
    {
      "artifactSha256": "2442a5ee2aac8418581c9b94dbadc75048e5f387d3b27583aac6d04aa196d512",
      "command": "cd project/lean && ../../clean-run lake env lean ../../Axioms.lean",
      "exitCode": 0,
      "verdict": "All printed axiom sets are subsets of the allowed set.",
      "logExcerpt": "'PEqualNP.Outside.L_meta_18647' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.first_separation' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.first_separation_forces_and' depends on axioms: [propext]\n'PEqualNP.Outside.L_meta_18647.crossing_of_edge' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.two_ands_of_five_cycle' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_meta_18647.head_or_condition' depends on axioms: [Quot.sound]"
    },
    {
      "artifactSha256": "2442a5ee2aac8418581c9b94dbadc75048e5f387d3b27583aac6d04aa196d512",
      "command": "cd project && ../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: Mathlib.Tactic.Tauto PEqualNP.Defs",
      "logExcerpt": "imports allowed: Mathlib.Tactic.Tauto PEqualNP.Defs"
    },
    {
      "artifactSha256": "2442a5ee2aac8418581c9b94dbadc75048e5f387d3b27583aac6d04aa196d512",
      "command": "cd project && ../clean-run node .github/scripts/outside-guard.mjs closure . ../imports.json lean/PEqualNP/Outside/L_meta_18647.lean ../guard-out check",
      "exitCode": 0,
      "verdict": "outside-written, built only in the locked step: (none)",
      "logExcerpt": "built before the locked step: PEqualNP.Defs PEqualNP.Defs.AffinePlane PEqualNP.Defs.Algebraic PEqualNP.Defs.AndCountCircuit PEqualNP.Defs.Base PEqualNP.Defs.BicliqueBlockCost PEqualNP.Defs.BinaryCircuit PEqualNP.Defs.BlindGate PEqualNP.Defs.BorrowedCoverCircuit PEqualNP.Defs.BranchingProgram PEqualNP.Defs.CarriedProduct PEqualNP.Defs.CircuitLowerBounds PEqualNP.Defs.CircuitMoves PEqualNP.Defs.Classes PEqualNP.Defs.CleanedNonEdge PEqualNP.Defs.CoLevel PEqualNP.Defs.Core PEqualNP.Defs.CoverPromise PEqualNP.Defs.CrossAnd PEqualNP.Defs.DeMorganFormula PEqualNP.Defs.EdgeOwnership PEqualNP.Defs.Expanders PEqualNP.Defs.FactorSubst PEqualNP.Defs.Gct PEqualNP.Defs.GenericRejection PEqualNP.Defs.HeptadCover PEqualNP.Defs.InvisibleWire PEqualNP.Defs.LineDegree PEqualNP.Defs.LiteralPartition PEqualNP.Defs.LowMerge PEqualNP.Defs.LratEncoding PEqualNP.Defs.MergeCost PEqualNP.Defs.MetaComplexity PEqualNP.Defs.MetaComplexityCoverCircuit PEqualNP.Defs.MetaComplexityLgp PEqualNP.Defs.MetaComplexityLgpMono PEqualNP.Defs.MetaComplexityLocal PEqualNP.Defs.MetaComplexityMinimal PEqualNP.Defs.MetaComplexitySparse PEqualNP.Defs.MetaComplexityTypedRank PEqualNP.Defs.MinimumComplex PEqualNP.Defs.NestedCoverCircuit PEqualNP.Defs.NewLowMerge PEqualNP.Defs.NotBracket PEqualNP.Defs.NotPremium PEqualNP.Defs.Oracle PEqualNP.Defs.PairShadow PEqualNP.Defs.Pebble PEqualNP.Defs.PebbleThreeWay PEqualNP.Defs.Peelable PEqualNP.Defs.PencilGate PEqualNP.Defs.PendantBit PEqualNP.Defs.PointTypes PEqualNP.Defs.ProofComplexity PEqualNP.Defs.ProofComplexityBit PEqualNP.Defs.ProofComplexityChain PEqualNP.Defs.ProofComplexityGeneral PEqualNP.Defs.ProofComplexityLift PEqualNP.Defs.ProofComplexityLin PEqualNP.Defs.ProofComplexityLinK PEqualNP.Defs.ProofComplexityMoment PEqualNP.Defs.ProofComplexityPC PEqualNP.Defs.ProofComplexityResK PEqualNP.Defs.ProofComplexityRestrict PEqualNP.Defs.ReadK PEqualNP.Defs.ReadKJoin PEqualNP.Defs.ReadTwo PEqualNP.Defs.Represents PEqualNP.Defs.RiffleRank PEqualNP.Defs.Search PEqualNP.Defs.SearchCP PEqualNP.Defs.SearchQ PEqualNP.Defs.SearchQSyn PEqualNP.Defs.SearchQTree PEqualNP.Defs.SearchRUP PEqualNP.Defs.SearchSoS PEqualNP.Defs.SharedBlockCost PEqualNP.Defs.SharedOr PEqualNP.Defs.SharingOrder PEqualNP.Defs.SingleLevel PEqualNP.Defs.SplitCount PEqualNP.Defs.Subdivision PEqualNP.Defs.SyntacticMultilinear PEqualNP.Defs.TimeAlt PEqualNP.Defs.TopForm PEqualNP.Defs.TopFormNames PEqualNP.Defs.TwoColour\noutside-written, built only in the locked step: (none)"
    },
    {
      "artifactSha256": "2442a5ee2aac8418581c9b94dbadc75048e5f387d3b27583aac6d04aa196d512",
      "command": "cd project && ../clean-run node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_18647.lean ../supporting-statement.txt check",
      "exitCode": 0,
      "verdict": "ACCEPTED (check): PEqualNP.Outside.L_meta_18647; axioms [propext, Classical.choice, Quot.sound]; kernel re-checked 1765 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.SplitCount, PEqualNP.Defs.InvisibleWire, PEqualNP.Defs.SharedOr, PEqualNP.Defs.CleanedNonEdge, PEqualNP.Defs.MergeCost, PEqualNP.Defs.CarriedProduct, PEqualNP.Defs.TopForm, PEqualNP.Defs.SyntacticMultilinear, PEqualNP.Defs.TopFormNames, PEqualNP.Defs.HeptadCover, PEqualNP.Defs.ReadK, PEqualNP.Defs.GenericRejection, PEqualNP.Defs.CrossAnd, PEqualNP.Defs.ReadKJoin, PEqualNP.Defs.SharedBlockCost, PEqualNP.Defs.ReadTwo, PEqualNP.Defs.LratEncoding, PEqualNP.Defs.Core, PEqualNP.Defs.PointTypes, PEqualNP.Defs.FactorSubst, PEqualNP.Defs.TwoColour, PEqualNP.Defs.Represents, PEqualNP.Defs.BranchingProgram, PEqualNP.Defs, PEqualNP.Outside.L_meta_18647]",
      "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=1s\nchecker stage: verifier reading the built file t=3s\n\nACCEPTED (check): PEqualNP.Outside.L_meta_18647; axioms [propext, Classical.choice, Quot.sound]; kernel re-checked 1765 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.SplitCount, PEqualNP.Defs.InvisibleWire, PEqualNP.Defs.SharedOr, PEqualNP.Defs.CleanedNonEdge, PEqualNP.Defs.MergeCost, PEqualNP.Defs.CarriedProduct, PEqualNP.Defs.TopForm, PEqualNP.Defs.SyntacticMultilinear, PEqualNP.Defs.TopFormNames, PEqualNP.Defs.HeptadCover, PEqualNP.Defs.ReadK, PEqualNP.Defs.GenericRejection, PEqualNP.Defs.CrossAnd, PEqualNP.Defs.ReadKJoin, PEqualNP.Defs.SharedBlockCost, PEqualNP.Defs.ReadTwo, PEqualNP.Defs.LratEncoding, PEqualNP.Defs.Core, PEqualNP.Defs.PointTypes, PEqualNP.Defs.FactorSubst, PEqualNP.Defs.TwoColour, PEqualNP.Defs.Represents, PEqualNP.Defs.BranchingProgram, PEqualNP.Defs, PEqualNP.Outside.L_meta_18647]"
    },
    {
      "artifactSha256": "2442a5ee2aac8418581c9b94dbadc75048e5f387d3b27583aac6d04aa196d512",
      "command": "cd project && ../clean-run node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_18647.lean ../statement.txt check",
      "exitCode": 1,
      "verdict": "REJECTED (statement): PEqualNP.Outside.L_meta_18647 is not a proof of the recorded statement.",
      "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=1s\nchecker stage: verifier reading the built file t=2s\nkernel: (kernel) declaration type mismatch, 'PEqualNPChecker.witness' has type\n  have edges :=\n    [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0), (0, 5), (1, 6), (2, 7), (3, 8), (4, 9), (5, 7), (7, 9), (9, 6), (6, 8),\n      (8, 5)];\n  have seeds := ((fun x => false) :: (fun x => true) :: List.ofFn fun k x => x k) ++ [fun x => x 0 && x 1];\n  ∀ (gates : List ((Fin 10 → Bool) → Bool)),\n    (∀ (k : Fin gates.length),\n        ∃ a ∈ seeds ++ List.take (↑k) gates,\n          ∃ b ∈ seeds ++ List.take (↑k) gates,\n            (gates.get k = fun x => a x && b x) ∨ gates.get k = fun x => a x || b x) →\n      (fun x => edges.any fun e => x e.1 && x e.2) ∈ gates →\n        (∀ (i j : Fin 10),\n            (i, j) ∈ edges →\n              (i, j) ≠ (0, 1) →\n                (i, j) ≠ (1, 0) →\n                  ∃ k,\n                    ∃ a ∈ seeds ++ List.take (↑k) gates,\n                      ∃ b ∈ seeds ++ List.take (↑k) gates,\n                        (gates.get k = fun x => a x && b x) ∧\n                          (a fun t => decide (t = i ∨ t = j)) = true ∧\n                            (b fun t => decide (t = i ∨ t = j)) = true ∧\n                              ((a fun t => decide (t = i)) = true ∧\n                                  (a fun t => decide (t = j)) = false ∧\n                                    (b fun t => decide (t = i)) = false ∧ (b fun t => decide (t = j)) = true ∨\n                                (a fun t => decide (t = i)) = false ∧\n                                  (a fun t => decide (t = j)) = true ∧\n                                    (b fun t => decide (t = i)) = true ∧ (b fun t => decide (t = j)) = false)) ∧\n          ∃ k l,\n            k ≠ l ∧\n              (∃ a ∈ seeds ++ List.take (↑k) gates,\n                  ∃ b ∈ seeds ++ List.take (↑k) gates, gates.get k = fun x => a x && b x) ∧\n                ∃ a ∈ seeds ++ List.take (↑l) gates,\n                  ∃ b ∈ seeds ++ List.take (↑l) gates, gates.get l = fun x => a x && b x\nbut it is expected to have type\n  have x1 :=\n    [(0, 1), (1, 2), (2, 3), (3, 4), (4, 0), (0, 5), (1, 6), (2, 7), (3, 8), (4, 9), (5, 7), (7, 9), (9, 6), (6, 8),\n      (8, 5)];\n  ∀ (x2 : List ((Fin 10 → Bool) → Bool)),\n    x2.length ≤ 18 →\n      (∀ (x4 : Fin x2.length),\n          have x5 :=\n            ((fun x5 => false) :: (fun x5 => true) :: List.ofFn fun x5 x6 => x6 x5) ++ [fun x5 => x5 0 && x5 1] ++\n              List.take (↑x4) x2;\n          x2.get x4 ∉ x5 ∧\n            ∃ x6 ∈ x5, ∃ x7 ∈ x5, (x2.get x4 = fun x8 => x6 x8 && x7 x8) ∨ x2.get x4 = fun x8 => x6 x8 || x7 x8) →\n        (∀ x5 ∈ x2.head?, ∃ x7 x8, x5 = fun x9 => x7 x9 || x8 x9) →\n          (∀ x6 ∈ x2,\n              ∀ (x8 x9 : Fin 10),\n                x8 ≠ x9 →\n                  (¬(x1.any fun x11 => decide ((x8, x9) = x11 ∨ (x9, x8) = x11)) = true →\n                      x6 ≠ fun x12 => x12 x8 && x12 x9) ∧\n                    x6 ≠ fun x11 => x11 x8 || x11 x9) →\n            (fun x7 => x1.any fun x8 => x7 x8.1 && x7 x8.2) ∉ x2\nREJECTED (statement): PEqualNP.Outside.L_meta_18647 is not a proof of the recorded statement."
    }
  ],
  "experiments": [
    {
      "program content": "import itertools\n\nassignments = range(1 << 10)\ncolumns = [sum(1 << x for x in assignments if (x >> i) & 1) for i in range(10)]\nseed_gate = columns[0] & columns[1]\navailable = [0, (1 << len(assignments)) - 1, *columns, seed_gate]\n\ndef add(op, lhs, rhs):\n    assert lhs in available and rhs in available\n    result = (lhs & rhs) if op == \"and\" else (lhs | rhs)\n    assert result not in available\n    available.append(result)\n    return result\n\na = add(\"or\", columns[2], seed_gate)\na = add(\"or\", a, columns[4])\nb = add(\"or\", columns[3], seed_gate)\nb = add(\"or\", b, columns[7])\nw = add(\"and\", a, b)\nedges = {(min(i,j),max(i,j)) for i,j in [\n    (0,1),(1,2),(2,3),(3,4),(4,0),(0,5),(1,6),(2,7),\n    (3,8),(4,9),(5,7),(7,9),(9,6),(6,8),(8,5)\n]}\nderived = available[13:]\nfor i,j in itertools.combinations(range(10), 2):\n    assert (columns[i] | columns[j]) not in derived\n    if (i,j) not in edges:\n        assert (columns[i] & columns[j]) not in derived\ndef value(f, x):\n    return (f >> x) & 1\ncrossings = []\nfor i,j in itertools.combinations(range(10), 2):\n    profiles = [(value(f, 1 << i), value(f, 1 << j)) for f in (a,b)]\n    if set(profiles) == {(1,0), (0,1)}:\n        assert value(w, (1 << i) | (1 << j)) == 1\n        assert all(value(f, (1 << i) | (1 << j)) == 0 for f in available[:-1]\n                   if value(f, 1 << i) == value(f, 1 << j) == 0)\n        crossings.append((i,j))\nprint(f\"{len(derived)} fresh gates, {len(assignments)} assignments\")\nprint(\"First separation at the same AND for edges:\", sorted(set(crossings) & edges))\nprint(\"First separation at the same AND for nonedges:\", sorted(set(crossings) - edges))\ntarget = 0\nfor i,j in edges:\n    target |= columns[i] & columns[j]\nprint(\"Petersen output occurs:\", target in derived)\n",
      "range": "One fixed 5-gate list; all 1,024 ten-bit inputs and all 45 unordered pairs of distinct vertices.",
      "command": "cd test/scratch && python3 witness_example.py",
      "exitCode": 0,
      "output": "5 fresh gates, 1024 assignments\nFirst separation at the same AND for edges: [(2, 3), (2, 7), (3, 4)]\nFirst separation at the same AND for nonedges: [(4, 7)]\nPetersen output occurs: False"
    },
    {
      "program content": "import PEqualNP.Outside.L_meta_18647\n\nopen PEqualNP.Outside.L_meta_18647 in\nexample :\n  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 →\n    (∃ i j : Fin x2.length, i ≠ j) := by\n  intro edges gates seedsBound hgates hhead hnonedges hout\n  have hb := fun k => (hgates k).2\n  have ⟨_, k, l, hkl, _, _⟩ :=\n    PEqualNP.Outside.L_meta_18647 gates hb hout\n  exact ⟨k, l, hkl⟩\n",
      "range": "One Lean implication with the published premises and the asserted output membership.",
      "command": "cd project/lean && ../../clean-run lake env lean ../../Bridge.lean",
      "exitCode": 0,
      "output": "../../Bridge.lean:5:846: warning: Variable name `x5` is not explicitly referenced.\n\nHint: The binding can be removed (if unused) or named `_` (if used implicitly). Alternatively, prefix the name with `_` to silence this warning:\n  [apply] _x5\n\nNote: This linter can be disabled with `set_option linter.unusedVariables false`\n../../Bridge.lean:5:896: warning: Variable name `x5` is not explicitly referenced.\n\nHint: The binding can be removed (if unused) or named `_` (if used implicitly). Alternatively, prefix the name with `_` to silence this warning:\n  [apply] _x5\n\nNote: This linter can be disabled with `set_option linter.unusedVariables false`"
    }
  ],
  "usefulLemmas": [
    "first_separation proves the earliest witness exists, with seed plus take k as the exact available prefix.",
    "first_separation_forces_and constrains every legal decomposition at that index. An OR would inherit an earlier separator, and a separating AND with no earlier separator has operands with opposite singleton values and both pair values true.",
    "crossing_of_edge projects the invariant to any loopless edge list; only the seeded unordered pair is exempt.",
    "two_ands_of_five_cycle counts distinct existing indices. A single first AND for all five edges would give a Boolean coloring alternating around an odd cycle.",
    "head_or_condition uses g = g OR g; the target does not require those existential operands to be available."
  ],
  "failedApproaches": [
    "Charging a distinct AND to each edge or assuming every first-separator AND avoids nonedges fails under the target's gate exclusions alone. The bounded example produces overlapping edge witnesses and a nonedge witness.",
    "The accepted 9-input comparison module uses its own truth-table invariant. This attempt found no allowed import transporting its bound to the Petersen instance."
  ],
  "openObligations": [
    "Derive a gate-count inequality excluding a list of at most 18 derived gates, accounting for shared witnesses and the extra gates needed to suppress nonedge pair values when such values can reach the output.",
    "Prove the exact published target or certify a refutation. The five-gate example omits the Petersen output and does not refute the target."
  ],
  "nextExperiment": "Quantify which nonedge pair values from a shared first-separator actually reach the output and charge the first AND that blocks each surviving value. Check whether sharing those ANDs prevents any additive gate-count bound.",
  "review": "Reviewed the induction prefix identity and witness budget explicitly: extending the seed by one gate and advancing the index by one leaves exactly the same available list. At the selected index, the earlier-separator exclusions apply to both operands of any allowed decomposition. All five witnesses can use one fixed decomposition if they share an index, so the odd-cycle contradiction counts indices rather than expressions. Independent kernel replay results are recorded under verification.",
  "leaseStatus": "None. This item performed no lease or desk writes.",
  "submissionStatus": "No submission. The JSON embeds the supporting Lean source and its separate statement."
}
