Semantics and A utomation of Higher-Order Logic Some Remarks - - PowerPoint PPT Presentation

semantics and a utomation of higher order logic some
SMART_READER_LITE
LIVE PREVIEW

Semantics and A utomation of Higher-Order Logic Some Remarks - - PowerPoint PPT Presentation

Semantics and A utomation of Higher-Order Logic Some Remarks Christoph Benzm uller Department of Computer Science, Saarland University Workshop on Logic, Proofs and Programs 17 18 June 2004, Nancy First-order Logic c


slide-1
SLIDE 1

Semantics and A utomation of Higher-Order Logic Some Remarks

Christoph Benzm¤ uller

Department of Computer Science, Saarland University

Workshop on Logic, Proofs and Programs

17 18 June 2004, Nancy

slide-2
SLIDE 2

c

  • Benzm¤

uller 2004

First-order Logic

slide-3
SLIDE 3

c

  • Benzm¤

uller 2004

Higher-Order Logic

ATP in FOL and HOL

slide-4
SLIDE 4

c

  • Benzm¤

uller 2004

Motivation for Talk

ATP in FOL and HOL

Is the situation really hopeless? Is it justi able that the deduction cn064 2 PC 141Om(Is)o Td(dedu/H 1/ ir0 0entrti ab)8182.22044 0 tes(FOL)T361.73546 0so(the)4031.73546 0strong(reall-27.3.2-331.34103546 0main(reall3.-9.4843177 0oTd(in)3q .05454 0 Td(the)T031843177 0autn041I5.1587)Tj0.53of1.82 Tm49he)T03184 rst-ord3 0 Td4.4927

slide-5
SLIDE 5
slide-6
SLIDE 6

c

  • Benzm¤

uller 2004

HOL: Classical Type Theory

slide-7
SLIDE 7
slide-8
SLIDE 8

c

  • Benzm¤

uller 2004

HOL: Semantics

slide-9
SLIDE 9

c Benzm¤ uller 2004

Sidetrack: Logical Frameworks

ATP in FOL and HOL

Presentation by Marc Wagner Logical Frameworks

slide-10
SLIDE 10

c

  • Benzm¤

uller 2004

Exercise Sheet III

slide-11
SLIDE 11
slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14

c

  • Benzm¤

uller 2004

HOL Semantics: Applications

ATP in FOL and HOL

Henkin semantics

  • Mathematics

Without Boolean extensionality

  • Linguistics, intensional contexts
  • I believe
slide-15
SLIDE 15

c

  • Benzm¤

uller 2004

HOL: Problems

ATP in FOL and HOL

Problem

slide-16
SLIDE 16

c

  • Benzm¤

uller 2004

Abstract Consistency

ATP in FOL and HOL

  • Completeness proofs in HOL much harder than in FOL
  • Direct semantical arguments are too complicate
  • Abstract consistency proof
slide-17
SLIDE 17

c

  • Benzm¤

uller 2004

Abstract Consistency

A

slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21

c

  • Benzm¤

uller 2004

ND Calculi: Completeness

ATP in FOL and HOL

Excerpt from completeness proof . . . r β: Let A 2 and A ? y

β be NK -inconsistent. That is, A

? y

β ‘‘ Fo.

By NK(: I ), we know ‘‘ : A ? y

β. SinceA β by

