Formalization of Binary Search Trees and AVL Trees in Type Theory

来源 :南京大学 | 被引量 : 0次 | 上传用户:softzheng1
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
Type theory was originally proposed for the development of constructivemathematics,but it also provided a framework for computer science to combine the logic with programming language.One of the basic ideas behind type theory is the Curry-Howard isomorphism,in which a proposition corresponds to a type or a specification,and a constructive proof of the proposition corresponds to an object of the type or a program satisfying the specification.Thus to develop a computer program satisfying a specification is equivalent to construct a proof of the corresponding proposition.In this sense,type theory can also be seen as a programming language,where the correct program can be derived from the specification,and the development and verification of programs call be manipulated within the same system. In this thesis we formalize the basic operations of binary search trees and AVL trees in type theory.We give the specifications and realize them by proving the corresponding propositions,then extract the certified programs from the proofs using the Curry-Howard isomorphism.This work demonstrates a non-trivial application of the“proofs as programs”paradigm.
其他文献
本文首先回顾了电子商务模式的变迁和发展,指出动态电子商务是电子商务发展的目标,而Web服务是动态电子商务的核心技术,也是Web的下一个革新。随后详细分析了Web服务的体系结构
工作流技术广泛应用于企业应用集成。Web服务的出现引领了电子商务的变革,随着互联网的发展以及跨企业间协作的需要,新一代的工作流系统需要Web服务技术的支持,来加强应用资
现代机构(企业)的结构有从面向功能的金字塔型组织结构转向面向过程的网络化的组织结构的趋势,这一趋势对机构(企业)的管理手段提出了更高的要求,机构(企业)的各个功能模块之间
计算机技术已经在高校信息管理工作中得到广泛地应用,各种管理信息系统和办公自动化系统经过多年的使用,积累了大量的数据信息。数据仓库作为新型的数据库管理技术,可以更加有效
北京大学网络与信息系统研究所开发的大学课程在线(http://realcourse.grids.cn)为学习者和教师提供了一个良好的课程交流平台。但是,realcourse课程在线的学习资源缺乏丰富的
本文分别对模拟退火算法和遗传算法作了相应的改进,并与动态神经网络相结合,建立了相应的网络模型,对目标优化问题进行了研究,将改进的模拟退火算法和遗传算法分别应用于对单目标
本文首先依据信息技术安全性评估通用准则(CC标准)对HoneyPot系统的安全功能进行规定和设计;接着,通过设计并实现一个安全的整体构架来提高整个系统的安全性、可靠性;然后,对系统
三维模型的压缩是当前计算机图形学的研究热点之一。随着应用需求的增长,三维模型的规模和复杂度急剧增长,这给模型的存储和在有限带宽的网络上传输带来了很大的困难。因此,
无线传感器网络(Wireless Sensor Networks,WSN)是由一组稠密布置、随机撒布的传感器节点组成的无线自组织网络,其目的是协作地感知、采集和处理网络覆盖的地理区域内感知对
21世纪,人类文明迈入了一个崭新的信息时代,互联网正以惊人的速度深刻地影响着社会进程和人类未来,改变着人们的生活、学习、工作与思维方式。高校作为中国社会网络化的发展前沿