A Logical Account for Linear Partial Differential Equations Marie - - PowerPoint PPT Presentation

a logical account for linear partial differential
SMART_READER_LITE
LIVE PREVIEW

A Logical Account for Linear Partial Differential Equations Marie - - PowerPoint PPT Presentation

LICS 2018, Oxford A Logical Account for Linear Partial Differential Equations Marie Kerjean IRIF, Universit e Paris Diderot kerjean@irif.fr 1/ 19 Linear Logic is about joining Logic and Algebra. Differential Linear Logic is about joining


slide-1
SLIDE 1

LICS 2018, Oxford

A Logical Account for Linear Partial Differential Equations

Marie Kerjean

IRIF, Universit´ e Paris Diderot kerjean@irif.fr

1/ 19

slide-2
SLIDE 2

Linear Logic is about joining Logic and Algebra. Differential Linear Logic is about joining Logic and Differentiation. In this talk, we join Logic and Mathematical Physics, Via Linear Partial Differential Equations and a generalization of Differential Linear Logic.

2/ 19

slide-3
SLIDE 3

Linear Logic is about joining Logic and Algebra. Differential Linear Logic is about joining Logic and Differentiation. In this talk, we join Logic and Mathematical Physics, Via Linear Partial Differential Equations and a generalization of Differential Linear Logic. This takes place in a more general setting: Computer Science is drifting from Discrete Mathematics to Analysis.

2/ 19

slide-4
SLIDE 4

Smoothness

Differentiation

Differentiating a function f : Rn → R at x is finding a linear approximation D(f )(x) : v → Dx(f )(v) of f near x.

f ∈ C∞(R, R) d(f )(0)

A coinductive definition

Smooth functions are functions which can be differentiated everywhere in their domain and whose differentials are smooth.

3/ 19

slide-5
SLIDE 5

Linear Logic

A decomposition of the implication

A ⇒ B ≃ !A ⊸ B

A linear proof is in particular non-linear.

A ⊢ B is linear. !A ⊢ B is non-linear. A ⊢ Γ dereliction !A ⊢ Γ

4/ 19

slide-6
SLIDE 6

Linear Logic

A decomposition of the implication

A⇒B ≃ !A ⊸ B Usual non-linear implication

A linear proof is in particular non-linear.

A ⊢ B is linear. !A ⊢ B is non-linear. A ⊢ Γ dereliction !A ⊢ Γ

4/ 19

slide-7
SLIDE 7

Linear Logic

A decomposition of the implication

A ⇒ B ≃ !A⊸B Linear implication

A linear proof is in particular non-linear.

A ⊢ B is linear. !A ⊢ B is non-linear. A ⊢ Γ dereliction !A ⊢ Γ

4/ 19

slide-8
SLIDE 8

Linear Logic

A decomposition of the implication

A ⇒ B ≃ !A⊸B Exponential: Usually, the duplicable copies of A. Here the exponential is a space of Solution to a Differential Equation.

A linear proof is in particular non-linear.

A ⊢ B is linear. !A ⊢ B is non-linear. A ⊢ Γ dereliction !A ⊢ Γ

4/ 19

slide-9
SLIDE 9

Differential Linear Logic

⊢ Γ, A⊥ d ⊢ Γ, ?A⊥ ⊢ ∆, A ¯ d ⊢ ∆, !A A linear proof is in particular non-linear. From a non-linear proof we can extract a linear proof

5/ 19

slide-10
SLIDE 10

Differential Linear Logic

⊢ Γ, ℓ : A⊥ d ⊢ Γ, ℓ : ?A⊥ ⊢ ∆, v : A ¯ d ⊢ ∆, (f → D0(f )(v)) : !A A linear proof is in particular non-linear. From a non-linear proof we can extract a linear proof

5/ 19

slide-11
SLIDE 11

Differential Linear Logic

⊢ Γ, ℓ : A⊥ d ⊢ Γ, ℓ : ?A⊥ ⊢ ∆, v : A ¯ d ⊢ ∆, (f → D0(f )(v)) : !A A linear proof is in particular non-linear. From a non-linear proof we can extract a linear proof

Cut-elimination:

⊢ Γ, v : !A ¯ d ⊢ Γ, !A ⊢ ∆, A⊥ d ⊢ ∆, ?A⊥ cut ⊢ Γ, ∆

  • ⊢ Γ, A

⊢ ∆, A⊥ cut Γ, ∆

5/ 19

slide-12
SLIDE 12

Differential Linear Logic

