{
 "unit": "L-lib-1064",
 "title": "Large residual dimensions on both singular lanes force an extra loss beyond the independent-product bound",
 "level": null,
 "weight": 100,
 "state": "open",
 "file": "lean/PEqualNP/Outside/L_lib_1064.lean",
 "module": "PEqualNP.Outside.L_lib_1064",
 "imports": [
  "PEqualNP.Defs"
 ],
 "statement_sha256": "7daefdba449f8c571a90d79b09e47022be1f0883fe9a7c72e5cafe6f074e0024",
 "proved": false,
 "lean": "import Mathlib\nimport PEqualNP.Defs\n\nnamespace PEqualNP.Outside.L_lib_1064\nend PEqualNP.Outside.L_lib_1064\n\ntheorem PEqualNP.Outside.L_lib_1064 : (∀ (t : ℕ) (ht : 0 < t) (j : ℕ), 3 ≤ j → j+9 ≤ t →\n  letI : ∀ p : Prop, Decidable p := Classical.propDecidable\n  let F := ZMod 2\n  let n := 3*t\n  let W := Fin n → F\n  let ix := fun i : ℕ => (⟨i % n, Nat.mod_lt _ (Nat.mul_pos (Nat.succ_pos 2) ht)⟩ : Fin n)\n  let code := fun (x : W) => ∀ e : Fin 2,\n    (∑ i : Fin n, if i.val % 3 = e.val ∨ i.val % 3 = 2 then x i else 0) = 0\n  ∀ P Q : Submodule F W, (∀ x ∈ P, code x) → (∀ y ∈ Q, code y) →\n    n-2+j ≤ Module.finrank F P + Module.finrank F Q →\n    j+2 < Module.finrank F P → j+2 < Module.finrank F Q →\n    let hits := Nat.card {w : P × Q // ∀ i : Fin n,\n      w.1.val i * w.2.val i = 0 ∧ w.1.val (ix (i.val+1)) * w.2.val i = 0}\n    9*4^(j+3)*hits ≤ 8*3^(j+3)*Nat.card P*Nat.card Q) := by\n  intro t ht j hj hjt F n W ix code P Q hP hQ hdim hPd hQd hits\n  sorry\n",
 "lean_sha256": "cecb4ddc0617136595138682335a14f6e56e68b1a1f5c3fdb80a104d87460d1f",
 "build": {
  "command": "lake build PEqualNP.Outside.L_lib_1064",
  "exit": 0,
  "seconds": 5.9,
  "note": "partial file: builds only because the core step is `sorry`; it is not a proof"
 },
 "axioms": [
  "propext",
  "sorryAx",
  "Classical.choice",
  "Quot.sound"
 ],
 "upstream_commit": "1d812430ac44fdcafedd4cc5a2405c3c1c0eb5cc",
 "approach": "Took L-lib-1064 (first candidate; step answered state open, reason paused_dead). Set up the repo at the pinned Lean v4.36.0 + Mathlib cache. The statement elaborates: a skeleton with the exact statement builds (exit 0) but its core is a sorry, so it is NOT a proof. Reformulation: hits/(|P||Q|) = E_{q in Q} 2^{-r_P(S(q))}, where S(q) = supp q together with supp q + 1 (cyclic), and r_P(S) is the rank of P projected onto S. A bound (3/4)^k follows from k coordinates on which P and Q both project surjectively, but the target needs about j+3 such independent edges plus an extra 8/9 factor. Crude matroid-intersection estimate: r_P(X) + r_Q(E minus X) >= dimP + dimQ - n + c(X) + c(E minus X) >= j+2, where c counts the parity checks (at most 2 per side) that stay live. That gives only j+2 edges. Getting to j+3 and the 8/9 penalty needs the sketch's run/isolated-site/syndrome-rank analysis. The sketch file it cites (barriers/statements/probe-flats/wide-lane-deficit.sketch.txt) is not in the cloned repo. The only related proof is sibling L_lib_1040 (the dim-sum >= n-1 case, giving the 1/2 bound and the line cases). Its slot and rank infrastructure (effectiveRanks, goodSlots, jointSurj) gives one good slot, not j+3. Mathlib's Matroid library has no matroid intersection theorem. Small cases: I ran an exact transfer-matrix count (checked against brute force at n=9) for every support-type pair: each coordinate in P-support, Q-support, both, or neither, with P and Q the code vectors on those supports. Hill-climbing at t=12, j=3 (20 restarts) reached at most 0.434 of the bound. At t=13, j=4 it reached at most 0.212. The best patterns are isolated shared coordinates inside P-support (factor 5/8 each) and shared runs (worse than independent). No counterexample among these, so the statement looks true with slack in this family; general subspaces were not searched exhaustively. Where it broke: formalising the common-independent-edge lower bound (an Edmonds-type min-max for the two projection matroids restricted by the two parity checks) and the extra 8/9 loss was beyond the time available. No proof was completed.",
 "reason": "missing_lemma",
 "skipped": [
  {
   "id": "L-lib-1048",
   "state": "open",
   "note": "not taken: earlier candidate L-lib-1064 was open"
  },
  {
   "id": "L-lib-1069",
   "state": "leased",
   "note": "not taken: earlier candidate L-lib-1064 was open"
  }
 ]
}