Horn-formulas as Types for Structural Resolution

Size: px
Start display at page:

Download "Horn-formulas as Types for Structural Resolution"

Transcription

1 Horn-formulas as Types for Structural Resolution Peng Fu, Ekaterina Komendantskaya University of Dundee School of Computing

2 2 / 17 Introduction: Background Logic Programming(LP) is based on first-order Horn formula The execution of LP is by SLD-resolution SLD-resolution uses Robinson s unification

3 3 / 17 Introduction: Example of SLD-resolution Connectivity of graph with 3 nodes: κ 1 : Connect(x, y), Connect(y, z) Connect(x, z) κ 2 : Connect(node 1, node 2 ) κ 3 : Connect(node 2, node 3 )

4 3 / 17 Introduction: Example of SLD-resolution Connectivity of graph with 3 nodes: κ 1 : Connect(x, y), Connect(y, z) Connect(x, z) κ 2 : Connect(node 1, node 2 ) κ 3 : Connect(node 2, node 3 ) query: Connect(node 1, node 3 )?

5 3 / 17 Introduction: Example of SLD-resolution Connectivity of graph with 3 nodes: κ 1 : Connect(x, y), Connect(y, z) Connect(x, z) κ 2 : Connect(node 1, node 2 ) κ 3 : Connect(node 2, node 3 ) query: Connect(node 1, node 3 )? Execution trace: {Connect(node 1, node 3 )} κ1,[node 1 /x,node 3 /z] {Connect(node 1, y), Connect(y, node 3 )} κ2,[node 1 /x,node 2 /y,node 3 /z] {Connect(node 2, node 3 )} κ3

6 3 / 17 Introduction: Example of SLD-resolution Connectivity of graph with 3 nodes: κ 1 : Connect(x, y), Connect(y, z) Connect(x, z) κ 2 : Connect(node 1, node 2 ) κ 3 : Connect(node 2, node 3 ) query: Connect(node 1, node 3 )? Execution trace: {Connect(node 1, node 3 )} κ1,[node 1 /x,node 3 /z] {Connect(node 1, y), Connect(y, node 3 )} κ2,[node 1 /x,node 2 /y,node 3 /z] {Connect(node 2, node 3 )} κ3 So the answer for Connect(node 1, node 3 ) is yes.

7 4 / 17 Introduction: Motivation Assumptions of LP Provide answers only when a query yields terminating execution Answering a query as proving a formula The notion of proof seems to be of little use in LP Difficulties Hard to model infinite data, where the execution may not terminate How to understand the meaning a query when the query is not terminating

8 5 / 17 Introduction: Resolution by Term-Matching Let s call LP by SLD-resolution LP-Unif How about resolution by term-matching(lp-tm)? Unifiable t 1 γ t 2, i.e. γt 1 γt 2. Matchable t 1 σ t 2, i.e. σt 1 t 2. A use case for LP-TM: Theorem proving

9 5 / 17 Introduction: Resolution by Term-Matching Let s call LP by SLD-resolution LP-Unif How about resolution by term-matching(lp-tm)? Unifiable t 1 γ t 2, i.e. γt 1 γt 2. Matchable t 1 σ t 2, i.e. σt 1 t 2. A use case for LP-TM: Theorem proving Given axioms: Q(x) Q(x) P(x) Is P(x) provable? P(x) Q(x)

10 5 / 17 Introduction: Resolution by Term-Matching Let s call LP by SLD-resolution LP-Unif How about resolution by term-matching(lp-tm)? Unifiable t 1 γ t 2, i.e. γt 1 γt 2. Matchable t 1 σ t 2, i.e. σt 1 t 2. A use case for LP-TM: Theorem proving Given axioms: Q(x) Q(x) P(x) Is P(x) provable? P(x) Q(x) Given axioms: Q(c) Q(x) P(x) Is P(x) provable? P(x) Q(x)

11 6 / 17 Execution behavior of LP-TM Consider following Stream predicate: κ : Stream(y) Stream(cons(x, y))

12 6 / 17 Execution behavior of LP-TM Consider following Stream predicate: κ : Stream(y) Stream(cons(x, y)) For query Stream(cons(x, y)), in LP-Unif: {Stream(cons(x, y))} κ,[x/x1,y/y 1 ] {Stream(y)} κ,[cons(x2,y 2 )/y,x/x 1,cons(x 2,y 2 )/y 1,] {Stream(y 2 )}...

13 6 / 17 Execution behavior of LP-TM Consider following Stream predicate: κ : Stream(y) Stream(cons(x, y)) For query Stream(cons(x, y)), in LP-Unif: {Stream(cons(x, y))} κ,[x/x1,y/y 1 ] {Stream(y)} κ,[cons(x2,y 2 )/y,x/x 1,cons(x 2,y 2 )/y 1,] {Stream(y 2 )}... In LP-TM: {Stream(cons(x, y))} κ,[x/x1,y/y 1 ] {Stream(y)}

14 7 / 17 Limitations of LP-TM LP-TM not quite suitable for problem solving The following logic program can describe finite bit list κ 1 : Bit(0) κ 2 : Bit(1) κ 3 : BList(nil) κ 4 : Bit(x), BList(y) BList(cons(x, y))

15 7 / 17 Limitations of LP-TM LP-TM not quite suitable for problem solving The following logic program can describe finite bit list κ 1 : Bit(0) κ 2 : Bit(1) κ 3 : BList(nil) κ 4 : Bit(x), BList(y) BList(cons(x, y)) Consider query BList(cons(x, y)): {BList(cons(x, y))} κ4,[x/x 1,y/y 1] {Bit(x), BList(y)}

16 7 / 17 Limitations of LP-TM LP-TM not quite suitable for problem solving The following logic program can describe finite bit list κ 1 : Bit(0) κ 2 : Bit(1) κ 3 : BList(nil) κ 4 : Bit(x), BList(y) BList(cons(x, y)) Consider query BList(cons(x, y)): {BList(cons(x, y))} κ4,[x/x 1,y/y 1] {Bit(x), BList(y)} But what is the answer for x, y?

17 7 / 17 Limitations of LP-TM LP-TM not quite suitable for problem solving The following logic program can describe finite bit list κ 1 : Bit(0) κ 2 : Bit(1) κ 3 : BList(nil) κ 4 : Bit(x), BList(y) BList(cons(x, y)) Consider query BList(cons(x, y)): {BList(cons(x, y))} κ4,[x/x 1,y/y 1] {Bit(x), BList(y)} But what is the answer for x, y? We need unification to compute substitution: x 0, y nil

18 7 / 17 Limitations of LP-TM LP-TM not quite suitable for problem solving The following logic program can describe finite bit list κ 1 : Bit(0) κ 2 : Bit(1) κ 3 : BList(nil) κ 4 : Bit(x), BList(y) BList(cons(x, y)) Consider query BList(cons(x, y)): {BList(cons(x, y))} κ4,[x/x 1,y/y 1] {Bit(x), BList(y)} But what is the answer for x, y? We need unification to compute substitution: x 0, y nil The combination of LP-TM with substitution computed by unification leads to Structural Resolution

19 8 / 17 Formalism: LP-Unif, LP-TM and LP-Struct Term-matching reduction: Φ {A 1,..., A i,..., A n } κ,σ {A 1,..., σb 1,..., σb m,..., A n }, if there exists κ : x.b 1,..., B n C Φ such that C σ A i.

