579 research outputs found

    Exploiting Term Hiding to Reduce Run-time Checking Overhead

    Full text link
    One of the most attractive features of untyped languages is the flexibility in term creation and manipulation. However, with such power comes the responsibility of ensuring the correctness of these operations. A solution is adding run-time checks to the program via assertions, but this can introduce overheads that are in many cases impractical. While static analysis can greatly reduce such overheads, the gains depend strongly on the quality of the information inferred. Reusable libraries, i.e., library modules that are pre-compiled independently of the client, pose special challenges in this context. We propose a technique which takes advantage of module systems which can hide a selected set of functor symbols to significantly enrich the shape information that can be inferred for reusable libraries, as well as an improved run-time checking approach that leverages the proposed mechanisms to achieve large reductions in overhead, closer to those of static languages, even in the reusable-library context. While the approach is general and system-independent, we present it for concreteness in the context of the Ciao assertion language and combined static/dynamic checking framework. Our method maintains the full expressiveness of the assertion language in this context. In contrast to other approaches it does not introduce the need to switch the language to a (static) type system, which is known to change the semantics in languages like Prolog. We also study the approach experimentally and evaluate the overhead reduction achieved in the run-time checks.Comment: 26 pages, 10 figures, 2 tables; an extension of the paper version accepted to PADL'18 (includes proofs, extra figures and examples omitted due to space reasons

    X-Ray, UV And Optical Analysis Of Supergiants: Ï” Ori

    Get PDF
    We present a multi-wavelength (X-ray to optical) analysis, based on non-local thermodynamic equilibrium photospheric+wind models, of the B0 Ia-supergiant: Ï” Ori. The aim is to test the consistency of physical parameters, such as the mass-loss rate and CNO abundances, derived from different spectral bands. The derived mass-loss rate is M˙/f∞−−−√∌ 1.6 × 10−6 M⊙ yr−1 where f∞ is the volume filling factor. However, the S iv λλ1062,1073 profiles are too strong in the models; to fit the observed profiles it is necessary to use f∞ \u3c0.01. This value is a factor of 5 to 10 lower than inferred from other diagnostics, and implies M˙â‰Č1×10−7 M⊙ yr−1. The discrepancy could be related to porosity–vorosity effects or a problem with the ionization of sulphur in the wind. To fit the UV profiles of N v and O vi it was necessary to include emission from an interclump medium with a density contrast (ρcl/ρICM) of ∌100. X-ray emission in H/He like and Fe L lines was modelled using four plasma components located within the wind. We derive plasma temperatures from 1 × 106 to 7 × 106 K, with lower temperatures starting in the outer regions (R0 ∌ 3–6 R*), and a hot component starting closer to the star (R0 â‰Č 2.9 R*). From X-ray line profiles we infer M˙\u3c4.9 × 10−7 M⊙ yr−1. The X-ray spectrum (≄0.1 kev) yields an X-ray luminosity LX ∌ 2.0 × 10−7Lbol, consistent with the superion line profiles. X-ray abundances are in agreement with those derived from the UV and optical analysis: Ï” Ori is slightly enhanced in nitrogen and depleted in carbon and oxygen, evidence for CNO processed material

    An overview of the ciao multiparadigm language and program development environment and its design philosophy

    Full text link
    We describe some of the novel aspects and motivations behind the design and implementation of the Ciao multiparadigm programming system. An important aspect of Ciao is that it provides the programmer with a large number of useful features from different programming paradigms and styles, and that the use of each of these features can be turned on and off at will for each program module. Thus, a given module may be using e.g. higher order functions and constraints, while another module may be using objects, predicates, and concurrency. Furthermore, the language is designed to be extensible in a simple and modular way. Another important aspect of Ciao is its programming environment, which provides a powerful preprocessor (with an associated assertion language) capable of statically finding non-trivial bugs, verifying that programs comply with specifications, and performing many types of program optimizations. Such optimizations produce code that is highly competitive with other dynamic languages or, when the highest levéis of optimization are used, even that of static languages, all while retaining the interactive development environment of a dynamic language. The environment also includes a powerful auto-documenter. The paper provides an informal overview of the language and program development environment. It aims at illustrating the design philosophy rather than at being exhaustive, which would be impossible in the format of a paper, pointing instead to the existing literature on the system

    Mid-infrared optical properties of non-magnetic-metal/CoFeB/MgO heterostructures

    Full text link
    We report on the optical characterization of non-magnetic metal/ferromagnetic (Co20_{20}Fe60_{60}B20_{20})/MgO heterostructures and interfaces by using mid infrared spectroscopic ellipsometry at room temperature. We extracted for the mid-infrared range the dielectric function of Co20_{20}Fe60_{60}B20_{20}, that is lacking in literature, from a multisample analysis. From the optical modelling of the heterostructures we detected and determined the dielectric tensor properties of a two-dimensional gas (2DEG) forming at the non-magnetic metal and the CoFeB interface. These properties comprise independent Drude parameters for the in-plane and out-of plane tensor components, with the latter having an epsilon-near-zero frequency within our working spectral range. A feature assigned to spin-orbit coupling (SOC) is identified. Furthermore, it is found that both, the interfacial properties, 2DEG Drude parameters and SOC strength, and the apparent dielectric function of the MgO layer depend on the type of the underlying nonmagnetic metal, namely, Pt, W, or Cu. The results reported here should be useful in tailoring novel phenomena in such types of heterostructures by assessing their optical response noninvasively, complementing existing characterization tools such as angle-resolved photoemission spectroscopy, and those related to electron/spin transport.Comment: 11 pages, 7 figures. See supplemental material in 10.1088/1361-6463/acd00f/met

    An assertion language for constraint logic programs

    Full text link
    In an advanced program development environment, such as that discussed in the introduction of this book, several tools may coexist which handle both the program and information on the program in different ways. Also, these tools may interact among themselves and with the user. Thus, the different tools and the user need some way to communicate. It is our design principie that such communication be performed in terms of assertions. Assertions are syntactic objects which allow expressing properties of programs. Several assertion languages have been used in the past in different contexts, mainly related to program debugging. In this chapter we propose a general language of assertions which is used in different tools for validation and debugging of constraint logic programs in the context of the DiSCiPl project. The assertion language proposed is parametric w.r.t. the particular constraint domain and properties of interest being used in each different tool. The language proposed is quite general in that it poses few restrictions on the kind of properties which may be expressed. We believe the assertion language we propose is of practical relevance and appropriate for the different uses required in the tools considered

    Multivariant Assertion-based Guidance in Abstract Interpretation

    Full text link
    Approximations during program analysis are a necessary evil, as they ensure essential properties, such as soundness and termination of the analysis, but they also imply not always producing useful results. Automatic techniques have been studied to prevent precision loss, typically at the expense of larger resource consumption. In both cases (i.e., when analysis produces inaccurate results and when resource consumption is too high), it is necessary to have some means for users to provide information to guide analysis and thus improve precision and/or performance. We present techniques for supporting within an abstract interpretation framework a rich set of assertions that can deal with multivariance/context-sensitivity, and can handle different run-time semantics for those assertions that cannot be discharged at compile time. We show how the proposed approach can be applied to both improving precision and accelerating analysis. We also provide some formal results on the effects of such assertions on the analysis results.Comment: Pre-proceedings paper presented at the 28th International Symposium on Logic-Based Program Synthesis and Transformation (LOPSTR 2018), Frankfurt am Main, Germany, 4-6 September 2018 (arXiv:1808.03326

    SSDSS IV MaNGA - Properties of AGN host galaxies

    Full text link
    We present here the characterization of the main properties of a sample of 98 AGN host galaxies, both type-II and type-I, in comparison with those of about 2700 non-active galaxies observed by the MaNGA survey. We found that AGN hosts are morphologically early-type or early-spirals. For a given morphology AGN hosts are, in average, more massive, more compact, more central peaked and rather pressurethan rotational-supported systems. We confirm previous results indicating that AGN hosts are located in the intermediate/transition region between star-forming and non-star-forming galaxies (i.e., the so-called green valley), both in the ColorMagnitude and the star formation main sequence diagrams. Taking into account their relative distribution in terms of the stellar metallicity and oxygen gas abundance and a rough estimation of their molecular gas content, we consider that these galaxies are in the process of halting/quenching the star formation, in an actual transition between both groups. The analysis of the radial distributions of the starformation rate, specific star-formation rate, and molecular gas density shows that the quenching happens from inside-out involving both a decrease of the efficiency of the star formation and a deficit of molecular gas. All the intermediate data-products used to derive the results of our analysis are distributed in a database including the spatial distribution and average properties of the stellar populations and ionized gas, published as a Sloan Digital Sky Survey Value Added Catalog being part of the 14th Data Release: http://www.sdss.org/dr14/manga/manga-data/manga-pipe3d-value-added-catalog/Comment: 48 pages, 14 figures, in press in RMxA
    • 

    corecore