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

degrees of parallelism and boolean algebras
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Degrees of parallelism and Boolean algebras

Guillaume Geoffroy I2M, Aix-Marseille Université 12 June 2019

1 / 9

slide-2
SLIDE 2

Denotational models

Programming language Denotational model

slide-3
SLIDE 3

Denotational models

Programming language Denotational model program t denotation t

slide-4
SLIDE 4

Denotational models

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

slide-5
SLIDE 5

Denotational models

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

2 / 9

slide-6
SLIDE 6

Left-first or

fun x y → if (x) then true else y

3 / 9

slide-7
SLIDE 7

Left-first or

fun x y → if (x) then true else y true false true true true false true false x y

3 / 9

slide-8
SLIDE 8

Left-first or

fun x y → if (x) then true else y true false true true true false true false ? true x y

3 / 9

slide-9
SLIDE 9

Left-first or

fun x y → if (x) then true else y true false true true true false true false ? true ? x y

3 / 9

slide-10
SLIDE 10

Left-first or

fun x y → if (x) then true else y true false ? true true true ? false true false ? ? true ? ? x y

3 / 9

slide-11
SLIDE 11

Right-first or

fun x y → if (y) true else x true false ? true true true true false true false ? ? ? ? ? x y

4 / 9

slide-12
SLIDE 12

Parallel (symmetric) or

true false ? true true true true false true false ? ? true ? ? x y

5 / 9

slide-13
SLIDE 13

Parallel (symmetric) or

fun x y → ??? true false ? true true true true false true false ? ? true ? ? x y

5 / 9

slide-14
SLIDE 14

Voting function

true true ? true ? true true true true ? true true false false ? false ? false false false false ? false false

6 / 9

slide-15
SLIDE 15

Voting and parallel or can simulate each other

7 / 9

slide-16
SLIDE 16

Voting and parallel or can simulate each other

← →

  • r = fun x y → vote

− →

  • r x y

← −

  • r x y
  • 7 / 9
slide-17
SLIDE 17

Voting and parallel or can simulate each other

← →

  • r = fun x y → vote

− →

  • r x y

← −

  • r x y
  • true

7 / 9

slide-18
SLIDE 18

Voting and parallel or can simulate each other

← →

  • r = fun x y → vote

− →

  • r x y

← −

  • r x y
  • true

vote = fun x y z → ← →

  • r

← →

  • r
  • (←

→ and x y) (← → and y z)

  • (←

→ and z x)

7 / 9

slide-19
SLIDE 19

Degrees of parallelism

← →

  • r

vote G vote4

3

Sequential

8 / 9

slide-20
SLIDE 20

Degrees of parallelism: the wild west

← →

  • r

vote G vote4

3

Sequential

8 / 9

slide-21
SLIDE 21

Degrees of parallelism and Boolean algebras

Very particular denotational models Formulas in the language

  • f Boolean algebras
slide-22
SLIDE 22

Degrees of parallelism and Boolean algebras

Very particular denotational models Formulas in the language

  • f Boolean algebras

denotation d formula Fd

slide-23
SLIDE 23

Degrees of parallelism and Boolean algebras

Very particular denotational models Formulas in the language

  • f Boolean algebras

denotation d formula Fd d simulates e iff

slide-24
SLIDE 24

Degrees of parallelism and Boolean algebras

Very particular denotational models Formulas in the language

  • f Boolean algebras

denotation d formula Fd d simulates e iff Fd entails Fe

9 / 9