Intersection Synchronous Logic

Size: px
Start display at page:

Download "Intersection Synchronous Logic"

Transcription

1 UnB 2007 p. 1/2 Intersection Synchronous Logic Elaine Gouvêa Pimentel Simona Ronchi della Rocca Luca Roversi UFMG/UNITO, 2007

2 UnB 2007 p. 2/2 Outline Motivation

3 UnB 2007 p. 2/2 Outline Motivation Intuitionistic Logic

4 UnB 2007 p. 2/2 Outline Motivation Intuitionistic Logic Intersection Types

5 UnB 2007 p. 2/2 Outline Motivation Intuitionistic Logic Intersection Types The logical system ISL

6 UnB 2007 p. 2/2 Outline Motivation Intuitionistic Logic Intersection Types The logical system ISL Curry-Howard isomorphism

7 UnB 2007 p. 2/2 Outline Motivation Intuitionistic Logic Intersection Types The logical system ISL Curry-Howard isomorphism Strong normalization

8 UnB 2007 p. 2/2 Outline Motivation Intuitionistic Logic Intersection Types The logical system ISL Curry-Howard isomorphism Strong normalization The intersection

9 UnB 2007 p. 3/2 Motivation IT: type system.

10 UnB 2007 p. 3/2 Motivation IT: type system. That is, it concerns terms and types.

11 UnB 2007 p. 3/2 Motivation IT: type system. That is, it concerns terms and types. Goal: to give a proof-theoretical justification for IT.

12 UnB 2007 p. 3/2 Motivation IT: type system. That is, it concerns terms and types. Goal: to give a proof-theoretical justification for IT. That is, reformulate Intersection Types IT by means of a pure logical system.

13 UnB 2007 p. 3/2 Motivation IT: type system. That is, it concerns terms and types. Goal: to give a proof-theoretical justification for IT. That is, reformulate Intersection Types IT by means of a pure logical system. Basis step: to clarify the difference between intersection and intuitionistic conjunction by imposing constraints on the use of logical and structural rules of intuitionistic logic.

14 UnB 2007 p. 4/2 Motivation Given a deduction Π : Γ IT M : σ, the term M records where -introductions and eliminations are used.

15 UnB 2007 p. 4/2 Motivation Given a deduction Π : Γ IT M : σ, the term M records where -introductions and eliminations are used. Intersection can be introduced only between formulas typing the same term.

16 UnB 2007 p. 4/2 Motivation Given a deduction Π : Γ IT M : σ, the term M records where -introductions and eliminations are used. Intersection can be introduced only between formulas typing the same term. ISL: never relies on λ-terms to mark the points where intersection operators of IT can be introduced.

17 UnB 2007 p. 5/2 Motivation Proves properties of sets of deductions of NJ.

18 UnB 2007 p. 5/2 Motivation Proves properties of sets of deductions of NJ. The deductions of the same set must be synchronous with respect to the use of -introduction and elimination.

19 UnB 2007 p. 5/2 Motivation Proves properties of sets of deductions of NJ. The deductions of the same set must be synchronous with respect to the use of -introduction and elimination. Deductions Π 1,..., Π n of NJ in the same set all have the same structure.

20 UnB 2007 p. 5/2 Motivation Proves properties of sets of deductions of NJ. The deductions of the same set must be synchronous with respect to the use of -introduction and elimination. Deductions Π 1,..., Π n of NJ in the same set all have the same structure. Rules of ISL must inductively build the sets of synchronous derivations of NJ as they were equivalence classes.

21 UnB 2007 p. 6/2 Logic and Programming The Curry-Howard isomorphism Logical formulas Types Proofs Programs Cut elimination Evaluation

22 UnB 2007 p. 7/2 Logic and Programming From Logic to Programming rigorous foundation for the design of Programming Languages

23 UnB 2007 p. 7/2 Logic and Programming From Logic to Programming rigorous foundation for the design of Programming Languages tools for automatic synthesis, verification, transformation of programs

24 UnB 2007 p. 8/2 Logic and Programming From Programming to Logic new problems and results in proof theory (e.g., typability problem)

25 UnB 2007 p. 8/2 Logic and Programming From Programming to Logic new problems and results in proof theory (e.g., typability problem) design of new logical systems inspired from programming (e.g., light logics)

26 UnB 2007 p. 9/2 Proofs decoration (R) φ 1,..., φ n ψ i (1 i n) φ 1,..., φ n R(ψ 1,..., ψ n )

27 UnB 2007 p. 9/2 Proofs decoration (R) φ 1,..., φ n ψ i (1 i n) φ 1,..., φ n R(ψ 1,..., ψ n ) x 1 : φ 1,..., x n : φ n M i : ψ i (1 i n) x 1 : φ 1,..., x n : φ n R(M 1,..., M n ) : R(ψ 1,..., ψ n )

28 UnB 2007 p. 10/2 An unusual case study From Computations to proofs Given a type assignment, assigning types to terms, we asked for a logical foundation of it, i.e., for a logic such that the type assignment can be seen as a decoration of it.

29 UnB 2007 p. 10/2 An unusual case study From Computations to proofs Given a type assignment, assigning types to terms, we asked for a logical foundation of it, i.e., for a logic such that the type assignment can be seen as a decoration of it. and back By decorating such a logic with a different technique, we built a new typed language, for expressing the discrete polymorphism, which was a longstanding open problem.

30 UnB 2007 p. 11/2 { }-fragment of NJ Formulae: σ, ρ, τ ::= a (σ σ) (σ σ) where a belongs to a denumerable set of constants.

31 UnB 2007 p. 11/2 { }-fragment of NJ Formulae: σ, ρ, τ ::= a (σ σ) (σ σ) where a belongs to a denumerable set of constants. A context is a finite sequence σ 1,..., σ m of formulae. Contexts are denoted by Γ and.

32 UnB 2007 p. 11/2 { }-fragment of NJ Formulae: σ, ρ, τ ::= a (σ σ) (σ σ) where a belongs to a denumerable set of constants. A context is a finite sequence σ 1,..., σ m of formulae. Contexts are denoted by Γ and. The implicative and conjunctive fragment of NJ proves statements Γ NJ σ, where Γ is a context and σ a formula.

