Documentation

Complexitylib.Circuits.DecisionTree.Block.Defs

Complete query blocks in finite decision trees -- definitions #

queryAll queries continuation builds the complete decision tree that queries every coordinate in queries, in order, and then invokes continuation with the resulting finite restriction. This is the block operation used by the canonical switching tree.

The restriction induced by reading queries from a total input. Earlier list entries take precedence, although duplicate queries receive the same value and therefore do not change the result.

Equations
Instances For

    The finite restriction recorded by a query/value path. Earlier path entries take precedence if a malformed path repeats a query.

    Equations
    Instances For
      def Complexity.DecisionTree.On.queryAll {N : } (queries : List (Fin N)) (continuation : Restriction.On NOn N) :
      On N

      Query every coordinate in a list before entering a continuation.

      The continuation receives exactly the partial assignment collected along the query block.

      Equations
      Instances For

        The partial assignment selected by the canonical deepest path through a complete query block.

        Equations
        Instances For
          def Complexity.DecisionTree.On.deepBlockPath {N : } (queries : List (Fin N)) :
          (Restriction.On NOn N)List (Fin N × Bool)

          The query/value prefix selected by the canonical deepest path through a complete query block.

          Equations
          Instances For