【24h】

Sequence Quantification

机译:序列定量

获取原文

摘要

Several earlier papers have shown that bounded quantification is an expressive and comfortable addition to logic programming languages. One shortcoming of bounded quantification, however, is that it does not allow easy and efficient relation of corresponding elements of aggregations being quantified over (lockstep iteration). Bounded quantification also does not allow easy quantification over part of an aggregation, nor does it make it easy to accumulate a result over an aggregation. We generalize the concept of bounded quantification to quantification over any finite sequence, as we can use a rich family of operations on sequences to create a language facility that avoids the weaknesses mentioned above. We also propose a concrete syntax for sequence quantification in Prolog programs, which we have implemented as a source-to-source transformation.
机译:几篇较早的论文表明,有界量化是对逻辑编程语言的一种表达性和舒适性的补充。但是,有界量化的一个缺点是,它不允许简单有效地对聚合的相应元素之间的关系进行量化(锁步迭代)。有界的量化也不允许对聚合的一部分进行简单的量化,也不允许对聚合进行累加。我们将有界量化的概念推广到任何有限序列上的量化,因为我们可以对序列使用丰富的运算家族来创建一种避免上述缺点的语言工具。我们还为Prolog程序中的序列量化提出了一种具体的语法,我们已将其实现为从源到源的转换。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号