Utilizing Church s Type Theory as a Universal Logic 1

Size: px
Start display at page:

Download "Utilizing Church s Type Theory as a Universal Logic 1"

Transcription

1 Utilizing Church s Type Theory as a Universal Logic 1 Christoph Benzmüller Freie Universität Berlin Presentation at TU Wien, October 31, This work has been funded by the DFG under grants BE 2501/6-1, BE 2501/8-1 and BE 2501/9-1 C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

2 My sincere apologies... for not visiting earlier! C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

3 Presentation Overview Core questions of my current research: 1 Classical Higher-order Logic (HOL) as Universal Logic? 2 HOL Provers & Model Finders as Generic Reasoning Tools? 3 Integration of Specialist Reasoners (if available)? C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

4 Presentation Overview Core questions of my current research: 1 Classical Higher-order Logic (HOL) as Universal Logic? 2 HOL Provers & Model Finders as Generic Reasoning Tools? 3 Integration of Specialist Reasoners (if available)? Talk Outline: Classical Higher-order Logic HOL & HOL-ATP Examples of Natural Fragments of HOL: Quantified Multimodal Logics (QMLs) Quantified Conditional Logics (QCLs) if time permits Reasoning about Logics (and their Combinations) Evaluation of HOL-ATPs for reasoning within QMLs Short Demonstration Conclusion C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

5 My Motivation Automated Reasoning within and about Expressive Ontologies? Expressive Ontologies: SUMO (Adam Pease) or Cyc (Doug Lenat) They have often been advertised as first-order ontologies, but they are not! They contain higher-order constructs They contain modal operators holdsduring knows believes... Limited automation with traditional FOL-ATPs Hypothesis: We can do better with HOL-ATPs [BenzmüllerPease, J. Web Semantics, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

6 HOL & HOL-ATP (Classical Higher-order Logic/Church s Type Theory) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

7 What is HOL? (Church s Type Theory, Alonzo Church, 1940) Expressivity FOL HOL Example Quantification over - Individuals X p(f(x)) - Functions - F p(f(a)) - Predicates/Sets/Rels - P P(f(a)) Unnamed - Functions - (λx X) - Predicates/Sets/Rels - (λx X a) Statements about - Functions - continuous(λx X) - Predicates/Sets/Rels - reflexive(= ) Powerful abbreviations - reflexive =λr λx R(X, X) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

8 What is HOL? (Church s Type Theory, Alonzo Church, 1940) Expressivity FOL HOL Example Quantification over - Individuals X ι p ι o (f ι ι (X ι )) - Functions - F ι ι p ι o (F ι o (a ι )) - Predicates/Sets/Rels - P ι o P ι o (f ι ι (a ι )) Unnamed - Functions - (λx ι X ι ) - Predicates/Sets/Rels - (λx ι ι X ι ι ι ι p a) ι ) Statements about - Functions - continuous (ι ι) o (λx ι X ι ) - Predicates/Sets/Rels - reflexive (ι ι o) o (= ι ι o ) Powerful abbreviations - reflexive (ι ι o) o =λr (ι ι o) λx ι R Simple Types: Prevent Paradoxes and Inconsistencies C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

9 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι o α 1 α 2 C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

10 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι o α 1 α 2 Individuals Booleans (True and False) Functions C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

11 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι µ o α 1 α 2 Possible worlds Individuals Booleans (True and False) Functions C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

