Documentation

Complexitylib.Circuits.Encoding.FixedWidth.Evaluation.Output.Defs

Fixed-width evaluator output selection -- definitions #

The complete bounded evaluator emits one value for every gate slot. The active gate count is therefore used as a one-based lookup index: zero selects a dummy false source, while count k + 1 selects the output of slot k.

Number of wires available after evaluating every bounded gate slot.

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

    One-based output table: zero is a dummy value and k + 1 names slot k.

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

      Formula selecting the last active gate from the complete bounded sequence.

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

        Exact tree size of the output-selector formula.

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

          Compile the output selector after the complete bounded gate sequence.

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

            Absolute wire carrying the compiled selector result.

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

              Complete fixed-width evaluator: every bounded gate slot followed by active output selection.

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

                Total Boolean assignment read from an evaluated memo array.

                Equations
                Instances For
                  def Complexity.CircuitCode.FixedWidth.Description.EvaluationOutput.lastActiveSlot {inputWidth gateBound : } (description : Description inputWidth gateBound) (hpositive : description.Positive) :
                  Fin gateBound

                  Slot immediately preceding a positive active-gate count.

                  Equations
                  Instances For
                    structure Complexity.CircuitCode.FixedWidth.Description.EvaluationOutput.Result {inputWidth gateBound : } (description : Description inputWidth gateBound) (input : BitString inputWidth) :

                    Successful complete evaluation of a valid fixed-width description on one sample input.

                    Instances For