33 UnB 2007 p. 12/2 { }-fragment of NJ (A) σ NJ σ (X) Γ 1, σ 1, σ 2, Γ 2 NJ σ Γ 1, σ 2, σ 1, Γ 2 NJ σ ( E l ) Γ NJ σ τ Γ NJ σ ( I) Γ, σ NJ τ Γ NJ σ τ (W) ( I) Γ NJ σ Γ NJ σ Γ, τ NJ σ Γ NJ τ Γ NJ σ τ ( E r ) Γ NJ σ τ Γ NJ τ ( E) Γ NJ σ τ Γ NJ σ Γ NJ τ

34 UnB 2007 p. 13/2 Decorating NJ (A) x :σ NJ x :σ (X) Γ 1, x :σ 1, y :σ 2, Γ 2 NJ M :σ Γ 1, y :σ 2, x :σ 1, Γ 2 NJ M :σ ( E l ) Γ NJ M :σ τ Γ NJ π l(m) :σ ( I) Γ, x :σ NJ M :τ Γ NJ λx.m :σ τ ( (W) Γ NJ M :σ x dom(γ) Γ, x :τ NJ M :σ ( I) Γ NJ M :σ Γ NJ N :τ Γ NJ (M, N) :σ τ ( E r ) Γ NJ M :σ τ Γ NJ π r(m) :τ E) Γ NJ M :σ τ Γ NJ N : Γ NJ MN :τ

35 UnB 2007 p. 13/2 Decorating NJ (A) x :σ NJ x :σ (X) Γ 1, x :σ 1, y :σ 2, Γ 2 NJ M :σ Γ 1, y :σ 2, x :σ 1, Γ 2 NJ M :σ ( E l ) Γ NJ M :σ τ Γ NJ π l(m) :σ ( I) Γ, x :σ NJ M :τ Γ NJ λx.m :σ τ ( (W) Γ NJ M :σ x dom(γ) Γ, x :τ NJ M :σ ( I) Γ NJ M :σ Γ NJ M :τ Γ NJ (M, N) :σ τ ( E r ) Γ NJ M :σ τ Γ NJ π r(m) :τ E) Γ NJ M :σ τ Γ NJ N : Γ NJ MN :τ

36 UnB 2007 p. 13/2 Decorating NJ (A) x :σ NJ x :σ (X) Γ 1, x :σ 1, y :σ 2, Γ 2 NJ M :σ Γ 1, y :σ 2, x :σ 1, Γ 2 NJ M :σ ( E l ) Γ NJ M :σ τ Γ NJ π l(m) :σ ( I) Γ, x :σ NJ M :τ Γ NJ λx.m :σ τ ( (W) Γ NJ M :σ x dom(γ) Γ, x :τ NJ M :σ ( I) Γ NJ M :σ Γ NJ M :τ Γ NJ M :σ τ ( E r ) Γ NJ M :σ τ Γ NJ π r(m) :τ E) Γ NJ M :σ τ Γ NJ N : Γ NJ MN :τ

37 UnB 2007 p. 13/2 Decorating NJ (A) x :σ NJ x :σ (X) Γ 1, x :σ 1, y :σ 2, Γ 2 NJ M :σ Γ 1, y :σ 2, x :σ 1, Γ 2 NJ M :σ ( E l ) Γ NJ M :σ τ Γ NJ M :σ ( I) Γ, x :σ NJ M :τ Γ NJ λx.m :σ τ ( (W) Γ NJ M :σ x dom(γ) Γ, x :τ NJ M :σ ( I) Γ NJ M :σ Γ NJ M :τ Γ NJ M :σ τ ( E r ) Γ NJ M :σ τ Γ NJ M :τ E) Γ NJ M :σ τ Γ NJ N : Γ NJ MN :τ

38 UnB 2007 p. 14/2 IT (A) x :σ IT x :σ (X) Γ 1, x :σ 1, y :σ 2, Γ 2 IT M :σ Γ 1, y :σ 2, x :σ 1, Γ 2 IT M :σ ( E l ) Γ IT M :σ τ Γ IT M :σ ( I) Γ, x :σ IT M :τ Γ IT λx.m :σ τ ( (W) Γ IT M :σ x dom(γ) Γ, x :τ IT M :σ ( I) Γ IT M :σ Γ IT M :τ Γ IT M :σ τ ( E r ) Γ IT M :σ τ Γ IT M :τ E) Γ IT M :σ τ Γ IT N :σ Γ IT MN :τ

39 UnB 2007 p. 15/2 IT IT is usually presented in the literature in a different style.

40 UnB 2007 p. 15/2 IT IT is usually presented in the literature in a different style. Contexts are sets of pairs {x 1 : σ 1,...,x n : σ n }, and the three rules (A),(W),(X) are replaced by: (A) x : σ Γ Γ NJ x : σ

41 UnB 2007 p. 15/2 IT IT is usually presented in the literature in a different style. Contexts are sets of pairs {x 1 : σ 1,...,x n : σ n }, and the three rules (A),(W),(X) are replaced by: (A) x : σ Γ Γ NJ x : σ The two formulations are equivalent.

42 UnB 2007 p. 15/2 IT IT is usually presented in the literature in a different style. Contexts are sets of pairs {x 1 : σ 1,...,x n : σ n }, and the three rules (A),(W),(X) are replaced by: (A) x : σ Γ Γ NJ x : σ The two formulations are equivalent. Since we are interested to explore the structures of the proofs, we need to express explicitly the structural rules.

43 UnB 2007 p. 16/2 Properties of IT IT characterizes the strongly normalizable terms

44 UnB 2007 p. 16/2 Properties of IT IT characterizes the strongly normalizable terms IT is undecidable

45 UnB 2007 p. 16/2 Properties of IT IT characterizes the strongly normalizable terms IT is undecidable IT has the principal typing property: if a term M can be typed then it has a principal typing such that all and only their typings can be obtained from it by means of suitable operations

46 UnB 2007 p. 17/2 The problem Is there a logical foundation for IT?

47 UnB 2007 p. 17/2 The problem Is there a logical foundation for IT? i.e.

48 UnB 2007 p. 17/2 The problem Is there a logical foundation for IT? i.e. is there a logic such that IT can be obtained from it through a decoration?

49 UnB 2007 p. 18/2 Refining NJ NJr is a type assignment for λ-terms with pairs.

50 UnB 2007 p. 18/2 Refining NJ NJr is a type assignment for λ-terms with pairs. NJr splits the original conjunction of NJ into two.

51 UnB 2007 p. 18/2 Refining NJ NJr is a type assignment for λ-terms with pairs. NJr splits the original conjunction of NJ into two. : synchronous conjunction that keeps giving type to M, identical to N.

