Blog Archive

Tuesday, April 16, 2024

Categorical Logic 1. disjuction, conjuction, implies, quantifer as adjoint.

Topics in Topos

 

Readers should be farmilar with category theory.

In the previous blog, we already know that coproduct and product is the left and right adjoint of Δ​.

Consider the category of a propositiaonal logic over a formal language L, the object is proposition and morphism is implies. Hence Δ. Moreover, we have product-exponential adjoint(or tensor-hom adjoint)

(1)pqrp(qr)

Or, using the language of tensor category, we get that:

(2)(homL(pq),r)homL(p,homL(q,r))

Consider a function f:XY, and the power set functor, which is natural isomorphic to Set(,2), induced the Boolean ring homomorphism f1:P(Y)P(X), can be viewed as a functor, if you view the poset as a category.

This blog introduce the left and right adjoint of f1​, whcih is known as quantifer as adjoint.

(3)ff1f

Let us define two functor f and f as follows.

(4)f:P(X)P(Y),f(U)={yY|x,f(x)=yxU}

That is, actually, the f(S). Readers may already see this adjoint f(S)USf1(U) in the blog about Galois Connection: Math Essays: Galois Connection in various branches (marco-yuze-zheng.blogspot.com).

The forall f is defined as

(5)f:P(X)P(Y),f(U)={yY|x,f(x)=yxU}

i.e. for each yf(U), we need that f1(y)U. In other word, f(U)={yY|f1(y)U}

Hence we have

(6)f1(S)USff(U)

If you consider a particular case, i.e. p:X×YY and p is the canonical projection.

Then the adjoint triple will give you the classic quantifer:

(7)yp1y

Let me explain more details.

The subset of X×Y can be realized as the subset satisfies S:X×Y2,S(x,y)=1. Here S​ is a predicate.

Remark.You will see the pull back diagram in Topos theory, the 2=F2 is the subobject classifier in Set​.

Hence in this case, we could consider yS(x,y) and yS(x,y) instead of (U) and (U).

Let us consider

(8)y:P(X×Y)P(Y),yS(x,y)={yY|(x,y),p(x,y)=yS(x,y)=1}

Hence yS(x,y) means y,S(x,y) is true! Moreover, yS(x,y) is the elements in Y makes S(x,y) ture.

Similarly,

(9)y:P(X×Y)P(Y),yS(x,y)={yY|(x,y),p(x,y)=yS(x,y)=1}

Hence yS(x,y) means yyS(x,y),S(x,y) is true!

Remark. If you compare the definition of f and f , you will see the product-exponential( ,). I do not fully understand it.

No comments:

Post a Comment

Popular Posts