Hybrid realizability for intuitionistic and classical choice

In intuitionistic realizability like Kleene’s or Kreisel’s, the axiom of choice is trivially realized. It is even provable in Martin-Löf’s intuitionistic type theory. In classical logic, however, even the weaker axiom of countable choice proves the existence of non-computable functions. This logical strength comes at the price of a complicated computational interpretation which involves strong recursion schemes like bar recursion. We take the best from both worlds and define a realizability model for arithmetic and the axiom of choice which encompasses both intuitionistic and classical reasoning. In this model two versions of the axiom of choice can co-exist in a single proof: intuitionistic choice and classical countable choice. We interpret intuitionistic choice efficiently, however its premise cannot come from classical reasoning. Conversely, our version of classical choice is valid in full classical logic, but it is restricted to the countable case and its realizer involves bar recursion. Having both versions allows us to obtain efficient extracted programs while keeping the provability strength of classical logic.

[1]  Martin Hofmann Completeness of Continuation Models for λ μ-Calculus , 2002 .

[2]  Jean-Yves Girard,et al.  A new constructive logic: classic logic , 1991, Mathematical Structures in Computer Science.

[3]  C.-H. Luke Ong,et al.  On Full Abstraction for PCF: I, II, and III , 2000, Inf. Comput..

[4]  Roberto M. Amadio,et al.  Domains and Lambda-Calculi (Cambridge Tracts in Theoretical Computer Science) , 2008 .

[5]  Chuck Liang,et al.  Unifying Classical and Intuitionistic Logics for Computational Control , 2013, 2013 28th Annual ACM/IEEE Symposium on Logic in Computer Science.

[6]  Jean-Yves Girard,et al.  On the Unity of Logic , 1993, Ann. Pure Appl. Log..

[7]  Hugo Herbelin A Constructive Proof of Dependent Choice, Compatible with Classical Logic , 2012, 2012 27th Annual IEEE Symposium on Logic in Computer Science.

[8]  Hugo Herbelin,et al.  On the Degeneracy of Sigma-Types in Presence of Computational Classical Logic , 2005, TLCA.

[9]  Stephen Cole Kleene,et al.  On the interpretation of intuitionistic number theory , 1945, Journal of Symbolic Logic.

[10]  Peter Selinger,et al.  Control categories and duality: on the categorical semantics of the lambda-mu calculus , 2001, Mathematical Structures in Computer Science.

[11]  Valentin Blot Typed realizability for first-order classical analysis , 2015, Log. Methods Comput. Sci..

[12]  Thierry Coquand,et al.  On the computational content of the axiom of choice , 1994, The Journal of Symbolic Logic.

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

[14]  Christophe Raffalli Getting results from programs extracted from classical proofs , 2004, Theor. Comput. Sci..

[15]  Paulo Oliva,et al.  MODIFIED BAR RECURSION AND CLASSICAL DEPENDENT CHOICE , 2004 .

[16]  Colin Riba,et al.  On Bar Recursion and Choice in a Classical Setting , 2013, APLAS.

[17]  Valentin Blot Game semantics and realizability for classical logic , 2014 .

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

[19]  Martin Hofmann,et al.  Completeness of Continuation Models for lambda-mu-Calculus , 2002, Inf. Comput..

[20]  P. E T E R S E L I N G Control Categories and Duality : on the Categorical Semantics of the Lambda-Mu Calculus , 2013 .

[21]  James Laird,et al.  Full abstraction for functional languages with control , 1997, Proceedings of Twelfth Annual IEEE Symposium on Logic in Computer Science.

[22]  Roberto M. Amadio,et al.  Domains and lambda-calculi , 1998, Cambridge tracts in theoretical computer science.

[23]  Ulrich Berger,et al.  REVIEWS-Refined program extraction from classical proofs , 2003 .

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

[25]  J. Krivine Realizability in classical logic , 2009 .

[26]  C. Spector Provably recursive functionals of analysis: a consistency proof of analysis by an extension of princ , 1962 .