University of Victoria (Canada)
Safe strict evaluation of redundancy-free programs from proofs
Abstract
dc:description.abstractMany investigators have considered the possibility of extracting programs in a functional language directly from natural deduction proofs in intuitionistic logic. This approach delivers programs littered with redundant components and has led people to examine various ways of pruning these useless subprograms. Here we give an algorithm for automatically performing this pruning without requiring the user to manually annotate their whole proof. It then becomes possible to allow classical reasoning at points in the proof whose putative computational content is redundant to the extracted program. One particularly good place to take advantage of this new ability is in a rule for well-founded induction which allows us to extract explicitly recursive programs. Unfortunately, all this new flexibility leads to a complication which has not been mentioned in the literature: by pruning supposedly redundant parts of the extracted program we destroy the subject reduction and strong normalization properties that are touted as one of the main advantages of the programs-from-proofs approach. The main original result of this thesis is a propositional type system which inserts a relatively small number of delay and force operators to restore these properties. We attempt to extend the result to a dependent type system based on first-order predicate logic via the erasure of dependent types.
Degree
thesis:*- Level thesis:degree_level
- Master of Science M.Sc.
- Department thesis:degree_department
- Department of Computer Science
- Year dc:date.issued
- 1994
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Knight, Bren Eric
Rights
dc:rights- Statement dc:rights
-
- Available to the World Wide Web
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1828/18462