A Generic Algorithm for Program Repair

作者
Besma Khaireddine,Aleksandr Zakharchenko,Ali Mili
标识
DOI:10.1109/formalise.2017.7
摘要

Relative correctness is the property of a program to be more-correct than another with respect to a specification, whereas traditional (absolute) correctness distinguishes between two classes of candidate programs with respect to a specification (correct and incorrect), relative correctness defines a partial ordering between candidate programs, whose maximal elements are the (absolutely) correct programs. In this paper we argue that relative correctness ought to be an integral part of the study of program repair, as it plays for program repair the role that absolute correctness plays for program construction: in the same way that absolute correctness is the criterion by which we judge the process of deriving a program P from a specification R, we argue that relative correctness ought to be the criterion by which we judge the process of repairing a program P to produce a program P' that is more-correct than P with respect to R. In this paper we build on this premise to design a generic program repair algorithm, which proceeds by successive increases of relative correctness until we achieve absolute correctness. We further argue that in the same way that correctness ideas were used, a few decades ago, as a basis for correct-by-design programming, relative correctness ideas may be used, in time, as a basis for more-correct-by-design program repair.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
oylc发布了新的文献求助10
刚刚
8R60d8的应助被故里采纳,获得10
1秒前
研友_VZG7GZ的应助被js采纳,获得10
2秒前
2秒前
陈陈陈完成签到,获得积分10
2秒前
Jing完成签到 ,获得积分10
3秒前
ccc发布了新的文献求助10
3秒前
KK发布了新的文献求助10
3秒前
3秒前
明杰发布了新的文献求助10
3秒前
4秒前
4秒前
4秒前
4秒前
Lyun发布了新的文献求助10
5秒前
小二郎的应助被粗暴的君浩采纳,获得50
5秒前
6秒前
7秒前
7秒前
华凯完成签到,获得积分10
8秒前
李健的小迷弟的应助被111采纳,获得10
8秒前
李健的粉丝团团长的应助被AAA采纳,获得10
8秒前
bluebell完成签到,获得积分10
9秒前
栗子完成签到,获得积分10
9秒前
leung发布了新的文献求助10
9秒前
跑快点发布了新的文献求助10
10秒前
10秒前
10秒前
11秒前
ling发布了新的文献求助10
11秒前
充电宝的应助被yiyi采纳,获得30
11秒前
xxy991007发布了新的文献求助10
12秒前
领导范儿的应助被鸡鸭鹅采纳,获得10
12秒前
12秒前
酷酷的飞发布了新的文献求助10
13秒前
13秒前
领导范儿的应助被ccc采纳,获得10
13秒前
CodeCraft的应助被小兔采纳,获得10
14秒前
14秒前
小星完成签到,获得积分10
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Modern Artificial Intelligence 1000
Особенности технологий и методов информационно-психологических войн СССР с Великобританией и США в период 1939-1953 гг 1000
Das Matthäusevangelium: Kapitel 1:1–17 1000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Challenging Attachment Theory 600
Analyses de reconnaissances de dettes passées devant les échevins d'Ypres (1249-1291) 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8140269
求助须知:如何正确求助?哪些是违规求助? 9540579
关于积分的说明 21641114
捐赠科研通 7724345
什么是DOI,文献DOI怎么找? 3421054
关于科研通互助平台的介绍 2546262
邀请新用户注册赠送积分活动 2463114