20 8 / 17 Formalism: LP-Unif, LP-TM and LP-Struct Term-matching reduction: Φ {A 1,..., A i,..., A n } κ,σ {A 1,..., σb 1,..., σb m,..., A n }, if there exists κ : x.b 1,..., B n C Φ such that C σ A i. Unification reduction: Φ {A 1,..., A i,..., A n } κ,γ γ {γa 1,..., γb 1,..., γb m,..., γa n }, if there exists κ : x.b 1,..., B n C Φ such that C γ A i.

21 8 / 17 Formalism: LP-Unif, LP-TM and LP-Struct Term-matching reduction: Φ {A 1,..., A i,..., A n } κ,σ {A 1,..., σb 1,..., σb m,..., A n }, if there exists κ : x.b 1,..., B n C Φ such that C σ A i. Unification reduction: Φ {A 1,..., A i,..., A n } κ,γ γ {γa 1,..., γb 1,..., γb m,..., γa n }, if there exists κ : x.b 1,..., B n C Φ such that C γ A i. Substitutional reduction: Φ {A 1,..., A i,..., A n } κ,γ γ {γa 1,..., γa i,..., γa n }, if there exists κ : x.b 1,..., B n C Φ such that C γ A i.

22 8 / 17 Formalism: LP-Unif, LP-TM and LP-Struct Term-matching reduction: Φ {A 1,..., A i,..., A n } κ,σ {A 1,..., σb 1,..., σb m,..., A n }, if there exists κ : x.b 1,..., B n C Φ such that C σ A i. Unification reduction: Φ {A 1,..., A i,..., A n } κ,γ γ {γa 1,..., γb 1,..., γb m,..., γa n }, if there exists κ : x.b 1,..., B n C Φ such that C γ A i. Substitutional reduction: Φ {A 1,..., A i,..., A n } κ,γ γ {γa 1,..., γa i,..., γa n }, if there exists κ : x.b 1,..., B n C Φ such that C γ A i. LP-TM: (Φ, ) LP-Unif: (Φ, ) LP-Struct: (Φ, µ 1 )

23 9 / 17 LP-Struct: Stream κ : Stream(y) Stream(cons(x, y)) For query Stream(cons(x, y)), in LP-Struct: {Stream(cons(x, y))} {Stream(y)}

24 9 / 17 LP-Struct: Stream κ : Stream(y) Stream(cons(x, y)) For query Stream(cons(x, y)), in LP-Struct: {Stream(cons(x, y))} {Stream(y)} [cons(x1,y 1 )/y] {Stream(cons(x 1, y 1 ))} {Stream(y 1 )}

25 9 / 17 LP-Struct: Stream κ : Stream(y) Stream(cons(x, y)) For query Stream(cons(x, y)), in LP-Struct: {Stream(cons(x, y))} {Stream(y)} [cons(x1,y 1 )/y] {Stream(cons(x 1, y 1 ))} {Stream(y 1 )} [cons(x2,y 2 )/y 1,cons(x 1,cons(x 2,y 2 ))/y] {Stream(cons(x 2, y 2 ))} {Stream(y 2 )}

26 9 / 17 LP-Struct: Stream κ : Stream(y) Stream(cons(x, y)) For query Stream(cons(x, y)), in LP-Struct: {Stream(cons(x, y))} {Stream(y)} [cons(x1,y 1 )/y] {Stream(cons(x 1, y 1 ))} {Stream(y 1 )} [cons(x2,y 2 )/y 1,cons(x 1,cons(x 2,y 2 ))/y] {Stream(cons(x 2, y 2 ))} {Stream(y 2 )} [cons(x3,y 3 )/y 2,cons(x 2,cons(x 3,y 3 ))/y 1,cons(x 1,cons(x 2,cons(x 3,y 3 )))/y] {Stream(cons(x 3, y 3 ))} {Stream(y 3 )}

27 9 / 17 LP-Struct: Stream κ : Stream(y) Stream(cons(x, y)) For query Stream(cons(x, y)), in LP-Struct: {Stream(cons(x, y))} {Stream(y)} [cons(x1,y 1 )/y] {Stream(cons(x 1, y 1 ))} {Stream(y 1 )} [cons(x2,y 2 )/y 1,cons(x 1,cons(x 2,y 2 ))/y] {Stream(cons(x 2, y 2 ))} {Stream(y 2 )} [cons(x3,y 3 )/y 2,cons(x 2,cons(x 3,y 3 ))/y 1,cons(x 1,cons(x 2,cons(x 3,y 3 )))/y] {Stream(cons(x 3, y 3 ))} {Stream(y 3 )}... Partial answer: cons(x 1, cons(x 2, cons(x 3, y 3 )))/y

28 10 / 17 Question: Relation between LP-Unif and LP-Struct? Both LP-Unif and LP-Struct are sound w.r.t. Herbrand Model

29 10 / 17 Question: Relation between LP-Unif and LP-Struct? Both LP-Unif and LP-Struct are sound w.r.t. Herbrand Model Operationally, They seem similar but a little different

30 10 / 17 Question: Relation between LP-Unif and LP-Struct? Both LP-Unif and LP-Struct are sound w.r.t. Herbrand Model Operationally, They seem similar but a little different Again, the graph example κ 1 : Connect(x, y), Connect(y, z) Connect(x, z) κ 2 : Connect(node 1, node 2 ) κ 3 : Connect(node 2, node 3 )

31 10 / 17 Question: Relation between LP-Unif and LP-Struct? Both LP-Unif and LP-Struct are sound w.r.t. Herbrand Model Operationally, They seem similar but a little different Again, the graph example κ 1 : Connect(x, y), Connect(y, z) Connect(x, z) κ 2 : Connect(node 1, node 2 ) κ 3 : Connect(node 2, node 3 ) Connect(node 1, node 3 ) in LP-Unif terminates.

32 10 / 17 Question: Relation between LP-Unif and LP-Struct? Both LP-Unif and LP-Struct are sound w.r.t. Herbrand Model Operationally, They seem similar but a little different Again, the graph example κ 1 : Connect(x, y), Connect(y, z) Connect(x, z) κ 2 : Connect(node 1, node 2 ) κ 3 : Connect(node 2, node 3 ) Connect(node 1, node 3 ) in LP-Unif terminates. For LP-Struct: Φ {Connect(node 1, node 3 )} κ1,[node 1 /x,node 3 /z] {Connect(node 1, y), Connect(y, node 3 )} κ1,[node 1 /x,y/z] {Connect(node 1, y 1 ), Connect(y 1, y), Connect(y, node 3 )} κ1...

33 11 / 17 Formalization of a Type System Term t ::= x f (t 1,..., t n ) Atomic Formula A, B, C, D ::= P(t 1,..., t n ) (Horn) Formula F ::= A 1,..., A n A Proof Term p, e ::= κ a λa.e e e

34 Formalization of a Type System Term t ::= x f (t 1,..., t n ) Atomic Formula A, B, C, D ::= P(t 1,..., t n ) (Horn) Formula F ::= A 1,..., A n A Proof Term p, e ::= κ a λa.e e e Girard s observation on intuitionistic sequent calculus with atomic formulas B A axiom B C σb σc subst A D B, D C A, B C cut 11 / 17

35 11 / 17 Formalization of a Type System Term t ::= x f (t 1,..., t n ) Atomic Formula A, B, C, D ::= P(t 1,..., t n ) (Horn) Formula F ::= A 1,..., A n A Proof Term p, e ::= κ a λa.e e e Girard s observation on intuitionistic sequent calculus with atomic formulas B A axiom B C σb σc subst A D B, D C A, B C Is Q provable? cut

