70
Introduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante 1 Pierre Boudes 2 Jean-Yves Moyen 2 [email protected] 1 Universit´ e de Lorraine ´ Ecole des Mines de Nancy 2 Universit´ e Paris 13 Partly supported by the ANR project Complice (ANR-08-BLANC-0211-01) November 2013 Bonfante, Boudes, Moyen Expressive Power and Algorithms

Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

  • Upload
    others

  • View
    21

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Expressive Power and Algorithms

Guillaume Bonfante1 Pierre Boudes2 Jean-Yves Moyen2

[email protected]

1Universite de LorraineEcole des Mines de Nancy

2Universite Paris 13

Partly supported by the ANR project Complice (ANR-08-BLANC-0211-01)

November 2013

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 2: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

Introduction

Page 3: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Motivations

Are “complicated” programming constructions reallyuseful? We’re still Turing-complete without them.High-order? Non-determinism? Co-arity? Multiple tapes?Large alphabets? . . .

Which is “the best” ICC system for Ptime?MPO+QI? DLAL? mwp-polynomials? NSI? . . .

How to even compare them?

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 4: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Motivations

Are “complicated” programming constructions reallyuseful? We’re still Turing-complete without them.High-order? Non-determinism? Co-arity? Multiple tapes?Large alphabets? . . .

Which is “the best” ICC system for Ptime?MPO+QI? DLAL? mwp-polynomials? NSI? . . .

How to even compare them?

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 5: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

Magic Trick!

Page 6: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Explaining the Trick

bead = program

color = computed function

small bead = a given syntactical criterion

Each set of “programs” computes the same set of “functions”.But the first one has more things (small black beads) and onlythe filter can reveal it.

There is no color- and size-preserving function from the first setto the second.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 7: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Explaining the Trick

bead = program

color = computed function

small bead = a given syntactical criterion

Each set of “programs” computes the same set of “functions”.But the first one has more things (small black beads) and onlythe filter can reveal it.

There is no color- and size-preserving function from the first setto the second.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 8: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Explaining the Trick

bead = program

color = computed function

small bead = a given syntactical criterion

Each set of “programs” computes the same set of “functions”.But the first one has more things (small black beads) and onlythe filter can reveal it.

There is no color- and size-preserving function from the first setto the second.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 9: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Life without Cons

First order functional programs are Turing-complete. Whyusing high-order?

Libraries

Easier to write, more elegant programs.

Jones looked at “CONS free” (read only) programs.

First order CONS free: Ptime

Second order CONS free: Exptime

High order CONS free: Elem

High order is “more expressive” than first order, butTuring-completeness hide this.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 10: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Life without Cons

First order functional programs are Turing-complete. Whyusing high-order?

Libraries

Easier to write, more elegant programs.

Jones looked at “CONS free” (read only) programs.

First order CONS free: Ptime

Second order CONS free: Exptime

High order CONS free: Elem

High order is “more expressive” than first order, butTuring-completeness hide this.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 11: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Life without Cons

First order functional programs are Turing-complete. Whyusing high-order?

Libraries

Easier to write, more elegant programs.

Jones looked at “CONS free” (read only) programs.

First order CONS free: Ptime

Second order CONS free: Exptime

High order CONS free: Elem

High order is “more expressive” than first order, butTuring-completeness hide this.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 12: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

MotivationsExplaining the trick

Life without Cons

First order functional programs are Turing-complete. Whyusing high-order?

Libraries

Easier to write, more elegant programs.

Jones looked at “CONS free” (read only) programs.

First order CONS free: Ptime

Second order CONS free: Exptime

High order CONS free: Elem

High order is “more expressive” than first order, butTuring-completeness hide this.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 13: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

Expressive Power

Page 14: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Compilation

Programming language: P ⊃ L,M (syntactic)

Computable functions: C

Semantics: P CJ•K

JLK = A = B = JMK

Compilation ϕ : L→M , Jϕ(p)K = JpK Semantics preserving

