A Naive Prover for First-Order Logic: A Minimal Example of Analytic Completeness

被引:1
|
作者
From, Asta Halkjaer [1 ]
Villadsen, Jorgen [1 ]
机构
[1] Tech Univ Denmark, Lyngby, Denmark
关键词
First-Order Logic; Prover; Completeness; Isabelle/HOL;
D O I
10.1007/978-3-031-43513-3_25
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The analytic technique for proving completeness gives a very operational perspective: build a countermodel to the unproved formula from a failed proof attempt in your calculus. We have to be careful, however, that the proof attempt did not fail because our strategy in finding it was flawed. Overcoming this concern requires designing a prover. We design and formalize in Isabelle/HOL a sequent calculus prover for first-order logic with functions. We formalize soundness and completeness theorems using an existing framework and extract executable code to Haskell. The crucial idea is to move complexity from the prover itself to a stream of instructions that it follows. The result serves as a minimal example of the analytic technique, a naive prover for first-order logic, and a case study in formal verification.
引用
收藏
页码:468 / 480
页数:13
相关论文
共 50 条
  • [41] Completeness of two systems of illative combinatory logic for first-order propositional and predicate calculus
    Dekkers, W
    Bunder, M
    Barendregt, H
    [J]. ARCHIVE FOR MATHEMATICAL LOGIC, 1998, 37 (5-6) : 327 - 341
  • [42] Completeness of two systems of illative combinatory logic for first-order propositional and predicate calculus
    Wil Dekkers
    Martin Bunder
    Henk Barendregt
    [J]. Archive for Mathematical Logic, 1998, 37 : 327 - 341
  • [43] Tabulation proof procedure for first-order residuated logic programs:: Soundness, completeness and optimizations
    Damasio, Carlos Viegas
    Medina, Jesus
    Ojeda-Aciego, Manuel
    [J]. 2006 IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS, VOLS 1-5, 2006, : 2004 - +
  • [44] Extended First-Order Logic
    Brown, Chad E.
    Smolka, Gert
    [J]. THEOREM PROVING IN HIGHER ORDER LOGICS, PROCEEDINGS, 2009, 5674 : 164 - 179
  • [45] A First-Order Logic with Frames
    Murali, Adithya
    Pena, Lucas
    Loeding, Christof
    Madhusudan, P.
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS ( ESOP 2020): 29TH EUROPEAN SYMPOSIUM ON PROGRAMMING, 2020, 12075 : 515 - 543
  • [46] FIRST-ORDER HOMOTOPICAL LOGIC
    Helfer, Joseph
    [J]. JOURNAL OF SYMBOLIC LOGIC, 2023,
  • [47] GEOMETRISATION OF FIRST-ORDER LOGIC
    Dyckhoff, Roy
    Negri, Sara
    [J]. BULLETIN OF SYMBOLIC LOGIC, 2015, 21 (02) : 123 - 163
  • [48] First-Order Logic with Adverbs
    Haze, Tristan Grotvedt
    [J]. LOGIC AND LOGICAL PHILOSOPHY, 2024, 33 (02) : 289 - 324
  • [49] First-Order Logic of Change
    Swietorzecka, Kordula
    [J]. LOGIC JOURNAL OF THE IGPL, 2024, 32 (01) : 35 - 46
  • [50] First-order logic: An introduction
    Adler, JE
    [J]. JOURNAL OF PHILOSOPHY, 2000, 97 (10): : 577 - 580