Blog Archive

Sunday, August 3, 2025

Proving that Ban is a Pre-Abelian Category via Cauchy Completion Functor

We are working over C.

Let Ban be the category of Banach spaces. Let X be a Banach space, a sub vector space VX is a subobject if V is closed. Otherwise V is not a Banach space. It is easy to see that Ban is an additive category. Similarly, denote Norm as the category of normed vector spaces, which is a pre-abelian category.

We would like to prove that Ban is a pre-abelian category.

It is easy to see that the kernel exists in Ban. For cokernel, we have the following adjoint pair between Norm and Ban:

UF

Here U is the Cauchy completion functor, and F is the forgetful/embedding functor. Then both U,F are additive functors.

Proposition. Let X be a Banach space and K is a closed subspace of X. Then the cokernel of KX exists.

Proof. Consider the following short exact sequence in Norm:

0KXπX/K0

The Cauchy completion functor preserves cokernels:

U(coker(KX))coker(U(K)U(X))coker(KX)

Hence U(X/K)X/K.

 

Saturday, August 2, 2025

Categorical Logic Primer: Connectives and Quantifiers

Pin by Cristina Bordieri on Monet | Claude monet art, Claude monet ...

Categorical review of logic in Set.

We know in Set, the subobject classifier is 2={,}{0,1}.

We have ,,,,,¬ for 2. 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 ,

image-20250802174330975

When Ω=2, ,:1(,). Then the characteristic function of this subobject is just

xy:=(x,y)=x=y=
Intersection:

It is not hard to see that the intersection of two subobjects χA,χBX is given by χA,χB:XΩ.

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:

image-20250802181417861

i.e. xyxy=x.

It is not hard to see that when Ω=2, the order is just .

The .

With , we could define ⇒:Ω×ΩΩ as follows:

image-20250802181833252

That is, is just the characteristic function of .

It is not hard to see that (pq)=(p,q)∈≤={(,),(,),(,)}

We could induce the partial order on Hom(X,Ω) by considering χAχB(χA,χB)=.

The false arrow

The false arrow is the characteristic arrow of the initial object.

image-20250802193751108

In Set, 0=, hence :1.

Negation

Once we have :1Ω, we could define the negation as the characteristic function:

image-20250802194240299

For Ω=2, we have ¬=,¬=.

Complement

With the negation arrow, we could define the complement of a subobject as follows:

¬χA

It's easy to see that when AX is a subset of X, ¬χA=χAc gives us the complement of A.

Disjunction

It is not easy to define the disjunction arrow.

Firstly, we need to define the arrow ,id,id,.

Consider ,id,id,:ΩΩ×Ω, here is the constant function.

It universally passes through the coproduct Ω+Ω. We define the universal map to be:

,id,id,

Let U be the image of the universal arrow via epi-mono decomposition:

image-20250802195910302

When Ω=2, we get U={(,),(,),(,)}.

Then we define as the characteristic function of U.

image-20250802201446265

Union

We could define the union of two subobjects via:

χA,χB

In Set, we have χA,χB=χAB.

Quantifier as adjoint.

In Set, we could talk about ,.

For example, xX,P(x) or xX,P(x). This sentence is either true or false.

Here P:X2 is a predicate about X, hence uniquely corresponds to a subset of X.

For example, "all people on Earth feel happy" is false. "There exists some people on Earth who feel happy" is true.

Here xX represents people on Earth and p:X2 indicates whether this person is happy or not. xX:=X:P(X)2.

Indeed,xX,P is true iff P, xX,P is true iff P=X.

Consider the universal map !:X1 in Set. Applying the subobject functor, we get Sub(!)=!1():2Sub(X).

We know that !1 is an order preserving map, hence a functor.

Proposition. (actually it is the definition)

!!1!. Here ! means there exists xX, the input is a predicate(subset of X) and the out put is true or false.

We need to show that:

!(P)?P!1(?)

and

!1(?)Q?!(Q)

It is pretty easy to see since ?2.

We prove ! first.

If ?=, then we have !(U)U=. Then both sides are tautologies.

If ?=, then we have !1(?)=X. Both sides are tautologies as well.

Now we prove !.

If ?=, then !1(?)= and both sides are tautologies.

If ?=, then V=X,!(V)=, and both sides are tautologies.

Corollary. !(pq)=!(p)!(q),!(pq)=!(p)!(q).

Proof. Left adjoint preserve colimit and right adjoint preserve limit.

Corollary. Let X= and P is a predicate of (hence it has to be ) and consider !:X1. Then !(P)=,!(P)=.

Proof. Let ?=, then we have =P!1()!(P)!(P)=.

Now let ?=, we have =!1()P!(P).!(P)=.

Example. For all x,x is a natural number =!(P) is true, but there exists x,x is natural number =!(P) is false.

