Syntax is something that prescribes how we are allowed to speak - it establishes the rules and constraints of our discourse.
Semantics is what our speech means - it gives content and interpretation to our syntactic expressions.
Let be a representable functor, with .
We should view as a kind of syntax and as a kind of semantics or model of in .
Consider the following examples:
For , consider the convergent sequence functor , we should view as the universal convergent sequence.
A model of in a space is a convergent sequence in .
For , consider . Then we have . We could view as the universal periodic function with .
For , is the solution set functor of , and we should view as the universal solution of .
For an well powered Topos , let be the subobject classifier, we have .
We should view , or its characteristic function as the universal subobject. Since every subobject is given by pullback of .
To formalize this idea, consider the category of elements , where .
The object is the syntax, a model or a semantics of this syntax on is a morphism
The identity is the universal model/semantics.
For example, in , the identity is . A convergent sequence on is a continuous function
It will correspond to
which is a semantics/model of in .
Now let us consider the projection functor
Then the fiber functor is representable
Remark. It looks like the fiber functor in Grothendieck Galois theory, huh.
The fiber is the collection of all the semantics/models of .
Now let us consider , which is the category of categories.
Fix a (small) category , and consider . Sometimes we consider some structure preserving functor, and we consider the subcategory of .
We should view as the syntax, and as a kind of semantics/model on .
Again, we should consider the category of elements with respect to .
The object is
Here is the syntax, and is a model in , and is the category of models in .
Example.
Consider the category , where is a group, and is a one-point category. Then
Consider the category
Then the syntax of quiver (edge, vertex, source and target) is given by
The semantics in form a topos.
Let be a ring and be the one-point category. Let be the category of additive categories (morphism is additive functor).
Then consider
Then
Let be the Lawvere theory of groups, and consider the category of cartesian monoidal categories (the morphism is product-preserving functor), then
No comments:
Post a Comment