华南理工大学学报(自然科学版) ›› 2008, Vol. 36 ›› Issue (4): 93-97.

• 计算机科学与技术 • 上一篇    下一篇

几何定理机器证明的并行前向推理

潘斌郭红霞2   

  1. 1. 成都理工大学 信息管理学院, 四川 成都 610059; 2. 成都大学 电子信息工程学院, 四川 成都 610106
  • 收稿日期:2007-03-14 修回日期:2007-06-05 出版日期:2008-04-25 发布日期:2008-04-25
  • 通信作者: 潘斌(1978-),男,博士,主要从事MIS、并行工程、专家系统方面的研究. E-mail:pan_swpi2003@163.com
  • 作者简介:潘斌(1978-),男,博士,主要从事MIS、并行工程、专家系统方面的研究.
  • 基金资助:

    国家“973”计划资助项目(CB318003)

Parallel Forward Reasoning for Mechanical Proving of Geometry Theorem

Pan Bin1  Guo Hong-xia2   

  1.  1. College of Information Management, Chengdu University of Technology, Chengdu 610059, Sichuan, China; 2. College of Electronic and Information Engineering, Chengdu University, Chengdu 610106, Sichuan, China
  • Received:2007-03-14 Revised:2007-06-05 Online:2008-04-25 Published:2008-04-25
  • Contact: 潘斌(1978-),男,博士,主要从事MIS、并行工程、专家系统方面的研究. E-mail:pan_swpi2003@163.com
  • About author:潘斌(1978-),男,博士,主要从事MIS、并行工程、专家系统方面的研究.
  • Supported by:

    国家“973”计划资助项目(CB318003)

摘要: 为了提高传统前向推理算法在几何定理机器证明中的解题效率,采用并行计算方法来组织推理过程,基于消息传递模型,分析了前向推理并行算法的任务划分、通信组织、任务调度等问题,讨论了算法的时间复杂度,并在MPICH 2构建的并行计算环境下实现了并行前向推理算法.对多个几何定理实例进行的并行性能指标测试表明,该算法并行性好,与传统串行算法相比,在证明复杂的几何命题时,能显著减少推理时间.

关键词: 并行算法, 定理证明, 前向推理, 主从模式, 性能量度

Abstract:

In order to improve the efficiency of the traditional forward reasoning algorithm for the mechanical proving of geometry theorem, this paper uses the parallel computation method to perform the reasoning, analyzes the task partitioning, communication and task-scheduling based on the message-passing programming model, discusses the time complexity of the parallel algorithm, and implements the parallel forward reasoning algorithm with MPICH 2. Test results of the parallel performance metrics for several geometry theorems show that, as compared with the tradi- tional serial algorithm, the proposed algorithm is of better parallelism performance and greatly saves the reasoning time for complex geometry propositions.

Key words: parallel algorithm, theorem proving, forward reasoning, master-slave model, performance metric