Documentation

Complexitylib.Circuits.BarringtonTyped.Defs

Fixed-arity nonuniform Barrington families -- definitions #

The earlier Barrington family layer evaluates syntax on total assignments ℕ → Bool. This file defines the fixed-arity objects needed for an actual class of typed Boolean-function families:

Both objects denote BoolFunFamily, so the eventual equivalence has the correct fixed-arity semantic domain.

A nonuniform family of formulas with an explicit arity bound on every member.

  • formula : BoolFormula

    The formula selected at each input length.

  • variables_lt (n index : ) : index (self.formula n).varsindex < n

    Every variable mentioned by the length-n formula is below n.

Instances For

    The typed Boolean-function family denoted by a fixed-arity formula family. Out-of-range variables are canonically set to false, though variables_lt ensures they are not read.

    Equations
    Instances For

      The formula depth at each input length.

      Equations
      Instances For

        A fixed-arity formula family has logarithmic depth.

        Equations
        Instances For

          A fixed-arity formula family computes a typed Boolean-function family.

          Equations
          Instances For

            A nonuniform width-w branching-program family with explicit positive input arities and a separate zero-input answer.

            • emptyOutput : Bool

              The answer on the unique zero-bit input.

            • positiveProgram : BP w

              The program at input length n + 1.

            • positiveQuery : Fin w

              The point whose movement decides acceptance at input length n + 1.

            • variables_lt (n : ) (instruction : BPInstr w) : instruction self.positiveProgram ninstruction.var < n + 1

              The length-n + 1 program queries only variables below n + 1.

            Instances For

              The program length at each typed input length. The separately stored zero-input answer has length zero.

              Equations
              Instances For

                The typed Boolean-function family decided by movement of the designated query point.

                Equations
                Instances For

                  A fixed-arity branching-program family has polynomial length.

                  Equations
                  Instances For

                    A fixed-arity branching-program family decides a typed Boolean-function family.

                    Equations
                    Instances For

                      Typed Boolean-function families computed by variable-bounded, logarithmic-depth formula families.

                      Equations
                      Instances For

                        Typed Boolean-function families decided by variable-bounded, polynomial-length width-5 permutation branching-program families.

                        Equations
                        Instances For