Classes of mathematical structures abound in modern math. Examples include:
- The class of all groups.
- The class of all partially-ordered sets.
- The class of vector spaces.
- The class of ordered fields isomorphic to $\mathbb{R}$.
- The class of all metric spaces.
- The class of all topological spaces.
- The class of all measurable spaces.
- The class of all probability spaces.
These classes can be described via a sequence of increasingly expressive specification languages.
- Equationally definable.
- Definable as a set of first-order sentences.
- Definable as a set of first-order sentences in multiple sorts.
- Definable as a set of first and second order sentences.
- Definable as a set of first and second order sentences in multiple sorts.
- [Don't know].
- [Don't know].
- [Don't know].
Is there a specification language that covers all of the above structures? I also want partial functions to be available e.g. for reciprocation in fields. Basically, something that covers all structures encountered in a typical undergraduate curriculum.