First-order reductions and projections #
A first-order reduction between decision problems (Boolean queries over finite
structures) is a first-order interpretation: the target structure is defined from
the source by FO formulas, one per target relation symbol. This module gives the
dimension-1 (universe-preserving) case — each target relation is an FO-definable
relation on the same universe — the foundational special case of the general
dimension-k interpretation (whose target universe is a definable subset of domᵏ,
recorded as a roadmap L6 milestone).
First-order reductions are the reductions of descriptive complexity: weak enough to
sit inside FO/AC⁰, yet enough to define completeness for the standard classes.
Their quantifier-free restriction — first-order projections — is weaker still and
is the notion under which many natural problems are complete.
Each Boolean query induces a machine-model Language via queryLanguage; the
string-level FO-reduction (an FO map on encodings) is a further step on track L6.
Main definitions and results #
FOInterpretation— a dimension-1 first-order interpretationV → W.FOInterpretation.apply— the induced structure map, withapply_idInterp.FOReduces— first-order reducibility between Boolean queries, with reflexivity and transitivity.FOInterpretation.IsQuantifierFree,FOProjReduces— first-order projections, withFOInterpretation.IsQuantifierFree.comp,FOProjReduces.toFOReduces, and reflexivity/transitivity.
A (dimension-1) first-order interpretation from vocabulary V to W: each
target relation symbol is defined by an FO formula over V with one free variable
per argument, and each target constant symbol is a source constant. Applying it to
a V-structure yields a W-structure on the same universe.
The FO formula (over
V) defining each target relation ofW.Each target constant of
Wis interpreted as a source constant ofV.
Instances For
Apply an interpretation to a source structure, producing a target structure on the same universe: each target relation holds exactly when its defining formula does.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The identity interpretation: each relation is defined by its own atom
R(x₀, …, x_{a-1}) and each constant maps to itself.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The identity interpretation acts as the identity on structures.
Translate a W-term to a V-term along the interpretation: a variable stays
put, and a target constant becomes its designated source constant.
Equations
Instances For
Term-level transport. Evaluating a translated term in the source structure agrees with evaluating the original term in the interpreted structure. This is the base case of the full (formula-level) transport theorem.
The interpreted structure's relation is (definitionally) satisfaction of the defining formula.
Translate a W-formula to a V-formula along the interpretation: a target
relation atom is replaced by its defining formula with the (translated) argument
terms substituted in; other connectives and quantifiers are traversed.
Equations
- I.translate (Complexity.DescriptiveComplexity.Formula.relApp i ts) = (I.relFormula i).subst fun (k : Fin (W.relArity i)) => I.translateTerm (ts k)
- I.translate (Complexity.DescriptiveComplexity.Formula.eq t₁ t₂) = Complexity.DescriptiveComplexity.Formula.eq (I.translateTerm t₁) (I.translateTerm t₂)
- I.translate φ.neg = (I.translate φ).neg
- I.translate (φ.conj ψ) = (I.translate φ).conj (I.translate ψ)
- I.translate (φ.disj ψ) = (I.translate φ).disj (I.translate ψ)
- I.translate φ.exist = (I.translate φ).exist
- I.translate φ.all = (I.translate φ).all
Instances For
The transport theorem (fundamental theorem of interpretations). Satisfaction of
a formula in the interpreted structure I.apply A equals satisfaction of its
translation in the source structure A. This is what makes FO-reductions compose.
Compose two interpretations by translating the outer defining formulas through
the inner interpretation (I₂ ∘ I₁, source U → V → W).
Equations
Instances For
Composition applies as composition of structure maps: (I₂ ∘ I₁).apply A = I₂.apply (I₁.apply A). The relation fields agree by the transport theorem.
First-order reduction between Boolean queries: an FO-interpretation carrying
Q₁-membership to Q₂-membership on the interpreted structure.
Equations
- Complexity.DescriptiveComplexity.FOReduces Q₁ Q₂ = ∃ (I : Complexity.DescriptiveComplexity.FOInterpretation V W), ∀ (A : Complexity.DescriptiveComplexity.FinStruct V), Q₁ A ↔ Q₂ (I.apply A)
Instances For
FO-reducibility is reflexive, via the identity interpretation.
First-order reductions respect complementation: the same interpretation
witnesses Q₁ᶜ ≤ Q₂ᶜ, since the carrying biconditional negates.
FO-reducibility is transitive, via composition of interpretations (the
transport theorem is exactly what makes the composite carry membership). Together
with FOReduces.refl, FO-reducibility is a preorder on Boolean queries.
An interpretation is quantifier-free when every defining formula has quantifier
rank 0 — the coarse form of a first-order projection.
Equations
- I.IsQuantifierFree = ∀ (i : Fin W.numRels), (I.relFormula i).quantifierRank = 0
Instances For
Translating through a quantifier-free interpretation preserves quantifier rank. Relation atoms are replaced by quantifier-free defining formulas, while all logical connectives and quantifiers retain their original structure.
The identity interpretation is quantifier-free (each relation is a bare atom).
Composing quantifier-free interpretations remains quantifier-free.
A first-order projection reduction: an FO-reduction witnessed by a quantifier-free interpretation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every first-order projection is in particular a first-order reduction.
FO-projection reducibility is reflexive, via the (quantifier-free) identity.
FO-projection reducibility is transitive. Composition preserves both the query-membership equivalence and quantifier-freeness of the interpretation.