Documentation

LeanPool.InfinitaryLogic.Karp.PotentialIso

Potential Isomorphism #

This file defines potential isomorphism between structures and connects it to back-and-forth equivalence at all ordinal levels.

Main Definitions #

Main Results #

References #

structure FirstOrder.Language.PotentialIso (L : Language) [L.IsRelational] (M : Type w) (N : Type w') [L.Structure M] [L.Structure N] :
Type (max w w')

A potential isomorphism between structures M and N is a family of finite partial maps (given as pairs of compatible tuples) that contains the empty map and is closed under extension in both directions.

This is the model-theoretic notion corresponding to "back-and-forth system" or "winning strategy in the infinite EF game."

Instances For

    The trivial potential isomorphism from M to itself via the identity.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      noncomputable def FirstOrder.Language.PotentialIso.symm {L : Language} [L.IsRelational] {M : Type w} [L.Structure M] {N : Type w'} [L.Structure N] (p : L.PotentialIso M N) :

      Potential isomorphism is symmetric.

      Equations
      Instances For

        PotentialIso implies isomorphism for countable structures #

        For countable structures, a potential isomorphism implies actual isomorphism.

        This is a direct back-and-forth construction that doesn't go through Scott sentences or Karp's theorem, avoiding circular dependencies in the formalization.

        BF-equivalence at all ordinals implies potential isomorphism.

        The proof constructs the family of tuples (n, a, b) such that BFEquiv α n a b holds for every ordinal α, and verifies the forth and back properties by a supremum contradiction argument.

        Universe constraint: The proof requires the ordinal universe to match the type universe w (via Ordinal.bddAbove_of_small). This is because the contradiction argument takes a supremum of ordinals indexed by N : Type w, which requires Ordinal.{w}.