36 Formalization of a Type System Term t ::= x f (t 1,..., t n ) Atomic Formula A, B, C, D ::= P(t 1,..., t n ) (Horn) Formula F ::= A 1,..., A n A Proof Term p, e ::= κ a λa.e e e Girard s observation on intuitionistic sequent calculus with atomic formulas B A axiom B C σb σc subst A D B, D C cut A, B C Is Q provable? We internalized as and add proof term annotations κ : x.f axiom e : F e : x.f gen e : x.f e : [t/x]f inst e 1 : A D e 2 : B, D C λa.λb.(e 2 b) (e 1 a) : A, B C cut 11 / 17

37 12 / 17 Soundness of LP-TM and LP-Unif Soundness of LP-Unif If Φ {A} γ, then there exists a proof e : x. γa given axioms Φ. Soundness of LP-TM If Φ {A}, then there exists a proof e : x. A given axioms Φ. For example, the LP-Unif reductions: {Connect(node 1, node 3 )} κ1,[node 1 /x,node 3 /z] {Connect(node 1, y), Connect(y, node 3 )} κ2,[node 1 /x,node 2 /y,node 3 /z] {Connect(node 2, node 3 )} κ3 The reduction yields a proof (λb.(κ 1 b) κ 3 ) κ 2 for the formula Connect(node 1, node 3 ).

38 13 / 17 Useful Properties about the Type System Strong Normalization If e : F, then e is strongly normalizable w.r.t. beta-reduction on proof terms. First Orderness If e : [ x.]a B given axioms Φ, then either e is a proof term constant or it is normalizable to the form λa.n, where n is first order normal proof term. If e : [ x.] B, then e is normalizable to a first order proof term.

39 14 / 17 Realizability Transformation Inspired from Kleene s realizability: ϕ realize A B iff for any number a realizes A and ϕ(a) realizes B.

40 14 / 17 Realizability Transformation Inspired from Kleene s realizability: ϕ realize A B iff for any number a realizes A and ϕ(a) realizes B. Representing First Order Proof Term Let φ be a mapping from proof term variables to first order terms. a φ := φ(a) κ p 1...p n φ := f κ ( p 1 φ,..., p n φ )

41 14 / 17 Realizability Transformation Inspired from Kleene s realizability: ϕ realize A B iff for any number a realizes A and ϕ(a) realizes B. Representing First Order Proof Term Let φ be a mapping from proof term variables to first order terms. a φ := φ(a) κ p 1...p n φ := f κ ( p 1 φ,..., p n φ ) For A P(x), we write A[y] P(x, y). Similarly, A[t] P(x, t)

42 14 / 17 Realizability Transformation Inspired from Kleene s realizability: ϕ realize A B iff for any number a realizes A and ϕ(a) realizes B. Representing First Order Proof Term Let φ be a mapping from proof term variables to first order terms. a φ := φ(a) κ p 1...p n φ := f κ ( p 1 φ,..., p n φ ) For A P(x), we write A[y] P(x, y). Similarly, A[t] P(x, t) Realizability transformation F on normal proofs

43 14 / 17 Realizability Transformation Inspired from Kleene s realizability: ϕ realize A B iff for any number a realizes A and ϕ(a) realizes B. Representing First Order Proof Term Let φ be a mapping from proof term variables to first order terms. a φ := φ(a) κ p 1...p n φ := f κ ( p 1 φ,..., p n φ ) For A P(x), we write A[y] P(x, y). Similarly, A[t] P(x, t) Realizability transformation F on normal proofs F(κ : x.a1,..., A m B) := κ : x. y.a 1 [y 1 ],..., A m [y m ] B[f κ (y 1,..., y m )]

44 14 / 17 Realizability Transformation Inspired from Kleene s realizability: ϕ realize A B iff for any number a realizes A and ϕ(a) realizes B. Representing First Order Proof Term Let φ be a mapping from proof term variables to first order terms. a φ := φ(a) κ p 1...p n φ := f κ ( p 1 φ,..., p n φ ) For A P(x), we write A[y] P(x, y). Similarly, A[t] P(x, t) Realizability transformation F on normal proofs F(κ : x.a1,..., A m B) := κ : x. y.a 1 [y 1 ],..., A m [y m ] B[f κ (y 1,..., y m )] F(λa.n : [ x].a 1,..., A m B) := λa.n : [ x. y].a 1 [y 1 ],..., A m [y m ] B[ n [y/a] ]

45 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 )

46 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 ) LP-Struct reduction for Connect(node 1, node 3, u).

47 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 ) LP-Struct reduction for Connect(node 1, node 3, u). {Connect(node1, node 3, u)}

48 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 ) LP-Struct reduction for Connect(node 1, node 3, u). {Connect(node1, node 3, u)} κ1,[node 1/x,node 3/z,f κ1 (u 1,u 2)/u] {Connect(node 1, node 3, f κ1 (u 1, u 2 ))} κ1 {Connect(node 1, y, u 1 ), Connect(y, node 3, u 2 )}

49 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 ) LP-Struct reduction for Connect(node 1, node 3, u). {Connect(node1, node 3, u)} κ1,[node 1/x,node 3/z,f κ1 (u 1,u 2)/u] {Connect(node 1, node 3, f κ1 (u 1, u 2 ))} κ1 {Connect(node 1, y, u 1 ), Connect(y, node 3, u 2 )} κ2,[c κ2 /u 1,node 1/x,node 2/y,,node 3/z,f κ1 (c κ2,u 2)/u]

50 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 ) LP-Struct reduction for Connect(node 1, node 3, u). {Connect(node1, node 3, u)} κ1,[node 1/x,node 3/z,f κ1 (u 1,u 2)/u] {Connect(node 1, node 3, f κ1 (u 1, u 2 ))} κ1 {Connect(node 1, y, u 1 ), Connect(y, node 3, u 2 )} κ2,[c κ2 /u 1,node 1/x,node 2/y,,node 3/z,f κ1 (c κ2,u 2)/u] {Connect(node1, node 2, c κ2 ), Connect(node 2, node 3, u 2 )} κ2 {Connect(node 2, node 3, u 2 )}

51 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 ) LP-Struct reduction for Connect(node 1, node 3, u). {Connect(node1, node 3, u)} κ1,[node 1/x,node 3/z,f κ1 (u 1,u 2)/u] {Connect(node 1, node 3, f κ1 (u 1, u 2 ))} κ1 {Connect(node 1, y, u 1 ), Connect(y, node 3, u 2 )} κ2,[c κ2 /u 1,node 1/x,node 2/y,,node 3/z,f κ1 (c κ2,u 2)/u] {Connect(node1, node 2, c κ2 ), Connect(node 2, node 3, u 2 )} κ2 {Connect(node 2, node 3, u 2 )} κ3,[c κ3 /u 2,c κ2 /u 1,node 3/z,node 1/x,node 2/y,f κ1 (c κ2,c κ3 )/u] {Connect(node 2, node 3, c κ3 )} κ3