12 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι µ o α 1 α 2 HOL Syntax s, t ::= c α X α Constant Symbols Variable Symbols (λx α s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o ( X α t o ) o C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

13 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι µ o α 1 α 2 HOL Syntax s, t ::= c α X α Constant Symbols Variable Symbols Abstraction Application (λx α s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o ( X α t o ) o C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

14 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι µ o α 1 α 2 HOL Syntax s, t ::= c α X α Constant Symbols Variable Symbols Abstraction Application Logical Connectives (λx α s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o ( X α t o ) o C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

15 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι µ o α 1 α 2 HOL Syntax s, t ::= c α X α (λx α s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o ( X α t o ) o }{{} (Π (α o) o (λx α t o)) o C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

16 What is HOL? (Alonzo Church, 1940) Simple Types α ::= ι µ o α 1 α 2 HOL Syntax s, t ::= c α X α (λx α s β ) α β (s α β t α ) β ( o o s o ) o (s o o o o t o ) o (Π (α o) o (λx α t o )) o HOL is (meanwhile) well understood - Origin [Church, J.Symb.Log., 1940] - Henkin-Semantics [Henkin, J.Symb.Log., 1950] [Andrews, J.Symb.Log., 1971, 1972] - Extens./Intens. [BenzmüllerEtAl., J.Symb.Log., 2004] [Muskens, J.Symb.Log., 2007] HOL with Henkin-Semantics: semi-decidable & compact (like FOL) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

17 EU Project THFTPTP: An Infrastructure for HOL-ATP Results of the EU Project THFTPTP Collaboration with Geoff Sutcliffe, Chad Brown and others Results THF0 syntax for HOL Online access to provers Library with example problems (e.g. entire TPS library) and results Ontology and syntax for proof results International CASC competition for HOL-ATP Various tools Improved availability and robustness of HOL-ATPs: TPS, LEO-II, Isabelle, Satallax, Refute, Nitpick, agsyhol [SutcliffeBenzmüller, J. Formalized Reasoning, 2010] [BenzmüllerRabeSutcliffe, IJCAR, 2008] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

18 CASC Competitions in THF (HOL) Category since C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

19 CASC Competitions in THF (HOL) Category since LEO-II 1.2 solved 56% more than previous winner C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

20 CASC Competitions in THF (HOL) Category since LEO-II 1.2 solved 56% more than previous winner Satallax 2.1 solved 21% more than previous winner C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

21 CASC Competitions in THF (HOL) Category since LEO-II 1.2 solved 56% more than previous winner 2012 Satallax 2.1 solved 21% more than previous winner Isabelle-HOT solved 35% more than previous winner C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

22 CASC Competitions in THF (HOL) Category since C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

23 CASC Competitions in THF (HOL) Category since LEO-II cooperates with FOL prover E C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

24 CASC Competitions in THF (HOL) Category since Satallax cooperates with SAT solver Minisat C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

25 CASC Competitions in THF (HOL) Category since Isabelle-HOT cooperates with various FOL provers (sledgehammer) and SMT solvers (smt) and even with LEO-II and Satallax C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

26 Natural Fragments of HOL: Quantified Multimodal Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

27 Combining the Kripke View and the Tarski View on Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

28 Combining the Kripke View and the Tarski View on Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

29 Combining the Kripke View and the Tarski View on Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

30 Combining the Kripke View and the Tarski View on Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

31 Combining the Kripke View and the Tarski View on Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

32 Combining the Kripke View and the Tarski View on Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

33 Combining the Kripke View and the Tarski View on Logics C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

34 (Multi-) Modal Logics in HOL Syntax: s, t ::= P s s t r s... Syntax - formulas s Kripke Semantics - worlds w - accessibility relations r HOL explicit transformation First Order Logic e.g. work of Ohlbach Not Needed! C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

35 (Multi-) Modal Logics in HOL Syntax: s, t ::= P s s t r s... Syntax - formulas s Kripke Semantics - worlds w - accessibility relations r HOL terms s ι o terms w ι terms r ι ι o C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

36 (Multi-) Modal Logics in HOL Quantifiers Syntax: s, t ::= P s s t r s... Syntax - formulas s Kripke Semantics - worlds w - accessibility relations r HOL terms s ι o terms w ι terms r ι ι o Syntax of embedded logic as abbreviations of HOL-terms P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) = λr ι ι o λs ι o λw ι V ι (R W V) (S V) [BenzmüllerPaulson, Log.J.IGPL, 2010], [BenzmüllerPaulson, Logica Universalis, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

37 (Multi-) Modal Logics in HOL Quantifiers Conditional Logics... Syntax: s, t ::= P s s t r s... Syntax - formulas s Kripke Semantics - worlds w - accessibility relations r HOL terms s ι o terms w ι terms r ι ι o Syntax of embedded logic as abbreviations of HOL-terms P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) = λr ι ι o λs ι o λw ι V ι (R W V) (S V) ( p ), µ = λq µ (ι o) λw ι X µ (Q X W) [BenzmüllerPaulson, Log.J.IGPL, 2010], [BenzmüllerPaulson, Logica Universalis, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

38 (Multi-) Modal Logics in HOL Quantifiers Syntax: s, t ::= P s s t r s... Syntax - formulas s Kripke Semantics - worlds w - accessibility relations r HOL terms s ι o terms w ι terms r ι ι o Syntax of embedded logic as abbreviations of HOL-terms P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) = λr ι ι o λs ι o λw ι V ι (R W V) (S V) ( p ), µ = λq µ (ι o) λw ι X µ (Q X W) f = λs ι o λt ι o λw ι V ι (f W S V) (T V) [BenzmüllerGenovese, NCMPL, 2011], [BenzmüllerGabbayGenoveseRispoli, Logica Universalis, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

39 Embedding Meta-Level Notions Validity valid = λϕ ι o W ι ϕ W Similar: Satisfiability, Countersatisfiability, Unsatisfiability C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

40 Embedding Meta-Level Notions Validity valid = λϕ ι o W ι ϕ W Similar: Satisfiability, Countersatisfiability, Unsatisfiability Soundness and Completeness Theorem = ϕ iff = HOL validϕ ι o Consequence: Automation for free in HOL-ATPs! C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

41 Can Peter retire happy? Chris thinks that Peter can retire happy, if he knows that HOL-ATP is fostered by someone knowledgechris ( knowledgepeter X.fosters(X, holatp) canretirehappy(peter)) Peter knows that Chris fosters HOL-ATP knowledgepeter fosters(chris, holatp) Peter knows that Chad fosters HOL-ATP knowledgepeter fosters(chad, holatp) Peter knows that other persons do foster HOL-ATP Chris thinks that Peter can retire happy knowledgechris canretirehappy(peter) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

42 Can Peter retire happy? TPS says yes! Chris thinks that Peter can retire happy, if he knows that HOL-ATP is fostered by someone knowledgechris ( knowledgepeter X.fosters(X, holatp) canretirehappy(peter)) Peter knows that Chris fosters HOL-ATP knowledgepeter fosters(chris, holatp) Peter knows that Chad fosters HOL-ATP knowledgepeter fosters(chad, holatp) Peter knows that other persons do foster HOL-ATP Chris thinks that Peter can retire happy knowledgechris canretirehappy(peter) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

43 Automating Peter s Retirement Example Ax1 valid knowledgechris ( knowledgepeter X.fosters(X, holatp) canretirehappy(peter)) Ax2 Ax3 further axioms valid knowledgepeter fosters(chris, holatp) valid knowledgepeter fosters(chad, holatp) knowledgechris, knowledgepeter are S4 operators Conj valid knowledgechris canretirehappy(peter) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

44 Automating Peter s Retirement Example Ax1 valid knowledgechris ( knowledgepeter X.fosters(X, holatp) canretirehappy(peter)) Ax2 Ax3 further axioms valid knowledgepeter fosters(chris, holatp) valid knowledgepeter fosters(chad, holatp) knowledgechris, knowledgepeter are S4 operators Conj valid knowledgechris canretirehappy(peter) W ι knowledgechris canretirehappy(peter) W expanded abbreviation C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

45 Automating Peter s Retirement Example Ax1 valid knowledgechris ( knowledgepeter X.fosters(X, holatp) canretirehappy(peter)) Ax2 Ax3 further axioms valid knowledgepeter fosters(chris, holatp) valid knowledgepeter fosters(chad, holatp) knowledgechris, knowledgepeter are S4 operators Conj valid knowledgechris canretirehappy(peter) W ι knowledgechris canretirehappy(peter) W W ι V ι (knowledgechris W V) canretirehappy(peter) W expanded abbreviation C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

46 Automating Peter s Retirement Example Ax1 valid knowledgechris ( knowledgepeter X.fosters(X, holatp) canretirehappy(peter)) Ax2 Ax3 further axioms valid knowledgepeter fosters(chris, holatp) valid knowledgepeter fosters(chad, holatp) knowledgechris, knowledgepeter are S4 operators Conj valid knowledgechris canretirehappy(peter) W ι knowledgechris canretirehappy(peter) W W ι V ι (knowledgechris W V) canretirehappy(peter) W W ι V ι (knowledgechris W V) (canretirehappy peter W) expanded abbreviation C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

47 Translating Kripke style semantics to HOL Kripke style semantics M, w = P arbitrary M, w = s iff not M, w = s M, w = s t iff M, w = s or M, w = t Semantic embedding in HOL P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

48 Translating Kripke style semantics to HOL Kripke style semantics M, w = P arbitrary M, w = s iff not M, w = s M, w = s t iff M, w = s or M, w = t M, w = r s iff M, v = s for all v such that r(w, v) Semantic embedding in HOL P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) = λr ι ι o λs ι o λw ι V ι (R W V) (S V) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

49 Translating Kripke style semantics to HOL Kripke style semantics M, w = P arbitrary M, w = s iff not M, w = s M, w = s t iff M, w = s or M, w = t M, w = r s iff M, v = s for all v such that r(w, v) Semantic embedding in HOL P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) = λr ι ι o λs ι o λw ι V ι (R W V) (S V) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

50 Translating Kripke style semantics to HOL Kripke style semantics M, w = P arbitrary M, w = s iff not M, w = s M, w = s t iff M, w = s or M, w = t M, w = r s iff M, v = s for all v such that r(w, v) Semantic embedding in HOL P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) r = λs ι o λw ι V ι (r W V) (S V) To model r as T, S4 operator etc. add axioms like (reflexive r), etc. C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

51 Translating Kripke style semantics to HOL Kripke style semantics higher-order selection function! M, w = P arbitrary M, w = s iff not M, w = s M, w = s t iff M, w = s or M, w = t M, w = r s iff M, v = s for all v such that r(w, v) M, w = s f t iff M, v = t for all v f(w,[s]) with [s] = {u M, u = s} Semantic embedding in HOL P = P ι o = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) = λr ι ι o λs ι o λw ι V ι (R W V) (S V) f = λs ι o λt ι o λw ι V ι (f W S V) (T V) Add respective axioms for f C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

52 Quantified Modal Logics: Varying and Cumulative Domain Constant Domain Π = λq λw ι X µ (Q X W) Y s = ΠλY s [BenzmüllerPaulson, Logica Universalis, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

53 Quantified Modal Logics: Varying and Cumulative Domain Constant Domain Varying and Cumulative Domain Π = λq λw ι X µ (Q X W) Y s = ΠλY s Π var = λq λw ι X µ (exinw X W) (Q X W) A: W ι X µ (exinw X W) B(c): W ι (exinw c W) B(f): W ι (exinw t 1 W)... (exinw t n W) (exinw(f t 1,... t n ) W) [BenzmüllerOttenRaths, ECAI 2012] C. Benzmüller [BenzmüllerPaulson, UtilizingLogica Church s Universalis, Type Theory 2012] as a Universal Logic TU Wien,

54 Quantified Modal Logics: Varying and Cumulative Domain Constant Domain Varying and Cumulative Domain Π = λq λw ι X µ (Q X W) Y s = ΠλY s Π var = λq λw ι X µ (exinw X W) (Q X W) A: W ι X µ (exinw X W) B(c): W ι (exinw c W) B(f): W ι (exinw t 1 W)... (exinw t n W) (exinw(f t 1,... t n ) W) C: X µ, V ι, W ι (exinw X V) (r V W) (exinw X W) [BenzmüllerOttenRaths, ECAI 2012] C. Benzmüller [BenzmüllerPaulson, UtilizingLogica Church s Universalis, Type Theory 2012] as a Universal Logic TU Wien,

55 Natural Fragments of HOL: Quantified Conditional Logics This work extends [BenzmüllerGenoveseGabbayRispoli, AMAI, 2012 (arxiv: v3)] [BenzmüllerPaulson, Logica Universalis, 2012 (arxiv: v1)] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

56 Quantified Conditional Logics Motivation Theory for (Reasoning with) Counterfactual Conditionals If I had continued with competitive long-distance running in 1992, I would have won the Olympic Games in Problem: non-truth-functionality of counterfactual conditional statements Solution (Stalnaker and Thomason) selection function semantics (a possible world semantics, extension of modal logics) [Stalnaker68] If A then B }{{} (A B) is true in world w iff B is true for all v f(w, A) idea: f selects worlds that are very similar/close to the actual world w many closely related theories: [Lewis73, Pollock76, Chellas75] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

57 Quantified Conditional Logic Syntax ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

58 Quantified Conditional Logic Syntax Propositional Variables (PV) Individual Variables (IV) Constants (Sym) ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

59 Quantified Conditional Logic Syntax Propositional Variables (PV) Individual Variables (IV) Constants (Sym) ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

60 Quantified Conditional Logic Syntax Propositional Variables (PV) Individual Variables (IV) Constants (Sym) ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

61 Quantified Conditional Logic Syntax Propositional Variables (PV) Individual Variables (IV) Constants (Sym) ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

62 Quantified Conditional Logic Syntax Propositional Variables (PV) Individual Variables (IV) Constants (Sym) ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) Logical Connectives and Quantifiers (others may be defined as usual) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

