arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1210.4661cs.LO
收藏

函数作为类型或函数依赖关系的“霍尔逻辑“

Functions as types or the "Hoare logic" of functional dependencies

Jose N. Oliveira

摘要:

受程序设计理论统一化趋势的启发,本文说明了标准数据依赖理论的代数处理如何为关系数据配备函数类型和相关类型系统,这对数据库操作的类型检查和查询优化是有用的。这种类型化的方法,数据库编程,然后被证明是同一个家庭的其他编程逻辑,如例如。霍尔逻辑或最强不变函数的逻辑,用于分析while语句。使用自动演绎系统,如Prover9的类型检查和查询优化上这样一个代数方法的前景被认为是。

英文摘要:

Inspired by the trend on unifying theories of programming, this paper shows how the algebraic treatment of standard data dependency theory equips relational data with functional types and an associated type system which is useful for type checking database operations and for query optimization. Such a typed approach to database programming is then shown to be of the same family as other programming logics such as eg. Hoare logic or that of strongest invariant functions which has been used in the analysis of while statements. The prospect of using automated deduction systems such as Prover9 for type-checking and query optimization on top of such an algebraic approach is considered.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