{
 "status": "missing_lemma",
 "notes": "NOT PROVED. Direct angle: I unfolded the statement (Circuit.wires as a fold, Monotone2, ReadsBack, gateAt, circuitFun) and looked for a way to build D from C. I found none, and I do not think one exists short of the open question: the step says junk in AND gates (true at one input, or at a point plus a non-incident line) can always be removed without adding a gate, which the desk's own context calls open. I found no loophole in the formal statement: an OR-only D cannot compute the function once I is nonempty; an AND with no operand is true everywhere, so it breaks the last clause; a gate with one operand or a repeated operand only copies a wire; an output index past the wires gives constant false, which settles only empty I. L_meta_3447 in the prebuilt project already turns the two cleanliness clauses into |I| <= 5*C.size + 1, so this step is exactly the missing lemma that cleaning is free.\n\nWhat I did establish.\n\n(1) A Lean-checked cut. Lean 4.36.0 with the prebuilt project elaborated it with no error, no warning and no sorry; it is scratch, not submitted. Write Computes N I D for: Monotone2 D, ReadsBack (N+N) D, and the statement's iff for D. Write Clean N I D for the statement's last two clauses for D. Then\n  M: for all N I D, (no 4-cycle) -> Computes N I D -> (for all D', Computes N I D' -> D.size <= D'.size) -> Clean N I D\nimplies the step as posted. Proof: have hex : exists k, exists D, Computes N I D and D.size = k, from C; obtain D by Nat.find_spec hex; Nat.find_min' hex against C gives D.size <= C.size, and against any D' gives leastness; M then gives the two clauses. So it is enough to prove cleanliness for LEAST circuits.\n\n(2) Exhaustive computation (my own C program, scratch). N=2: all 14 nonempty 4-cycle-free I, every circuit of at most 5 gates with operands a <= b. N=3: all 333 nonempty 4-cycle-free I (labelled relations, not classes up to symmetry), sizes 1 to 8. For each I, I enumerated every circuit of least size computing its function and tested both clauses on every AND gate. Least sizes for N=3 by number of incidences: 1 -> 1; 2 -> 2 or 3; 3 -> 3, 4 or 5; 4 -> 5 or 6; 5 -> 6 or 7; 6 (the six 6-cycles) -> 8. Result: 0 unclean least circuits in all 347 cases. Every AND gate of every least circuit is false at all single inputs and at every point plus non-incident line. This is more than the desk's every least circuit on file: it is all least circuits, so M holds for N <= 3. Conventions of the N=3 search: gates with two distinct operands, no wire repeating an earlier wire's function, no constant wire, every gate but the last read later, output = last gate, adjacent independent gates in one fixed order. Each is without loss for a least circuit up to reordering gates; I argued that by hand and did not formalize it. The test does fire: the same search counts many unclean circuits at sizes 6, 7 and 8 for functions whose least size is smaller.\n\nProposed cut into smaller statements, all about a least circuit D of the function of a 4-cycle-free I:\n  M1: no AND gate of D is true at a single input.\n  M2: if no AND gate of D is true at a single input, then no AND gate of D is true at a point plus a non-incident line.\n  Step = least circuit exists with size <= C.size (proved in Lean, above) + M1 + M2.\nThe gain over the desk's two-part split: the hoisting move no longer has to keep the size on an arbitrary circuit. On a least circuit it is enough that an unclean AND gate yields a strictly smaller circuit for the same function, a contradiction; and a least circuit has every gate read, no two wires with the same function and no constant wire. I do not know the desk's 10-gate counterexample to one clause of hoisting; if that circuit is not least, it does not bear on M1.\n\nNot done: no proof of M1 or M2 for general N, and no counterexample. Status missing_lemma: the missing lemma is M (M1 and M2 together). No outside source used: all of this comes from the desk's step file, the prebuilt project, and my own Lean and C runs."
}