Documentation

Complexity.Logics.FirstOrder.Ordered.FullTuple

Canonical ordered interpretations on full tuple universes #

Only the formulas for the output input relations are supplied by a client. The full domain, canonical order, BIT and numeric constants are constructed from the native tuple formulas. The existing relational interpretation and formula-defined-constant pullback provide the syntax translation. A language map puts the genuine numeric constants into Mathlib's constant extension; no numeric relation table or semantic certificate is an input to the construction. The target input vocabulary is relational; the source vocabulary may contain functions.

For source size at least two and positive tuple dimension, the resulting structure is isomorphic to its canonically ordered rank universe. Arbitrary restricted domains still require explicit numeric definitions and their correctness proofs. No ordered machine or capture theorem is asserted.

Main definitions #

Main results #

References #

@[reducible, inline]

The relation symbols of an ordered language, separated from its numeric constants.

Instances For

    View an ordered relational vocabulary as a relational core with genuine numeric constants.

    Instances For

      A full-tuple ordered interpretation supplies only the definitions of output input relations. Canonical numeric symbols are supplied by the library's native tuple formulas.

      Instances For

        The whole tuple universe, with both input and canonical numeric relation definitions.

        Instances For

          Reuse the coordinate definitions of zero, one and maximum. Dimension zero has no canonical ordered target and its constant formulas are false.

          Instances For

            The canonical target constants exist uniquely on every positive-dimensional full domain.

            The selected constants have the exact canonical numerical ranks.

            @[instance_reducible]

            The target input relations on the canonical rank universe. Numeric symbols are supplied separately by numericStructure, with no target numeric tables as parameters.

            Instances For
              @[instance_reducible]

              The actual ordered target structure on interpreted tuples, including numeric constants.

              Instances For
                theorem Cslib.Logic.FO.Ordered.FullTupleInterpretation.two_le_pow {k n : ℕ} [Fact (2 ≤ n)] (hk : 0 < k) :
                2 ≤ n ^ k

                The canonical rank universe also has at least two elements.

                Ranking the interpreted tuples preserves all input relations and canonical numeric symbols, including the genuine target constants zero, one and maximum.

                Instances For

                  Pull back any ordered target formula, using the existing constant-aware interpretation.

                  Instances For
                    theorem Cslib.Logic.FO.Ordered.FullTupleInterpretation.realize_onFormula {L : FirstOrder.Language} {L' : FirstOrder.Language} {k : ℕ} (I : FullTupleInterpretation L L' k) {n : ℕ} [Fact (2 ≤ n)] [L.Structure (Fin n)] [L'.IsRelational] {α : Type u_1} (hk : 0 < k) (φ : (language L').Formula α) (v : α → Fin k → Fin n) :
                    ((I.onFormula φ).Realize fun (p : α × Fin k) => v p.1 p.2) ↔ φ.Realize fun (a : α) => lexEquiv (v a)

                    Native pullback agrees with evaluation on the canonical rank universe, for every assignment.

                    Pull back a sentence over the canonically expanded target language.

                    Instances For

                      Sentence truth is preserved on the canonical rank universe.