Program Repair by Stepwise Correctness Enhancement

作者
Nafi Diallo,Wided Ghardallou,Ali Mili
出处
期刊:Electronic proceedings in theoretical computer science [Open Publishing Association]
卷期号:208: 1-15 被引量:3
标识
DOI:10.4204/eptcs.208.1
摘要

Relative correctness is the property of a program to be more-correct than another with respect to a given specification. Whereas the traditional definition of (absolute) correctness divides candidate program into two classes (correct, and incorrect), relative correctness arranges candidate programs on the richer structure of a partial ordering. In other venues we discuss the impact of relative correctness on program derivation, and on program verification. In this paper, we discuss the impact of relative correctness on program testing; specifically, we argue that when we remove a fault from a program, we ought to test the new program for relative correctness over the old program, rather than for absolute correctness. We present analytical arguments to support our position, as well as an empirical argument in the form of a small program whose faults are removed in a stepwise manner as its relative correctness rises with each fault removal until we obtain a correct program.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
wycccc完成签到,获得积分10
1秒前
研友_VZG7GZ应助lilia采纳,获得10
1秒前
2秒前
red发布了新的文献求助10
2秒前
2秒前
水123发布了新的文献求助10
2秒前
cc发布了新的文献求助20
2秒前
2秒前
小伟文完成签到,获得积分20
3秒前
CR4发布了新的文献求助10
3秒前
快乐的尔蓝完成签到,获得积分10
3秒前
hoshi1018发布了新的文献求助30
3秒前
zsy发布了新的文献求助10
4秒前
牛奶起司猫完成签到 ,获得积分10
5秒前
面向阳光发布了新的文献求助10
6秒前
畅学天下发布了新的文献求助10
6秒前
Accept完成签到,获得积分10
6秒前
迷人奇迹完成签到,获得积分10
6秒前
7秒前
molihuakai应助reuslee采纳,获得10
8秒前
小伟文发布了新的文献求助10
8秒前
8秒前
hh完成签到,获得积分10
9秒前
早睡早起完成签到,获得积分10
10秒前
red发布了新的文献求助10
10秒前
完美世界应助lululululu采纳,获得10
13秒前
lilia发布了新的文献求助10
14秒前
zy完成签到,获得积分10
15秒前
16秒前
17秒前
笑对人生完成签到 ,获得积分10
17秒前
艾力0531完成签到 ,获得积分10
17秒前
19秒前
20秒前
2mo完成签到,获得积分10
20秒前
苏暮雨发布了新的文献求助10
22秒前
22秒前
23秒前
医药点发布了新的文献求助10
23秒前
孙小子完成签到,获得积分20
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场现状调查及投资机会研判报告 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场规模及竞争格局分析报告 1000
48V Low-voltage Power Distribution Network (PDN) Architecture Industry Report, 2024 800
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Periodic Report Summary 2 - AFTER (A Framework for electrical power sysTems vulnerability identification, dEfense and Restoration) 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7319437
求助须知:如何正确求助?哪些是违规求助? 8935105
关于积分的说明 18941063
捐赠科研通 6978144
什么是DOI,文献DOI怎么找? 3214386
关于科研通互助平台的介绍 2382259
邀请新用户注册赠送积分活动 2193401