# Pregeometry (model theory)

Pregeometry, and in full combinatorial pregeometry, are essentially synonyms for "matroid". They were introduced by Gian-Carlo Rota with the intention of providing a less "ineffably cacophonous" alternative term. Also, the term combinatorial geometry, sometimes abbreviated to geometry, was intended to replace "simple matroid". These terms are now infrequently used in the study of matroids.
It turns out that many fundamental concepts of linear algebra – closure, independence, subspace, basis, dimension – are available in the general framework of pregeometries.
In the branch of mathematical logic called model theory, infinite finitary matroids, there called "pregeometries" (and "geometries" if they are simple matroids), are used in the discussion of independence phenomena. The study of how pregeometries, geometries, and abstract closure operators influence the structure of first-order models is called geometric stability theory.

## Motivation

If $V$ is a vector space over some field and $A\subseteq V$, we define ${\text{cl}}(A)$ to be the set of all linear combinations of vectors from $A$, also known as the span of $A$. Then we have $A\subseteq {\text{cl}}(A)$ and ${\text{cl}}({\text{cl}}(A))={\text{cl}}(A)$ and $A\subseteq B\Rightarrow {\text{cl}}(A)\subseteq {\text{cl}}(B)$. The Steinitz exchange lemma is equivalent to the statement: if $b\in {\text{cl}}(A\cup \{c\})\smallsetminus {\text{cl}}(A)$, then $c\in {\text{cl}}(A\cup \{b\}).$
The linear algebra concepts of independent set, generating set, basis and dimension can all be expressed using the ${\text{cl}}$-operator alone. A pregeometry is an abstraction of this situation: we start with an arbitrary set $S$ and an arbitrary operator ${\text{cl}}$ which assigns to each subset $A$ of $S$ a subset ${\text{cl}}(A)$ of $S$, satisfying the properties above. Then we can define the "linear algebra" concepts also in this more general setting.
This generalized notion of dimension is very useful in model theory, where in certain situation one can argue as follows: two models with the same cardinality must have the same dimension and two models with the same dimension must be isomorphic.

## Definitions
### Pregeometries and geometries

A combinatorial pregeometry (also known as a finitary matroid) is a pair $(S,{\text{cl}})$, where $S$ is a set and ${\text{cl}}:{\mathcal {P}}(S)\to {\mathcal {P}}(S)$ (called the closure map) satisfies the following axioms. For all $a,b,c\in S$ and $A,B\subseteq S$:
* ${\text{cl}}:({\mathcal {P}}(S),\subseteq )\to ({\mathcal {P}}(S),\subseteq )$ is monotone increasing and dominates ${\text{id}}$ (i.e. $A\subseteq B$ implies $A\subseteq {\text{cl}}(A)\subseteq {\text{cl}}(B)$) and is idempotent (i.e. ${\text{cl}}({\text{cl}}(A))={\text{cl}}(A)$)
* Finite character: For each $a\in {\text{cl}}(A)$ there is some finite $F\subseteq A$ with $a\in {\text{cl}}(F)$.
* Exchange principle: If $b\in {\text{cl}}(A\cup \{c\})\smallsetminus {\text{cl}}(A)$, then $c\in {\text{cl}}(A\cup \{b\})$ (and hence by monotonicity and idempotence in fact $c\in {\text{cl}}(A\cup \{b\})\smallsetminus {\text{cl}}(A)$).
Sets of the form ${\text{cl}}(A)$ for some $A\subseteq S$ are called closed. It is then clear that finite intersections of closed sets are closed and that ${\text{cl}}(A)$ is the smallest closed set containing $A$.
A geometry is a pregeometry in which the closure of singletons are singletons and the closure of the empty set is the empty set.

### Independence, bases and dimension

Given sets $A,D\subseteq S$, $A$ is independent over $D$ if $a\notin {\text{cl}}((A\setminus \{a\})\cup D)$ for any $a\in A$. We say that $A$ is independent if it is independent over the empty set.
A set $B\subseteq A$ is a basis for $A$ over $D$ if it is independent over $D$ and $A\subseteq {\text{cl}}(B\cup D)$.
A basis is the same as a maximal independent subset, and using Zorn's lemma one can show that every set has a basis. Since a pregeometry satisfies the Steinitz exchange property all bases are of the same cardinality, hence we may define the dimension of $A$ over $D$, written as ${\text{dim}}_{D}A$, as the cardinality of any basis of $A$ over $D$. Again, the dimension ${\text{dim}}A$ of $A$ is defined to be the dimension over the empty set.
The sets $A,B$ are independent over $D$ if ${\text{dim}}_{B\cup D}A'=\dim _{D}A'$ whenever $A'$ is a finite subset of $A$. Note that this relation is symmetric.

### Automorphisms and homogeneous pregeometries

