Random Variable Models of Computation Michael W. Mislove Tulane - - PowerPoint PPT Presentation

random variable models of computation
SMART_READER_LITE
LIVE PREVIEW

Random Variable Models of Computation Michael W. Mislove Tulane - - PowerPoint PPT Presentation

Random Variable Models of Computation Michael W. Mislove Tulane University New Orleans, LA Samson@60 Fest Oxford, May 28 30, 2013 Joint work with Tyler Barker Work sponsored by AFOSR & NSF The Real Samson - MFPS XXIV 2007 08 UEFA


slide-1
SLIDE 1

Random Variable Models of Computation

Michael W. Mislove

Tulane University New Orleans, LA

Samson@60 Fest Oxford, May 28 –30, 2013 Joint work with Tyler Barker

Work sponsored by AFOSR & NSF

slide-2
SLIDE 2

The Real Samson - MFPS XXIV 2007 – 08 UEFA Champions League Manchester United Chelsea 1 1 Manchester United won 6–5 on penalties Date 21 May 2008 Venue Luzhniki Stadium, Moscow UEFA Man of the Match: Edwin van der Sar (Manchester United) Fans’ Man of the Match: Cristiano Ronaldo (Manchester United)

slide-3
SLIDE 3

The Real Samson - MFPS XXIV

slide-4
SLIDE 4

Continuous Random Variables

◮ f : (X, µ) → (Y , Ω) random variable

◮ (X, µ) probability space, ◮ (Y , Ω) measure space ◮ f is measurable: f −1(A) measurable (∀A ∈ Ω) ◮ Continuous if X and Y topological spaces, f continuous

and X, Y endowed with Borel σ-algebras.

slide-5
SLIDE 5

Continuous Random Variables

◮ f : (X, µ) → (Y , Ω) random variable ◮ Assume X, Y domains endowed with Scott topology.

CRV (X, Y ) = {(µ, f ) | µ ∈ Prob(X), f : supp µ → Y } supp µ = {X | µ(X) = 1 & X closed}.

slide-6
SLIDE 6

Continuous Random Variables

◮ f : (X, µ) → (Y , Ω) random variable ◮ Assume X, Y domains endowed with Scott topology.

CRV (X, Y ) = {(µ, f ) | µ ∈ Prob(X), f : supp µ → Y }

◮ Goubault-Larrecq & Varacca, LICS 2011:

BCD closed under ΘRV(C, P) = {(µ, f ) ∈ CRV (C, P) | µ thin} (µ, f ) ≤ (ν, g) iff πsupp µ(ν) = µ & f ◦ πsupp µ ≤ g C - Cantor tree

slide-7
SLIDE 7

Continuous Random Variables

◮ f : (X, µ) → (Y , Ω) random variable ◮ Assume X, Y domains endowed with Scott topology.

CRV (X, Y ) = {(µ, f ) | µ ∈ Prob(X), f : supp µ → Y }

◮ Goubault-Larrecq & Varacca, LICS 2011:

BCD closed under ΘRV(C, P) = {(µ, f ) ∈ CRV (C, P) | µ thin} (µ, f ) ≤ (ν, g) iff πsupp µ(ν) = µ & f ◦ πsupp µ ≤ g C - Cantor tree

◮ Goal: Understand ΘRV(C, P) construction for P ∈ BCD

slide-8
SLIDE 8

Motivating the Order - Automata

◮ A (generative) probabilistic automaton A has a finite set S of

states, a start state s0 ∈ S, a finite set of actions, Act, and a transition relation − → ⊆ S × Prob(Act × S).

◮ Here’s a simple example with one action, flip:

ǫ start 1

1 2 1 2 1 2 1 2 1 2 1 2

Unfolding the automaton: ǫ 1 1

1 2 1 2

1

1 2 1 2 1 2 1 2

. . . . . . . . . . . .

slide-9
SLIDE 9

Motivating the Order - Trace Distributions

◮ Typically, such automata are modeled by their trace

distributions: µ0 = δǫ µ1 = 1

2δ0 + 1 2δ1

µ2 = 1

4δ00 + 1 4δ01 + 1 4δ10 + 1 4δ11

. . .

◮ Stripping away the probabilities, we have the following sets on

which these measures are concentrated: X0 = {ǫ} X1 = {0, 1} X2 = {00, 01, 10, 11} . . .

slide-10
SLIDE 10

Motivating the Order - Trace Distributions

◮ Stripping away the probabilities, we have the following sets on

which these measures are concentrated: X0 = {ǫ} X1 = {0, 1} X2 = {00, 01, 10, 11} . . .

◮ Notice that the Xns are antichains, and

X0 ⊑C X1 ⊑C X2 ⊑C · · · , where X ⊑C Y ⇔ X ⊆ ↓Y & Y ⊆ ↑X ⇔ πX(Y ) = X

slide-11
SLIDE 11

The Underlying Structure - Domains and Trees

◮ A∞ = A∗ ∪ Aω is a domain under the prefix order.

