The interpretation: drawing the domino system first-order #
The first-order half of HALT ≤ᶠᵒ[≤] PCP: the defining formulas of an
interpretation of Language.pcp in ordered machine instances, each realizing
exactly the corresponding semantic predicate of
DescriptiveComplexity.Problems.Pcp.Hardness.Draw – which is all the
correctness proof of DescriptiveComplexity.Problems.Pcp.Hardness.Match
consumes, through DescriptiveComplexity.HaltPcp.Reads.
Method #
As in the QSAT machine interpretation, every static decision is taken in Lean
rather than in the formula: the tags of the arguments are pattern-matched, and
⊤/⊥ close the cases the tables decide. The one genuinely recursive piece
is DescriptiveComplexity.HaltPcp.specListF, which turns a word table of
DescriptiveComplexity.HaltPcp.LSpec entries into a disjunction of “argument
1 is the i-th shared position and argument 2 is the specified letter”
clauses – realized, by one induction over the table, as membership of the
zipped table, which is verbatim the semantic letter relation
DescriptiveComplexity.HaltPcp.PUAt.
The vocabulary the reduction reads: machine instances with the ambient order.
Equations
Instances For
Dependency graph
The symbols of the ordered expansion #
The position symbol.
Instances For
Dependency graph
The transition symbol.
Instances For
Dependency graph
The start-state symbol.
Instances For
Dependency graph
The accepting-state symbol.
Instances For
Dependency graph
The blank symbol.
Instances For
Dependency graph
The move-right symbol.
Instances For
Dependency graph
The machine's order symbol.
Instances For
Dependency graph
The transition-source symbol.
Instances For
Dependency graph
The transition-read symbol.
Instances For
Dependency graph
The transition-destination symbol.
Instances For
Dependency graph
The transition-write symbol.
Instances For
Dependency graph
The input symbol.
Instances For
Dependency graph
The ambient order symbol.
Instances For
Dependency graph
The builders #
x is a position.
Equations
Instances For
Dependency graph
x is a transition.
Equations
Instances For
Dependency graph
x is a start state.
Equations
Instances For
Dependency graph
x is an accepting state.
Equations
Instances For
Dependency graph
x is the blank symbol.
Equations
Instances For
Dependency graph
x moves the head right.
Equations
Instances For
Dependency graph
x ≤ y in the machine's order.
Equations
Instances For
Dependency graph
x applies in the state y.
Equations
Instances For
Dependency graph
x reads the symbol y.
Equations
Instances For
Dependency graph
x moves to the state y.
Equations
Instances For
Dependency graph
x writes the symbol y.
Equations
Instances For
Dependency graph
The cell x initially holds the symbol y.
Equations
Instances For
Dependency graph
x ≤ y in the ambient order.
Equations
Instances For
Dependency graph
x = y.
Equations
Instances For
Dependency graph
x < y in the ambient order.
Equations
Instances For
Dependency graph
x < y in the machine's order.
Equations
Instances For
Dependency graph
x is the least element of the ambient order.
Equations
Instances For
Dependency graph
The cell x initially holds y: its input symbol, or the blank if it has
none.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Well-formedness of the machine, as a formula with unused free variables: the machine's order is linear, there is a position, the input is functional, and there is exactly one blank.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Some transition with the given attributes exists; the direction of the move is a static decision.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Realization of the builders #
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
The letter formulas #
The word tables of DescriptiveComplexity.Problems.Pcp.Hardness.Draw are
turned into formulas entry by entry: “argument 1 is the i-th shared
position and argument 2 is the specified letter”.
The tag of the i-th shared position.
Equations
- DescriptiveComplexity.HaltPcp.posTagN 0 = DescriptiveComplexity.HaltPcp.PTag.pos0
- DescriptiveComplexity.HaltPcp.posTagN 1 = DescriptiveComplexity.HaltPcp.PTag.pos1
- DescriptiveComplexity.HaltPcp.posTagN 2 = DescriptiveComplexity.HaltPcp.PTag.pos2
- DescriptiveComplexity.HaltPcp.posTagN 3 = DescriptiveComplexity.HaltPcp.PTag.pos3
- DescriptiveComplexity.HaltPcp.posTagN 4 = DescriptiveComplexity.HaltPcp.PTag.pos4
- DescriptiveComplexity.HaltPcp.posTagN 5 = DescriptiveComplexity.HaltPcp.PTag.pos5
- DescriptiveComplexity.HaltPcp.posTagN 6 = DescriptiveComplexity.HaltPcp.PTag.pos6
- DescriptiveComplexity.HaltPcp.posTagN x✝ = DescriptiveComplexity.HaltPcp.PTag.pos7
Instances For
Dependency graph
The shared positions are the constants of their tags.
Dependency graph
All five coordinates of the argument k are minimal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The four last coordinates of the argument k are minimal.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The letter argument is the constant letter of the tag s.
Equations
Instances For
Dependency graph
The letter argument carries the j-th coordinate of the domino
argument.
Equations
- DescriptiveComplexity.HaltPcp.idxLF s j tc = if tc = s then DescriptiveComplexity.HaltPcp.eqF (2, 0) (0, j) ⊓ DescriptiveComplexity.HaltPcp.minTailF 2 else ⊥
Instances For
Dependency graph
The formula of one table entry.
Equations
Instances For
Dependency graph
The position argument is the i-th shared position.
Equations
Instances For
Dependency graph
The formula of a word table, entry by entry from the i-th shared
position on.
Equations
- One or more equations did not get rendered due to their size.
- DescriptiveComplexity.HaltPcp.specListF [] x✝² x✝¹ x✝ = ⊥
Instances For
Dependency graph
The formula of the top word of a domino tag.
Equations
Instances For
Dependency graph
The formula of the start domino's bottom word, by the tag of the position.
Equations
- One or more equations did not get rendered due to their size.
- DescriptiveComplexity.HaltPcp.startBotF tp tc = ⊥
Instances For
Dependency graph
The formula of the bottom word of a domino tag.
Equations
Instances For
Dependency graph
The domino and order formulas #
The formula marking the dominoes: well-formedness of the machine and the side condition of the tag.
Equations
- One or more equations did not get rendered due to their size.
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dStart = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dClose = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dCopySep = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dCopyLft = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dCopyRgt = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dCopyBoot = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dCopyHalt = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dCopySym = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dCopyState = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dEraseSymL = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dEraseLft = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dEraseSymR = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dEraseRgt = DescriptiveComplexity.HaltPcp.wfF
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dBoot = DescriptiveComplexity.HaltPcp.wfF ⊓ DescriptiveComplexity.HaltPcp.startF (0, 0)
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dAcc = DescriptiveComplexity.HaltPcp.wfF ⊓ DescriptiveComplexity.HaltPcp.accF (0, 0)
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dMoveR = DescriptiveComplexity.HaltPcp.wfF ⊓ DescriptiveComplexity.HaltPcp.existsMoveF true (0, 0) (0, 1) (0, 2) (0, 3)
- DescriptiveComplexity.HaltPcp.domF DescriptiveComplexity.HaltPcp.PTag.dMoveL = DescriptiveComplexity.HaltPcp.wfF ⊓ DescriptiveComplexity.HaltPcp.existsMoveF false (0, 0) (0, 1) (0, 2) (0, 3)
- DescriptiveComplexity.HaltPcp.domF x✝ = ⊥
Instances For
Dependency graph
The ambient lexicographic order of the last four coordinates, as a formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The order of the drawn instance: the static comparisons are decided in Lean, the dynamic ones written out.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The interpretation of the PCP vocabulary in an ordered machine instance.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
Realization of the letter formulas #
Dependency graph
Dependency graph
A pair with the right tag is a constant element exactly when its tuple is padding.
Dependency graph
A pair with the right tag carries an element exactly when its head coordinate is it and its tail is padding.
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
Dependency graph
The top table relation, in terms of List.range'.
Dependency graph
Dependency graph
The bottom table relation, in terms of List.range'.
Dependency graph
Dependency graph
Dependency graph
Realization of the domino and order formulas #
Dependency graph
Dependency graph
Dependency graph
The reads #
The interpreted structure reads as the drawn instance: each relation
of Language.pcp, realized through the defining formulas, is the semantic
predicate of the drawing.
Dependency graph
The image is a yes-instance exactly when the machine halts.