EXTRACTION OF REDUNDANCY-FREE PROGRAMS FROM CONSTRUCTIVE NATURAL DEDUCTION PROOFS

被引:4
|
作者
TAKAYAMA, Y
机构
[1] Institute for New Generation Computer Technology, Tokyo, 108, 4-28, Mita 1-chome, Minato-ku
关键词
D O I
10.1016/S0747-7171(08)80139-3
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Executable codes can be extracted from constructive proofs by using realizability interpretation. However, realizability also generates redundant codes that have no significant computational meaning. This redundancy causes heavy runtime overheads and is one of the obstacles in applying realizability to practical systems that realize the mathematical programming paradigm. This paper presents a method to eliminate redundancy by analysing proof trees as preprocessing of realizability interpretation. According to the declaration given to the theorem that is proved, each node of the proof tree is marked automatically to show which part of the realizer is needed. This procedure does not always work well. This paper also gives an analysis of the procedure and techniques to resolve critical cases. The method is studied in simple constructive logic with primitive types, mathematical induction and its q-realizability interpretation. As an example, the extraction of a prime number checker program is given. © 1991, Academic Press Limited. All rights reserved.
引用
收藏
页码:29 / 69
页数:41
相关论文
共 30 条