Program Development Schemata as Derived Rules
نویسندگان
چکیده
We show how the formalization and application of schemata for program development can be reduced to the formalization and application of derived rules of inference. We formalize and derive schemata as rules in theories that axiomatize program data and programs themselves. We reduce schema-based program development to ordinary theorem proving, where higher-order uniication is used to apply rules. Conceptually, our formalization is simple and uniies divergent views of schemata, program synthesis, and program transformation. Practically, our formalization yields a simple methodology for carrying out development using existing logical frameworks; we illustrate this in the domain of logic program synthesis and transformation using the Isabelle logical framework.
منابع مشابه
Development of Correct Transformation Schemata for Prolog Programs 1 Schema-based Transformations
Schema-based program transformation 5] has been proposed as an eeective technique for the optimisation of logic programs. Schemata are applied to a logic program, mapping ineecient constructs to more eecient ones. One challenging aspect of the technique is that of proving that the schemata are correct. This paper describes work in progress addressing the issue of correctness. We deene operation...
متن کاملLogic program development based on typed moded schemata and data types
The main contribution of the thesis is to develop a comprehensive framework for developinglogic programs using ve program schemata and some basic data types, and to evaluate itssuitability for developing sizable programs. The schemata are intended to capture designdecisions made by a programmer during top-down re nement of a predicate. The schemataare completely independent from...
متن کاملDevelopment of Correct Transformation Schemata for Prolog Programs
Schema-based program transformation [8] has been proposed as an effective technique for the optimisation of logic programs. Schemata are applied to a logic program, mapping inefficient constructs to more efficient ones. One challenging aspect of the technique is that of proving that the schemata are correct. This paper addresses the issue of correctness. We define operations for developing corr...
متن کاملExtensible Logic Program Schemata
Schema-based transformational systems maintain a library of logic program schemata which capture large classes of logic programs. One of the shortcomings of schema-based transformation approaches is their reliance on a large (possibly incomplete) set of logic program schemata that is required in order to capture all of the minor syntactic differences between semantically similar logic programs....
متن کاملA paramodulation-based calculus for refuting schemata of clause sets defined by rewrite rules
We devise a calculus based on the resolution and paramodulation rules and operating on schemata of formulæ. These schemata are de ned inductively, using convergent rewrite systems encoding primitive recursive de nitions. The main original feature of this calculus is that the rules operate on formulæ or terms occurring at arbitrary deep positions inside the considered schemata, thus a ecting the...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Symb. Comput.
دوره 30 شماره
صفحات -
تاریخ انتشار 2000