首页>
外国专利>
Methods and systems for automatically generating provably correct computer program code
Methods and systems for automatically generating provably correct computer program code
展开▼
机译:自动生成可证明正确的计算机程序代码的方法和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
A provably correct computer program can be generated using genetic programming techniques. A desired behavior is used to define a formal specification. An initial population of programs is created where each program has a meaning that can be defined using a formalization technique. A fitness function is applied to measure a distance between the meaning of a program, i.e., its actual behavior, and the specification. Any program having a zero value as the measure of distance between the meaning of the program and the specification is determined to be provably correct. After the fitness of some or all of the programs in the current generation of programs has been computed, a provably correct program has not yet been found in the current generation, mutation and/or crossover techniques are performed on at least some of the fittest individuals in the current generation to create the programs of a next generation.
展开▼