【24h】

Type Inference for Datalog with Complex Type Hierarchies

机译:具有复杂类型层次结构的DataLog的类型推断

获取原文

摘要

Type inference for Datalog can be understood as the problem of mapping programs to a sublanguage for which containment is de-cidable. To wit, given a program in Datalog, a schema describing the types of extensional relations, and a user-supplied set of facts about the basic types (stating conditions such as disjointness, implication or equivalence), we aim to infer an over-approximation of the semantics of the program, which should be expressible in a suitable sublanguage of Datalog. We argue that Datalog with monadic extensionals is an appropriate choice for that sublanguage of types, and we present an inference algorithm. The inference algorithm is proved sound, and we also show that it infers the tightest possible over-approximation for a large class of Datalog programs. Furthermore, we present a practical containment check for a large subset of our type language. The crux of that containment check is a novel generalisation of Quine's procedure for computing prime implicants. The type system has been implemented in a state-of-the-art industrial database system, and we report on experiments with this implementation.
机译:用于数据谱的类型推断可以被理解为将程序映射到存储器的内容映射到哪个映射。在Wit,给出了Datalog中的程序,一个描述了关于基本类型的扩展关系类型的模式,以及关于基本类型的用户提供的事实集(陈述条件,例如差分,含义或等价),我们旨在推断过度近似该程序的语义,应该以合适的Datalog的子语言表示。 We argue that Datalog with monadic extensionals is an appropriate choice for that sublanguage of types, and we present an inference algorithm.推断算法被证明了声音,我们还表明它是大量数据记录程序的最紧密可能的过度逼近。此外,我们提出了一个实用的密切检查我们类型语言的大型子集。该遏制检查的症状是奎风的计算素血管手术的新推广。类型系统已在最先进的工业数据库系统中实现,我们在此实现中报告了实验。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号