期刊文献+

命令的操作语义在类型系统中的一种表示

Imperative Operational Semantics in Type Theory
下载PDF
导出
摘要 类型系统建立在一个小的规则集合基础上,易于实现,可理解性好,且具有计算完全性和足够的表达能力.在类型系统中可以重述推导规则,将其形式化为一些归纳关系,从而直接表示了命令的操作语义.类型理论不仅适合于函数式程序的证明,也是刻画和证明命令式程序的合适的框架. Type theory provides expressive and sound logics, which are well understooa and relatively easy to be implementod since they are based on a small set of rules. The goal in this paper is to develop operational semantics in pure type systems. It is a straightforward implementation, the derivation system is formalized as inductive relations by directly describing the derivation rules. Type theory is naturally well-suited for the proof of purely functional programs. It can be shown that type system is also a good framework to specify and prove imperative programs.
出处 《小型微型计算机系统》 CSCD 北大核心 2006年第7期1285-1288,共4页 Journal of Chinese Computer Systems
基金 国家自然科学基金项目(60373075)资助 教育部科学技术研究重点项目(01077)资助 中科院计算机科学重点实验室项目(SYSKF0305)资助 上海市科学技术委员会科研计划项目(045115006)资助.
关键词 操作语义 类型理论 类型系统 程序验证 operational semantics type theory type system program verification
  • 相关文献

参考文献9

  • 1Nordstrom Bengt,Petersson Kent,Smith Jan.Programming in martin-Lof's type theory-an introduction[M].Oxford:Oxford University Press,1989.
  • 2Winskel Glynn.The formal semantics of programming languages,an introduction[M].London:The MIT Press,1993.
  • 3Barendregt H.Lambda calculi with types[A].In:Abramsky S,Gabbay D,Maibaum T,editors,Handbook of Logic in Computer Science,Oxford Science Publications Volume 2[M].Oxford:Clarendon Press,1992,117-309.
  • 4Geuvers H,Nederhof M J.A modular proof of strong normalisation for the calculus of constructions[J].Journal of Functional Programming,1991,1(2):155-189.
  • 5Jutting B L S.Typing in pure type systems[J].Information and Computation,1993,105(1):30-41.
  • 6Berg,Boebert,Franta et al.Formal methods of program verification and specification[M].Englewood Cliffs:Prentice-Hall,1982.
  • 7Barthe Gilles,Coquand Thierry.An introduction to dependent type theory[A].In:Barthe G,et al.(Eds.):Applied Semantics[M].LNCS 2395,Berlin:Springer-Verlag,2002,1-41.
  • 8Bertot Y,Capretta V,Barman K D.Type-theoretic functional semantics[A].In:Carreno V A,Munoz C,Tahar S (Eds.)[M].TPHOLs 2002,LNCS 2410,New York:Springer-Verlag,2002,83-97
  • 9宋国新,邵志清译.程序设计语言的形式语义[M].北京:机械工业出版社,中信出版社,2004.

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部