program correctness
Recently Published Documents


TOTAL DOCUMENTS

106
(FIVE YEARS 5)

H-INDEX

10
(FIVE YEARS 1)

2021 ◽  
Vol 2 (4) ◽  
pp. 1-43
Author(s):  
Yuan Feng ◽  
Mingsheng Ying

Hoare logic provides a syntax-oriented method to reason about program correctness and has been proven effective in the verification of classical and probabilistic programs. Existing proposals for quantum Hoare logic either lack completeness or support only quantum variables, thus limiting their capability in practical use. In this article, we propose a quantum Hoare logic for a simple while language that involves both classical and quantum variables. Its soundness and relative completeness are proven for both partial and total correctness of quantum programs written in the language. Remarkably, with novel definitions of classical-quantum states and corresponding assertions, the logic system is quite simple and similar to the traditional Hoare logic for classical programs. Furthermore, to simplify reasoning in real applications, auxiliary proof rules are provided that support standard logical operation in the classical part of assertions and super-operator application in the quantum part. Finally, a series of practical quantum algorithms, in particular the whole algorithm of Shor’s factorisation, are formally verified to show the effectiveness of the logic.


2021 ◽  
Author(s):  
Stuart Herring
Keyword(s):  

2020 ◽  
Vol 1 (1) ◽  
pp. 1-11
Author(s):  
Jatmiko Yogopriyatno

There are two studies in this research; achievement analysis implementation, and improvement of the future program. This study uses descriptive qualitative method, the process of extracting data carried out by the method on a number of key informant interviews and documentation of data in the field. Analysis of data using analytical subprocesses and practices: (1) reduction of data and identification of patterns and (2) conclusion and present their conclusions. Based on the survey results revealed that First: the dimensions of Program Implementation identified that (a) the program has met the criteria for program correctness. (b) Output in the form of technical assistance programs and the number of beneficiaries as many as 9294 people with absorption budget of Rp 13,649,000,000.00. (c) Short-term outcome of labor to produce as much as 11.587, 8.322 and generate as much business units. (d) There was a discrepancy implementation of the initial design of the program. (e) Barriers to implementation of the program in the form of readiness resources, regulatory support, policy environment, and disobedience bureaucrats executor. Second; On-dimensional improvement program known that: (a) mathematically program has shown optimal performance with the percentage of short-term outcome by 23%. (b) There are three program areas that are the focus in the modification, namely; repair mechanism of revolving funds, enhanced dimensional mentoring programs, and compliance executive staff in terms of both quality and quantity of personnel. (c) The development of the modification program in the stage of formulation of the draft regulations are being discussed by the government.


Author(s):  
Ying Zhou ◽  
Sharon R. Browning ◽  
Brian L. Browning

AbstractSegments of identity by descent (IBD) are used in many genetic analyses. We present a method for detecting identical-by-descent haplotype segments that is optimized for large-scale genotype data. Our method, called hap-IBD, combines a compressed representation of genotype data, the positional Burrows-Wheeler transform, and multi-threaded execution to produce very fast analysis times. An attractive feature of hap-IBD is its simplicity: the input parameters clearly and precisely define the IBD segments that are reported, so that program correctness can be confirmed by users.We evaluate hap-IBD and four state-of-the-art IBD segment detection methods (GERMLINE, iLASH, RaPID, and TRUFFLE) using UK Biobank chromosome 20 data and simulated sequence data. We show that hap-IBD detects IBD segments faster and more accurately than competing methods, and that hap-IBD is the only method that can rapidly and accurately detect short 2-4 cM IBD segments in the full UK Biobank data. Analysis of 485,346 UK Biobank samples using hap-IBD with 12 computational threads detects 231.5 billion autosomal IBD segments with length ≥2 cM in 24.4 hours.


2018 ◽  
Vol 10 (10) ◽  
pp. 3471 ◽  
Author(s):  
David Gil ◽  
Jose Fernández-Alemán ◽  
Juan Trujillo ◽  
Ginés García-Mateos ◽  
Sergio Luján-Mora ◽  
...  

Unfortunately, sustainability is an issue very poorly used when developing software and hardware systems. Lately, and in order to contribute to the earth sustainability, a new concept emerged named Green software which is computer software that can be developed and used efficiently and effectively with minimal or no impact to the environment. Currently, new teaching methods based on students’ learning process are being developed in the European Higher Education Area. Most of them are oriented to promote students’ interest in the course’s contents and offer personalized feedback. Online judging is a promising method for encouraging students’ participation in the e-learning process, although it still has to be researched and developed to be widely used and in a more efficient way. The great amount of data available in an online judging tool provides the possibility of exploring some of the most indicative attributes (e.g., running time, memory) for learning programming concepts, techniques and languages. So far, the most applied methods for automatically gathering information from the judging systems are based on statistical methods and, although providing reasonable correlations, these methods have not been proven to provide enough information for predicting grades when dealing with a huge amount of data. Therefore, the great novelty of this paper is to develop a data mining approach to predict program correctness as well as the grades of the students’ practices. For this purpose, powerful data mining technologies taken from the artificial intelligence domain have been used. In particular, in this study, we have used logistic regression, decision trees, artificial neural network and support vector machines; which have been properly identified as the most suitable ones for predicting activities in the e-learning domains. The results have achieved an accuracy of around 74%, both in the prediction of the program correctness as well as in the practice grades’ prediction. Another relevant issue provided in this paper is a comparison among these four techniques to obtain the best accuracy in predicting grades based on the availability of data as well as their taxonomy. The Decision Trees classifier has obtained the best confusion matrix, and time and memory efficiency were identified as the most important predictor variables. In view of these results, we can conclude that the development of green software leads programmers to implement correct software.


2018 ◽  
Vol 18 (2) ◽  
pp. 252-295
Author(s):  
CARLOS OLARTE ◽  
ELAINE PIMENTEL ◽  
CAMILO RUEDA

AbstractA recent trend in object-oriented programming languages is the use of access permissions (APs) as an abstraction for controlling concurrent executions of programs. The use of AP source code annotations defines a protocol specifying how object references can access the mutable state of objects. Although the use of APs simplifies the task of writing concurrent code, an unsystematic use of them can lead to subtle problems. This paper presents a declarative interpretation of APs as linear concurrent constraint programs (lcc). We represent APs as constraints (i.e., formulas in logic) in an underlying constraint system whose entailment relation models the transformation rules of APs. Moreover, we use processes inlccto model the dependencies imposed by APs, thus allowing the faithful representation of their flow in the program. We verify relevant properties about AP programs by taking advantage of the interpretation oflccprocesses as formulas in Girard's intuitionistic linear logic (ILL). Properties include deadlock detection, program correctness (whether programs adhere to their AP specifications or not), and the ability of methods to run concurrently. By relying on a focusing discipline for ILL, we provide a complexity measure for proofs of the above-mentioned properties. The effectiveness of our verification techniques is demonstrated by implementing the Alcove tool that includes an animator and a verifier. The former executes thelccmodel, observing the flow of APs, and quickly finding inconsistencies of the APs vis-à-vis the implementation. The latter is an automatic theorem prover based on ILL.


2018 ◽  
Author(s):  
Koushik Sen ◽  
Costin Iancu ◽  
James W Demmel
Keyword(s):  

Sign in / Sign up

Export Citation Format

Share Document