{
 "step": "L-meta-9695",
 "role": "Lean 4 automation agent; strategy: proof by reflection (computable Bool checker that replays an explicit cutting planes run, plus a soundness lemma check = true -> IsCPRefutation, closed by kernel evaluation with decide +kernel)",
 "claim": "checked",
 "target": "lemma",
 "claim_note": "The step's statement (PHP(5,4) refuted in at most 108 lines) is NOT proved. The delivered file is a lemma file: the same statement with the bound 109. It built here and the project's checker (node tools/check-lean.mjs) printed ACCEPTED against a statement file holding the 109 version. The 108 run was not found; see discoveries and dead_ends. The twin L-meta-9698 (no run of at most 108 lines) was not proved either.",
 "lean_path": "lean/PEqualNP/Outside/L_meta_9695.lean",
 "lean_module": "PEqualNP.Outside.L_meta_9695",
 "lean_statement_proved": "∃ π : List (PEqualNP.Search.CPLine (Fin (4 + 1) × Fin 4)), PEqualNP.Search.IsCPRefutation (PEqualNP.ProofComplexity.PHP (4 + 1) 4) π ∧ π.length ≤ 109",
 "lean_statement_posted": "∃ π : List (PEqualNP.Search.CPLine (Fin (4 + 1) × Fin 4)), PEqualNP.Search.IsCPRefutation (PEqualNP.ProofComplexity.PHP (4 + 1) 4) π ∧ π.length ≤ 108",
 "lean_text": "import PEqualNP.Defs\n\nnamespace PEqualNP.Outside.L_meta_9695\n\nopen PEqualNP.ProofComplexity PEqualNP.Search\n\n-- A stored line: its coefficient list over the m * n variables, and its constant.\nabbrev Row : Type := List ℤ × ℤ\n\n-- A step of an explicit run: a tag, three natural parameters, and the line it produces.\n-- Tags: 0 pigeon axiom i; 1 hole axiom (i, i', j); 2 Boolean axiom x ≥ 0 at variable a;\n-- 3 Boolean axiom -x ≥ -1 at variable a; 4 add i j; 5 mul i k; 6 div i d.\n-- Line indices count from the oldest line, which is index 0.\nabbrev Step : Type := ℕ × ℕ × ℕ × ℕ × Row\n\nvariable {m n : ℕ}\n\ndef toLine (m n : ℕ) (r : Row) : CPLine (Fin m × Fin n) :=\n  (fun v => r.1.getD (finProdFinEquiv v).val 0, r.2)\n\ndef pigeonRow (m n : ℕ) (i : Fin m) : Row :=\n  (List.ofFn (fun k : Fin (m * n) => if (finProdFinEquiv.symm k).1 = i then (1 : ℤ) else 0), 1)\n\ndef holeRow (m n : ℕ) (i i' : Fin m) (j : Fin n) : Row :=\n  (List.ofFn (fun k : Fin (m * n) =>\n    (if finProdFinEquiv.symm k = (i, j) then (-1 : ℤ) else 0) +\n    (if finProdFinEquiv.symm k = (i', j) then (-1 : ℤ) else 0)), -1)\n\ndef loRow (m n : ℕ) (v : Fin m × Fin n) : Row :=\n  (List.ofFn (fun k : Fin (m * n) => if k = finProdFinEquiv v then (1 : ℤ) else 0), 0)\n\ndef hiRow (m n : ℕ) (v : Fin m × Fin n) : Row :=\n  (List.ofFn (fun k : Fin (m * n) => if k = finProdFinEquiv v then (-1 : ℤ) else 0), -1)\n\ndef addRow (r s : Row) : Row := (List.zipWith (· + ·) r.1 s.1, r.2 + s.2)\n\ndef mulRow (k : ℕ) (r : Row) : Row := (r.1.map (fun x => (k : ℤ) * x), (k : ℤ) * r.2)\n\ndef divRow (d : ℕ) (r : Row) : Row := (r.1.map (fun x => x / (d : ℤ)), -((-r.2) / (d : ℤ)))\n\ndef zeroRow (m n : ℕ) : Row := (List.replicate (m * n) 0, 1)\n\ndef fetch (acc : List Row) (i : ℕ) : Option Row := acc[acc.length - 1 - i]?\n\ndef stepOk (m n : ℕ) (acc : List Row) (s : Step) : Bool :=\n  if s.1 = 0 then\n    if h : s.2.1 < m then decide (s.2.2.2.2 = pigeonRow m n ⟨s.2.1, h⟩) else false\n  else if s.1 = 1 then\n    if h : s.2.1 < m ∧ s.2.2.1 < m ∧ s.2.2.2.1 < n then\n      decide (s.2.1 ≠ s.2.2.1 ∧\n        s.2.2.2.2 = holeRow m n ⟨s.2.1, h.1⟩ ⟨s.2.2.1, h.2.1⟩ ⟨s.2.2.2.1, h.2.2⟩)\n    else false\n  else if s.1 = 2 then\n    if h : s.2.1 < m * n then\n      decide (s.2.2.2.2 = loRow m n (finProdFinEquiv.symm ⟨s.2.1, h⟩))\n    else false\n  else if s.1 = 3 then\n    if h : s.2.1 < m * n then\n      decide (s.2.2.2.2 = hiRow m n (finProdFinEquiv.symm ⟨s.2.1, h⟩))\n    else false\n  else if s.1 = 4 then\n    match fetch acc s.2.1, fetch acc s.2.2.1 with\n    | some e, some e' =>\n        decide (e.1.length = m * n ∧ e'.1.length = m * n ∧ s.2.2.2.2 = addRow e e')\n    | _, _ => false\n  else if s.1 = 5 then\n    match fetch acc s.2.1 with\n    | some e => decide (s.2.2.2.2 = mulRow s.2.2.1 e)\n    | none => false\n  else if s.1 = 6 then\n    match fetch acc s.2.1 with\n    | some e =>\n        decide (0 < s.2.2.1 ∧ (∀ x ∈ e.1, x % (s.2.2.1 : ℤ) = 0) ∧\n          s.2.2.2.2 = divRow s.2.2.1 e)\n    | none => false\n  else false\n\ndef run (m n : ℕ) : List Step → List Row → Option (List Row)\n  | [], acc => some acc\n  | s :: rest, acc => if stepOk m n acc s then run m n rest (s.2.2.2.2 :: acc) else none\n\ndef check (m n : ℕ) (steps : List Step) : Bool :=\n  match run m n steps [] with\n  | some acc => decide (zeroRow m n ∈ acc)\n  | none => false\n\ntheorem toLine_ofFn (f : Fin (m * n) → ℤ) (c : ℤ) :\n    toLine m n (List.ofFn f, c) = (fun v => f (finProdFinEquiv v), c) := by\n  refine Prod.ext ?_ rfl\n  funext v\n  show (List.ofFn f).getD (finProdFinEquiv v).val 0 = f (finProdFinEquiv v)\n  rw [List.getD_eq_getElem?_getD, List.getElem?_ofFn, dif_pos (finProdFinEquiv v).isLt]\n  rfl\n\ntheorem pigeonRow_eq (i : Fin m) :\n    toLine m n (pigeonRow m n i) =\n      clauseCP (Finset.univ.image (fun j : Fin n => ((i, j), true))) := by\n  unfold pigeonRow\n  rw [toLine_ofFn]\n  refine Prod.ext ?_ ?_\n  · funext v\n    obtain ⟨vi, vj⟩ := v\n    simp only [clauseCP, Equiv.symm_apply_apply]\n    rw [Finset.sum_image (fun a _ b _ hab => by simpa using hab)]\n    by_cases hi : vi = i\n    · subst hi\n      simp [Prod.ext_iff, Finset.sum_ite_eq']\n    · simp [Prod.ext_iff, hi, Ne.symm hi]\n  · simp only [clauseCP]\n    rw [Finset.sum_image (fun a _ b _ hab => by simpa using hab)]\n    simp\n\ntheorem holeRow_eq (i i' : Fin m) (j : Fin n) (hne : i ≠ i') :\n    toLine m n (holeRow m n i i' j) =\n      clauseCP ({((i, j), false), ((i', j), false)} : Clause (Fin m × Fin n)) := by\n  unfold holeRow\n  rw [toLine_ofFn]\n  have hne' : (((i, j), false) : Literal (Fin m × Fin n)) ≠ ((i', j), false) := by\n    simp [hne]\n  refine Prod.ext ?_ ?_\n  · funext v\n    simp only [clauseCP, Equiv.symm_apply_apply, Finset.sum_pair hne']\n    by_cases h1 : v = (i, j) <;> by_cases h2 : v = (i', j) <;> simp [h1, h2, eq_comm]\n  · simp [clauseCP, Finset.sum_pair hne']\n\ntheorem loRow_eq (v : Fin m × Fin n) :\n    toLine m n (loRow m n v) = (fun u => if u = v then 1 else 0, 0) := by\n  unfold loRow\n  rw [toLine_ofFn]\n  simp\n\ntheorem hiRow_eq (v : Fin m × Fin n) :\n    toLine m n (hiRow m n v) = (fun u => if u = v then -1 else 0, -1) := by\n  unfold hiRow\n  rw [toLine_ofFn]\n  simp\n\ntheorem addRow_eq (e e' : Row) (he : e.1.length = m * n) (he' : e'.1.length = m * n) :\n    toLine m n (addRow e e') = ((toLine m n e).1 + (toLine m n e').1, e.2 + e'.2) := by\n  refine Prod.ext ?_ rfl\n  funext v\n  have hv : (finProdFinEquiv v).val < m * n := (finProdFinEquiv v).isLt\n  have h1 : (finProdFinEquiv v).val < e.1.length := by rw [he]; exact hv\n  have h2 : (finProdFinEquiv v).val < e'.1.length := by rw [he']; exact hv\n  have h3 : (finProdFinEquiv v).val < (List.zipWith (· + ·) e.1 e'.1).length := by\n    rw [List.length_zipWith]\n    omega\n  simp only [toLine, addRow, Pi.add_apply, List.getD_eq_getElem?_getD,\n    List.getElem?_eq_getElem h1, List.getElem?_eq_getElem h2, List.getElem?_eq_getElem h3,\n    Option.getD_some, List.getElem_zipWith]\n\ntheorem mulRow_eq (k : ℕ) (e : Row) :\n    toLine m n (mulRow k e) = ((k : ℤ) • (toLine m n e).1, (k : ℤ) * e.2) := by\n  refine Prod.ext ?_ rfl\n  funext v\n  simp only [toLine, mulRow, Pi.smul_apply, smul_eq_mul, List.getD_eq_getElem?_getD,\n    List.getElem?_map]\n  cases e.1[(finProdFinEquiv v).val]? <;> simp\n\ntheorem divRow_eq (d : ℕ) (e : Row) :\n    toLine m n (divRow d e) =\n      (fun v => (toLine m n e).1 v / (d : ℤ), -((-e.2) / (d : ℤ))) := by\n  refine Prod.ext ?_ rfl\n  funext v\n  simp only [toLine, divRow, List.getD_eq_getElem?_getD, List.getElem?_map]\n  cases e.1[(finProdFinEquiv v).val]? <;> simp\n\ntheorem dvd_toLine (d : ℕ) (e : Row) (h : ∀ x ∈ e.1, x % (d : ℤ) = 0) (v : Fin m × Fin n) :\n    (d : ℤ) ∣ (toLine m n e).1 v := by\n  simp only [toLine, List.getD_eq_getElem?_getD]\n  cases hx : e.1[(finProdFinEquiv v).val]? with\n  | none => simp\n  | some x => exact Int.dvd_of_emod_eq_zero (h x (List.mem_of_getElem? hx))\n\ntheorem mem_of_fetch {acc : List Row} {i : ℕ} {e : Row} (h : fetch acc i = some e) : e ∈ acc :=\n  List.mem_of_getElem? h\n\ntheorem toLine_mem {acc : List Row} {e : Row} (h : e ∈ acc) :\n    toLine m n e ∈ acc.map (toLine m n) :=\n  List.mem_map.mpr ⟨e, h, rfl⟩\n\ntheorem stepOk_sound (acc : List Row) (s : Step) (h : stepOk m n acc s = true)\n    (hacc : IsCPDerivation (PHP m n) (acc.map (toLine m n))) :\n    IsCPDerivation (PHP m n) (toLine m n s.2.2.2.2 :: acc.map (toLine m n)) := by\n  unfold stepOk at h\n  by_cases h0 : s.1 = 0\n  · rw [if_pos h0] at h\n    split at h\n    · rw [of_decide_eq_true h, pigeonRow_eq]\n      refine hacc.ax _ ?_\n      simp only [PHP, Set.mem_union, Set.mem_setOf_eq]\n      exact Or.inl ⟨_, rfl⟩\n    · exact absurd h Bool.false_ne_true\n  rw [if_neg h0] at h\n  by_cases h1 : s.1 = 1\n  · rw [if_pos h1] at h\n    split at h\n    · obtain ⟨hne, hr⟩ := of_decide_eq_true h\n      rw [hr, holeRow_eq _ _ _ (Fin.ne_of_val_ne hne)]\n      refine hacc.ax _ ?_\n      simp only [PHP, Set.mem_union, Set.mem_setOf_eq]\n      exact Or.inr ⟨_, _, _, Fin.ne_of_val_ne hne, rfl⟩\n    · exact absurd h Bool.false_ne_true\n  rw [if_neg h1] at h\n  by_cases h2 : s.1 = 2\n  · rw [if_pos h2] at h\n    split at h\n    · rw [of_decide_eq_true h, loRow_eq]\n      exact hacc.boolLo _\n    · exact absurd h Bool.false_ne_true\n  rw [if_neg h2] at h\n  by_cases h3 : s.1 = 3\n  · rw [if_pos h3] at h\n    split at h\n    · rw [of_decide_eq_true h, hiRow_eq]\n      exact hacc.boolHi _\n    · exact absurd h Bool.false_ne_true\n  rw [if_neg h3] at h\n  by_cases h4 : s.1 = 4\n  · rw [if_pos h4] at h\n    split at h\n    · rename_i e e' hf hf'\n      obtain ⟨he, he', hr⟩ := of_decide_eq_true h\n      rw [hr, addRow_eq e e' he he']\n      exact hacc.add (toLine_mem (mem_of_fetch hf)) (toLine_mem (mem_of_fetch hf'))\n    · exact absurd h Bool.false_ne_true\n  rw [if_neg h4] at h\n  by_cases h5 : s.1 = 5\n  · rw [if_pos h5] at h\n    split at h\n    · rename_i e hf\n      rw [of_decide_eq_true h, mulRow_eq]\n      exact hacc.mul _ (toLine_mem (mem_of_fetch hf))\n    · exact absurd h Bool.false_ne_true\n  rw [if_neg h5] at h\n  by_cases h6 : s.1 = 6\n  · rw [if_pos h6] at h\n    split at h\n    · rename_i e hf\n      obtain ⟨hd, hdvd, hr⟩ := of_decide_eq_true h\n      rw [hr, divRow_eq]\n      exact hacc.div _ (toLine_mem (mem_of_fetch hf)) hd (dvd_toLine _ _ hdvd)\n    · exact absurd h Bool.false_ne_true\n  rw [if_neg h6] at h\n  exact absurd h Bool.false_ne_true\n\ntheorem run_sound (steps : List Step) (acc out : List Row)\n    (hacc : IsCPDerivation (PHP m n) (acc.map (toLine m n)))\n    (h : run m n steps acc = some out) :\n    IsCPDerivation (PHP m n) (out.map (toLine m n)) := by\n  induction steps generalizing acc with\n  | nil =>\n    simp only [run, Option.some.injEq] at h\n    subst h\n    exact hacc\n  | cons s rest ih =>\n    simp only [run] at h\n    split at h\n    · exact ih (s.2.2.2.2 :: acc) (stepOk_sound acc s (by assumption) hacc) h\n    · simp at h\n\ntheorem run_length (steps : List Step) (acc out : List Row) (h : run m n steps acc = some out) :\n    out.length = steps.length + acc.length := by\n  induction steps generalizing acc with\n  | nil =>\n    simp only [run, Option.some.injEq] at h\n    subst h\n    simp\n  | cons s rest ih =>\n    simp only [run] at h\n    split at h\n    · have := ih _ h\n      simp only [List.length_cons] at this ⊢\n      omega\n    · simp at h\n\ntheorem toLine_zeroRow : toLine m n (zeroRow m n) = ((0 : Fin m × Fin n → ℤ), (1 : ℤ)) := by\n  refine Prod.ext ?_ rfl\n  funext v\n  show (List.replicate (m * n) (0 : ℤ)).getD (finProdFinEquiv v).val 0 = 0\n  rw [List.getD_eq_getElem?_getD, List.getElem?_replicate_of_lt (finProdFinEquiv v).isLt]\n  rfl\n\ntheorem check_sound (steps : List Step) (h : check m n steps = true) :\n    ∃ π : List (CPLine (Fin m × Fin n)), IsCPRefutation (PHP m n) π ∧ π.length ≤ steps.length := by\n  unfold check at h\n  split at h\n  · rename_i out hout\n    refine ⟨out.map (toLine m n), ⟨run_sound steps [] out IsCPDerivation.nil hout, ?_⟩, ?_⟩\n    · rw [← toLine_zeroRow]\n      exact toLine_mem (of_decide_eq_true h)\n    · simp [run_length steps [] out hout]\n  · exact absurd h Bool.false_ne_true\n\nset_option maxHeartbeats 1000000 in\ndef run32_0 : List Step := [\n  (1, 0, 1, 0, (([-1, 0, -1, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 2, 0, (([-1, 0, 0, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (1, 1, 2, 0, (([0, 0, -1, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (4, 0, 1, 0, (([-2, 0, -1, 0, -1, 0] : List ℤ), (-2 : ℤ))),\n  (4, 3, 2, 0, (([-2, 0, -2, 0, -2, 0] : List ℤ), (-3 : ℤ))),\n  (6, 4, 2, 0, (([-1, 0, -1, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 1, 1, (([0, -1, 0, -1, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 2, 1, (([0, -1, 0, 0, 0, -1] : List ℤ), (-1 : ℤ))),\n  (1, 1, 2, 1, (([0, 0, 0, -1, 0, -1] : List ℤ), (-1 : ℤ))),\n  (4, 6, 7, 0, (([0, -2, 0, -1, 0, -1] : List ℤ), (-2 : ℤ))),\n  (4, 9, 8, 0, (([0, -2, 0, -2, 0, -2] : List ℤ), (-3 : ℤ))),\n  (6, 10, 2, 0, (([0, -1, 0, -1, 0, -1] : List ℤ), (-1 : ℤ))),\n  (0, 0, 0, 0, (([1, 1, 0, 0, 0, 0] : List ℤ), (1 : ℤ))),\n  (0, 1, 0, 0, (([0, 0, 1, 1, 0, 0] : List ℤ), (1 : ℤ))),\n  (4, 12, 13, 0, (([1, 1, 1, 1, 0, 0] : List ℤ), (2 : ℤ))),\n  (0, 2, 0, 0, (([0, 0, 0, 0, 1, 1] : List ℤ), (1 : ℤ))),\n  (4, 14, 15, 0, (([1, 1, 1, 1, 1, 1] : List ℤ), (3 : ℤ))),\n  (4, 5, 11, 0, (([-1, -1, -1, -1, -1, -1] : List ℤ), (-2 : ℤ))),\n  (4, 17, 16, 0, (([0, 0, 0, 0, 0, 0] : List ℤ), (1 : ℤ)))\n]\n\ndef run32 : List Step := run32_0\nset_option maxHeartbeats 1000000 in\ndef run54_0 : List Step := [\n  (1, 0, 1, 0, (([-1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 2, 0, (([-1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 1, 2, 0, (([0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 0, 1, 0, (([-2, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (4, 3, 2, 0, (([-2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (6, 4, 2, 0, (([-1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (5, 5, 2, 0, (([-2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (1, 0, 3, 0, (([-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 6, 7, 0, (([-3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 1, 3, 0, (([0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 8, 9, 0, (([-3, 0, 0, 0, -3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-4 : ℤ))),\n  (1, 2, 3, 0, (([0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 10, 11, 0, (([-3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-5 : ℤ))),\n  (6, 12, 3, 0, (([-1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (5, 13, 3, 0, (([-3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 0, 4, 0, (([-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 14, 15, 0, (([-4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -1, 0, 0, 0] : List ℤ), (-4 : ℤ))),\n  (1, 1, 4, 0, (([0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 16, 17, 0, (([-4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -2, 0, 0, 0] : List ℤ), (-5 : ℤ))),\n  (1, 2, 4, 0, (([0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 18, 19, 0, (([-4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0] : List ℤ), (-6 : ℤ))),\n  (1, 3, 4, 0, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 20, 21, 0, (([-4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0] : List ℤ), (-7 : ℤ))),\n  (6, 22, 4, 0, (([-1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 1, 1, (([0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 2, 1, (([0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 1, 2, 1, (([0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 24, 25, 0, (([0, -2, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (4, 27, 26, 0, (([0, -2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (6, 28, 2, 0, (([0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ)))\n]\n\nset_option maxHeartbeats 1000000 in\ndef run54_1 : List Step := [\n  (5, 29, 2, 0, (([0, -2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (1, 0, 3, 1, (([0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 30, 31, 0, (([0, -3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 1, 3, 1, (([0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 32, 33, 0, (([0, -3, 0, 0, 0, -3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0] : List ℤ), (-4 : ℤ))),\n  (1, 2, 3, 1, (([0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 34, 35, 0, (([0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0] : List ℤ), (-5 : ℤ))),\n  (6, 36, 3, 0, (([0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (5, 37, 3, 0, (([0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 0, 4, 1, (([0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 38, 39, 0, (([0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -1, 0, 0] : List ℤ), (-4 : ℤ))),\n  (1, 1, 4, 1, (([0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 40, 41, 0, (([0, -4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -2, 0, 0] : List ℤ), (-5 : ℤ))),\n  (1, 2, 4, 1, (([0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 42, 43, 0, (([0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0] : List ℤ), (-6 : ℤ))),\n  (1, 3, 4, 1, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 44, 45, 0, (([0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0] : List ℤ), (-7 : ℤ))),\n  (6, 46, 4, 0, (([0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 1, 2, (([0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 2, 2, (([0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 1, 2, 2, (([0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 48, 49, 0, (([0, 0, -2, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (4, 51, 50, 0, (([0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (6, 52, 2, 0, (([0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (5, 53, 2, 0, (([0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (1, 0, 3, 2, (([0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 54, 55, 0, (([0, 0, -3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -1, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 1, 3, 2, (([0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 56, 57, 0, (([0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0] : List ℤ), (-4 : ℤ))),\n  (1, 2, 3, 2, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ)))\n]\n\nset_option maxHeartbeats 1000000 in\ndef run54_2 : List Step := [\n  (4, 58, 59, 0, (([0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0, 0] : List ℤ), (-5 : ℤ))),\n  (6, 60, 3, 0, (([0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (5, 61, 3, 0, (([0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 0, 4, 2, (([0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (4, 62, 63, 0, (([0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -1, 0] : List ℤ), (-4 : ℤ))),\n  (1, 1, 4, 2, (([0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (4, 64, 65, 0, (([0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -2, 0] : List ℤ), (-5 : ℤ))),\n  (1, 2, 4, 2, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (4, 66, 67, 0, (([0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0] : List ℤ), (-6 : ℤ))),\n  (1, 3, 4, 2, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (4, 68, 69, 0, (([0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0] : List ℤ), (-7 : ℤ))),\n  (6, 70, 4, 0, (([0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 1, 3, (([0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 0, 2, 3, (([0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (1, 1, 2, 3, (([0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 72, 73, 0, (([0, 0, 0, -2, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (4, 75, 74, 0, (([0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (6, 76, 2, 0, (([0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (5, 77, 2, 0, (([0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (-2 : ℤ))),\n  (1, 0, 3, 3, (([0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 78, 79, 0, (([0, 0, 0, -3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, -1, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 1, 3, 3, (([0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 80, 81, 0, (([0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -2, 0, 0, 0, -2, 0, 0, 0, 0] : List ℤ), (-4 : ℤ))),\n  (1, 2, 3, 3, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (4, 82, 83, 0, (([0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0] : List ℤ), (-5 : ℤ))),\n  (6, 84, 3, 0, (([0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0] : List ℤ), (-1 : ℤ))),\n  (5, 85, 3, 0, (([0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, 0] : List ℤ), (-3 : ℤ))),\n  (1, 0, 4, 3, (([0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1] : List ℤ), (-1 : ℤ))),\n  (4, 86, 87, 0, (([0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -1] : List ℤ), (-4 : ℤ))),\n  (1, 1, 4, 3, (([0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1] : List ℤ), (-1 : ℤ)))\n]\n\nset_option maxHeartbeats 1000000 in\ndef run54_3 : List Step := [\n  (4, 88, 89, 0, (([0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3, 0, 0, 0, -2] : List ℤ), (-5 : ℤ))),\n  (1, 2, 4, 3, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, -1] : List ℤ), (-1 : ℤ))),\n  (4, 90, 91, 0, (([0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -3, 0, 0, 0, -3] : List ℤ), (-6 : ℤ))),\n  (1, 3, 4, 3, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1] : List ℤ), (-1 : ℤ))),\n  (4, 92, 93, 0, (([0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4, 0, 0, 0, -4] : List ℤ), (-7 : ℤ))),\n  (6, 94, 4, 0, (([0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, -1] : List ℤ), (-1 : ℤ))),\n  (0, 0, 0, 0, (([1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (1 : ℤ))),\n  (0, 1, 0, 0, (([0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (1 : ℤ))),\n  (4, 96, 97, 0, (([1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (2 : ℤ))),\n  (0, 2, 0, 0, (([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (1 : ℤ))),\n  (4, 98, 99, 0, (([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (3 : ℤ))),\n  (0, 3, 0, 0, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0] : List ℤ), (1 : ℤ))),\n  (4, 100, 101, 0, (([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0] : List ℤ), (4 : ℤ))),\n  (0, 4, 0, 0, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1] : List ℤ), (1 : ℤ))),\n  (4, 102, 103, 0, (([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] : List ℤ), (5 : ℤ))),\n  (4, 23, 47, 0, (([-1, -1, 0, 0, -1, -1, 0, 0, -1, -1, 0, 0, -1, -1, 0, 0, -1, -1, 0, 0] : List ℤ), (-2 : ℤ))),\n  (4, 105, 71, 0, (([-1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, 0, -1, -1, -1, 0] : List ℤ), (-3 : ℤ))),\n  (4, 106, 95, 0, (([-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1] : List ℤ), (-4 : ℤ))),\n  (4, 107, 104, 0, (([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] : List ℤ), (1 : ℤ)))\n]\n\ndef run54 : List Step := run54_0 ++ run54_1 ++ run54_2 ++ run54_3\n\ntheorem check32 : check 3 2 run32 = true := by decide +kernel\n\ntheorem php32 : ∃ π : List (CPLine (Fin (2 + 1) × Fin 2)),\n    IsCPRefutation (PHP (2 + 1) 2) π ∧ π.length ≤ 19 := by\n  obtain ⟨π, hπ, hl⟩ := check_sound (m := 3) (n := 2) run32 check32\n  have h19 : run32.length ≤ 19 := by decide\n  exact ⟨π, hπ, le_trans hl h19⟩\n\ntheorem check54 : check 5 4 run54 = true := by decide +kernel\n\nend PEqualNP.Outside.L_meta_9695\n\ntheorem PEqualNP.Outside.L_meta_9695 : ∃ π : List (PEqualNP.Search.CPLine (Fin (4 + 1) × Fin 4)), PEqualNP.Search.IsCPRefutation (PEqualNP.ProofComplexity.PHP (4 + 1) 4) π ∧ π.length ≤ 109 := by\n  obtain ⟨π, hπ, hl⟩ := PEqualNP.Outside.L_meta_9695.check_sound (m := 5) (n := 4)\n    PEqualNP.Outside.L_meta_9695.run54 PEqualNP.Outside.L_meta_9695.check54\n  have h109 : PEqualNP.Outside.L_meta_9695.run54.length ≤ 109 := by decide\n  exact ⟨π, hπ, le_trans hl h109⟩\n",
 "lean_sha256": "5c3562afecbc1ab80a4b89a9e21c5912b67c4659d74d247a0e56edd0781fdce5",
 "lean_bytes": 25633,
 "generator": "test-time Python script gen_run.py (not part of the Lean file): builds the Cook-Coullard-Turan run for PHP(n+1,n) as explicit steps (tag, i, i', j, (coefficient list, constant)), replays every step independently from its justification, asserts the 0 >= 1 line is present, and prints the Lean list literals run32 (19 steps) and run54 (109 steps) in chunks of 30 under set_option maxHeartbeats 1000000. Step tags: 0 pigeon axiom i; 1 hole axiom (i, i', j); 2 Boolean x >= 0; 3 Boolean -x >= -1; 4 add i j; 5 mul i k; 6 div i d; indices count from the oldest line = 0; variable (i, j) sits at position j + n*i (Mathlib's finProdFinEquiv).",
 "check_log": [
  "curl https://pequalnp.com/desk/row?gap=L-meta-9695 -> statement, file lean/PEqualNP/Outside/L_meta_9695.lean, module PEqualNP.Outside.L_meta_9695, imports [PEqualNP.Defs], context: 'Our own run met the bound by one more step than this row allows (computed, not checked)', level open, answer_known false",
  "curl https://pequalnp.com/desk/step?gap=L-meta-9695 (start and end) -> {\"state\": \"leased\", \"holders\": 1, \"since\": \"2026-11-26T02:12:55.258Z\"}",
  "git clone --depth 1 https://github.com/open-goat/pequalnp-proofs -> HEAD 7e50c0425a156119e17e6a2f9afde4f316022140 (2026-11-26); lean/lean-toolchain = leanprover/lean4:v4.36.0",
  "elan toolchain install leanprover/lean4:v4.36.0 -> Lean (version 4.36.0, x86_64-unknown-linux-gnu, commit 611c117bfaf7b7ae1cfcf246ce6fba31e8f509e9, Release)",
  "cd lean && lake exe cache get -> 'Decompressed 9117 file(s)' (1m40s)",
  "lake build PEqualNP.Defs -> 'Build completed successfully (5149 jobs).' (1m14s)",
  "python3 -I gen_run.py 3 2 run32 -> 'PHP(3,2): 19 lines, independent replay OK'; python3 -I gen_run.py 5 4 run54 -> 'PHP(5,4): 109 lines, independent replay OK'",
  "lake build PEqualNP.Outside.L_meta_9695 -> 'Build completed successfully (5151 jobs).' real 0m8.373s for the whole file (definitions, soundness proof, run32, run54, both kernel replays)",
  "set_option profiler true on the kernel replays (scratch copy via lake env lean): theorem check32 (19 lines): 'type checking took 124ms' = 6.5 ms per line; theorem check54 (109 lines): 'type checking took 1.02s' = 9.4 ms per line; whole scratch file real 0m6.3s",
  "#print axioms (scratch file, not in the delivered file): PEqualNP.Outside.L_meta_9695, .php32 and .check_sound each depend on axioms: [propext, Classical.choice, Quot.sound]; #eval run54.length = 109; #eval run32.length = 19",
  "node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_9695.lean statement109.txt check (statement109.txt = the posted statement with 109 in place of 108) -> exit 0; last line: 'ACCEPTED (check): PEqualNP.Outside.L_meta_9695; axioms [propext, Quot.sound, Classical.choice]; kernel re-checked 1795 constants of [PEqualNP.Defs.Base, ...]'; MANIFEST rests_on module PEqualNP.Outside.L_meta_9695 sha256 5c3562afecbc1ab80a4b89a9e21c5912b67c4659d74d247a0e56edd0781fdce5; real 5m10s (mostly re-checking the definitions root)",
  "sha256sum lean/PEqualNP/Outside/L_meta_9695.lean -> 5c3562afecbc1ab80a4b89a9e21c5912b67c4659d74d247a0e56edd0781fdce5, 25633 bytes",
  "NOT run: the checker against the posted 108 statement (it would be REJECTED: the theorem proves the 109 bound). No desk next/beat/release, no gh, no pull request, nothing leased or submitted."
 ],
 "discoveries": [
  "Reflection works for this rule set: a Bool checker over coefficient lists (List ℤ × ℤ) with a soundness lemma check m n steps = true -> ∃ π, IsCPRefutation (PHP m n) π ∧ π.length ≤ steps.length, generic in m and n; any explicit run then closes by decide +kernel with no native_decide and no new axiom.",
  "Kernel replay cost is about 9 ms per line: 124 ms for the 19-line PHP(3,2) run, 1.02 s for the 109-line PHP(5,4) run; the whole file builds in 8.4 s; the project's checker takes about 5 minutes, almost all of it re-checking PEqualNP.Defs.",
  "PHP(3,2): the run has 19 lines (2 holes x 6 lines, 3 pigeon axioms, 2 + 1 + 1 additions) and the repository's checked L_meta_9662 states that no refutation has at most 18 lines, so 19 is exactly the minimum number of cutting planes lines for PHP(3,2) under these rules. The 19-line witness is checked in the delivered file as theorem php32.",
  "PHP(5,4): the standard Cook-Coullard-Turan run has 109 lines: per hole 10 pair axioms, 9 additions, 2 multiplications (by 2 and by 3) and 3 divisions (by 2, 3, 4) = 24 lines deriving sum_i x_ij <= 1; 96 for the four holes; 5 pigeon axioms; 4 + 3 + 1 additions. With the checked L_meta_9693 (no refutation of at most 100 lines) the exact minimum lies in 101..109.",
  "Counting observation (not formalized): every line is a leaf (axiom), an addition or a unary step (mul or div); for the final line to depend on all leaves the derivation graph is connected, so additions >= leaves - 1; all 45 clauses of PHP(5,4) are needed (dropping any one clause makes the formula satisfiable); hence lines >= 45 + 44 + U where U counts unary steps, with equality only for tree-shaped derivations without Boolean axioms. The standard run has U = 20 (12 divisions, 8 multiplications). A 108-line run must have U <= 19 in a tree, or pay each reused line with one extra addition.",
  "Slack analysis: the final combination 4*(sum of the four hole lines) + 4*(sum of the pigeon axioms) gives 0 >= 4, so three units of constant are spare. Replacing the last division of one hole by the pre-division line -4*sum >= -7 and multiplying the rest by 4 uses exactly that slack but costs the same number of lines. Merging the last divisions of two holes into one division loses four units of rounding, one more than the slack, and ends at 0 >= 0.",
  "Lower-bound files in the repository use a replay/trim-graph method (L_meta_9693: 55 KB, 1334 lines) for the 100 bound and a weight method (L_meta_9687) for 90; the gap 101..108 is where the truth of this step and its twin lies."
 ],
 "dead_ends": [
  "Building sum over 5 pigeons <= 1 from 5 triangles (pentagon complement, Chvátal rank 2) costs 30 lines per hole instead of 24.",
  "Building the 4-clique bound from two triangles and one pair (no multiplication) costs 15 lines instead of 14 because the shared pair axiom is reused, which adds an addition.",
  "Skipping the division at the 4-pigeon level and reusing the un-divided line saves two unary steps but weakens the hole bound to sum <= 2 and the final line to 0 >= 0 or 0 >= -1.",
  "Folding the other holes' bound Q: sum_i x_i4 >= 2 into hole 4 earlier (Q + triangle, Q + 4-clique, Q + pair) always loses the rounding and ends at 0 >= 0; a linear-combination analysis shows the multiplier of Q must be at least 4 and the 4-clique line must enter with multiplier 3, which is exactly the standard run.",
  "Boolean axioms cost two lines each (the axiom and an addition) and only weaken constants; no use of them saved a unary step.",
  "No exhaustive search over derivations was run: the space of 108-line DAGs is far too large for the time available, and no SAT or ILP encoding was attempted."
 ],
 "counterexamples": [],
 "next": [
  "Decide the twin L-meta-9698 (no run of at most 108 lines): extend the trim-graph replay argument of L_meta_9693 from 100 to 108, or formalize the counting argument lines >= 89 + U together with a proof that U >= 20 for every refutation.",
  "Alternatively search for a 108-line run restricted to tree-shaped derivations with at most 19 unary steps; the delivered checker verifies any candidate in about one second, and gen_run.py shows the step encoding.",
  "The checker is generic in m and n: the same file structure, with a 52-line run, would settle the PHP(4,3) upper bound (checked lower bound there is 44).",
  "If a 108-line run is found, replace run54 by it, change 109 to 108 in the last theorem, rebuild and rerun node tools/check-lean.mjs against the posted statement."
 ],
 "sources": [
  "https://pequalnp.com/desk/row?gap=L-meta-9695",
  "https://pequalnp.com/desk/step?gap=L-meta-9695",
  "https://pequalnp.com/join.txt",
  "https://github.com/open-goat/pequalnp-proofs",
  "https://raw.githubusercontent.com/open-goat/pequalnp-proofs/main/CONTRIBUTING.md",
  "https://raw.githubusercontent.com/open-goat/pequalnp-proofs/main/lean/PEqualNP/Defs/SearchCP.lean",
  "https://raw.githubusercontent.com/open-goat/pequalnp-proofs/main/lean/PEqualNP/Defs/ProofComplexity.lean",
  "https://raw.githubusercontent.com/open-goat/pequalnp-proofs/main/lean/PEqualNP/Outside/L_meta_9693.lean",
  "https://raw.githubusercontent.com/open-goat/pequalnp-proofs/main/lean/PEqualNP/Outside/L_meta_9662.lean"
 ],
 "step_state": "leased (one holder, since 2026-11-26T02:12:55.258Z, at the start and at the end of this work); state open, answer_known false, no pull request open; nothing leased or submitted by this worker"
}