Partial and Nested Recursive Function Definitions in Higher-order Logic

被引:22
|
作者
Krauss, Alexander [1 ]
机构
[1] Tech Univ Munich, Inst Informat, Munich, Germany
关键词
Proof assistants; Partial functions; Nested recursion; GENERAL RECURSION; TERMINATION; PROOFS;
D O I
10.1007/s10817-009-9157-2
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Based on inductive definitions, we develop a tool that automates the definition of partial recursive functions in higher-order logic (HOL) and provides appropriate proof rules for reasoning about them. Termination is modeled by an inductive domain predicate which follows the structure of the recursion. Since a partial induction rule is available immediately, partial correctness properties can be proved before termination is established. It turns out that this modularity also facilitates termination arguments for total functions, in particular for nested recursions. Our tool is implemented as a definitional package extending Isabelle/HOL. Various extensions provide convenience to the user: pattern matching, default values, tail recursion, mutual recursion and currying.
引用
收藏
页码:303 / 336
页数:34
相关论文
共 50 条
  • [31] Extensional Higher-Order Logic Programming
    Charalambidis, Angelos
    Handjopoulos, Konstantinos
    Rondogiannis, Panos
    Wadge, William W.
    LOGICS IN ARTIFICIAL INTELLIGENCE, JELIA 2010, 2010, 6341 : 91 - 103
  • [32] HAUPTSATZ FOR HIGHER-ORDER MODAL LOGIC
    NISHIMURA, H
    JOURNAL OF SYMBOLIC LOGIC, 1983, 48 (03) : 744 - 751
  • [33] Partiality and Recursion in Higher-Order Logic
    Czajka, Lukasz
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2013), 2013, 7794 : 177 - 192
  • [34] A NOTE ON THE LOGIC OF (HIGHER-ORDER) VAGUENESS
    HECK, RG
    ANALYSIS, 1993, 53 (04) : 201 - 208
  • [35] On Models of Higher-Order Separation Logic
    Bizjak, Ales
    Birkedal, Lars
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2018, 336 : 57 - 78
  • [36] Superposition for Full Higher-order Logic
    Bentkamp, Alexander
    Blanchette, Jasmin
    Tourret, Sophie
    Vukmirovic, Petar
    AUTOMATED DEDUCTION, CADE 28, 2021, 12699 : 396 - 412
  • [37] Topological completeness for higher-order logic
    Awodey, S
    Butz, C
    JOURNAL OF SYMBOLIC LOGIC, 2000, 65 (03) : 1168 - 1182
  • [38] ON NONSTANDARD MODELS IN HIGHER-ORDER LOGIC
    HORT, C
    OSSWALD, H
    JOURNAL OF SYMBOLIC LOGIC, 1984, 49 (01) : 204 - 219
  • [39] Extensional Higher-Order Logic Programming
    Charalambidis, Angelos
    Handjopoulos, Konstantinos
    Rondogiannis, Panagiotis
    Wadge, William W.
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2013, 14 (03)
  • [40] HIGHER-ORDER ILLATIVE COMBINATORY LOGIC
    Czajka, Lukasz
    JOURNAL OF SYMBOLIC LOGIC, 2013, 78 (03) : 837 - 872