Documentation

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

Binary compilation of degree-parametric Waring sums #

Compile a degree-d rectangular Waring term to an ordinary arithmetic DAG: compute its d-variable linear form once, power it by binary recursion, and apply its scale. The exact multiplication charge per term is

d + binaryMultiplicationCount d + 1.

Arithmetic expression for a rectangular Waring linear form.

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

    Source addition after the shared degree context variables.

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

      Shared-linear-form, binary-power term gadget.

      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.

        The linear-form expression denotes the rectangular Waring linear form.

        The rectangular binary term gadget computes its charged degree-d power exactly.

        Contextual compilation of degree-d Waring sums using binary powers.

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

          Per-term multiplication cost is degree plus logarithmic powering overhead.