NL is closed under FO(TC) reductions, and LOGSPACE under FO(DTC) reductions #
The two closure theorems the reductions with a logic inside were missing:
DescriptiveComplexity.mem_NL_of_tcReduction– NL is closed under≤ᵗᶜ, so≤ᵗᶜis the reduction notion of NL as≤ˡᶠᵖis that of PTIME;DescriptiveComplexity.mem_LOGSPACE_of_dtcReduction– LOGSPACE is closed under≤ᵈᵗᶜ, the many-one logarithmic-space reduction of the textbooks.
Both are Immerman's normal form, in the walk-algebra form of
DescriptiveComplexity.TransitiveClosureDecide. Given P ≤ᵗᶜ Q and a walk
deciding Q, the walk is pulled back through the reduction's interpretation
(DescriptiveComplexity.TCSpec.pullSpec, the sentence-level reading of
DescriptiveComplexity.ParamTCSpec.comapRel): a walk over the base structure
expanded by the reachability relations of the reduction's own walks. Its
step, source and target formulas read those relations, and every such
formula has a decider (DescriptiveComplexity.Decider.exists_of_formula, the
atoms being DescriptiveComplexity.ParamTCSpec.reachDecider); the walk is
flattened (DescriptiveComplexity.ParamTCSpec.flat) and the sentence
“some source reaches some target” is one decider
(DescriptiveComplexity.ParamTCSpec.sentenceDecider), hence one
DescriptiveComplexity.TCSpec – FO(TC) definability of P, which is
membership in NL (DescriptiveComplexity.tcDefinable_iff_mem_NL).
The deterministic case runs the same assembly with the deterministic atoms
(DescriptiveComplexity.ParamTCSpec.detReachDecider), the searching flat
walk, and the deterministic reading of everything: each construction is
functional, so the resulting specification is unchanged by determinization
(DescriptiveComplexity.Decider.det_accepts_toSpec), which is FO(DTC)
definability. The searching flat walk simulates the outer walk only when that
one is functional – which the pullback of a determinized walk is
(DescriptiveComplexity.TCSpec.pullSpec_functional).
Transport along an isomorphism, with explicit structures #
A step of a parameterized walk transports along an isomorphism.
Dependency graph
Reachability in a parameterized walk transports along an isomorphism.
Dependency graph
The pullback of a sentence through a relativized ordered interpretation #
The pullback of a specification's walk through a relativized ordered interpretation.
Instances For
Dependency graph
The pulled source formula: the tuple is in the domain and encodes a source.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The pulled target formula.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The valuation of the (absent) parameters of the pulled walk.
Instances For
Dependency graph
Dependency graph
Dependency graph
Decoding then encoding is the identity on in-domain nodes.
Dependency graph
The pulled sentence: some pulled source reaches some pulled target.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The pulled sentence says what the original says on the interpreted structure, read with the interpretation's own structure.
Dependency graph
The pullback of a functional walk is functional: steps correspond between in-domain nodes, and out-of-domain nodes have none.
Dependency graph
The sentence on the interpreted structure, pulled back #
The reduction's interpretation, extended by the lexicographic order.
Equations
Instances For
Dependency graph
Acceptance on the interpreted structure is the pulled sentence on the base structure expanded by the reduction's walks.
Dependency graph
Closure of FO(TC) definability #
A bottom element of a finite nonempty linear order.
Dependency graph
FO(TC) definability is closed under FO(TC) reductions: the normal form.
Dependency graph
FO(DTC) definability is closed under FO(DTC) reductions: the normal form, deterministically.
Dependency graph
The classes #
NL is closed under FO(TC) reductions.
Dependency graph
NL is closed under FO(DTC) reductions.
Dependency graph
LOGSPACE is closed under FO(DTC) reductions.
Dependency graph
An FO(TC) reduction complements: the same interpretation reduces the complements.
Equations
Instances For
Dependency graph
An FO(DTC) reduction complements.
Equations
Instances For
Dependency graph
coNL is closed under FO(TC) reductions.
Dependency graph
coLOGSPACE is closed under FO(DTC) reductions (the complement class
LOGSPACE.compl is DescriptiveComplexity.coLOGSPACE, which is defined with
its complete problem in DescriptiveComplexity.Problems.ReachabilityDet.Complement).