Skip to main navigation Skip to search Skip to main content

Integrating a simplified formula graph representation into a graph neural network model for premise selection

  • Xingxing He
  • , Zhongxu Zhao
  • , Yongqi Lan
  • , Yingfang Li
  • , Li Zou
  • , J. Liu
  • , Luis Martínez
  • , Tianrui Li

Research output: Contribution to journalArticlepeer-review

3 Downloads (Pure)

Abstract

The search space for automatic theorem proving typically experiences exponential growth when attempting to prove a conclusion with numerous axioms. Premise selection presents a novel approach to tackle this challenge. However, one major obstacle lies in enhancing the presentation of logical formula graphs and graph neural network models in existing premise selection methods to preserve potential information from the logical formulas effectively. This study proposes a novel simplified graph representation of logical formulas by eliminating repeated quantifiers, along with a new term-walk graph neural network model incorporating an attention mechanism and attention pooling (ASTGNNS). This model aims to preserve syntax and semantic information of logical formulas, particularly regarding the order of symbols and the scope of quantifiers in logical formulas, thereby improving classification accuracy in premise selection problems. Specifically, we first transform first-order logical conjectures and premise formulas into simplified logical formula graphs by removing repeated quantifiers. Next, we introduce a method based on a common path kernel function to measure graph similarity and validate the interpretability of our simplified logical formula graphs method. Then, an attention mechanism is employed to assign weights to term-walk feature information of nodes for updating node feature representations; meanwhile, attention pooling is utilized for selecting nodes that significantly contribute towards generating the final formula graph vector. Finally, combining the premise graph vector and conjecture graph vector forms a binary classifier for classification purposes. Experimental results demonstrate that our proposed method achieves an accuracy rate of 88.77% on the MPTP dataset and 85.17% on the CNF dataset, outperforming the state-of-the-art premise selection method.
Original languageEnglish
Article number113318
Pages (from-to)1-15
Number of pages15
JournalApplied Soft Computing
Volume180
Early online date3 Jun 2025
DOIs
Publication statusPublished (in print/issue) - 1 Aug 2025

Bibliographical note

Publisher Copyright:
© 2025

Data Availability Statement

I have share the link to the data/code related.

Funding

This research is supported by the National Natural Science Foundation of China (Grant No. 62176142), the Grant from MOE (Ministry of Education in China) Project of Humanities and Social Sciences (Grant No. 20XJCZH016), the Science and Technology Support Project of Sichuan province (Grant No. 2024YFHZ0316) and the Fundamental Research Funds for the Central Universities (Grant No. 2682024ZTPY041).

FundersFunder number
National Natural Science Foundation of China62176142
20XJCZH016
2024YFHZ0316
2682024ZTPY041

    UN SDGs

    This output contributes to the following UN Sustainable Development Goals (SDGs)

    1. SDG 8 - Decent Work and Economic Growth
      SDG 8 Decent Work and Economic Growth

    Keywords

    • Premise selection
    • Graph similarity
    • Graph representation
    • Graph neural network
    • SAGpool-Term-Walk

    Fingerprint

    Dive into the research topics of 'Integrating a simplified formula graph representation into a graph neural network model for premise selection'. Together they form a unique fingerprint.

    Cite this