52 UnB 2007 p. 18/2 Refining NJ NJr is a type assignment for λ-terms with pairs. NJr splits the original conjunction of NJ into two. : synchronous conjunction that keeps giving type to M, identical to N. &: asynchronous conjunction that gives type to the pair (M,N), since M and N are distinct.

53 UnB 2007 p. 18/2 Refining NJ NJr is a type assignment for λ-terms with pairs. NJr splits the original conjunction of NJ into two. : synchronous conjunction that keeps giving type to M, identical to N. &: asynchronous conjunction that gives type to the pair (M,N), since M and N are distinct. Synchronous conjunction and the intersection have the same symbol: the two connectives are strongly related.

54 UnB 2007 p. 19/2 NJr (A) x : σ NJr x : σ (W) Γ NJr M : σ x dom(γ) Γ, x : τ NJr M : σ ( I) Γ NJr M : σ Γ NJr M : τ Γ NJr M : σ τ ( E l ) Γ NJr M : σ τ Γ NJr M : σ (&E l ) ( I) Γ NJr M : σ&τ Γ NJr π l (M) : σ Γ, x : σ NJr M : τ Γ NJr λx.m : σ τ (X) Γ 1, x : σ 1, y : σ 2, Γ 2 NJr M : σ Γ 1, y : σ 2, x : σ 1, Γ 2 NJr M : σ (&I) Γ NJr M : σ Γ NJr N : τ Γ NJr (M, N) : σ&τ ( E r ) Γ NJr M : σ τ Γ NJr M : τ (&E r ) Γ NJr M : σ&τ Γ NJr π r (M) : τ ( E) Γ NJr M : σ τ Γ NJr N : σ Γ NJr MN : τ

55 UnB 2007 p. 20/2 NJr Intuitively, NJr identifies derivations of NJ which are synchronous w.r.t. the introduction and the elimination of the implication.

56 UnB 2007 p. 20/2 NJr Intuitively, NJr identifies derivations of NJ which are synchronous w.r.t. the introduction and the elimination of the implication. merges sub-deductions where is introduced or eliminated in the same points, namely, up to the use of the two kinds of conjunctions.

57 UnB 2007 p. 20/2 NJr Intuitively, NJr identifies derivations of NJ which are synchronous w.r.t. the introduction and the elimination of the implication. merges sub-deductions where is introduced or eliminated in the same points, namely, up to the use of the two kinds of conjunctions. IT is a sub-system of NJr where only synchronous conjunction is used.

58 NJr Intuitively, NJr identifies derivations of NJ which are synchronous w.r.t. the introduction and the elimination of the implication. merges sub-deductions where is introduced or eliminated in the same points, namely, up to the use of the two kinds of conjunctions. IT is a sub-system of NJr where only synchronous conjunction is used. ISL gets rid of λ-terms to get the same properties as IT. UnB 2007 p. 20/2

59 UnB 2007 p. 21/2 The logical system ISL Formulae of ISL are formulas of NJr. Contexts are finite sequences of such formulae.

60 UnB 2007 p. 21/2 The logical system ISL Formulae of ISL are formulas of NJr. Contexts are finite sequences of such formulae. An atom is a pair A : (Γ;α).

61 UnB 2007 p. 21/2 The logical system ISL Formulae of ISL are formulas of NJr. Contexts are finite sequences of such formulae. An atom is a pair A : (Γ;α). Molecule M = [A 1,..., A n ]: a finite multiset of atoms such that the contexts in all atoms have the same cardinality.

62 ISL [(α i ; α i ) 1 i r] (A) M N M (P) [(Γ i ; β i ) 1 i r] [(Γ i, α i ; β i ) 1 i r] (W) [(Γ i 1, β i, α i, Γ i 2; σ i ) 1 i r] [(Γ i 1, α i, β i, Γ i 2; σ i ) 1 i r] (X) [(Γ i, α i ; β i ) 1 i r] [(Γ i ; α i β i ) 1 i r] ( I) [(Γ i ; α i β i ) 1 i r] [(Γ i ; α i ) 1 i r] [(Γ i ; β i ) 1 i r] ( E) [(Γ i ; α i ) 1 i r] [(Γ i ; β i ) 1 i r] [(Γ i ; α i &β i ) 1 i r] (&I) UnB 2007 p. 22/2

63 UnB 2007 p. 23/2 ISL [(Γ i ; α i &β i ) 1 i r] [(Γ i ; α i ) 1 i r] (&E L ) [(Γ i ; α i &β i ) 1 i r] [(Γ i ; β i ) 1 i r] (&E R ) M [(Γ;α), (Γ; β)] M [(Γ;α β)] ( I) M [(Γ;α β)] M [(Γ;α)] ( E L ) M [(Γ;α β)] M [(Γ;β)] ( E R )

64 UnB 2007 p. 24/2 Example [(α, β; α), (α, β; β)]

65 UnB 2007 p. 24/2 Example [(α, β; α), (α, β; β)] [(α, β; α)], [(α, β; β)]

66 UnB 2007 p. 24/2 Example [(α, β; α), (α, β; β)] [(α, β; α)], [(α, β; β)] [(α; α)], [(β; β)] [(α, β; α)], [(β, α; β)] (W) [(α, β; α)], [(α, β; β)] (X) (&I) [(α, β; α&β)]

67 UnB 2007 p. 25/2...and back By decorating ISL, we obtain a typed programming language for discrete polymorphism, a longstanding open problem.

68 UnB 2007 p. 26/2 ISL and NJ Let M i = [(Γ i 1;α1),...,(Γ i i m i ;αm i i )] for 1 i n. Then ISL M 1 : (M 1 )...M n : (M n ) if and only if Γ i j NJr M i : αj i That is, a molecule represents a set of synchronous proofs of NJ.

69 UnB 2007 p. 26/2 ISL and NJ Let M i = [(Γ i 1;α1),...,(Γ i i m i ;αm i i )] for 1 i n. Then ISL M 1 : (M 1 )...M n : (M n ) if and only if Γ i j NJr M i : αj i That is, a molecule represents a set of synchronous proofs of NJ. ISL is a logic internalizing the difference between synchronicity and asynchronicity in NJ.

