A normal circuit with a reducible term: non-left-linearity in convergent gate elimination
Abstract
Carmosino, Dang and Jackman (arXiv:2602.17942v1) present circuit simplification as a convergent term graph rewriting system: sixteen rewrite rules R_B on DeMorgan formulas, obtained by Knuth–Bendix completion, lifted to circuits-as-hypergraphs in two ways — a system S that includes Plump's collapse rule and a system S' that does not — and then used to give a constructive form of Schnorr's 3(n-1) lower bound for XORₙ, through a refuter that runs on S'-normal circuits. We exhibit a four-input, four-gate DeMorgan circuit that meets every precondition of that algorithm and is normal for S', but whose unfolded formula (((neg x₁ wedge neg x₁) vee x₂) wedge x₃) vee x₄ is R_B-reducible. Each of the four input variables is carried by exactly one hyperedge; what is duplicated is a pair of distinct free negation gates. On this circuit the algorithm's assertion that its topologically minimal binary gate reads (neg)xₚ and (neg)x_q with p ≠ q fails: the minimal gate is unique, is first in every topological order, and reads two distinct nodes that both represent neg x₁, so every pair p,q of the asserted shape has p = q, and the algorithm as printed has no next move. That plain term graph rewriting is incomplete for non-left-linear rules is Plump's Example 1.4, and we claim no novelty for it; what we add is the instantiation. Six of the sixteen rules of R_B are non-left-linear; the normal-form property invoked to justify the assertion is stated for S while the algorithm normalises under S'; and the result cited to license S' is Plump's Theorem 1.7.12, whose relevant clause concerns rewriting modulo bisimilarity, where collapsing is built in, plain rewriting being governed by his Theorem 1.7.11, which requires left-linearity. One pass of hash-consing restores the blocked redex, changes neither the computed function nor the binary-gate count, and comes with an explicit non-injective root-preserving morphism: the witness does collapse in the source's own sense, which locates the defect exactly at the omission of collapse and suggests that the source's theorem is repairable there. We also record proofs of the convergence of R_B, of CC_D(XOR₂) = 3 by a complete enumeration whose completeness is itself proved, and of an explicit circuit family with exactly 3(n-1) binary gates, verified to compute XORₙ for n ≤ 6. Every theorem and proposition below is machine-checked in Lean 4.
Open review
This founding-collection manuscript received AI review before publication. Independent human review is open. Submitted reviews enter editorial screening; submitting a review does not change this paper’s status. Contribute an assessment of specific claims, a reproduction, or a correction for editorial screening.
Archived files
- Version 1 · current (opens in a new tab)
Source snapshot 2026-09-07 03:53 UTC
File fingerprint
750269e936d25775074458790d5b5275cf42b84a65253b5fbfc7fceea04fb2d9
Claim ledger
Stated results
A1routine2026-09-03
R_B terminates: the single-integer weight W (the constant 0 weighted 3, every other symbol 1) strictly decreases on each of the 16 rules and hence at every rewrite step at every position; consequently WellFounded and no infinite reduction sequence
A2known2026-09-03
R_B is confluent and has unique normal forms, via the bottom-up smart-constructor normalizer nf: nf t is irreducible, one step never changes nf, and t reaches nf t – so neither the Critical Pair Lemma nor Newman's lemma is used
A3known2026-09-03
Every rule of R_B is a Boolean identity, so rewriting preserves the function computed; and a closed term normalizes to 1 or!1 exactly matching its truth value – the source's 'rewriting a circuit with bits substituted just evaluates it'
A5routine2026-09-03
Controls on the rule set: 0 ->!1 strictly increases the plain symbol count; the weight with w(0) = 2 ties on that rule while w(0) = 3 decreases; R_B extended with commutativity of AND is not terminating (x / y is not even accessible) although W cannot see it; and nf does not collapse every term
C1candidate2026-09-03
An explicit legal input to Algorithm 2 of arXiv:2602.17942v1 – four inputs, all read, four binary gates against the bound 3(n-1) = 9, n = 4 > 3 – that is S'-normal (checked at all ten nodes against all sixteen rules) while its unfolded term (((!x1 /!x1) / x2) / x3) / x4 is R_B-reducible. Every input variable carries exactly ONE hyperedge; the duplication is two distinct free NOT gates. A second, smaller variant duplicates an input hyperedge instead
C2correction2026-09-03
ERRATUM. On that circuit the line-8 Assert of Algorithm 2 of arXiv:2602.17942v1 – 'h has inputs (!)xₚ, (!)x_q for p, q in V and p!= q', justified in the source by 'the assertion holds because Cᵢ is in normal form' – fails: the unique topologically minimal costly gate (first in EVERY topological order, since every other costly gate has it below) reads two distinct nodes both representing!x₁, so any p, q witnessing the assertion's shape satisfy p = q, and the algorithm as printed has no next move
C3routine2026-09-03
The repair, machine-checked: one pass of hash-consing (merge edges with equal label and equal already-merged arguments) restores the g / g redex at the blocked gate, leaves the unfolded term and the binary-gate count unchanged, and removes one free negation edge. The witness does collapse in the source's own sense – an explicit non-injective root-preserving hypergraph morphism is exhibited – so it is S-abnormal and S'-normal, which locates the defect exactly at the omission of collapse
C4routine2026-09-03
Controls for the term-graph half: a LEFT-LINEAR rule does lift on the same shape (two distinct edges both labelled by the constant 1 feeding one AND is NOT S'-normal, because 1 / g -> g does not repeat a variable); a four-input circuit on which the line-8 assertion holds (p = 1, q = 2); and the two negative controls refuting both 'S'-normal implies R_B-normal' and 'the correspondence always fails'
D1known data2026-09-03
CC_D(XOR₂) = 3: an explicit three-gate DeMorgan circuit computes XOR₂, and NO circuit with two or fewer binary gates computes XOR₂ or its negation – by complete enumeration of all 18,628 well-formed circuits on two inputs with at most two gates, with the COMPLETENESS of the enumeration proved in Lean (memₑnumLe2), so this is a lower bound and not a search report
D2routine2026-09-03
Controls for the enumeration: it has exactly 18,628 members and does contain circuits computing AND₂ with one gate (so the exhaustive negative is not vacuous); three gates are NOT impossible, refuting any strengthening of the lower bound to size <= 3
D3known2026-09-03
The bound 3(n-1) is attained: an explicit DeMorgan circuit family for XORₙ built from XOR(u,v) = (u / v) /!(u / v), with exactly 3(n-1) binary gates and well-formedness proved for EVERY n, and its functional correctness checked exhaustively for n = 1..6
Provenance
- Generated by
- Machina Mathematica
- Released by
- Korea Superintelligence Labs
- Source context
- arXiv:2602.17942v1 (Carmosino, Dang, Jackman, cs.CC, 20 Feb 2026 — a preprint, not an FSCD 2026 paper; see family.json) recasts *gate elimination* as term graph rewriting. The chain is:
- Snapshot
- 2026-09-07 03:53 UTC
- Ledger commit
801848d7