{
 "status": "missing_lemma",
 "notes": "NOT PROVED: the core lemma is missing; I found neither a proof nor a counterexample. The statement is equivalent to: every C4-free incidence function has a minimum-size monotone circuit whose AND gates are false at all single inputs. What follows is a cut. Its assembly was elaborated here with the prebuilt Lean 4.36.0 toolchain and project (no error, no sorry; axioms propext, Classical.choice, Quot.sound).\n\nNames. Good N I D := Monotone2 D, ReadsBack (N+N) D, and D computes the function of the statement. bad(D,j) := j < D.gates.length, (gateAt D j).op = and, and for some k : Fin (N+N) wire N+N+j of D is true at the input fun kc => decide (kc = k). CleanTo N D t := no bad j < t. Clean N D := the last conjunct of the statement.\n\nChecked in Lean here:\n(1) raise. Suppose that for every Good D and every j with bad(D,j) and CleanTo N D j there is a Good D' with D'.size < D.size, or D'.size = D.size and CleanTo N D' (j+1). Then every Good C has a Good, Clean D with D.size <= C.size. Proof: strong induction on the size, inside it induction on d with invariant CleanTo N C (size - d). I composed this with the statement exactly as posted, so RAISE-STEP (the hypothesis of (1), under the C4-free hypothesis) is the one missing lemma. It follows from the statement too, so nothing is lost. It needs no potential: gates above j may become bad freely; only gate j and the gate count matter.\n(2) descent. Same conclusion from a step lowering (D.size, mu D) lexicographically, for any mu : Circuit -> Nat.\n(3) first_bad. If D is not Clean there is a least bad j (Nat.find), hence CleanTo N D j.\n(4) circuitMono, sandwich. A Monotone2 circuit is monotone in its input (induction on the gate list under the foldl of Circuit.wires). Hence: if C computes the function, D is Monotone2, circuitFun D z = true implies circuitFun C z = true for all z, and D accepts every edge input fun k => decide (k = castAdd N p or k = natAdd N l) with I p l, then D computes the function. A move that only shrinks wires is checked on the edge inputs alone.\n\nProposed cut of RAISE-STEP by the shape of the first bad gate j (paper only, NOT checked in Lean):\n(a) Below j every wire is false at the all-false input. Every wire gate j reads is true at the single input e_k, so it is input wire k or an OR gate (earlier ANDs are clean; ReadsBack).\n(b) inputs [a] or [a,a]: change the op to OR. No wire changes at any input, same size, CleanTo (j+1).\n(c) inputs []: the gate is constant true. Remove wire N+N+j from every AND gate reading it, turn every OR gate reading it into AND [] (same value), then make gate j OR []. No other wire changes; the output is not wire N+N+j since the function is false at the all-false input; same size; CleanTo (j+1). This works only because (1) ignores bad gates above j.\n(d) inputs [a,b], a != b: OPEN, the whole difficulty. Let S = {k : a and b true at e_k}, nonempty. Single-input values of later gates depend only on single-input values of earlier wires, so replacing gate j by an OR gate with the same set S keeps single-input behaviour above j. For S = {k} take OR [k]: wires only shrink, and at an edge input containing k nothing changes, so by (4) the move is correct exactly when\n(d1) for every edge (p,l) avoiding k, the circuit with wire N+N+j forced false still accepts e_p + e_l.\nLeft over: (d2) S = {k} and some edge avoiding k is accepted only through gate j; (d3) S has two or more elements and no OR of two earlier wires has single-input set exactly S. Both need an exchange argument that adds no gate; I have none, and the desk's 10-gate circuit shows the obvious hoist fails. A usable fact: with F1 the output when gate j is forced true, (x_k and F1) implies the function, so every single input accepted by F1 is a neighbour of k; by C4-freeness two elements of S on one side leave F1 at most one such input, two on opposite sides none.\n\nNot done: no machine search for a counterexample (out of reach in the time)."
}
