79 research outputs found

    Cutting out continuations

    Get PDF
    In the field of program transformation, one often transforms programs into continuation-passing style to make their flow of control explicit, and then immediately removes the resulting continuations using defunctionalisation to make the programs first-order. In this article, we show how these two transformations can be fused together into a single transformation step that cuts out the need to first introduce and then eliminate continuations. Our approach is calculational, uses standard equational reasoning techniques, and is widely applicable

    Type theory as a framework for modelling and programming

    Get PDF
    In the context provided by the proceedings of the UVMP track of ISoLA 2016, we propose Type Theory as a suitable framework for both modelling and programming. We show that it fits most of the requirements put forward on such frameworks by Broy et al. and discuss some of the objections that can be raised against it

    The response of perennial and temporary headwater stream invertebrate communities to hydrological extremes

    Get PDF
    The headwaters of karst rivers experience considerable hydrological variability, including spates and streambed drying. Extreme summer flooding on the River Lathkill (Derbyshire, UK) provided the opportunity to examine the invertebrate community response to unseasonal spate flows, flow recession and, at temporary sites, streambed drying. Invertebrates were sampled at sites with differing flow permanence regimes during and after the spates. Following streambed drying at temporary sites, dewatered surface sediments were investigated as a refugium for aquatic invertebrates. Experimental rehydration of these dewatered sediments was conducted to promote development of desiccation-tolerant life stages. At perennial sites, spate flows reduced invertebrate abundance and diversity, whilst at temporary sites, flow reactivation facilitated rapid colonisation of the surface channel by a limited number of invertebrate taxa. Following streambed drying, 38 taxa were recorded from the dewatered and rehydrated sediments, with Oligochaeta being the most abundant taxon and Chironomidae (Diptera) the most diverse. Experimental rehydration of dewatered sediments revealed the presence of additional taxa, including Stenophylax sp. (Trichoptera: Limnephilidae) and Nemoura sp. (Plecoptera: Nemouridae). The influence of flow permanence on invertebrate community composition was apparent despite the aseasonal high-magnitude flood events

    Islet antibodies and remaining beta-cell function 8 years after diagnosis of diabetes in young adults: a prospective follow-up of the nationwide Diabetes Incidence Study in Sweden.

    Get PDF
    Objectives. To establish the prevalence of remaining beta-cell function 8 years after diagnosis of diabetes in young adults and relate the findings to islet antibodies at diagnosis and 8 years later. Design. Population-based cohort study. Setting. Nationwide from all Departments of Medicine and Endocrinology in Sweden. Subjects. A total of 312 young (15-34 years old) adults diagnosed with diabetes during 1987-88. Main outcome measure. Plasma connecting peptide (C-peptide) 8 years after diagnosis. Preserved beta-cell function was defined as measurable C-peptide levels. Three islet antibodies - cytoplasmic islet cell antibodies (ICA), glutamic acid decarboxylase antibodies and tyrosine phosphatase antibodies - were measured. Results. Amongst 269 islet antibody positives (ab+) at diagnosis, preserved beta-cell function was found in 16% (42/269) 8 years later and these patients had a higher body mass index (median 22.7 and 20.5 kg m-2, respectively; P = 0.0003), an increased frequency of one islet antibody (50 and 24%, respectively; P = 0.001), and a lower prevalence of ICA (55 and 6%, respectively; P = 0.007) at diagnosis compared with ab+ without remaining beta-cell function. Amongst the 241 patients without detectable beta-cell function at follow-up, 14 lacked islet antibodies, both at diagnosis and at follow-up. Conclusions. Sixteen per cent of patients with autoimmune type 1 diabetes had remaining beta-cell function 8 years after diagnosis whereas 5.8% with beta-cell failure lacked islet autoimmunity, both at diagnosis and at follow-up

    Distal radius fractures in children: substantial difference in stability between buckle and greenstick fractures

    Get PDF
    Background and purpose Numerous follow-up visits for wrist fractures in children are performed without therapeutic consequences. We investigated the degree to which the follow-up visits reveal complications and lead to change in management. The stability of greenstick and buckle fractures of the distal radius was assessed by comparing the lateral angulation radiographically

    Conflation Confers Concurrency

    Get PDF
    Session types provide a static guarantee that concurrent programs respect communication protocols. Recent work has explored a correspondence between proof rules and cut reduction in linear logic and typing and evaluation of process calculi. This paper considers two approaches to extend logically-founded process calculi. First, we consider extensions of the process calculus to more closely resemble π-calculus. Second, inspired by denotational models of process calculi, we consider conflating dual types. Most interestingly, we observe that these approaches coincide: conflating the multiplicatives (⊗ and 
⅋) allows processes to share multiple channels; conflating the additives (⊕ and &) provides nondeterminism; and conflating the exponentials (! and ?) yields access points, a rendezvous mechanism for initiating session typed communication. Access points are particularly expressive: for example, they are sufficient to encode concurrent state and general recursion

    HLA Genes, Islet Autoantibodies and Residual C-Peptide at the Clinical Onset of Type 1 Diabetes Mellitus and the Risk of Retinopathy 15 Years Later

    Get PDF
    HLA genes, islet autoantibodies and residual C-peptide were studied to determine the independent association of each exposure with diabetic retinopathy (DR), 15 years after the clinical onset of type 1 diabetes in 15-34 year old individuals.The cohort was identified in 1992 and 1993 by the Diabetes Incidence Study in Sweden (DISS), which investigates incident cases of diabetes for patients between 15 and 34 years of age. Blood samples at diagnosis were analyzed to determine HLA genotype, islet autoantibodies and serum C-peptide. In 2009, fundus photographs were obtained from patient records. Study measures were supplemented with data from the Swedish National Diabetes Registry.The prevalence of DR was 60.2% (148/246). Autoantibodies against the 65 kD isoform of glutamate decarboxylase (GADA) at the onset of clinical diabetes increased the risk of DR 15 years later, relative risk 1.12 for each 100 WHO units/ml, [95% CI 1.02 to 1.23]. This equates to risk estimates of 1.27, [95% CI 1.04 to 1.62] and 1.43, [95% CI 1.06 to 1.94] for participants in the highest 25(th) (GADA>233 WHO units/ml) and 5(th) percentile (GADA>319 WHO units/ml) of GADA, respectively. These were adjusted for duration of diabetes, HbA(1c), treated hypertension, sex, age at diagnosis, HLA and C-peptide. Islet cell autoantibodies, insulinoma-antigen 2 autoantibodies, residual C-peptide and the type 1 diabetes associated haplotypes DQ2, DQ8 and DQ6 were not associated with DR.Increased levels of GADA at the onset of type 1 diabetes were associated with DR 15 years later. These results, if confirmed, could provide additional insights into the pathogenesis of the most common microvascular complication of diabetes and lead to better risk stratification for both patient screenings and DR treatment trials

    Ein Algebraischer Ansatz für Kompilerkorrektheitsbeweise

    No full text

    An Illustrated Guide To The Model Theory Of Supertype Abstraction And Behavioral Subtyping

    No full text
    Object-oriented (OO) programs, which use subtyping and dynamic dispatch, make specification and verification difficult because the code executed by a method call may dynamically be dispatched to an overriding method in any subtype, even ones that did not exist at the time the program was specified. Modular reasoning for such programs means allowing one to add new subtypes to a program without re-specifying and re-verifying it. In a 2015 ACM TOPLAS paper we presented a model-theoretic characterization of a Hoare-style modular verification technique for sequential OO programs called “supertype abstraction,” defined behavioral subtyping, and proved that behavioral subtyping is both necessary and sufficient for the validity of supertype abstraction. The present paper is aimed at graduate students and other researchers interested in formal methods and gives a comprehensive overview of our prior work, along with the motivation and intuition for that work, with examples
    corecore