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
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Uniqueness of the elements the guards pin down #
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
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
Dependency graph
Dependency graph
The element carrying the bit of a tuple: the shared succ element if the
symbol holds of it, the shared zero element if it does not.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The element standing at position k of the level-l chain of the block
of the symbol i, above the prefix u.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The element whose value is that of DescriptiveComplexity.levelVal: the
bit at the bottom, the head of the next chain above it.
Equations
- DescriptiveComplexity.levelPt V cP A i 0 x✝ = DescriptiveComplexity.bitPt V cP A i x✝
- DescriptiveComplexity.levelPt V cP A i m.succ x✝ = DescriptiveComplexity.chainPt V cP A i ⟨DescriptiveComplexity.dimOf V - (m + 1), ⋯⟩ x✝ 0
Instances For
Dependency graph
The element standing at position k of the numeral chain.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The element standing at the symbol k of the chain of blocks.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The two shared leaves #
Dependency graph
Dependency graph
The chains of the blocks #
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Every level of a block is drawn: the chain that walks the coordinate
dimOf V - m draws the nest of the values below it. The induction is on the
level, and inside it on the position along the chain, downwards from its
tail.
Dependency graph
The head of the chains of a block draws the block.
Dependency graph
The chain of the blocks of the symbols #
Dependency graph
The numeral chain #
Dependency graph
The whole instance #
The element of the pair draws the numeral of the universe size beside
the nest of the tables.
Dependency graph
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 first child of an element is unique.
Dependency graph
The second child of an element is unique.
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.