63 Quantified Conditional Logic Syntax Propositional Variables (PV) Individual Variables (IV) Constants (Sym) ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) Conditional (modal) operator C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

64 Quantified Conditional Logic Semantics ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) Interpretation is a structure M = S, f, D, Q, I with S set of possible worlds f : S 2 S 2 S is the selection function D is a non-empty set of individuals (the first-order domain) Q is a non-empty collection of subsets of S (the propositional domain) I is a classical interpretation function where for each n-ary predicate symbol k, I(k, w) D n Variable Assignment g = g iv, g pv g iv : IV D maps individual variables to objects in D g pv : PV Q maps propositional variables to sets of worlds in Q C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

65 Quantified Conditional Logic Semantics ϕ,ψ ::= P ϕ ϕ ψ ϕ ψ P.ϕ X.ϕ k(x 1,...,X n ) Interpretation is a structure M = S, f, D, Q, I with S set of possible worlds f : S 2 S 2 S is the selection function D is a non-empty set of individuals (the first-order domain) Q is a non-empty collection of subsets of S (the propositional domain) I is a classical interpretation function where for each n-ary predicate symbol k, I(k, w) D n Variable Assignment g = g iv, g pv g iv : IV D maps individual variables to objects in D g pv : PV Q maps propositional variables to sets of worlds in Q C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

66 Quantified Conditional Logic Semantics Satisfiability M, g, s = ϕ defined as: M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Validity M = ϕ iff for all worlds s and assignments g holds M, g, s = ϕ = ϕ iff ϕ is valid in every model M C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

67 Quantified Conditional Logic Semantics Satisfiability M, g, s = ϕ defined as: M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Validity M = ϕ iff for all worlds s and assignments g holds M, g, s = ϕ = ϕ iff ϕ is valid in every model M C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

68 Quantified Conditional Logic Semantics Satisfiability M, g, s = ϕ defined as: M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Validity M = ϕ iff for all worlds s and assignments g holds M, g, s = ϕ = ϕ iff ϕ is valid in every model M C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

69 Quantified Conditional Logic Semantics Satisfiability M, g, s = ϕ defined as: M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Validity M = ϕ iff for all worlds s and assignments g holds M, g, s = ϕ = ϕ iff ϕ is valid in every model M C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

70 Quantified Conditional Logic Semantics Satisfiability M, g, s = ϕ defined as: M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Validity M = ϕ iff for all worlds s and assignments g holds M, g, s = ϕ = ϕ iff ϕ is valid in every model M C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

71 Quantified Conditional Logic Normality Above semantics of enforces normality property: if ϕ and ϕ are equivalent, then they index the same formulas wrt. C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

72 Quantified Conditional Logic Normality Above semantics of enforces normality property: if ϕ and ϕ are equivalent, then they index the same formulas wrt. The axiomatic counterpart of the normality condition given by rule (RCEA) ϕ ϕ (RCEA) (ϕ ψ) (ϕ ψ) Above semantics forces also the following rules to hold: (ϕ 1... ϕ n) ψ (RCK) (ϕ 0 ϕ 1... ϕ 0 ϕ n) (ϕ 0 ψ) ϕ ϕ (RCEC) (ψ ϕ) (ψ ϕ ) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

73 Quantified Conditional Logic Normality Above semantics of enforces normality property: if ϕ and ϕ are equivalent, then they index the same formulas wrt. The axiomatic counterpart of the normality condition given by rule (RCEA) ϕ ϕ (RCEA) (ϕ ψ) (ϕ ψ) Above semantics forces also the following rules to hold: (ϕ 1... ϕ n) ψ (RCK) (ϕ 0 ϕ 1... ϕ 0 ϕ n) (ϕ 0 ψ) ϕ ϕ (RCEC) (ψ ϕ) (ψ ϕ ) Logic CK: minimal logic closed under rules RCEA, RCEC and RCK. In what follows only logic CK and its extensions are considered. C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