70 UnB 2007 p. 27/2 ISL and IT Let M i = [(Γ i 1; α i 1),..., (Γ i m i ; α i m i )] for 1 i n and suppose that ISL M 1 : (M 1 )... M n : (M n ) where M i doesn t have any occurrence of π 1, π 2 or (.,.) and M i doesn t have any occurrence of the connective. Then Γ i j IT M i : α i j

71 UnB 2007 p. 27/2 ISL and IT Let M i = [(Γ i 1; α i 1),..., (Γ i m i ; α i m i )] for 1 i n and suppose that ISL M 1 : (M 1 )... M n : (M n ) where M i doesn t have any occurrence of π 1, π 2 or (.,.) and M i doesn t have any occurrence of the connective. Then Γ i j IT M i : α i j Γ IT M : α implies ISL M : [(Γ) ; α]

72 UnB 2007 p. 27/2 ISL and IT Let M i = [(Γ i 1; α i 1),..., (Γ i m i ; α i m i )] for 1 i n and suppose that ISL M 1 : (M 1 )... M n : (M n ) where M i doesn t have any occurrence of π 1, π 2 or (.,.) and M i doesn t have any occurrence of the connective. Then Γ i j IT M i : α i j Γ IT M : α implies ISL M : [(Γ) ; α] ISL is strongly normalizable.

73 UnB 2007 p. 28/2 The intersection The implication ( ) is the adjoint of the conjunction (&): [( ;A&B C)] [( ;A B C)].

74 UnB 2007 p. 28/2 The intersection The implication ( ) is the adjoint of the conjunction (&): [( ;A&B C)] [( ;A B C)]. Does the intersection has also an adjoint ( )?

75 UnB 2007 p. 28/2 The intersection The implication ( ) is the adjoint of the conjunction (&): [( ;A&B C)] [( ;A B C)]. Does the intersection has also an adjoint ( )? If the answer is yes, there exists a function f, of two arguments: f : A B C that can take one at a time, independently: f : A B C

76 UnB 2007 p. 28/2 The intersection The implication ( ) is the adjoint of the conjunction (&): [( ;A&B C)] [( ;A B C)]. Does the intersection has also an adjoint ( )? If the answer is yes, there exists a function f, of two arguments: f : A B C that can take one at a time, independently: f : A B C Impossible since A and B are not at all independent: they are labelled by the same variable x.

77 UnB 2007 p. 28/2 The intersection The implication ( ) is the adjoint of the conjunction (&): [( ;A&B C)] [( ;A B C)]. Does the intersection has also an adjoint ( )? If the answer is yes, there exists a function f, of two arguments: f : A B C that can take one at a time, independently: f : A B C Impossible since A and B are not at all independent: they are labelled by the same variable x. Hence the system ISL gives a nice way of describing conjunction: it is a connective that has an asynchronous behavior.

78 UnB 2007 p. 29/2 Future work Operational semantics.

79 UnB 2007 p. 29/2 Future work Operational semantics. Sequent calculus.

80 UnB 2007 p. 29/2 Future work Operational semantics. Sequent calculus. Proof nets.

81 UnB 2007 p. 29/2 Future work Operational semantics. Sequent calculus. Proof nets. ISL IT λ-calculus Strongly Normalizing λ-terms

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC

AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC Bulletin of the Section of Logic Volume 45/1 (2016), pp 33 51 http://dxdoiorg/1018778/0138-068045103 Mirjana Ilić 1 AN ALTERNATIVE NATURAL DEDUCTION FOR THE INTUITIONISTIC PROPOSITIONAL LOGIC Abstract

More information

On a computational interpretation of sequent calculus for modal logic S4

On a computational interpretation of sequent calculus for modal logic S4 On a computational interpretation of sequent calculus for modal logic S4 Yosuke Fukuda Graduate School of Informatics, Kyoto University Second Workshop on Mathematical Logic and Its Applications March

More information

Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic

Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic Evaluation Driven Proof-Search in Natural Deduction Calculi for Intuitionistic Propositional Logic Mauro Ferrari 1, Camillo Fiorentini 2 1 DiSTA, Univ. degli Studi dell Insubria, Varese, Italy 2 DI, Univ.

More information

The Curry-Howard Isomorphism

The Curry-Howard Isomorphism The Curry-Howard Isomorphism Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) The Curry-Howard Isomorphism MFES 2008/09

More information

Kleene realizability and negative translations

Kleene realizability and negative translations Q E I U G I C Kleene realizability and negative translations Alexandre Miquel O P. D E. L Ō A U D E L A R April 21th, IMERL Plan 1 Kleene realizability 2 Gödel-Gentzen negative translation 3 Lafont-Reus-Streicher

More information

Lazy Strong Normalization

Lazy Strong Normalization Lazy Strong Normalization Luca Paolini 1,2 Dipartimento di Informatica Università di Torino (ITALIA) Elaine Pimentel 1,2 Departamento de Matemática Universidade Federal de Minas Gerais (BRASIL) Dipartimento

More information

Sequent calculus for predicate logic