NK(Hyp) /R179 ET Q1 0 0 RG1 0 0 rgq 10 0 0 10 0 0 cm BT/R298 1 Tf0 20.6626 -20.6626 -0 244.68 241.42 Tm(N)Tj0.73127 0 Td(K)Tj/R173 1 Tf0.666999 0 Td(()Tj/R170 1 Tf0.388999 0 Td( )Tj/R173 1 Tf0.615267 0 Td())TjET Q0 G0 gq 10 0 0 10 0 0 cm BT/R167 1 Tf0 20.6626 -20.6626 -0 244.68 299.26 Tm(.)Tj0.620648 0 Td(So)Tj1.18335 0 Td(,)Tj0.550957 0 Td(b)Tj0.539577 0 Td(y)TjET Q1 0 0 RG1 0 0 rgq 10 0 0 10 0 0 cm BT/R298 1 Tf0 20.6626 -20.6626 -0 244.68 375.1 Tm(N)Tj0.73127 0 Td(K)Tj/R173 1 Tf0.672806 0 Td(()Tj/R182 1 Tf0.388998 0 Td(:)Tj/R301 1 Tf0.667 0 Td(E)Tj/R173 1 Tf0.800959 0 Td())TjET Q0 G0 gq 10 0 0 10 0 0 cm BT/R167 1 Tf0 20.6626 -20.6626 -0 244.68 456.22 Tm(w)Tj0.708383 0 Td(e)Tj0.835765 0 Td(kno)Tj1.59557 0 Td(w)Tj/R179 1 Tf0.998764 0 Td()Tj/R182 1 Tf0.998764 0 Td(‘)Tj0.109547 0 Td(‘)Tj/R292 1 Tf0.887765 0 Td(F)Tj/R188 1 Tf0 14.4637 -14.4637 -0 247.68 598.06 Tm(o)Tj/R167 1 Tf0 20.6626 -20.6626 -0 244.68 612.58 Tm(/R179 /R179 1 Tf1.94396 0 Td()Tj/R167 1 Tf0.998764 0 Td(is)TjET Q1 0 0 RG1 0 0 rgq 10 0 0 10 0 0 cm BT/R298 1 Tf0 20.6626 -20.6626 -0 273.84 113.26 Tm(N)Tj0.73127 0 Td(K)Tj/R185 1 Tf0 14.4637 -14.4637 -0 276.96 142.18 Tm( )TjET Q0 G0 gq 10 0 0 10 0 0 cm BT/R167 1 Tf0 20.6626 -20.6626 -0 273.84 151.66 Tm(-inconsistent.)Tj/R182 1 Tf-4.44282 -1.55063 Td(r)Tj/R304 1 Tf0 14.4637 -14.4637 -0 309 72.34 Tm(b)Tj/R167 1 Tf0 20.6626 -20.6626 -0 305.88 82.3 Tm(:)Tj1.49836 0 Td(W)Tj0.916963 0 Td(e)Tj0.829956 0 Td(argue)Tj2.83196 0 Td(b)Tj0.539577 0 Td(y)Tj0.771956 0 Td(contr)Tj2.21039 0 Td(adiction.)Tj4.05984 0 Td(Assume)Tj3.88776 0 Td(that)Tj1 Tf0.667248942d(A)Tj/:)Tj/R292 1 Tf0.667 0 Td(A)Tj/R170 1 Tf1.41854 0.563337 Tj/:

slide-22
SLIDE 22

c

  • Benzm¤

uller 2004

Saturation and Cut

ATP in FOL and HOL

Saturation condition rsat is a challenge for machine-oriented calculi:

as hard as cut-elimination therefore development of alternative, weaker conditions in

[Benzm llerBrownKohlhase-Draft03] which are

slide-23
SLIDE 23

c

  • Benzm¤

uller 2004

Logik h herer Stufe: Probleme

ATP in FOL and HOL

Problem 3: The two crucial challenges for automation of HOL

treatment of equality and extensionality instantiation of set variables

are too hard to control successfully. Really?

Lecture IX p.23

slide-24
SLIDE 24

c

  • Benzm¤

uller 2004

Extensional

slide-25
SLIDE 25
slide-26
SLIDE 26
slide-27
SLIDE 27
slide-28
SLIDE 28

c

  • Benzm¤

uller 2004

slide-29
SLIDE 29
slide-30
SLIDE 30
slide-31
SLIDE 31
slide-32
SLIDE 32

c

  • Benzm¤

uller 2004

Extensional Resolution

ATP in FOL and HOL

Further small examples

slide-33
SLIDE 33

c

  • Benzm¤

uller 2004

Sidetrack: Lambda Cube

ATP in FOL and HOL

Presentation by Matthias Berg Lambda Cube See extra

slide-34
SLIDE 34

c

  • Benzm¤

uller 2004

Sidetrack: New Foundations

ATP in FOL and HOL

slide-35
SLIDE 35

c

  • Benzm

¤uler 204

Extensional P aramodulation

A TP in FOL and HOL

195

  • 19:

Extensional R UE-Resolution [Benzmler-CADE-9] [Benzmler-PhD-9]

  • Notation

as v ef

  • re;

ne w is logical symbol = f or pr imitiv e equality

  • Identication
  • f

unication constr aints and negativ e equality liter als

  • Al

r ules f or e xtensional resolution stil v alid; resolution and f actor ization not alo w ed

  • n

unication constr aints

  • Some

fur ther r ules required f or = ; se ne xt slide

slide-36
SLIDE 36
slide-37
SLIDE 37

c

  • Benzm¤

uller 2004

Difference Reduction

ATP in FOL and HOL

Extensional RUE-resolution [Benzm ller-PhD-99] Difference reduction matrix calculus [Brown-PhD-04]

  • Alcrules for extensional resolution
  • Positive extensionality rules, but no paramodulation rule
  • New: Resolution and factorization allowed on uni cation

constraints

slide-38
SLIDE 38
slide-39
SLIDE 39

c

  • Benzm¤

uller 2004

Prover LEO

ATP in FOL and HOL

  • [Benzm llerKohlhase-CADE-98]
  • Extended set-of-support-architecture
slide-40
SLIDE 40
slide-41
SLIDE 41
slide-42
SLIDE 42