Documentation

Complexitylib.Circuits.DecisionTree.Path.Internal

Canonical deepest paths in finite decision trees -- proof internals #

theorem Complexity.DecisionTree.On.mem_vars_of_mem_deepPath_internal {N : } (tree : On N) (query : Fin N × Bool) (hquery : query tree.deepPath) :
query.1 tree.vars
noncomputable def Complexity.DecisionTree.On.deepPrefixEmbeddingInternal {N : } (tree : On N) (queryCount : ) (hdepth : queryCount tree.depth) (readOnce : tree.PathReadOnce) :
Fin queryCount Fin N

The first queryCount query indices on a deep path, packaged as an embedding when the whole tree is path-read-once.

Equations
Instances For
    noncomputable def Complexity.DecisionTree.On.deepPrefixValuesInternal {N : } (tree : On N) (queryCount : ) (hdepth : queryCount tree.depth) :
    Fin queryCountBool

    Branch bit at each of the first queryCount positions of the chosen deep path.

    Equations
    Instances For
      theorem Complexity.DecisionTree.On.deepPrefixEmbedding_mem_vars_internal {N : } (tree : On N) (queryCount : ) (hdepth : queryCount tree.depth) (readOnce : tree.PathReadOnce) (position : Fin queryCount) :
      (tree.deepPrefixEmbeddingInternal queryCount hdepth readOnce) position tree.vars