会议论文详细信息
Modelling, Controlling and Reasoning About State
A Theory of Termination via Indirection
计算机科学;物理学;数学
Robert Dockins ; Aquinas Hobor
Others  :  http://drops.dagstuhl.de/opus/volltexte/2010/2805/pdf/10351.HoborAquinas.Paper.2805.pdf
PID  :  45066
学科分类:计算机科学(综合)
来源: CEUR
PDF
【 摘 要 】

Step-indexed models provide approximations to a class of domain equations and can prove type safety, partial correctness, and program equivalence; however, a common misconception is that they are inapplicable to liveness problems. We disprove this by applying step-indexing to develop the first Hoare logic of total correctness for a language with function pointers and semantic assertions. In fact, from a liveness perspective, our logic is stronger: we verify explicit time resource bounds. We apply our logic to examples containing nontrivial “higher-order” uses of function pointers and we prove soundness with respect to a standard operational semantics. Our core technique is very compact and may be applicable to other liveness problems. Our results are machine checked in Coq.

【 预 览 】
附件列表
Files Size Format View
A Theory of Termination via Indirection 165KB PDF download
  文献评价指标  
  下载次数:4次 浏览次数:8次