the next 700 syntactic models of type theory
play

The Next 700 Syntactic Models of Type Theory Simon Boulier 1 - PowerPoint PPT Presentation

. . . . . . . . . . . . . . The Next 700 Syntactic Models of Type Theory Simon Boulier 1 Pierre-Marie Pdrot 2 Nicolas Tabareau 1 CPP 17th January 2017 Pdrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models


  1. . . . . . . . . . . . . . . The Next 700 Syntactic Models of Type Theory Simon Boulier 1 Pierre-Marie Pédrot 2 Nicolas Tabareau 1 CPP 17th January 2017 Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . 1 / 22 1 INRIA, 2 University of Ljubljana

  2. . . . . . . . . . . . . . . A Beginner’s Tale Historical recollection of a younger self using Coq: — Nay, can’t do that. — Nope, not possible either. — Sigh. Are you kidding me? This has to be obviously true! Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . 2 / 22 — I need to prove that Π x . f x = g x implies f = g to... — Right, I’d also like to have Π e 1 e 2 : p = q . e 1 = e 2 . How... — Fine. And what about Π A B : Prop . ( A ↔ B ) → A = B ?

  3. . . . . . . . . . . . . . . A Beginner’s Tale Historical recollection of a younger self using Coq: — Nay, can’t do that. — Nope, not possible either. — Sigh. Are you kidding me? This has to be obviously true! Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . 2 / 22 — I need to prove that Π x . f x = g x implies f = g to... — Right, I’d also like to have Π e 1 e 2 : p = q . e 1 = e 2 . How... — Fine. And what about Π A B : Prop . ( A ↔ B ) → A = B ?

  4. . What You’re Usually Told . . . . . . . . . . If you ask why, generally you get something along the lines of: . “That’s very simple to disprove. Let’s consider the split comprehension category where the Grothendieck fjbration is the well-known blue-haired syzygetic Kardashian functor and the cartesian structure is canonically given by the algebra morphisms counter-model.” (Obviously up to my brain’s isomorphisms. Any resemblance to nLab is purely coincidental.) We propose something that anybody can understand instead. Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 / 22 of hyper-loremipsum ω -potatoids . It is trivially a

  5. . What You’re Usually Told . . . . . . . . . . If you ask why, generally you get something along the lines of: . “That’s very simple to disprove. Let’s consider the split comprehension category where the Grothendieck fjbration is the well-known blue-haired syzygetic Kardashian functor and the cartesian structure is canonically given by the algebra morphisms counter-model.” (Obviously up to my brain’s isomorphisms. Any resemblance to nLab is purely coincidental.) We propose something that anybody can understand instead. Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 / 22 of hyper-loremipsum ω -potatoids . It is trivially a

  6. . . . . . . . . . . . . What You’re Usually Told . If you ask why, generally you get something along the lines of: “That’s very simple to disprove. Let’s consider the split comprehension category where the Grothendieck fjbration is the well-known blue-haired syzygetic Kardashian functor and the cartesian structure is canonically given by the algebra morphisms counter-model.” (Obviously up to my brain’s isomorphisms. Any resemblance to nLab is purely coincidental.) Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 / 22 of hyper-loremipsum ω -potatoids . It is trivially a We propose something that anybody ∗ can understand instead.

  7. . . . . . . . . . . . . Proofs-as-programs to the rescue . What is a model? Takes syntax as input. Interprets it into some low-level language. Must preserve the meaning of the source. Refjnes the behaviour of under-specifjed structures. Luckily we’re computer scientists in here. « Oh yes, we call that a compiler ... » (Thanks, Curry-Howard!) Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 / 22

  8. . . . . . . . . . . . . Proofs-as-programs to the rescue . What is a model? Takes syntax as input. Interprets it into some low-level language. Must preserve the meaning of the source. Refjnes the behaviour of under-specifjed structures. Luckily we’re computer scientists in here. « Oh yes, we call that a compiler ... » (Thanks, Curry-Howard!) Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 / 22

  9. . . . . . . . . . . . . Proofs-as-programs to the rescue . What is a model? Takes syntax as input. Interprets it into some low-level language. Must preserve the meaning of the source. Refjnes the behaviour of under-specifjed structures. Luckily we’re computer scientists in here. « Oh yes, we call that a compiler ... » (Thanks, Curry-Howard!) Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 / 22

  10. . . . . . . . . . . . . . . Syntactic Models I don’t understand crazy category theory. But I understand well type-theory! And I know how to write program translations. Let’s write models as compilers from type theory into itself! ; Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . 5 / 22

  11. . . . . . . . . . . . . . . Syntactic Models I don’t understand crazy category theory. But I understand well type-theory! And I know how to write program translations. Let’s write models as compilers from type theory into itself! ; Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . 5 / 22 . . . . . compilation of X Type Theory Type + Theory ... Axiom X of Y of Z

  12. . Obviously, that’s subtle. . . . . . . . . . Syntactic Models II implies The correctness of . lies in the meta (Darn, Gödel!) The translation must preserve typing (Not easy) In particular, it must preserve conversion (Argh!) Yet, a lot of nice consequences. Does not require non-type-theoretical foundations ( monism ) Can be implemented in your favourite proof assistant Easy to show (relative) consistency, look at False Easier to understand computationally Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . 6 / 22 . . . . . . . . . . . Defjne [ · ] on the syntax and derive the type interpretation [ [ · ] ] from it s.t. ⊢ M : A ⊢ [ M ] : [ [ A ] ]

  13. . Syntactic Models II . . . . . . . . . . implies . Obviously, that’s subtle. The translation must preserve typing (Not easy) In particular, it must preserve conversion (Argh!) Yet, a lot of nice consequences. Does not require non-type-theoretical foundations ( monism ) Can be implemented in your favourite proof assistant Easy to show (relative) consistency, look at False Easier to understand computationally Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . 6 / 22 . . . . . . . . . . . . Defjne [ · ] on the syntax and derive the type interpretation [ [ · ] ] from it s.t. ⊢ M : A ⊢ [ M ] : [ [ A ] ] The correctness of [ · ] lies in the meta (Darn, Gödel!)

  14. . . . . . . . . . . . . Syntactic Models II . implies Obviously, that’s subtle. The translation must preserve typing (Not easy) In particular, it must preserve conversion (Argh!) Yet, a lot of nice consequences. Does not require non-type-theoretical foundations ( monism ) Can be implemented in your favourite proof assistant Easier to understand computationally Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 / 22 Defjne [ · ] on the syntax and derive the type interpretation [ [ · ] ] from it s.t. ⊢ M : A ⊢ [ M ] : [ [ A ] ] The correctness of [ · ] lies in the meta (Darn, Gödel!) Easy to show (relative) consistency, look at [ [ False ] ]

  15. The 578 th Will Shock You! . . . . . . . . . . . . . . In The Remainder of This Talk 700 Syntactic Models You Probably Didn't Know Provide the Most Striking Counter-Examples to Type Theory (Just kidding. I don’t want doctors to hate me.) Pédrot & al. (INRIA & U. Ljubljana) The Next 700 Syntactic Models 17/01/2017 . . . . . . . . . . . . . . . . . . . . . . . . . . 7 / 43571

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