Existential second-order tableau sentence on Fin B #
Given a deterministic multi-tape Turing machine tm : MultiTapeTM m Bool State ([Fintype State] [DecidableEq State]) and a language L₀ equipped with a strict linear order lt on Fin B and
unary relations uLenRel and uBitRel describing an input prefix u : List Bool, this file
constructs an existential second-order sentence FO.tableauESOSentence lt uLenRel uBitRel tm over
L₀.
On Fin B with u.length + 1 < B, FO.tableauESOSentence lt uLenRel uBitRel tm is realized if
and only if there exists a certificate word w : List Bool with u.length + w.length + 1 < B such
that tm, started on u ++ w, halts within B - 1 steps with output [true] — equivalently,
by Cslib.Complexity.CookLevin.tableau_satisfiable_iff, if and only if
CookLevin.tableau tm u L (B - 1) is satisfiable for some L with u.length + L + 1 < B.
The relation-symbol bundle FO.TableauRels and component first-order formulas are defined in
Complexity.Computability.Complexity.Fagin.Tableau.Defs, and the configuration-agreement predicate
(FO.TableauRels.AgreesAt) and realization equivalences are proved in
Complexity.Computability.Complexity.Fagin.Tableau.Semantics; both are re-exported here.
Main definitions #
Cslib.Logic.FO.tableauRels,Cslib.Logic.FO.tableauMatrix: the canonical relation-symbol bundle in the matrix language and the first-order matrix of the sentence.Cslib.Logic.FO.tableauESOSentence: the existential second-order sentence encoding an accepting computation oftmonu ++ wwithinB - 1steps.Cslib.Logic.Vocabulary.tableauESOSentence: specialization tov.powerLanguage.sum v.inputVarLanguage.
Main results #
Cslib.Logic.FO.realize_tableauESOSentence: onFin B,tableauESOSentenceholds iff some certificatewwithu.length + w.length + 1 < Bis accepted withinB - 1steps.Cslib.Logic.Vocabulary.realize_tableauESOSentence: onFin B,v.tableauESOSentence tmholds iffCookLevin.tableau tm u L (B - 1)is satisfiable for someLwithu.length + L + 1 < B.
References #
Full ESO tableau sentence #
The language of the first-order matrix of tableauESOSentence.
Instances For
The canonical TableauRels bundle in tableauMatrixLanguage.
Instances For
The first-order matrix of tableauESOSentence.
Instances For
The existential second-order sentence asserting that tm, started on u ++ w for some
certificate w with u.length + w.length + 1 < B, halts within B - 1 steps with output
[true].
Instances For
Correctness of tableauESOSentence on Fin B.
Specialization of FO.tableauESOSentence to v.powerLanguage.sum inputVarLanguage.
Instances For
Correctness of v.tableauESOSentence on Fin B. When I_in satisfies the layout
specification for u, (v.tableauESOSentence tm).Realize (Fin B) holds if and only if
CookLevin.tableau tm u L (B - 1) is satisfiable for some certificate length L with
u.length + L + 1 < B.