Sequent calculus for predicate logic CHAPTER 13 Sequent calculus for predicate logic 1. Classical sequent calculus The axioms and rules of the classical sequent calculus are: Axioms { Γ, ϕ, ϕ for atomic ϕ Γ, Left Γ,α 1,α 2 Γ,α 1 α 2 Γ,β 1

More information

Mathematical Logic and Linguistics

Mathematical Logic and Linguistics Mathematical Logic and Linguistics Glyn Morrill & Oriol Valentín Department of Computer Science Universitat Politècnica de Catalunya morrill@cs.upc.edu & oriol.valentin@gmail.com BGSMath Course Class 9

More information

Propositional Logic Language

Propositional Logic Language Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite

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 17 Tuesday, April 2, 2013 1 There is a strong connection between types in programming languages and propositions

More information

Constructive approach to relevant and affine term calculi

Constructive approach to relevant and affine term calculi Constructive approach to relevant and affine term calculi Jelena Ivetić, University of Novi Sad, Serbia Silvia Ghilezan,University of Novi Sad, Serbia Pierre Lescanne, University of Lyon, France Silvia

More information

Natural Deduction for Propositional Logic

Natural Deduction for Propositional Logic Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic

More information

Categories, Proofs and Programs

Categories, Proofs and Programs Categories, Proofs and Programs Samson Abramsky and Nikos Tzevelekos Lecture 4: Curry-Howard Correspondence and Cartesian Closed Categories In A Nutshell Logic Computation 555555555555555555 5 Categories

More information

Subtyping and Intersection Types Revisited

Subtyping and Intersection Types Revisited Subtyping and Intersection Types Revisited Frank Pfenning Carnegie Mellon University International Conference on Functional Programming (ICFP 07) Freiburg, Germany, October 1-3, 2007 Joint work with Rowan

More information

Interpolation via translations

Interpolation via translations Interpolation via translations Walter Carnielli 2,3 João Rasga 1,3 Cristina Sernadas 1,3 1 DM, IST, TU Lisbon, Portugal 2 CLE and IFCH, UNICAMP, Brazil 3 SQIG - Instituto de Telecomunicações, Portugal

More information

A Lambda Calculus for Gödel Dummett Logic Capturing Waitfreedom

A Lambda Calculus for Gödel Dummett Logic Capturing Waitfreedom A Lambda Calculus for Gödel Dummett Logic Capturing Waitfreedom Yoichi Hirai Univ. of Tokyo, JSPS research fellow 2012-05-23, FLOPS 2012, Kobe 1 2 Curry Howard Correspondence Logic Intuitionistic propositional

More information

Introduction to Intuitionistic Logic

Introduction to Intuitionistic Logic Introduction to Intuitionistic Logic August 31, 2016 We deal exclusively with propositional intuitionistic logic. The language is defined as follows. φ := p φ ψ φ ψ φ ψ φ := φ and φ ψ := (φ ψ) (ψ φ). A

More information

Logical Preliminaries

Logical Preliminaries Logical Preliminaries Johannes C. Flieger Scheme UK March 2003 Abstract Survey of intuitionistic and classical propositional logic; introduction to the computational interpretation of intuitionistic logic

More information

Example. Lemma. Proof Sketch. 1 let A be a formula that expresses that node t is reachable from s

Example. Lemma. Proof Sketch. 1 let A be a formula that expresses that node t is reachable from s Summary Summary Last Lecture Computational Logic Π 1 Γ, x : σ M : τ Γ λxm : σ τ Γ (λxm)n : τ Π 2 Γ N : τ = Π 1 [x\π 2 ] Γ M[x := N] Georg Moser Institute of Computer Science @ UIBK Winter 2012 the proof

More information

Lecture Notes on Linear Logic

Lecture Notes on Linear Logic Lecture Notes on Linear Logic 15-816: Modal Logic Frank Pfenning Lecture 23 April 20, 2010 1 Introduction In this lecture we will introduce linear logic [?] in its judgmental formulation [?,?]. Linear

More information

Komponenten- und Service-orientierte Softwarekonstruktion

Komponenten- und Service-orientierte Softwarekonstruktion Komponenten- und Service-orientierte Softwarekonstruktion Vorlesung 5: Combinatory Logic Synthesis Jakob Rehof LS XIV Software Engineering TU Dortmund Sommersemester 2015 SS 2015 J. Rehof (TU Dortmund)

More information

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson

Natural Deduction. Formal Methods in Verification of Computer Systems Jeremy Johnson Natural Deduction Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. An example 1. Validity by truth table 2. Validity by proof 2. What s a proof 1. Proof checker 3. Rules of

More information

Adjoint Logic and Its Concurrent Semantics

Adjoint Logic and Its Concurrent Semantics Adjoint Logic and Its Concurrent Semantics Frank Pfenning ABCD Meeting, Edinburgh, December 18-19, 2017 Joint work with Klaas Pruiksma and William Chargin Outline Proofs as programs Linear sequent proofs

More information

Propositions as Types

Propositions as Types Propositions as Types Martin Pfeifhofer & Felix Schett May 25, 2016 Contents 1 Introduction 2 2 Content 3 2.1 Getting Started............................ 3 2.2 Effective Computability And The Various Definitions.......

More information

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock

CS Lecture 19: Logic To Truth through Proof. Prof. Clarkson Fall Today s music: Theme from Sherlock CS 3110 Lecture 19: Logic To Truth through Proof Prof. Clarkson Fall 2014 Today s music: Theme from Sherlock Review Current topic: How to reason about correctness of code Last week: informal arguments

More information

Proof Theoretical Studies on Semilattice Relevant Logics

Proof Theoretical Studies on Semilattice Relevant Logics Proof Theoretical Studies on Semilattice Relevant Logics Ryo Kashima Department of Mathematical and Computing Sciences Tokyo Institute of Technology Ookayama, Meguro, Tokyo 152-8552, Japan. e-mail: kashima@is.titech.ac.jp

More information

Lecture Notes on Certifying Theorem Provers

Lecture Notes on Certifying Theorem Provers Lecture Notes on Certifying Theorem Provers 15-317: Constructive Logic Frank Pfenning Lecture 13 October 17, 2017 1 Introduction How do we trust a theorem prover or decision procedure for a logic? Ideally,

More information

Lecture Notes on Combinatory Modal Logic

Lecture Notes on Combinatory Modal Logic Lecture Notes on Combinatory Modal Logic 15-816: Modal Logic Frank Pfenning Lecture 9 February 16, 2010 1 Introduction The connection between proofs and program so far has been through a proof term assignment

More information

Encoding Graph Transformation in Linear Logic

Encoding Graph Transformation in Linear Logic Encoding Graph Transformation in Linear Logic Paolo Torrini joint work with Reiko Heckel pt95@mcs.le.ac.uk University of Leicester GTLL p. 1 Graph Transformation Graph Transformation Systems (GTS) high-level

More information

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012

Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky. Radboud University Nijmegen. March 5, 2012 1 λ Henk Barendregt and Freek Wiedijk assisted by Andrew Polonsky Radboud University Nijmegen March 5, 2012 2 reading Femke van Raamsdonk Logical Verification Course Notes Herman Geuvers Introduction to

More information

Implicit Computational Complexity

Implicit Computational Complexity Implicit Computational Complexity Simone Martini Dipartimento di Scienze dell Informazione Università di Bologna Italy Bertinoro International Spring School for Graduate Studies in Computer Science, 6

More information

Formal Logic and Deduction Systems

Formal Logic and Deduction Systems Formal Logic and Deduction Systems Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Formal Logic and Deduction Systems MFES

More information

First-Order Logic. Chapter Overview Syntax

First-Order Logic. Chapter Overview Syntax Chapter 10 First-Order Logic 10.1 Overview First-Order Logic is the calculus one usually has in mind when using the word logic. It is expressive enough for all of mathematics, except for those concepts

More information

EasyChair Preprint. Normalization and Taylor expansion of lambda-terms

EasyChair Preprint. Normalization and Taylor expansion of lambda-terms EasyChair Preprint 165 Normalization and Taylor expansion of lambda-terms Federico Olimpieri EasyChair preprints are intended for rapid dissemination of research results and are integrated with the rest

More information

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models

Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Agata Ciabattoni Mauro Ferrari Abstract In this paper we define cut-free hypersequent calculi for some intermediate logics semantically

More information

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge

Type Systems. Lecture 9: Classical Logic. Neel Krishnaswami University of Cambridge Type Systems Lecture 9: Classical Logic Neel Krishnaswami University of Cambridge Where We Are We have seen the Curry Howard correspondence: Intuitionistic propositional logic Simply-typed lambda calculus

More information

Simply Typed λ-calculus

Simply Typed λ-calculus Simply Typed λ-calculus Lecture 1 Jeremy Dawson The Australian National University Semester 2, 2017 Jeremy Dawson (ANU) COMP4630,Lecture 1 Semester 2, 2017 1 / 23 A Brief History of Type Theory First developed

More information

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes)

ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) ACLT: Algebra, Categories, Logic in Topology - Grothendieck's generalized topological spaces (toposes) Steve Vickers CS Theory Group Birmingham 2. Theories and models Categorical approach to many-sorted

