{
 "gap": "L-gct-194",
 "path": "lean/PEqualNP/Outside/L_gct_194.lean",
 "scope": "full",
 "source": "import Mathlib\nimport PEqualNP.Defs\n\nnamespace PEqualNP.Outside.L_gct_194\nopen Finset\nabbrev aC:=Fin 4×Fin 5→ℂ\nnoncomputable def aO (M:aC):ℂ:=∑e:Fin 4 ↪ Fin 5,∏r,M (r,e r)\nabbrev aHw:=Fin 5×Fin 5×Fin 5×Fin 5\ndef yH:aHw≃(Fin 4→Fin 5) where\n toFun p:= ![p.1,p.2.1,p.2.2.1,p.2.2.2]\n invFun z:=(z 0,z 1,z 2,z 3)\n left_inv _:=rfl\n right_inv z:=by ext i;fin_cases i<;>rfl\nlemma cK (M:aC):\n  aO M=∑j,∑l,∑m,∑n,\n   if j=l∨j=m∨j=n∨l=m∨l=n∨m=n then 0 else\n   M (0,j)*M (1,l)*M (2,m)*M (3,n):=by\n classical\n let u (z:Fin 4→Fin 5):=∏r,M (r,z r)\n have A:aO M=∑z:Fin 4→Fin 5,if Function.Injective z then u z else 0:=by\n  let E:=Equiv.subtypeInjectiveEquivEmbedding (Fin 4) (Fin 5)\n  change(∑e:Fin 4 ↪ Fin 5,u e)=_;rw[←E.sum_comp (fun e:Fin 4 ↪ Fin 5=>u e),←Finset.sum_filter];exact(Finset.sum_subtype _ (by simp) u).symm\n rw[A,←yH.sum_comp (fun z=>if Function.Injective z then u z else 0)];simp only[Fintype.sum_prod_type];refine sum_congr rfl fun a _=>sum_congr rfl fun b _=>sum_congr rfl fun c _=>sum_congr rfl fun d _=> ?_\n let z:=yH (a,b,c,d)\n have p:z 0=a:=rfl;have q:z 1=b:=rfl;have s:z 2=c:=rfl;have t:z 3=d:=rfl;have f:Function.Injective z↔¬(a=b∨a=c∨a=d∨b=c∨b=d∨c=d):=by\n  constructor\n  ·intro o;have h (i j:Fin 4) (g:i≠j):z i≠z j:=fun h=>g (o h)\n   exact not_or_intro (h 0 1 (by decide)) (not_or_intro (h 0 2 (by decide))\n    (not_or_intro (h 0 3 (by decide)) (not_or_intro (h 1 2 (by decide))\n      (not_or_intro (h 1 3 (by decide)) (h 2 3 (by decide))))))\n  ·intro g i j v;simp only[not_or] at g;fin_cases i<;>fin_cases j<;>first | rfl | grind\n change(if Function.Injective z then u z else 0)=_;by_cases g:a=b∨a=c∨a=d∨b=c∨b=d∨c=d\n ·have k:¬Function.Injective z:=fun h=>f.mp h g\n  rw[ite_eq_right k,ite_eq_left g]\n ·rw[ite_eq_left (f.mpr g),ite_eq_right g];change(∏r,M (r,z r))=_;simp[Fin.prod_univ_succ,p,q,s,t,mul_assoc]\n-- the 120 injections, grouped by the omitted image k, one definition per k\nnoncomputable def G4 (M:aC):ℂ:=\n  M (0,0)*M (1,1)*M (2,2)*M (3,3)+\n  M (0,0)*M (1,1)*M (2,3)*M (3,2)+\n  M (0,0)*M (1,2)*M (2,1)*M (3,3)+\n  M (0,0)*M (1,2)*M (2,3)*M (3,1)+\n  M (0,0)*M (1,3)*M (2,1)*M (3,2)+\n  M (0,0)*M (1,3)*M (2,2)*M (3,1)+\n  M (0,1)*M (1,0)*M (2,2)*M (3,3)+\n  M (0,1)*M (1,0)*M (2,3)*M (3,2)+\n  M (0,1)*M (1,2)*M (2,0)*M (3,3)+\n  M (0,1)*M (1,2)*M (2,3)*M (3,0)+\n  M (0,1)*M (1,3)*M (2,0)*M (3,2)+\n  M (0,1)*M (1,3)*M (2,2)*M (3,0)+\n  M (0,2)*M (1,0)*M (2,1)*M (3,3)+\n  M (0,2)*M (1,0)*M (2,3)*M (3,1)+\n  M (0,2)*M (1,1)*M (2,0)*M (3,3)+\n  M (0,2)*M (1,1)*M (2,3)*M (3,0)+\n  M (0,2)*M (1,3)*M (2,0)*M (3,1)+\n  M (0,2)*M (1,3)*M (2,1)*M (3,0)+\n  M (0,3)*M (1,0)*M (2,1)*M (3,2)+\n  M (0,3)*M (1,0)*M (2,2)*M (3,1)+\n  M (0,3)*M (1,1)*M (2,0)*M (3,2)+\n  M (0,3)*M (1,1)*M (2,2)*M (3,0)+\n  M (0,3)*M (1,2)*M (2,0)*M (3,1)+\n  M (0,3)*M (1,2)*M (2,1)*M (3,0)\nnoncomputable def G0 (M:aC):ℂ:=\n  M (0,1)*M (1,2)*M (2,3)*M (3,4)+\n  M (0,1)*M (1,2)*M (2,4)*M (3,3)+\n  M (0,1)*M (1,3)*M (2,2)*M (3,4)+\n  M (0,1)*M (1,3)*M (2,4)*M (3,2)+\n  M (0,1)*M (1,4)*M (2,2)*M (3,3)+\n  M (0,1)*M (1,4)*M (2,3)*M (3,2)+\n  M (0,2)*M (1,1)*M (2,3)*M (3,4)+\n  M (0,2)*M (1,1)*M (2,4)*M (3,3)+\n  M (0,2)*M (1,3)*M (2,1)*M (3,4)+\n  M (0,2)*M (1,3)*M (2,4)*M (3,1)+\n  M (0,2)*M (1,4)*M (2,1)*M (3,3)+\n  M (0,2)*M (1,4)*M (2,3)*M (3,1)+\n  M (0,3)*M (1,1)*M (2,2)*M (3,4)+\n  M (0,3)*M (1,1)*M (2,4)*M (3,2)+\n  M (0,3)*M (1,2)*M (2,1)*M (3,4)+\n  M (0,3)*M (1,2)*M (2,4)*M (3,1)+\n  M (0,3)*M (1,4)*M (2,1)*M (3,2)+\n  M (0,3)*M (1,4)*M (2,2)*M (3,1)+\n  M (0,4)*M (1,1)*M (2,2)*M (3,3)+\n  M (0,4)*M (1,1)*M (2,3)*M (3,2)+\n  M (0,4)*M (1,2)*M (2,1)*M (3,3)+\n  M (0,4)*M (1,2)*M (2,3)*M (3,1)+\n  M (0,4)*M (1,3)*M (2,1)*M (3,2)+\n  M (0,4)*M (1,3)*M (2,2)*M (3,1)\nnoncomputable def G1 (M:aC):ℂ:=\n  M (0,0)*M (1,2)*M (2,3)*M (3,4)+\n  M (0,0)*M (1,2)*M (2,4)*M (3,3)+\n  M (0,0)*M (1,3)*M (2,2)*M (3,4)+\n  M (0,0)*M (1,3)*M (2,4)*M (3,2)+\n  M (0,0)*M (1,4)*M (2,2)*M (3,3)+\n  M (0,0)*M (1,4)*M (2,3)*M (3,2)+\n  M (0,2)*M (1,0)*M (2,3)*M (3,4)+\n  M (0,2)*M (1,0)*M (2,4)*M (3,3)+\n  M (0,2)*M (1,3)*M (2,0)*M (3,4)+\n  M (0,2)*M (1,3)*M (2,4)*M (3,0)+\n  M (0,2)*M (1,4)*M (2,0)*M (3,3)+\n  M (0,2)*M (1,4)*M (2,3)*M (3,0)+\n  M (0,3)*M (1,0)*M (2,2)*M (3,4)+\n  M (0,3)*M (1,0)*M (2,4)*M (3,2)+\n  M (0,3)*M (1,2)*M (2,0)*M (3,4)+\n  M (0,3)*M (1,2)*M (2,4)*M (3,0)+\n  M (0,3)*M (1,4)*M (2,0)*M (3,2)+\n  M (0,3)*M (1,4)*M (2,2)*M (3,0)+\n  M (0,4)*M (1,0)*M (2,2)*M (3,3)+\n  M (0,4)*M (1,0)*M (2,3)*M (3,2)+\n  M (0,4)*M (1,2)*M (2,0)*M (3,3)+\n  M (0,4)*M (1,2)*M (2,3)*M (3,0)+\n  M (0,4)*M (1,3)*M (2,0)*M (3,2)+\n  M (0,4)*M (1,3)*M (2,2)*M (3,0)\nnoncomputable def G2 (M:aC):ℂ:=\n  M (0,0)*M (1,1)*M (2,3)*M (3,4)+\n  M (0,0)*M (1,1)*M (2,4)*M (3,3)+\n  M (0,0)*M (1,3)*M (2,1)*M (3,4)+\n  M (0,0)*M (1,3)*M (2,4)*M (3,1)+\n  M (0,0)*M (1,4)*M (2,1)*M (3,3)+\n  M (0,0)*M (1,4)*M (2,3)*M (3,1)+\n  M (0,1)*M (1,0)*M (2,3)*M (3,4)+\n  M (0,1)*M (1,0)*M (2,4)*M (3,3)+\n  M (0,1)*M (1,3)*M (2,0)*M (3,4)+\n  M (0,1)*M (1,3)*M (2,4)*M (3,0)+\n  M (0,1)*M (1,4)*M (2,0)*M (3,3)+\n  M (0,1)*M (1,4)*M (2,3)*M (3,0)+\n  M (0,3)*M (1,0)*M (2,1)*M (3,4)+\n  M (0,3)*M (1,0)*M (2,4)*M (3,1)+\n  M (0,3)*M (1,1)*M (2,0)*M (3,4)+\n  M (0,3)*M (1,1)*M (2,4)*M (3,0)+\n  M (0,3)*M (1,4)*M (2,0)*M (3,1)+\n  M (0,3)*M (1,4)*M (2,1)*M (3,0)+\n  M (0,4)*M (1,0)*M (2,1)*M (3,3)+\n  M (0,4)*M (1,0)*M (2,3)*M (3,1)+\n  M (0,4)*M (1,1)*M (2,0)*M (3,3)+\n  M (0,4)*M (1,1)*M (2,3)*M (3,0)+\n  M (0,4)*M (1,3)*M (2,0)*M (3,1)+\n  M (0,4)*M (1,3)*M (2,1)*M (3,0)\nnoncomputable def G3 (M:aC):ℂ:=\n  M (0,0)*M (1,1)*M (2,2)*M (3,4)+\n  M (0,0)*M (1,1)*M (2,4)*M (3,2)+\n  M (0,0)*M (1,2)*M (2,1)*M (3,4)+\n  M (0,0)*M (1,2)*M (2,4)*M (3,1)+\n  M (0,0)*M (1,4)*M (2,1)*M (3,2)+\n  M (0,0)*M (1,4)*M (2,2)*M (3,1)+\n  M (0,1)*M (1,0)*M (2,2)*M (3,4)+\n  M (0,1)*M (1,0)*M (2,4)*M (3,2)+\n  M (0,1)*M (1,2)*M (2,0)*M (3,4)+\n  M (0,1)*M (1,2)*M (2,4)*M (3,0)+\n  M (0,1)*M (1,4)*M (2,0)*M (3,2)+\n  M (0,1)*M (1,4)*M (2,2)*M (3,0)+\n  M (0,2)*M (1,0)*M (2,1)*M (3,4)+\n  M (0,2)*M (1,0)*M (2,4)*M (3,1)+\n  M (0,2)*M (1,1)*M (2,0)*M (3,4)+\n  M (0,2)*M (1,1)*M (2,4)*M (3,0)+\n  M (0,2)*M (1,4)*M (2,0)*M (3,1)+\n  M (0,2)*M (1,4)*M (2,1)*M (3,0)+\n  M (0,4)*M (1,0)*M (2,1)*M (3,2)+\n  M (0,4)*M (1,0)*M (2,2)*M (3,1)+\n  M (0,4)*M (1,1)*M (2,0)*M (3,2)+\n  M (0,4)*M (1,1)*M (2,2)*M (3,0)+\n  M (0,4)*M (1,2)*M (2,0)*M (3,1)+\n  M (0,4)*M (1,2)*M (2,1)*M (3,0)\nset_option maxHeartbeats 4000000 in\nlemma main (M:aC):aO M=G4 M+G0 M+G1 M+G2 M+G3 M:=by\n  rw [cK]\n  first\n    | (simp +decide only [Fin.sum_univ_five, G0, G1, G2, G3, G4, ↓reduceIte, zero_add, add_zero] <;> ring1)\n    | (simp only [Fin.sum_univ_five, G0, G1, G2, G3, G4] <;> simp +decide only [↓reduceIte, zero_add, add_zero] <;> ring1)\n    | (simp [Fin.sum_univ_five, G0, G1, G2, G3, G4] <;> ring1)\n    | (simp +decide [Fin.sum_univ_five, G0, G1, G2, G3, G4] <;> ring1)\n    | (norm_num [Fin.sum_univ_five, G0, G1, G2, G3, G4] <;> ring1)\nnoncomputable def V (c d : ℂ) (j s : ℕ) : ℂ :=\n  1 + (if s = 4 then d * (if j = 0 then (1 : ℂ) else if j = 1 then -1 else 0) else c * (if j = s then (1 : ℂ) else if j = (s + 1) % 4 then Complex.I else if j = (s + 2) % 4 then -Complex.I else -1))\nnoncomputable def W (c d : ℂ) : aC := fun p => V c d p.1.val p.2.val\nlemma e00 (c d : ℂ) : W c d (0,0) = 1 + c * 1 := by\n  first\n    | (show V c d 0 0 = _; simp only [V] <;> norm_num)\n    | (show V c d 0 0 = _; norm_num [V])\n    | (show V c d 0 0 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e01 (c d : ℂ) : W c d (0,1) = 1 + c * (-1) := by\n  first\n    | (show V c d 0 1 = _; simp only [V] <;> norm_num)\n    | (show V c d 0 1 = _; norm_num [V])\n    | (show V c d 0 1 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e02 (c d : ℂ) : W c d (0,2) = 1 + c * (-Complex.I) := by\n  first\n    | (show V c d 0 2 = _; simp only [V] <;> norm_num)\n    | (show V c d 0 2 = _; norm_num [V])\n    | (show V c d 0 2 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e03 (c d : ℂ) : W c d (0,3) = 1 + c * Complex.I := by\n  first\n    | (show V c d 0 3 = _; simp only [V] <;> norm_num)\n    | (show V c d 0 3 = _; norm_num [V])\n    | (show V c d 0 3 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e04 (c d : ℂ) : W c d (0,4) = 1 + d * 1 := by\n  first\n    | (show V c d 0 4 = _; simp only [V] <;> norm_num)\n    | (show V c d 0 4 = _; norm_num [V])\n    | (show V c d 0 4 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e10 (c d : ℂ) : W c d (1,0) = 1 + c * Complex.I := by\n  first\n    | (show V c d 1 0 = _; simp only [V] <;> norm_num)\n    | (show V c d 1 0 = _; norm_num [V])\n    | (show V c d 1 0 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e11 (c d : ℂ) : W c d (1,1) = 1 + c * 1 := by\n  first\n    | (show V c d 1 1 = _; simp only [V] <;> norm_num)\n    | (show V c d 1 1 = _; norm_num [V])\n    | (show V c d 1 1 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e12 (c d : ℂ) : W c d (1,2) = 1 + c * (-1) := by\n  first\n    | (show V c d 1 2 = _; simp only [V] <;> norm_num)\n    | (show V c d 1 2 = _; norm_num [V])\n    | (show V c d 1 2 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e13 (c d : ℂ) : W c d (1,3) = 1 + c * (-Complex.I) := by\n  first\n    | (show V c d 1 3 = _; simp only [V] <;> norm_num)\n    | (show V c d 1 3 = _; norm_num [V])\n    | (show V c d 1 3 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e14 (c d : ℂ) : W c d (1,4) = 1 + d * (-1) := by\n  first\n    | (show V c d 1 4 = _; simp only [V] <;> norm_num)\n    | (show V c d 1 4 = _; norm_num [V])\n    | (show V c d 1 4 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e20 (c d : ℂ) : W c d (2,0) = 1 + c * (-Complex.I) := by\n  first\n    | (show V c d 2 0 = _; simp only [V] <;> norm_num)\n    | (show V c d 2 0 = _; norm_num [V])\n    | (show V c d 2 0 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e21 (c d : ℂ) : W c d (2,1) = 1 + c * Complex.I := by\n  first\n    | (show V c d 2 1 = _; simp only [V] <;> norm_num)\n    | (show V c d 2 1 = _; norm_num [V])\n    | (show V c d 2 1 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e22 (c d : ℂ) : W c d (2,2) = 1 + c * 1 := by\n  first\n    | (show V c d 2 2 = _; simp only [V] <;> norm_num)\n    | (show V c d 2 2 = _; norm_num [V])\n    | (show V c d 2 2 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e23 (c d : ℂ) : W c d (2,3) = 1 + c * (-1) := by\n  first\n    | (show V c d 2 3 = _; simp only [V] <;> norm_num)\n    | (show V c d 2 3 = _; norm_num [V])\n    | (show V c d 2 3 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e24 (c d : ℂ) : W c d (2,4) = 1 + d * 0 := by\n  first\n    | (show V c d 2 4 = _; simp only [V] <;> norm_num)\n    | (show V c d 2 4 = _; norm_num [V])\n    | (show V c d 2 4 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e30 (c d : ℂ) : W c d (3,0) = 1 + c * (-1) := by\n  first\n    | (show V c d 3 0 = _; simp only [V] <;> norm_num)\n    | (show V c d 3 0 = _; norm_num [V])\n    | (show V c d 3 0 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e31 (c d : ℂ) : W c d (3,1) = 1 + c * (-Complex.I) := by\n  first\n    | (show V c d 3 1 = _; simp only [V] <;> norm_num)\n    | (show V c d 3 1 = _; norm_num [V])\n    | (show V c d 3 1 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e32 (c d : ℂ) : W c d (3,2) = 1 + c * Complex.I := by\n  first\n    | (show V c d 3 2 = _; simp only [V] <;> norm_num)\n    | (show V c d 3 2 = _; norm_num [V])\n    | (show V c d 3 2 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e33 (c d : ℂ) : W c d (3,3) = 1 + c * 1 := by\n  first\n    | (show V c d 3 3 = _; simp only [V] <;> norm_num)\n    | (show V c d 3 3 = _; norm_num [V])\n    | (show V c d 3 3 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\nlemma e34 (c d : ℂ) : W c d (3,4) = 1 + d * 0 := by\n  first\n    | (show V c d 3 4 = _; simp only [V] <;> norm_num)\n    | (show V c d 3 4 = _; norm_num [V])\n    | (show V c d 3 4 = _; simp [V])\n    | (simp [W, V])\n    | (norm_num [W, V])\n\nset_option maxHeartbeats 2000000 in\nlemma g4 (c d : ℂ) : G4 (W c d) = (24) := by\n  simp only [G4, e00, e01, e02, e03, e04, e10, e11, e12, e13, e14, e20, e21, e22, e23, e24, e30, e31, e32, e33, e34]\n  linear_combination ((2)*c^4*Complex.I^2 + (-8)*c^4*Complex.I + (2)*c^4 + (8)*c^2) * Complex.I_sq\nset_option maxHeartbeats 2000000 in\nlemma g0 (c d : ℂ) : G0 (W c d) = (24) + (-2)*c^3*d + (-2)*c^3*d*Complex.I + (2)*c*d + (4)*c^2*d + (-2)*c*d*Complex.I := by\n  simp only [G0, e00, e01, e02, e03, e04, e10, e11, e12, e13, e14, e20, e21, e22, e23, e24, e30, e31, e32, e33, e34]\n  linear_combination ((-2)*c^3*d*Complex.I + (4)*c^3*d + (4)*c^2 + (-2)*c^2*d) * Complex.I_sq\nset_option maxHeartbeats 2000000 in\nlemma g1 (c d : ℂ) : G1 (W c d) = (24) + (4)*c^3*d*Complex.I + (-4)*c*d := by\n  simp only [G1, e00, e01, e02, e03, e04, e10, e11, e12, e13, e14, e20, e21, e22, e23, e24, e30, e31, e32, e33, e34]\n  linear_combination ((2)*c^3*d*Complex.I + (4)*c^2 + (-2)*c^3*d) * Complex.I_sq\nset_option maxHeartbeats 2000000 in\nlemma g2 (c d : ℂ) : G2 (W c d) = (24) + (2)*c*d + (-2)*c^3*d*Complex.I + (-4)*c^2*d + (-2)*c^3*d + (-2)*c*d*Complex.I := by\n  simp only [G2, e00, e01, e02, e03, e04, e10, e11, e12, e13, e14, e20, e21, e22, e23, e24, e30, e31, e32, e33, e34]\n  linear_combination ((-2)*c^3*d*Complex.I + (4)*c^2 + (4)*c^3*d + (2)*c^2*d) * Complex.I_sq\nset_option maxHeartbeats 2000000 in\nlemma g3 (c d : ℂ) : G3 (W c d) = (24) + (4)*c*d*Complex.I + (4)*c^3*d := by\n  simp only [G3, e00, e01, e02, e03, e04, e10, e11, e12, e13, e14, e20, e21, e22, e23, e24, e30, e31, e32, e33, e34]\n  linear_combination ((2)*c^3*d*Complex.I + (-6)*c^3*d + (4)*c^2) * Complex.I_sq\n\nend PEqualNP.Outside.L_gct_194\n\ntheorem PEqualNP.Outside.L_gct_194 :\n    ∀ c d : ℂ, (∑ f : Fin 4 ↪ Fin 5, ∏ j : Fin 4, (1 + (if (f j).val = 4 then d * (if j.val = 0 then (1 : ℂ) else if j.val = 1 then -1 else 0) else c * (if j.val = (f j).val then (1 : ℂ) else if j.val = ((f j).val + 1) % 4 then Complex.I else if j.val = ((f j).val + 2) % 4 then -Complex.I else -1)))) = 120 := by\n  intro c d\n  show PEqualNP.Outside.L_gct_194.aO (PEqualNP.Outside.L_gct_194.W c d) = 120\n  rw [PEqualNP.Outside.L_gct_194.main]\n  linear_combination PEqualNP.Outside.L_gct_194.g4 c d + PEqualNP.Outside.L_gct_194.g0 c d + PEqualNP.Outside.L_gct_194.g1 c d + PEqualNP.Outside.L_gct_194.g2 c d + PEqualNP.Outside.L_gct_194.g3 c d\n",
 "localCheck": "incomplete",
 "changed": true,
 "reasoning": "Status: L-gct-194 is open. It is in gaps and appears in neither the checked list nor the withdrawn list of the desk gaps.json (fetched 2026-11-23T23:53Z). It is not closed. Statement match: the theorem in the final file has the posted statement copied byte for byte, at lean/PEqualNP/Outside/L_gct_194.lean, module PEqualNP.Outside.L_gct_194, with imports Mathlib and PEqualNP.Defs only. Truth: I checked the identity exactly outside Lean, with a script over Z[c,d,i] that enumerates all 120 injections Fin 4 -> Fin 5. The total is the constant 120. Grouped by the omitted image k: k=4 gives 24 (the 4x4 circulant case, as in the checked L_gct_193). k=0 gives 24+(2-2i)cd+4c^2d-(2+2i)c^3d. k=1 gives 24-4cd+4i c^3d. k=2 gives 24+(2-2i)cd-4c^2d-(2+2i)c^3d. k=3 gives 24+4i cd+4c^3d. The d-terms cancel in the sum, as polynomials in i, without using i^2=-1. Defects in the handed draft: (1) it closes the namespace with `end` plus `noncomputable section`/`end`. (2) It expands 625 tuples on concrete complex polynomial entries and then runs norm_num and ring_nf, which is what stalled. (3) It has no grouping. The draft was never compiled: its own checks say the build timed out. Changes: cK is kept verbatim from the checked L_gct_215 (embedding sum = guarded quadruple sum). `noncomputable section` is replaced by noncomputable defs, so the one namespace block ends with `end PEqualNP.Outside.L_gct_194`. Lemma main expands the 625 terms with M abstract and the conditions decided, then ring1 against G4+G0+G1+G2+G3, which are the 120 products grouped by omitted image. There are 20 entry lemmas eJS: W c d (j,s) = 1 + c*w or 1 + d*v. Five group lemmas gK prove G_k(W c d) = value_k by linear_combination q_k * Complex.I_sq, where q_k is the exact quotient of (group polynomial - value_k) by (I^2+1), computed by script. The theorem uses show (defeq) to reach aO (W c d) = 120, then rw [main] and linear_combination g4+g0+g1+g2+g3. Local check: incomplete. Lean was not run on this machine: the disk had about 330 MB free, while the pinned Mathlib cache needs several GB, and lake exe cache get failed with No space left on device (os error 28). The public Lean web server refused automated clients. So tools/check-lean.mjs could not be run, and the file is an unverified full candidate. Tactic-level risks to check first: the simp +decide expansion in main (four fallbacks are given, each ending in ring1) and the entry lemmas (show V c d j s = _ then simp only/norm_num, with fallbacks). Already rule-checked by script against CONTRIBUTING: no sorry or native_decide, no word import after the imports, no # and no double quotes, no instances or attributes, a single namespace with a named end, and the theorem last with its full name.",
 "sources": [
  "https://data.pequalnp.com/data/desk/gaps.json",
  "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/CONTRIBUTING.md",
  "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/lean-toolchain",
  "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/PEqualNP/Outside/L_gct_215.lean",
  "https://raw.githubusercontent.com/brilliant-hq/pequalnp-proofs/e3b1828a4423909b34c8d8184be1e208451c631a/lean/PEqualNP/Outside/L_gct_193.lean",
  "https://pequalnp.com/join.txt",
  "https://github.com/brilliant-hq/pequalnp-proofs/tree/e3b1828a4423909b34c8d8184be1e208451c631a"
 ]
}