⊢ Γ, ℓ : A⊥ d ⊢ Γ, ℓ : ?A⊥ ⊢ ∆, v : A ¯ d ⊢ ∆, (f → D0(f )(v)) : !A A linear proof is in particular non-linear. From a non-linear proof we can extract a linear proof

Cut-elimination:

⊢ Γ, v : A ¯ d ⊢ Γ, D0( )(v) : !A ⊢ ∆, ℓ : A⊥ d ⊢ ∆, ℓ : ?A⊥ cut Γ, ∆

  • ⊢ Γ, x : A

⊢ ∆, ℓ : A⊥ cut Γ, ∆, D0(ℓ)(x) = ℓ(x) : R = ⊥

5/ 19

slide-13
SLIDE 13

Just a glimpse at Differential Linear Logic

A, B := A ⊗ B|1|A ` B|⊥|A ⊕ B|0|A × B|⊤|!A|!A

Exponential rules of DiLL0

⊢ Γ, ?A, ?A c ⊢ Γ, ?A ⊢ Γ w ⊢ Γ, ?A ⊢ Γ, A d ⊢ Γ, ?A ⊢ Γ, !A, ⊢ ∆, !A ¯ c ⊢ Γ, ∆, !A ⊢ ¯ w ⊢ !A ⊢ Γ, A ¯ d ⊢ Γ, !A

Normal functors, power series and λ-calculus. Girard, APAL(1988) Differential interaction nets, Ehrhard and Regnier, TCS (2006)

6/ 19

slide-14
SLIDE 14

Linear Partial Differential Equations with constant coefficient

Consider D a LPDO with constant coefficients: D =

  • α,|α|≤n

aα ∂α ∂xα . The heat equation in R2

∂2u ∂x2 − ∂u ∂t = 0

u(x, y, 0) = f (x, y)

Theorem (Malgrange 1956)

For any D LPDOcc, there is ED ∈ C∞

c (Rn, R)′ such that

DED = δ0, and thus for any φ ∈ C∞(Rn, R): D(ED ∗ φ) = φ

7/ 19

slide-15
SLIDE 15

Linear Partial Differential Equations with constant coefficient

Consider D a LPDO with constant coefficients: D =

  • α,|α|≤n

aα ∂α ∂xα . The heat equation in R2

∂2u ∂x2 − ∂u ∂t = 0

u(x, y, 0) = f (x, y)

Theorem (Malgrange 1956)

For any D LPDOcc, there is ED ∈ C∞

c (Rn, R)′ such that

DED = δ0, and thus for any φ ∈ C∞(Rn, R):

  • utput D(ED ∗ φ) = φ input

7/ 19

slide-16
SLIDE 16

What this work is about: A new exponential !D.

D is a Linear partial Differential Operator with constant coefficients:

DiLL

⊢ Γ, A d ⊢ Γ, ?A ⊢ Γ, A ¯ d ⊢ Γ, !A

D − DiLL

⊢ Γ, ?DA dD ⊢ Γ, ?A ⊢ Γ, !DA ¯ dD ⊢ Γ, !A

8/ 19

slide-17
SLIDE 17

What this work is about: A new exponential !D.

D is a Linear partial Differential Operator with constant coefficients:

DiLL = D0 − DiLL Because of A ≡ A⊥⊥

⊢ Γ, ?D0A d ⊢ Γ, ?A ⊢ Γ, !D0A ¯ d ⊢ Γ, !A

D − DiLL

⊢ Γ, ?DA dD ⊢ Γ, ?A ⊢ Γ, !DA ¯ dD ⊢ Γ, !A

8/ 19

slide-18
SLIDE 18

What this work is about: the same cut-elimination

Cut-elimination models resolution of the Linear Partial Differential Equations on Distributions Dψ = φ. ⊢ Γ, !DA ¯ dD ⊢ Γ, !A ⊢ ∆, ?DA⊥ dD ⊢ ∆, ?A⊥ cut ⊢ Γ, ∆

  • ⊢ Γ, !DA

⊢ ∆, ?DA cut ⊢ Γ, ∆

9/ 19

slide-19
SLIDE 19

It’s all about semantics

And getting a smooth model of Differential Linear Logic with involutive linear negation.

10/ 19

slide-20
SLIDE 20

It’s all about semantics

And getting a smooth model of Differential Linear Logic with involutive linear negation. A ⇒ B = C∞(A, B) A = A′′, spaces are reflexive

10/ 19

slide-21
SLIDE 21

Challenges

We encounter several difficulties in the context of topological vector spaces: Finding a category of tvs and smooth functions which is Cartesian closed. Requires some completeness, and a dual topology fine enough. Interpreting the involutive linear negation (E ⊥)⊥ ≃ E: Reflexive spaces, and a dual topology coarse enough.

11/ 19

slide-22
SLIDE 22

Challenges

We encounter several difficulties in the context of topological vector spaces: Finding a category of tvs and smooth functions which is Cartesian closed. Requires some completeness, and a dual topology fine enough. × Interpreting the involutive linear negation (E ⊥)⊥ ≃ E.

Convenient differential category Blute, Ehrhard Tasson Cah. Geom. Diff. (2010) Mackey-complete spaces and Power series, K. and Tasson, MSCS 2016.

11/ 19

slide-23
SLIDE 23

Challenges

We encounter several difficulties in the context of topological vector spaces: × Finding a category of tvs and smooth functions which is Cartesian closed. Requires some completeness, and a dual topology fine enough. Interpreting the involutive linear negation (E ⊥)⊥ ≃ E: Reflexive spaces, and a dual topology coarse enough.

Weak topologies for Linear Logic, K. LMCS 2015.

11/ 19

slide-24
SLIDE 24

Challenges

We encounter several difficulties in the context of topological vector spaces: Finding a category of tvs and smooth functions which is Cartesian closed. Requires some completeness, and a dual topology fine enough. Interpreting the involutive linear negation (E ⊥)⊥ ≃ E: Reflexive spaces, and a dual topology coarse enough. We construct in this paper a polarized solution to this problem.

11/ 19

slide-25
SLIDE 25

Distributions are everywhere

◮ Distributions with compact support are elements of

C∞(Rn, R)′, seen as generalisations of functions with compact support: φf : g ∈ C∞(Rn, R) →

  • fg.

◮ In a classical and Smooth model of Differential Linear Logic,

the exponential is a space of Distributions. !A ⊸ ⊥ = A ⇒ ⊥

12/ 19

slide-26
SLIDE 26

Distributions are everywhere

◮ Distributions with compact support are elements of

C∞(Rn, R)′, seen as generalisations of functions with compact support: φf : g ∈ C∞(Rn, R) →

  • fg.

◮ In a classical and Smooth model of Differential Linear Logic,

the exponential is a space of Distributions. !A ⊸ ⊥ = A ⇒ ⊥ L(!E, R) ≃ C∞(E, R)

12/ 19

slide-27
SLIDE 27

Distributions are everywhere

◮ Distributions with compact support are elements of

C∞(Rn, R)′, seen as generalisations of functions with compact support: φf : g ∈ C∞(Rn, R) →

  • fg.

◮ In a classical and Smooth model of Differential Linear Logic,

the exponential is a space of Distributions. !A ⊸ ⊥ = A ⇒ ⊥ L(!E, R) ≃ C∞(E, R) (!E)′′ ≃ C∞(E, R)′

12/ 19

slide-28
SLIDE 28

Distributions are everywhere

◮ Distributions with compact support are elements of

C∞(Rn, R)′, seen as generalisations of functions with compact support: φf : g ∈ C∞(Rn, R) →

  • fg.

◮ In a classical and Smooth model of Differential Linear Logic,

the exponential is a space of Distributions. !A ⊸ ⊥ = A ⇒ ⊥ L(!E, R) ≃ C∞(E, R) (!E)′′ ≃ C∞(E, R)′ !E ≃ C∞(E, R)′

12/ 19

slide-29
SLIDE 29

Topological models of DiLL

Coherent Banach spaces, Girard 2004, a norm is too restrictive Nuclear Fr´ echet spaces are reflexive and complete C∞(Rn, R) is not finite dimensional

Let us take the other way around, through Nuclear Fr´ echet spaces.

13/ 19

slide-30
SLIDE 30

A Smooth classical Differential Linear Logic with Distributions

Fr´ echet spaces DF-spaces Nuclear spaces ⊗π = ⊗ǫ Rn E ′ E ⊗π ` C∞(Rn, R) !Rn = C∞(Rn, R)′ ( )′ ( )′ Seely’s isomorphism corresponds to Schwartz Kernel Theorem. Getting a model with Higher-order was done in a recent collaboration with JS Lemay.

