Documentation

Complexitylib.Algebraic.LowerBound.Fusion.SumOfTerms.Waring.Translation.Binary

Binary-power compilation of Waring terms #

This contextual translation retains the shared linear-form computation from Waring.Translation.sharedTranslation, but replaces its linear-length power chain by the reusable binary-power DAG. Each source term therefore costs

2n + binaryMultiplicationCount (2n) + 1

multiplications: 2n coefficient products, a logarithmic power circuit, and one final scaling product.

One Waring-term gadget with a shared linear form and binary powering.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    @[simp]

    The gate count of termCircuit is the tree gate count of the linear form, plus the gate count of the binary power circuit, plus the tree gate count of the final scaling. Composing the stages adds no gates. Unlike the multiplication and addition charges below, the count includes the named-constant gates.

    Binary term compilation preserves the charged power polynomial exactly.

    Contextual Waring translation using binary powering inside each term.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Pulling multiplication cost through the binary translation charges only source terms, at their exact gadget cost.

      Pulling addition cost preserves source additions and charges the internal linear-form additions of every term.

      The binary term cost is linear in the number of variables plus a logarithmic powering overhead.

      Pulling polynomial semantics through binary compilation recovers the Waring sum-of-terms interpretation.

      Contextual binary compilation preserves every Waring circuit's polynomial outputs.