计算机科学 > 计算机科学中的逻辑
[提交于 2013年4月16日]
标题:Extracting Herbrand trees from Coq
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Software certification aims at proving the correctness of programs but in many cases, the use of external libraries allows only a conditional proof: it depends on the assumption that the libraries meet their specifications. In particular, a bug in these libraries might still impact the certified program. In this case, the difficulty that arises is to isolate the defective library function and provide a counter-example. In this paper, we show that this problem can be logically formalized as the construction of a Herbrand tree for a contradictory universal theory and address it. The solution we propose is based on a proof of Herbrand's theorem in the proof assistant Coq. Classical program extraction using Krivine's classical realizability then translates this proof into a certified program that computes Herbrand trees. Using this tree and calls to the library functions, we are able to determine which function is defective and explicitly produce a counter-example to its specification.
提交历史
来自:Lionel Rieg[v1] 2013年4月16日 星期二 19:05:21 UTC