We have for . Let us define them categorically. The point of studying them categorically is that we need to generalize them to any topos.
Conjunction :
The conjunction is the characteristic function of
When , . Then the characteristic function of this subobject is just
Intersection:
It is not hard to see that the intersection of two subobjects is given by .
The partial order in .
With , we have a semilattice structure on . The following equalizer diagram is the standard way to define the order of a semilattice:
i.e. .
It is not hard to see that when , the order is just .
The .
With , we could define as follows:
That is, is just the characteristic function of .
It is not hard to see that
We could induce the partial order on by considering .
The false arrow
The false arrow is the characteristic arrow of the initial object.
In , , hence .
Negation
Once we have , we could define the negation as the characteristic function:
For , we have .
Complement
With the negation arrow, we could define the complement of a subobject as follows:
It's easy to see that when is a subset of , gives us the complement of .
Disjunction
It is not easy to define the disjunction arrow.
Firstly, we need to define the arrow .
Consider , here is the constant function.
It universally passes through the coproduct . We define the universal map to be:
Let be the image of the universal arrow via epi-mono decomposition:
When , we get .
Then we define as the characteristic function of .
Union
We could define the union of two subobjects via:
In , we have .
Quantifier as adjoint.
In , we could talk about .
For example, or . This sentence is either true or false.
Here is a predicate about , hence uniquely corresponds to a subset of .
For example, "all people on Earth feel happy" is false. "There exists some people on Earth who feel happy" is true.
Here represents people on Earth and indicates whether this person is happy or not. .
Indeed, is true iff , is true iff .
Consider the universal map in . Applying the subobject functor, we get .
We know that is an order preserving map, hence a functor.
Proposition. (actually it is the definition)
. Here means there exists , the input is a predicate(subset of ) and the out put is true or false.
We need to show that:
and
It is pretty easy to see since .
We prove first.
If , then we have . Then both sides are tautologies.
If , then we have . Both sides are tautologies as well.
Now we prove .
If , then and both sides are tautologies.
If , then , and both sides are tautologies.
Corollary..
Proof. Left adjoint preserve colimit and right adjoint preserve limit.
Corollary. Let and is a predicate of (hence it has to be ) and consider . Then .
Proof. Let , then we have .
Now let , we have .
Example. For all is a natural number is true, but there exists is natural number is false.
Negation of quantifiers in , perspective from adjoint functor.
Now let us see why we have .
Consider
For
Apply negation both side, we have
Hence , since the right adjoint is unique! Amazing right!
Similarly, for
Apply negation both sides we have:
Hence !
Indeed, what we have is and .
Since once we have two involution() functors and a pair of adjoints
We have
Since
Now apply this general result to our adjoint triples
Notice that we have , hence .
Therefore we have
i.e. and .
Local Quantifiers
But then you may ask me, how do I write something like ?
Well, we need to generalize the quantifier above first.
Definition.
Let be a function, then we define and to be the left and right adjoint of .
Indeed, we have:
is given by .
and
is given by
You should check that when , this gives us and and the following adjoint:
The way to understand is to view as a set of local truth values.
Similarly, we have, if is the unique map, we have
I would like to give some examples here to help readers understand .
Example.
Let be the set of all tasks.
Let be the set of all employees.
Let assign each task to its responsible employee (i.e., is the employee in charge of task ).
Now suppose on we have a predicate : “task is urgent.” Let be the subset of urgent tasks, so is represented by the characteristic function .
Existential quantification along , :For an employee , is true if and only if this employee has at least one assigned urgent task. Intuition: “This employee has some urgent task.”
Universal quantification along , :For an employee , is true if and only if all tasks assigned to this employee are urgent. (If the employee has no tasks, one usually treats this as true by convention, depending on the ambient context.) Intuition: “Every task of this employee is urgent.”
Local truth value explanation
Fix a map . Think of a point (e.g., an employee) as a local context. The quantifications along evaluate a predicate upstairs by aggregating over the fiber :
does OR over the fiber : It asks whether there exists some element in the fiber that satisfies the predicate. Intuition: “Does employee have some urgent task?”
does AND over the fiber : It asks whether every element in the fiber satisfies the predicate. Intuition: “Are all tasks assigned to employee urgent?” (If the fiber is empty, then is false and is true by vacuous truth.)
So for each we get two local truth values:
“Employee has an urgent task?” is .
“All tasks of employee are urgent?” is .
More formally: if is a predicate on (represented by a subobject or its characteristic map ), then
with the convention that is true when .
Composition of quantifiers
Now we consider the map , then:
Let be a predicate. .
Here is all the that make . Similarly, we have .
Now we could talk about something like .
That is:
It is easy to verify. For a fixed , . Hence is true iff
No comments:
Post a Comment