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 条
  • [21] Higher-Order Partial Differentiation
    Endou, Noboru
    Okazaki, Hiroyuki
    Shidama, Yasunari
    FORMALIZED MATHEMATICS, 2012, 20 (02): : 113 - 124
  • [22] PARTIAL HIGHER-ORDER SPECIFICATIONS
    ASTESIANO, E
    CERIOLI, M
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 520 : 74 - 83
  • [23] On the Relationship between Higher-Order Recursion Schemes and Higher-Order Fixpoint Logic
    Kobayashi, Naoki
    Lozes, Etienne
    Bruse, Florian
    ACM SIGPLAN NOTICES, 2017, 52 (01) : 246 - 259
  • [24] Recursive equations in higher-order process calculi
    Ying, MS
    Wirsing, M
    THEORETICAL COMPUTER SCIENCE, 2001, 266 (1-2) : 839 - 852
  • [25] Recursive marginal quantization of higher-order schemes
    McWalter, T. A.
    Rudd, R.
    Kienitz, J.
    Platen, E.
    QUANTITATIVE FINANCE, 2018, 18 (04) : 693 - 706
  • [26] Polymorphic higher-order recursive path orderings
    Jouannaud, Jean-Pierre
    Rubio, Albert
    JOURNAL OF THE ACM, 2007, 54 (01)
  • [27] AUTOMATIC AUTOPROJECTION OF HIGHER-ORDER RECURSIVE EQUATIONS
    BONDORF, A
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 432 : 70 - 87
  • [28] Certified higher-order recursive path ordering
    Koprowski, Adam
    TERM REWRITING AND APPLICATIONS, PROCEEDINGS, 2006, 4098 : 227 - 241
  • [29] Lifting Recursive Counterexamples to Higher-Order Arithmetic
    Sanders, Sam
    LOGICAL FOUNDATIONS OF COMPUTER SCIENCE (LFCS 2020), 2020, 11972 : 249 - 267
  • [30] AUTOMATIC AUTOPROJECTION OF HIGHER-ORDER RECURSIVE EQUATIONS
    BONDORF, A
    SCIENCE OF COMPUTER PROGRAMMING, 1991, 17 (1-3) : 3 - 34