{
 "status": "missing_lemma",
 "notes": "NOT PROVED. Reduced in Lean to one missing lemma; the rest elaborates here (axioms propext, Classical.choice, Quot.sound; no sorry).\n\nWrite n = Np+Nl, wv z w = (C.wires (List.ofFn z)).getD w false, F z = ∃ p l, I p l ∧ z (castAdd p) ∧ z (natAdd l); w is below F when ∀ z, wv z w → F z.\n\nMISSING LEMMA (NJ): binders and hypotheses of the step through the ∃ T clause, then\n∀ i < C.gates.length, (gateAt C i).op = GateOp.and → ∀ z : Fin (Np + Nl) → Bool, (C.wires (List.ofFn z)).getD (Np + Nl + i) false = true → ∃ p : Fin Np, ∃ l : Fin Nl, I p l ∧ z (Fin.castAdd Nl p) = true ∧ z (Fin.natAdd Np l) = true\n(every AND gate is below F).\n\nCHECKED: theorem (hNJ : NJ) : <step statement verbatim> elaborates. Parts:\n(1) For ANY least AO2 circuit of F (no 4-cycle hypothesis, no T): no AND gate h reads a wire y below F. Bypass: D.gates = (C.gates.eraseIdx h).map (inputs renamed by rho), rho w = w if w < n+h, y if w = n+h, w-1 above; D.output = rho C.output. Strong induction on w: wv_C z w → wv_D z (rho w), and wv_D z (rho w) → wv_C z w ∨ F z. So D is AO2, computes F, one gate less.\n(2) Dual, also checked: no OR gate of a least circuit reads a wire y with F z → wv z y (same D; invariants wv_D → wv_C and wv_C → wv_D ∨ ¬F z).\n(3) Every gate of T is below F (induction on length - i along the unique reader k; k > i by ReadsBack; base: the output computes F). So an OR gate with an input below F is in T and below F.\n(4) Assembly of (1), (3), NJ: a gate not below F is an OR gate with inputs not below F. For such a wire w and e_v the input with a single one at v: wv e_v w → z v → wv z w, and some v has wv e_v w. P = wires < n+len not below F whose every such v is a point; L likewise with lines. For an AND gate [a,b]: a, b are not below F by (1); if wv e_u a and wv e_v b, the input with ones at u, v makes the gate true, so by NJ u, v are on opposite sides; nonemptiness gives a ∈ P, b ∈ L or a ∈ L, b ∈ P.\nThe no-4-cycle hypothesis is used nowhere in (1)-(4), leastness only in (1), (2): all that content sits in NJ.\n\nSTRUCTURE for a least top-stuck C: lower part = wires not below F (inputs, ORs, ANDs not below F); tops = AND gates below F, each reading two lower wires; T = OR tree over the tops; a wire below F is read only by T. NJ says the lower part has no AND gate. Informally the step implies NJ once dead gates are removed, so NJ is the step's real content.\n\nNOT A LOCAL MOVE: the desk's example ((p1∨p2)∧(l1∨l2))∧(p2∨l1) for the path on four vertices is top-stuck with T = ∅, satisfies (1), (2), has an AND gate not below F and is one gate above least. NJ needs a count, not a bypass.\n\nBRUTE FORCE (mine, exhaustive): path on 4 vertices (least 4), path on 5 (least 5), path on 4 with a pendant at an inner vertex (least 5), star K1,3, two disjoint edges, one edge. At least size: (1), (2) never fail; every top-stuck circuit is two-level, satisfies NJ and has no wire read by two tops. At least+1 for the 4-path, top-stuck circuits that are not two-level exist (466).\n\nPROPOSED CUT OF NJ (not proved):\n(a) Merge: no wire is read by two tops: a∧b1, a∧b2 become a∧(b1∨b2) and one OR gate of T goes, one gate less.\n(b) One block: if the output gate is an AND then T = ∅; show both its inputs are pure ORs (I is a star).\n(c) Lowest AND gate j = c∧d not below F: c = OR(A), d = OR(B) pure, A ⊄ B, B ⊄ A, so j = OR(A∩B) ∨ (OR(A\\B) ∧ OR(B\\A)). Show a top-stuck circuit for F containing such j has size ≥ incid.card + cover.card for a vertex cover, and finish with L_meta_3493 (a two-level circuit of size ≤ incid.card + cover.card - 1 exists). Equivalently: improve by one, for such circuits, the bound E.card + M.card ≤ C.size + 1 that R_meta_4990_1 takes as hypothesis charge. Sharing of a lower wire between tops enters only here; after (a) it lies strictly below the tops.\n\nWire lemmas wires_getD_input, wires_getD_gate reused from L_meta_6921. Lean file (720 lines) not attached: lean is carried only when proved."
}
