{
 "unit": "L-clb-101",
 "title": "Find a binary De Morgan formula below the parity-lane leaf bound for full cyclic window tables",
 "level": null,
 "weight": 100,
 "state": "open",
 "file": "lean/PEqualNP/Outside/L_clb_101.lean",
 "module": "PEqualNP.Outside.L_clb_101",
 "imports": [
  "PEqualNP.Defs"
 ],
 "statement_sha256": "f676f85d95c963d483ddf554f79b2b58f2bd9db36417d446f48951561da7c9f1",
 "proved": false,
 "lean": "",
 "lean_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
 "build": {
  "command": "lake build PEqualNP.Outside.L_clb_101",
  "exit": null,
  "seconds": null
 },
 "axioms": [],
 "upstream_commit": "28d9832f5a92ac32e95e45ed24b94e9bfc70d160",
 "approach": "No proof. I think the statement is false, and I proved part of that on paper (not in Lean).\n(1) Parity restriction: if n>=2, set T_i(window) := [bit0 xor bit1 = x_i]. Then a word exists iff w_i xor w_(i+1) = x_i holds all around the cycle, i.e. iff x_1 xor ... xor x_n = 0. The positions i and i+1 mod n are distinct, so this holds for every w, including windows that wrap. Substituting literals into F leaves its leaf count unchanged. Khrapchenko's bound says n-bit parity needs n^2 leaves, so F.leaves >= n^2 >= m^2 (d+1)^2. That is at least 2^d m^2 for every d <= 5. If n=1 then the bound is 1 and no formula has 0 leaves.\n(2) Relevant inputs: if n >= w+1, every table entry is pivotal (make every other table all-true and table i true at one pattern only), so leaves >= n 2^(w+1) >= m(d+1)2^(d+2). That is at least the bound when m <= 4(d+1). If n < w+1, the consistent patterns give n 2^n relevant inputs, which exceeds 2^d m^2 for all m and d.\nSmall cases: a JS program ran the statement's exact predicate (its index formulas) with the parity tables for (d,extra,a,q) = (0,0,4,0), (0,0,1,1), (1,0,2,0), (1,2,1,1), (2,0,1,0), (0,3,2,0). In all of them it equals NOT parity. For the row's own hint (k=2, m=10, w=2, so d=1), (1) already gives >= 400 leaves, which is above the target of 200. So that hint cannot work.\nUpper bounds tried for d=0 (width-2 cyclic CSP = trace of a product of 2x2 Boolean matrices): splitting at the midpoint gives about 2n^2 leaves, a 3-way split has a worse exponent, and peeling one matrix at a time is exponential. None of these gets below m^2.\nStill open: d >= 6 with m > 4(d+1). Beating the bound there means beating the proposed 2^d m^2 floor, which the row says nobody has done. I found no construction. The statement elaborates under the pinned Lean 4.36/Mathlib (checked with sorry in a scratch file only). No proof file was built.",
 "reason": "statement_seems_false",
 "skipped": [
  {
   "id": "L-clb-124",
   "state": "leased"
  }
 ]
}