Modelling, Controlling and Reasoning About State | |
Program equivalence with names | |
计算机科学;物理学;数学 | |
Nikos Tzevelekos | |
Others : http://drops.dagstuhl.de/opus/volltexte/2010/2809/pdf/10351.TzevelekosNikos.Paper.2809.pdf PID : 44928 |
|
学科分类:计算机科学(综合) | |
来源: CEUR | |
【 摘 要 】
The nu-calculus of Pitts and Stark was introduced as a paradigmatic functional language with a very basic local-state effect: references of unit type. These were called names, and the motto of the new language went as follows.“Names are created with local scope, can be tested for equality, and are passed around via function application, but that is all.”Because of this limited framework, the hope was that fully abstract models and complete proof techniques could be obtained. However, it was soon realised that the behaviour of nu-calculus programs is quite intricate, and program equivalence in particular is surprisingly difficult to capture. Here we focus on the following “hard” equivalence, new x, y in λf.(fx = fy) ≡ λf. true where x, y are names, and f : Name → Bool. We examine attempts and proofs of the above, explain the advantages and disadvantages of the proof methods and discuss why program equivalence in this simple language remains to date a mystery.
【 预 览 】
Files | Size | Format | View |
---|---|---|---|
Program equivalence with names | 193KB | download |