type theory for mobility and locality
play

Type Theory for Mobility and Locality Thesis Proposal Jonathan - PowerPoint PPT Presentation

Type Theory for Mobility and Locality Thesis Proposal Jonathan Moody Committee: Frank Pfennning, Karl Crary, Jeannette Wing, Andrew Gordon (MSR) School of Computer Science Carnegie Mellon University Type Theory forMobility and Locality


  1. Type Theory for Mobility and Locality Thesis Proposal Jonathan Moody Committee: Frank Pfennning, Karl Crary, Jeannette Wing, Andrew Gordon (MSR) School of Computer Science Carnegie Mellon University Type Theory forMobility and Locality – p.1/49

  2. Introduction Distributed computation — programming at more than one location . Are the locations distinguishable? Type Theory forMobility and Locality – p.2/49

  3. Introduction Distributed computation — programming at more than one location . program env. Are the locations distinguishable? No — We can safely ignore locations, we’re done... Type Theory forMobility and Locality – p.2/49

  4. Introduction Distributed computation — programming at more than one location . program env. Are the locations distinguishable? No — We can safely ignore locations, we’re done... Yes — Must be careful when programs or values move. Type Theory forMobility and Locality – p.2/49

  5. Introduction Benefits of being location-aware : account for localized code or values. reflect trust or administration boundaries. permit/deny some interactions between locations. reflect costs of remote access (bandwidth/latency). A location-aware type theory: Specify and statically check properties defined in terms of location.... Type Theory forMobility and Locality – p.3/49

  6. ✄ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ✄ ✄ ✄ ✄ ✄ ✄ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ☎ ✄ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ☎ ✆ ☎ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✆ ✟ ✂ ✞ � � � � � � � � � � � � � � � � � � � � � � � � � � � � � ✁ � ✠ � � � � � � � � � � � � � � � � � � � � � � � � � � ✁ ✁ ✂ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✂ ✂ ✂ ✂ ✂ ✂ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✁ ✝ Type Theory forMobility and Locality – p.4/49 Mobility and locality as aspects of location: Mobility — “is it location-independent?” Introduction

  7. ✏ ✑ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✑ ✑ ✑ ✑ ✑ ✒ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✒ ✒ ✑ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✑ ✑ ✒ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✑ ✒ ✒ ✏ ✔ ✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕ ✔ ✔ ✔ ✔ ✕ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✔ ✕ ✕ ✓ ✖ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✗ ✖ ✖ ✖ ✕ ✖ ✖ ✖ ✖ ✖ ✖ ✖ ✖ ✖ ✖ ✖ ✖ ✕ ✕ ✔ ✓ ✒ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✒ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✗ ✏ ✗ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☞ ✌ ✌ ✌ ✌ ✌ ✌ ✌ ✌ ☞ ☞ ☞ ☞ ☞ ☞ ☛ ☞ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ☛ ✍ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✗ ✡ ✡ ☛ ✡ ☛ ☛ ☛ ☛ ☛ ☛ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✡ ✍ ✍ ✏ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✏ ✎ ✏ ✏ ✏ ✏ ✏ ✗ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✎ ✍ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✎ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✍ ✗ Type Theory forMobility and Locality – p.4/49 Mobility and locality as aspects of location: Mobility — “is it location-independent?” Locality — “is it here? or there?”. Introduction

  8. Thesis statement “Modal logic can be understood as a type theory defining mobility and locality ; This has practical applications to distributed programming.” Type Theory forMobility and Locality – p.5/49

  9. Thesis statement “Modal logic can be understood as a type theory defining mobility and locality ; This has practical applications to distributed programming.” Proposed contributions: Relate modal logic to distributed computation. Type Theory forMobility and Locality – p.5/49

  10. Thesis statement “Modal logic can be understood as a type theory defining mobility and locality ; This has practical applications to distributed programming.” Proposed contributions: Relate modal logic to distributed computation. Core calculus with mobility and locality types. Type Theory forMobility and Locality – p.5/49

  11. Thesis statement “Modal logic can be understood as a type theory defining mobility and locality ; This has practical applications to distributed programming.” Proposed contributions: Relate modal logic to distributed computation. Core calculus with mobility and locality types. Extensions that interact with mobility/locality. Type Theory forMobility and Locality – p.5/49

  12. Thesis statement “Modal logic can be understood as a type theory defining mobility and locality ; This has practical applications to distributed programming.” Proposed contributions: Relate modal logic to distributed computation. Core calculus with mobility and locality types. Extensions that interact with mobility/locality. Apply to distributed grid programming. Type Theory forMobility and Locality – p.5/49

  13. ✜ ✙ ✙ ✢ ✜ ✘ ✚✛ ✙ ✚✛ ✣ ✚ ✛ ✙ ✚ ✘ ✛ ✦ Propositions as types Functional language typing rules are often logical : “proof that is true” “term has type ” ✢✥✤ Proposition Type Proof Program Pf. Normalization Evaluation Type Theory forMobility and Locality – p.6/49

  14. ✢ ✜ ✙ ✪ ✩ ✜ ✢ ✙ ✜ ✢ ✩ ✪ ✬ ✣ ✜ ✢ ✤ ✙ ✪ ✩ ✜ ✣ ✢ ✤ ✙ ✜ ✣ ✩ ✫ ✤ ✜ ✬ ✪ ✙ ✢ ✩ ✜ ✢ ✙ ✪ ✩ ✪ ✫ ✣ ✪ ✧ ✙ ✢ ✤ ✩ ✜ ✣ ✢ ✤ ✙ ✪ ✩ ✢ Propositions as types Natural Deduction Term Typing ✜★✧ Type Theory forMobility and Locality – p.7/49

  15. ✫ ✙ ✜ ✬ ✪ ✩ ✢ ✜ ✢ ✢ ✜ ✩ ✪ ✙ ✢ ✜ ✣ ✤ ✪ ✰ ✤ ✢ ✣ ✜ ✙ ✦ ✤ ✦ ✢ ✣ ✜ ✩ ✪ ✙ ✩ ✩ ✦ ✙ ✣ ✜ ✫ ✪ ✩ ✪ ✢ ✭ ✜ ✩ ✢ ✙ ✪ ✬ ✧ ✦ ✪ ✮ ✙ ✦ ✯ ✙ ✦ ✭ ✤ ✙ ✢ ✣ ✜ ✩ ✦ ✤ ✢ ✰ Propositions as types Natural Deduction Term Typing ✜★✧ Type Theory forMobility and Locality – p.7/49

  16. Consequences Simplicity: the minimal (logically) complete calculus. Type Theory forMobility and Locality – p.8/49

  17. Consequences Simplicity: the minimal (logically) complete calculus. Some properties/behaviors are not captured : Concurrency (permitted, but not described by types). Complex, 2-way communication patterns. Type Theory forMobility and Locality – p.8/49

  18. Consequences Simplicity: the minimal (logically) complete calculus. Some properties/behaviors are not captured : Concurrency (permitted, but not described by types). Complex, 2-way communication patterns. Features that may introduce deadlock, interference, non-determinism are absent in the minimal core. Type Theory forMobility and Locality – p.8/49

  19. Consequences Generality: new modal types defined orthogonally . Type Theory forMobility and Locality – p.9/49

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