74 Quantified Conditional Logics as Fragments of HOL Kripke style semantics (higher-order) selection function! M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Semantic embedding: ML HOL terms of type ι o P = λw ι (P ι o W) = P ι o k(x 1,...,X n ) = λw ι (k µ n (ι o) Xµ 1...Xµ) n W = λϕ ι o λw ι (ϕw) = λϕ ι o λψ ι o λw ι (ϕw) (ψ W) = λϕ ι o λψ ι o λw ι V ι (f W ϕv) (ψ V) µ (Π µ ) = λq µ (ι o) λw ι X µ (Q X W) p (Π p ) = λq (ι o) (ι o) λw ι P ι o (Q P W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

75 Quantified Conditional Logics as Fragments of HOL Kripke style semantics (higher-order) selection function! M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Semantic embedding: ML HOL terms of type ι o P = λw ι (P ι o W) = P ι o k(x 1,...,X n ) = λw ι (k µ n (ι o) Xµ 1...Xµ) n W = λϕ ι o λw ι (ϕw) = λϕ ι o λψ ι o λw ι (ϕw) (ψ W) = λϕ ι o λψ ι o λw ι V ι (f W ϕv) (ψ V) µ (Π µ ) = λq µ (ι o) λw ι X µ (Q X W) p (Π p ) = λq (ι o) (ι o) λw ι P ι o (Q P W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

76 Quantified Conditional Logics as Fragments of HOL Kripke style semantics (higher-order) selection function! M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Semantic embedding: ML HOL terms of type ι o P = λw ι (P ι o W) = P ι o k(x 1,...,X n ) = λw ι (k µ n (ι o) Xµ 1...Xµ) n W = λϕ ι o λw ι (ϕw) = λϕ ι o λψ ι o λw ι (ϕw) (ψ W) = λϕ ι o λψ ι o λw ι V ι (f W ϕv) (ψ V) µ (Π µ ) = λq µ (ι o) λw ι X µ (Q X W) p (Π p ) = λq (ι o) (ι o) λw ι P ι o (Q P W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

77 Quantified Conditional Logics as Fragments of HOL Kripke style semantics (higher-order) selection function! M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Semantic embedding: ML HOL terms of type ι o P = λw ι (P ι o W) = P ι o k(x 1,...,X n ) = λw ι (k µ n (ι o) Xµ 1...Xµ) n W = λϕ ι o λw ι (ϕw) = λϕ ι o λψ ι o λw ι (ϕw) (ψ W) = λϕ ι o λψ ι o λw ι V ι (f W ϕv) (ψ V) µ (Π µ ) = λq µ (ι o) λw ι X µ (Q X W) p (Π p ) = λq (ι o) (ι o) λw ι P ι o (Q P W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

78 Quantified Conditional Logics as Fragments of HOL Kripke style semantics (higher-order) selection function! M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Semantic embedding: ML HOL terms of type ι o P = λw ι (P ι o W) = P ι o k(x 1,...,X n ) = λw ι (k µ n (ι o) Xµ 1...Xµ) n W = λϕ ι o λw ι (ϕw) = λϕ ι o λψ ι o λw ι (ϕw) (ψ W) = λϕ ι o λψ ι o λw ι V ι (f W ϕv) (ψ V) µ (Π µ ) = λq µ (ι o) λw ι X µ (Q X W) p (Π p ) = λq (ι o) (ι o) λw ι P ι o (Q P W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

79 Quantified Conditional Logics as Fragments of HOL Kripke style semantics (higher-order) selection function! M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Semantic embedding: ML HOL terms of type ι o P = λw ι (P ι o W) = P ι o k(x 1,...,X n ) = λw ι (k µ n (ι o) Xµ 1...Xµ) n W = λϕ ι o λw ι (ϕw) = λϕ ι o λψ ι o λw ι (ϕw) (ψ W) = λϕ ι o λψ ι o λw ι V ι (f W ϕv) (ψ V) µ (Π µ ) = λq µ (ι o) λw ι X µ (Q X W) p (Π p ) = λq (ι o) (ι o) λw ι P ι o (Q P W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

80 Quantified Conditional Logics as Fragments of HOL Kripke style semantics (higher-order) selection function! M, g, s = P iff s g(p) M, g, s = k(x 1,...,X n ) iff s g(x 1 ),...,g(x n ) I(k, w) M, g, s = ϕ iff not M, g, s = ϕ M, g, s = ϕ ψ iff M, g, s = ϕ or M, g, s = ψ { [ϕ] }} { M, g, s = ϕ ψ iff M, g, v = ψ for all v f(s, {u M, g, u = ϕ}) M, g, s = X ϕ iff M,[d/X]g, s = ϕ for all d D M, g, s = P ϕ iff M,[p/P]g, s = ϕ for all p Q Semantic embedding: ML HOL terms of type ι o P = λw ι (P ι o W) = P ι o k(x 1,...,X n ) = λw ι (k µ n (ι o) Xµ 1...Xµ) n W = λϕ ι o λw ι (ϕw) = λϕ ι o λψ ι o λw ι (ϕw) (ψ W) = λϕ ι o λψ ι o λw ι V ι (f W ϕv) (ψ V) µ (Π µ ) = λq µ (ι o) λw ι X µ (Q X W) p (Π p ) = λq (ι o) (ι o) λw ι P ι o (Q P W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

81 Soundness and Completeness Validity defined as before valid = λϕ ι o W ι ϕ W Soundness and Completeness Theorem Proof Idea: = QCL ϕ iff = HOL validϕ ι o Explicate and analyze the relation between selection functions semantics and corresponding Henkin models; see paper for details. C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

82 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X)) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

83 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X)) valid( X.ϕ (ψ X)) (ϕ X.(ψ X)) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

84 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X)) valid (Π µ λx ϕ (ψ X)) (ϕ Π µ λx (ψ X)) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

85 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X)) W ι ( (Π µ λx ϕ (ψ X)) (ϕ Π µ λx (ψ X)))W C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

86 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X)) W ι (λv ι (( (Π µ λx ϕ (ψ X)) V) ((ϕ Π µ λx (ψ X)) V))) W C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

87 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X)) W ι ( (Π µ λx ϕ (ψ X)) W (ϕ Π µ λx (ψ X)) W) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

88 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X))... by LEO-II or Satallax in 0.01 seconds C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

89 Automation Quantified Conditional Logics in HOL ATPs Proof of the Barcan formula (confirms constant domain) ( X.ϕ ψ(x)) (ϕ X.ψ(X))... by LEO-II or Satallax in 0.01 seconds Proof of the Converse Barcan formula (ϕ X.ψ(x)) ( X.ϕ ψ(x)) by LEO-II or Satallax in 0.01 seconds C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

90 Natural Fragments of HOL C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

91 Soundness and Completeness Results = ϕ iff = HOL validϕ ι o Propositional Multimodal Logics [BenzmüllerPaulson, Log.J.IGPL, 2010] Quantified Multimodal Logics [BenzmüllerPaulson, Logica Universalis, 2012] Propositional Conditional Logics [BenzmüllerEtAl., AMAI, 2012] Quantified Conditional Logics [BenzmüllerGenovese, NCMPL, 2011] Intuitionistic Logics: [BenzmüllerPaulson, Log.J.IGPL, 2010] Access Control Logics: [Benzmüller, IFIP SEC, 2009] Combinations of Logics: [Benzmüller, AMAI, 2011] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

92 Why not throwing things together? Terms: m ::= c X (f m 1... m n ) Formulas: s, t ::= P (k m 1... m n ) s s t r s s f t X.s var X.s P.s Embedding in HOL: c = c µ X = X µ f = f µn µ P = P ι o k = k µn ι o r = k ι ι o (+axioms for r) f = f ι ι o (+axioms for f) = λs ι o λw ι (S W) = λs ι o λt ι o λw ι (S W) (T W) = λr ι ι o λs ι o λw ι V ι (R W V) (S V) = λf ι (ι o)ι o λs ι o λt ι o λw ι V ι (F W S V) (T V) Π = λq µ (ι o) λw ι X µ (Q X W) Π p = λq (ι o) (ι o) λw ι P ι o (Q P W) Π var/cumul = λq λw ι X µ (exinw X W) (Q X W)... further non-classical connectives, quantification over higher types, predicate abstraction, definite description... C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

