Documentation

InfinitaryLogic.Descriptive.StructureSpace

Coding Space for Countable Structures #

This file defines the space of countable relational L-structures coded as functions from relation queries to Bool. The carrier-parametric versions RelQueryOn L α and StructureSpaceOn L α generalize over the carrier type, while RelQuery L and StructureSpace L specialize to carrier ℕ.

Main Definitions #

Main Results #

def FirstOrder.Language.RelQueryOn (L : Language) (α : Type u_1) :
Type (max v u_1)

A carrier-parametric relation query: a choice of relation symbol and a tuple of elements from the carrier type α.

Equations
Instances For

    A relation query for carrier ℕ.

    Equations
    Instances For
      @[reducible, inline]
      abbrev FirstOrder.Language.StructureSpaceOn (L : Language) (α : Type u_1) :
      Type (max u_1 v)

      The carrier-parametric coding space for L-structures on α: for each relation query, does the relation hold on that tuple? This is an abbrev so type class resolution can see through it.

      Equations
      Instances For

        The coding space for countable L-structures on ℕ: for each relation query, does the relation hold on that tuple?

        Equations
        Instances For
          @[reducible, inline]
          abbrev FirstOrder.Language.StructurePairSpaceOn (L : Language) (α : Type u_1) :
          Type (max u_1 v)

          The pair space for carrier α.

          Equations
          Instances For

            Decode a code into an L-structure on carrier α. Relations are determined by the code; functions are eliminated by IsRelational.

            Equations
            Instances For
              @[simp]

              The relation holding in the decoded structure corresponds to the code value.

              Encode an L-structure on carrier α into a code. Takes an explicit structure instance rather than using the typeclass.

              Equations
              Instances For

                Round-trip: decoding the code of a structure preserves relation satisfaction.

                Round-trip: encoding a decoded structure recovers the original code.

                Decode a code into an L-structure on ℕ.

                Equations
                Instances For
                  @[simp]

                  The relation holding in the decoded structure corresponds to the code value.

                  Round-trip: decoding the code of a structure preserves relation satisfaction.

                  Round-trip: encoding a decoded structure recovers the original code.