{
  "agent": "MP09",
  "group": "mathematical proofs",
  "gap": "L-meta-16092",
  "strategy": "Structural decomposition via prime implicants, prime implicates, input symmetries, and a three-signal cut",
  "status": "partial",
  "summary": "The table is monotone. With a=x0, b=x1, c=x2 AND x3, d=x4, e=x5, it factors as (d OR e) AND (a OR (b AND c)) AND (b OR c OR (d AND e)). This recovers the capsule's nine-gate AND/OR structure from the prime terms. Appending a unary NOT of x0 gives a ten-gate companion with output wire 14 and the unary NOT on wire 15. The size-nine existential and its negation remain open in this attempt.",
  "derivation": "The seven prime terms collect as q(ab + ac + bc) + ar, where q=d+e and r=de, juxtaposition is AND and plus is OR. Since r implies q and bc implies b+c, this expands equivalently as q(a+bc)(b+c+r). The pair (x2,x3) occurs together in every prime term that uses either input. The (d,e) cofactors for zero, one, and two true inputs are respectively 0, ab+ac+bc, and a+bc. The three cofactors are distinct, so a single Boolean output of a d,e-only subcircuit cannot encode them. A pair of symmetric monotone Boolean signals distinguishing the three cases must use OR and AND, up to order. The exact input-permutation group is generated by (2 3) and (4 5).",
  "desk": {
    "state": "leased",
    "time": "2026-11-26T06:27:34Z",
    "since": "2026-11-26T03:49:16.355Z",
    "url": "https://pequalnp.com/desk/step?gap=L-meta-16092",
    "holders": 1
  },
  "statementSha256": "7cc1640866f80728668dd740e9659a3d45d1c6e31636f679571155dfa7684829",
  "targetStatement": "∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ (∃ g ∈ C.gates, g.op = PEqualNP.CircuitLowerBounds.GateOp.not ∧ g.inputs.length = 1) ∧ C.size ≤ 9 ∧ ∀ x : Fin 6 → Bool, C.eval (List.ofFn x) = Nat.testBit (3937069192 * 2 ^ 32 + 3901227008) (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0)",
  "claims": [
    {
      "statement": "∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ (∃ g ∈ C.gates, g.op = PEqualNP.CircuitLowerBounds.GateOp.not ∧ g.inputs.length = 1) ∧ C.size ≤ 10 ∧ ∀ x : Fin 6 → Bool, C.eval (List.ofFn x) = Nat.testBit (3937069192 * 2 ^ 32 + 3901227008) (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0)",
      "kind": "companion",
      "path": "lean/PEqualNP/Outside/L_mp09_upper.lean",
      "sha256": "e60c466f28e059bb74d473e69eb3109270b4c8351e95cd06c7e60b82143fa494",
      "elaboration": "pass",
      "guard": "pass",
      "checkLean": {
        "mode": "check",
        "exitCode": 3,
        "verdict": "fault",
        "wrapperTimeoutExitCode": 124
      },
      "axioms": "not-run"
    },
    {
      "statement": "∀ x : Fin 6 → Bool,\n    let c := x 2 && x 3\n    ((x 4 || x 5) && (x 0 || (x 1 && c)) && ((x 1 || c) || (x 4 && x 5))) =\n      Nat.testBit (3937069192 * 2 ^ 32 + 3901227008)\n        (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0)",
      "kind": "helper",
      "path": "lean/PEqualNP/Outside/L_mp09_upper.lean",
      "sha256": "e60c466f28e059bb74d473e69eb3109270b4c8351e95cd06c7e60b82143fa494",
      "elaboration": "pass",
      "guard": "pass",
      "checkLean": {
        "mode": null,
        "exitCode": null,
        "verdict": "not-run"
      },
      "axioms": "not-run"
    },
    {
      "statement": "∀ (enc : Bool → Bool → Bool) (read : Bool → Bool → Bool → Bool → Bool → Bool), ¬ ∀ x : Fin 6 → Bool,\n      read (x 0) (x 1) (x 2) (x 3) (enc (x 4) (x 5)) =\n        Nat.testBit (3937069192 * 2 ^ 32 + 3901227008)\n          (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0)",
      "kind": "helper",
      "path": "lean/PEqualNP/Outside/L_mp09_upper.lean",
      "sha256": "e60c466f28e059bb74d473e69eb3109270b4c8351e95cd06c7e60b82143fa494",
      "elaboration": "pass",
      "guard": "pass",
      "checkLean": {
        "mode": null,
        "exitCode": null,
        "verdict": "not-run"
      },
      "axioms": "not-run"
    },
    {
      "statement": "The displayed ten-gate circuit matches all 64 rows using the mirrored pinned evaluator.",
      "kind": "evidence",
      "path": "research/structure.py",
      "sha256": "c123b9ccc13ab9fabc029195c99ccf48da3af30344b9546e4bfdeb0d6fe319cd",
      "elaboration": "not-run",
      "guard": "not-run",
      "checkLean": {
        "mode": null,
        "exitCode": null,
        "verdict": "not-run"
      },
      "axioms": "not-run"
    },
    {
      "statement": "The bounded search found no circuit with a unary NOT and at most nine total gates in the fixed-prefix family.",
      "kind": "evidence",
      "path": "research/cut.cpp",
      "sha256": "471e7390d65e2ad7bb0219bb67b8cbae805b498d13698ce077f9526f2c945893",
      "elaboration": "not-run",
      "guard": "not-run",
      "checkLean": {
        "mode": null,
        "exitCode": null,
        "verdict": "not-run"
      },
      "axioms": "not-run"
    }
  ],
  "artifacts": [
    {
      "path": "lean/PEqualNP/Outside/L_mp09_upper.lean",
      "sha256": "e60c466f28e059bb74d473e69eb3109270b4c8351e95cd06c7e60b82143fa494",
      "content": "import PEqualNP.Defs\n\nnamespace PEqualNP.Outside.L_mp09_upper\n\nset_option maxRecDepth 10000 in\ntheorem factorization : ∀ x : Fin 6 → Bool,\n    let c := x 2 && x 3\n    ((x 4 || x 5) && (x 0 || (x 1 && c)) && ((x 1 || c) || (x 4 && x 5))) =\n      Nat.testBit (3937069192 * 2 ^ 32 + 3901227008)\n        (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0) := by\n  decide +kernel\n\nset_option maxRecDepth 10000 in\ntheorem noPairCompression (enc : Bool → Bool → Bool)\n    (read : Bool → Bool → Bool → Bool → Bool → Bool) :\n    ¬ ∀ x : Fin 6 → Bool,\n      read (x 0) (x 1) (x 2) (x 3) (enc (x 4) (x 5)) =\n        Nat.testBit (3937069192 * 2 ^ 32 + 3901227008)\n          (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0) := by\n  intro h\n  have h00 := h ![true, true, false, false, false, false]\n  have h01 := h ![true, true, false, false, false, true]\n  have h11 := h ![true, true, false, false, true, true]\n  have h01' := h ![true, false, false, false, false, true]\n  have h11' := h ![true, false, false, false, true, true]\n  rw [← factorization] at h00 h01 h11 h01' h11'\n  change read true true false false (enc false false) = false at h00\n  change read true true false false (enc false true) = true at h01\n  change read true true false false (enc true true) = true at h11\n  change read true false false false (enc false true) = false at h01'\n  change read true false false false (enc true true) = true at h11'\n  have sep1 : enc false false ≠ enc false true := by\n    intro eq\n    rw [eq] at h00\n    exact Bool.false_ne_true (h00.symm.trans h01)\n  have sep2 : enc false false ≠ enc true true := by\n    intro eq\n    rw [eq] at h00\n    exact Bool.false_ne_true (h00.symm.trans h11)\n  have sep3 : enc false true ≠ enc true true := by\n    intro eq\n    rw [eq] at h01'\n    exact Bool.false_ne_true (h01'.symm.trans h11')\n  cases e00 : enc false false <;> cases e01 : enc false true <;>\n    cases e11 : enc true true <;> simp_all\n\nend PEqualNP.Outside.L_mp09_upper\n\nset_option maxRecDepth 10000 in\ntheorem PEqualNP.Outside.L_mp09_upper : ∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ (∃ g ∈ C.gates, g.op = PEqualNP.CircuitLowerBounds.GateOp.not ∧ g.inputs.length = 1) ∧ C.size ≤ 10 ∧ ∀ x : Fin 6 → Bool, C.eval (List.ofFn x) = Nat.testBit (3937069192 * 2 ^ 32 + 3901227008) (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0) := by\n  refine ⟨⟨[\n    ⟨.and, [2, 3]⟩,\n    ⟨.or, [4, 5]⟩,\n    ⟨.and, [4, 5]⟩,\n    ⟨.or, [1, 6]⟩,\n    ⟨.and, [1, 6]⟩,\n    ⟨.or, [9, 8]⟩,\n    ⟨.or, [0, 10]⟩,\n    ⟨.and, [7, 11]⟩,\n    ⟨.and, [12, 13]⟩,\n    ⟨.not, [0]⟩\n  ], 14⟩, ?_, ?_, by decide, ?_⟩\n  · simp [PEqualNP.MetaComplexity.FanInTwo]\n  · exact ⟨⟨.not, [0]⟩, by simp, rfl, rfl⟩\n  · decide +kernel\n"
    },
    {
      "path": "statement.txt",
      "sha256": "7cc1640866f80728668dd740e9659a3d45d1c6e31636f679571155dfa7684829",
      "content": "∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ (∃ g ∈ C.gates, g.op = PEqualNP.CircuitLowerBounds.GateOp.not ∧ g.inputs.length = 1) ∧ C.size ≤ 9 ∧ ∀ x : Fin 6 → Bool, C.eval (List.ofFn x) = Nat.testBit (3937069192 * 2 ^ 32 + 3901227008) (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0)"
    },
    {
      "path": "companion-statement.txt",
      "sha256": "ef88f8f324100f33566d5daaf49382bd558d742d69be0f0b7e1cc04a34a5ec42",
      "content": "∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ (∃ g ∈ C.gates, g.op = PEqualNP.CircuitLowerBounds.GateOp.not ∧ g.inputs.length = 1) ∧ C.size ≤ 10 ∧ ∀ x : Fin 6 → Bool, C.eval (List.ofFn x) = Nat.testBit (3937069192 * 2 ^ 32 + 3901227008) (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0)"
    },
    {
      "path": "research/HelperAudit.lean",
      "sha256": "0ab509dd65adbba8861247ac84a4a7ba71dea81206e461bb186f94e843f098cc",
      "content": "import PEqualNP.Outside.L_mp09_upper\n\n#print axioms PEqualNP.Outside.L_mp09_upper.factorization\n#print axioms PEqualNP.Outside.L_mp09_upper\n#print axioms PEqualNP.Outside.L_mp09_upper.noPairCompression\n"
    },
    {
      "path": "research/structure.py",
      "sha256": "c123b9ccc13ab9fabc029195c99ccf48da3af30344b9546e4bfdeb0d6fe319cd",
      "content": "from itertools import permutations\nimport json\n\nwidth = 6\ntable = 3937069192 * 2**32 + 3901227008\nrows = range(2**width)\nbits = range(width)\nval = [(table >> row) & 1 for row in rows]\nassert all(val[row] <= val[row | (1 << i)] for row in rows for i in bits)\npositive = [{i for i in bits if row >> i & 1} for row in rows\n            if val[row] and all(not val[row ^ (1 << i)] for i in bits if row >> i & 1)]\nnegative = [{i for i in bits if not (row >> i & 1)} for row in rows\n            if not val[row] and all(val[row | (1 << i)] for i in bits if not (row >> i & 1))]\nsymmetries = [p for p in permutations(bits)\n              if all(val[row] == val[sum(((row >> i) & 1) << p[i] for i in bits)] for row in rows)]\ngates = [('and', [2, 3]), ('or', [4, 5]), ('and', [4, 5]),\n         ('or', [1, 6]), ('and', [1, 6]), ('or', [9, 8]),\n         ('or', [0, 10]), ('and', [7, 11]), ('and', [12, 13]),\n         ('not', [0])]\nfor row in rows:\n    wires = [bool(row >> i & 1) for i in bits]\n    a, b, x2, x3, d, e = wires\n    c, q, r = x2 and x3, d or e, d and e\n    assert val[row] == (q and (a or (b and c)) and (b or c or r))\n    support = {i for i in bits if wires[i]}\n    assert val[row] == any(term <= support for term in positive)\n    assert val[row] == all(clause & support for clause in negative)\n    for op, indices in gates:\n        operands = [wires[i] if i < len(wires) else False for i in indices]\n        wires.append({'and': all, 'or': any, 'not': lambda xs: not xs[0]}[op](operands))\n    assert wires[14] == val[row]\nprofiles = [sum(val[low | (pair << 4)] << low for low in range(16))\n            for pair in range(4)]\nassert profiles[1] == profiles[2]\nassert len(set(profiles)) == 3\nfor encoding in range(16):\n    assert any(profiles[i] != profiles[j] and (encoding >> i & 1) == (encoding >> j & 1)\n               for i in range(4) for j in range(i))\nprint(json.dumps(dict(pairCofactorMasks=profiles, pairEncodingsRuledOut=16,\n                      primeImplicants=list(map(sorted, positive)),\n                      primeImplicates=list(map(sorted, negative)),\n                      symmetries=symmetries, gates=gates, outputWire=14, verifiedRows=64)))\n"
    },
    {
      "path": "research/cut.cpp",
      "sha256": "471e7390d65e2ad7bb0219bb67b8cbae805b498d13698ce077f9526f2c945893",
      "content": "#include <cstdint>\n#include <iostream>\n\nusing Mask = std::uint64_t;\nconstexpr Mask target = (3937069192ULL << 32) | 3901227008ULL;\nMask wire[16];\nstd::uint64_t states[6]{};\nbool allowNot;\nbool requireNot;\n\nbool search(int available, int remaining, int depth, bool usedNot) {\n    ++states[depth];\n    for (int i = 0; i < available; ++i) {\n        if (wire[i] == target && (!requireNot || usedNot || (remaining > 0 && allowNot))) return true;\n    }\n    if (remaining == 0) return false;\n    if (remaining == 1) {\n        bool binaryAllowed = !requireNot || usedNot;\n        for (int i = 0; i < available; ++i) {\n            const Mask a = wire[i];\n            if (allowNot && ~a == target) return true;\n            if (!binaryAllowed) continue;\n            if ((a & target) == a) {\n                for (int j = 0; j < i; ++j)\n                    if ((a | wire[j]) == target) return true;\n            }\n            if ((a & target) == target) {\n                for (int j = 0; j < i; ++j)\n                    if ((a & wire[j]) == target) return true;\n            }\n        }\n        return false;\n    }\n    // At distance two, the final gate either already works on old wires,\n    // or reads the new wire. Only subsets can be OR operands of the target\n    // and only supersets can be AND operands.\n    if (remaining == 2) {\n        Mask subsets[16], supersets[16];\n        int subCount = 0, superCount = 0;\n        for (int i = 0; i < available; ++i) {\n            const Mask a = wire[i];\n            if (allowNot && ~a == target) return true;\n            if ((a & target) == a) {\n                for (int j = 0; j < subCount; ++j)\n                    if ((a | subsets[j]) == target) return true;\n                subsets[subCount++] = a;\n            }\n            if ((a & target) == target) {\n                for (int j = 0; j < superCount; ++j)\n                    if ((a & supersets[j]) == target) return true;\n                supersets[superCount++] = a;\n            }\n        }\n        auto finish = [&](Mask v, bool haveNot) {\n            if (allowNot && ~v == target) return true;\n            if (v == target && (!requireNot || haveNot || allowNot)) return true;\n            if (requireNot && !haveNot) return false;\n            if ((v & target) == v) {\n                for (int j = 0; j < subCount; ++j)\n                    if ((v | subsets[j]) == target) return true;\n            }\n            if ((v & target) == target) {\n                for (int j = 0; j < superCount; ++j)\n                    if ((v & supersets[j]) == target) return true;\n            }\n            return false;\n        };\n        for (int i = 0; i < available; ++i) {\n            if (allowNot && finish(~wire[i], true)) return true;\n            for (int j = 0; j < i; ++j)\n                if (finish(wire[i] & wire[j], usedNot) || finish(wire[i] | wire[j], usedNot))\n                    return true;\n        }\n        return false;\n    }\n    auto extend = [&](Mask v, bool haveNot) {\n        if (v == target && (!requireNot || haveNot)) return true;\n        if (v == 0 || v == ~Mask{0}) return false;\n        for (int i = 0; i < available; ++i) {\n            if (wire[i] == v) return false;\n        }\n        wire[available] = v;\n        return search(available + 1, remaining - 1, depth + 1, haveNot);\n    };\n    for (int i = 0; i < available; ++i) {\n        if (allowNot && extend(~wire[i], true)) return true;\n        for (int j = 0; j < i; ++j) {\n            if (extend(wire[i] & wire[j], usedNot) || extend(wire[i] | wire[j], usedNot)) return true;\n        }\n    }\n    return false;\n}\n\nint main() {\n    Mask input[6]{};\n    for (int r = 0; r < 64; ++r)\n        for (int i = 0; i < 6; ++i)\n            if ((r >> i) & 1) input[i] |= Mask{1} << r;\n    // Make all six primary inputs and the three structural cut signals available.\n    wire[0] = input[0];\n    wire[1] = input[1];\n    wire[2] = input[2] & input[3];\n    wire[3] = input[4] | input[5];\n    wire[4] = input[4] & input[5];\n    wire[5] = input[4];\n    wire[6] = input[5];\n    wire[7] = input[2];\n    wire[8] = input[3];\n    for (int n = 4; n <= 5; ++n) {\n        allowNot = n == 5;\n        requireNot = false;\n        const int budget = n;\n        const bool found = search(9, budget, 0, false);\n        std::cout << \"budget=\" << budget << \" not=\" << allowNot << \" found=\" << found << \" states=\";\n        for (auto& count : states) {\n            std::cout << count << ' ';\n            count = 0;\n        }\n        std::cout << std::endl;\n    }\n    // Add the remaining input pairs back in two steps.\n    allowNot = true;\n    requireNot = true;\n    for (int terminals : {5, 7, 9}) {\n        wire[5] = input[4];\n        wire[6] = input[5];\n        wire[7] = input[2];\n        wire[8] = input[3];\n        const bool found = search(terminals, 6, 0, false);\n        std::cout << \"terminals=\" << terminals << \" budget=6 requires-not=1 found=\" << found << \" states=\";\n        for (auto& count : states) {\n            std::cout << count << ' ';\n            count = 0;\n        }\n        std::cout << std::endl;\n    }\n}\n"
    },
    {
      "path": "research/cut-unoptimized.cpp",
      "sha256": "20618179ef6b9d792b7f9a2b657372f88e8efd26719a4e4642aae3d09a4e3440",
      "content": "#include <cstdint>\n#include <iostream>\n\nusing Mask = std::uint64_t;\nconstexpr Mask target = (3937069192ULL << 32) | 3901227008ULL;\nMask wire[16];\nstd::uint64_t states[6]{};\nbool allowNot;\nbool requireNot;\n\nbool search(int available, int remaining, int depth, bool usedNot) {\n    ++states[depth];\n    for (int i = 0; i < available; ++i) {\n        if (wire[i] == target && (!requireNot || usedNot || (remaining > 0 && allowNot))) return true;\n    }\n    if (remaining == 0) return false;\n    if (remaining == 1) {\n        bool binaryAllowed = !requireNot || usedNot;\n        for (int i = 0; i < available; ++i) {\n            const Mask a = wire[i];\n            if (allowNot && ~a == target) return true;\n            if (!binaryAllowed) continue;\n            if ((a & target) == a) {\n                for (int j = 0; j < i; ++j)\n                    if ((a | wire[j]) == target) return true;\n            }\n            if ((a & target) == target) {\n                for (int j = 0; j < i; ++j)\n                    if ((a & wire[j]) == target) return true;\n            }\n        }\n        return false;\n    }\n    auto extend = [&](Mask v, bool haveNot) {\n        if (v == target && (!requireNot || haveNot)) return true;\n        if (v == 0 || v == ~Mask{0}) return false;\n        for (int i = 0; i < available; ++i) {\n            if (wire[i] == v) return false;\n        }\n        wire[available] = v;\n        return search(available + 1, remaining - 1, depth + 1, haveNot);\n    };\n    for (int i = 0; i < available; ++i) {\n        if (allowNot && extend(~wire[i], true)) return true;\n        for (int j = 0; j < i; ++j) {\n            if (extend(wire[i] & wire[j], usedNot) || extend(wire[i] | wire[j], usedNot)) return true;\n        }\n    }\n    return false;\n}\n\nint main() {\n    Mask input[6]{};\n    for (int r = 0; r < 64; ++r)\n        for (int i = 0; i < 6; ++i)\n            if ((r >> i) & 1) input[i] |= Mask{1} << r;\n    // Make all six primary inputs and the three structural cut signals available.\n    wire[0] = input[0];\n    wire[1] = input[1];\n    wire[2] = input[2] & input[3];\n    wire[3] = input[4] | input[5];\n    wire[4] = input[4] & input[5];\n    wire[5] = input[4];\n    wire[6] = input[5];\n    wire[7] = input[2];\n    wire[8] = input[3];\n    for (int n = 4; n <= 5; ++n) {\n        allowNot = n == 5;\n        requireNot = false;\n        const int budget = n;\n        const bool found = search(9, budget, 0, false);\n        std::cout << \"budget=\" << budget << \" not=\" << allowNot << \" found=\" << found << \" states=\";\n        for (auto& count : states) {\n            std::cout << count << ' ';\n            count = 0;\n        }\n        std::cout << std::endl;\n    }\n    // Add the remaining input pairs back in two steps.\n    allowNot = true;\n    requireNot = true;\n    for (int terminals : {5, 7, 9}) {\n        wire[5] = input[4];\n        wire[6] = input[5];\n        wire[7] = input[2];\n        wire[8] = input[3];\n        const bool found = search(terminals, 6, 0, false);\n        std::cout << \"terminals=\" << terminals << \" budget=6 requires-not=1 found=\" << found << \" states=\";\n        for (auto& count : states) {\n            std::cout << count << ' ';\n            count = 0;\n        }\n        std::cout << std::endl;\n    }\n}\n"
    },
    {
      "path": "research/DraftMP09MinimumAxioms.lean",
      "sha256": "66b0d7bf51dad42bd130e279a3c2ff7bfa1332fcd4236be962f2f3b1d6e6ba80",
      "content": "import Mathlib.Data.Fintype.Pi\nimport PEqualNP.Defs.MetaComplexity\n\nnamespace PEqualNP.Outside.L_mp09_upper\n\nset_option maxRecDepth 10000 in\ntheorem factorization : ∀ x : Fin 6 → Bool,\n    let c := x 2 && x 3\n    ((x 4 || x 5) && (x 0 || (x 1 && c)) && ((x 1 || c) || (x 4 && x 5))) =\n      Nat.testBit (3937069192 * 2 ^ 32 + 3901227008)\n        (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0) := by\n  decide +kernel\n\nset_option maxRecDepth 10000 in\ntheorem noPairCompression (enc : Bool → Bool → Bool)\n    (read : Bool → Bool → Bool → Bool → Bool → Bool) :\n    ¬ ∀ x : Fin 6 → Bool,\n      read (x 0) (x 1) (x 2) (x 3) (enc (x 4) (x 5)) =\n        Nat.testBit (3937069192 * 2 ^ 32 + 3901227008)\n          (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0) := by\n  intro h\n  have h00 := h ![true, true, false, false, false, false]\n  have h01 := h ![true, true, false, false, false, true]\n  have h11 := h ![true, true, false, false, true, true]\n  have h01' := h ![true, false, false, false, false, true]\n  have h11' := h ![true, false, false, false, true, true]\n  rw [← factorization] at h00 h01 h11 h01' h11'\n  change read true true false false (enc false false) = false at h00\n  change read true true false false (enc false true) = true at h01\n  change read true true false false (enc true true) = true at h11\n  change read true false false false (enc false true) = false at h01'\n  change read true false false false (enc true true) = true at h11'\n  have sep1 : enc false false ≠ enc false true := by\n    intro eq\n    rw [eq] at h00\n    exact Bool.false_ne_true (h00.symm.trans h01)\n  have sep2 : enc false false ≠ enc true true := by\n    intro eq\n    rw [eq] at h00\n    exact Bool.false_ne_true (h00.symm.trans h11)\n  have sep3 : enc false true ≠ enc true true := by\n    intro eq\n    rw [eq] at h01'\n    exact Bool.false_ne_true (h01'.symm.trans h11')\n  cases e00 : enc false false <;> cases e01 : enc false true <;>\n    cases e11 : enc true true <;> simp_all\n\nend PEqualNP.Outside.L_mp09_upper\n\nset_option maxRecDepth 10000 in\ntheorem PEqualNP.Outside.L_mp09_upper : ∃ C : PEqualNP.CircuitLowerBounds.Circuit, PEqualNP.MetaComplexity.FanInTwo C ∧ (∃ g ∈ C.gates, g.op = PEqualNP.CircuitLowerBounds.GateOp.not ∧ g.inputs.length = 1) ∧ C.size ≤ 10 ∧ ∀ x : Fin 6 → Bool, C.eval (List.ofFn x) = Nat.testBit (3937069192 * 2 ^ 32 + 3901227008) (∑ i : Fin 6, if x i then 2 ^ (i : ℕ) else 0) := by\n  refine ⟨⟨[\n    ⟨.and, [2, 3]⟩,\n    ⟨.or, [4, 5]⟩,\n    ⟨.and, [4, 5]⟩,\n    ⟨.or, [1, 6]⟩,\n    ⟨.and, [1, 6]⟩,\n    ⟨.or, [9, 8]⟩,\n    ⟨.or, [0, 10]⟩,\n    ⟨.and, [7, 11]⟩,\n    ⟨.and, [12, 13]⟩,\n    ⟨.not, [0]⟩\n  ], 14⟩, ?_, ?_, by decide, ?_⟩\n  · simp [PEqualNP.MetaComplexity.FanInTwo]\n  · exact ⟨⟨.not, [0]⟩, by simp, rfl, rfl⟩\n  · decide +kernel\n\n#print axioms PEqualNP.Outside.L_mp09_upper.factorization\n#print axioms PEqualNP.Outside.L_mp09_upper\n#print axioms PEqualNP.Outside.L_mp09_upper.noPairCompression\n"
    }
  ],
  "minimalImportCheck": {
    "exitCode": 0,
    "note": "The identical proof body elaborated with pinned Mathlib.Data.Fintype.Pi and PEqualNP.Defs.MetaComplexity.",
    "axiomAuditExitCode": 0,
    "axiomAudit": "'PEqualNP.Outside.L_mp09_upper.factorization' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_mp09_upper' depends on axioms: [propext, Classical.choice, Quot.sound]\n'PEqualNP.Outside.L_mp09_upper.noPairCompression' depends on axioms: [propext, Classical.choice, Quot.sound]"
  },
  "experiments": [
    {
      "range": "64 inputs, 192 upward edges, all 720 input permutations, and all 16 Boolean encodings of the last pair",
      "outcome": {
        "pairCofactorMasks": [
          0,
          59528,
          59528,
          60074
        ],
        "pairEncodingsRuledOut": 16,
        "primeImplicants": [
          [
            0,
            1,
            4
          ],
          [
            0,
            2,
            3,
            4
          ],
          [
            1,
            2,
            3,
            4
          ],
          [
            0,
            1,
            5
          ],
          [
            0,
            2,
            3,
            5
          ],
          [
            1,
            2,
            3,
            5
          ],
          [
            0,
            4,
            5
          ]
        ],
        "primeImplicates": [
          [
            4,
            5
          ],
          [
            1,
            3,
            5
          ],
          [
            1,
            2,
            5
          ],
          [
            1,
            3,
            4
          ],
          [
            1,
            2,
            4
          ],
          [
            0,
            3
          ],
          [
            0,
            2
          ],
          [
            0,
            1
          ]
        ],
        "symmetries": [
          [
            0,
            1,
            2,
            3,
            4,
            5
          ],
          [
            0,
            1,
            2,
            3,
            5,
            4
          ],
          [
            0,
            1,
            3,
            2,
            4,
            5
          ],
          [
            0,
            1,
            3,
            2,
            5,
            4
          ]
        ],
        "gates": [
          [
            "and",
            [
              2,
              3
            ]
          ],
          [
            "or",
            [
              4,
              5
            ]
          ],
          [
            "and",
            [
              4,
              5
            ]
          ],
          [
            "or",
            [
              1,
              6
            ]
          ],
          [
            "and",
            [
              1,
              6
            ]
          ],
          [
            "or",
            [
              9,
              8
            ]
          ],
          [
            "or",
            [
              0,
              10
            ]
          ],
          [
            "and",
            [
              7,
              11
            ]
          ],
          [
            "and",
            [
              12,
              13
            ]
          ],
          [
            "not",
            [
              0
            ]
          ]
        ],
        "outputWire": 14,
        "verifiedRows": 64
      }
    },
    {
      "range": "Prefix c=x2 AND x3, q=x4 OR x5, r=x4 AND x5. All six primary inputs and all three prefix outputs are retained. The nine-terminal tests cover four additional AND/OR gates and five additional gates with AND/OR/NOT allowed. The five-terminal test uses a,b,c,q,r. The seven-terminal test also retains d,e. The nine-terminal test additionally retains x2,x3. All three test six additional gates including a NOT.",
      "outcome": [
        "budget=4 not=0 found=0 states=1 55 3590 0 0 0 ",
        "budget=5 not=1 found=0 states=1 64 4837 426886 0 0 ",
        "terminals=5 budget=6 requires-not=1 found=0 states=1 23 658 23192 994012 0 ",
        "terminals=7 budget=6 requires-not=1 found=0 states=1 37 1676 91466 5934804 0 ",
        "terminals=9 budget=6 requires-not=1 found=0 states=1 64 4837 426886 43572176 0"
      ],
      "crossCheck": [
        "budget=4 not=0 found=0 states=1 55 3590 274698 0 0 ",
        "budget=5 not=1 found=0 states=1 64 4837 426886 43572176 0 ",
        "terminals=5 budget=6 requires-not=1 found=0 states=1 23 658 23192 994012 51144894 ",
        "terminals=7 budget=6 requires-not=1 found=0 states=1 37 1676 91466 5934804 452583014 ",
        "terminals=9 budget=6 requires-not=1 found=0 states=1 64 4837 426886 43572176 5100300115"
      ],
      "interpretation": "No witness within the fixed-prefix family. Each row is represented by one bit of a 64-bit word. The search skips duplicate wire functions and constant candidate wires. Equal functions can share a wire and constants can be propagated away for the nonconstant output. The states entries count visits by recursion depth with the final two gates tested by subset/superset matching at the deepest relevant level. For tests requiring a NOT, eliminating a duplicate or constant from a six-gate continuation would yield a five-gate continuation, already excluded by the nine-terminal test. The result is executable bounded evidence."
    },
    {
      "range": "Public main snapshot",
      "outcome": "At 33f667422a2deebb87e9826f0bc326286b03df5f, 59d71a306801bb65c9f0cdf51f1dcc45ef42e2ba, and 80429fff9902d201cb6588537370a8abd9ad19fc, the tree contained no path matching 16092, and Git grep found no L-meta-16092, L_meta_16092, or 3901227008."
    }
  ],
  "deadEnds": [
    "The nine-gate factorization has no NOT gate. Including a separate NOT makes the size ten.",
    "The fixed prefix gives no total-size-nine witness with a NOT, even with every primary wire accessible downstream. Circuits omitting one or more prefix gates remain open."
  ],
  "handed": [
    {
      "batch": "e2-px-capsule",
      "key": "after-p5",
      "sha256": "61f551d37e52b20f7b29c1b66087675de769373463191e9a3ca478d775ea6289"
    }
  ],
  "forNext": "Use the prime-term and prime-clause masks to guide decompositions in which the two signals from x4 and x5 are never simultaneously materialized, or in which x2 AND x3 is not a dedicated wire. The checked ten-gate witness is an upper bound only.",
  "verification": {
    "pin": "8dec1cacf8aab169f12858fff3a2e945fea7a880",
    "lean": "4.36.0",
    "mathlib": "fc4f59e577feb1a4956671bc04ac18aaaf8cd842",
    "guardExitCode": 0,
    "guardClosureExitCode": 0,
    "companionVerdict": [
      "CHECKER FAULT: the verifier could not run: spawnSync [scratch]/cached-pin/tools/bin/lake ETIMEDOUT"
    ],
    "companionStages": [
      "checker stage: started t=0s",
      "checker stage: build lock taken t=0s",
      "checker stage: building the verifier t=0s",
      "checker stage: building the file and the definitions root t=11s",
      "checker stage: verifier reading the built file t=28s"
    ],
    "helperAudit": {
      "exitCode": 124,
      "log": ""
    },
    "startupProbe": "Lean reported the pinned 4.36.0 version. Mathlib cache and all nine manifest revisions were present. Initial minimal elaboration probes timed out. A later #check Bool smoke test completed.",
    "smokeProbeExitCode": 0,
    "directLean": {
      "branchingProgramExitCode": 0,
      "definitionsExitCode": 1,
      "companionExitCode": null
    },
    "pinnedCacheBuildExitCode": 0,
    "cachedSourceAudit": "The bundle included an older definitions root. The scratch copy was restored from the pin. The direct retry uses pinned source for the root and missing module.",
    "checkerProbe": {
      "mode": "check",
      "outerExitCode": 124,
      "log": "checker stage: started t=0s\nchecker stage: build lock taken t=0s\nchecker stage: building the verifier t=0s\nCHECKER FAULT: the verifier did not build.\nTerminated"
    },
    "exactNegativeControl": {
      "mode": "check",
      "exitCode": null,
      "verdict": []
    }
  },
  "submissionStatus": "Local companion source embedded. No lease, renewal, release, account access, PR, or upstream submission.",
  "contributions": [
    {
      "agent": "MP09",
      "work": "Computed prime sets and input symmetries. Re-derived the factorization, established the two-input compression obstruction, and ran the new fixed-prefix searches. Built the ten-gate companion."
    }
  ]
}
