1,160 research outputs found

    Flexible Invariants Through Semantic Collaboration

    Full text link
    Modular reasoning about class invariants is challenging in the presence of dependencies among collaborating objects that need to maintain global consistency. This paper presents semantic collaboration: a novel methodology to specify and reason about class invariants of sequential object-oriented programs, which models dependencies between collaborating objects by semantic means. Combined with a simple ownership mechanism and useful default schemes, semantic collaboration achieves the flexibility necessary to reason about complicated inter-object dependencies but requires limited annotation burden when applied to standard specification patterns. The methodology is implemented in AutoProof, our program verifier for the Eiffel programming language (but it is applicable to any language supporting some form of representation invariants). An evaluation on several challenge problems proposed in the literature demonstrates that it can handle a variety of idiomatic collaboration patterns, and is more widely applicable than the existing invariant methodologies.Comment: 22 page

    The VerCors tool for verification of concurrent programs

    Get PDF
    The VerCors tool implements thread-modular static verification of concurrent programs, annotated with functional properties and heap access permissions. The tool supports both generic multithreaded and vector-based programming models. In particular, it can verify multithreaded programs written in Java, specified with JML extended with separation logic. It can also verify parallelizable programs written in a toy language that supports the characteristic features of OpenCL. The tool verifies programs by first encoding the specified program into a much simpler programming language and then applying the Chalice verifier to the simplified program. In this paper we discuss both the implementation of the tool and the features of its specification language

    Moving from Specifications to Contracts in Component-Based Design

    Get PDF
    Abstract. Program properties that are automatically inferred by static analysis tools are generally not considered to be completely trustworthy, unless the tool implementation or the results are formally verified. Here we focus on the formal verification of resource guarantees inferred by automatic cost analysis. Resource guarantees ensure that programs run within the indicated amount of resources which may refer to memory consumption, to number of instructions executed, etc. In previous work we studied formal verification of inferred resource guarantees that depend only on integer data. In realistic programs, however, resource consumption is often bounded by the size of heap-allocated data structures. Bounding their size requires to perform a number of structural heap analyses. The contributions of this paper are (i) to identify what exactly needs to be verified to guarantee sound analysis of heap manipulating programs, (ii) to provide a suitable extension of the program logic used for verification to handle structural heap properties in the context of resource guarantees, and (iii) to improve the underlying theorem prover so that proof obligations can be automatically discharged.

    Leisure time physical activity in a 22-year follow-up among Finnish adults

    Get PDF
    BACKGROUND: The aim of this study was to explore long-term predictors of leisure time physical activity in the general population. METHODS: This study comprised 718 men and women who participated in the national Mini-Finland Health Survey from 1978–1980 and were re-examined in 2001. Participants were aged 30–80 at baseline. Measurements included interviews, health examinations, and self-administered questionnaires, with information on socioeconomic position, occupational and leisure time physical activity, physical fitness, body mass index, smoking, alcohol consumption, and physical functional capacity. Analyses included persons who were working and had no limitations in functional capacity at baseline. RESULTS: The strongest predictor of being physically active at the follow-up was participation in physical activity at baseline, with an OR 13.82 (95%CI 5.50-34.70) for 3 or more types of regular activity, OR 2.33 (95%CI 1.22-4.47) for 1–2 types of regular activity, and OR 3.26 (95%CI 2.07-5.15) for irregular activity, as compared to no activity. Other determinants for being physically active were moving upwards in occupational status, a high level of baseline occupational physical activity and remaining healthy weight during the follow-up. CONCLUSIONS: To prevent physical inactivity among older adults, it is important to promote physical activity already in young adulthood and in middle age and to emphasize the importance of participating in many types of physical activity

    The International Cancer Expert Corps: A Unique Approach for Sustainable Cancer Care in Low and Lower-Middle Income Countries

    Get PDF
    The growing burden of non-communicable diseases including cancer in low- and lower-middle income countries (LMICs) and in geographic-access limited settings within resource-rich countries requires effective and sustainable solutions. The International Cancer Expert Corps (ICEC) is pioneering a novel global mentorship–partnership model to address workforce capability and capacity within cancer disparities regions built on the requirement for local investment in personnel and infrastructure. Radiation oncology will be a key component given its efficacy for cure even for the advanced stages of disease often encountered and for palliation. The goal for an ICEC Center within these health disparities settings is to develop and retain a high-quality sustainable workforce who can provide the best possible cancer care, conduct research, and become a regional center of excellence. The ICEC Center can also serve as a focal point for economic, social, and healthcare system improvement. ICEC is establishing teams of Experts with expertise to mentor in the broad range of subjects required to establish and sustain cancer care programs. The Hubs are cancer centers or other groups and professional societies in resource-rich settings that will comprise the global infrastructure coordinated by ICEC Central. A transformational tenet of ICEC is that altruistic, human-service activity should be an integral part of a healthcare career. To achieve a critical mass of mentors ICEC is working with three groups: academia, private practice, and senior mentors/retirees. While in-kind support will be important, ICEC seeks support for the career time dedicated to this activity through grants, government support, industry, and philanthropy. Providing care for people with cancer in LMICs has been a recalcitrant problem. The alarming increase in the global burden of cancer in LMICs underscores the urgency and makes this an opportune time fornovel and sustainable solutions to transform cancer care globally

    The relationship between structural game characteristics and gambling behavior: a population-level study

    Get PDF
    The aim of this study was to examine the relationship between the structural characteristics and gambling behavior among video lottery terminal (VLT) gamblers. The study was ecological valid, because the data consisted of actual gambling behavior registered in the participants natural gambling environment without intrusion by researchers. Online behavioral tracking data from Multix, an eight game video lottery terminal, were supplied by Norsk-Tipping (the state owned gambling company in Norway). The sample comprised the entire population of Multix gamblers (N = 31,109) who had gambled in January 2010. The individual number of bets made across games was defined as the dependent variable, reward characteristics of a game (i.e., payback percentage, hit frequency, size of winnings and size of jackpot) and bet characteristics of a game (i.e., range of betting options and availability of advanced betting options) served as the independent variables. Control variables were age and gender. Two separate cross-classified multilevel random intercepts models were used to analyze the relationship between bets made, reward characteristics and bet characteristics, where the number of bets was nested within both individuals and within games. The results show that the number of bets is positively associated with payback percentage, hit frequency, being female and age, and negatively associated with size of wins and range of available betting options. In summary, the results show that the reward characteristics and betting options explained 27 % and 15 % of the variance in the number of bets made, respectively. It is concluded that structural game characteristics affect gambling behavior. Implications of responsible gambling are discussed

    Creating nanoporous graphene with swift heavy ions

    Get PDF
    This article has an erratum: DOI 10.1016/j.carbon.2017.03.065We examine swift heavy ion-induced defect production in suspended single layer graphene using Raman spectroscopy and a two temperature molecular dynamics model that couples the ionic and electronic subsystems. We show that an increase in the electronic stopping power of the ion results in an increase in the size of the pore-type defects, with a defect formation threshold at 1.22–1.48 keV/layer. We also report calculations of the specific electronic heat capacity of graphene with different chemical potentials and discuss the electronic thermal conductivity of graphene at high electronic temperatures, suggesting a value in the range of 1 Wm−1 K−1. These results indicate that swift heavy ions can create nanopores in graphene, and that their size can be tuned between 1 and 4 nm diameter by choosing a suitable stopping power.Peer reviewe

    Multisite musculoskeletal pain predicts medically certified disability retirement among Finns

    Get PDF
    BackgroundMusculoskeletal pain at several sites (multisite pain) is more common than single-site pain. Little is known on its effects on disability pension (DP) retirement. MethodsA nationally representative sample comprised 4071 Finns in the workforce aged 30 to 63. Data (questionnaire, interview, clinical examination) were gathered in 2000-2001 and linked with national DP registers for 2000-2011. Pain during the preceding month in 18 locations was combined into four sites (neck, upper limbs, low back, lower limbs). Hazard ratios (HR) of DP were estimated by Cox regression. ResultsThe HR of any DP (n=477) was 1.6 (95% confidence interval 1.2-2.1) for one, 2.5 (1.9-3.3) for two, 3.1 (2.3-4.3) for three and 5.6 (4.0-7.8) for four pain sites, when adjusted for age and gender. When additionally adjusted for clinically assessed chronic diseases, the HRs varied from 1.4 (1.0-1.8) to 3.5 (2.5-4.9), respectively. When further adjusted for physical and psychosocial workload, education, body mass index, smoking, exercise and sleep disorders, the HRs were 1.3 (0.9-1.7), 1.6 (1.2-2.2), 1.8 (1.3-2.5) and 2.5 (1.8-3.6). The number of pain sites was especially strong in predicting DPs due to musculoskeletal diseases (HRs in the full model; 3.1 to 4.3), but it also predicted DPs due to other somatic diseases (respective HRs 1.3 to 2.3); pain in all four sites was also predictive of DPs due to mental disorders (full model HR 2.2). ConclusionsThe number of pain sites independently predicted DP retirement. Employees with multisite pain may need specific support to maintain their work ability.Peer reviewe
    corecore