Bundled First-Order Structures #
This file bundles types together with their first-order structure.
Main Definitions #
FirstOrder.Language.Theory.ModelType
is the type of nonempty models of a particular theory.FirstOrder.Language.equivSetoid
is the isomorphism equivalence relation on bundled structures.
TODO #
- Define category structures on bundled structures and models.
Equations
- CategoryTheory.Bundled.structure M = M.str
A type bundled with the structure induced by an equivalence.
Equations
Instances For
An equivalence of types as a first-order equivalence to the bundled structure on the codomain.
Equations
Instances For
The equivalence relation on bundled L.Structure
s indicating that they are isomorphic.
Equations
- One or more equations did not get rendered due to their size.
The type of nonempty models of a first-order theory.
- Carrier : Type w
- struc : FirstOrder.Language.Structure L ↑self
- is_model : ↑self ⊨ T
- nonempty' : Nonempty ↑self
Instances For
Equations
- FirstOrder.Language.Theory.ModelType.instCoeSort T = { coe := FirstOrder.Language.Theory.ModelType.Carrier }
The object in the category of R-algebras associated to a type equipped with the appropriate typeclasses.
Instances For
Equations
- FirstOrder.Language.Theory.ModelType.instInhabited = { default := FirstOrder.Language.Theory.ModelType.of ∅ PUnit.{w + 1} }
Maps a bundled model along a bijection.
Equations
Instances For
Equations
- (_ : Small.{w', w} ↑(FirstOrder.Language.Theory.ModelType.of T M)) = h
Shrinks a small model to a particular universe.
Equations
Instances For
Lifts a model to a particular universe.
Equations
Instances For
The reduct of any model of φ.onTheory T
is a model of T
.
Equations
Instances For
When φ
is injective, defaultExpansion
expands a model of T
to a model of φ.onTheory T
arbitrarily.
Equations
Instances For
Equations
- FirstOrder.Language.Theory.ModelType.leftStructure M = FirstOrder.Language.LHom.reduct FirstOrder.Language.LHom.sumInl ↑M
Equations
- FirstOrder.Language.Theory.ModelType.rightStructure M = FirstOrder.Language.LHom.reduct FirstOrder.Language.LHom.sumInr ↑M
A model of a theory is also a model of any subtheory.
Equations
Instances For
Equations
- (_ : ↑(FirstOrder.Language.Theory.ModelType.subtheoryModel M h) ⊨ T) = (_ : ↑M ⊨ T)
Bundles M ⊨ T
as a T.ModelType
.
Instances For
A structure that is elementarily equivalent to a model, bundled as a model.
Equations
Instances For
An elementary substructure of a bundled model as a bundled model.
Equations
Instances For
Equations
- (_ : Small.{u_2, u_1} ↑(FirstOrder.Language.ElementarySubstructure.toModel T S)) = h