Consistent Subtyping for All
نویسنده
چکیده
Consistent subtyping is employed in some gradual type systems to validate type conversions. The original definition by Siek and Taha serves as a guideline for designing gradual type systems with subtyping. Polymorphic types à la System F also induce a subtyping relation that relates polymorphic types to their instantiations. However Siek and Taha’s definition is not adequate for polymorphic subtyping. The first goal of this paper is to propose a generalization of consistent subtyping that is adequate for polymorphic subtyping, and subsumes the original definition by Siek and Taha. The new definition of consistent subtyping provides novel insights with respect to previous polymorphic gradual type systems, which did not employ consistent subtyping. The second goal of this paper is to present a gradually typed calculus for implicit (higher-rank) polymorphism that uses our new notion of consistent subtyping. We develop both declarative and (bidirectional) algorithmic versions for the type system. We prove that the new calculus satisfies all static aspects of the refined criteria for gradual typing, which are mechanically formalized using the Coq proof assistant.
منابع مشابه
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...
متن کاملSubtyping of Salmonella enterica isolated from humans and food animals using Pulsed-Field Gel Electrophoresis
Salmonella infections are the second leading cause of zoonotic bacterial foodborne illness. Main source of infection in human is contaminated food products. The aim of this study was sub typing isolates of Salmonella entericaobtained during our previous study byPulsed Field Gel Electrophoresis (PFGE) technique. All 46 Salmonella isolates were serotyped and then subjected to PFGE. Total isolates...
متن کاملMultiplex Reverse Transcriptase-PCR Assay for Typing and Subtyping of Influenza A (H5 & H9) Virus in Iran
Avian influenza virus (AIV) infection is a major cause of bird or human mortality and morbidity, therefore the rapid identification of the virus is of important clinical and epidemiological implication. Methods: A multiplex Reverse Transcriptase PCR (RT-PCR) was optimized for the detection of influenza A virus and the H5 and H9 subtypes. The influenza type A specific primers were directed to t...
متن کاملImmunophenotypic Subtyping of Leukemic Cells from Iranian Patients with Acute Lymphoblastic Leukaemia: Association to Disease Outcome
Background: Immunophenotypic characterization of the leukemic cells has been widely used as a tool for diagnosis, classification, stratification and prognosis of leukaemia. Objective: To investigate the immunophenotypic subtype profiles of Iranian patients with acute lymphoblastic leukemia (ALL) and its association to disease outcome. Methods: In this study, a total of 60 Iranian patients with ...
متن کاملSubtyping of psychiatric disorders: implications for drug development
Psychiatric diagnosis suffers from being based on phenomenology and not on pathophysiology. Data are presented showing that psychiatric patients reveal consistent quantitative electroencephalographic abnormalities, such that they can be separated from normals and from each other. Clustering these pathophysiological groupings reveals an underlying variability, which permits useful subtyping. Dat...
متن کامل