{
  "unit": "L-meta-25845",
  "statement": "∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ C.size ≤ 3 ∧ PEqualNP.Represents.Represents (fun u v : Fin 4 => (887 : ℕ).testBit (4 * u.val + v.val)) C",
  "verdict": "no_circuit",
  "search_complete": true,
  "min_gates": 4,
  "circuit": {
    "input_order": [
      "row 0",
      "row 1",
      "row 2",
      "row 3",
      "column 0",
      "column 1",
      "column 2",
      "column 3"
    ],
    "gates": [
      {
        "op": "and",
        "inputs": [
          2,
          6
        ]
      },
      {
        "op": "or",
        "inputs": [
          3,
          7
        ]
      },
      {
        "op": "or",
        "inputs": [
          8,
          9
        ]
      },
      {
        "op": "not",
        "inputs": [
          10
        ]
      }
    ],
    "output": 11,
    "verified_mask": 887,
    "row_masks": [
      7,
      7,
      3,
      0
    ]
  },
  "coverage": "The eight raw masks encode the one-hot row and column inputs, with bit 4*u+v for each cell. Every out-of-range input index reads false at the time of evaluation, so one representative zero wire suffices. AND and OR are commutative and the enumeration includes repeated operands. Unary AND and OR return their operand, empty AND returns all ones, and empty OR returns zero. NOT uses only its first argument, with empty NOT equivalent to NOT of zero. A gate that duplicates a mask already available, including zero, can be omitted. Every subsequent use can be redirected to an equal mask, and unavailable indices can be chosen past the current end after reindexing. Sibling choices producing the same new mask give identical subsequent mask possibilities. Every prefix checks all currently available masks as outputs, covering earlier output indices and unused gates. An absent output has mask zero. The complete depth-three run visited 1, 53, 3140 and 207436 prefixes at depths zero through three.",
  "program": "from itertools import combinations_with_replacement\n\nFULL = 0xffff\nTARGET = 887\nRAW = tuple(sum(1 << (4*u+v) for u in range(4) for v in range(4)\n                if i == u or i == 4+v) for i in range(8))\n\ndef extensions(wires):\n    missing = len(wires)\n    values = wires + (0,)\n    yield FULL, (\"and\", ())\n    for i, a in enumerate(values):\n        yield FULL ^ a, (\"not\", (i,))\n    for i, j in combinations_with_replacement(range(len(values)), 2):\n        a, b = values[i], values[j]\n        yield a & b, (\"and\", (i, j))\n        yield a | b, (\"or\", (i, j))\n\ndef search(limit):\n    counts = [0] * (limit+1)\n    def visit(wires, gates):\n        counts[len(gates)] += 1\n        if TARGET in wires:\n            return gates, wires.index(TARGET)\n        if len(gates) == limit:\n            return None\n        seen = {0, *wires}\n        for value, gate in extensions(wires):\n            if value in seen:\n                continue\n            seen.add(value)\n            answer = visit(wires + (value,), gates + (gate,))\n            if answer is not None:\n                return answer\n        return None\n    return visit(RAW, ()), counts\n\ndef verify(gates, output):\n    result = 0\n    for u in range(4):\n        for v in range(4):\n            wires = [i == u for i in range(4)] + [j == v for j in range(4)]\n            for op, inputs in gates:\n                args = [wires[i] if i < len(wires) else False for i in inputs]\n                if op == \"and\":\n                    bit = all(args)\n                elif op == \"or\":\n                    bit = any(args)\n                else:\n                    assert op == \"not\"\n                    bit = not (args[0] if args else False)\n                wires.append(bit)\n            bit = wires[output] if output < len(wires) else False\n            result |= int(bit) << (4*u+v)\n    return result\n\n\nif __name__ == \"__main__\":\n    for bound in range(5):\n        witness, counts = search(bound)\n        print(bound, witness, counts, flush=True)\n        if witness is not None:\n            assert verify(*witness) == TARGET\n            print(\"verified mask\", verify(*witness))\n            break\n    else:\n        raise AssertionError(\"expected a witness by depth four\")\n",
  "mode": "refute",
  "complete": true,
  "lean": "import PEqualNP.Defs\n\nnamespace PEqualNP.Outside\nopen PEqualNP.CircuitLowerBounds\nopen PEqualNP.MetaComplexity\nopen PEqualNP.Represents\n\nprivate def raw : List (BitVec 16) :=\n  [15, 240, 3840, 61440, 4369, 8738, 17476, 34952]\n\nprivate def goalMask : BitVec 16 := 887\n\nprivate def pairOps : List (BitVec 16) → List (BitVec 16)\n  | [] => []\n  | a :: as => (as.flatMap fun b => [a &&& b, a ||| b]) ++ pairOps as\n\nprivate theorem pairOps_complete (ws : List (BitVec 16)) (a b : BitVec 16)\n    (ha : a ∈ ws) (hb : b ∈ ws) :\n    (a &&& b ∈ pairOps ws ∨ a &&& b ∈ ws) ∧\n    (a ||| b ∈ pairOps ws ∨ a ||| b ∈ ws) := by\n  induction ws with\n  | nil => simp at ha\n  | cons c cs ih =>\n    rcases List.mem_cons.mp ha with rfl | ham\n    · rcases List.mem_cons.mp hb with rfl | hb\n      · simp\n      · simp only [pairOps, List.mem_append, List.mem_flatMap]\n        exact ⟨Or.inl (Or.inl ⟨b, hb, by simp⟩), Or.inl (Or.inl ⟨b, hb, by simp⟩)⟩\n    · rcases List.mem_cons.mp hb with rfl | hb\n      · rw [BitVec.and_comm, BitVec.or_comm]\n        simp only [pairOps, List.mem_append, List.mem_flatMap]\n        exact ⟨Or.inl (Or.inl ⟨a, ham, by simp⟩), Or.inl (Or.inl ⟨a, ham, by simp⟩)⟩\n      · obtain ⟨h₁, h₂⟩ := ih ham hb\n        simp only [pairOps, List.mem_append, List.mem_cons]\n        tauto\n\nprivate def next (ws : List (BitVec 16)) : List (BitVec 16) :=\n  BitVec.allOnes 16 :: ws.map (fun a => ~~~a) ++ pairOps ws\n\nprivate def avoids : Nat → List (BitVec 16) → Bool\n  | 0, ws => !ws.contains goalMask\n  | 1, ws => !ws.contains goalMask && !(next ws).contains goalMask\n  | n + 2, ws =>\n    !ws.contains goalMask && avoids (n + 1) ws &&\n      (next ws).eraseDups.all (fun a => ws.contains a || avoids (n + 1) (a :: ws))\n\nprivate def evalTable (ws : List (BitVec 16)) (g : Gate) : BitVec 16 :=\n  let vs := g.inputs.map fun i => ws.getD i 0#16\n  match g.op with\n  | .and => vs.foldl (· &&& ·) (BitVec.allOnes 16)\n  | .or => vs.foldl (· ||| ·) 0#16\n  | .not => ~~~(vs.headD 0#16)\n  | _ => 0\n\nprivate theorem getD_cases (ws : List (BitVec 16)) (i : Nat) :\n    ws.getD i 0#16 ∈ ws ∨ ws.getD i 0#16 = 0 := by\n  rw [List.getD_eq_getElem?_getD]\n  cases h : ws[i]? with\n  | none => exact Or.inr rfl\n  | some a => exact Or.inl (List.mem_of_getElem? h)\n\nprivate theorem evalTable_mem (ws s : List (BitVec 16)) (g : Gate)\n    (hw : ∀ a ∈ ws, a ∈ s) (hz : (0 : BitVec 16) ∈ s)\n    (hok : g.op ∈ ({GateOp.and, GateOp.or, GateOp.not} : Set GateOp))\n    (hlen : g.inputs.length ≤ 2) :\n    evalTable ws g ∈ s ∨ evalTable ws g ∈ next s := by\n  have hget (i : Nat) : ws.getD i 0#16 ∈ s := by\n    rcases getD_cases ws i with h | h\n    · exact hw _ h\n    · rwa [h]\n  have hnot (a : BitVec 16) (h : a ∈ s) : ~~~a ∈ next s := by\n    simp [next, List.mem_map, h]\n  rcases g with ⟨op, ins⟩\n  change ins.length ≤ 2 at hlen\n  simp only [Set.mem_insert_iff, Set.mem_singleton_iff] at hok\n  rcases hok with rfl | rfl | rfl <;>\n    rcases ins with _ | ⟨i, _ | ⟨j, _ | ⟨k, rest⟩⟩⟩\n  all_goals try solve | simp at hlen\n  all_goals simp only [evalTable, List.map_nil, List.map_cons, List.foldl_nil,\n    List.foldl_cons, List.headD_nil, List.headD_cons, BitVec.allOnes_and,\n    BitVec.zero_or]\n  · exact Or.inr (by simp [next])\n  · exact Or.inl (hget i)\n  · rcases (pairOps_complete s _ _ (hget i) (hget j)).1 with h | h\n    · exact Or.inr (by simp only [next, List.mem_cons, List.mem_append]; exact Or.inr h)\n    · exact Or.inl h\n  · exact Or.inl hz\n  · exact Or.inl (hget i)\n  · rcases (pairOps_complete s _ _ (hget i) (hget j)).2 with h | h\n    · exact Or.inr (by simp only [next, List.mem_cons, List.mem_append]; exact Or.inr h)\n    · exact Or.inl h\n  · exact Or.inr (hnot 0 hz)\n  · exact Or.inr (hnot _ (hget i))\n  · exact Or.inr (hnot _ (hget i))\n\nprivate def push (ws : List (BitVec 16)) (g : Gate) : List (BitVec 16) :=\n  ws ++ [evalTable ws g]\n\nprivate theorem avoids_sound (gs : List Gate) (n : Nat) (ws s : List (BitVec 16))\n    (hlen : gs.length ≤ n)\n    (hok : ∀ g ∈ gs, g.op ∈ ({GateOp.and, GateOp.or, GateOp.not} : Set GateOp) ∧\n      g.inputs.length ≤ 2)\n    (hw : ∀ a ∈ ws, a ∈ s) (hz : (0 : BitVec 16) ∈ s)\n    (hs : avoids n s = true) :\n    goalMask ∉ gs.foldl push ws := by\n  induction gs generalizing n ws s with\n  | nil =>\n    simp only [List.foldl_nil]\n    intro h\n    have hm := hw _ h\n    cases n with\n    | zero => exact (by simpa [avoids] using hs : goalMask ∉ s) hm\n    | succ n =>\n      cases n with\n      | zero => simp [avoids, hm] at hs\n      | succ n => simp [avoids, hm] at hs\n  | cons g gs ih =>\n    have hg := hok g (by simp)\n    have ht : ∀ g ∈ gs, g.op ∈ ({GateOp.and, GateOp.or, GateOp.not} : Set GateOp) ∧\n        g.inputs.length ≤ 2 := fun a ha => hok a (by simp [ha])\n    have hnext := evalTable_mem ws s g hw hz hg.1 hg.2\n    cases n with\n    | zero => simp at hlen\n    | succ n =>\n      have hn : gs.length ≤ n := by simpa using hlen\n      simp only [List.foldl_cons]\n      cases n with\n      | zero =>\n        have he : gs = [] := List.length_eq_zero_iff.mp (Nat.eq_zero_of_le_zero hn)\n        subst gs\n        simp only [avoids, Bool.and_eq_true, Bool.not_eq_true'] at hs\n        simp only [List.foldl_nil, push, List.mem_append, List.mem_singleton]\n        rintro (h | h)\n        · have hh := List.contains_iff_mem.mpr (hw _ h)\n          simp_all\n        · rcases hnext with hm | hm\n          · rw [← h] at hm\n            exact Bool.false_ne_true (hs.1.symm.trans (List.contains_iff_mem.mpr hm))\n          · rw [← h] at hm\n            exact Bool.false_ne_true (hs.2.symm.trans (List.contains_iff_mem.mpr hm))\n      | succ n =>\n        simp only [avoids, Bool.and_eq_true] at hs\n        by_cases hm : evalTable ws g ∈ s\n        · apply ih (n + 1) (push ws g) s hn ht _ hz hs.1.2\n          intro a ha\n          simp only [push, List.mem_append, List.mem_singleton] at ha\n          rcases ha with ha | rfl\n          · exact hw _ ha\n          · exact hm\n        · have ha : evalTable ws g ∈ (next s).eraseDups :=\n            List.mem_eraseDups.mpr (hnext.resolve_left hm)\n          have hr := List.all_eq_true.mp hs.2 _ ha\n          have hc : s.contains (evalTable ws g) = false := by\n            cases h : s.contains (evalTable ws g)\n            · rfl\n            · exact (hm (List.contains_iff_mem.mp h)).elim\n          simp only [hc, Bool.false_or] at hr\n          apply ih (n + 1) (push ws g) (evalTable ws g :: s) hn ht _ (List.mem_cons_of_mem _ hz) hr\n          intro a ha\n          simp only [push, List.mem_append, List.mem_singleton] at ha\n          rcases ha with ha | rfl\n          · exact List.mem_cons_of_mem _ (hw _ ha)\n          · simp\n\nprivate def impact (a : BitVec 16) (ws : List (BitVec 16)) : List (BitVec 16) :=\n  a :: ~~~a :: ws.flatMap (fun b => [a &&& b, a ||| b])\n\nprivate theorem avoids_one_extend (a : BitVec 16) (ws : List (BitVec 16))\n    (h : avoids 1 ws = true) (ha : (!(impact a ws).contains goalMask) = true) :\n    avoids 1 (a :: ws) = true := by\n  simp [avoids, next, pairOps] at h ⊢\n  simp [impact] at ha\n  tauto\n\nprivate def fastTwo (ws : List (BitVec 16)) : Bool :=\n  avoids 1 ws &&\n    (next ws).eraseDups.all (fun a => ws.contains a || !(impact a ws).contains goalMask)\n\nprivate theorem fastTwo_sound (ws : List (BitVec 16)) (h : fastTwo ws = true) :\n    avoids 2 ws = true := by\n  simp only [fastTwo, Bool.and_eq_true] at h\n  change ((!ws.contains goalMask && avoids 1 ws) &&\n    (next ws).eraseDups.all (fun a => ws.contains a || avoids 1 (a :: ws))) = true\n  simp only [Bool.and_eq_true]\n  refine ⟨⟨(Bool.and_eq_true_iff.mp h.1).1, h.1⟩, ?_⟩\n  apply List.all_eq_true.mpr\n  intro a ha\n  have hh := List.all_eq_true.mp h.2 a ha\n  cases he : ws.contains a\n  · simp only [he, Bool.false_or] at hh ⊢\n    exact avoids_one_extend a ws h.1 hh\n  · rfl\n\nprivate def fastThree (ws : List (BitVec 16)) : Bool :=\n  fastTwo ws && (next ws).eraseDups.all (fun a => ws.contains a || fastTwo (a :: ws))\n\nprivate theorem fastThree_sound (ws : List (BitVec 16)) (h : fastThree ws = true) :\n    avoids 3 ws = true := by\n  simp only [fastThree, Bool.and_eq_true] at h\n  have h₂ := fastTwo_sound ws h.1\n  change ((!ws.contains goalMask && avoids 2 ws) &&\n    (next ws).eraseDups.all (fun a => ws.contains a || avoids 2 (a :: ws))) = true\n  refine Bool.and_eq_true_iff.mpr ⟨Bool.and_eq_true_iff.mpr ⟨?_, h₂⟩, ?_⟩\n  · exact (Bool.and_eq_true_iff.mp (Bool.and_eq_true_iff.mp h₂).1).1\n  · apply List.all_eq_true.mpr\n    intro a ha\n    have hh := List.all_eq_true.mp h.2 a ha\n    cases he : ws.contains a\n    · simp only [he, Bool.false_or] at hh ⊢\n      exact fastTwo_sound _ hh\n    · rfl\n\nset_option maxRecDepth 10000 in\nset_option maxHeartbeats 0 in\nprivate theorem fastThree_done : fastThree (0 :: raw) = true := by\n  decide +kernel\n\nprivate theorem search_done : avoids 3 (0 :: raw) = true :=\n  fastThree_sound _ fastThree_done\n\nprivate def bit (u v : Fin 4) (a : BitVec 16) : Bool := a.getLsbD (4 * u.val + v.val)\n\nprivate theorem bit_getD (u v : Fin 4) (ws : List (BitVec 16)) (i : Nat) :\n    bit u v (ws.getD i 0#16) = (ws.map (bit u v)).getD i false := by\n  induction ws generalizing i with\n  | nil => simp [bit]\n  | cons a ws ih =>\n    cases i with\n    | zero => simp\n    | succ i => simpa using ih i\n\nprivate theorem bit_and (u v : Fin 4) (a b : BitVec 16) :\n    bit u v (a &&& b) = (bit u v a && bit u v b) := by simp [bit]\n\nprivate theorem bit_or (u v : Fin 4) (a b : BitVec 16) :\n    bit u v (a ||| b) = (bit u v a || bit u v b) := by simp [bit]\n\nprivate theorem bit_not (u v : Fin 4) (a : BitVec 16) :\n    bit u v (~~~a) = !bit u v a := by\n  have h : 4 * u.val + v.val < 16 := by omega\n  simp [bit, h]\n\nprivate theorem bit_zero (u v : Fin 4) : bit u v 0#16 = false := by simp [bit]\n\nprivate theorem bit_full (u v : Fin 4) : bit u v (BitVec.allOnes 16) = true := by\n  rw [← BitVec.not_zero, bit_not, bit_zero]\n  rfl\n\nprivate theorem bit_gate (u v : Fin 4) (ws : List (BitVec 16)) (g : Gate)\n    (hok : g.op ∈ ({GateOp.and, GateOp.or, GateOp.not} : Set GateOp))\n    (hlen : g.inputs.length ≤ 2) :\n    bit u v (evalTable ws g) =\n      g.op.eval (g.inputs.map fun i => (ws.map (bit u v)).getD i false) := by\n  rcases g with ⟨op, ins⟩\n  change ins.length ≤ 2 at hlen\n  simp only [Set.mem_insert_iff, Set.mem_singleton_iff] at hok\n  rcases hok with rfl | rfl | rfl <;>\n    rcases ins with _ | ⟨i, _ | ⟨j, _ | ⟨k, rest⟩⟩⟩\n  all_goals try solve | simp at hlen\n  all_goals simp only [evalTable, GateOp.eval, List.map_nil, List.map_cons, List.foldl_nil,\n    List.foldl_cons, List.headD_nil, List.headD_cons, List.all_nil, List.all_cons,\n    List.any_nil, List.any_cons, id_eq, BitVec.allOnes_and, BitVec.zero_or,\n    bit_and, bit_or, bit_not, bit_getD, bit_zero, bit_full, Bool.and_true, Bool.or_false]\n\nprivate theorem bit_fold (u v : Fin 4) (gs : List Gate) (ws : List (BitVec 16))\n    (hok : ∀ g ∈ gs, g.op ∈ ({GateOp.and, GateOp.or, GateOp.not} : Set GateOp) ∧\n      g.inputs.length ≤ 2) :\n    (gs.foldl push ws).map (bit u v) =\n      gs.foldl (fun w g => w ++ [g.op.eval (g.inputs.map fun i => w.getD i false)])\n        (ws.map (bit u v)) := by\n  induction gs generalizing ws with\n  | nil => rfl\n  | cons g gs ih =>\n    have hg := hok g (by simp)\n    simp only [List.foldl_cons]\n    rw [ih _ (fun a ha => hok a (by simp [ha]))]\n    simp [push, bit_gate u v ws g hg.1 hg.2]\n\nprivate theorem raw_bits :\n    ∀ u v : Fin 4, raw.map (bit u v) = oneEach u v := by\n  decide\n\nprivate theorem goal_bits :\n    ∀ u v : Fin 4, bit u v goalMask = (887 : Nat).testBit (4 * u.val + v.val) := by\n  decide\n\nprivate theorem mask_ext (a b : BitVec 16) (h : ∀ u v : Fin 4, bit u v a = bit u v b) :\n    a = b := by\n  apply BitVec.eq_of_getLsbD_eq\n  intro i hi\n  have hu : i / 4 < 4 := by omega\n  have hv : i % 4 < 4 := by omega\n  have he : 4 * (i / 4) + i % 4 = i := by omega\n  simpa only [bit, Fin.val_mk, he] using h ⟨i / 4, hu⟩ ⟨i % 4, hv⟩\n\ntheorem L_meta_25845 :\n    ¬ (∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧\n      C.size ≤ 3 ∧ PEqualNP.Represents.Represents\n        (fun u v : Fin 4 => (887 : ℕ).testBit (4 * u.val + v.val)) C) := by\n  rintro ⟨C, hf, hsize, hreps⟩\n  have hnone := avoids_sound C.gates 3 raw (0 :: raw) hsize hf\n    (fun a ha => List.mem_cons_of_mem _ ha) (by simp) search_done\n  have ht : (C.gates.foldl push raw).getD C.output 0#16 = goalMask := by\n    apply mask_ext\n    intro u v\n    rw [bit_getD, bit_fold u v C.gates raw hf, raw_bits, goal_bits]\n    exact hreps u v\n  rcases getD_cases (C.gates.foldl push raw) C.output with hm | hm\n  · exact hnone (ht ▸ hm)\n  · have he : (0 : BitVec 16) ≠ goalMask := by decide\n    exact he (hm.symm.trans ht)\n\nend PEqualNP.Outside\n",
  "lean_bytes": 12818,
  "lean_sha256": "f30847ccbf31ff4aa3466e5b085ec9befdc85f179e6d0116b391a4d7e9c8d469",
  "build": {
    "exit": 0,
    "seconds": 32.25,
    "peak_memory_gb": 5.211
  },
  "checker": {
    "exit": 0,
    "last_line": "ACCEPTED (refute): PEqualNP.Outside.L_meta_25845; axioms [propext, Classical.choice, Quot.sound]; kernel re-checked 1790 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_25845]"
  },
  "axioms": [
    "propext",
    "Classical.choice",
    "Quot.sound"
  ],
  "missing": [],
  "approach": "Python independently enumerates mask states and verifies the four-gate witness by evaluating each input separately. Lean proves that folding over the actual gate list commutes with reading each bit of the resulting masks. A membership invariant relates the actual wire list to the pruned search, including zero for absent indices. The final search step considers only the newest mask and operations involving it once the previous masks and their possible one-gate extensions have been ruled out. Lean decides the closed search using kernel reduction. One assistant completed the work locally. No leases or PRs, no submitted or accepted competition proofs, no competition points, and no paid agent delegation.",
  "skipped": false
}
