Anti-symmetry of higher-order subtyping and equality by subtyping

نویسندگان

  • Adriana B. Compagnoni
  • Healfdene Goguen
چکیده

This paper gives the first proof that the subtyping relation of a higherorder lambda calculus, F ≤, is anti-symmetric, establishing in the process that the subtyping relation is a partial order—reflexive, transitive, and anti-symmetric up to β-equality. While a subtyping relation is reflexive and transitive by definition, anti-symmetry is a derived property. The result, which may seem obvious to the non-expert, is technically challenging, and had been an open problem for almost a decade. In this context, typed operational semantics for subtyping offers a powerful new technology to solve the problem: of particular importance is our extended rule for the well-formedness of types with head variables. The paper also gives a presentation of F ≤ without a relation for β-equality, apparently the first such, and shows its equivalence with the traditional presentation.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Anti-Symmetry of Higher-Order Subtyping

This paper shows that the subtyping relation of a higher-order lambda calculus, F ! , is anti-symmetric. It exhibits the rst such proof, establishing in the process that the subtyping relation is a partial order| reeexive, transitive and anti-symmetric. While a sub-typing relation is reeexive and transitive by deeni-tion, anti-symmetry is a derived property. The result, which may seem obvious t...

متن کامل

Lemmas and Proofs for “Complete and Easy Bidirectional Typechecking for Higher-Rank Polymorphism”

A Declarative Subtyping 6 A.1 Properties of Well-Formedness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1 Proposition (Weakening) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 Proposition (Substitution) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 A.2 Reflexivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

متن کامل

Structural subtyping for inductive types with functorial equality rules

Subtyping for inductive types in dependent type theories is studied in the framework of coercive subtyping. General structural subtyping rules for parameterised inductive types are formulated based on the notion of inductive schemata. Certain extensional equality rules play an important role in proving some of the crucial properties of the type system with these subtyping rules. In particular, ...

متن کامل

Subtyping Object and Recursive Types Logically

Subtyping in first order object calculi is studied with respect to the logical semantics obtained by identifying terms that satisfy the same set of predicates, as formalized through an assignment system. It is shown that equality in the full first order ς-calculus is modelled by this notion, which on turn is included in a Morris style contextual equivalence.

متن کامل

Detection and subtyping avian metapneumovirus from turkeys in Iran

Avian metapneumovirus (aMPV) causes diseases like rhinotracheitis in turkeys, swollen head syndrome in chickens and avian rhinotracheitis in other birds. Causing respiratory problems, aMPV adversely affects production and inflicts immense economic losses and mortalities, especially in turkey flocks. In recent years, several serological and molecular studies have been conducted on this virus, es...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Mathematical Structures in Computer Science

دوره 16  شماره 

صفحات  -

تاریخ انتشار 2006