L

M

AJ•K

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 15: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Compilation

Programming language: P ⊃ L,M (syntactic)

Computable functions: C

Semantics: P CJ•K

JLK = A = B = JMK

Compilation ϕ : L→M , Jϕ(p)K = JpK Semantics preserving

L

M

AJ•K

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 16: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Compilation

Programming language: P ⊃ L,M (syntactic)

Computable functions: C

Semantics: P CJ•K

JLK = A = B = JMK

Compilation ϕ : L→M , Jϕ(p)K = JpK Semantics preserving

L

M

AJ•K

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 17: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Compilation

Programming language: P ⊃ L,M (syntactic)

Computable functions: C

Semantics: P CJ•K JLK = A = B = JMK

Compilation ϕ : L→M , Jϕ(p)K = JpK Semantics preserving

L

M

A

BJ•K

J•K

id

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 18: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Compilation

Programming language: P ⊃ L,M (syntactic)

Computable functions: C

Semantics: P CJ•K JLK = A = B = JMK

Compilation ϕ : L→M , Jϕ(p)K = JpK Semantics preserving

L

M

A

BJ•K

J•K

id Hard to prove

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 19: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Compilation

Programming language: P ⊃ L,M (syntactic)

Computable functions: C

Semantics: P CJ•K JLK = A = B = JMK

Compilation ϕ : L→M , Jϕ(p)K = JpK Semantics preserving

L

M

A

B

ϕ

J•K

J•K

id

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 20: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Filtering

Hypothesis

JLK = A = B = JMK

“Filter”: set of programs F ⊂ P (syntactic criterion)

Filtering: L′ = L ∩ F , M ′ = M ∩ FBreaking semantic equality: JL′K = A′ ) B′ = JM ′K

Conclusion

There is no filter-preserving compilation: p ∈ F ⇒ ϕ(p) ∈ F

Conversely, if there exists a filter preserving compilation, thenA′ = B′.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 21: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Filtering

Hypothesis

JLK = A = B = JMK“Filter”: set of programs F ⊂ P (syntactic criterion)

Filtering: L′ = L ∩ F , M ′ = M ∩ F

Breaking semantic equality: JL′K = A′ ) B′ = JM ′K

Conclusion

There is no filter-preserving compilation: p ∈ F ⇒ ϕ(p) ∈ F

Conversely, if there exists a filter preserving compilation, thenA′ = B′.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 22: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Filtering

Hypothesis

JLK = A = B = JMK“Filter”: set of programs F ⊂ P (syntactic criterion)

Filtering: L′ = L ∩ F , M ′ = M ∩ FBreaking semantic equality: JL′K = A′ ) B′ = JM ′K

Conclusion

There is no filter-preserving compilation: p ∈ F ⇒ ϕ(p) ∈ F

Conversely, if there exists a filter preserving compilation, thenA′ = B′.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 23: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Filtering

Hypothesis

JLK = A = B = JMK“Filter”: set of programs F ⊂ P (syntactic criterion)

Filtering: L′ = L ∩ F , M ′ = M ∩ FBreaking semantic equality: JL′K = A′ ) B′ = JM ′K

Conclusion

There is no filter-preserving compilation: p ∈ F ⇒ ϕ(p) ∈ F

Conversely, if there exists a filter preserving compilation, thenA′ = B′.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 24: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Expressiveness

L

M

A

B

L’

M’

A’

B’

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

