preamble Differential Join Restriction Categories Jonathan - - PowerPoint PPT Presentation

preamble differential join restriction categories
SMART_READER_LITE
LIVE PREVIEW

preamble Differential Join Restriction Categories Jonathan - - PowerPoint PPT Presentation

preamble Differential Join Restriction Categories Jonathan Gallagher with Robin Cockett and Geoff Cruttwell October 23, 2010 1 / 24 Talk Outline Talk Outline Goal: Give and motivate the definition of differential Background join


slide-1
SLIDE 1

preamble

slide-2
SLIDE 2

1 / 24

Differential Join Restriction Categories

Jonathan Gallagher with Robin Cockett and Geoff Cruttwell

October 23, 2010

slide-3
SLIDE 3

Talk Outline

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

2 / 24

Goal: Give and motivate the definition of differential join restriction category.

Here are the ideas outlining the talk.

  • Restriction categories axiomatize partiality.
  • Cartesian differential categories axiomatize smooth functions
  • n Rn.
  • Differential restriction categories combine the two theories to

axiomatize the category of smooth functions on an open subset of Rn.

  • Differential join restriction categories bring more topological

structure.

slide-4
SLIDE 4

Background

  • Talk Outline

Background

  • Restriction

Categories

  • Restriction

Categories Examples

  • Cartesian Differential

Categories

  • Differential Restriction

Categories

  • Cartesian Restriction

Categories

  • Cartesian Left

Additive Restriction Categories Differential Restriction Categories Differential Join Restriction Categories

3 / 24

slide-5
SLIDE 5

Restriction Categories

  • Talk Outline

Background

  • Restriction

Categories

  • Restriction

Categories Examples

  • Cartesian Differential

Categories

  • Differential Restriction

Categories

  • Cartesian Restriction

Categories

  • Cartesian Left

Additive Restriction Categories Differential Restriction Categories Differential Join Restriction Categories

4 / 24

Definition 1. A restriction category is a category X with a combinator, ( ) : X(A, B) −

→ X(A, A), satisfying

R.1 f f = f; R.2 f g = g f ; R.3 f g = f g ; R.4 fh = fh f.

A f A B f

slide-6
SLIDE 6

Restriction Categories Examples

  • Talk Outline

Background

  • Restriction

Categories

  • Restriction

Categories Examples

  • Cartesian Differential

Categories

  • Differential Restriction

Categories

  • Cartesian Restriction

Categories

  • Cartesian Left

Additive Restriction Categories Differential Restriction Categories Differential Join Restriction Categories

5 / 24

  • PAR the category of sets and partial functions is a restriction
  • category. f gives the domain of definition of f.

f (x) =

  • x

f(x) ↓ ↑

else

  • TOP the category of topological spaces and continous maps

defined on an open set is a restriction category. This category has the same restriction as PAR. Other examples of restriction categories can be found in [2]

slide-7
SLIDE 7

Cartesian Differential Categories

  • Talk Outline

Background

  • Restriction

Categories

  • Restriction

Categories Examples

  • Cartesian Differential

Categories

  • Differential Restriction

Categories

  • Cartesian Restriction

Categories

  • Cartesian Left

Additive Restriction Categories Differential Restriction Categories Differential Join Restriction Categories

6 / 24

Cartesian Differential Categories [1] axiomatize smooth functions on Rn by axiomatizing a differential combinator (think Jacobian). The differential combinator has the type,

f : Rn − → Rm D[f] : Rn − → (Rn ⊸ Rm)

It is too strong to assume that the category is closed with respect to linear

  • maps. Thus the differential combinator is used in uncurried form.

f : Rn − → Rm D[f] : Rn × Rn − → Rm

The first coordinate is the directional vector. The second coordinate is the point of differentiation. This axiomatization will require products. Left additivity is needed for vectors.

slide-8
SLIDE 8

Differential Restriction Categories

  • Talk Outline

Background

  • Restriction

Categories

  • Restriction

Categories Examples

  • Cartesian Differential

Categories

  • Differential Restriction

Categories

  • Cartesian Restriction

Categories

  • Cartesian Left

Additive Restriction Categories Differential Restriction Categories Differential Join Restriction Categories

7 / 24

To build the theory of differential restriction categories, change the theory of cartesian differential categories in light of restriction

  • structure. This means reconsidering:
  • Cartesian categories,
  • Left additive categories and cartesian left categories, and
  • Differential categories.
slide-9
SLIDE 9

Cartesian Restriction Categories

  • Talk Outline

Background

  • Restriction

Categories

  • Restriction

Categories Examples

  • Cartesian Differential

Categories

  • Differential Restriction

Categories

  • Cartesian Restriction