93 Reasoning about Logics (and their Combinations) [Benzmüller, Festschrift Walther, 2010] [Benzmüller, AMAI, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

94 Automating Meta-Properties of Logics in HOL Correspondences between axioms and semantic properties valid φ r φ r r φ (transitive r) Dependence/independence of axioms base modal logic K = axiom 4? Inclusion/non-inclusion relations between logics Is logic K45 (K+M+5) included in logic S4 (K+M+4)? (Relative) Consistency of logics and logic combinations Is logic S4 (K+M+4) consistent? Experiments: Modal Logics [Benzmüller, Festschrift Walther, 2010] Conditional Logics [Benzmüller, AMAI, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

95 Automating Meta-Properties of Logics in HOL M S4 S5 = M5 MB5 M4B5 M45 M4B D4B D4B5 DB5 B = MB D D4 D5 D45 DB M K 4 5 B K4 K5 K45 KB5 K4B5 K4B K KB [Garson, Modal Logic, SEP 2009] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

96 Automating Meta-Properties of Logics in HOL M.4 D S4.3.4 D D5.4.4 D S5 = M5 MB5 M4B5.2 M45.1 M4B.1.4 D4B.2 D4B5.1 DB5 B.6= MB fastest results by: DB.5 LEO-II Satallax TPS IsabelleP IsabelleN IsabelleM.1 K.1.1 K4.3 K K KB KB5.2 K4B5.1 K4B [Benzmüller, Festschrift Walther, 2010] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

97 Automating Meta-Properties of Logics in HOL Semantic Conditions for Conditional Logic Axioms TPS ID Axiom A f A Condition f(w,[a]) [A] MP Axiom (A f B) (A B) Condition [A] f(w,[a]) CS Axiom (A B) (A f B) Condition w [A] f(w,[a]) {w} CEM Axiom (A f B) (A f B) Condition f(w,[a]) 1 AC Axiom (A f B) (A f C) (A C f B) Condition f(w,[a]) [B] f(w,[a B]) f(w,[a]) RT Axiom (A B f C) ((A f B) (A f C)) Condition f(w,[a]) [B] f(w,[a]) f(w,[a B]) CV Axiom (A f B) (A f C) (A C f B) Condition (f(w,[a]) [B] and f(w,[a]) [C] ) f(w,[a C]) [B] CA Axiom (A f B) (C f B) (A C f B) Condition f(w,[a B]) f(w,[a]) f(w,[b]) [BenzmüllerEtAl., AMAI, 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

98 Proofs and Countermodels at Meta-Level The correct interpretation of the proof task for MP is [ A, B.(A f B) (A B)] [ A, W.A (f W A)] versus (incorrect statement for MP) A, B.[((A f B) (A B)) W.A (f W A)] The former is provable. The latter is countersatisfiable; the countermodel reported by Nitpick is: choose D i = {i1}, A = {i1}, B = {i1}, W = i1, and { { f = i1 {i1} C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

99 Evaluation of HOL-ATPs for First-order Monomodal Logics [BenzmüllerOttenRaths, ECAI 2012] C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

100 QMLTP project: HOL-ATPs perform well for FML The QMLTP project: see Jens Otten and Thomas Raths, University of Potsdam infrastructure and benchmark library for testing and evaluating ATP systems for first-order modal logic collaborators: myself, Geoff Sutcliffe s TPTP project standardized extended TPTP syntax (called fml ) 600 problems in 11 problem domains 20 problems in first-order multimodal logic C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

101 See our paper at ECAI 2012: Theory & implementation of new provers for FML: embedding into higher-order logic (LEO-II & Satallax) a connection calculus based prover (MleanCoP) a sequent calculus based prover (MleanSeP) a tableau based prover (MleanTAP) an instantiation based prover (f2p-mspass) Moreover, we present a first comparative prover evaluation exploiting the new QMLTP library for FML C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

102 Experiment: 580 problems 5 logics 3 domain conditions 6 provers 600s tmo }{{} 8700 problems C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

103 Experiment: 580 problems 5 logics 3 domain conditions 6 provers 600s tmo Logic/ ATP system Domain f2p-mspass MleanSeP LEO-II Satallax MleanTAP MleanCoP v3.0 v1.2 v1.4.2 v2.2 v1.3 v1.2 K/varying K/cumul K/constant D/varying D/cumul D/constant T/varying T/cumul T/constant S4/varying S4/cumul S4/constant S5/varying S5/cumul S5/constant Strongest Prover! C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

104 Experiment: 580 problems 5 logics 3 domain conditions 6 provers 600s tmo Logic/ ATP system Domain f2p-mspass MleanSeP LEO-II Satallax MleanTAP MleanCoP v3.0 v1.2 v1.4.2 v2.2 v1.3 v1.2 K/varying K/cumul K/constant D/varying D/cumul D/constant T/varying T/cumul T/constant S4/varying S4/cumul S4/constant S5/varying S5/cumul S5/constant Second best provers; best coverage; strong recent improvement ( 25%) C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

105 Experiment: 580 problems 5 logics 3 domain conditions 6 provers 600s tmo Logic/ ATP system Domain f2p-mspass MleanSeP LEO-II Satallax MleanTAP MleanCoP v3.0 v1.2 v1.4.2 v2.2 v1.3 v1.2 K/varying K/cumul K/constant D/varying D/cumul D/constant T/varying T/cumul T/constant S4/varying S4/cumul S4/constant S5/varying S5/cumul S5/constant Results for 20 multimodal logic problems: LEO-II 15, Satallax 14 C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

106 Demo C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

107 Demo: HOL-ATPs as Universal easoners Analyzing example formula ( ( X.pX) Y. py qy) Z.qZ with HOL-ATPs: constant varying cumulative K CSA CSA??? D CSA CSA??? T THM THM THM S4 THM THM THM S5 THM THM THM CSA means Countersatisfiable, THM means Theorem C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

108 C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

109 Conclusion Core Questions: 1 Classical Higher-order Logic (HOL) as Universal Logic? 2 HOL Provers & Model Finders as Generic Reasoning Tools? 3 Combinations with Specialist Reasoners (if available)? (1)&(2) are interesting and relevant: evidence given in talk!? (3) not further discussed: ongoing and future work Discussion Practical strength of approach? Collaboration with QMLTP project in Potsdam [BenzmüllerEtAl, ECAI, 2012] Scalability to large knowledge bases? How to deal with impredicativity? relevance filtering try to avoid C. Benzmüller Utilizing Church s Type Theory as a Universal Logic TU Wien,

The World s Most Widely Applicable Modal Logic Theorem Prover and its Associated Infrastructure

The World s Most Widely Applicable Modal Logic Theorem Prover and its Associated Infrastructure The World s Most Widely Applicable Modal Logic Theorem Prover and its Associated Infrastructure Alexander Steen Freie Universität Berlin RuleML Webinar September 29th 0 jww C. Benzmüller, T. Gleißner Talk

More information

Agent-Based HOL Reasoning 1

Agent-Based HOL Reasoning 1 Agent-Based HOL Reasoning 1 Alexander Steen Max Wisniewski Christoph Benzmüller Freie Universität Berlin 5th International Congress on Mathematical Software (ICMS 2016) 1 This work has been supported by

More information

Combining and Automating Classical and Non-Classical Logics in Classical Higher-Order Logics

Combining and Automating Classical and Non-Classical Logics in Classical Higher-Order Logics Annals of Mathematics and Artificial Intelligence (pre-final version) The final publication is available at www.springerlink.com Combining and Automating Classical and Non-Classical Logics in Classical

More information

Gödel s Proof of God s Existence

Gödel s Proof of God s Existence Gödel s Proof of God s Existence Christoph Benzmüller and Bruno Woltzenlogel Paleo Square of Opposition Vatican, May 6, 2014 A gift to Priest Edvaldo in Piracicaba, Brazil Christoph Benzmüller and Bruno

More information

Higher-Order Aspects and Context in SUMO

Higher-Order Aspects and Context in SUMO Higher-Order Aspects and Context in SUMO Christoph Benzmüller 1, Freie Universität Berlin, Germany Adam Pease Articulate Software, Angwin, CA, USA Abstract This article addresses the automation of higher-order

More information

Higher-Order Aspects and Context in SUMO

Higher-Order Aspects and Context in SUMO Higher-Order Aspects and Context in SUMO Christoph Benzmüller 1, Freie Universität Berlin, Germany Adam Pease Rearden Commerce, Foster City, CA, USA Abstract This article addresses the automation of higher-order

More information

Higher-Order Automated Theorem Provers

Higher-Order Automated Theorem Provers Higher-Order Automated Theorem Provers Christoph Benzmüller Department of Mathematics and Computer Science Freie Universität Berlin, Germany c.benzmueller@fu-berlin.de 1 Introduction The automation of

More information

Systematic Verification of the Modal Logic Cube in Isabelle/HOL

Systematic Verification of the Modal Logic Cube in Isabelle/HOL Systematic Verification of the Modal Logic Cube in Isabelle/HOL Christoph Benzmüller Maximilian Claus Dep. of Mathematics and Computer Science, Freie Universität Berlin, Germany c.benzmueller m.claus@fu-berlin.de

More information

Automating Access Control Logics in Simple Type Theory with LEO-II

Automating Access Control Logics in Simple Type Theory with LEO-II Automating Access Control Logics in Simple Type Theory with LEO-II Christoph Benzmüller Abstract Garg and Abadi recently proved that prominent access control logics can be translated in a sound and complete

More information

On a (Quite) Universal Theorem Proving Approach and its Application to Metaphycis

On a (Quite) Universal Theorem Proving Approach and its Application to Metaphycis On a (Quite) Universal Theorem Proving Approach and its Application to Metaphycis Christoph Benzmüller 1, FU Berlin jww: B. Woltzenlogel Paleo, L. Paulson, C. Brown, G. Sutcliffe and many others! Tableaux

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

A Success Story of Higher-Order (Automated) Theorem Proving in Computational Metaphysics

A Success Story of Higher-Order (Automated) Theorem Proving in Computational Metaphysics A Success Story of Higher-Order (Automated) Theorem Proving in Computational Metaphysics Christoph Benzmüller 1, Stanford (CSLI/Cordula Hall) & FU Berlin jww: B. Woltzenlogel Paleo (& L. Paulson, C. Brown,

More information

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms

First-Order Logic. 1 Syntax. Domain of Discourse. FO Vocabulary. Terms First-Order Logic 1 Syntax Domain of Discourse The domain of discourse for first order logic is FO structures or models. A FO structure contains Relations Functions Constants (functions of arity 0) FO

More information

Developing Modal Tableaux and Resolution Methods via First-Order Resolution

Developing Modal Tableaux and Resolution Methods via First-Order Resolution Developing Modal Tableaux and Resolution Methods via First-Order Resolution Renate Schmidt University of Manchester Reference: Advances in Modal Logic, Vol. 6 (2006) Modal logic: Background Established

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 2009/2010 Maria João Frade (DI-UM) First-Order Logic (Classical) MFES 2009/10

More information

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P.

Syntax. Notation Throughout, and when not otherwise said, we assume a vocabulary V = C F P. First-Order Logic Syntax The alphabet of a first-order language is organised into the following categories. Logical connectives:,,,,, and. Auxiliary symbols:.,,, ( and ). Variables: we assume a countable

More information

Tutorial on Reasoning in Expressive Non-Classical Logics with Isabelle/HOL

Tutorial on Reasoning in Expressive Non-Classical Logics with Isabelle/HOL Tutorial on Reasoning in Expressive Non-Classical Logics with Isabelle/HOL Alexander Steen 1, Max Wisniewski 1, and Christoph Benzmüller 1 Freie Universität Berlin, Berlin, Germany a.steen m.wisniewski

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

Principles of Knowledge Representation and Reasoning

Principles of Knowledge Representation and Reasoning Principles of Knowledge Representation and Reasoning Modal Logics Bernhard Nebel, Malte Helmert and Stefan Wölfl Albert-Ludwigs-Universität Freiburg May 2 & 6, 2008 Nebel, Helmert, Wölfl (Uni Freiburg)

More information

Modal logics: an introduction

Modal logics: an introduction Modal logics: an introduction Valentin Goranko DTU Informatics October 2010 Outline Non-classical logics in AI. Variety of modal logics. Brief historical remarks. Basic generic modal logic: syntax and

More information

SEKI-Report ISSN

SEKI-Report ISSN arxiv:0901.3574v2 [cs.lo] 4 Mar 2009 UNIVERSITÄT DES SAARLANDES FACHRICHTUNG INFORMATIK D 66123 SAARBRÜCKEN GERMANY WWW: http://www.ags.uni-sb.de/ SEKI-Report ISSN 1437-4447 Automating Access Control Logics

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

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy

Mathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No

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

Church and Curry: Combining Intrinsic and Extrinsic Typing

Church and Curry: Combining Intrinsic and Extrinsic Typing Church and Curry: Combining Intrinsic and Extrinsic Typing Frank Pfenning Dedicated to Peter Andrews on the occasion of his retirement Department of Computer Science Carnegie Mellon University April 5,

More information

Lecture 11: Measuring the Complexity of Proofs

Lecture 11: Measuring the Complexity of Proofs IAS/PCMI Summer Session 2000 Clay Mathematics Undergraduate Program Advanced Course on Computational Complexity Lecture 11: Measuring the Complexity of Proofs David Mix Barrington and Alexis Maciel July

More information

Non-Analytic Tableaux for Chellas s Conditional Logic CK and Lewis s Logic of Counterfactuals VC

Non-Analytic Tableaux for Chellas s Conditional Logic CK and Lewis s Logic of Counterfactuals VC Australasian Journal of Logic Non-Analytic Tableaux for Chellas s Conditional Logic CK and Lewis s Logic of Counterfactuals VC Richard Zach Abstract Priest has provided a simple tableau calculus for Chellas

More information

An Introduction to Modal Logic III

An Introduction to Modal Logic III An Introduction to Modal Logic III Soundness of Normal Modal Logics Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, October 24 th 2013 Marco Cerami

More information

First Order Logic (FOL) 1 znj/dm2017

First Order Logic (FOL) 1   znj/dm2017 First Order Logic (FOL) 1 http://lcs.ios.ac.cn/ znj/dm2017 Naijun Zhan March 19, 2017 1 Special thanks to Profs Hanpin Wang (PKU) and Lijun Zhang (ISCAS) for their courtesy of the slides on this course.

More information

Validating QBF Invalidity in HOL4

Validating QBF Invalidity in HOL4 Interactive Theorem Proving (ITP) 14 July, 2010 Quantified Boolean Formulae Quantified Boolean Formulae Motivation System Overview Related Work QBF = propositional logic + quantifiers over Boolean variables

More information

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig

First-Order Logic First-Order Theories. Roopsha Samanta. Partly based on slides by Aaron Bradley and Isil Dillig First-Order Logic First-Order Theories Roopsha Samanta Partly based on slides by Aaron Bradley and Isil Dillig Roadmap Review: propositional logic Syntax and semantics of first-order logic (FOL) Semantic

More information

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method

Overview. CS389L: Automated Logical Reasoning. Lecture 7: Validity Proofs and Properties of FOL. Motivation for semantic argument method Overview CS389L: Automated Logical Reasoning Lecture 7: Validity Proofs and Properties of FOL Agenda for today: Semantic argument method for proving FOL validity Işıl Dillig Important properties of FOL

More information

185.A09 Advanced Mathematical Logic

185.A09 Advanced Mathematical Logic 185.A09 Advanced Mathematical Logic www.volny.cz/behounek/logic/teaching/mathlog13 Libor Běhounek, behounek@cs.cas.cz Lecture #1, October 15, 2013 Organizational matters Study materials will be posted

More information

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have

Meaning and Reference INTENSIONAL AND MODAL LOGIC. Intensional Logic. Frege: Predicators (general terms) have INTENSIONAL AND MODAL LOGIC Meaning and Reference Why do we consider extensions to the standard logical language(s)? Requirements of knowledge representation / domain modelling Intensional expressions:

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

First-Order Theorem Proving and Vampire

First-Order Theorem Proving and Vampire First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination

More information

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems

More information

First-Order Modal Logic and the Barcan Formula

First-Order Modal Logic and the Barcan Formula First-Order Modal Logic and the Barcan Formula Eric Pacuit Stanford University ai.stanford.edu/ epacuit March 10, 2009 Eric Pacuit: The Barcan Formula, 1 Plan 1. Background Neighborhood Semantics for Propositional

More information

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Bachelor Seminar - first talk Advisor: Chad Brown Supervisor: Gert Smolka Department of Computer Science Saarland University October

More information

Abstract model theory for extensions of modal logic

Abstract model theory for extensions of modal logic Abstract model theory for extensions of modal logic Balder ten Cate Stanford, May 13, 2008 Largely based on joint work with Johan van Benthem and Jouko Väänänen Balder ten Cate Abstract model theory for

More information

Neighborhood Semantics for Modal Logic Lecture 3

Neighborhood Semantics for Modal Logic Lecture 3 Neighborhood Semantics for Modal Logic Lecture 3 Eric Pacuit ILLC, Universiteit van Amsterdam staff.science.uva.nl/ epacuit August 15, 2007 Eric Pacuit: Neighborhood Semantics, Lecture 3 1 Plan for the

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates

All psychiatrists are doctors All doctors are college graduates All psychiatrists are college graduates Predicate Logic In what we ve discussed thus far, we haven t addressed other kinds of valid inferences: those involving quantification and predication. For example: All philosophers are wise Socrates is

More information

if t 1,...,t k Terms and P k is a k-ary predicate, then P k (t 1,...,t k ) Formulas (atomic formulas)

if t 1,...,t k Terms and P k is a k-ary predicate, then P k (t 1,...,t k ) Formulas (atomic formulas) FOL Query Evaluation Giuseppe De Giacomo Università di Roma La Sapienza Corso di Seminari di Ingegneria del Software: Data and Service Integration Laurea Specialistica in Ingegneria Informatica Università

More information

University of Oxford, Michaelis November 16, Categorical Semantics and Topos Theory Homotopy type theor

University of Oxford, Michaelis November 16, Categorical Semantics and Topos Theory Homotopy type theor Categorical Semantics and Topos Theory Homotopy type theory Seminar University of Oxford, Michaelis 2011 November 16, 2011 References Johnstone, P.T.: Sketches of an Elephant. A Topos-Theory Compendium.

More information

Basic Algebraic Logic

Basic Algebraic Logic ELTE 2013. September Today Past 1 Universal Algebra 1 Algebra 2 Transforming Algebras... Past 1 Homomorphism 2 Subalgebras 3 Direct products 3 Varieties 1 Algebraic Model Theory 1 Term Algebras 2 Meanings

More information

CS 730/730W/830: Intro AI

CS 730/730W/830: Intro AI CS 730/730W/830: Intro AI 1 handout: slides 730W journal entries were due Wheeler Ruml (UNH) Lecture 9, CS 730 1 / 16 Logic First-Order Logic The Joy of Power Wheeler Ruml (UNH) Lecture 9, CS 730 2 / 16

More information

First Order Logic: Syntax and Semantics

First Order Logic: Syntax and Semantics CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday

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

First-Order Logic (FOL)

First-Order Logic (FOL) First-Order Logic (FOL) Also called Predicate Logic or Predicate Calculus 2. First-Order Logic (FOL) FOL Syntax variables x, y, z, constants a, b, c, functions f, g, h, terms variables, constants or n-ary

More information

A Journey through the Possible Worlds of Modal Logic Lecture 1: Introduction to modal logics

A Journey through the Possible Worlds of Modal Logic Lecture 1: Introduction to modal logics A Journey through the Possible Worlds of Modal Logic Lecture 1: Introduction to modal logics Valentin Goranko Department of Philosophy, Stockholm University ESSLLI 2016, Bolzano, August 22, 2016 Outline

More information

Automated Synthesis of Tableau Calculi

Automated Synthesis of Tableau Calculi Automated Synthesis of Tableau Calculi Renate A. Schmidt 1 and Dmitry Tishkovsky 1 School of Computer Science, The University of Manchester Abstract This paper presents a method for synthesising sound

More information

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018

cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 cse371/mat371 LOGIC Professor Anita Wasilewska Fall 2018 Chapter 7 Introduction to Intuitionistic and Modal Logics CHAPTER 7 SLIDES Slides Set 1 Chapter 7 Introduction to Intuitionistic and Modal Logics

More information

Semantics and Pragmatics of NLP

Semantics and Pragmatics of NLP Semantics and Pragmatics of NLP Alex Ewan School of Informatics University of Edinburgh 28 January 2008 1 2 3 Taking Stock We have: Introduced syntax and semantics for FOL plus lambdas. Represented FOL

More information

Modal Logic XX. Yanjing Wang

Modal Logic XX. Yanjing Wang Modal Logic XX Yanjing Wang Department of Philosophy, Peking University May 6th, 2016 Advanced Modal Logic (2016 Spring) 1 Completeness A traditional view of Logic A logic Λ is a collection of formulas

More information

The Inconsistency in Gödel s Ontological Argument: A Success Story for AI in Metaphysics

The Inconsistency in Gödel s Ontological Argument: A Success Story for AI in Metaphysics The Inconsistency in Gödel s Ontological Argument: A Success Story for AI in Metaphysics Christoph Benzmüller Freie Universität Berlin & Stanford University c.benzmueller@gmail.com Bruno Woltzenlogel Paleo

More information

Inducing syntactic cut-elimination for indexed nested sequents

Inducing syntactic cut-elimination for indexed nested sequents Inducing syntactic cut-elimination for indexed nested sequents Revantha Ramanayake Technische Universität Wien (Austria) IJCAR 2016 June 28, 2016 Revantha Ramanayake (TU Wien) Inducing syntactic cut-elimination

More information

On Axiomatic Rejection for the Description Logic ALC

On Axiomatic Rejection for the Description Logic ALC On Axiomatic Rejection for the Description Logic ALC Hans Tompits Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Joint work with Gerald Berger Context The

More information

TR : Binding Modalities

TR : Binding Modalities City University of New York (CUNY) CUNY Academic Works Computer Science Technical Reports Graduate Center 2012 TR-2012011: Binding Modalities Sergei N. Artemov Tatiana Yavorskaya (Sidon) Follow this and

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

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

AAA615: Formal Methods. Lecture 2 First-Order Logic

AAA615: Formal Methods. Lecture 2 First-Order Logic AAA615: Formal Methods Lecture 2 First-Order Logic Hakjoo Oh 2017 Fall Hakjoo Oh AAA615 2017 Fall, Lecture 2 September 24, 2017 1 / 29 First-Order Logic An extension of propositional logic with predicates,

More information

Introduction to Logic in Computer Science: Autumn 2006

Introduction to Logic in Computer Science: Autumn 2006 Introduction to Logic in Computer Science: Autumn 2006 Ulle Endriss Institute for Logic, Language and Computation University of Amsterdam Ulle Endriss 1 Plan for Today Today s class will be an introduction

More information

Algebraizing Hybrid Logic. Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation

Algebraizing Hybrid Logic. Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation Algebraizing Hybrid Logic Evangelos Tzanis University of Amsterdam Institute of Logic, Language and Computation etzanis@science.uva.nl May 1, 2005 2 Contents 1 Introduction 5 1.1 A guide to this thesis..........................

More information

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation

Outline. Formale Methoden der Informatik First-Order Logic for Forgetters. Why PL1? Why PL1? Cont d. Motivation Outline Formale Methoden der Informatik First-Order Logic for Forgetters Uwe Egly Vienna University of Technology Institute of Information Systems Knowledge-Based Systems Group Motivation Syntax of PL1

More information

Propositional Reasoning

Propositional Reasoning Propositional Reasoning CS 440 / ECE 448 Introduction to Artificial Intelligence Instructor: Eyal Amir Grad TAs: Wen Pu, Yonatan Bisk Undergrad TAs: Sam Johnson, Nikhil Johri Spring 2010 Intro to AI (CS

More information

A Theorem Prover for Intuitionistic Propositional Logic. Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson

A Theorem Prover for Intuitionistic Propositional Logic. Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson A Theorem Prover for Intuitionistic Propositional Logic Jesse Wu Supervisors: Rajeev Goré and Jimmy Thomson Introduction Semantics and Syntax Sequent Rules Implementation Experimental Results Contents

More information

Automated Reasoning Lecture 5: First-Order Logic

Automated Reasoning Lecture 5: First-Order Logic Automated Reasoning Lecture 5: First-Order Logic Jacques Fleuriot jdf@inf.ac.uk Recap Over the last three lectures, we have looked at: Propositional logic, semantics and proof systems Doing propositional

More information

Towards the use of Simplification Rules in Intuitionistic Tableaux

Towards the use of Simplification Rules in Intuitionistic Tableaux Towards the use of Simplification Rules in Intuitionistic Tableaux Mauro Ferrari 1, Camillo Fiorentini 2 and Guido Fiorino 3 1 Dipartimento di Informatica e Comunicazione, Università degli Studi dell Insubria,

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

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

Maximal Introspection of Agents

Maximal Introspection of Agents Electronic Notes in Theoretical Computer Science 70 No. 5 (2002) URL: http://www.elsevier.nl/locate/entcs/volume70.html 16 pages Maximal Introspection of Agents Thomas 1 Informatics and Mathematical Modelling

More information

CHAPTER 11. Introduction to Intuitionistic Logic

CHAPTER 11. Introduction to Intuitionistic Logic CHAPTER 11 Introduction to Intuitionistic Logic Intuitionistic logic has developed as a result of certain philosophical views on the foundation of mathematics, known as intuitionism. Intuitionism was originated

More information

Vinter: A Vampire-Based Tool for Interpolation

Vinter: A Vampire-Based Tool for Interpolation Vinter: A Vampire-Based Tool for Interpolation Kryštof Hoder 1, Andreas Holzer 2, Laura Kovács 2, and Andrei Voronkov 1 1 University of Manchester 2 TU Vienna Abstract. This paper describes the Vinter

More information

A Constructively Adequate Refutation System for Intuitionistic Logic

A Constructively Adequate Refutation System for Intuitionistic Logic A Constructively Adequate Refutation System for Intuitionistic Logic Daniel S. Korn 1 Christoph Kreitz 2 1 FG Intellektik, FB Informatik, TH-Darmstadt Alexanderstraße 10, D 64238 Darmstadt e-mail: korn@informatik.th-darmstadt.de,

More information

Systematic Verification of the Intuitionistic Modal Logic Cube in Isabelle/HOL

Systematic Verification of the Intuitionistic Modal Logic Cube in Isabelle/HOL Department of Mathematics and Computer Science Institute of Computer Science Bachelor thesis Systematic Verification of the Intuitionistic Modal Logic Cube in Isabelle/HOL Hanna Lachnitt hanna.lachnitt@fu-berlin.de

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

Logic & Logic Agents Chapter 7 (& background)

Logic & Logic Agents Chapter 7 (& background) Lecture Notes, Advanced Artificial Intelligence (SCOM7341) Sina Institute, University of Birzeit 2 nd Semester, 2012 Advanced Artificial Intelligence (SCOM7341) Logic & Logic Agents Chapter 7 (& background)

More information

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1

Přednáška 12. Důkazové kalkuly Kalkul Hilbertova typu. 11/29/2006 Hilbertův kalkul 1 Přednáška 12 Důkazové kalkuly Kalkul Hilbertova typu 11/29/2006 Hilbertův kalkul 1 Formal systems, Proof calculi A proof calculus (of a theory) is given by: A. a language B. a set of axioms C. a set of

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

Quantified Boolean Formulas Part 1

Quantified Boolean Formulas Part 1 Quantified Boolean Formulas Part 1 Uwe Egly Knowledge-Based Systems Group Institute of Information Systems Vienna University of Technology Results of the SAT 2009 application benchmarks for leading solvers

More information

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now

Peano Arithmetic. CSC 438F/2404F Notes (S. Cook) Fall, Goals Now CSC 438F/2404F Notes (S. Cook) Fall, 2008 Peano Arithmetic Goals Now 1) We will introduce a standard set of axioms for the language L A. The theory generated by these axioms is denoted PA and called Peano

More information

CS 730/830: Intro AI. 3 handouts: slides, asst 6, asst 7. Wheeler Ruml (UNH) Lecture 12, CS / 16. Reasoning.

CS 730/830: Intro AI. 3 handouts: slides, asst 6, asst 7. Wheeler Ruml (UNH) Lecture 12, CS / 16. Reasoning. CS 730/830: Intro AI 3 handouts: slides, asst 6, asst 7 Wheeler Ruml (UNH) Lecture 12, CS 730 1 / 16 Logic First-Order Logic The Joy of Power in First-order Logic Wheeler Ruml (UNH) Lecture 12, CS 730

More information

Proving Completeness for Nested Sequent Calculi 1

Proving Completeness for Nested Sequent Calculi 1 Proving Completeness for Nested Sequent Calculi 1 Melvin Fitting abstract. Proving the completeness of classical propositional logic by using maximal consistent sets is perhaps the most common method there

More information

CMPSCI 601: Tarski s Truth Definition Lecture 15. where

CMPSCI 601: Tarski s Truth Definition Lecture 15. where @ CMPSCI 601: Tarski s Truth Definition Lecture 15! "$#&%(') *+,-!".#/%0'!12 43 5 6 7 8:9 4; 9 9 < = 9 = or 5 6?>A@B!9 2 D for all C @B 9 CFE where ) CGE @B-HI LJKK MKK )HG if H ; C if H @ 1 > > > Fitch

More information

Types, Tableaus and Gödel s God in Isabelle/HOL

Types, Tableaus and Gödel s God in Isabelle/HOL Types, Tableaus and Gödel s God in Isabelle/HOL David Fuenmayor 1 and Christoph Benzmüller 2,1 1 Freie Universität Berlin, Germany 2 University of Luxembourg, Luxembourg August 16, 2018 Abstract A computer-formalisation

More information

On some Metatheorems about FOL

On some Metatheorems about FOL On some Metatheorems about FOL February 25, 2014 Here I sketch a number of results and their proofs as a kind of abstract of the same items that are scattered in chapters 5 and 6 in the textbook. You notice

More information

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK

Intelligent Systems. Propositional Logic. Dieter Fensel and Dumitru Roman. Copyright 2008 STI INNSBRUCK Intelligent Systems Propositional Logic Dieter Fensel and Dumitru Roman www.sti-innsbruck.at Copyright 2008 STI INNSBRUCK www.sti-innsbruck.at Where are we? # Title 1 Introduction 2 Propositional Logic

More information

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16)

THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16) THE LANGUAGE OF FIRST-ORDER LOGIC (FOL) Sec2 Sec1(1-16) FOL: A language to formulate knowledge Logic is the study of entailment relationslanguages, truth conditions and rules of inference. FOL or Predicate

More information

Temporal Logic - Soundness and Completeness of L

Temporal Logic - Soundness and Completeness of L Temporal Logic - Soundness and Completeness of L CS402, Spring 2018 Soundness Theorem 1 (14.12) Let A be an LTL formula. If L A, then A. Proof. We need to prove the axioms and two inference rules to be

More information

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008

WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT IS AN SMT SOLVER? Jaeheon Yi - April 17, 2008 WHAT I LL TALK ABOUT Propositional Logic Terminology, Satisfiability, Decision Procedure First-Order Logic Terminology, Background Theories Satisfiability

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

Logic and Probability Lecture 3: Beyond Boolean Logic

Logic and Probability Lecture 3: Beyond Boolean Logic Logic and Probability Lecture 3: Beyond Boolean Logic Wesley Holliday & Thomas Icard UC Berkeley & Stanford August 13, 2014 ESSLLI, Tübingen Wesley Holliday & Thomas Icard: Logic and Probability, Lecture

More information

The Logic of Proofs, Semantically

The Logic of Proofs, Semantically The Logic of Proofs, Semantically Melvin Fitting Dept. Mathematics and Computer Science Lehman College (CUNY), 250 Bedford Park Boulevard West Bronx, NY 10468-1589 e-mail: fitting@lehman.cuny.edu web page:

More information

From Constructibility and Absoluteness to Computability and Domain Independence

From Constructibility and Absoluteness to Computability and Domain Independence From Constructibility and Absoluteness to Computability and Domain Independence Arnon Avron School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel aa@math.tau.ac.il Abstract. Gödel s main

More information

An Introduction to Modal Logic V

An Introduction to Modal Logic V An Introduction to Modal Logic V Axiomatic Extensions and Classes of Frames Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 7 th 2013

More information

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson

Predicate Calculus. Formal Methods in Verification of Computer Systems Jeremy Johnson Predicate Calculus Formal Methods in Verification of Computer Systems Jeremy Johnson Outline 1. Motivation 1. Variables, quantifiers and predicates 2. Syntax 1. Terms and formulas 2. Quantifiers, scope

More information

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

COMP219: Artificial Intelligence. Lecture 19: Logic for KR COMP219: Artificial Intelligence Lecture 19: Logic for KR 1 Overview Last time Expert Systems and Ontologies Today Logic as a knowledge representation scheme Propositional Logic Syntax Semantics Proof

More information

The Potential and Challenges of CAD with Equational Constraints for SC-Square

The Potential and Challenges of CAD with Equational Constraints for SC-Square The Potential and Challenges of with Equational Constraints for SC-Square Matthew England (Coventry University) Joint work with: James H. Davenport (University of Bath) 7th International Conference on

More information

Quantified Modal Logic and the Ontology of Physical Objects

Quantified Modal Logic and the Ontology of Physical Objects Scuola Normale Superiore Classe di Lettere e Filosofia Anno Accademico 2004-05 Tesi di Perfezionamento Quantified Modal Logic and the Ontology of Physical Objects CANDIDATO: Dott. F. Belardinelli RELATORE:

More information