Negation of quantifiers in Set, perspective from adjoint functor.

Now let us see why we have ¬(xX,P)=xX,¬P.

Consider

!(P)?P!1(?),!1(?)Q?!(Q)

For

!(P)?P!1(?)

Apply negation both side, we have

!1(¬?)¬P¬?¬!(P)

Hence ¬!(P)=!(¬P), since the right adjoint is unique! Amazing right!

Similarly, for

!1(?)Q?!(Q)

Apply negation both sides we have:

¬!(Q)¬?¬Q!1(¬?)

Hence ¬!(Q)=!(¬Q) !

Indeed, what we have is ¬!¬=! and ¬!¬=!.

Since once we have two involution(F2=id) functors NC:CopC,ND:DopD and a pair of adjoints

LR

We have

NDRNCNCLND

 

Since

HomD(NDRNC(X),V)HomD(NDV,RNC(X))HomC(LND(V),NC(X))HomC(X,NCLND(V)),

Now apply this general result to our adjoint triples

Notice that we have !1¬=¬!1, hence ¬!1¬=!1.

Therefore we have

¬!¬!1¬!¬

i.e. ¬!¬=! and ¬!¬=!.

Local Quantifiers

But then you may ask me, how do I write something like εR,NN,P(ε,N)?

Well, we need to generalize the quantifier above first.

Definition.

Let f:XY be a function, then we define f and f to be the left and right adjoint of f1.

Indeed, we have:

f:P(X)P(Y) is given by f(U):={yY:xU,f(x)=y}=f(U).

and

f:P(X)P(Y) is given by f(U):={yY:xX,f(x)=yxU}={yY:f1(y)U}

You should check that when f=!, this gives us ! and ! and the following adjoint:

f(U)=f(U)VUf1(V),f1(U)VUf(V)

The way to understand f,f is to view Sub(Y) as a set of local truth values.

Similarly, we have, if X=,f:Y is the unique map, we have

f(P)=f(P)=,f(P)={yY:f1(y)P}=Y

I would like to give some examples here to help readers understand f,f.

Example.
  • Let X be the set of all tasks.

  • Let Y be the set of all employees.

  • Let f:XY assign each task to its responsible employee (i.e., f(x) is the employee in charge of task x).

Now suppose on X we have a predicate φ(x): “task x is urgent.” Let AX be the subset of urgent tasks, so φ is represented by the characteristic function χφ:X{0,1}.

  • Existential quantification along f, fφ: For an employee yY, (fφ)(y) 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 f, fφ: For an employee y, (fφ)(y) 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 f:XY. Think of a point yY (e.g., an employee) as a local context. The quantifications along f evaluate a predicate upstairs by aggregating over the fiber f1(y):

  • f does OR over the fiber f1(y):
    It asks whether there exists some element in the fiber that satisfies the predicate. Intuition: “Does employee y have some urgent task?”

  • f does AND over the fiber f1(y):
    It asks whether every element in the fiber satisfies the predicate. Intuition: “Are all tasks assigned to employee y urgent?” (If the fiber is empty, then f is false and f is true by vacuous truth.)

So for each yY we get two local truth values:

  • “Employee y has an urgent task?” is (fφ)(y).

  • “All tasks of employee y are urgent?” is (fφ)(y).

More formally: if φ is a predicate on X (represented by a subobject AX or its characteristic map χφ:XΩ), then

(fφ)(y)=truexX, f(x)=y and φ(x) holds,
(fφ)(y)=truefor all xX with f(x)=y, φ(x) holds,

with the convention that (fφ)(y) is true when f1(y)=.

Composition of quantifiers

Now we consider the map πX:X×YX, then:

Let P:X×Y2 be a predicate. πX(P)=πX(P)={xX:yY,P(x,y)=}.

Here πX is all the xX that make P(x,y)=. Similarly, we have πX(P)={xX:yY,P(x,y)=}.

Now we could talk about something like xX,yY,P(x,y).

That is:

!πX:P(X×Y)2

It is easy to verify. For a fixed xX, yY,P(x,y)=xπX(P). Hence xX,yY,P(x,y) is true iff

!πX(P)=πX(P)=X.

For example, let X=R,Y=N. Then εR,nN,f(n)ε is given by:

!πR({(ε,n):f(n)ε})

It is true means:

πR({(ε,n):f(n)ε})={εR:nN,f(n)ε}=R

We also could talk about something like xX,yY,P(x,y).

Which is given by:

!πX(P)

For example, n{1,2,3},m{1,0},nm.

Hence consider !π{1,2,3}({(n,m){1,2,3}×{1,0},nm})=!(X)=

If we consider n{1,2,3},m{1,0},nm, then what we will get is just:

!π{1,2,3}()=

 

 

 

Popular Posts