KA∞ = A∗ – the finite words If A is finite, then A∞ is coherent Compact in the Lawson topology Open sets: U = ↑k \ ↑F, k ∈ A∗, F ⊆ A∗ finite

slide-12
SLIDE 12

The Underlying Structure - Domains and Trees

◮ A∞ = A∗ ∪ Aω is a domain under the prefix order. ◮ AC(A∞) = ({X | Lawson-compact antichain}, ⊑C)

X ⊑C Y ⇔ X ⊆ ↓Y & Y ⊆ ↑X ⇔ πX(Y ) = X Subdomain of PC(A∞).

slide-13
SLIDE 13

The Underlying Structure - Domains and Trees

◮ A∞ = A∗ ∪ Aω is a domain under the prefix order. ◮ AC(A∞) = ({X | Lawson-compact antichain}, ⊑C) ◮ Theorem: AC(A∞) is a bounded complete domain: all

nonempty subsets have infima. (∅ = F ⊆ AC(A∞) ⇒ inf F = Max(

X∈F ↓X)

slide-14
SLIDE 14

The Underlying Structure - Domains and Trees

◮ A∞ = A∗ ∪ Aω is a domain under the prefix order. ◮ AC(A∞) = ({X | Lawson-compact antichain}, ⊑C) ◮ Theorem: AC(A∞) is a bounded complete domain: all

nonempty subsets have infima. Moreover, given {Xn}n∈N ⊆ AC(A∞) directed and X ∈ AC(A∞), TAE: (i) X = supn Xn (ii) X = limn Xn in the Vietoris topology on Γ(A∞).

◮ In particular, any X ∈ AC(A∞) satisfies

X = supn πn(X) = limn πn(X), where πn : A∞ → A≤n is the canonical retraction.

slide-15
SLIDE 15

Thin Probability Measures

◮ µ ∈ Prob(A∞) is thin if suppΛ µ ∈ AC(A∞).

Note: suppΛ µ is in the Lawson topology.

◮ Define µ ≤ ν iff πsuppΛ µ(ν) = µ

Agrees with usual domain order (qua valuations) / functional analysis order via cones. ΘProb(A∞) = ({µ ∈ Prob(A∞) | µ thin}, ≤).

slide-16
SLIDE 16

Thin Probability Measures

◮ µ ∈ Prob(A∞) is thin if suppΛ µ ∈ AC(A∞). ◮ Proposition: (ΘProb(A∞), ≤) is a bounded complete

domain: all nonempty subsets have infima. (∅ = M ⊆ ΘProb(A∞) ⇒ ∀ν ∈ M, inf M = πM(ν), M = infµ∈M suppΛ µ)

slide-17
SLIDE 17

Thin Probability Measures

◮ µ ∈ Prob(A∞) is thin if suppΛ µ ∈ AC(A∞). ◮ Proposition: (ΘProb(A∞), ≤) is a bounded complete

domain: all nonempty subsets have infima. Moreover, given {µn}n∈N ⊆ ΘProb(A∞) directed and µ ∈ ΘProb(A∞), TAE: (i) µ = supn µn (ii) µ = limn µn in the weak ∗-topology on ΘProb(A∞).

◮ In particular, any µ ∈ ΘProb(A∞) satisfies

µ = supn πn(µ) = limn πn(µ), where πn : A∞ → A≤n is the canonical retraction.

slide-18
SLIDE 18

Adding Function Spaces

◮ X ⊑C Y ∈ AC(A∞), P ∈ BCD =

⇒ f → f ◦ πX : [X − → P] ֒ → [Y − → P] & g → g : [Y − → P] − → → [X − → P] by g(x) = inf g(π−1

X (x)).

slide-19
SLIDE 19

Adding Function Spaces

◮ X ⊑C Y ∈ AC(A∞), P ∈ BCD =

⇒ f → f ◦ πX : [X − → P] ֒ → [Y − → P] & g → g : [Y − → P] − → → [X − → P] by g(x) = inf g(π−1

X (x)). ◮ X ∈ AC(A∞), P ∈ BCD =

⇒ [X − → P] ∈ BCD: [X − → P] ≃ limn[πn(X) − → P] ≃ limn Pπn(X).

slide-20
SLIDE 20

Adding Function Spaces

◮ X ∈ AC(A∞), P ∈ BCD =

⇒ [X − → P] ∈ BCD: [X − → P] ≃ limn[πn(X) − → P] ≃ limn Pπn(X).

◮ ( X∈AC(A∞)[X −

→ P], ≤R) ∈ BCD: f ≤R g iff dom f ⊑C dom g & f ◦ πdom f ≤ g.

slide-21
SLIDE 21

Adding Function Spaces

◮ X ∈ AC(A∞), P ∈ BCD =

⇒ [X − → P] ∈ BCD: [X − → P] ≃ limn[πn(X) − → P] ≃ limn Pπn(X).

◮ ( X∈AC(A∞)[X −

→ P], ≤R) ∈ BCD: f ≤R g iff dom f ⊑C dom g & f ◦ πdom f ≤ g. Defining the Model

◮ ΘProb(A∞) × X∈AC(A∞)[X −

→ P] ∈ BCD if P ∈ BCD.

slide-22
SLIDE 22

Adding Function Spaces

◮ X ∈ AC(A∞), P ∈ BCD =

⇒ [X − → P] ∈ BCD: [X − → P] ≃ limn[πn(X) − → P] ≃ limn Pπn(X).

◮ ( X∈AC(A∞)[X −

→ P], ≤R) ∈ BCD: f ≤R g iff dom f ⊑C dom g & f ◦ πdom f ≤ g. Defining the Model

◮ ΘProb(A∞) × X∈AC(A∞)[X −

→ P] ∈ BCD if P ∈ BCD.

◮ For P ∈ BCD

ΘRV(A∞, P) = {(µ, f ) | µ ∈ ΘProb(A∞), f : suppΛ µ − → P} is a retract of ΘProb(A∞) ×

X∈AC(A∞)[X −

→ P] : (µ, f ) → (πY (µ), f ◦ πY ) is the projection Y = suppΛ µ ∧ dom f .

slide-23
SLIDE 23

The Monad Given P ∈ BCD, define

◮ ηP : P → ΘRV(A∞, P) by ηP(x) = (δǫ, constx). ◮ Given h: P −

→ ΘRV(A∞, Q) and (

x∈F rxδx, f ) ∈ ΘRV(A∞, P) define

h† : ΘRV(A∞, P) − → ΘRV(A∞, Q) by h†(

x∈F rxδx, f ) = ( x∈F rxδx ∗ (π1 ◦ h ◦ f )(x), g), where

g : (

x∈F x · suppΛ(π1 ◦ h ◦ f )(x)) → Q by

g(y) = (π2 ◦ h ◦ f )(y)(y).

slide-24
SLIDE 24

The Monad Given P ∈ BCD, define

◮ ηP : P → ΘRV(A∞, P) by ηP(x) = (δǫ, constx). ◮ Given h: P −

→ ΘRV(A∞, Q) and (

x∈F rxδx, f ) ∈ ΘRV(A∞, P) define

h† : ΘRV(A∞, P) − → ΘRV(A∞, Q) by h†(

x∈F rxδx, f ) = ( x∈F rxδx ∗ (π1 ◦ h ◦ f )(x), g), where

g : (

x∈F x · suppΛ(π1 ◦ h ◦ f )(x)) → Q by

g(y) = (π2 ◦ h ◦ f )(y)(y).

◮ These constructs satisfy the monad laws

slide-25
SLIDE 25

The Monad Given P ∈ BCD, define

◮ ηP : P → ΘRV(A∞, P) by ηP(x) = (δǫ, constx). ◮ Given h: P −

→ ΘRV(A∞, Q) and (

x∈F rxδx, f ) ∈ ΘRV(A∞, P) define

h† : ΘRV(A∞, P) − → ΘRV(A∞, Q) by h†(

x∈F rxδx, f ) = ( x∈F rxδx ∗ (π1 ◦ h ◦ f )(x), g), where

g : (

x∈F x · suppΛ(π1 ◦ h ◦ f )(x)) → Q by

g(y) = (π2 ◦ h ◦ f )(y)(y).

◮ These constructs satisfy the monad laws ◮ BUT h† is not monotone: h(x) = (δb, consty)

(δǫ, f ) ≤ (δa, f ), but (δb, g1) ≤ (δab, g2), if a = b ∈ A.

slide-26
SLIDE 26

The Monad - Remedies Extract a subdomain ΘRV(Aω, P) ≡ {(µ, f ) ∈ ΘRV(A∞, P) | µ = δǫ ∨ µ ∈ Prob(Aω)}. Same as

µ∈Prob(Aω)({µ} × [A∞ −

→ P]).

slide-27
SLIDE 27

The Monad - Remedies Extract a subdomain ΘRV(Aω, P) ≡ {(µ, f ) ∈ ΘRV(A∞, P) | µ = δǫ ∨ µ ∈ Prob(Aω)}.

slide-28
SLIDE 28

The Monad - Remedies Extract a subdomain ΘRV(Aω, P) ≡ {(µ, f ) ∈ ΘRV(A∞, P) | µ = δǫ ∨ µ ∈ Prob(Aω)}. Goubault-Larrecq Redefine the order on ΘProb(A∞)

slide-29
SLIDE 29

The Monad - Remedies Extract a subdomain ΘRV(Aω, P) ≡ {(µ, f ) ∈ ΘRV(A∞, P) | µ = δǫ ∨ µ ∈ Prob(Aω)}. Goubault-Larrecq Redefine the order on ΘProb(A∞) Tyler Barker Redefine h†

slide-30
SLIDE 30

The Monad - Remedies Extract a subdomain ΘRV(Aω, P) ≡ {(µ, f ) ∈ ΘRV(A∞, P) | µ = δǫ ∨ µ ∈ Prob(Aω)}. Goubault-Larrecq Redefine the order on ΘProb(A∞) Tyler Barker Redefine h† Use existing model Believe monad exists in kTop

slide-31
SLIDE 31

The Monad - Remedies

Happy Birthday SAMSON!!