degrees of parallelism and boolean algebras
play

Degrees of parallelism and Boolean algebras Guillaume Geoffroy I2M, - PowerPoint PPT Presentation

Degrees of parallelism and Boolean algebras Guillaume Geoffroy I2M, Aix-Marseille Universit 12 June 2019 1 / 9 Denotational models Programming Denotational language model Denotational models Programming Denotational language model


  1. Degrees of parallelism and Boolean algebras Guillaume Geoffroy I2M, Aix-Marseille Université 12 June 2019 1 / 9

  2. Denotational models Programming Denotational language model

  3. Denotational models Programming Denotational language model program t denotation � t �

  4. Denotational models Programming Denotational language model program t denotation � t � � (fun x → t ) u � = � t [ x := u ] �

  5. Denotational models Programming Denotational language model program t denotation � t � � (fun x → t ) u � = � t [ x := u ] � etc. 2 / 9

  6. Left-first or fun x y if ( x ) then true → else y 3 / 9

  7. Left-first or fun x y if ( x ) then true → else y x y true false true true true false true false 3 / 9

  8. Left-first or fun x y if ( x ) then true → else y x y true false true true true false true false ? true 3 / 9

  9. Left-first or fun x y if ( x ) then true → else y x y true false true true true false true false ? true ? 3 / 9

  10. Left-first or fun x y if ( x ) then true → else y x y true false ? true true true ? false true false ? ? true ? ? 3 / 9

  11. Right-first or fun x y if ( y ) true → else x x y true false ? true true true true false true false ? ? ? ? ? 4 / 9

  12. Parallel (symmetric) or x y true false ? true true true true false true false ? ? true ? ? 5 / 9

  13. Parallel (symmetric) or fun x y ??? → x y true false ? true true true true false true false ? ? true ? ? 5 / 9

  14. Voting function true true ? true ? true true true true ? true true false false ? false ? false false false false ? false false 6 / 9

  15. Voting and parallel or can simulate each other 7 / 9

  16. Voting and parallel or can simulate each other ← → � − → � � ← − � or = fun x y → vote or x y or x y 7 / 9

  17. Voting and parallel or can simulate each other ← → � − → � � ← − � or = fun x y → vote or x y or x y true 7 / 9

  18. Voting and parallel or can simulate each other ← → � − → � � ← − � or = fun x y → vote or x y or x y true ( ← and x y ) ( ← → → ( ← → � ← � �� vote = fun x y z → ← → → or or and y z ) and z x ) 7 / 9

  19. Degrees of parallelism ← → vote or vote 4 G 3 Sequential 8 / 9

  20. Degrees of parallelism: the wild west ← → vote or vote 4 G 3 Sequential 8 / 9

  21. Degrees of parallelism and Boolean algebras Formulas in the language Very particular of Boolean algebras denotational models

  22. Degrees of parallelism and Boolean algebras Formulas in the language Very particular of Boolean algebras denotational models formula F d denotation d

  23. Degrees of parallelism and Boolean algebras Formulas in the language Very particular of Boolean algebras denotational models formula F d denotation d d simulates e iff

  24. Degrees of parallelism and Boolean algebras Formulas in the language Very particular of Boolean algebras denotational models formula F d denotation d F d entails F e d simulates e iff 9 / 9

Recommend


More recommend