Quantum and CircuitsReading edition

Why sharing does not break the degree bound

Reading tools
Reading libraryFind statementsInspect Lean
Switch work

Saved reading

Read side by side

Verification statements describe the retained edition and its recorded evidence. This HTML presentation adds no Lean execution or proof review.

Start reading

Resources & source

Original TeX with line links · Download TeX

The wording and mathematics follow the retained manuscript. This reading format does not add a proof review or extend Lean coverage.

Skip contents and start reading

Why sharing does not break the degree bound

A STRONGER INVARIANT THAN SINGLE-REGISTER DEGREE For a current state \(s(x)\) after \(t\) Toffolis, the invariant is

\[ \forall L,\qquad {\operatorname{DegreeLE}}\!\left(t+|L|,\;x\mapsto\prod_{i\in L}s_i(x)\right). \]

\(L\) may be any finite list, including repeated registers. Initially each coordinate is a variable or a constant, so a product of \(r\) coordinates has degree at most \(r\).

Suppose the next gate toggles target \(u\) by the product of a control list of length \(q\). A product that omits \(u\) is unchanged. If \(u\) occurs, idempotence removes all its repetitions. With \(R\) the remaining list, the updated product is

\[ \left(s_u\prod_{i\in R}s_i\right) {\mathbin{\oplus}} \left(\prod_{j\in\mathrm{controls}}s_j\prod_{i\in R}s_i\right). \]

The two old-state products have certified degrees at most

\[ t+1+|R|\qquad\text{and}\qquad t+q+|R|. \]

Since \(|R|+1\le |L|\), the invariant's budget rises by at most \(\max\{q-1,0\}\): zero for NOT and CNOT, one for Toffoli.

Induction along the actual gate list gives

\[ {\operatorname{DegreeLE}}\!\left(T+r,\;x\mapsto\prod_{i\in L}\operatorname{run}(c)(s(x))_i\right), \qquad r=|L|. \]

With \(r=1\), every register has degree at most \(T+1\).

Why this handles a DAG rather than just a formula

The proof never unfolds a reused intermediate value into duplicated computation. It estimates arbitrary products of the current registers in one shared state. The budget increases once per actual Toffoli, including when its controls share earlier work or its target participates in feedback.

The statements are workspaceDegree_run and canonical_run_coordinate_degree. This formalizes the maintained NCT specialization of F3. A separate generic XOR–AND circuit syntax and simulation theorem are not added here.

Source and conversion record

Source SHA-256: 36eb83548efd74b42264ab400e359c2de20c701b436b132b8b2859312d2dcdba

Unsupported prose commands stop the build. The mathematical expression sequence is checked against the source, with manuscript macros expanded for display.

Conversion records

Notation in Quantum and Circuits

Look up a symbol without leaving this chapter. Select text before opening help to search for it.

Search this work’s notation.

    Symbols can have different meanings in different passages. Read each result in its own context.

    Open the full notation index