63 research outputs found

    Multiple inheritance hazards in algebraic typeclass hierarchies

    Full text link
    Abstract algebra provides a large hierarchy of properties that a collection of objects can satisfy, such as forming an abelian group or a semiring. These classifications can arranged into a broad and typically acyclic directed graph. This graph perspective encodes naturally in the typeclass system of theorem provers such as Lean, where nodes can be represented as structures (or records) containing the requisite axioms. This design inevitably needs some form of multiple inheritance; a ring is both a semiring and an abelian group. In the presence of dependently-typed typeclasses that themselves consume typeclasses as type-parameters, such as a vector space typeclass which assumes the presence of an existing additive structure, the implementation details of structure multiple inheritance matter. The type of the outer typeclass is influenced by the path taken to resolve the typeclasses it consumes. Unless all these paths are considered judgmentally equal, this is a recipe for disaster. This paper provide a concrete explanation of how these situations arise (reduced from real examples in mathlib), compares implementation approaches for multiple inheritance by whether judgmental equality is preserved, and outlines solutions to the problems discovered.Comment: 11 pages, 3 figure

    Scalar actions in Lean's mathlib

    Full text link
    Scalar actions are ubiquitous in mathematics, and therefore it is valuable to be able to write them succinctly when formalizing. In this paper we explore how Lean 3's typeclasses are used by mathlib for scalar actions with examples, illustrate some of the problems which come up when using them such as compatibility of actions and non-definitionally-equal diamonds, and note how these problems can be solved. We outline where more work is needed in mathlib in this area.Comment: 6 pages, 2 figures. For associated conference presentation slides, see https://eric-wieser.github.io/fmm-202

    RENEB accident simulation exercise

    Get PDF
    Purpose: The RENEB accident exercise was carried out in order to train the RENEB participants in coordinating and managing potentially large data sets that would be generated in case of a major radiological event. Materials and methods: Each participant was offered the possibility to activate the network by sending an alerting email about a simulated radiation emergency. The same participant had to collect, compile and report capacity, triage categorization and exposure scenario results obtained from all other participants. The exercise was performed over 27 weeks and involved the network consisting of 28 institutes: 21 RENEB members, four candidates and three non-RENEB partners. Results: The duration of a single exercise never exceeded 10 days, while the response from the assisting laboratories never came later than within half a day. During each week of the exercise, around 4500 samples were reported by all service laboratories (SL) to be examined and 54 scenarios were coherently estimated by all laboratories (the standard deviation from the mean of all SL answers for a given scenario category and a set of data was not larger than 3 patient codes). Conclusions: Each participant received training in both the role of a reference laboratory (activating the network) and of a service laboratory (responding to an activation request). The procedures in the case of radiological event were successfully established and tested

    Withaferin a-induced apoptosis in human breast cancer cells is mediated by reactive oxygen species

    Get PDF
    Withaferin A (WA), a promising anticancer constituent of Ayurvedic medicinal plant Withania somnifera, inhibits growth of MDA-MB-231 and MCF-7 human breast cancer cells in culture and MDA-MB-231 xenografts in vivo in association with apoptosis induction, but the mechanism of cell death is not fully understood. We now demonstrate, for the first time, that WA-induced apoptosis is mediated by reactive oxygen species (ROS) production due to inhibition of mitochondrial respiration. WA treatment caused ROS production in MDA-MB-231 and MCF-7 cells, but not in a normal human mammary epithelial cell line (HMEC). The HMEC was also resistant to WA-induced apoptosis. WA-mediated ROS production as well as apoptotic histone-associated DNA fragment release into the cytosol was significantly attenuated by ectopic expression of Cu,Zn-superoxide dismutase in both MDA-MB-231 and MCF-7 cells. ROS production resulting from WA exposure was accompanied by inhibition of oxidative phosphorylation and inhibition of complex III activity. Mitochondrial DNA-deficient Rho-0 variants of MDA-MB-231 and MCF-7 cells were resistant to WA-induced ROS production, collapse of mitochondrial membrane potential, and apoptosis compared with respective wild-type cells. WA treatment resulted in activation of Bax and Bak in MDA-MB-231 and MCF-7 cells, and SV40 immortalized embryonic fibroblasts derived from Bax and Bak double knockout mouse were significantly more resistant to WA-induced apoptosis compared with fibroblasts derived from wild-type mouse. In conclusion, the present study provides novel insight into the molecular circuitry of WA-induced apoptosis involving ROS production and activation of Bax/Bak. © 2011 Hahm et al

    Interlaboratory study for coral Sr/Ca and other element/Ca ratio measurements

    Get PDF
    The Sr/Ca ratio of coral aragonite is used to reconstruct past sea surface temperature (SST). Twentyone laboratories took part in an interlaboratory study of coral Sr/Ca measurements. Results show interlaboratory bias can be significant, and in the extreme case could result in a range in SST estimates of 7°C. However, most of the data fall within a narrower range and the Porites coral reference material JCp- 1 is now characterized well enough to have a certified Sr/Ca value of 8.838 mmol/mol with an expanded uncertainty of 0.089 mmol/mol following International Association of Geoanalysts (IAG) guidelines. This uncertainty, at the 95% confidence level, equates to 1.5°C for SST estimates using Porites, so is approaching fitness for purpose. The comparable median within laboratory error is <0.5°C. This difference in uncertainties illustrates the interlaboratory bias component that should be reduced through the use of reference materials like the JCp-1. There are many potential sources contributing to biases in comparative methods but traces of Sr in Ca standards and uncertainties in reference solution composition can account for half of the combined uncertainty. Consensus values that fulfil the requirements to be certified values were also obtained for Mg/Ca in JCp-1 and for Sr/Ca and Mg/Ca ratios in the JCt-1 giant clam reference material. Reference values with variable fitness for purpose have also been obtained for Li/Ca, B/Ca, Ba/Ca, and U/Ca in both reference materials. In future, studies reporting coral element/Ca data should also report the average value obtained for a reference material such as the JCp-1

    Array programming with NumPy.

    Get PDF
    Array programming provides a powerful, compact and expressive syntax for accessing, manipulating and operating on data in vectors, matrices and higher-dimensional arrays. NumPy is the primary array programming library for the Python language. It has an essential role in research analysis pipelines in fields as diverse as physics, chemistry, astronomy, geoscience, biology, psychology, materials science, engineering, finance and economics. For example, in astronomy, NumPy was an important part of the software stack used in the discovery of gravitational waves1 and in the first imaging of a black hole2. Here we review how a few fundamental array concepts lead to a simple and powerful programming paradigm for organizing, exploring and analysing scientific data. NumPy is the foundation upon which the scientific Python ecosystem is constructed. It is so pervasive that several projects, targeting audiences with specialized needs, have developed their own NumPy-like interfaces and array objects. Owing to its central position in the ecosystem, NumPy increasingly acts as an interoperability layer between such array computation libraries and, together with its application programming interface (API), provides a flexible framework to support the next decade of scientific and industrial analysis

    Global transpiration data from sap flow measurements : the SAPFLUXNET database

    Get PDF
    Plant transpiration links physiological responses of vegetation to water supply and demand with hydrological, energy, and carbon budgets at the land-atmosphere interface. However, despite being the main land evaporative flux at the global scale, transpiration and its response to environmental drivers are currently not well constrained by observations. Here we introduce the first global compilation of whole-plant transpiration data from sap flow measurements (SAPFLUXNET, https://sapfluxnet.creaf.cat/, last access: 8 June 2021). We harmonized and quality-controlled individual datasets supplied by contributors worldwide in a semi-automatic data workflow implemented in the R programming language. Datasets include sub-daily time series of sap flow and hydrometeorological drivers for one or more growing seasons, as well as metadata on the stand characteristics, plant attributes, and technical details of the measurements. SAPFLUXNET contains 202 globally distributed datasets with sap flow time series for 2714 plants, mostly trees, of 174 species. SAPFLUXNET has a broad bioclimatic coverage, with woodland/shrubland and temperate forest biomes especially well represented (80 % of the datasets). The measurements cover a wide variety of stand structural characteristics and plant sizes. The datasets encompass the period between 1995 and 2018, with 50 % of the datasets being at least 3 years long. Accompanying radiation and vapour pressure deficit data are available for most of the datasets, while on-site soil water content is available for 56 % of the datasets. Many datasets contain data for species that make up 90 % or more of the total stand basal area, allowing the estimation of stand transpiration in diverse ecological settings. SAPFLUXNET adds to existing plant trait datasets, ecosystem flux networks, and remote sensing products to help increase our understanding of plant water use, plant responses to drought, and ecohydrological processes. SAPFLUXNET version 0.1.5 is freely available from the Zenodo repository (https://doi.org/10.5281/zenodo.3971689; Poyatos et al., 2020a). The "sapfluxnetr" R package - designed to access, visualize, and process SAPFLUXNET data - is available from CRAN.Peer reviewe
    corecore