{
 "unit": "L-meta-25844",
 "statement": "∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ C.size ≤ 3 ∧ PEqualNP.Represents.Represents (fun u v : Fin 4 => (279 : ℕ).testBit (4 * u.val + v.val)) C",
 "verdict": "no_circuit",
 "search_complete": true,
 "min_gates": 4,
 "circuit": {
  "note": "No circuit of at most 3 gates exists. Minimum found: 4 gates (wires 0-3 left one-hot u, 4-7 right one-hot v).",
  "gates": [
   {
    "op": "or",
    "inputs": [
     0,
     4
    ]
   },
   {
    "op": "or",
    "inputs": [
     7,
     3
    ]
   },
   {
    "op": "not",
    "inputs": [
     9
    ]
   },
   {
    "op": "and",
    "inputs": [
     10,
     8
    ]
   }
  ],
  "output": 11,
  "meaning": "(u=0 or v=0) and not (v=3 or u=3); table 279 on all 16 cells"
 },
 "coverage": "Each wire is its 16-bit table on the 16 inputs oneEach u v (bit 4u+v). A gate value depends only on its op and the values of the at most two wires it reads; any index that is not an existing wire (absent, past the end, or a later gate) reads false = table 0. So every FanInTwo gate table lies in {and[]=ones, or[]=0, not[]=ones} U {a, not a, a and b, a or b : a,b in S U {0}} (and[a]=or[a]=a, not[a,b]=not a, repeated inputs a=b included), S = tables of existing wires. Unused gates are covered because every gate sequence of length 0..3 is enumerated; the output may be any index, i.e. any table in S U {0}. Sizes 0,1,2,3 searched: none (1, 55, 3301, 220157 nodes); size 4 finds the circuit above. The only pruning (skipping a gate whose table already exists) is sound: deleting such a gate leaves the same set of tables with fewer gates. The Lean proof repeats the search without that pruning (only exact duplicate removal of candidate tables) and proves every circuit reduces to its table list.",
 "program": "# Exhaustive search for fan-in-two AND/OR/NOT circuits representing A(u,v) = 279.testBit(4u+v), u,v in Fin 4.\n# A wire is held as its 16-bit table: bit 4u+v = its value on oneEach u v (wires 0..3 = left one-hot, 4..7 = right one-hot).\n# Coverage: a gate's value depends only on its op and the values of the (<=2) wires it reads. A read index that is not an\n# existing wire (absent, or a later gate) reads false = table 0. So every gate's table lies in\n#   {and[]=ones, or[]=0, not[]=ones} U {a, ~a, a&b, a|b : a,b in S U {0}}   (and[a]=or[a]=a, not[a,b]=~a, repeats a=b allowed)\n# where S = tables of existing wires. Unused gates are covered since every list of tables is enumerated; the output may be any\n# index, i.e. any table in S U {0} (absent index reads false). Hence enumerating these tables per gate covers every circuit.\nimport sys, itertools\nN, M = 4, 4\nFULL = (1 << 16) - 1\ndef tab(f): return sum(1 << (4*u+v) for u in range(N) for v in range(M) if f(u, v))\ninputs = [tab(lambda u, v, i=i: u == i) for i in range(N)] + [tab(lambda u, v, j=j: v == j) for j in range(M)]\ntarget = tab(lambda u, v: (279 >> (4*u+v)) & 1 == 1)\ndef options(S):\n    pool = sorted(set(S) | {0})\n    out = {}  # table -> (op, inputs as indices; index len(S) means absent)\n    def idx(t): return S.index(t) if t in S else 99\n    out.setdefault(FULL, ('and', []))\n    out.setdefault(0, ('or', []))\n    for a in pool:\n        out.setdefault(a, ('and', [idx(a)]))\n        out.setdefault(FULL ^ a, ('not', [idx(a)]))\n    for a, b in itertools.combinations_with_replacement(pool, 2):\n        out.setdefault(a & b, ('and', [idx(a), idx(b)]))\n        out.setdefault(a | b, ('or', [idx(a), idx(b)]))\n    return out\nnodes = 0\ndef dfs(S, gates, k):\n    global nodes\n    nodes += 1\n    if target in S or target == 0:\n        return gates, (S.index(target) if target in S else 99)\n    if k == 0: return None\n    for t, g in options(S).items():\n        if t in S: continue  # a gate equal to an existing wire never helps (prune; sound: removing it gives a smaller circuit)\n        r = dfs(S + [t], gates + [g], k - 1)\n        if r: return r\n    return None\nprint('target', target, bin(target))\nfor k in range(0, 5):\n    nodes = 0\n    r = dfs(list(inputs), [], k)\n    print('max gates', k, 'found' if r else 'none', r, 'nodes', nodes)\n",
 "mode": "refute",
 "complete": true,
 "lean": "import PEqualNP.Defs\n\n/-!\nL-meta-25844: no fan-in-two circuit of at most 3 gates represents the 4 by 4 mask 279\n\nEach wire is held as its truth table on the 16 promised inputs `oneEach u v`, bit `4 u + v`\nof a natural number. A gate of a fan-in-two circuit produces a table in `nexts S`, where `S`\nlists the tables of the wires before it (a missing wire reads the table `0`). The search\n`ok 3 ins` checks that no list of at most three such tables ever contains the target, nor does\nthe missing wire, and it is run by `decide`.\n-/\n\nnamespace PEqualNP.Outside.L_meta_25844\n\nopen PEqualNP.CircuitLowerBounds PEqualNP.MetaComplexity PEqualNP.Represents\n\n/-- The tables of the eight input wires. -/\ndef ins : List Nat := [15, 240, 3840, 61440, 4369, 8738, 17476, 34952]\n\n/-- The table a gate computes from the tables `S` of the earlier wires. -/\ndef gT (g : Gate) (S : List Nat) : Nat :=\n  match g.op, g.inputs with\n  | GateOp.and, [] => 65535\n  | GateOp.and, [i] => S.getD i 0\n  | GateOp.and, [i, j] => S.getD i 0 &&& S.getD j 0\n  | GateOp.or, [] => 0\n  | GateOp.or, [i] => S.getD i 0\n  | GateOp.or, [i, j] => S.getD i 0 ||| S.getD j 0\n  | GateOp.not, [] => 65535\n  | GateOp.not, i :: _ => 65535 ^^^ S.getD i 0\n  | _, _ => 0\n\n/-- One gate step on tables. -/\ndef stepT (S : List Nat) (g : Gate) : List Nat := S ++ [gT g S]\n\n/-- Every table one gate can produce. -/\ndef nexts (S : List Nat) : List Nat :=\n  65535 :: 0 :: (0 :: S).flatMap (fun a =>\n    a :: (65535 ^^^ a) :: (0 :: S).flatMap (fun b => [a &&& b, a ||| b]))\n\n/-- The table is the target on the 16 promised inputs. -/\ndef hit (t : Nat) : Bool := t &&& 65535 == 279\n\n/-- No output index reads the target. -/\ndef ok0 (S : List Nat) : Bool := !(hit 0 || S.any hit)\n\n/-- Remove repeated entries (keeping every value). -/\ndef dd : List Nat → List Nat → List Nat\n  | acc, [] => acc\n  | acc, x :: xs => dd (if acc.contains x then acc else x :: acc) xs\n\n/-- No list of at most `k` more gates reaches the target. -/\ndef ok : Nat → List Nat → Bool\n  | 0, S => ok0 S\n  | 1, S => ok0 S && !((nexts S).any hit)\n  | k + 2, S => ok0 S && (dd [] (nexts S)).all (fun t => ok (k + 1) (S ++ [t]))\n\n/-- The distinct tables of a first gate. -/\ndef lvl1 : List Nat := dd [] (nexts ins)\n\n/-- The search below a chunk of four first gates. -/\ndef part (i : Nat) : Bool := ((lvl1.drop (4 * i)).take 4).all (fun t => ok 2 (ins ++ [t]))\n\ntheorem part0 : part 0 = true := by decide +kernel\n\ntheorem part1 : part 1 = true := by decide +kernel\n\ntheorem part2 : part 2 = true := by decide +kernel\n\ntheorem part3 : part 3 = true := by decide +kernel\n\ntheorem part4 : part 4 = true := by decide +kernel\n\ntheorem part5 : part 5 = true := by decide +kernel\n\ntheorem part6 : part 6 = true := by decide +kernel\n\ntheorem part7 : part 7 = true := by decide +kernel\n\ntheorem part8 : part 8 = true := by decide +kernel\n\ntheorem part9 : part 9 = true := by decide +kernel\n\ntheorem part10 : part 10 = true := by decide +kernel\n\ntheorem part11 : part 11 = true := by decide +kernel\n\ntheorem part12 : part 12 = true := by decide +kernel\n\ntheorem part13 : part 13 = true := by decide +kernel\n\ntheorem part14 : part 14 = true := by decide +kernel\n\ntheorem part15 : part 15 = true := by decide +kernel\n\ntheorem lvl1_tail : lvl1.drop 64 = [] := by decide +kernel\n\ntheorem ok0_ins : ok0 ins = true := by decide +kernel\n\ntheorem all_drop (l : List Nat) (f : Nat → Bool) : ∀ (K m : Nat), l.drop (m + 4 * K) = [] →\n    (∀ i, i < K → ((l.drop (m + 4 * i)).take 4).all f = true) → (l.drop m).all f = true\n  | 0, m, h, _ => by rw [Nat.mul_zero, Nat.add_zero] at h; rw [h]; rfl\n  | K + 1, m, h, hp => by\n    rw [← List.take_append_drop 4 (l.drop m), List.all_append, Bool.and_eq_true]\n    constructor\n    · simpa using hp 0 (by omega)\n    · rw [List.drop_drop]\n      apply all_drop l f K (m + 4)\n      · rw [show m + 4 + 4 * K = m + 4 * (K + 1) by omega]; exact h\n      · intro i hi\n        rw [show m + 4 + 4 * i = m + 4 * (i + 1) by omega]\n        exact hp (i + 1) (by omega)\n\ntheorem search : ok 3 ins = true := by\n  show ok (1 + 2) ins = true\n  rw [ok.eq_3, ok0_ins, Bool.true_and]\n  have h := all_drop lvl1 (fun t => ok 2 (ins ++ [t])) 16 0 (by rw [show 0 + 4 * 16 = 64 from rfl]; exact lvl1_tail)\n    (fun i hi => by\n      rw [Nat.zero_add]\n      show part i = true\n      interval_cases i\n      exacts [part0, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15])\n  rw [List.drop_zero] at h\n  exact h\n\ntheorem dd_mem : ∀ (l acc : List Nat) (y : Nat), (y ∈ acc ∨ y ∈ l) → y ∈ dd acc l\n  | [], acc, y, h => by\n    rcases h with h | h\n    · exact h\n    · simp at h\n  | x :: xs, acc, y, h => by\n    unfold dd\n    apply dd_mem xs\n    rcases h with h | h\n    · left; split\n      · exact h\n      · exact List.mem_cons_of_mem _ h\n    · rcases List.mem_cons.mp h with rfl | h\n      · left; split\n        · rename_i hc; simpa using hc\n        · exact List.mem_cons_self\n      · right; exact h\n\ntheorem ok0_snoc (S : List Nat) (t : Nat) : ok0 (S ++ [t]) = (ok0 S && !hit t) := by\n  unfold ok0\n  simp [List.any_append]\n  cases hit 0 <;> cases S.any hit <;> cases hit t <;> rfl\n\ntheorem ok_ok0 : ∀ (k : Nat) (S : List Nat), ok k S = true → ok0 S = true\n  | 0, S, h => by simpa [ok] using h\n  | 1, S, h => by simp only [ok, Bool.and_eq_true] at h; exact h.1\n  | k + 2, S, h => by simp only [ok, Bool.and_eq_true] at h; exact h.1\n\ntheorem ok_succ : ∀ (k : Nat) (S : List Nat) (t : Nat), ok (k + 1) S = true → t ∈ nexts S →\n    ok k (S ++ [t]) = true\n  | 0, S, t, h, ht => by\n    simp only [ok, Bool.and_eq_true, Bool.not_eq_true', List.any_eq_false] at h\n    simp only [ok, ok0_snoc, h.1, Bool.true_and]\n    have := h.2 t ht\n    simpa using this\n  | k + 1, S, t, h, ht => by\n    simp only [ok, Bool.and_eq_true, List.all_eq_true] at h\n    exact h.2 t (dd_mem _ _ _ (Or.inr ht))\n\n/-- A gate of a fan-in-two circuit. -/\ndef good (g : Gate) : Prop :=\n  g.op ∈ ({GateOp.and, GateOp.or, GateOp.not} : Set GateOp) ∧ g.inputs.length ≤ 2\n\ntheorem getD_pool (S : List Nat) (i : Nat) : S.getD i 0 ∈ 0 :: S := by\n  rw [List.getD_eq_getElem?_getD]\n  cases h : S[i]? with\n  | none => simp\n  | some a => simp only [Option.getD_some]; exact List.mem_cons_of_mem _ (List.mem_of_getElem? h)\n\ntheorem m_full (S : List Nat) : 65535 ∈ nexts S := List.mem_cons_self\n\ntheorem m_zero (S : List Nat) : 0 ∈ nexts S := List.mem_cons_of_mem _ List.mem_cons_self\n\ntheorem m_copy (S : List Nat) (a : Nat) (ha : a ∈ 0 :: S) : a ∈ nexts S :=\n  List.mem_cons_of_mem _ (List.mem_cons_of_mem _ (List.mem_flatMap.mpr ⟨a, ha, List.mem_cons_self⟩))\n\ntheorem m_not (S : List Nat) (a : Nat) (ha : a ∈ 0 :: S) : 65535 ^^^ a ∈ nexts S :=\n  List.mem_cons_of_mem _ (List.mem_cons_of_mem _ (List.mem_flatMap.mpr\n    ⟨a, ha, List.mem_cons_of_mem _ List.mem_cons_self⟩))\n\ntheorem m_and (S : List Nat) (a b : Nat) (ha : a ∈ 0 :: S) (hb : b ∈ 0 :: S) :\n    a &&& b ∈ nexts S :=\n  List.mem_cons_of_mem _ (List.mem_cons_of_mem _ (List.mem_flatMap.mpr\n    ⟨a, ha, List.mem_cons_of_mem _ (List.mem_cons_of_mem _ (List.mem_flatMap.mpr\n      ⟨b, hb, List.mem_cons_self⟩))⟩))\n\ntheorem m_or (S : List Nat) (a b : Nat) (ha : a ∈ 0 :: S) (hb : b ∈ 0 :: S) :\n    a ||| b ∈ nexts S :=\n  List.mem_cons_of_mem _ (List.mem_cons_of_mem _ (List.mem_flatMap.mpr\n    ⟨a, ha, List.mem_cons_of_mem _ (List.mem_cons_of_mem _ (List.mem_flatMap.mpr\n      ⟨b, hb, List.mem_cons_of_mem _ List.mem_cons_self⟩))⟩))\n\ntheorem gT_mem (g : Gate) (S : List Nat) (hg : good g) : gT g S ∈ nexts S := by\n  obtain ⟨op, inputs⟩ := g\n  obtain ⟨hop, hlen⟩ := hg\n  simp only [Set.mem_insert_iff, Set.mem_singleton_iff] at hop\n  simp only at hlen\n  have pa := getD_pool S\n  rcases hop with rfl | rfl | rfl <;> rcases inputs with _ | ⟨i, _ | ⟨j, _ | ⟨k, r⟩⟩⟩ <;>\n    simp only [List.length_cons, List.length_nil] at hlen <;> (try omega) <;>\n    simp only [gT] <;>\n    first\n    | exact m_full S\n    | exact m_zero S\n    | exact m_copy S _ (pa _)\n    | exact m_not S _ (pa _)\n    | exact m_and S _ _ (pa _) (pa _)\n    | exact m_or S _ _ (pa _) (pa _)\n\ntheorem getD_snoc {α : Type} (l : List α) (a d : α) (i : Nat) :\n    (l ++ [a]).getD i d = if i < l.length then l.getD i d else if i = l.length then a else d := by\n  split\n  · exact List.getD_append _ _ _ _ (by assumption)\n  · rw [List.getD_append_right _ _ _ _ (by omega)]\n    split\n    · subst_vars; simp\n    · rw [List.getD_eq_default]; simp; omega\n\ntheorem gate_corr (p : Nat) (hp : p < 16) (g : Gate) (hg : good g) (w : List Bool) (S : List Nat)\n    (h : ∀ i, w.getD i false = (S.getD i 0).testBit p) :\n    g.op.eval (g.inputs.map fun i => w.getD i false) = (gT g S).testBit p := by\n  have full : (65535 : Nat).testBit p = true := by\n    have e : (65535 : Nat) = 2 ^ 16 - 1 := by norm_num\n    rw [e, Nat.testBit_two_pow_sub_one]; simpa using hp\n  obtain ⟨op, inputs⟩ := g\n  obtain ⟨hop, hlen⟩ := hg\n  simp only [Set.mem_insert_iff, Set.mem_singleton_iff] at hop\n  simp only at hlen\n  rcases hop with rfl | rfl | rfl <;> rcases inputs with _ | ⟨i, _ | ⟨j, _ | ⟨k, r⟩⟩⟩ <;>\n    simp only [List.length_cons, List.length_nil] at hlen <;> (try omega) <;>\n    simp only [gT, GateOp.eval, List.map_cons, List.map_nil, h] <;>\n    simp [full, Nat.testBit_and, Nat.testBit_or, Nat.testBit_xor]\n\ntheorem corr (p : Nat) (hp : p < 16) : ∀ (gs : List Gate) (w : List Bool) (S : List Nat),\n    (∀ g ∈ gs, good g) → w.length = S.length → (∀ i, w.getD i false = (S.getD i 0).testBit p) →\n    ∀ i, (gs.foldl (fun w g => w ++ [g.op.eval (g.inputs.map fun i => w.getD i false)]) w).getD i\n      false = ((gs.foldl stepT S).getD i 0).testBit p\n  | [], w, S, _, _, h => h\n  | g :: gs, w, S, hg, hl, h => by\n    simp only [List.foldl_cons]\n    apply corr p hp gs\n    · intro g' hg'; exact hg g' (List.mem_cons_of_mem _ hg')\n    · simp [stepT, hl]\n    · intro i\n      rw [stepT, getD_snoc, getD_snoc, hl]\n      split\n      · exact h i\n      · split\n        · exact gate_corr p hp g (hg g List.mem_cons_self) w S h\n        · simp\n\ntheorem search_all : ∀ (gs : List Gate) (k : Nat) (S : List Nat), gs.length ≤ k →\n    (∀ g ∈ gs, good g) → ok k S = true → ok0 (gs.foldl stepT S) = true\n  | [], k, S, _, _, h => ok_ok0 k S h\n  | g :: gs, k, S, hk, hg, h => by\n    simp only [List.length_cons] at hk\n    obtain ⟨k, rfl⟩ : ∃ k', k = k' + 1 := ⟨k - 1, by omega⟩\n    simp only [List.foldl_cons]\n    exact search_all gs k _ (by omega) (fun g' hg' => hg g' (List.mem_cons_of_mem _ hg'))\n      (ok_succ k S _ h (gT_mem g S (hg g List.mem_cons_self)))\n\ntheorem base (u v : Fin 4) (i : Nat) :\n    (oneEach u v).getD i false = (ins.getD i 0).testBit (4 * u.val + v.val) := by\n  by_cases hi : i < 8\n  · have key : ∀ (a b : Fin 4) (c : Fin 8),\n        (oneEach a b).getD c.val false = (ins.getD c.val 0).testBit (4 * a.val + b.val) := by\n      decide\n    exact key u v ⟨i, hi⟩\n  · rw [List.getD_eq_default _ _ (by simp [oneEach]; omega),\n      List.getD_eq_default _ _ (by simp [ins]; omega)]\n    simp\n\ntheorem hit_of (t : Nat) (h : ∀ p, p < 16 → t.testBit p = (279 : Nat).testBit p) :\n    hit t = true := by\n  have e : (65535 : Nat) = 2 ^ 16 - 1 := by norm_num\n  have eq : t &&& 65535 = 279 := by\n    apply Nat.eq_of_testBit_eq\n    intro i\n    rw [Nat.testBit_and, e, Nat.testBit_two_pow_sub_one]\n    by_cases hi : i < 16\n    · simp [hi, h i hi]\n    · have : (279 : Nat).testBit i = false :=\n        Nat.testBit_eq_false_of_lt (lt_of_lt_of_le (by norm_num) (Nat.pow_le_pow_right\n          (by norm_num) (Nat.le_of_not_lt hi)))\n      simp [hi, this]\n  simp [hit, eq]\n\nend PEqualNP.Outside.L_meta_25844\n\nopen PEqualNP.Outside.L_meta_25844 in\ntheorem PEqualNP.Outside.L_meta_25844 : ¬ (∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ C.size ≤ 3 ∧ PEqualNP.Represents.Represents (fun u v : Fin 4 => (279 : ℕ).testBit (4 * u.val + v.val)) C) := by\n  rintro ⟨C, hF, hs, hR⟩\n  have hg : ∀ g ∈ C.gates, good g := fun g hg => hF g hg\n  have h0 := search_all C.gates 3 ins hs hg search\n  have hc : ∀ u v : Fin 4, ∀ i, (C.wires (PEqualNP.Represents.oneEach u v)).getD i false =\n      ((C.gates.foldl stepT ins).getD i 0).testBit (4 * u.val + v.val) := by\n    intro u v\n    exact corr _ (by omega) C.gates _ ins hg (by simp [PEqualNP.Represents.oneEach, ins])\n      (base u v)\n  have hh : hit ((C.gates.foldl stepT ins).getD C.output 0) = true := by\n    apply hit_of\n    intro p hp\n    have := hR ⟨p / 4, by omega⟩ ⟨p % 4, by omega⟩\n    simp only [PEqualNP.CircuitLowerBounds.Circuit.eval] at this\n    rw [hc] at this\n    have e : 4 * (p / 4) + p % 4 = p := by omega\n    simpa [e] using this\n  have hm := getD_pool (C.gates.foldl stepT ins) C.output\n  unfold ok0 at h0\n  simp only [Bool.not_eq_true', Bool.or_eq_false_iff, List.any_eq_false] at h0\n  rcases List.mem_cons.mp hm with e | e\n  · rw [e] at hh; rw [hh] at h0; exact absurd h0.1 (by simp)\n  · exact absurd hh (by simpa using h0.2 _ e)\n",
 "lean_bytes": 13049,
 "lean_sha256": "22ba4dce13874bc97803d02a0ade8ef5e1d7cee7ef90efc79cbd2ab3e3a7abb2",
 "build": {
  "exit": 0,
  "seconds": 125.04,
  "peak_memory_gb": 5.7,
  "command": "lake build PEqualNP.Outside.L_meta_25844 (Lean v4.36.0, repo commit e8dc2d83cc1f03dc3fcf24af495304f2dc5e0d36)"
 },
 "checker": {
  "exit": 0,
  "last_line": "ACCEPTED (refute): PEqualNP.Outside.L_meta_25844; axioms [propext, Quot.sound, Classical.choice]; kernel re-checked 1844 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_25844]",
  "seconds": 128.92,
  "peak_memory_gb": 15.97,
  "command": "node tools/check-lean.mjs lean/PEqualNP/Outside/L_meta_25844.lean statement.txt refute"
 },
 "axioms": [
  "propext",
  "Quot.sound",
  "Classical.choice"
 ],
 "missing": [],
 "approach": "Python exhaustive search over wire truth tables (sizes 0-4). Lean (mode refute): gT maps a gate to its table from earlier tables; corr proves wires of oneEach u v agree bitwise with the folded table list for any FanInTwo circuit; gT_mem shows each gate table lies in nexts S; ok k S is a Bool search (deduplicated at the upper levels) that no list of at most k more tables, nor the absent wire, hits 279 on the low 16 bits; the depth-3 search is split into 16 chunk theorems proved by decide +kernel (no native_decide) to bound kernel memory; search_all plus hit_of give the contradiction. Only import PEqualNP.Defs; no sorry, axiom, set_option, macro or # command.",
 "skipped": false,
 "row_seen": {
  "gap_listed": true,
  "pr_open": 0,
  "fetched": "2026-11-28",
  "file": "lean/PEqualNP/Outside/L_meta_25844.lean",
  "module": "PEqualNP.Outside.L_meta_25844"
 }
}