natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory
Rel, bicategory of relations, allegory
left and right euclidean;
extensional, well-founded relations.
In proof theory and the theory of programming languages, the term logical relations refers to a certain style of argument used in proving results such as strong normalization or observational equivalence?. Although there is no precise definition, typically a logical relation (or logical predicate) corresponds to a family of (sometimes unary) relations defined by induction on types, and such that the definition of the relation at a particular type mirrors the logical structure of that type in an appropriate sense. This methodology goes by many names historically, such as Tait’s method of computability and reducibility candidates.
As originally described by (Tait 1967) (and presented in (Girard 1990)), logical predicates can be used to prove strong normalization for the simply-typed lambda calculus. The idea is to define a family of predicates over terms, indexed by types , such that:
( an atomic type): iff is strongly normalizing
( a function type): iff , implies .
By induction on , one establishes the following three conditions:
if , then is strongly normalizing
if and , then
if is neutral (i.e., either a variable or application) and for all we have , then
Finally, one proves the “fundamental lemma”
which by condition (1) implies that every simply-typed term is strongly normalizing.
W. W. Tait. Intensional Interpretations of Functionals of Finite Type I, JSL 32:2, June 1967. (JSTOR)
Gordon Plotkin. Lambda-definability and logical relations, unpublished manuscript, Edinburgh 1973. (pdf)
John C. Reynolds, Types, Abstraction and Parametric Polymorphism Information Processing 83(1) (1983), pp. 513-523.
Jean-Yves Girard, Yves Lafont, and Paul Taylor, Proofs and Types, 1990. (web)
For a recent perspective:
See also
Patricia Johann, Neil Ghani, Logical Relations for Program Verification, research proposal (pdf)
Thierry Coquand, from slide 63 on in Equality and dependent type theory (pdf)
Florian Rabe, Kristina Sojakova, Logical Relations for a Logical Framework (pdf)
Carsten Schürmann, Jeffrey Sarnat, Structural logical relations (pdf)
Lau Skorstengaard, An Introduction to Logical Relations: Proving Program Properties Using Logical Relations, (pdf)
Karl Crary, Logical Relations and a Case Study in Equivalence Checking, in Benjamin Pierce (ed.), Advanced Topics in Types and Programming Languages
Amal Ahmed, Lectures on logical relations at OPLSS 2015, (lecture recordings)
Further discussion:
StackExchange discussion, What are differences between logical relations and simulations?
TYPES mailing list thread on the origin of the term “logical relation”
Last revised on May 19, 2022 at 20:32:12. See the history of this page for a list of all contributions to it.