Categories

  • Cartesian Left

Additive Restriction Categories Differential Restriction Categories Differential Join Restriction Categories

8 / 24

Pairing two maps together in a restriction category brings up the partiality of both.

Definition 2. A map in a restriction category is total when f = 1. Definition 3. A restriction product of A, B is an object A × B such that for any f : C −

→ A, g : C − → B there is a unique f, g : C − → A × B

such that

C

f

  • g
  • f,g

a ≤ b ⇔ a b = a A A × B

π0

  • π1

B

where π0, π1 are total and f, g = f g . A restriction terminal object is 1 such that for any object A, there is a unique total map !A : A −

→ 1 which satisfies !1 = id1. Further, for any

map f : A −

→ B, f!B ≤!A.

A cartesian restriction category has all restriction products.

slide-10
SLIDE 10

Cartesian Left Additive Restriction Categories

  • Talk Outline

Background

  • Restriction

Categories

  • Restriction

Categories Examples

  • Cartesian Differential

Categories

  • Differential Restriction

Categories

  • Cartesian Restriction

Categories

  • Cartesian Left

Additive Restriction Categories Differential Restriction Categories Differential Join Restriction Categories

9 / 24

The addition of two maps must only be defined when both are. Definition 4. A left additive restriction category has each

X(A, B) a commutative monoid with f + g = f g and 0 being

  • total. Furthermore, h(f + g) = hf + hg and s0 = s 0

Definition 5. A map, h, in a left additive restriction category is total additive if h is total, and (f + g)h = fh + gh. Definition 6. A cartesian left additive restriction category is both a left additive restriction category and a cartesian restriction category where π0, π1, and ∆ are total additive, and

(f + h) × (g + k) = (f × g) + (h × k).

slide-11
SLIDE 11

Differential Restriction Categories

  • Talk Outline

Background Differential Restriction Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples Differential Join Restriction Categories

10 / 24

slide-12
SLIDE 12

Differential Restriction Categories

  • Talk Outline

Background Differential Restriction Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples Differential Join Restriction Categories

11 / 24

A differential restriction category is a cartesian left additive restriction category with a differential combinator

f : X − → Y D[f] : X × X − → Y

such that

DR.1 D[f + g] = D[f] + D[g] and D[0] = 0 (additivity of the differential combinator); DR.2 g + h, kD[f] = g, kD[f] + h, kD[f] and

0, gD[f] = gf0 (additivity of differential in first coordinate);

DR.3 D[1] = π0, D[π0] = π0π0, and D[π1] = π0π1; DR.4 D[f, g] = D[f], D[g]; DR.5 D[fg] = D[f], π1fD[g] (Chain rule);

slide-13
SLIDE 13

Differential Restriction Categories

  • Talk Outline

Background Differential Restriction Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples Differential Join Restriction Categories

12 / 24

f : X − → Y D[f] : X × X − → Y

(... and)

DR.6 g, 0, h, kD[D[f]] = hg, kD[f] (linearity of the derivative) DR.7 0, h, g, kD[D[f]] = 0, g, h, kD[D[f]] (independence

  • f partial derivatives);

DR.8 D[f] = (1 × f)π0; DR.9 D[f] = 1 × f (Undefinedness comes from the “point”).

slide-14
SLIDE 14

Differential Restriction Categories: Examples

  • Talk Outline

Background Differential Restriction Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples Differential Join Restriction Categories

13 / 24

Example 1: Smooth Maps on open subsets of Rn

  • The Jacobian matrix provides the differential structure.

Jf(y1, . . . , yn) =   

∂f1 ∂x1 (y1, . . . , yn)

. . .

∂f1 ∂xn (y1, . . . , yn)

. . . ... . . .

∂fm ∂x1 (y1, . . . , yn)

. . .

∂fm ∂xn (y1, . . . , yn)

  

  • D[f] : (x1, . . . , xn, y1, . . . , yn) →

Jf(y1, . . . , yn) · (x1, . . . , xn).

slide-15
SLIDE 15

Differential Restriction Categories: Examples

  • Talk Outline

Background Differential Restriction Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples Differential Join Restriction Categories

14 / 24

Example 2: Rational Functions Let R be a rig. Then RATR is a restriction category where Obj: n ∈ N Arr: n → m given by a pair

  • fi

gi

m

i=1 , U

  • where U is a finitely

generated multiplicative set with fi

gi ∈ R[x1, . . . , xn]

  • U−1

.

Id: ((xi) , ∅) : n −

→ n

Comp: By substitution Rest:

  • pi

qi

m

i=1 , U

  • = ((xi) , U)
slide-16
SLIDE 16

Differential Restriction Categories: Examples

  • Talk Outline

