The Amber rules are well-known and widely used for subtyping iso-recursive types. They were first briefly and informally introduced in 1985 by Cardelli in a manuscript describing the Amber language. Despite their use over many years, important aspects of the metatheory of the iso-recursive style Amber rules have not been studied in depth or turn out to be quite challenging to formalize. This paper aims to revisit the problem of subtyping iso-recursive types. We start by introducing a novel declarative specification that we believe captures the "spirit" of Amber-style iso-recursive subtyping. Informally, the specification states that two recursive types are subtypes if all their finite unfoldings are subtypes. The Amber rules are shown to be sound with respect to this declarative specification. We then derive a sound, complete and decidable algorithmic formulation of subtyping that employs a novel double unfolding rule. Compared to the Amber rules, the double unfolding rule has the advantage of: 1) being modular; 2) not requiring reflexivity to be built in; and 3) leading to an easy proof of transitivity of subtyping. This work sheds new insights on the theory of subtyping iso-recursive types, and the new double unfolding rule has important advantages over the original Amber rules for both implementations and metatheoretical studies involving recursive types. All results are mechanically formalized in the Coq theorem prover. As far as we know, this is the first comprehensive treatment of iso-recursive subtyping dealing with unrestricted recursive types in a theorem prover.
机构:
HU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Univ Hosp Paris Nord Val Seine, AP HP, Dept Radiol, 100 Blvd Gen Leclerc, F-92118 Clichy, Hauts De Seine, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Reizine, Edouard
Ronot, Maxime
论文数: 0引用数: 0
h-index: 0
机构:
Univ Hosp Paris Nord Val Seine, AP HP, Dept Radiol, 100 Blvd Gen Leclerc, F-92118 Clichy, Hauts De Seine, France
Univ Paris Diderot, Sorbonne Paris Cite, Paris, France
Ctr Rech Biomed Bichat Beaujon, INSERM, U1149, CRB3, Paris, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Ronot, Maxime
Pigneur, Frederic
论文数: 0引用数: 0
h-index: 0
机构:
HU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Pigneur, Frederic
Purcell, Yvonne
论文数: 0引用数: 0
h-index: 0
机构:
Univ Hosp Paris Nord Val Seine, AP HP, Dept Radiol, 100 Blvd Gen Leclerc, F-92118 Clichy, Hauts De Seine, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Purcell, Yvonne
Mule, Sebastien
论文数: 0引用数: 0
h-index: 0
机构:
HU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Mule, Sebastien
Burgio, Marco Dioguardi
论文数: 0引用数: 0
h-index: 0
机构:
Univ Hosp Paris Nord Val Seine, AP HP, Dept Radiol, 100 Blvd Gen Leclerc, F-92118 Clichy, Hauts De Seine, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Burgio, Marco Dioguardi
Calderaro, Julien
论文数: 0引用数: 0
h-index: 0
机构:
HU Henri Mondor, AP HP, Dept Pathol, Creteil, Val De Marne, France
Univ Paris Est Creteil, Fac Med, F-94010 Creteil, France
INSERM, Unit U955, Equipe 18, F-94010 Creteil, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Calderaro, Julien
Amaddeo, Giuliana
论文数: 0引用数: 0
h-index: 0
机构:
Univ Paris Est Creteil, Fac Med, F-94010 Creteil, France
INSERM, Unit U955, Equipe 18, F-94010 Creteil, France
HU Henri Mondor, AP HP, Dept Hepatol, Creteil, Val De Marne, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Amaddeo, Giuliana
Laurent, Alexis
论文数: 0引用数: 0
h-index: 0
机构:
Univ Paris Est Creteil, Fac Med, F-94010 Creteil, France
HU Henri Mondor, AP HP, Dept Liver Surg, Creteil, Val De Marne, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Laurent, Alexis
论文数: 引用数:
h-index:
机构:
Vilgrain, Valerie
Luciani, Alain
论文数: 0引用数: 0
h-index: 0
机构:
HU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France
Univ Paris Est Creteil, Fac Med, F-94010 Creteil, France
INSERM, Unit U955, Equipe 18, F-94010 Creteil, FranceHU Henri Mondor, AP HP, Dept Radiol, Creteil, Val De Marne, France