Documentation

TauCeti.ModelTheory.BackAndForth.DiscreteOrder

Back-and-forth for discrete linear orders without endpoints #

A discrete linear order without endpoints is a linear order in which every element has an immediate successor and an immediate predecessor and there is no least or greatest element; in Mathlib terms, a linear order with SuccOrder, PredOrder, NoMaxOrder and NoMinOrder. The integers ℤ are the basic example, and so is ℤ ⊕ₗ ℤ, two copies of ℤ one after the other.

Any two nonempty discrete linear orders without endpoints are back-and-forth equivalent at every finite level, hence elementarily equivalent. The proof is the classical Ehrenfeucht–Fraïssé argument: at level k it suffices that the entries of two tuples compare in the same way after shifting each of them by at most 4 ^ k successor steps. A new element within 4 ^ (k - 1) steps of an old entry is answered at the same offset from the matching entry, and an element far from every old entry is answered by an element far from every matching entry, in the same gap.

These orders are not all isomorphic, even among countable ones: ℤ and ℤ ⊕ₗ ℤ are countable, elementarily equivalent and not isomorphic, since every bounded interval of ℤ is finite while the interval between the two copies of 0 in ℤ ⊕ₗ ℤ is infinite. By Karp's theorem for countable structures they are therefore not even L_{ω₁ω}-equivalent: elementary equivalence is strictly weaker than infinitary equivalence.

The same pair shows that winning Ehrenfeucht–Fraïssé strategies for every finite length, chosen separately, need not assemble into one coherent strategy for the infinite game: Duplicator wins every finite game between ℤ and ℤ ⊕ₗ ℤ, but has no coherent infinite strategy, since such a strategy would make them potentially isomorphic.

Main results #

References #

theorem TauCeti.sameAtomicType_order_iff {M : Type w} {N : Type w'} [LE M] [LE N] [FirstOrder.Language.order.Structure M] [FirstOrder.Language.order.OrderedStructure M] [FirstOrder.Language.order.Structure N] [FirstOrder.Language.order.OrderedStructure N] {n : ℕ} (a : Fin n → M) (b : Fin n → N) :
SameAtomicType a b ↔ (∀ (i j : Fin n), a i = a j ↔ b i = b j) ∧ ∀ (i j : Fin n), a i ≤ a j ↔ b i ≤ b j

In the language of orders, two tuples have the same atomic type exactly when they have the same equalities and the same order relations between their entries.

Discrete linear orders without endpoints are back-and-forth equivalent at level ω. In any two nonempty linear orders with successors and predecessors and without endpoints, the empty tuples are back-and-forth equivalent at every finite level.

Discrete linear orders without endpoints are elementarily equivalent. Any two nonempty linear orders with successors and predecessors and without endpoints satisfy the same first-order sentences in the language of orders.

Duplicator wins every finite Ehrenfeucht–Fraïssé game between discrete linear orders without endpoints. In any two nonempty linear orders with successors and predecessors and without endpoints, Duplicator has a winning strategy from the empty position for each finite number of rounds. The strategies for different lengths are not required to be compatible.

ℤ and ℤ ⊕ₗ ℤ are not isomorphic as orders: the interval between the two copies of 0 in ℤ ⊕ₗ ℤ is infinite, while every bounded interval of ℤ is finite.

ℤ and ℤ ⊕ₗ ℤ satisfy the same first-order sentences in the language of orders.

Elementary equivalence is strictly weaker than infinitary equivalence. The countable orders ℤ and ℤ ⊕ₗ ℤ are elementarily equivalent (elementarilyEquivalent_int_sumLex_int), but some L_{ω₁ω} sentence distinguishes them. A fortiori they are not L_{∞ω}-equivalent, since TauCeti.InfEquivW.infEquivAt turns L_{∞ω}-equivalence into agreement at ℕ.

ℤ and ℤ ⊕ₗ ℤ are not potentially isomorphic as orders, although they are back-and-forth equivalent at level ω (bfEquiv_omega0_of_succOrder_of_predOrder).

Finite strategies do not assemble into a coherent infinite strategy. Duplicator has no coherent winning strategy for the infinite Ehrenfeucht–Fraïssé game between ℤ and ℤ ⊕ₗ ℤ, although by nonempty_efStrategy_family_of_succOrder_of_predOrder Duplicator wins the game of every finite length. Thus level-ω back-and-forth equivalence, which says exactly that a winning strategy exists for each finite length separately, does not give a coherent strategy.