Background Differential Restriction Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples

  • Differential Restriction

Categories: Examples Differential Join Restriction Categories

15 / 24

For polynomials over a rig, there is a formal partial derivative. Let

f =

l alxl1 1 · · · xln n . Then the partial derivative with respect to xk

is,

∂f ∂xk =

  • l

lkalxl1

1 · · · xlk−1 k−1xlk−1 k

xlk+1

k+1 · · · xln n

If R is a ring, then rational functions also have a formal partial derivative.

∂ p

q

∂xk =

∂p xk q − p ∂q xk

q2 .

The differential on RATR is given by the formal Jacobian matrix of these formal partial derivatives.

slide-17
SLIDE 17

Differential Join Restriction Categories

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

16 / 24

slide-18
SLIDE 18

Join Restriction Categories

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

17 / 24

  • We have just seen two examples of differential restriction
  • categories. There is a difference: one has topological

properties the other does not. We will explore the structure that gives these topological properties.

  • We will also give a differential restriction category that is not

defined by a Jacobian matrix.

slide-19
SLIDE 19

Join Restriction Categories

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

18 / 24

Definition 7. In a restriction category, parallel maps f and g are compatible if f g = g f. Definition 8. A restriction category, X, is a join restriction category if every set of compatible maps, C ⊆ X(A, B), has a join (sup) that is stable; i.e.,

f  

g∈C

g   =

  • g∈C

fg.

Theorem 1. Join and differential restriction structure are compatible; i.e.

D

  • i

fi

  • =
  • D [fi] .
slide-20
SLIDE 20

Counter-example

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

19 / 24

Smooth functions are a differential join restriction category, but rational functions are not. Rational functions can have a sup for every set of compatible maps, but stability fails. Consider,

(1, x − 1) ⌣ (1, y − 1) ,

so the join must be

(1, 1) .

As a counterexample, consider the substitution

  • x2/x, x2/y
  • .

x − 1 ∩ y − 1 does not contain x or y; thus, the substitution

does not contain x − 1. However,

x − 1 ∈

  • x2/x, x2/y
  • x − 1 ∩
  • x2/x, x2/y
  • y − 1
  • .
slide-21
SLIDE 21

Join Restriction Categories

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

20 / 24

  • The structure of join restriction categories allow any map to be

broken into arbitrary pieces and put together again.

  • Join restriction categories have more topological structure; for

an object A, {e : A −

→ A | e = e } is a locale.

  • Join restriction categories allow the classical completion [3]

and the manifold completion [4].

slide-22
SLIDE 22

Join Completion

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

21 / 24

Let X be any restriction category. We can obtain a join restriction category from X by a universal construction Jn(X): Obj: Those of X. Arr: A

F

− − → B is a subset F ⊆ X(A, B) that is pairwise

compatible and has the property that if f ∈ F and h ≤ f (i.e.

h f = h) then h ∈ F.

Id: ↓ 1A = {d : A −

→ A | d ≤ 1A}

Comp: FG = {fg | f ∈ F, g ∈ G} Rest: F = {f | f ∈ F} Join:

i Fi = i Fi

slide-23
SLIDE 23

Join Completion

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

22 / 24

Theorem 2. If X is a differential restriction category, then Jn(X) is a differential join restriction category. The differential structure on Jn(X) is

D[F] =↓ {D[f] | f ∈ F} = {e | e ≤ D[f] for some f ∈ F}

  • This differential restriction structure is not given by a Jacobian.
  • We can now obtain a differential join restriction category from

RATR.

slide-24
SLIDE 24

Concluding Remarks

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

23 / 24

  • From any differential restriction category we can obtain a

differential join restriction category.

  • Coming next: The manifold completion of a differential join

restriction category has a tangent bundle structure which allow the axiomatization of differential geometry categories.

Thank you.

slide-25
SLIDE 25

References

  • Talk Outline

Background Differential Restriction Categories Differential Join Restriction Categories

  • Join Restriction

Categories

  • Join Restriction

Categories

  • Counter-example
  • Join Restriction

Categories

  • Join Completion
  • Join Completion
  • Concluding Remarks
  • References

24 / 24

[1] R.F Blute, J.R.B. Cockett, and R.A.G. Seely. Cartesian differential categories. Theory and Application of Categories, 22:622–672, 2009. [2] Robin Cockett and Stepen Lack. Restriction categories i: Categories of partial maps. Theoretical Computer Science, 270:223–259, 2002. [3] Robin Cockett and Ernie Manes. Boolean and classical restriction categories. Mathematical Structures in Computer Science, 19-2:357–416, 2009. [4] Marco Grandis. Manifolds as enriched categories. Categorical Topology, pages 358–368, 1989.