ComputingComputer ScienceFormal MethodsProgramming LanguagesSyntaxControl-flow AnalysisType CheckingType SystemsAbstract SemanticsConstructive Proof TheoryConstructive ProofsExistential TypesLabelsType ConstructorsType Theory
Scheme’s call/cc gives first‑class continuations, enabling first‑class labels and jumps, and the formulae‑as‑types correspondence surprisingly links classical proofs to typed programs. The authors aim to extend the formulae‑as‑types correspondence to typed Idealized Scheme. They apply the correspondence to typed Idealized Scheme, mapping constructive proofs of a formula α to programs of type α. They show that classical programs of type α exist via standard classical definitions of conjunction, disjunction, and existential types, and prove that all evaluations of typed terms in Idealized Scheme terminate.
The programming language Scheme contains the control construct call/cc that allows access to the current continuation (the current control context). This, in effect, provides Scheme with first-class labels and jumps. We show that the well-known formulae-as-types correspondence, which relates a constructive proof of a formula α to a program of type α, can be extended to a typed Idealized Scheme. What is surprising about this correspondence is that it relates classical proofs to typed programs. The existence of computationally interesting "classical programs" —programs of type α, where α holds classically, but not constructively — is illustrated by the definition of conjunctively, disjunctive, and existential types using standard classical definitions. We also prove that all evaluations of typed terms in Idealized Scheme are finite.
12
Call-by-name, call-by-value and the λ-calculus
Gordon Plotkin · Theoretical Computer Science · 1975 · 1.2K citations
The Mechanical Evaluation of Expressions
P. J. Landin · The Computer Journal · 1964 · 932 citations · Full text
Revised report on the algorithmic language ALGOL 60
John Backus, Friedrich L. Bauer, J. Green et al. · Communications of the ACM · 1963 · 909 citations · Full text
The next 700 programming languages
P. J. Landin · Communications of the ACM · 1966 · 581 citations · Full text