688 research outputs found
Transitioning from structural to nominal code with efficient gradual typing
Gradual typing is a principled means for mixing typed and untyped code. But typed and untyped code often exhibit different programming patterns. There is already substantial research investigating gradually giving types to code exhibiting typical untyped patterns, and some research investigating gradually removing types from code exhibiting typical typed patterns. This paper investigates how to extend these established gradual-typing concepts to give formal guarantees not only about how to change types as code evolves but also about how to change such programming patterns as well.
In particular, we explore mixing untyped "structural" code with typed "nominal" code in an object-oriented language. But whereas previous work only allowed "nominal" objects to be treated as "structural" objects, we also allow "structural" objects to dynamically acquire certain nominal types, namely interfaces. We present a calculus that supports such "cross-paradigm" code migration and interoperation in a manner satisfying both the static and dynamic gradual guarantees, and demonstrate that the calculus can be implemented efficiently
Gravitomagnetic Field of a Rotating Superconductor and of a Rotating Superfluid
The quantization of the extended canonical momentum in quantum materials
including the effects of gravitational drag is applied successively to the case
of a multiply connected rotating superconductor and superfluid. Experiments
carried out on rotating superconductors, based on the quantization of the
magnetic flux in rotating superconductors, lead to a disagreement with the
theoretical predictions derived from the quantization of a canonical momentum
without any gravitomagnetic term. To what extent can these discrepancies be
attributed to the additional gravitomagnetic term of the extended canonical
momentum? This is an open and important question. For the case of multiply
connected rotating neutral superfluids, gravitational drag effects derived from
rotating superconductor data appear to be hidden in the noise of present
experiments according to a first rough analysis
Multi-Scale Entropy Analysis as a Method for Time-Series Analysis of Climate Data
Evidence is mounting that the temporal dynamics of the climate system are changing at the same time as the average global temperature is increasing due to multiple climate forcings. A large number of extreme weather events such as prolonged cold spells, heatwaves, droughts and floods have been recorded around the world in the past 10 years. Such changes in the temporal scaling behaviour of climate time-series data can be difficult to detect. While there are easy and direct ways of analysing climate data by calculating the means and variances for different levels of temporal aggregation, these methods can miss more subtle changes in their dynamics. This paper describes multi-scale entropy (MSE) analysis as a tool to study climate time-series data and to identify temporal scales of variability and their change over time in climate time-series. MSE estimates the sample entropy of the time-series after coarse-graining at different temporal scales. An application of MSE to Central European, variance-adjusted, mean monthly air temperature anomalies (CRUTEM4v) is provided. The results show that the temporal scales of the current climate (1960–2014) are different from the long-term average (1850–1960). For temporal scale factors longer than 12 months, the sample entropy increased markedly compared to the long-term record. Such an increase can be explained by systems theory with greater complexity in the regional temperature data. From 1961 the patterns of monthly air temperatures are less regular at time-scales greater than 12 months than in the earlier time period. This finding suggests that, at these inter-annual time scales, the temperature variability has become less predictable than in the past. It is possible that climate system feedbacks are expressed in altered temporal scales of the European temperature time-series data. A comparison with the variance and Shannon entropy shows that MSE analysis can provide additional information on the statistical properties of climate time-series data that can go undetected using traditional method
Evidenced Frames: A Unifying Framework Broadening Realizability Models
International audienceConstructive foundations have for decades been built upon realizability models for higher-order logic and type theory. However, traditional realizability models have a rather limited notion of computation, which only supports non-termination and avoids many other commonly used effects. Work to address these limitations has typically overlaid structure on top of existing models, such as by using powersets to represent non-determinism, but kept the realizers themselves deterministic. This paper alternatively addresses these limitations by making the structure underlying realizability models more flexible. To this end, we introduce evidenced frames: a general-purpose framework for building realizability models that support diverse effectful computations. We demonstrate that this flexibility permits models wherein the realizers themselves can be effectful, such as λ-terms that can manipulate state, reduce non-deterministically, or fail entirely. Beyond the broader notions of computation, we demonstrate that evidenced frames form a unifying framework for (realizability) models of higher-order dependent predicate logic. In particular, we prove that evidenced frames are complete with respect to these models, and that the existing completeness construction for implicative algebras-another foundational framework for realizability-factors through our simpler construction. As such, we conclude that evidenced frames offer an ideal domain for unifying and broadening realizability models
First-Order Logic for Flow-Limited Authorization
We present the Flow-Limited Authorization First-Order Logic (FLAFOL), a logic
for reasoning about authorization decisions in the presence of information-flow
policies. We formalize the FLAFOL proof system, characterize its
proof-theoretic properties, and develop its security guarantees. In particular,
FLAFOL is the first logic to provide a non-interference guarantee while
supporting all connectives of first-order logic. Furthermore, this guarantee is
the first to combine the notions of non-interference from both authorization
logic and information-flow systems. All theorems in this paper are proven in
Coq.Comment: Coq code can be found at https://github.com/FLAFOL/flafol-co
Clinical consequences of a miscalibrated digoxin immunoassay
A routine audit revealed that the analytical method used to measure digoxin concentrations by our statewide pathology provider in 2009 was underestimating digoxin concentrations by 10%. The assay was recalibrated by the manufacturer in 2010, but clinical outcomes of the underestimation were never measured. This is a pilot study to describe the prescribing behavior around out-of-range digoxin concentrations and to assess whether miscalibrated digoxin immunoassays contribute to clinically relevant effects, as measured by inappropriate alterations in digoxin doses.About 30,000 digoxin concentrations across the State Hospital system were obtained in 2 periods before and after recalibration of the digoxin assay. Digoxin concentration means were calculated and compared and were statistically significantly different. Subsequently, a single-centered retrospective review of 50 randomly chosen charts was undertaken to study the clinical implications of the underestimated concentrations.Mean digoxin concentrations for 2009 and 2011 were significantly different by 8.8% (confidence interval, 7.0%-10.6%). After recalculating the 2009 concentrations to their "corrected" values, there was a 16% increase in the number of concentrations within the range when compared with the 2011 concentrations (41.48% versus 48.04%). However, overall, this did not cause unnecessary dose changes in patients who were "borderline" or outside the therapeutic range when compared with controls (P = 0.10). The majority of decisions were based on the clinical impression rather than concentration alone (85.1% versus 14.9%), even when the concentration was outside the "therapeutic range."Although recalculating digoxin concentrations measured during 2009 to their corrected values produced a significant change in concentration and values inside and outside the range, this does not seem to have had an influence on patient treatment. Rather, clinicians tended to use the clinical impression to dose digoxin
Java and scala's type systems are unsound: the existential crisis of null pointers
We present short programs that demonstrate the unsoundness of Java and Scala's current type systems. In particular, these programs provide parametrically polymorphic functions that can turn any type into any type without (down) casting. Fortunately, parametric polymorphism was not integrated into the Java Virtual Machine (JVM), so these examples do not demonstrate any unsoundness of the JVM. Nonetheless, we discuss broader implications of these findings on the field of programming languages
On the interaction of mesoscopic quantum systems with gravity
We review the different aspects of the interaction of mesoscopic quantum
systems with gravitational fields. We first discuss briefly the foundations of
general relativity and quantum mechanics. Then, we consider the
non-relativistic expansions of the Klein-Gordon and Dirac equations in the
post-Newtonian approximation. After a short overview of classical gravitational
waves, we discuss two proposed interaction mechanisms: (i) the use of quantum
fluids as generator and/or detector of gravitational waves in the laboratory,
and (ii) the inclusion of gravitomagnetic fields in the study of the properties
of rotating superconductors. The foundations of the proposed experiments are
explained and evaluated.Comment: 27 pages, study for ESA: typos corrected, references and
clarifications added. To appear in Annalen der Physi
- …