期刊文献+
共找到5篇文章
< 1 >
每页显示 20 50 100
Two New Strategies for Developing Loop Invariants and Their Applications 被引量:44
1
作者 薛锦云 《Journal of Computer Science & Technology》 SCIE EI 1993年第2期147-154,共8页
The loop invariants take a very important role in the design,proof and derivation of the algorithmic program.We point out the limitations of the traditional standard strategy for developing loop invariants, and propos... The loop invariants take a very important role in the design,proof and derivation of the algorithmic program.We point out the limitations of the traditional standard strategy for developing loop invariants, and propose two new strategies for proving the existing algorithmic program and developing new ones. The strategies use recurrence as vehicle and integrate some effective methods of designing algorithms, e.g.Dynamic Programming,Greedy and Divide Conquer,into the recurrence relation of problem solving sequence.This lets us get straightforward an approach for solving a variety of complicated prob- lems,and makes the standard proof and formal derivation of their algorithmic programs possible.We show the method and advantages of applying the strategies with several typical nontrivial examples. 展开更多
关键词 loop invariant standard proof and formal derivation of program recurrence relation algorithm design
下载PDF
H→γγ:a comment on the indeterminacy of non-gauge-invariant integrals
2
作者 F.Piccinini A.Pilloni A.D.Polosa 《Chinese Physics C》 SCIE CAS CSCD 2013年第4期7-13,共7页
We reanalyze the recent computation of the amplitude of the Higgs boson decay into two photons presented by Gastmans et al. [1, 2]. The reasons for why this result cannot be the correct one have been discussed in some... We reanalyze the recent computation of the amplitude of the Higgs boson decay into two photons presented by Gastmans et al. [1, 2]. The reasons for why this result cannot be the correct one have been discussed in some recent papers. We address here the general issue of the indeterminacy of integrals with four-dimensional gauge-breaking regulators and to which extent it might eventually be solved by imposing physical constraints. Imposing gauge invariance as the last step upon Rξ-gauge calculations with four-dimensional gauge-breaking regulators, allows us to recover the well known H→γγ result. However we show that in the particular case of the unitary gauge, the indeterminacy cannot be tackled in the same way. The combination of the unitary gauge with a cutoff regularization scheme turns out to be non-predictive. 展开更多
关键词 Higgs decay regularization methods loop calculations gauge invariance
下载PDF
A Shape Graph Logic and A Shape System 被引量:10
3
作者 Zhao-Peng Li Yu Zhang Yi-Yun Chen 《Journal of Computer Science & Technology》 SCIE EI CSCD 2013年第6期1063-1084,共22页
Analysis and verification of pointer programs are still difficult problems so far.This paper uses a shape graph logic and a shape system to solve these problems in two stages.First,shape graphs at every program point ... Analysis and verification of pointer programs are still difficult problems so far.This paper uses a shape graph logic and a shape system to solve these problems in two stages.First,shape graphs at every program point are constructed using an analysis tool.Then,they are used to support the verification of other properties(e.g.,orderedness).Our prototype supports automatic verification of programs manipulating complex data structures such as splay trees,treaps,AVL trees and AA trees,etc.The proposed shape graph logic,as an extension to Hoare logic,uses shape graphs directly as assertions.It can be used in the analysis and verification of programs manipulating mutable data structures.The benefit using shape graphs as assertions is that it is convenient for acquiring the relations between pointers in the verification stage.The proposed shape system requires programmers to provide lightweight shape declarations in recursive structure type declarations.It can help rule out programs that construct shapes deviating from what programmers expect(reflected in shape declarations)in the analysis stage.As a benefit,programmers need not provide specifications(e.g.,pre-/post-conditions,loop invariants)about pointers.Moreover,we present a method doing verification in the second stage using traditional Hoare logic rules directly by eliminating aliasing with the aid of shape graphs.Thus,verification conditions could be discharged by general theorem provers. 展开更多
关键词 shape graph logic program verification shape analysis automated theorem proving loop invariant inference
下载PDF
A Unified Approach for Developing EfficientAlgorithmic Programs 被引量:76
4
作者 薛锦云 《Journal of Computer Science & Technology》 SCIE EI 1997年第4期314-329,共16页
A unified approach called partition-and-recur for developing efficient and correct algorithmic programs is presented. An algorithm (represented by recurrence and initiation) is separated from program, and special atte... A unified approach called partition-and-recur for developing efficient and correct algorithmic programs is presented. An algorithm (represented by recurrence and initiation) is separated from program, and special attention is paid to algorithm manipulation rather than program calculus. An algorithm is exactly a set of mathematical formulae. It is easier for formal derivation and proof. After getting efficient and correct algorithm, a trivial transformation is used to get a final program. The approach covers several known algorithm design techniques, e.g. dynamic programming, greedy, divide-and-conquer and enumeration, etc. The techniques of partition and recurrence are not new. Partition is a general approach for dealing with complicated objects and is typically used in divide-and-conquer approach. Recurrence is used in algorithm analysis, in developing loop invariants and dynamic programming approach. The main contribution is combining two techniques used in typical algorithm development into a unified and systematic approach to develop general efficient algorithmic programs and presenting a new representation of algorithm that is easier for understanding and demonstrating the correctness and ingenuity of algorithmic programs. 展开更多
关键词 Programming method algorithm design method correctness of algorithmic program recurrence relation loop invariant.
下载PDF
A QUANTIFIER-ELIMINATION BASED HEURISTIC FOR AUTOMATICALLY GENERATING INDUCTIVE ASSERTIONS FOR PROGRAMS 被引量:3
5
作者 Deepak KAPUR 《Journal of Systems Science & Complexity》 2006年第3期307-330,共24页
A method using quantifier-elimination is proposed for automatically generating program invariants/inductive assertions. Given a program, inductive assertions, hypothesized as parameterized formulas in a theory, are as... A method using quantifier-elimination is proposed for automatically generating program invariants/inductive assertions. Given a program, inductive assertions, hypothesized as parameterized formulas in a theory, are associated with program locations. Parameters in inductive assertions are discovered by generating constraints on parameters by ensuring that an inductive assertion is indeed preserved by all execution paths leading to the associated location of the program. The method can be used to discover loop invariants-properties of variables that remain invariant at the entry of a loop. The parameterized formula can be successively refined by considering execution paths one by one; heuristics can be developed for determining the order in which the paths are considered. Initialization of program variables as well as the precondition and postcondition, if available, can also be used to further refine the hypothesized invariant. The method does not depend on the availability of the precondition and postcondition of a program. Constraints on parameters generated in this way are solved for possible values of parameters. If no solution is possible, this means that an invariant of the hypothesized form is not likely to exist for the loop under the assumptions/approximations made to generate the associated verification condition. Otherwise, if the parametric constraints are solvable, then under certain conditions on methods for generating these constraints, the strongest possible invariant of the hypothesized form can be generated from most general solutions of the parametric constraints. The approach is illustrated using the logical languages of conjunction of polynomial equations as well as Presburger arithmetic for expressing assertions. 展开更多
关键词 Automated software analysis and verification inductive assertion loop invariant quantifier elimination.
下载PDF
上一页 1 下一页 到第 页
使用帮助 返回顶部