52 15 / 17 Realizability Transformation: Example Connectivity after realizability transformation: κ 1 : Connect(x, y, u 1), Connect(y, z, u 2) Connect(x, z, f κ1 (u 1, u 2)) κ 2 : Connect(node 1, node 2, c κ2 ) κ 3 : Connect(node 2, node 3, c κ3 ) LP-Struct reduction for Connect(node 1, node 3, u). {Connect(node1, node 3, u)} κ1,[node 1/x,node 3/z,f κ1 (u 1,u 2)/u] {Connect(node 1, node 3, f κ1 (u 1, u 2 ))} κ1 {Connect(node 1, y, u 1 ), Connect(y, node 3, u 2 )} κ2,[c κ2 /u 1,node 1/x,node 2/y,,node 3/z,f κ1 (c κ2,u 2)/u] {Connect(node1, node 2, c κ2 ), Connect(node 2, node 3, u 2 )} κ2 {Connect(node 2, node 3, u 2 )} κ3,[c κ3 /u 2,c κ2 /u 1,node 3/z,node 1/x,node 2/y,f κ1 (c κ2,c κ3 )/u] {Connect(node 2, node 3, c κ3 )} κ3 Answer: f κ1 (c κ2, c κ3 )/u

53 16 / 17 Results about Realizability Transformation Termination of term-matching reduction For any (Φ, µ 1 ), we have (F(Φ), ν 1 ) Preserve Provability Given axioms Φ, if e : [ x].a B holds with e in normal form, then F(e : [ x].a B) holds for axioms F(Φ) Recording Proof Suppose F(Φ) {A[y]} γ. We have p : x. γa[γy] for F(Φ), where p is in normal form and p = γy Preserve Unification Φ {A} iff F(Φ) {A[y]} Operational Equivalent of LP-Unif and LP-Struct F(Φ) {A[y]} iff F(Φ) {A[y]}( ν 1 ).

54 17 / 17 Summary and Future Work We define a type system to model LP-TM, LP-Unif and LP-Struct We define a transformation called realizability transformation Realizability transformation preserves proof content We show LP-Unif and LP-Struct are operationally equivalent after the tranformation Future works: Apply LP-TM to analyze type class inference in functional langauges

55 18 / 17 Future Work In type class inference, proof has computational meaning: class Eq A where eq :: Eq A => A -> A -> Bool instance => Eq Int where.. instance Eq A => Eq (List A) where.. test = eq [] [1] test function will generate a query Eq (List Int) Eq (List Int) ==> Eq Int ==> empty The proof of the query Eq (List Int) will be passed as an input for eq

Structural Resolution

Structural Resolution Structural Resolution Katya Komendantskaya School of Computing, University of Dundee, UK 12 May 2015 Outline Motivation Coalgebraic Semantics for Structural Resolution The Three Tier Tree calculus for

More information

0.1 Equivalence between Natural Deduction and Axiomatic Systems

0.1 Equivalence between Natural Deduction and Axiomatic Systems 0.1 Equivalence between Natural Deduction and Axiomatic Systems Theorem 0.1.1. Γ ND P iff Γ AS P ( ) it is enough to prove that all axioms are theorems in ND, as MP corresponds to ( e). ( ) by induction

More information

5 Deduction in First-Order Logic

5 Deduction in First-Order Logic 5 Deduction in First-Order Logic The system FOL C. Let C be a set of constant symbols. FOL C is a system of deduction for the language L # C. Axioms: The following are axioms of FOL C. (1) All tautologies.

More information

arxiv: v1 [math.lo] 24 Feb 2014

arxiv: v1 [math.lo] 24 Feb 2014 Residuated Basic Logic II. Interpolation, Decidability and Embedding Minghui Ma 1 and Zhe Lin 2 arxiv:1404.7401v1 [math.lo] 24 Feb 2014 1 Institute for Logic and Intelligence, Southwest University, Beibei

More information

A Translation of Intersection and Union Types

A Translation of Intersection and Union Types A Translation of Intersection and Union Types for the λ µ-calculus Kentaro Kikuchi RIEC, Tohoku University kentaro@nue.riec.tohoku.ac.jp Takafumi Sakurai Department of Mathematics and Informatics, Chiba

More information

1 FUNDAMENTALS OF LOGIC NO.5 SOUNDNESS AND COMPLETENESS Tatsuya Hagino hagino@sfc.keio.ac.jp lecture URL https://vu5.sfc.keio.ac.jp/slide/ 2 So Far Propositional Logic Logical Connectives(,,, ) Truth Table

More information

Strong normalisation and the typed lambda calculus

Strong normalisation and the typed lambda calculus CHAPTER 9 Strong normalisation and the typed lambda calculus In the previous chapter we looked at some reduction rules for intuitionistic natural deduction proofs and we have seen that by applying these

More information

TABLEAU-BASED DECISION PROCEDURES FOR HYBRID LOGIC

TABLEAU-BASED DECISION PROCEDURES FOR HYBRID LOGIC TABLEAU-BASED DECISION PROCEDURES FOR HYBRID LOGIC THOMAS BOLANDER AND TORBEN BRAÜNER Abstract. Hybrid logics are a principled generalization of both modal logics and description logics. It is well-known

More information

Cut-free sequent calculi for algebras with adjoint modalities

Cut-free sequent calculi for algebras with adjoint modalities Cut-free sequent calculi for algebras with adjoint modalities Roy Dyckhoff (University of St Andrews) and Mehrnoosh Sadrzadeh (Universities of Oxford & Southampton) TANCL Conference, Oxford, 8 August 2007

More information

2 Deduction in Sentential Logic

2 Deduction in Sentential Logic 2 Deduction in Sentential Logic Though we have not yet introduced any formal notion of deductions (i.e., of derivations or proofs), we can easily give a formal method for showing that formulas are tautologies:

More information

Orthogonality to the value group is the same as generic stability in C-minimal expansions of ACVF

Orthogonality to the value group is the same as generic stability in C-minimal expansions of ACVF Orthogonality to the value group is the same as generic stability in C-minimal expansions of ACVF Will Johnson February 18, 2014 1 Introduction Let T be some C-minimal expansion of ACVF. Let U be the monster

More information

Notes on Natural Logic

Notes on Natural Logic Notes on Natural Logic Notes for PHIL370 Eric Pacuit November 16, 2012 1 Preliminaries: Trees A tree is a structure T = (T, E), where T is a nonempty set whose elements are called nodes and E is a relation

More information

Gödel algebras free over finite distributive lattices

Gödel algebras free over finite distributive lattices TANCL, Oxford, August 4-9, 2007 1 Gödel algebras free over finite distributive lattices Stefano Aguzzoli Brunella Gerla Vincenzo Marra D.S.I. D.I.COM. D.I.C.O. University of Milano University of Insubria

More information

Fundamentals of Logic

