The drawn instance draws the intended code #
The correctness of the drawing: the instance built by
DescriptiveComplexity.codeProgInterp is well formed
(DescriptiveComplexity.codeWF_codeProg) and its root draws
comp cP (pair (numeral card) (nest of the tables))
(DescriptiveComplexity.decodesTo_rootPt).
Everything is a walk of the input order, taken with the increasing enumeration
DescriptiveComplexity.ordEnum of the universe: the numeral chain and each
level of each table block are proved by the same downward induction, from the
tail of the chain – the shared zero element – back to its head.
The subtree of the fixed code cP is the one place the induction is on a code
rather than on the order: DescriptiveComplexity.decodesTo_subPos says that a
drawing whose marks and children follow DescriptiveComplexity.subAt,
DescriptiveComplexity.sub1 and DescriptiveComplexity.sub2 draws every
subterm at its position, by structural induction on the code.
Drawing a fixed code #
A drawing of the syntax tree of a code: every position carries the mark of its subterm's constructor, and the child relations follow the positions of the children.
Every position carries the mark of its subterm's constructor.
The first-child relation follows the first child of a position.
The second-child relation follows the second child of a position.
Instances For
Dependency graph
A drawing restricts to a drawing of a subterm, along an embedding of positions that respects subterms and children.
Dependency graph
A drawing of a code draws every subterm at its position. The
hypotheses are exactly what the defining formulas of the interpretation give
for the tags of cP; the induction is on the code.
Dependency graph
The increasing enumeration of a finite linear order #
The increasing enumeration of a finite linear order. Every chain of the drawing walks the order along it.
Equations
Instances For
Dependency graph
Uniqueness of the elements the guards pin down #
The elements of the drawing #
The least element of the input order.
Equations
Instances For
Dependency graph
The canonically padded tuple every unindexed element of the drawing carries.
Equations
Instances For
Dependency graph
Dependency graph
The two shared leaves #
The chains of the blocks #
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
The chain of the blocks of the symbols #
The numeral chain #
The whole instance #
The root of the drawn instance draws the intended program: the fixed
procedure cP, composed with the pair of the numeral of the universe size and
the nest of the tables.
Dependency graph
The drawing is well formed #
Dependency graph
Dependency graph
Dependency graph
Dependency graph
The drawn instance is well formed: at most one constructor mark per element and functional child relations, which is what makes what an element draws unique.