Documentation

Complexitylib.Circuits.DecisionTree.Finite.Internal

Finite-arity decision trees -- proof internals #

theorem Complexity.DecisionTree.On.eval_neg_internal {N : } (input : BitString N) (tree : On N) :
eval input tree.neg = !eval input tree
theorem Complexity.DecisionTree.On.eval_restrict_internal {N : } (restriction : Restriction.On N) (input : BitString N) (tree : On N) :
eval input (restrict restriction tree) = eval (restriction.applyTo input) tree
theorem Complexity.DecisionTree.On.depth_restrict_le_internal {N : } (restriction : Restriction.On N) (tree : On N) :
(restrict restriction tree).depth tree.depth
theorem Complexity.DecisionTree.On.vars_restrict_subset_filter_internal {N : } (restriction : Restriction.On N) (tree : On N) :
(restrict restriction tree).vars {indextree.vars | restriction index = none}
theorem Complexity.DecisionTree.On.restrict_comp_internal {N : } (first second : Restriction.On N) (tree : On N) :
restrict second (restrict first tree) = restrict (first.comp second) tree