Fundamentals of Logic Fundamentals of Logic No.4 Proof Tatsuya Hagino Faculty of Environment and Information Studies Keio University 2015/5/11 Tatsuya Hagino (Faculty of Environment and InformationFundamentals Studies Keio

More information

Introduction An example Cut elimination. Deduction Modulo. Olivier Hermant. Tuesday, December 12, Deduction Modulo

Introduction An example Cut elimination. Deduction Modulo. Olivier Hermant. Tuesday, December 12, Deduction Modulo Tuesday, December 12, 2006 Deduction and Computation Sequent calculus The cut rule The rewrite rules Sequent calculus The cut rule The rewrite rules Deduction system: Gentzen s sequent calculus Γ, P P

More information

Threshold logic proof systems

Threshold logic proof systems Threshold logic proof systems Samuel Buss Peter Clote May 19, 1995 In this note, we show the intersimulation of three threshold logics within a polynomial size and constant depth factor. The logics are

More information

Tableau Theorem Prover for Intuitionistic Propositional Logic

Tableau Theorem Prover for Intuitionistic Propositional Logic Tableau Theorem Prover for Intuitionistic Propositional Logic Portland State University CS 510 - Mathematical Logic and Programming Languages Motivation Tableau for Classical Logic If A is contradictory

More information

Tableau Theorem Prover for Intuitionistic Propositional Logic

Tableau Theorem Prover for Intuitionistic Propositional Logic Tableau Theorem Prover for Intuitionistic Propositional Logic Portland State University CS 510 - Mathematical Logic and Programming Languages Motivation Tableau for Classical Logic If A is contradictory

More information

École normale supérieure, MPRI, M2 Year 2007/2008. Course 2-6 Abstract interpretation: application to verification and static analysis P.

École normale supérieure, MPRI, M2 Year 2007/2008. Course 2-6 Abstract interpretation: application to verification and static analysis P. École normale supérieure, MPRI, M2 Year 2007/2008 Course 2-6 Abstract interpretation: application to verification and static analysis P. Cousot Questions and answers of the partial exam of Friday November

More information

CS792 Notes Henkin Models, Soundness and Completeness

CS792 Notes Henkin Models, Soundness and Completeness CS792 Notes Henkin Models, Soundness and Completeness Arranged by Alexandra Stefan March 24, 2005 These notes are a summary of chapters 4.5.1-4.5.5 from [1]. 1 Review indexed family of sets: A s, where

More information

Characterisation of Strongly Normalising λµ-terms

Characterisation of Strongly Normalising λµ-terms Characterisation of Strongly Normalising λµ-terms Ugo de Liguoro joint work with Steffen van Bakel and Franco Barbanera ITRS - June 2012, Dubrovnik Introduction Parigot s λµ-calculus is an extension of

More information

Isabelle/FOL First-Order Logic

Isabelle/FOL First-Order Logic Isabelle/FOL First-Order Logic Larry Paulson and Markus Wenzel October 8, 2017 Contents 1 Intuitionistic first-order logic 2 1.1 Syntax and axiomatic basis................... 2 1.1.1 Equality..........................

More information

THE OPERATIONAL PERSPECTIVE

THE OPERATIONAL PERSPECTIVE THE OPERATIONAL PERSPECTIVE Solomon Feferman ******** Advances in Proof Theory In honor of Gerhard Jäger s 60th birthday Bern, Dec. 13-14, 2013 1 Operationally Based Axiomatic Programs The Explicit Mathematics

More information

SAT and DPLL. Introduction. Preliminaries. Normal forms DPLL. Complexity. Espen H. Lian. DPLL Implementation. Bibliography.

SAT and DPLL. Introduction. Preliminaries. Normal forms DPLL. Complexity. Espen H. Lian. DPLL Implementation. Bibliography. SAT and Espen H. Lian Ifi, UiO Implementation May 4, 2010 Espen H. Lian (Ifi, UiO) SAT and May 4, 2010 1 / 59 Espen H. Lian (Ifi, UiO) SAT and May 4, 2010 2 / 59 Introduction Introduction SAT is the problem

More information

A Syntactic Realization Theorem for Justification Logics

A Syntactic Realization Theorem for Justification Logics A Syntactic Realization Theorem for Justification Logics Kai Brünnler, Remo Goetschi, and Roman Kuznets 1 Institut für Informatik und angewandte Mathematik, Universität Bern Neubrückstrasse 10, CH-3012

More information

CTL Model Checking. Goal Method for proving M sat σ, where M is a Kripke structure and σ is a CTL formula. Approach Model checking!

CTL Model Checking. Goal Method for proving M sat σ, where M is a Kripke structure and σ is a CTL formula. Approach Model checking! CMSC 630 March 13, 2007 1 CTL Model Checking Goal Method for proving M sat σ, where M is a Kripke structure and σ is a CTL formula. Approach Model checking! Mathematically, M is a model of σ if s I = M

More information

Two Notions of Sub-behaviour for Session-based Client/Server Systems

Two Notions of Sub-behaviour for Session-based Client/Server Systems Two Notions of Sub-behaviour for Session-based Client/Server Systems Franco Barbanera 1 and Ugo de Liguoro 2 1 Dipartimento di Matematica e Informatica, Università di Catania 2 Dipartimento di Informatica,

More information

THE NUMBER OF UNARY CLONES CONTAINING THE PERMUTATIONS ON AN INFINITE SET

THE NUMBER OF UNARY CLONES CONTAINING THE PERMUTATIONS ON AN INFINITE SET THE NUMBER OF UNARY CLONES CONTAINING THE PERMUTATIONS ON AN INFINITE SET MICHAEL PINSKER Abstract. We calculate the number of unary clones (submonoids of the full transformation monoid) containing the

More information

Chapter 4. Cardinal Arithmetic.

Chapter 4. Cardinal Arithmetic. Chapter 4. Cardinal Arithmetic. 4.1. Basic notions about cardinals. We are used to comparing the size of sets by seeing if there is an injection from one to the other, or a bijection between the two. Definition.

More information

SAT and DPLL. Espen H. Lian. May 4, Ifi, UiO. Espen H. Lian (Ifi, UiO) SAT and DPLL May 4, / 59

SAT and DPLL. Espen H. Lian. May 4, Ifi, UiO. Espen H. Lian (Ifi, UiO) SAT and DPLL May 4, / 59 SAT and DPLL Espen H. Lian Ifi, UiO May 4, 2010 Espen H. Lian (Ifi, UiO) SAT and DPLL May 4, 2010 1 / 59 Normal forms Normal forms DPLL Complexity DPLL Implementation Bibliography Espen H. Lian (Ifi, UiO)

More information

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 3 Tuesday, January 30, 2018 1 Inductive sets Induction is an important concept in the theory of programming language.

More information

Level by Level Inequivalence, Strong Compactness, and GCH

Level by Level Inequivalence, Strong Compactness, and GCH Level by Level Inequivalence, Strong Compactness, and GCH Arthur W. Apter Department of Mathematics Baruch College of CUNY New York, New York 10010 USA and The CUNY Graduate Center, Mathematics 365 Fifth

More information

In this lecture, we will use the semantics of our simple language of arithmetic expressions,

In this lecture, we will use the semantics of our simple language of arithmetic expressions, CS 4110 Programming Languages and Logics Lecture #3: Inductive definitions and proofs In this lecture, we will use the semantics of our simple language of arithmetic expressions, e ::= x n e 1 + e 2 e

More information

CIS 500 Software Foundations Fall October. CIS 500, 6 October 1

CIS 500 Software Foundations Fall October. CIS 500, 6 October 1 CIS 500 Software Foundations Fall 2004 6 October CIS 500, 6 October 1 Midterm 1 is next Wednesday Today s lecture will not be covered by the midterm. Next Monday, review class. Old exams and review questions

More information

Chain conditions, layered partial orders and weak compactness

Chain conditions, layered partial orders and weak compactness Chain conditions, layered partial orders and weak compactness Philipp Moritz Lücke Joint work with Sean D. Cox (VCU Richmond) Mathematisches Institut Rheinische Friedrich-Wilhelms-Universität Bonn http://www.math.uni-bonn.de/people/pluecke/

More information

Decidability and Recursive Languages

Decidability and Recursive Languages Decidability and Recursive Languages Let L (Σ { }) be a language, i.e., a set of strings of symbols with a finite length. For example, {0, 01, 10, 210, 1010,...}. Let M be a TM such that for any string

More information

An effective perfect-set theorem

An effective perfect-set theorem An effective perfect-set theorem David Belanger, joint with Keng Meng (Selwyn) Ng CTFM 2016 at Waseda University, Tokyo Institute for Mathematical Sciences National University of Singapore The perfect

More information

Untyped Lambda Calculus

Untyped Lambda Calculus Chapter 2 Untyped Lambda Calculus We assume the existence of a denumerable set VAR of (object) variables x 0,x 1,x 2,..., and use x,y,z to range over these variables. Given two variables x 1 and x 2, we

More information

Characterizing large cardinals in terms of layered partial orders

Characterizing large cardinals in terms of layered partial orders Characterizing large cardinals in terms of layered partial orders Philipp Moritz Lücke Joint work with Sean D. Cox (VCU Richmond) Mathematisches Institut Rheinische Friedrich-Wilhelms-Universität Bonn

More information

A semantics for concurrent permission logic. Stephen Brookes CMU

A semantics for concurrent permission logic. Stephen Brookes CMU A semantics for concurrent permission logic Stephen Brookes CMU Cambridge, March 2006 Traditional logic Owicki/Gries 76 Γ {p} c {q} Resource-sensitive partial correctness Γ specifies resources ri, protection

More information

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 3 Tuesday, February 2, 2016 1 Inductive proofs, continued Last lecture we considered inductively defined sets, and

More information

PARTITIONS OF 2 ω AND COMPLETELY ULTRAMETRIZABLE SPACES

PARTITIONS OF 2 ω AND COMPLETELY ULTRAMETRIZABLE SPACES PARTITIONS OF 2 ω AND COMPLETELY ULTRAMETRIZABLE SPACES WILLIAM R. BRIAN AND ARNOLD W. MILLER Abstract. We prove that, for every n, the topological space ω ω n (where ω n has the discrete topology) can

More information

monotone circuit value

monotone circuit value monotone circuit value A monotone boolean circuit s output cannot change from true to false when one input changes from false to true. Monotone boolean circuits are hence less expressive than general circuits.

More information

R. Selvi 1, P. Thangavelu 2. Sri Parasakthi College for Women Courtallam, INDIA 2 Department of Mathematics

R. Selvi 1, P. Thangavelu 2. Sri Parasakthi College for Women Courtallam, INDIA 2 Department of Mathematics International Journal of Pure and Applied Mathematics Volume 87 No. 6 2013, 817-825 ISSN: 1311-8080 (printed version); ISSN: 1314-3395 (on-line version) url: http://www.ijpam.eu doi: http://dx.doi.org/10.12732/ijpam.v87i6.10

More information

START HERE: Instructions. 1 Exponential Family [Zhou, Manzil]

START HERE: Instructions. 1 Exponential Family [Zhou, Manzil] START HERE: Instructions Thanks a lot to John A.W.B. Constanzo and Shi Zong for providing and allowing to use the latex source files for quick preparation of the HW solution. The homework was due at 9:00am

More information

Discrete Random Variables

Discrete Random Variables Discrete Random Variables MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2017 Objectives During this lesson we will learn to: distinguish between discrete and continuous

More information

Discrete Random Variables

Discrete Random Variables Discrete Random Variables MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2018 Objectives During this lesson we will learn to: distinguish between discrete and continuous

More information

A NEW NOTION OF TRANSITIVE RELATIVE RETURN RATE AND ITS APPLICATIONS USING STOCHASTIC DIFFERENTIAL EQUATIONS. Burhaneddin İZGİ

A NEW NOTION OF TRANSITIVE RELATIVE RETURN RATE AND ITS APPLICATIONS USING STOCHASTIC DIFFERENTIAL EQUATIONS. Burhaneddin İZGİ A NEW NOTION OF TRANSITIVE RELATIVE RETURN RATE AND ITS APPLICATIONS USING STOCHASTIC DIFFERENTIAL EQUATIONS Burhaneddin İZGİ Department of Mathematics, Istanbul Technical University, Istanbul, Turkey

More information

A Knowledge-Theoretic Approach to Distributed Problem Solving

A Knowledge-Theoretic Approach to Distributed Problem Solving A Knowledge-Theoretic Approach to Distributed Problem Solving Michael Wooldridge Department of Electronic Engineering, Queen Mary & Westfield College University of London, London E 4NS, United Kingdom

More information

3 The Model Existence Theorem

3 The Model Existence Theorem 3 The Model Existence Theorem Although we don t have compactness or a useful Completeness Theorem, Henkinstyle arguments can still be used in some contexts to build models. In this section we describe

More information

Security issues in contract-based computing

Security issues in contract-based computing Security issues in contract-based computing Massimo Bartoletti 1 and Roberto Zunino 2 1 Dipartimento di Matematica e Informatica, Università degli Studi di Cagliari, Italy 2 Dipartimento di Ingegneria

More information

Partial Fractions. A rational function is a fraction in which both the numerator and denominator are polynomials. For example, f ( x) = 4, g( x) =

Partial Fractions. A rational function is a fraction in which both the numerator and denominator are polynomials. For example, f ( x) = 4, g( x) = Partial Fractions A rational function is a fraction in which both the numerator and denominator are polynomials. For example, f ( x) = 4, g( x) = 3 x 2 x + 5, and h( x) = x + 26 x 2 are rational functions.

More information

Typed Lambda Calculi Lecture Notes

Typed Lambda Calculi Lecture Notes Typed Lambda Calculi Lecture Notes Gert Smolka Saarland University December 4, 2015 1 Simply Typed Lambda Calculus (STLC) STLC is a simply typed version of λβ. The ability to express data types and recursion

More information

The Traveling Salesman Problem. Time Complexity under Nondeterminism. A Nondeterministic Algorithm for tsp (d)

The Traveling Salesman Problem. Time Complexity under Nondeterminism. A Nondeterministic Algorithm for tsp (d) The Traveling Salesman Problem We are given n cities 1, 2,..., n and integer distances d ij between any two cities i and j. Assume d ij = d ji for convenience. The traveling salesman problem (tsp) asks

More information

Long Term Values in MDPs Second Workshop on Open Games

Long Term Values in MDPs Second Workshop on Open Games A (Co)Algebraic Perspective on Long Term Values in MDPs Second Workshop on Open Games Helle Hvid Hansen Delft University of Technology Helle Hvid Hansen (TU Delft) 2nd WS Open Games Oxford 4-6 July 2018

More information

Continuous images of closed sets in generalized Baire spaces ESI Workshop: Forcing and Large Cardinals

Continuous images of closed sets in generalized Baire spaces ESI Workshop: Forcing and Large Cardinals Continuous images of closed sets in generalized Baire spaces ESI Workshop: Forcing and Large Cardinals Philipp Moritz Lücke (joint work with Philipp Schlicht) Mathematisches Institut, Rheinische Friedrich-Wilhelms-Universität

More information

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise.

Version A. Problem 1. Let X be the continuous random variable defined by the following pdf: 1 x/2 when 0 x 2, f(x) = 0 otherwise. Math 224 Q Exam 3A Fall 217 Tues Dec 12 Version A Problem 1. Let X be the continuous random variable defined by the following pdf: { 1 x/2 when x 2, f(x) otherwise. (a) Compute the mean µ E[X]. E[X] x

More information

Notes to The Resurrection Axioms

Notes to The Resurrection Axioms Notes to The Resurrection Axioms Thomas Johnstone Talk in the Logic Workshop CUNY Graduate Center September 11, 009 Abstract I will discuss a new class of forcing axioms, the Resurrection Axioms (RA),

More information

COMBINATORICS OF REDUCTIONS BETWEEN EQUIVALENCE RELATIONS

COMBINATORICS OF REDUCTIONS BETWEEN EQUIVALENCE RELATIONS COMBINATORICS OF REDUCTIONS BETWEEN EQUIVALENCE RELATIONS DAN HATHAWAY AND SCOTT SCHNEIDER Abstract. We discuss combinatorial conditions for the existence of various types of reductions between equivalence

More information

Satisfaction in outer models

Satisfaction in outer models Satisfaction in outer models Radek Honzik joint with Sy Friedman Department of Logic Charles University logika.ff.cuni.cz/radek CL Hamburg September 11, 2016 Basic notions: Let M be a transitive model

More information

Outline Introduction Game Representations Reductions Solution Concepts. Game Theory. Enrico Franchi. May 19, 2010

Outline Introduction Game Representations Reductions Solution Concepts. Game Theory. Enrico Franchi. May 19, 2010 May 19, 2010 1 Introduction Scope of Agent preferences Utility Functions 2 Game Representations Example: Game-1 Extended Form Strategic Form Equivalences 3 Reductions Best Response Domination 4 Solution

More information

ExpTime Tableau Decision Procedures for Regular Grammar Logics with Converse

ExpTime Tableau Decision Procedures for Regular Grammar Logics with Converse ExpTime Tableau Decision Procedures for Regular Grammar Logics with Converse Linh Anh Nguyen 1 and Andrzej Sza las 1,2 1 Institute of Informatics, University of Warsaw Banacha 2, 02-097 Warsaw, Poland

More information

Optimal Satisficing Tree Searches

Optimal Satisficing Tree Searches Optimal Satisficing Tree Searches Dan Geiger and Jeffrey A. Barnett Northrop Research and Technology Center One Research Park Palos Verdes, CA 90274 Abstract We provide an algorithm that finds optimal

More information

Maximally Consistent Extensions

Maximally Consistent Extensions Chapter 4 Maximally Consistent Extensions Throughout this chapter we require that all formulae are written in Polish notation and that the variables are amongv 0,v 1,v 2,... Recall that by the PRENEX NORMAL

More information

Unary PCF is Decidable

Unary PCF is Decidable Unary PCF is Decidable Ralph Loader Merton College, Oxford November 1995, revised October 1996 and September 1997. Abstract We show that unary PCF, a very small fragment of Plotkin s PCF [?], has a decidable

More information

Non replication of options

Non replication of options Non replication of options Christos Kountzakis, Ioannis A Polyrakis and Foivos Xanthos June 30, 2008 Abstract In this paper we study the scarcity of replication of options in the two period model of financial

More information

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions

Probability Theory and Simulation Methods. April 9th, Lecture 20: Special distributions April 9th, 2018 Lecture 20: Special distributions Week 1 Chapter 1: Axioms of probability Week 2 Chapter 3: Conditional probability and independence Week 4 Chapters 4, 6: Random variables Week 9 Chapter

More information

X i = 124 MARTINGALES

X i = 124 MARTINGALES 124 MARTINGALES 5.4. Optimal Sampling Theorem (OST). First I stated it a little vaguely: Theorem 5.12. Suppose that (1) T is a stopping time (2) M n is a martingale wrt the filtration F n (3) certain other

More information

Price Theory of Two-Sided Markets

Price Theory of Two-Sided Markets The E. Glen Weyl Department of Economics Princeton University Fundação Getulio Vargas August 3, 2007 Definition of a two-sided market 1 Two groups of consumers 2 Value from connecting (proportional to

More information

Stochastic Dynamical Systems and SDE s. An Informal Introduction

Stochastic Dynamical Systems and SDE s. An Informal Introduction Stochastic Dynamical Systems and SDE s An Informal Introduction Olav Kallenberg Graduate Student Seminar, April 18, 2012 1 / 33 2 / 33 Simple recursion: Deterministic system, discrete time x n+1 = f (x

More information

Brief Notes on the Category Theoretic Semantics of Simply Typed Lambda Calculus

Brief Notes on the Category Theoretic Semantics of Simply Typed Lambda Calculus University of Cambridge 2017 MPhil ACS / CST Part III Category Theory and Logic (L108) Brief Notes on the Category Theoretic Semantics of Simply Typed Lambda Calculus Andrew Pitts Notation: comma-separated

More information

MITCHELL S THEOREM REVISITED. Contents

MITCHELL S THEOREM REVISITED. Contents MITCHELL S THEOREM REVISITED THOMAS GILTON AND JOHN KRUEGER Abstract. Mitchell s theorem on the approachability ideal states that it is consistent relative to a greatly Mahlo cardinal that there is no

More information

CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION

CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION CHOICE THEORY, UTILITY FUNCTIONS AND RISK AVERSION Szabolcs Sebestyén szabolcs.sebestyen@iscte.pt Master in Finance INVESTMENTS Sebestyén (ISCTE-IUL) Choice Theory Investments 1 / 65 Outline 1 An Introduction

More information

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution

Section 7.5 The Normal Distribution. Section 7.6 Application of the Normal Distribution Section 7.6 Application of the Normal Distribution A random variable that may take on infinitely many values is called a continuous random variable. A continuous probability distribution is defined by

More information

Separation axioms on enlargements of generalized topologies

Separation axioms on enlargements of generalized topologies Revista Integración Escuela de Matemáticas Universidad Industrial de Santander Vol. 32, No. 1, 2014, pág. 19 26 Separation axioms on enlargements of generalized topologies Carlos Carpintero a,, Namegalesh

More information

Application of Stochastic Calculus to Price a Quanto Spread

Application of Stochastic Calculus to Price a Quanto Spread Application of Stochastic Calculus to Price a Quanto Spread Christopher Ting http://www.mysmu.edu/faculty/christophert/ Algorithmic Quantitative Finance July 15, 2017 Christopher Ting July 15, 2017 1/33

More information

Tug of War Game. William Gasarch and Nick Sovich and Paul Zimand. October 6, Abstract

Tug of War Game. William Gasarch and Nick Sovich and Paul Zimand. October 6, Abstract Tug of War Game William Gasarch and ick Sovich and Paul Zimand October 6, 2009 To be written later Abstract Introduction Combinatorial games under auction play, introduced by Lazarus, Loeb, Propp, Stromquist,

More information

6 Central Limit Theorem. (Chs 6.4, 6.5)

6 Central Limit Theorem. (Chs 6.4, 6.5) 6 Central Limit Theorem (Chs 6.4, 6.5) Motivating Example In the next few weeks, we will be focusing on making statistical inference about the true mean of a population by using sample datasets. Examples?

More information

Logic and Artificial Intelligence Lecture 24

Logic and Artificial Intelligence Lecture 24 Logic and Artificial Intelligence Lecture 24 Eric Pacuit Currently Visiting the Center for Formal Epistemology, CMU Center for Logic and Philosophy of Science Tilburg University ai.stanford.edu/ epacuit

More information

Building Infinite Processes from Regular Conditional Probability Distributions

Building Infinite Processes from Regular Conditional Probability Distributions Chapter 3 Building Infinite Processes from Regular Conditional Probability Distributions Section 3.1 introduces the notion of a probability kernel, which is a useful way of systematizing and extending

More information

Interpolation of κ-compactness and PCF

Interpolation of κ-compactness and PCF Comment.Math.Univ.Carolin. 50,2(2009) 315 320 315 Interpolation of κ-compactness and PCF István Juhász, Zoltán Szentmiklóssy Abstract. We call a topological space κ-compact if every subset of size κ has

More information

Trust Negotiation With Nonmonotonic Access Policies

Trust Negotiation With Nonmonotonic Access Policies Trust Negotiation With Nonmonotonic Access Policies Phan Minh Dung Phan Minh Thang Department of Computer Science, Asian Institute of Technology GPO Box 4, Klong Luang, Pathumthani 12120, Thailand dung,thangphm@cs.ait.ac.th

More information

Pricing Volatility Derivatives with General Risk Functions. Alejandro Balbás University Carlos III of Madrid

Pricing Volatility Derivatives with General Risk Functions. Alejandro Balbás University Carlos III of Madrid Pricing Volatility Derivatives with General Risk Functions Alejandro Balbás University Carlos III of Madrid alejandro.balbas@uc3m.es Content Introduction. Describing volatility derivatives. Pricing and

More information

Arborescent Architecture for Decentralized Supervisory Control of Discrete Event Systems

Arborescent Architecture for Decentralized Supervisory Control of Discrete Event Systems Arborescent Architecture for Decentralized Supervisory Control of Discrete Event Systems Ahmed Khoumsi and Hicham Chakib Dept. Electrical & Computer Engineering, University of Sherbrooke, Canada Email:

More information

Attempt QUESTIONS 1 and 2, and THREE other questions. Do not turn over until you are told to do so by the Invigilator.

Attempt QUESTIONS 1 and 2, and THREE other questions. Do not turn over until you are told to do so by the Invigilator. UNIVERSITY OF EAST ANGLIA School of Mathematics Main Series UG Examination 2016 17 SET THEORY MTHE6003B Time allowed: 3 Hours Attempt QUESTIONS 1 and 2, and THREE other questions. Notes are not permitted

More information

Advanced Microeconomics

Advanced Microeconomics Advanced Microeconomics ECON5200 - Fall 2014 Introduction What you have done: - consumers maximize their utility subject to budget constraints and firms maximize their profits given technology and market

More information

Pricing Dynamic Solvency Insurance and Investment Fund Protection

Pricing Dynamic Solvency Insurance and Investment Fund Protection Pricing Dynamic Solvency Insurance and Investment Fund Protection Hans U. Gerber and Gérard Pafumi Switzerland Abstract In the first part of the paper the surplus of a company is modelled by a Wiener process.

More information

Another Variant of 3sat. 3sat. 3sat Is NP-Complete. The Proof (concluded)

Another Variant of 3sat. 3sat. 3sat Is NP-Complete. The Proof (concluded) 3sat k-sat, where k Z +, is the special case of sat. The formula is in CNF and all clauses have exactly k literals (repetition of literals is allowed). For example, (x 1 x 2 x 3 ) (x 1 x 1 x 2 ) (x 1 x

More information

Statistics 6 th Edition

Statistics 6 th Edition Statistics 6 th Edition Chapter 5 Discrete Probability Distributions Chap 5-1 Definitions Random Variables Random Variables Discrete Random Variable Continuous Random Variable Ch. 5 Ch. 6 Chap 5-2 Discrete

More information

An Adaptive Characterization of Signed Systems for Paraconsistent Reasoning

An Adaptive Characterization of Signed Systems for Paraconsistent Reasoning An Adaptive Characterization of Signed Systems for Paraconsistent Reasoning Diderik Batens, Joke Meheus, Dagmar Provijn Centre for Logic and Philosophy of Science University of Ghent, Belgium {Diderik.Batens,Joke.Meheus,Dagmar.Provijn}@UGent.be

More information

Martingale Optimal Transport and Robust Hedging

Martingale Optimal Transport and Robust Hedging Martingale Optimal Transport and Robust Hedging Ecole Polytechnique, Paris Angers, September 3, 2015 Outline Optimal Transport and Model-free hedging The Monge-Kantorovitch optimal transport problem Financial

More information

Techniques for Calculating the Efficient Frontier

Techniques for Calculating the Efficient Frontier Techniques for Calculating the Efficient Frontier Weerachart Kilenthong RIPED, UTCC c Kilenthong 2017 Tee (Riped) Introduction 1 / 43 Two Fund Theorem The Two-Fund Theorem states that we can reach any

More information

Rohini Kumar. Statistics and Applied Probability, UCSB (Joint work with J. Feng and J.-P. Fouque)

Rohini Kumar. Statistics and Applied Probability, UCSB (Joint work with J. Feng and J.-P. Fouque) Small time asymptotics for fast mean-reverting stochastic volatility models Statistics and Applied Probability, UCSB (Joint work with J. Feng and J.-P. Fouque) March 11, 2011 Frontier Probability Days,

More information

Yao s Minimax Principle

Yao s Minimax Principle Complexity of algorithms The complexity of an algorithm is usually measured with respect to the size of the input, where size may for example refer to the length of a binary word describing the input,

More information

Comparing Goal-Oriented and Procedural Service Orchestration

Comparing Goal-Oriented and Procedural Service Orchestration Comparing Goal-Oriented and Procedural Service Orchestration M. Birna van Riemsdijk 1 Martin Wirsing 2 1 Technische Universiteit Delft, The Netherlands m.b.vanriemsdijk@tudelft.nl 2 Ludwig-Maximilians-Universität

More information

TWO-PERIODIC TERNARY RECURRENCES AND THEIR BINET-FORMULA 1. INTRODUCTION

TWO-PERIODIC TERNARY RECURRENCES AND THEIR BINET-FORMULA 1. INTRODUCTION TWO-PERIODIC TERNARY RECURRENCES AND THEIR BINET-FORMULA M. ALP, N. IRMAK and L. SZALAY Abstract. The properties of k-periodic binary recurrences have been discussed by several authors. In this paper,

More information

6. Continous Distributions

6. Continous Distributions 6. Continous Distributions Chris Piech and Mehran Sahami May 17 So far, all random variables we have seen have been discrete. In all the cases we have seen in CS19 this meant that our RVs could only take

More information

Focusing on contraction

Focusing on contraction Focusing on contraction Alessandro Avellone 1, Camillo Fiorentini 2, Alberto Momigliano 2 1 DISMEQ, Università degli Studi di Milano-Bicocca 2 DI, Università degli Studi di Milano Abstract. Focusing [1]

More information

A Logic-based Approach to Decision Making. Magdalena Ivanovska and Martin Giese

A Logic-based Approach to Decision Making. Magdalena Ivanovska and Martin Giese A Logic-based Approach to Decision Making Magdalena Ivanovska and Martin Giese Abstract We propose a novel approach to the well-studied problem of making a finite, ordered sequence of decisions under uncertainty.

More information

Lecture 2: The Simple Story of 2-SAT

Lecture 2: The Simple Story of 2-SAT 0510-7410: Topics in Algorithms - Random Satisfiability March 04, 2014 Lecture 2: The Simple Story of 2-SAT Lecturer: Benny Applebaum Scribe(s): Mor Baruch 1 Lecture Outline In this talk we will show that

More information