More information

Non-Idempotent Typing Operators, beyond the λ-calculus

Non-Idempotent Typing Operators, beyond the λ-calculus Non-Idempotent Typing Operators, beyond the λ-calculus Soutenance de thèse Pierre VIAL IRIF (Univ. Paris Diderot and CNRS) December 7, 2017 Non-idempotent typing operators P. Vial 0 1 /46 Certification

More information

Dynamic Epistemic Logic Displayed

Dynamic Epistemic Logic Displayed 1 / 43 Dynamic Epistemic Logic Displayed Giuseppe Greco & Alexander Kurz & Alessandra Palmigiano April 19, 2013 ALCOP 2 / 43 1 Motivation Proof-theory meets coalgebra 2 From global- to local-rules calculi

More information

Realisability methods of proof and semantics with application to expansion

Realisability methods of proof and semantics with application to expansion Realisability methods of proof and semantics with application to expansion First Year Examination Supervisors : Professor Fairouz Kamareddine and Doctor Joe B. Wells Student : Vincent Rahli ULTRA group,

More information

Call-by-value non-determinism in a linear logic type discipline

Call-by-value non-determinism in a linear logic type discipline Call-by-value non-determinism in a linear logic type discipline Alejandro Díaz-Caro? Giulio Manzonetto Université Paris-Ouest & INRIA LIPN, Université Paris 13 Michele Pagani LIPN, Université Paris 13

More information

Logic Part II: Intuitionistic Logic and Natural Deduction

Logic Part II: Intuitionistic Logic and Natural Deduction Yesterday Remember yesterday? classical logic: reasoning about truth of formulas propositional logic: atomic sentences, composed by connectives validity and satisability can be decided by truth tables

More information

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic

CHAPTER 10. Gentzen Style Proof Systems for Classical Logic CHAPTER 10 Gentzen Style Proof Systems for Classical Logic Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. By humans, not mentioning

More information

Chapter 11: Automated Proof Systems

Chapter 11: Automated Proof Systems Chapter 11: Automated Proof Systems SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems are

More information

Propositional Logic: Part II - Syntax & Proofs 0-0

Propositional Logic: Part II - Syntax & Proofs 0-0 Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

Lecture 10: Gentzen Systems to Refinement Logic CS 4860 Spring 2009 Thursday, February 19, 2009

Lecture 10: Gentzen Systems to Refinement Logic CS 4860 Spring 2009 Thursday, February 19, 2009 Applied Logic Lecture 10: Gentzen Systems to Refinement Logic CS 4860 Spring 2009 Thursday, February 19, 2009 Last Tuesday we have looked into Gentzen systems as an alternative proof calculus, which focuses

More information

Logic for Computer Science - Week 5 Natural Deduction

Logic for Computer Science - Week 5 Natural Deduction Logic for Computer Science - Week 5 Natural Deduction Ștefan Ciobâcă November 30, 2017 1 An Alternative View of Implication and Double Implication So far, we have understood as a shorthand of However,

More information

Denotational semantics of linear logic

Denotational semantics of linear logic Denotational semantics of linear logic Lionel Vaux I2M, Université d Aix-Marseille, France LL2016, Lyon school: 7 and 8 November 2016 L. Vaux (I2M) Denotational semantics of linear logic LL2016 1 / 31

More information

Uniform Schemata for Proof Rules

Uniform Schemata for Proof Rules Uniform Schemata for Proof Rules Ulrich Berger and Tie Hou Department of omputer Science, Swansea University, UK {u.berger,cshou}@swansea.ac.uk Abstract. Motivated by the desire to facilitate the implementation

More information

Modal Logic as a Basis for Distributed Computation

Modal Logic as a Basis for Distributed Computation Modal Logic as a Basis for Distributed Computation Jonathan Moody 1 jwmoody@cs.cmu.edu October 2003 CMU-CS-03-194 School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 1 This material

More information

Alonzo Church ( ) Lambda Calculus. λ-calculus : syntax. Grammar for terms : Inductive denition for λ-terms

Alonzo Church ( ) Lambda Calculus. λ-calculus : syntax. Grammar for terms : Inductive denition for λ-terms Alonzo Church (1903-1995) Lambda Calculus 2 λ-calculus : syntax Grammar for terms : t, u ::= x (variable) t u (application) λx.t (abstraction) Notation : Application is left-associative so that t 1 t 2...

More information

Bidirectional Decision Procedures for the Intuitionistic Propositional Modal Logic IS4

Bidirectional Decision Procedures for the Intuitionistic Propositional Modal Logic IS4 Bidirectional ecision Procedures for the Intuitionistic Propositional Modal Logic IS4 Samuli Heilala and Brigitte Pientka School of Computer Science, McGill University, Montreal, Canada {sheila1,bpientka}@cs.mcgill.ca

More information

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.

Overview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof. Overview I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof. Propositional formulas Grammar: ::= p j (:) j ( ^ )

More information

An Algebraic Proof of the Disjunction Property

An Algebraic Proof of the Disjunction Property An Algebraic Proof of the Disjunction Property Rostislav Horčík joint work with Kazushige Terui Institute of Computer Science Academy of Sciences of the Czech Republic Algebra & Coalgebra meet Proof Theory