An automorphism of a pregeometry $(S,{\text{cl}})$ is a bijection $\sigma :S\to S$ such that $\sigma ({\text{cl}}(X))={\text{cl}}(\sigma (X))$ for any $X\subseteq S$.
A pregeometry $S$ is said to be homogeneous if for any closed $X\subseteq S$ and any two elements $a,b\in S\setminus X$ there is an automorphism of $S$ which maps $a$ to $b$ and fixes $X$ pointwise.

### The associated geometry and localizations

Given a pregeometry $(S,{\text{cl}})$ its associated geometry (sometimes referred in the literature as the canonical geometry) is the geometry $(S',{\text{cl}}')$ where
* $S'=\{{\text{cl}}(a)\mid a\in S\setminus {\text{cl}}(\varnothing )\}$, and
* For any $X\subseteq S$, ${\text{cl}}'(\{{\text{cl}}(a)\mid a\in X\})=\{{\text{cl}}(b)\mid b\in {\text{cl}}(X)\}$
Its easy to see that the associated geometry of a homogeneous pregeometry is homogeneous.
Given $A\subseteq S$ the localization of $S$ is the pregeometry $(S,{\text{cl}}_{A})$ where ${\text{cl}}_{A}(X)={\text{cl}}(X\cup A)$.

### Types of pregeometries

The pregeometry $(S,{\text{cl}})$ is said to be:
* trivial (or degenerate) if ${\text{cl}}(X)=\bigcup \{{\text{cl}}(a)\mid a\in X\}$ for all non-empty $X\subseteq S$.
* modular if any two closed finite dimensional sets $X,Y\subseteq S$ satisfy the equation ${\text{dim}}(X\cup Y)={\text{dim}}(X)+{\text{dim}}(Y)-{\text{dim}}(X\cap Y)$ (or equivalently that $X$ is independent of $Y$ over $X\cap Y$).
* locally modular if it has a localization at a singleton which is modular.
* (locally) projective if it is non-trivial and (locally) modular.
* locally finite if closures of finite sets are finite.
Triviality, modularity and local modularity pass to the associated geometry and are preserved under localization.
If $S$ is a locally modular homogeneous pregeometry and $a\in S\setminus {\text{cl}}(\varnothing )$ then the localization of $S$ in $b$ is modular.
The geometry $S$ is modular if and only if whenever $a,b\in S$, $A\subseteq S$, ${\text{dim}}\{a,b\}=2$ and ${\text{dim}}_{A}\{a,b\}\leq 1$ then $({\text{cl}}\{a,b\}\cap {\text{cl}}(A))\setminus {\text{cl}}(\varnothing )\neq \varnothing$.

## Examples
### The trivial example

If $S$ is any set we may define ${\text{cl}}(A)=A$ for all $A\subseteq S$. This pregeometry is a trivial, homogeneous, locally finite geometry.

### Vector spaces and projective spaces

Let $F$ be a field (a division ring actually suffices) and let $V$ be a vector space over $F$. Then $V$ is a pregeometry where closures of sets are defined to be their span. The closed sets are the linear subspaces of $V$ and the notion of dimension from linear algebra coincides with the pregeometry dimension.
This pregeometry is homogeneous and modular. Vector spaces are considered to be the prototypical example of modularity.
$V$ is locally finite if and only if $F$ is finite.
$V$ is not a geometry, as the closure of any nontrivial vector is a subspace of size at least $2$.
The associated geometry of a $\kappa$-dimensional vector space over $F$ is the $(\kappa -1)$-dimensional projective space over $F$. It is easy to see that this pregeometry is a projective geometry.

### Affine spaces

Let $V$ be a $\kappa$-dimensional affine space over a field $F$. Given a set define its closure to be its affine hull (i.e. the smallest affine subspace containing it).
This forms a homogeneous $(\kappa +1)$-dimensional geometry.
An affine space is not modular (for example, if $X$ and $Y$ are parallel lines then the formula in the definition of modularity fails). However, it is easy to check that all localizations are modular.

### Field extensions and transcendence degree

Let $L/K$ be a field extension. The set $L$ becomes a pregeometry if we define ${\text{cl}}(A)=\{x\in L:x{\text{ is algebraic over }}K(A)\}$for $A\subseteq L$. The set $A$ is independent in this pregeometry if and only if it is algebraically independent over $K$. The dimension of $A$ coincides with the transcendence degree ${\text{trdeg}}(K(A)/K)$.
In model theory, the case of $L$ being algebraically closed and $K$ its prime field is especially important.
While vector spaces are modular and affine spaces are "almost" modular (i.e. everywhere locally modular), algebraically closed fields are examples of the other extremity, not being even locally modular (i.e. none of the localizations is modular).

### Strongly minimal sets in model theory

Given a countable first-order language L and an L-structure M, any definable subset D of M that is strongly minimal gives rise to a pregeometry on the set D. The closure operator here is given by the algebraic closure in the model-theoretic sense.
A model of a strongly minimal theory is determined up to isomorphism by its dimension as a pregeometry; this fact is used in the proof of Morley's categoricity theorem.
In minimal sets over stable theories the independence relation coincides with the notion of forking independence.