p ∈ F ⇒ ϕ(p) ∈ FB′ ( A′

Compilation

p ∈ L′ = L ∩ F⇒ ϕ(p) ∈M ∩ F = M ′

Canonical injection

f ∈ A′

p ∈ L′, JpK = fq = ϕ(p) ∈M ′, JqK = ff ∈ B′

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 25: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Expressiveness

L

M

A

B

L’

M’

A’

B’

ιϕJ•Kι

J•K

id

ϕ

J•K

ι

J•K

ι

id

p ∈ F ⇒ ϕ(p) ∈ FB′ ( A′

Compilation

p ∈ L′ = L ∩ F⇒ ϕ(p) ∈M ∩ F = M ′

Canonical injection

f ∈ A′

p ∈ L′, JpK = fq = ϕ(p) ∈M ′, JqK = ff ∈ B′

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 26: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Expressiveness

L

M

A

B

L’

M’

A’

B’

ι

ϕ

J•Kι

J•K

id

ϕ

J•K

ι

J•Kιid

p ∈ F ⇒ ϕ(p) ∈ FB′ ( A′

Compilation

p ∈ L′ = L ∩ F⇒ ϕ(p) ∈M ∩ F = M ′

Canonical injection

f ∈ A′

p ∈ L′, JpK = fq = ϕ(p) ∈M ′, JqK = ff ∈ B′

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 27: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Expressiveness

L

M

A

B

L’

M’

A’

B’

ι

ϕ

J•K

ι

J•K

idϕ

J•K

ιJ•K

ι

id

p ∈ F ⇒ ϕ(p) ∈ FB′ ( A′

Compilation

p ∈ L′ = L ∩ F⇒ ϕ(p) ∈M ∩ F = M ′

Canonical injection

f ∈ A′

p ∈ L′, JpK = fq = ϕ(p) ∈M ′, JqK = ff ∈ B′

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 28: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Expressiveness

L

M

A

B

L’

M’

A’

B’

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ι

J•K

ι

id

p ∈ F ⇒ ϕ(p) ∈ FB′ ( A′

Compilation

p ∈ L′ = L ∩ F⇒ ϕ(p) ∈M ∩ F = M ′

Canonical injection

f ∈ A′

p ∈ L′, JpK = fq = ϕ(p) ∈M ′, JqK = ff ∈ B′

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 29: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

High Order

(2nd)

(1st)

C

C

(2nd) \CONS

(1st) \CONS

EXPtime

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = high order TRSL = (2nd) M = (1st) F =\CONS

J(2nd)K = C = J(1st)KJ(2nd)\CONSK = EXPtime

J(1st)\CONSK = Ptime

EXPtime 6= Ptime, hence there exists no compilationfrom (2nd) to (1st) preserving \CONS.

High order programs are more expressive than first order ones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 30: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

High Order

(2nd)

(1st)

C

C

(2nd) \CONS

(1st) \CONS

EXPtime

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = high order TRSL = (2nd) M = (1st) F =\CONS

J(2nd)K = C = J(1st)KJ(2nd)\CONSK = EXPtime

J(1st)\CONSK = Ptime

EXPtime 6= Ptime, hence there exists no compilationfrom (2nd) to (1st) preserving \CONS.

High order programs are more expressive than first order ones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 31: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

High Order

(2nd)

(1st)

C

C

(2nd) \CONS

(1st) \CONS

EXPtime

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = high order TRSL = (2nd) M = (1st) F =\CONS

J(2nd)K = C = J(1st)KJ(2nd)\CONSK = EXPtime

J(1st)\CONSK = Ptime

EXPtime 6= Ptime, hence there exists no compilationfrom (2nd) to (1st) preserving \CONS.

High order programs are more expressive than first order ones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 32: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

High Order

(2nd)

(1st)

C

C

(2nd) \CONS

(1st) \CONS

EXPtime

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = high order TRSL = (2nd) M = (1st) F =\CONS

J(2nd)K = C = J(1st)KJ(2nd)\CONSK = EXPtime

J(1st)\CONSK = Ptime

EXPtime 6= Ptime, hence there exists no compilationfrom (2nd) to (1st) preserving \CONS.

High order programs are more expressive than first order ones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 33: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Non-Determinism

(MPO+ND)

(MPO)

PR

PR

(MPO+ND) ∩ (QI)

(MPO) ∩ (QI)

Pspace

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = ND first order TRSL = (MPO+ND) M = (MPO)F = (QI)

J(MPO+ND)K = PR = J(MPO)KJ(MPO+ND) ∩ (QI)K = PspaceJ(MPO) ∩ (QI)K = Ptime

Pspace 6= Ptime (maybe), hence there exists no compilationfrom (MPO+ND) to (MPO) preserving (QI).

Non-deterministic programs are more expressive than first orderones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 34: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Non-Determinism

(MPO+ND)

(MPO)

PR

PR

(MPO+ND) ∩ (QI)

(MPO) ∩ (QI)

Pspace

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = ND first order TRSL = (MPO+ND) M = (MPO)F = (QI)

J(MPO+ND)K = PR = J(MPO)KJ(MPO+ND) ∩ (QI)K = PspaceJ(MPO) ∩ (QI)K = Ptime

Pspace 6= Ptime (maybe), hence there exists no compilationfrom (MPO+ND) to (MPO) preserving (QI).

Non-deterministic programs are more expressive than first orderones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 35: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Non-Determinism

(MPO+ND)

(MPO)

PR

PR

(MPO+ND) ∩ (QI)

(MPO) ∩ (QI)

Pspace

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = ND first order TRSL = (MPO+ND) M = (MPO)F = (QI)

J(MPO+ND)K = PR = J(MPO)KJ(MPO+ND) ∩ (QI)K = PspaceJ(MPO) ∩ (QI)K = Ptime

Pspace 6= Ptime (maybe), hence there exists no compilationfrom (MPO+ND) to (MPO) preserving (QI).

Non-deterministic programs are more expressive than first orderones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 36: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

A Generic FrameworkExamples

Non-Determinism

(MPO+ND)

(MPO)

PR

PR

(MPO+ND) ∩ (QI)

(MPO) ∩ (QI)

Pspace

Ptime

ι

ϕ

J•K

ι

J•K

id

ϕ

J•K

ιJ•K

ι

id

P = ND first order TRSL = (MPO+ND) M = (MPO)F = (QI)

J(MPO+ND)K = PR = J(MPO)KJ(MPO+ND) ∩ (QI)K = PspaceJ(MPO) ∩ (QI)K = Ptime

Pspace 6= Ptime (maybe), hence there exists no compilationfrom (MPO+ND) to (MPO) preserving (QI).

Non-deterministic programs are more expressive than first orderones.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 37: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

Algorithms

Page 38: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

What is an Algorithm?

Solid (mathematical) theory of functions.

No good theory of algorithms(Gurevich’s thesis: ASM ≡ algorithm).

What’s sure:

Two programs may implement the same algorithm.

Two algorithms may compute the same function.

Algorithms lay somewhere between programs and functions.

P Z C| • | [•]

J•K[|p|] = JpK

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 39: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

What is an Algorithm?

Solid (mathematical) theory of functions.

No good theory of algorithms(Gurevich’s thesis: ASM ≡ algorithm).

What’s sure:

Two programs may implement the same algorithm.

Two algorithms may compute the same function.

Algorithms lay somewhere between programs and functions.

P Z C| • | [•]

J•K[|p|] = JpK

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 40: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

What is an Algorithm?

Solid (mathematical) theory of functions.

No good theory of algorithms(Gurevich’s thesis: ASM ≡ algorithm).

What’s sure:

Two programs may implement the same algorithm.

Two algorithms may compute the same function.

Algorithms lay somewhere between programs and functions.

P Z C| • | [•]

J•K[|p|] = JpK

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 41: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

The Algorithmic Level

Programming language: P ⊃ L,M,F (syntactic)

Algorithms (?): Z Computable functions: C

Semantics: P Z C| • | [•]

Algorithms respect filter: p ∈ F , q 6∈ F ⇒ |p| 6= |q|JLK = A = B = JMKFiltering: L′ = L ∩ F , M ′ = M ∩ FBreaking semantic equality: JL′K = A′ ) B′ = JM ′K

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 42: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

The Algorithmic Level

Programming language: P ⊃ L,M,F (syntactic)

Algorithms (?): Z Computable functions: C

Semantics: P Z C| • | [•]

Algorithms respect filter: p ∈ F , q 6∈ F ⇒ |p| 6= |q|

JLK = A = B = JMKFiltering: L′ = L ∩ F , M ′ = M ∩ FBreaking semantic equality: JL′K = A′ ) B′ = JM ′K

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 43: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

The Algorithmic Level

Programming language: P ⊃ L,M,F (syntactic)

Algorithms (?): Z Computable functions: C

Semantics: P Z C| • | [•]

Algorithms respect filter: p ∈ F , q 6∈ F ⇒ |p| 6= |q|JLK = A = B = JMK

Filtering: L′ = L ∩ F , M ′ = M ∩ FBreaking semantic equality: JL′K = A′ ) B′ = JM ′K

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 44: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

The Algorithmic Level

Programming language: P ⊃ L,M,F (syntactic)

Algorithms (?): Z Computable functions: C

Semantics: P Z C| • | [•]

Algorithms respect filter: p ∈ F , q 6∈ F ⇒ |p| 6= |q|JLK = A = B = JMKFiltering: L′ = L ∩ F , M ′ = M ∩ FBreaking semantic equality: JL′K = A′ ) B′ = JM ′K

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 45: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Transforming algorithms

Hypothesis

JLK = A = B = JMKJL′K = A′ 6= B′ = JM ′KAlgorithms respect filter: p ∈ F , q 6∈ F ⇒ |p| 6= |q||L| = X |M | = Y

Algorithm transformation: τ : X → Y

Conclusion

There is no filter-preserving transformation of algorithms:x ∈ |F | ⇒ τ(x) ∈ |F |

Conversely, if there exists a filter preserving transformation(incl. identity), then A′ = B′.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 46: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Transforming algorithms

Hypothesis

JLK = A = B = JMKJL′K = A′ 6= B′ = JM ′KAlgorithms respect filter: p ∈ F , q 6∈ F ⇒ |p| 6= |q||L| = X |M | = Y

Algorithm transformation: τ : X → Y

Conclusion

There is no filter-preserving transformation of algorithms:x ∈ |F | ⇒ τ(x) ∈ |F |

Conversely, if there exists a filter preserving transformation(incl. identity), then A′ = B′.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 47: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Transforming algorithms

Hypothesis

JLK = A = B = JMKJL′K = A′ 6= B′ = JM ′KAlgorithms respect filter: p ∈ F , q 6∈ F ⇒ |p| 6= |q||L| = X |M | = Y

Algorithm transformation: τ : X → Y

Conclusion

There is no filter-preserving transformation of algorithms:x ∈ |F | ⇒ τ(x) ∈ |F |

Conversely, if there exists a filter preserving transformation(incl. identity), then A′ = B′.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 48: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Magic Trick Again

Suppose that I have written something (an “algorithm”)inside each bead (text? formula? drawing? . . . )

It’s written in white inside black beads, and in black insidewhite beads. Hence beads of different colours (computingdifferent functions) necessarily have different algorithms.

I claim that beads of different size have different algorithms(respecting the filter).

[Filtering]

There are things written in beads of the first set that arenot written in beads of the second (those in small blackbeads).

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 49: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Magic Trick Again

Suppose that I have written something (an “algorithm”)inside each bead (text? formula? drawing? . . . )

It’s written in white inside black beads, and in black insidewhite beads. Hence beads of different colours (computingdifferent functions) necessarily have different algorithms.

I claim that beads of different size have different algorithms(respecting the filter).

[Filtering]

There are things written in beads of the first set that arenot written in beads of the second (those in small blackbeads).

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 50: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Magic Trick Again

Suppose that I have written something (an “algorithm”)inside each bead (text? formula? drawing? . . . )

It’s written in white inside black beads, and in black insidewhite beads. Hence beads of different colours (computingdifferent functions) necessarily have different algorithms.

I claim that beads of different size have different algorithms(respecting the filter).

[Filtering]

There are things written in beads of the first set that arenot written in beads of the second (those in small blackbeads).

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 51: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

The big picture

L

M

X

Y

A

B

L’

M’

X’

Y’

A’

B’

ι ι

| • | [•]

τ

| • | [•]

τ id

| • | [•]

ι ι ι

| • | [•]

id

ι

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 52: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

High order

(2nd)

(1st)

X

Y

C

C

(2nd) \CONS

(1st) \CONS

X’

Y’

EXPtime

Ptime

ι ι

| • | [•]

τ

| • | [•]

τ id

| • | [•]

ι ι ι

| • | [•]

id

ι

Algorithmsrespectcons-free.

There is no transformation from high order algorithms to firstorder algorithm preserving cons-free.There are cons-free high-order algorithms with no first ordercounterpart.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 53: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

High order

(2nd)

(1st)

X

Y

C

C

(2nd) \CONS

(1st) \CONS

X’

Y’

EXPtime

Ptime

ι ι

| • | [•]

τ

| • | [•]

τ id

| • | [•]

ι ι ι

| • | [•]

id

ι

Algorithmsrespectcons-free.

There is no transformation from high order algorithms to firstorder algorithm preserving cons-free.There are cons-free high-order algorithms with no first ordercounterpart.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 54: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

High order

(2nd)

(1st)

X

Y

C

C

(2nd) \CONS

(1st) \CONS

X’

Y’

EXPtime

Ptime

ι ι

| • | [•]

τ

| • | [•]

τ id

| • | [•]

ι ι ι

| • | [•]

id

ι

Algorithmsrespectcons-free.

There is no transformation from high order algorithms to firstorder algorithm preserving cons-free.There are cons-free high-order algorithms with no first ordercounterpart.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 55: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Non Determinism

(MPO+ND)

(MPO)

X

Y

PR

PR

(MPO+ND) ∩ (QI)

(MPO) ∩ (QI)

X’

Y’

Pspace

Ptime

ι ι

| • | [•]

τ

| • | [•]

τ id

| • | [•]

ι ι ι

| • | [•]

id

ι

Algorithmsrespect QI.

There is no transformation from non-deterministic algorithmsto first order algorithm preserving Quasi-Interpretations.There are Non-deterministic algorithms admitting a Quasi-Interpretation with no deterministic counterpart.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 56: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Non Determinism

(MPO+ND)

(MPO)

X

Y

PR

PR

(MPO+ND) ∩ (QI)

(MPO) ∩ (QI)

X’

Y’

Pspace

Ptime

ι ι

| • | [•]

τ

| • | [•]

τ id

| • | [•]

ι ι ι

| • | [•]

id

ι

Algorithmsrespect QI.

There is no transformation from non-deterministic algorithmsto first order algorithm preserving Quasi-Interpretations.There are Non-deterministic algorithms admitting a Quasi-Interpretation with no deterministic counterpart.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 57: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

What is an Algorithm?Extending the FrameworkExamples

Non Determinism

(MPO+ND)

(MPO)

X

Y

PR

PR

(MPO+ND) ∩ (QI)

(MPO) ∩ (QI)

X’

Y’

Pspace

Ptime

ι ι

| • | [•]

τ

| • | [•]

τ id

| • | [•]

ι ι ι

| • | [•]

id

ι

Algorithmsrespect QI.

There is no transformation from non-deterministic algorithmsto first order algorithm preserving Quasi-Interpretations.There are Non-deterministic algorithms admitting a Quasi-Interpretation with no deterministic counterpart.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 58: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

Future Works

Page 59: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Other Examples

The framework is generic and could be applied to manycases.

But we still need to find a good filter and prove:JLK = JMKJL′K 6= JM ′K

Fortunately, we have 20 years of ICC with lot of results ofthis kind to use!

Linear Logic? Imperative programs? . . .

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 60: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Other Examples

The framework is generic and could be applied to manycases.

But we still need to find a good filter and prove:JLK = JMKJL′K 6= JM ′K

Fortunately, we have 20 years of ICC with lot of results ofthis kind to use!

Linear Logic? Imperative programs? . . .

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 61: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Cross-language comparison

Can we compare systems for imperative programs with LinearLogic systems?

The key to the proof is that the filter is “the same” in bothcases.

When dealing with algorithms, if we have two filters F andG, we need |F | = |G|Especially, JF K = JGK is not sufficient.

But without knowing what an algorithm is, we cannotprove that.

We have to find another way to circumvent this.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 62: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Cross-language comparison

Can we compare systems for imperative programs with LinearLogic systems?

The key to the proof is that the filter is “the same” in bothcases.

When dealing with algorithms, if we have two filters F andG, we need |F | = |G|Especially, JF K = JGK is not sufficient.

But without knowing what an algorithm is, we cannotprove that.

We have to find another way to circumvent this.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 63: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Cross-language comparison

Can we compare systems for imperative programs with LinearLogic systems?

The key to the proof is that the filter is “the same” in bothcases.

When dealing with algorithms, if we have two filters F andG, we need |F | = |G|Especially, JF K = JGK is not sufficient.

But without knowing what an algorithm is, we cannotprove that.

We have to find another way to circumvent this.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 64: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Comparing Systems for Ptime

(1st) \CONS Interp. MPO+QI

Deterministic Ptime Ptime PtimeNon-deterministic Ptime NPtime Pspace

The three ICC systems capture the same functions.

Experiments suggest that it’s easier to write MPO+QIprograms than (1st) \CONS ones.

Adding Non-determinism reveals a jump in expressiveness.

There was more “things” (algorithms) in MPO+QI but weneed the Non-determinism to make them appear.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 65: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Comparing Systems for Ptime

(1st) \CONS Interp. MPO+QI

Deterministic

Ptime Ptime Ptime

Non-deterministic Ptime NPtime Pspace

The three ICC systems capture the same functions.

Experiments suggest that it’s easier to write MPO+QIprograms than (1st) \CONS ones.

Adding Non-determinism reveals a jump in expressiveness.

There was more “things” (algorithms) in MPO+QI but weneed the Non-determinism to make them appear.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 66: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Comparing Systems for Ptime

(1st) \CONS Interp. MPO+QI

Deterministic Ptime Ptime PtimeNon-deterministic Ptime NPtime Pspace

The three ICC systems capture the same functions.

Experiments suggest that it’s easier to write MPO+QIprograms than (1st) \CONS ones.

Adding Non-determinism reveals a jump in expressiveness.

There was more “things” (algorithms) in MPO+QI but weneed the Non-determinism to make them appear.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 67: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Comparing Systems for Ptime

(1st) \CONS Interp. MPO+QI

Deterministic Ptime Ptime PtimeNon-deterministic Ptime NPtime Pspace

The three ICC systems capture the same functions.

Experiments suggest that it’s easier to write MPO+QIprograms than (1st) \CONS ones.

Adding Non-determinism reveals a jump in expressiveness.

There was more “things” (algorithms) in MPO+QI but weneed the Non-determinism to make them appear.

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 68: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Chemistry

A chemical version of this:

Bonfante, Boudes, Moyen Expressive Power and Algorithms

Page 69: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

Conclusion

Page 70: Expressive Power and Algorithms - shonan.nii.ac.jp fileIntroduction Expressive Power Algorithms Future Works Expressive Power and Algorithms Guillaume Bonfante1 Pierre Boudes2 Jean-Yves

IntroductionExpressive Power

AlgorithmsFuture Works

Other ExamplesCross-language comparisonAdding rather than filtrating

Conclusion

Generic framework.

Can tell something about algorithms, under “reasonable”assumptions (or at least we can argue about theassumptions).

Reuse 20 years of ICC to get more results.

Can still be extended for more interesting results?

A step toward a theory of algorithms?

Bonfante, Boudes, Moyen Expressive Power and Algorithms