More information

Prefixed Tableaus and Nested Sequents

Prefixed Tableaus and Nested Sequents Prefixed Tableaus and Nested Sequents Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: melvin.fitting@lehman.cuny.edu

More information

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics

Outline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics Introduction Arnd Poetzsch-Heffter Software Technology Group Fachbereich Informatik Technische Universität Kaiserslautern Sommersemester 2010 Arnd Poetzsch-Heffter ( Software Technology Group Fachbereich

More information

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either

Introduction to Temporal Logic. The purpose of temporal logics is to specify properties of dynamic systems. These can be either Introduction to Temporal Logic The purpose of temporal logics is to specify properties of dynamic systems. These can be either Desired properites. Often liveness properties like In every infinite run action

More information

MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC

MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC Bulletin of the Section of Logic Volume 45:3/4 (2016), pp. 143 153 http://dx.doi.org/10.18778/0138-0680.45.3.4.01 Anna Glenszczyk MONADIC FRAGMENTS OF INTUITIONISTIC CONTROL LOGIC Abstract We investigate

More information

Asterix calculus - classical computation in detail

Asterix calculus - classical computation in detail Asterix calculus - classical computation in detail (denoted X ) Dragiša Žunić 1 Pierre Lescanne 2 1 CMU Qatar 2 ENS Lyon Logic and Applications - LAP 2016 5th conference, September 19-23, Dubrovnik Croatia

More information

Consequence Relations and Natural Deduction

Consequence Relations and Natural Deduction Consequence Relations and Natural Deduction Joshua D. Guttman Worcester Polytechnic Institute September 9, 2010 Contents 1 Consequence Relations 1 2 A Derivation System for Natural Deduction 3 3 Derivations

More information

Command = Value Context. Hans-Dieter Hiep. 15th of June, /17

Command = Value Context. Hans-Dieter Hiep. 15th of June, /17 1/17 Command = Value Context Hans-Dieter Hiep 15th of June, 2018 2/17 Example Consider a total functional programming language. swap :: A B B A swap (a, b) = (b, a) paws :: A B B A paws a = a paws b =

More information

Grammatical resources: logic, structure and control

Grammatical resources: logic, structure and control Grammatical resources: logic, structure and control Michael Moortgat & Dick Oehrle 1 Grammatical composition.................................. 5 1.1 Grammar logic: the vocabulary.......................

More information

An overview of Structural Proof Theory and Computing

An overview of Structural Proof Theory and Computing An overview of Structural Proof Theory and Computing Dale Miller INRIA-Saclay & LIX, École Polytechnique Palaiseau, France Madison, Wisconsin, 2 April 2012 Part of the Special Session in Structural Proof

More information

Nonclassical logics (Nichtklassische Logiken)

Nonclassical logics (Nichtklassische Logiken) Nonclassical logics (Nichtklassische Logiken) VU 185.249 (lecture + exercises) http://www.logic.at/lvas/ncl/ Chris Fermüller Technische Universität Wien www.logic.at/people/chrisf/ chrisf@logic.at Winter

More information

Silvia Ghilezan and Jelena Ivetić

Silvia Ghilezan and Jelena Ivetić PUBLICATIONS DE L INSTITUT MATHÉMATIQUE Nouvelle série, tome 82(96) (2007), 85 91 DOI 102298/PIM0796085G INTERSECTION TYPES FOR λ Gtz -CALCULUS Silvia Ghilezan and Jelena Ivetić Abstract. We introduce

More information

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018

Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Université de Lorraine, LORIA, CNRS, Nancy, France Preuves de logique linéaire sur machine, ENS-Lyon, Dec. 18, 2018 Introduction Linear logic introduced by Girard both classical and intuitionistic separate

More information

M, N ::= x λp : A.M MN (M, N) () c A. x : b p x : b

M, N ::= x λp : A.M MN (M, N) () c A. x : b p x : b A PATTERN-MATCHING CALCULUS FOR -AUTONOMOUS CATEGORIES ABSTRACT. This article sums up the details of a linear λ-calculus that can be used as an internal language of -autonomous categories. The coherent

More information

Classical First-Order Logic

Classical First-Order Logic Classical First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2008/09

More information

Lecture Notes on The Curry-Howard Isomorphism

Lecture Notes on The Curry-Howard Isomorphism Lecture Notes on The Curry-Howard Isomorphism 15-312: Foundations of Programming Languages Frank Pfenning Lecture 27 ecember 4, 2003 In this lecture we explore an interesting connection between logic and

More information

Lecture Notes on From Rules to Propositions

Lecture Notes on From Rules to Propositions Lecture Notes on From Rules to Propositions 15-816: Substructural Logics Frank Pfenning Lecture 2 September 1, 2016 We review the ideas of ephemeral truth and linear inference with another example from

More information

Semantical study of intuitionistic modal logics

Semantical study of intuitionistic modal logics Semantical study of intuitionistic modal logics Department of Intelligence Science and Technology Graduate School of Informatics Kyoto University Kensuke KOJIMA January 16, 2012 Abstract We investigate

More information

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor

09 Modal Logic II. CS 3234: Logic and Formal Systems. October 14, Martin Henz and Aquinas Hobor Martin Henz and Aquinas Hobor October 14, 2010 Generated on Thursday 14 th October, 2010, 11:40 1 Review of Modal Logic 2 3 4 Motivation Syntax and Semantics Valid Formulas wrt Modalities Correspondence

More information

Beyond First-Order Logic

Beyond First-Order Logic Beyond First-Order Logic Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) Beyond First-Order Logic MFES 2008/09 1 / 37 FOL

More information

A Schütte-Tait style cut-elimination proof for first-order Gödel logic

A Schütte-Tait style cut-elimination proof for first-order Gödel logic A Schütte-Tait style cut-elimination proof for first-order Gödel logic Matthias Baaz and Agata Ciabattoni Technische Universität Wien, A-1040 Vienna, Austria {agata,baaz}@logic.at Abstract. We present

More information

Classical Propositional Logic

Classical Propositional Logic The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,

More information

A Syntactic Realization Theorem for Justification Logics

A Syntactic Realization Theorem for Justification Logics A Syntactic Realization Theorem for Justification Logics Remo Goetschi joint work with Kai Brünnler and Roman Kuznets University of Bern Outline 1. What Is Justification Logic? 2. The Problem: No Realization

More information

Propositions and Proofs

