theory of interaction what is a model theory of computer
play

Theory of Interaction what is a model theory of computer science? - PowerPoint PPT Presentation

Theory of Interaction what is a model theory of computer science? Yuxi Fu BASICS, Shanghai Jiao Tong University Bologna, 22-23 April, 2013 Computation and Interaction Thesis on Computation . All computation models share a common submodel


  1. Theory of Interaction – what is a model theory of computer science? Yuxi Fu BASICS, Shanghai Jiao Tong University Bologna, 22-23 April, 2013

  2. Computation and Interaction Thesis on Computation . All computation models share a common submodel that is physically implementable. What is not formally treated in Turing’s theory is a theory of observational equality. Thesis on Interaction . All interaction models share a common submodel (CCS?). What is lacking in Milner’s framework is a proper treatment of computation.

  3. I. Motivation

  4. Why Model Theory? Point I. In Computer Science a lot of models have been proposed. There is not yet a model theory. Computation Models Concurrency Models Well, they are all about interactions. Computation Theory and Process Theory have been two separated developments. An integrated treatment, Model Theory, ought to be beneficial to both theories.

  5. Why Model Theory? Point II. Some of the foundational assumptions of Computer Science are actually postulates in Model Theory. In Computability Theory, Church-Turing Thesis. In Complexity Theory, Extended Church-Turing Thesis. In Programming Theory, existence of universal program. There is no way to formalize these foundational assumptions without a theory of models.

  6. Why Model Theory? Point III. Most basic concepts in Computer Science are model independent. expressiveness implementation correctness Are there any basic concepts in Computer Science that are not model independent? Model independence is basically a model theoretical concept. A model independent concept is defined in model theory.

  7. Why Model Theory? Point IV. Some of the fundamental problems in Computer Science are best understood when cast in the light of Model Theory. ‘ NP � = P ?’ Compare the above problem to ‘ BPP = P ?’

  8. II. Basic Model Theory

  9. Fundamental Relationships in Computer Science Model Theory begins with two most fundamental relationships in Computer Science: the equality relationship ‘=’ within a model, and the expressiveness relationship ‘ ⊑ ’ between models. Both = and ⊑ are of course model independent.

  10. Foundational Assumption How can we do model theory without being specific to any model?

  11. Foundational Assumption How can we do model theory without being specific to any model? Model Theory is built upon four foundational principles that are just enough to define =, ⊑ in a model independent manner.

  12. Four Principles I. Principle of Object . There are two kinds of objects. II. Principle of Action . There are two aspects of actions. III. Principle of Observation . There are two universal operators. IV. Principle of Consistency . There are two unequal objects.

  13. Ideas from Process Theory and Computation Theory In computation theory bisimulation is implicit in equivalence proofs divergent computation � = terminating computation In process theory Milner and Park’s bisimulation van Glabbeek and Weijland’s branching bisimulation Milner and Sangiorgi’s barbed bisimulation

  14. Bisimulation A binary relation R is a bisimulation if it validates the following bisimulation property: → P ′ then one of the following is valid: 1. If Q R − 1 P τ − ⇒ Q ′ R − 1 P ′ ∧ Q ′ R − 1 P . (i) ∃ Q ′ . Q = ⇒ Q ′′ R − 1 P ∧ Q ′′ → Q ′ R − 1 P ′ . τ (ii) ∃ Q ′ , Q ′′ . Q = − → Q ′ then one of the following is valid: τ 2. If P R Q − ⇒ P ′ R Q ′ ∧ P ′ R Q . (i) ∃ P ′ . P = τ (ii) ∃ P ′ , P ′′ . P = ⇒ P ′′ R Q ∧ P ′′ − → P ′ R Q ′ .

  15. Codivergence A binary relation R is codivergent if the following codivergence property holds whenever P R Q : τ τ τ 1. If P − → P 1 − → . . . − → P i +1 . . . is an infinite internal action sequence then ∃ Q ′ . ∃ i ≥ 1 . Q ⇒ Q ′ R − 1 P i ; τ = τ τ τ 2. If Q − → Q 1 − → . . . − → Q i +1 . . . is an infinite internal action sequence then ∃ P ′ . ∃ i ≥ 1 . P τ ⇒ P ′ R Q i . =

  16. Equipollence A process P is unobservable, notation P �⇓ , if it never interacts. P and Q are equipollent if P ⇓ ⇔ Q ⇓ . R is equipollent if P and Q are equipollent whenever P R Q .

  17. Extensionality R is extensional if the following extensionality property holds: 1. If M R N and P R Q then ( M | P ) R ( N | Q ); 2. If P R Q then ( a ) P R ( a ) Q for every name a .

  18. Absolute Equality The absolute equality = M is the largest relation on M -processes that validates the following statements: 1. It is reflexive. 2. It is equipollent, extensional, codivergent and bisimilar.

  19. Subbisimilarity A relation R from the set of M 0 -processes to the set of M 1 -processes is a subbisimilarity, notation R : M 0 → M 1 , if it validates the following statements: 1. It is total and sound. 2. It is equipollent, extensional, codivergent and bisimilar. We write M 0 ⊑ M 1 if there is some subbisimilarity from M 0 to M 1 .

  20. Remark P = M Q means that P , Q are equal objects/processes of model M . M ⊑ N means that N is at least as expressive as M .

  21. Remark P = M Q means that P , Q are equal objects/processes of model M . M ⊑ N means that N is at least as expressive as M . Now we can write a logical formula in terms of = and ⊑ . For example we may assume that the class M of models to be dense by imposing the following postulate ∀ L , N ∈ M . ∃ M ∈ M . L ⊏ M ⊏ N .

  22. III. Axiom of Completeness

  23. A correct formulation of Church-Turing Thesis is the starting point of Model Theory. Model Theory would be a failure if it could not support such a formalization.

  24. Initial Model C Grammar of C : 0 | Ω | F b P := a (f( x )) | a ( i ) | P | P , where f is a computable function and i is a natural number. Semantics of C : a ( i ) F b a (f( x )) − → b ( j ) if f( i ) = j ; a ( i ) F b a (f( x )) − → Ω if f( i ) ↑ ; a ( j ) a ( j ) − → 0 ; τ Ω − → Ω.

  25. Formalizing Church-Turing Thesis Axiom of Completeness . ∀ M ∈ M . C ⊑ M . A model M is said to be complete if C ⊑ M .

  26. Some Results Theorem . Both VPC and π are complete.

  27. Some Results Theorem . Both VPC and π are complete. Theorem . CCS is not complete. Theorem . The higher order process calculus is not complete.

  28. IV. Computation Theory

  29. Nondeterminism A one-step deterministic computation A → B is an internal action τ A − → B such that A = B . ι A one-step nondeterministic computation A − → B is an internal τ action A − → B such that A � = B . C-graph ✲ ✲ ✲ ✲ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ � � � � � � � � ✻ ✻ ❅ ■ ✻ ❅ ■ ✻ ❅ ■ ✻ ❅ ■ ✻ ❅ ■ ❅ ■ ■ ❅ ■ ❅ ❅ ❅ ❅ ❅ ◦ ❅ ❄ ◦ ❅ ❄ ◦ ❅ ❄ ◦ ❅ ❄ ❄ ❄ ❄ ❄ ✛ ✛ ✛ ✛ • • • • • • • • � � � � � � � � � � There is a complete axiomatic system for the finite computations.

  30. Infinite C-Graph The following structure is definable for example by a π -process. . . . . . . . ✻ . ❄ . ✲ ◦ ◦ ❍❍❍❍ ❇ ✻ ❄ ❍ ❥ ❇ ✲ ◦ � � ❇ ✟ ✯ ✟✟✟✟ ❆ ✻ ❇ ❄ ❆ ✲ ❇ ◦ ◦ ❆ ❅ ❇ ✻ ❆ ◆ ❇ ❄ ❆ ❯ ❅ ❘ ❅ ✲ ✲ • � ◦

  31. Infinite C-Graph The infinite C-graph is defined by Centipeda : Centipeda = ( inc )( dec )( o )( e )( Cp | Cnt | o . O | e . E ) , where Cp = τ. Υ 0 + τ. ( τ. Υ 1 + τ. ( o | ! o . inc . e | ! e . inc . o )) , = inc . ( d )( A ( d ) | d ) , Cnt A ( x ) = dec . x + inc . ( d )( A ( d ) | d . A ( x )) , = µ X . ( τ. X + τ + dec . O ) , E O = τ + τ. Ω + dec . E .

  32. Nondeterminism is Model Independent A model of interaction is a Turing-Milner model if it enjoys the following properties: The M -processes are G¨ odel enumerable. The transition tree of every process is computable. Theorem . Suppose M is a Turing-Milner model. Then ∀ P ∈ M . ¬ ( P ⇓ ) ⇒ ∃ Q ∈ C . ¬ ( Q ⇓ ) ∧ Q = P .

  33. Axiom of Computation . ∀ M ∈ M . ∀ P ∈ M . ¬ ( P ⇓ ) ⇒ ∃ Q ∈ C . ¬ ( Q ⇓ ) ∧ Q = P .

  34. V. Process Theory

  35. Model Theory provides a basis for a systematic study and classification of the ‘700 process calculi’. In fact most of these calculi are incomplete.

  36. Largest Subbisimilarity? Theorem . There are an infinite number of subbisimilarities from VPC ! to VPC ! . Theorem . The largest subbisimilarity from a π -variant to itself exists and coincides with the absolute equality.

  37. Old Result in New Theory ? π def π ! π π m def π m ! π m π s def π s ! π s

  38. World of Model . . . π π R ❅ � π S VPC ❅ � π L ❅ � π M ▼ ❇ ❇ ❅ � ✍ ✂ ❅ � IM ✂ ❅ � ✂ ▼ ❇ ❅ � ❇ ✂ ❅ � C Theorem . VPC def �⊑ π �⊑ VPC def . Theorem . polyadic π �⊑ monadic π

  39. VI. Programming Theory

  40. Programming Theory is based on the existence of interpreter/universal process.

  41. Interpreter Suppose L , M are complete and L ⊑ M . We intend to formalize the relationship saying that M is capable of interpreting all the L -processes within M .

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend