Documentation

Complexity.Logics.FirstOrder.Ordered.DomainInterpretation.Certificate

Numeric certificates for ordered interpretations #

A first-order query on ordered structures must include first-order definitions of the numeric relations and constants of its image [Immerman1999, Remark 1.32]. Without the assumption that the domain formula is true, these need not exist: target BIT need not be first-order definable [Immerman1999, the paragraph after Exercise 1.33]. A numeric certificate for an ordered interpretation supplies these definitions over the source language, on domain tuples, together with a proof that on every source they define the canonical order, BIT and constants 0, 1, max of the rank numbering. The constants are thus the least, second and greatest domain tuples in lexicographic order, as in [Immerman1999, Definition 1.26 and Exercise 1.33(1)].

A certificate turns the interpretation into an order-free interpretation of the ordered target language with formula-defined constants, whose interpreted structure is isomorphic, by ranking, to the image. Hence every ordered target formula pulls back to a source formula with the same truth value [Immerman1999, Proposition 3.5].

Main definitions #

Main results #

References #

A numeric certificate for an ordered interpretation: source formulas defining, on domain tuples, the canonical order, BIT and numeric constants of the rank numbering, with a proof that they do so on every source.

Instances For

    The relational interpretation of the ordered target language: the domain and relations of I, with the certificate's order and BIT.

    Instances For

      The certificate's definitions of the target constants.

      Instances For

        Each certificate constant selects the domain tuple of its rank.

        @[instance_reducible]

        The interpreted ordered structure, with the certificate's constants.

        Instances For

          Ranking is an isomorphism from the interpreted ordered structure onto the image, including the canonical order, BIT and constants.

          Instances For

            Pull back an ordered target formula along a certified interpretation.

            Instances For
              theorem Cslib.Logic.FO.Ordered.DomainInterpretation.Certificate.realize_onFormula {L : FirstOrder.Language} {L' : FirstOrder.Language} {k : ℕ} {I : DomainInterpretation L L' k} (C : I.Certificate) {M : Structure L} [L'.IsRelational] {α : Type u_1} (hI : I.Admissible) (φ : (language L').Formula α) (v : α → Fin (I.map hI M).size) :
              ((C.onFormula φ).Realize fun (p : α × Fin k) => I.unrank M (v p.1) p.2) ↔ φ.Realize v

              Pullback preserves truth: the pullback holds of the domain tuples of some ranks exactly when the formula holds of these ranks in the image.

              Pull back an ordered target sentence along a certified interpretation.

              Instances For

                Pullback preserves sentence truth in the image.