the defjnitional side of the forcing
play

The Defjnitional Side of the Forcing . G. Jaber G. Lewertowski - PowerPoint PPT Presentation

. . . . . . . . . . . . The Defjnitional Side of the Forcing . G. Jaber G. Lewertowski P.-M. Pdrot M. Sozeau N. Tabareau INRIA TYPES 24th May 2016 Pdrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 .


  1. . . . . . . . . . . . . The Defjnitional Side of the Forcing . G. Jaber G. Lewertowski P.-M. Pédrot M. Sozeau N. Tabareau INRIA TYPES 24th May 2016 Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 / 18

  2. . Historically, forcing is a model transformation . . . . . . . . . . Forcing in a Nutshell Several names for the same concept . Forcing translation Kripke models Presheaf construction (Set theory) (Modal logic) (Category theory) Cohen’s original variant is classical We will study intuitionistic forcing Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 / 18 ∼ ∼ = =

  3. . Forcing: the Oppression . . . . . . . . . . Why on earth would you use forcing? . Set theory: a lot of independance results (too late for the Fields medal!) Modal logic: Logic what ? Category theory: a HoTT topic! Many models arise from presheaf constructions Coquand & al. model of univalence is an example Also step-indexing, parametricity... But this stufg targets sets or topoi (erk) We want forcing in Type Theory! Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 / 18

  4. . Forcing: the Oppression . . . . . . . . . . Why on earth would you use forcing? . Set theory: a lot of independance results (too late for the Fields medal!) Modal logic: Logic what ? Category theory: a HoTT topic! Many models arise from presheaf constructions Coquand & al. model of univalence is an example Also step-indexing, parametricity... But this stufg targets sets or topoi (erk) We want forcing in Type Theory! Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 / 18

  5. . Forcing: the Oppression . . . . . . . . . . Why on earth would you use forcing? . Set theory: a lot of independance results (too late for the Fields medal!) Modal logic: Logic what ? Category theory: a HoTT topic! Many models arise from presheaf constructions Coquand & al. model of univalence is an example Also step-indexing, parametricity... But this stufg targets sets or topoi (erk) We want forcing in Type Theory! Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 / 18

  6. B p A q B q . . . . . . . . . . . Most notably, Intuitionistic Forcing in LJ (Kripke, presheaf, whatever) . A q p (Actually this can be adapted straightforwardly to any category Hom .) Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . 4 / 18 . . . . . . . . . . . . Assume a preorder ( P , ≤ ) . We summarize the forcing translation in LJ . To a formula A , we associate a P -indexed formula [ [ A ] ] p . To a proof ⊢ A , we associate a proof of ∀ p : P , [ [ A ] ] p . (Target theory not really specifjed here, think λ Π .)

  7. . . . . . . . . . . . . . . . Intuitionistic Forcing in LJ (Kripke, presheaf, whatever) Most notably, (Actually this can be adapted straightforwardly to any category Hom .) Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . 4 / 18 . . . . . . . . . . . Assume a preorder ( P , ≤ ) . We summarize the forcing translation in LJ . To a formula A , we associate a P -indexed formula [ [ A ] ] p . To a proof ⊢ A , we associate a proof of ∀ p : P , [ [ A ] ] p . (Target theory not really specifjed here, think λ Π .) [ [ A → B ] ] p := ∀ q ≤ p . [ [ A ] ] q → [ [ B ] ] q

  8. . . . . . . . . . . . . . . . . Intuitionistic Forcing in LJ (Kripke, presheaf, whatever) Most notably, Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . 4 / 18 . . . . . . . . . . . Assume a preorder ( P , ≤ ) . We summarize the forcing translation in LJ . To a formula A , we associate a P -indexed formula [ [ A ] ] p . To a proof ⊢ A , we associate a proof of ∀ p : P , [ [ A ] ] p . (Target theory not really specifjed here, think λ Π .) [ [ A → B ] ] p := ∀ q ≤ p . [ [ A ] ] q → [ [ B ] ] q (Actually this can be adapted straightforwardly to any category ( P , Hom ) .)

  9. T p A . A . . . Also sprach Curry-Howard The previous soundness theorem makes sense in a proof-relevant world: ... and the translation can be thought of as a monotonous monad reader Reader Forcing T A A q q p read . read 24/05/2016 The Defjnitional Side of the Forcing Pédrot & al. (INRIA) to be a full preorder gives the reader monad. In particular, taking A p read p A enter A A enter . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 / 18 . . . . . . . If ⊢ t : A then p : P ⊢ [ t ] p : [ [ A ] ] p

  10. . . . . . . . . . . . . . . Also sprach Curry-Howard The previous soundness theorem makes sense in a proof-relevant world: ... and the translation can be thought of as a monotonous monad reader Reader Forcing In particular, taking to be a full preorder gives the reader monad. Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . 5 / 18 . . . . . . . . . . . . If ⊢ t : A then p : P ⊢ [ t ] p : [ [ A ] ] p T p A := ∀ q : P , q ≤ p → A T A := P → A read : 1 → P read : 1 → P enter : (1 → A ) → P → A enter : (1 → A ) → ∀ p : P , p ≤ read () → A

  11. . . . . . . . . . . . . . . . Also sprach Curry-Howard The previous soundness theorem makes sense in a proof-relevant world: ... and the translation can be thought of as a monotonous monad reader Reader Forcing Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . 5 / 18 . . . . . . . . . . . If ⊢ t : A then p : P ⊢ [ t ] p : [ [ A ] ] p T p A := ∀ q : P , q ≤ p → A T A := P → A read : 1 → P read : 1 → P enter : (1 → A ) → P → A enter : (1 → A ) → ∀ p : P , p ≤ read () → A In particular, taking ( P , ≤ ) to be a full preorder gives the reader monad.

  12. A p t p A p by induction on t A p A p A p p id p A B p A q B q Intuitively, not that diffjcult. To a type A associate p To handle types-as-terms uniformly, To a term t A associate p In 2012, Jaber & al. gave a forcing translation from CIC into itself. Do it, or do not: there is no try . q is defjned through : . p ( A type) Translation of the dependent arrow is almost the same: x q p x ... except that this naive presentation does not work. Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 / 18

  13. A p A p A p p id p A B p A q B q . is defjned through To handle types-as-terms uniformly, Intuitively, not that diffjcult. Do it, or do not: there is no try In 2012, Jaber & al. gave a forcing translation from CIC into itself. . . . . . : ( A type) q p . Translation of the dependent arrow is almost the same: x q p x ... except that this naive presentation does not work. Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 / 18 . . . To a type ⊢ A : □ associate p : P ⊢ [ [ A ] ] p : □ To a term ⊢ t : A associate p : P ⊢ [ t ] p : [ [ A ] ] p by induction on t

  14. . . . . . . . . . . . . . . Do it, or do not: there is no try In 2012, Jaber & al. gave a forcing translation from CIC into itself. Intuitively, not that diffjcult. ( A type) Translation of the dependent arrow is almost the same: ... except that this naive presentation does not work. Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . 6 / 18 . . . . . . . . . . . . To a type ⊢ A : □ associate p : P ⊢ [ [ A ] ] p : □ To a term ⊢ t : A associate p : P ⊢ [ t ] p : [ [ A ] ] p by induction on t To handle types-as-terms uniformly, [ [ · ] ] is defjned through [ · ] : [ A ] p : Π q ≤ p . □ [ [ A ] ] p := [ A ] p p id p [ [Π x : A . B ] ] p ≡ Π q ≤ p . Π x : [ [ A ] ] q . [ [ B ] ] q

  15. . . . . . . . . . . . . . . Do it, or do not: there is no try In 2012, Jaber & al. gave a forcing translation from CIC into itself. Intuitively, not that diffjcult. ( A type) Translation of the dependent arrow is almost the same: ... except that this naive presentation does not work. Pédrot & al. (INRIA) The Defjnitional Side of the Forcing 24/05/2016 . . . . . . . . . . . . . . 6 / 18 . . . . . . . . . . . . To a type ⊢ A : □ associate p : P ⊢ [ [ A ] ] p : □ To a term ⊢ t : A associate p : P ⊢ [ t ] p : [ [ A ] ] p by induction on t To handle types-as-terms uniformly, [ [ · ] ] is defjned through [ · ] : [ A ] p : Π q ≤ p . □ [ [ A ] ] p := [ A ] p p id p [ [Π x : A . B ] ] p ≡ Π q ≤ p . Π x : [ [ A ] ] q . [ [ B ] ] q

Recommend


More recommend