We present a formalism of trees with pointers, called abstract Bohm trees, that provide a suitable abstract framework in which various cut-free proofs or normal terms of several λ-calculus based languages (including PCF and Parigot's λμ-calculus) can be faithfully encoded. A simple abstract machine called the View Abstract Machine (VAM) allows us to compute over abstract Bohm trees. The VAM is closely related to Coquand's interaction sequences and debates. The VAM execution over finite abstract Bohm trees always terminates. We next introduce an abstract notion of type that fits the purpose of guaranteeing that the VAM cannot go into deadlock, i.e., that it always reaches a satisfactory final state. Typed abstract Bohm trees can be turned into a category – more naturally a ‘multi-category’ where the domains of arrows are sets of named objects or records. We then go from the abstract to the concrete by giving examples. Our sets of abstract (typed) Bohm trees are relative to an alphabet and a set of types. By instantiating these two parameter sets appropriately, we recover, successively: (η-long) typed Bohm trees; PCF trees as considered in the game models of Hyland–Ong or of Abramsky–Jagadeesan–Malacaria; a notion of classical Bohm tree due to Herbelin that provides a classical version of PCF trees in the style of λμ-calculus; and, finally, cut-free proofs in Novikov's infinitary propositional logic as investigated by Coquand. In a companion paper, we investigate the operational aspects of (untyped) Bohm trees in more depth.
[1]
Michel Parigot,et al.
Lambda-Mu-Calculus: An Algorithmic Interpretation of Classical Natural Deduction
,
1992,
LPAR.
[2]
Martin Hofmann,et al.
Continuation models are universal for lambda-mu-calculus
,
1997,
LICS 1997.
[3]
C.-H. Luke Ong,et al.
A semantic view of classical proofs: type-theoretic, categorical, and denotational characterizations
,
1996,
Proceedings 11th Annual IEEE Symposium on Logic in Computer Science.
[4]
Robin Milner,et al.
Fully Abstract Models of Typed lambda-Calculi
,
1977,
Theor. Comput. Sci..
[5]
Pierre-Louis Curien,et al.
An Abstract Framework for Environment Machines
,
1991,
Theor. Comput. Sci..
[6]
Thierry Coquand,et al.
On the computational content of the axiom of choice
,
1994,
The Journal of Symbolic Logic.
[7]
Hugo Herbelin.
Games and Weak-Head Reduction for Classical PCF
,
1997,
TLCA.
[8]
Gérard P. Huet.
An Analysis of Böhm's Theorem
,
1993,
Theor. Comput. Sci..
[9]
Vincent Danos,et al.
Game semantics and abstract machines
,
1996,
Proceedings 11th Annual IEEE Symposium on Logic in Computer Science.
[10]
Martín Abadi,et al.
Explicit substitutions
,
1989,
POPL '90.
[11]
Roberto M. Amadio,et al.
Domains and lambda-calculi
,
1998,
Cambridge tracts in theoretical computer science.
[12]
Thierry Coquand,et al.
A semantics of evidence for classical arithmetic
,
1995,
Journal of Symbolic Logic.