01.04.2015 Views

Logical Relations for Encryption

Logical Relations for Encryption

Logical Relations for Encryption

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Logical</strong> Relation <strong>for</strong> Type<br />

Abstraction (also standard)<br />

The relation environment ϕ gives the relation ϕ(α)<br />

between values of each abstract type α<br />

ϕv 1 ∼ v 2 : α⇔ (v 1 , v 2 ) ∈ ϕ(α)<br />

ϕpack σ 1 , e 1 as ∃α.τ<br />

∼ pack σ 2 , e 2 as ∃α.τ : ∃α.τ⇔<br />

ϕ, α a re 1 ∼ e 2 : τ <strong>for</strong> some r ⊆ σ 1 × σ 2<br />

E.g., pack int, 〈1, λx. x mod 2〉 as ∃α.α×(α→int)<br />

and pack int, 〈3, λx. x mod 2〉 as ∃α.α×(α→int)<br />

can be related by taking α a {(1,3)}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!