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)p∧q⊢r⟺p⊢(q→r)

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

(2)(homL(p⊗q),r)≅homL(p,homL(q,r))

Consider a function f:X→Y, and the power set functor, which is natural isomorphic to Set(−,2), induced the Boolean ring homomorphism f−1: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 f−1​, whcih is known as quantifer as adjoint.

(3)∃f⊣f−1⊣∀f

Let us define two functor ∃f and ∀f as follows.

(4)∃f:P(X)→P(Y),∃f(U)={y∈Y|∃x,f(x)=y∧x∈U}

That is, actually, the f(S). Readers may already see this adjoint f(S)⊆U⟺S⊆f−1(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)={y∈Y|∀x,f(x)=y⟹x∈U}

i.e. for each y∈∀f(U), we need that f−1(y)⊆U. In other word, ∀f(U)={y∈Y|f−1(y)⊆U}

Hence we have

(6)f−1(S)⊆U⟺S⊆∀ff(U)

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

Then the adjoint triple will give you the classic quantifer:

(7)∃y⊣p−1⊣∀y

Let me explain more details.

The subset of X×Y can be realized as the subset satisfies S:X×Y→2,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)={y∈Y|∃(x,y),p(x,y)=y∧S(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)={y∈Y|∀(x,y),p(x,y)=y⟹S(x,y)=1}

Hence ∀yS(x,y) means ∀y∈∀yS(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