Formal Textbook of Model Theory

2 Model Theory and The Rest of Mathlib

2.1 Instances

Mathlib already contains a proof for the categoricity of the theory of dense linear orders without end points but it is written in terms of various instances such as ‘DenselyOrdered‘. In this section, we produce these instances for a ‘FirstOrder.Language.Order‘ structure.

Definition 2.1.1
#

Any structure of the language of orders is an ordered set.

The structure induced from \(\le \) which is induced from another structure is equal to the original structure.

Proof

By definition, the binary relation \(\le \) is equal to the interpretation of the unique binary relation symbol of the language ‘Language.order‘.

Proof

Models of the theory of dense linear orders without end points are preorders.

Proof
Lemma 2.1.5

Models of the theory of dense linear orders without end points are partial orders.

Proof
Lemma 2.1.6

Models of the theory of dense linear orders without end points are linear orders.

Proof

Models of the theory of dense linear orders without end points do not have a bottom element.

Proof

Models of the theory of dense linear orders without end points do not have a minimum element.

Proof

Models of the theory of dense linear orders without end points do not have a top element.

Proof

Models of the theory of dense linear orders without end points do not have a maximum element.

Proof

Models of the theory of dense linear orders without end points are densely ordered.

Proof

2.2 Homomorphisms

We also need to show that maps respecting the order structure are homomorphisms in the model theoretic sense.

A function which is an order embedding is also an embedding in the model theoretic sense.

Proof
Lemma 2.2.2

A function which is an order isomorphism is also an isomorphism in the model theoretic sense.

Proof