Ordinal back-and-forth equivalence #
BFEquiv α n a b compares finite tuples at ordinal depth α. At zero it is atomic-type
agreement; a successor retains the previous level and requires matching one-element extensions
in both directions; a limit requires every earlier level. Keeping the previous level prevents
empty structures with different nullary relations from becoming equivalent at a successor.
The equivalence laws and lowering of the ordinal are the basic tools for internal stabilization
and for the characteristic formulas of tuples. No countability or nonemptiness is assumed.
As with SameAtomicType, the language is required to be relational, so the initial level
compares all atomic formulas.
The recursion follows Cameron Freer's cameronfreer/infinitary-logic,
InfinitaryLogic/Scott/BackAndForth.lean. Here the ordinal universe is independent of the
universes of the structures.
For a family of structures M i, i : ι, bfTupleSetoid L M α n packages equivalence at depth
α as an equivalence relation on the pointed tuples ⟨i, a⟩ with a : Fin n → M i, comparing
tuples across all members of the family.
Ordinal back-and-forth equivalence of tuples. At successors the previous level is retained, in addition to the forth and back requirements. The language is relational.
Instances For
Level zero is precisely atomic-type agreement.
The successor step consists of the previous level and the two extension requirements.
Level one consists of atomic-type agreement and atomic-type matching of one-element extensions in both directions.
At a limit ordinal, equivalence means equivalence at every smaller ordinal.
Equivalence at a level implies equivalence at every lower level.
Atomic type is preserved at every back-and-forth level.
Every tuple is back-and-forth equivalent to itself.
Back-and-forth equivalence is symmetric, including between different structure universes.
Back-and-forth equivalence is transitive across three structures.
Back-and-forth equivalence is preserved when the two tuples are reindexed in the same way.
Swapping the two tuples does not change back-and-forth equivalence.
Equivalence at depth β + k extends along any k further elements of the first structure to
equivalence at depth β: k forth steps match them with elements of the second structure.
Back-and-forth equivalence is invariant under lifting the ordinal depth across universes.
An isomorphism carries every tuple to a tuple back-and-forth equivalent to it at every level. In particular, tuples in one automorphism orbit are equivalent at every level.
Equivalence of pointed tuples of a family #
Back-and-forth equivalence at depth α of pointed n-tuples of the family M: the pointed
tuples ⟨i, a⟩ and ⟨j, b⟩ are related when a in M i and b in M j are back-and-forth
equivalent at depth α.
Instances For
Two pointed tuples are related at depth α exactly when their tuples are back-and-forth
equivalent at depth α.
The levels decrease as the depth grows.
Lifting the ordinal depth across universes does not change bfTupleSetoid.