Relativized first-order interpretations (definable target universes) #
An DescriptiveComplexity.FOInterpretation fixes the target universe to all of
Tag × A^dim. That is convenient for subset-style problems – a yes-witness
lives on part of the universe and junk elements sit isolated and unused – but
it cannot target a spanning problem such as HAMILTON CIRCUIT, where a
yes-witness (a tour) must visit every universe element: junk points with no
valid incident edges make every interpreted instance a no-instance.
The textbook remedy (Immerman 1999) is a domain
formula: the target universe is a definable subset of Tag × A^dim. This
file adds it as a layer on top of FOInterpretation, so that no existing
interpretation, reduction or problem file changes:
DescriptiveComplexity.RelFOInterpretationextendsFOInterpretationwith adomFormula : Tag → L.Formula (Fin dim);DescriptiveComplexity.RelFOInterpretation.MapRelis the interpreted structure carried by the subtype{x : Tag × A^dim // domFormula holds of x};DescriptiveComplexity.RelOrderedFOReduction(notation≤ʳᶠᵒ[≤]) is the ordered reduction through such an interpretation, carrying the extra obligationdom_nonempty– a definable domain can be empty on a nonempty structure, soNonempty Tagno longer guarantees a nonempty output;DescriptiveComplexity.OrderedFOReduction.toRelembeds an ordinary ordered reduction as a relativized one withdomFormula := ⊤, the transparency of the whole-universe case being an isomorphism (DescriptiveComplexity.FOInterpretation.toRelLEquiv) rather than a definitional equality.
This is the hardness-side machinery of relativized reductions; it is what a hardness proof for a spanning problem needs. Membership closure under relativized reductions is deferred, and not needed when membership is a direct second-order sentence.
A relativized tagged first-order interpretation: an ordinary
interpretation together with, for each tag, a domain formula on the dim
coordinates. The target universe is cut down to the tagged tuples whose
coordinates satisfy their tag's domain formula.
The domain formula of each tag: a tagged tuple
(t, ā)belongs to the target universe iffdomFormula tholds ofā.
Instances For
Dependency graph
The universe of the relativized interpretation in A: the tagged tuples
whose coordinates satisfy their tag's domain formula. A subtype (not a def
of a product) so that the definable restriction is real; the L'-structure on
it reads its relations through Subtype.val, exactly as FOInterpretation.Map
does.
Instances For
Dependency graph
The L'-structure interpreted on the definable subset.
Equations
- One or more equations did not get rendered due to their size.
Dependency graph
Dependency graph
The relativized universe of a finite structure over finite tags is finite.
Dependency graph
Functoriality on isomorphisms #
Relativized interpretations are functorial on L-isomorphisms: the domain
formula is an L-formula, so its truth transports, and the induced map of
subtypes is an L'-isomorphism.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The whole-universe case is an ordinary interpretation #
Any interpretation is a relativized one whose domain formula is ⊤: the
target universe is all of Tag × A^dim, as before.
Instances For
Dependency graph
The transparency of the ⊤ domain: the relativized universe of I.toRel
is L'-isomorphic to the ordinary universe of I. (Not a definitional
equality – a subtype over ⊤ is not the product on the nose.)
Equations
Instances For
Dependency graph
Relativized ordered reductions #
An ordered first-order reduction through a relativized
interpretation: like DescriptiveComplexity.OrderedFOReduction, but the target universe is
the definable subset carved out by the domain formula. The Nonempty Tag
field of the ordinary reduction is replaced by dom_nonempty, since a
definable domain may be empty even when the tags and the input are not.
- Tag : Type
The tags used by the underlying interpretation.
Tags are finite, so that finite structures map to finite structures.
- dim : ℕ
The dimension of the underlying interpretation.
- toRelInterpretation : RelFOInterpretation (L.sum FirstOrder.Language.order) L' self.Tag self.dim
The underlying relativized interpretation, over the ordered expansion.
- dom_nonempty (A : Type) [L.Structure A] [LinearOrder A] [Finite A] [Nonempty A] : ∃ (t : self.Tag) (w : Fin self.dim → A), (self.toRelInterpretation.domFormula t).Realize w
- correct (A : Type) [L.Structure A] [LinearOrder A] [Finite A] [Nonempty A] : P.Holds A ↔ Q.Holds (self.toRelInterpretation.MapRel A)
Yes-instances map exactly to yes-instances, whatever the linear order.
Instances For
Dependency graph
An ordered first-order reduction through a relativized
interpretation: like DescriptiveComplexity.OrderedFOReduction, but the target universe is
the definable subset carved out by the domain formula. The Nonempty Tag
field of the ordinary reduction is replaced by dom_nonempty, since a
definable domain may be empty even when the tags and the input are not.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Dependency graph
The relativized universe of the output of a reduction is nonempty on nonempty finite ordered inputs.
Dependency graph
An ordinary ordered FO reduction is a relativized one with ⊤ domain: the
correctness is transported across DescriptiveComplexity.FOInterpretation.toRelLEquiv, and the
domain is inhabited by any tag and any constant tuple.
Equations
Instances For
Dependency graph
A relativized reduction can be transported along an agreement of the source problems on finite structures.
Equations
- DescriptiveComplexity.RelOrderedFOReduction.congrSource h g = { Tag := g.Tag, tagFinite := ⋯, dim := g.dim, toRelInterpretation := g.toRelInterpretation, dom_nonempty := ⋯, correct := ⋯ }