Structural subtyping for inductive types with functorial equality rulesâ
Recommend Documents
extend C using this constructor specification to get a new finitely complete cate- .... respectively, where B0 is the base category of the given sort specification, and.
Key words: inductive types, initial algebras, pre xed points, Mendler-style, typed functional programming .... ventional inductive types to a calculus of categorical combinators. For an ...... Fixed-Point Constructions in Order-Enriched Categories.
Jun 18, 2006 - 2006-18 Modified Realizability and Inductive Types, Asperti, A., Tassi; E., ... (leading, e.g., form the Calculus of Constructions to the Calculus of ...
obvious, and its correctness proof is very challenging. .... pared types РРin a judgement ¥ Р... is compatible with a set of rules if Рcontains a judgment.
ing of recursive types in the presence of associative and commu- ..... function Ï from paths to symbols whose domain is nonempty and prefix-closed and such that, ...... Fortunately, it is straightforward to adapt the results of this paper to such an
On Variance-Based Subtyping for Parametric Types. Atsushi Igarashi1 and Mirko Viroli2. 1. Graduate School of Informatics, Kyoto University. Yoshida-Honmachi ...
W-types are precisely the initial algebras of containers in one variable ..... (W-type) together with a constructor term. Π£ a:A£ f : Q WAB BI aPF supQ a£b :WAB.
from one type constructor to another, such functorial polymorphism is rather subtle com- pared with ... Naturally, one can use the functor to determine the algorithm. There are ..... applying functors of different arities, namely 1 and 2 respectively
May 2, 2012 - in a type theory, and in particular on those of inductive types, such as ...... Calculus of Inductive Constructions can be reduced to the following ...
inductive and projective recursive types, and it also adds an explicit lifting constructor, ... name versions of the untyped lambda calculus into λâ¥Ï and show that the ...... the usual arithmetic operations on ord1, allowing the construction of s
full natural structure a orded by inductive and coinductive types. This structure is well-behaved with respect to a pow- erful set of equational reasoning principles, ...
fresh y. The admissibility of rule (β-red) gives us Î,y:B â£Î£ M[x := y] : A. Hence Î,x:B ..... The Y-combinator in Scott's λ-calculus models (revised version), Theory of ...
Nov 4, 2016 - Dept. of Computing, Imperial College London, 180 Queen's Gate, London SW7 2AZ, UK e-mail address: [email protected] ..... By fpv(P)/fc(P) we denote the set of free process variables/free channels in P. By.
Their very formulation seems somehow 'different' from the rest of the Java type system, which is based on a simple, nominal hierarchy. We investigate subtyping ...
then n=min else super.add(i)} public int min() {min} ..... xi. Ï2=Ï2 à Ï2 â (Ï1=Ï1ÃÏ1 â§ Sâ£Ï1â¤Ï2 â§ Sâ£Ï1 â¤Ï2 ) xii. Ï2=µt .Ï ...... [13] C. League and Z. Shao. Formal ...
If p is subtype of p, then all services interacting correctly with p must interact correctly also with p . Formally, let
This chapter presents an approach to learning semantic knowledge for semantic query ...... Quantifying Inductive Bias: AI Learning Algorithms and Valiant's.
Jul 4, 2018 - through a large air-gap on the order of some tens of centimeters. Hence, the flux is not ... Circuit Model of Inductive Power Transfer System. The magnetic .... A value γ < 1 corresponds to a down scaling of the original structure.
Moreover, several efficient languages have been developed that ... above models by a natural transformation that characterizes the identification of ..... category T (N) can be inductively defined by the inference rules in Table 1, ...... N f corresp
Aug 13, 2013 - output voltage waveform using the chip-to-chip wireless communication method. (VDD ¼2.0 V). Fig. 13. .... CMOS analog latched voltage comparator using the flipped voltage follower as · input stage, Microelectronics Journal ...
address gender inequality in science through formal gender-oriented action ... The STAGES Consortium consists of seven partners, listed in the table below.
tional thinking (RT) employ their number sense and what Slavit (1999) called â .... Reference the sum of the numbers of all the wrong and missing answers to at ...
Jun 28, 2002 - read arcs as self-loops in ordinary Petri nets serializes all the .... different tokens a and b in the source net by, say, the same token c in the ... because pre-nets do not distinguish between terminal and ... As explained above, we
Structural subtyping for inductive types with functorial equality rulesâ
It is also based on this formulation that the Ï-rules are formulated and that the ..... set R of basic subtyping rules, is an extension of a type theory T specified in the.
Under consideration of Math. Struct. in Comp. Science
Structural subtyping for inductive types with functorial equality rules∗ Zhaohui Luo and Robin Adams Department of Computer Science Royal Holloway, University of London Egham, Surrey TW20 0EX, U.K. Received February 27, 2006 and Revised December 21, 2006
Abstract 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, it is shown that the structural subtyping rules are coherent and that transitivity is admissible in the presence of the functorial rules of computational equality.
1. Introduction Coercive subtyping [Luo97, Luo99] is a general framework for subtyping and abbreviation in dependent type theories. In particular, it incorporates subtyping for inductive types. In this paper, structural subtyping for inductive types is studied in the framework of coercive subtyping. Inductive types in dependent type theories have a rich structure and include many interesting types such as the types of natural numbers, lists, trees, ordinals, dependent pairs, etc. In general, inductive types can be considered as generated by inductive schemata [Dyb91, PM93, Luo94] and this gives us a clear guide as to how to consider natural subtyping rules for the inductive types. The idea of deriving the general structural subtyping rules from the inductive schemata was first considered in [Luo97] and the subtyping rules for typical inductive types were given in [Luo99]. However, from the PhD work of Y. Luo [Luo05], it has become clear that, in an intensional type theory, the structural subtyping rules for some of the inductive types are not compatible with the notion of transitivity (sometimes called ‘strong transitivity’) as given by the following rule in coercive subtyping:
∗
This work is partially supported by the following research grants: UK EPSRC grant GR/R84092, Leverhulme Trust grant F/07 537/AA and EU TYPES grant 510996.