Propositions and Proofs Chapter 2 Propositions and Proofs The goal of this chapter is to develop the two principal notions of logic, namely propositions and proofs There is no universal agreement about the proper foundations

More information

Introduction to linear logic

Introduction to linear logic Introduction to linear logic Emmanuel Beffara To cite this version: Emmanuel Beffara Introduction to linear logic Master Italy 2013 HAL Id: cel-01144229 https://halarchives-ouvertesfr/cel-01144229

More information

The Method of Socratic Proofs for Normal Modal Propositional Logics

The Method of Socratic Proofs for Normal Modal Propositional Logics Dorota Leszczyńska The Method of Socratic Proofs for Normal Modal Propositional Logics Instytut Filozofii Uniwersytetu Zielonogórskiego w Zielonej Górze Rozprawa doktorska napisana pod kierunkiem prof.

More information

Teaching Natural Deduction as a Subversive Activity

Teaching Natural Deduction as a Subversive Activity Teaching Natural Deduction as a Subversive Activity James Caldwell Department of Computer Science University of Wyoming Laramie, WY Third International Congress on Tools for Teaching Logic 3 June 2011

More information

Mathematics for linguists

Mathematics for linguists Mathematics for linguists WS 2009/2010 University of Tübingen January 7, 2010 Gerhard Jäger Mathematics for linguists p. 1 Inferences and truth trees Inferences (with a finite set of premises; from now

More information

Models for Efficient Timed Verification

Models for Efficient Timed Verification Models for Efficient Timed Verification François Laroussinie LSV / ENS de Cachan CNRS UMR 8643 Monterey Workshop - Composition of embedded systems Model checking System Properties Formalizing step? ϕ Model

More information

A General Technique for Analyzing Termination in Symmetric Proof Calculi

A General Technique for Analyzing Termination in Symmetric Proof Calculi A General Technique for Analyzing Termination in Symmetric Proof Calculi Daniel J. Dougherty 1, Silvia Ghilezan 2 and Pierre Lescanne 3 1 Worcester Polytechnic Institute, USA, dd@cs.wpi.edu 2 Faculty of

More information

Chapter 11: Automated Proof Systems (1)

Chapter 11: Automated Proof Systems (1) Chapter 11: Automated Proof Systems (1) SYSTEM RS OVERVIEW Hilbert style systems are easy to define and admit a simple proof of the Completeness Theorem but they are difficult to use. Automated systems

More information

Cogito ergo sum non machina!

Cogito ergo sum non machina! Cogito ergo sum non machina! About Gödel s First Incompleteness Theorem and Turing machines. Ricardo Pereira Tassinari 1 Philosophy Department of State University of São Paulo - UNESP - Campus Marília

More information

Human-Readable Machine-Verifiable Proofs for Teaching Constructive Logic

Human-Readable Machine-Verifiable Proofs for Teaching Constructive Logic Human-Readable Machine-Verifiable Proofs for Teaching Constructive Logic Andreas Abel, Bor-Yuh Evan Chang, and Frank Pfenning Workshop on Proof Transformations, Proof Presentations and Complexity of Proofs

More information

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory

Motivation. CS389L: Automated Logical Reasoning. Lecture 10: Overview of First-Order Theories. Signature and Axioms of First-Order Theory Motivation CS389L: Automated Logical Reasoning Lecture 10: Overview of First-Order Theories Işıl Dillig Last few lectures: Full first-order logic In FOL, functions/predicates are uninterpreted (i.e., structure

More information

An Implicit Characterization of PSPACE

An Implicit Characterization of PSPACE An Implicit Characterization of PSPACE Marco Gaboardi Dipartimento di Scienze dell Informazione, Università degli Studi di Bologna - Mura Anteo Zamboni 7, 40127 Bologna, Italy, gaboardi@cs.unibo.it and

More information

Part II. Logic and Set Theory. Year

Part II. Logic and Set Theory. Year Part II Year 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2018 60 Paper 4, Section II 16G State and prove the ǫ-recursion Theorem. [You may assume the Principle of ǫ- Induction.]

More information

Propositional and Predicate Logic. jean/gbooks/logic.html

Propositional and Predicate Logic.   jean/gbooks/logic.html CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/

More information

Completeness Theorems and λ-calculus

Completeness Theorems and λ-calculus Thierry Coquand Apr. 23, 2005 Content of the talk We explain how to discover some variants of Hindley s completeness theorem (1983) via analysing proof theory of impredicative systems We present some remarks

More information

Substructural Logics and Residuated Lattices an Introduction

Substructural Logics and Residuated Lattices an Introduction Hiroakira Ono Substructural Logics and Residuated Lattices an Introduction Abstract. This is an introductory survey of substructural logics and of residuated lattices which are algebraic structures for

More information

A Formalised Proof of Craig s Interpolation Theorem in Nominal Isabelle

A Formalised Proof of Craig s Interpolation Theorem in Nominal Isabelle A Formalised Proof of Craig s Interpolation Theorem in Nominal Isabelle Overview We intend to: give a reminder of Craig s theorem, and the salient points of the proof introduce the proof assistant Isabelle,

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

Zoran Petrić. 270 Minutes on Categorial Proof Theory

Zoran Petrić. 270 Minutes on Categorial Proof Theory Zoran Petrić 270 Minutes on Categorial Proof Theory Abstract. The aim of these notes is to provide an introduction of basic categorial notions to a reader interested in logic and proof theory. The first

More information

Logic for Computer Science - Week 4 Natural Deduction

Logic for Computer Science - Week 4 Natural Deduction Logic for Computer Science - Week 4 Natural Deduction 1 Introduction In the previous lecture we have discussed some important notions about the semantics of propositional logic. 1. the truth value of a

More information

Applied Logic for Computer Scientists. Answers to Some Exercises

Applied Logic for Computer Scientists. Answers to Some Exercises Applied Logic for Computer Scientists Computational Deduction and Formal Proofs Springer, 2017 doi: http://link.springer.com/book/10.1007%2f978-3-319-51653-0 Answers to Some Exercises Mauricio Ayala-Rincón

More information

Entailment with Conditional Equality Constraints (Extended Version)

Entailment with Conditional Equality Constraints (Extended Version) Entailment with Conditional Equality Constraints (Extended Version) Zhendong Su Alexander Aiken Report No. UCB/CSD-00-1113 October 2000 Computer Science Division (EECS) University of California Berkeley,

More information