Tree Evaluation instances of all sizes #
Cslib.TreeEval.Instance collects the instances of all value lengths and heights, and
Cslib.TreeEval.encInstance encodes them injectively by Cslib.TreeEval.Tree.encode: the header
determines the value length and the height, and the body determines the tree, as the table of a
gate determines the gate.
Main definitions #
Cslib.TreeEval.Instance: an instance of some value length and height.Cslib.TreeEval.encInstance: the encoding of instances.
Main results #
Cslib.TreeEval.ell_lt_length_encNat_length_encInstance: for1 ≤ I.height, the value lengthI.ellis strictly below the binary length of(encInstance I).length.Cslib.TreeEval.height_lt_length_encNat_length_encInstance: for1 ≤ I.ell, the heightI.heightis strictly below the binary length of(encInstance I).length.
Every encoded instance has at least the two delimiter zeroes of the header.