Refined program extraction form classical proofs

The paper presents a re"ned method of extracting reasonable and sometimes unexpected programs from classical proofs of formulas of the form ∀x∃yB. We also generalize previously known results, since B no longer needs to be quanti"er-free, but only has to belong to a strictly larger class of so-called “goal formulas”. Furthermore we allow unproven lemmas D in the proof of ∀x∃yB, where D is a so-called “de"nite” formula. c � 2002 Elsevier Science B.V. All rights reserved. MSC: 03F10; 03F50

[1]  Daniel Leivant,et al.  Syntactic translations and provably recursive functions , 1985, Journal of Symbolic Logic.

[2]  Chetan R. Murthy,et al.  Finding computational content in classical proofs , 1991 .

[3]  Matthias Felleisen,et al.  A Syntactic Theory of Sequential Control , 1987, Theor. Comput. Sci..

[4]  Frank Pfenning,et al.  Logical Frameworks , 2001, Handbook of Automated Reasoning.

[5]  A. Troelstra Metamathematical investigation of intuitionistic arithmetic and analysis , 1973 .

[6]  Stefano Berardi,et al.  Extracting Constructive Content from Classical Logic via Control-like Reductions , 1993, TLCA.

[7]  Chetan R. Murthy Extracting Constructive Content From Classical Proofs , 1990 .

[8]  Harvey M. Friedman,et al.  Classically and intuitionistically provably recursive functions , 1978 .

[9]  L. Dickson Finiteness of the Odd Perfect and Primitive Abundant Numbers with n Distinct Prime Factors , 1913 .

[10]  Timothy G. Griffin,et al.  A formulae-as-type notion of control , 1989, POPL '90.

[11]  U. Kohlenbach Analysing proofs in analysis , 1996 .

[12]  Michel Parigot,et al.  Lambda-Mu-Calculus: An Algorithmic Interpretation of Classical Natural Deduction , 1992, LPAR.

[13]  Ulrich Berger,et al.  Program Extraction from Classical Proofs , 1994, LCC.

[14]  A. Troelstra,et al.  Constructivism in Mathematics: An Introduction , 1988 .

[15]  Bezem,et al.  Ramsey's theorem and the pigeonhole principle in intuitionistic mathematics , 1993 .

[16]  Thierry Coquand,et al.  Grr Obner Bases in Type Theory , 1998 .

[17]  Robert Hieb,et al.  The Revised Report on the Syntactic Theories of Sequential Control and State , 1992, Theor. Comput. Sci..

[18]  Jean-Louis Krivine,et al.  Classical Logic, Storage Operators and Second-Order lambda-Calculus , 1994, Ann. Pure Appl. Log..

[19]  Ulrich Berger,et al.  The Warshall Algorithm and Dickson's Lemma: Two Examples of Realistic Program Extraction , 2004, Journal of Automated Reasoning.

[20]  Ulrich Berger Programs from classical proofs , 1995 .