Bifibrational Functorial Semantics of Parametric Polymorphism
Bifibrational Functorial Semantics of Parametric Polymorphism
复制标题
DOI:
10.1016/j.entcs.2015.12.011
复制
发表时间:
2015-12-21
影响因子:
--
通讯作者:
Revell, Tim
中科院分区:
文献类型:
--
作者:
Ghani, Neil;Johann, Patricia;Revell, Tim
Reynolds' theory of parametric polymorphism captures the invariance of polymorphically typed programs under change of data representation. Semantically, reflexive graph categories and fibrations are both known to give a categorical understanding of parametric polymorphism. This paper contributes further to this categorical perspective by showing the relevance of bifibrations. We develop a bifibrational framework for models of System F that are parametric, in that they verify the Identity Extension Lemma and Reynolds' Abstraction Theorem. We also prove that our models satisfy expected properties, such as the existence of initial algebras and final coalgebras, and that parametricity implies dinaturality.