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
来源
AUTOMATED REASONING WITH ANALYTIC TABLEAUX AND RELATED METHODS, TABLEAUX 2023 | 2023年 / 14278卷
关键词
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 条
  • [1] The completeness of Heyting first-order logic
    Tait, WW
    JOURNAL OF SYMBOLIC LOGIC, 2003, 68 (03) : 751 - 763
  • [2] Intuitionistic completeness of first-order logic
    Constable, Robert
    Bickford, Mark
    ANNALS OF PURE AND APPLIED LOGIC, 2014, 165 (01) : 164 - 198
  • [3] Connecting a logical framework to a first-order logic prover
    Abel, A
    Coquand, T
    Norell, U
    FRONTIERS OF COMBINING SYSTEMS, PROCEEDINGS, 2005, 3717 : 285 - 301
  • [4] MleanCoP: A Connection Prover for First-Order Modal Logic
    Otten, Jens
    AUTOMATED REASONING, IJCAR 2014, 2014, 8562 : 269 - 276
  • [5] A PROOF OF COMPLETENESS FOR CONTINUOUS FIRST-ORDER LOGIC
    Ben Yaacov, Itai
    Pedersen, Arthur Paul
    JOURNAL OF SYMBOLIC LOGIC, 2010, 75 (01) : 168 - 190
  • [6] Completeness for a First-Order Abstract Separation Logic
    Hou, Zhe
    Tiu, Alwen
    PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2016, 2016, 10017 : 444 - 463
  • [7] αleanTAP: A Declarative Theorem Prover for First-Order Classical Logic
    Near, Joseph P.
    Byrd, William E.
    Friedman, Daniel P.
    LOGIC PROGRAMMING, PROCEEDINGS, 2008, 5366 : 238 - 252
  • [8] A COMPLETENESS THEOREM OF FIRST-ORDER TEMPORAL LOGIC WITH EQUALITY
    唐同诰
    Science China Mathematics, 1985, (05) : 532 - 540
  • [9] iProver - An instantiation-based theorem prover for first-order logic
    Korovin, Konstantin
    AUTOMATED REASONING, PROCEEDINGS, 2008, 5195 : 292 - 298
  • [10] A model generation based theorem prover MGTP for first-order logic
    Hasegawa, Ryuzo
    Fujita, Hiroshi
    Koshimura, Miyuki
    Shirai, Yasuyuki
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2002, 2408 (PART2): : 178 - 213