14/ 19

slide-31
SLIDE 31

Another exponential is possible

D a Linear Partial Differential operator with constant coefficients: !DE = (D(C∞(E, R))′ that is !DRn = {φ ∈ (C∞

c (Rn))′, Dφ ∈ !Rn}.

¯ dD :

  • !DE → Dφ

φ → (f → φ(D(f ))) dD :

  • !E → !DE

ψ → ψ ∗ ED ED is the fundamental solution of D.

Getting back to LL when D = D0

!D0A ≃ L(A, R)′ ≃ A′′ ≃ A by reflexivity. When D = Id, !DA = !A.

15/ 19

slide-32
SLIDE 32

What this work is about: the same cut-elimination

Cut-elimination models resolution of the Differential Equations on Distributions Dψ = φ. ⊢ Γ, φ : !DA ¯ dD ⊢ Γ, Dφ : !A ⊢ ∆, g : ?DA⊥ dD ⊢ ∆, ED ∗ g : ?A⊥ cut ⊢ Γ, ∆, D(φ)(ED ∗ g) : R = ⊥

  • ⊢ Γ, φ : !DA

⊢ ∆, g : ?D(A) cut ⊢ Γ, ∆, φ(g) : R = ⊥ D(ED ∗ φ)(g) = D(φ)(ED ∗ g) = φ(g) ψ = ED ∗ φ

16/ 19

slide-33
SLIDE 33

What this work is about: the same cut-elimination

Cut-elimination models resolution of the Differential Equations on Distributions Dψ = φ. ⊢ Γ, φ : !DA ¯ dD ⊢ Γ, Dφ : !A ⊢ ∆, g : ?DA⊥ dD ⊢ ∆, ED ∗ g : ?A⊥ cut ⊢ Γ, ∆, D(φ)(ED ∗ g) : R = ⊥

  • ⊢ Γ, φ : !DA

⊢ ∆, g : ?D(A) cut ⊢ Γ, ∆, φ(g) : R = ⊥ D(ED ∗ φ)(g) = D(φ)(ED ∗ g) = φ(g) ψ = ED ∗ φ

16/ 19

slide-34
SLIDE 34

What this work is about: the same cut-elimination

Cut-elimination models resolution of the Differential Equations on Distributions Dψ = φ. ⊢ Γ, φ : !DA ¯ dD ⊢ Γ, Dφ : !A ⊢ ∆, g : ?DA⊥ dD ⊢ ∆, ED ∗ g : ?A⊥ cut ⊢ Γ, ∆, D(φ)(ED ∗ g) = φ(g) : R = ⊥

  • ⊢ Γ, φ : !DA

⊢ ∆, g : ?D(A) cut ⊢ Γ, ∆, φ(g) : R = ⊥ D(ED ∗ φ)(g) = D(φ)(ED ∗ g) = φ(g) ψ = ED ∗ φ

16/ 19

slide-35
SLIDE 35

Intermediates rules for D

DiLL

⊢ Γ w ⊢ Γ, ?A ⊢ Γ, ?A, ?A c ⊢ Γ, ?A ⊢ Γ, A d ⊢ Γ, ?A ⊢ Γ ¯ w ⊢ Γ, !A ⊢ Γ, !A ⊢ ∆, !A ¯ c ⊢ Γ, ∆, !A ⊢ Γ, x : A ¯ d ⊢ Γ, D0( )(x)!A

D − DiLL

⊢ Γ w ⊢ Γ, ?DA ⊢ Γ, ?A, ?DA c ⊢ Γ, ?DA ⊢ Γ, ?DA dD ⊢ Γ, ?A ⊢ ¯ wD ⊢ ED : !DA ⊢ Γ, φ : !A ⊢ ∆, ψ : !DA ¯ cD ⊢ Γ, ∆, φ ∗ ψ : !DA ⊢ Γ, ψ : !DA ¯ d ⊢ Γ, Dψ : !A

A deterministic cut-elimination.

17/ 19

slide-36
SLIDE 36

Logic in Computer Science: Curry-Howard-Lambek

This Talk: Linear Partial Differential Equations are the Semantics for D − DiLL Mathematical Physics Theorical computer science

18/ 19

slide-37
SLIDE 37

Conclusion

Take away

Linear Logic and DiLL extends to Linear Partial Differential Operators, in which !A is interpreted by a space of distributions, and a space of solutions to a Differential Equation, and cut-elimination computes the solution. Now that we’ve build a bridge with functional analysis, there’s A LOT of exciting possibilities.

Two priorities

◮ Curry-Howard: a deterministic LPDE calculus. ◮ Most importantly: towards non-linear PDEs.

19/ 19