HEИндивидуална стипендия2023–2025

DeepIsaHOL · Reinforcement learning to improve proof-automation in theorem proving

„Хоризонт Европа“ — Действия „Мария Склодовска-Кюри“

Период
2023-07-01 → 2025-10-31
Финансиране от ЕС
166 279 €
Участници
1
Схема
HORIZON-TMA-MSCA-PF-EF

Линиите свързват координатора с партньорите.

Накратко на български

Машинното обучение се използва за автоматизиране на математически доказателства в софтуера Isabelle. Това помага за по-бързата проверка на сложни системи, което е важно за сигурността на хардуера и софтуера в индустрията.

Този кратък обзор е генериран от изкуствен интелект

Кратко обяснение, генерирано от езиков модел по текста на CORDIS. Оригиналът е по-долу.

Резултати накратко

Reinforcement learning to improve proof-automation in theorem proving

Context: Interactive theorem provers (ITPs), or proof assistants, are tools that aid in the mechanical validation of mathematical proofs. Due to their high reliability, researchers and engineers use them to develop safe and secure software/hardware or to certify complex mathematical results. Companies like Amazon, Apple, and ARM use ITPs to verify safety-critical systems. The DeepIsaHOL project was set with the long-term goal of improving the efficiency and accessibility of deductive verification methods using ITPs. In particular, the project focuses on the Isabelle proof assistant. The central challenge motivating the project was that while ITPs provide high reliability for developing safe and secure software/hardware and for certifying complex mathematical results, deductive verification is currently slow and costly compared to less reliable quality assurance methods like testing, simulation, or model checking. The premise was that the lack of robust, generic proof-automation methods within ITPs acts as a barrier to wider adoption. This affects both commercial entities and the broader mathematical community. Developing generic automation would accelerate the verification process, making it more cost-effective and enabling greater industrial and academic adoption. Overall objectives: The main objective of the project was to address the above lack of generic proof-automation methods within ITPs by training a machine learning algorithm to learn proof strategies embedded in a vast ITP library, thereby creating a generic method to automate the Isabelle proving process. The plan consisted of achieving three concrete research objectives: 1. Training a machine learning model that suggests proof methods given an ITP proof state. The training data consisted primarily of data extracted from Isabelle’s Archive of Formal Proofs (AFP), which contains over 298,700 theorems. 2. Creating a proof method in the ITP that seamlessly integrates the model's suggestions into Isabelle. This is the first proof method based solely on a machine-learning model integrated into Isabelle that completes mechanised proofs. 3. Measuring the model's performance on various benchmark problems and comparing it directly to established, powerful methods like Isabelle’s Sledgehammer tool. Pathway to impact: The project was highly interdisciplinary as it combined machine learning (ML) and formal methods, two relatively distant areas of computer science. It was innovative because it resulted in the first machine learning based proof method fully integrated into the Isabelle proof assistant. The project’s expected impacts are significant and multi-faceted, reaching scientific, societal, and economic domains: - Scientific & AITP Community: The training algorithms for the project's models are expected to serve as an extensible basis for other researchers and represent a new data point showcasing the generality of machine learning for theorem proving while also exposing its limitations. The project's evaluation algorithms can also serve as a basis for testing the ITP's proof methods. - Verification Community (Engineering/Industry): The project's generated proof methods are the basis for integrating more powerful machine learning methods into the verification community. It is expected that the final result evolving from these kinds of proof methods will serve as a frequently used tool for creating safe and secure software or hardware. This is particularly relevant for the formal verification of safety-critical systems, such as those involving cyber-physical systems. In time, tech companies that employ proof engineers are expected to see a corresponding increase in productivity. - Mathematical Community: The project is a step towards accelerating the certification of new mathematical results. If future machine learning based proof methods can prove 30% of the project's benchmark, they are likely to be adopted by most users, including many future mathematicians. - Broader impact: Overall, the project was a stepping stone in the widespread adoption of formal proofs, which is a significant opportunity to democratise science. Formal proofs enable anyone, regardless of their gender, race, religion, or age, to participate equally and indisputably in scientific endeavours.

Текст от CORDIS, на английски · Данни: CORDIS, © Европейски съюз

Цел на проекта

Developing generic proof automation methods for interactive theorem provers (ITPs) is challenging but valuable. Applications range from performance improvements in the verification of safety-critical systems to the certification of famous, long, and hard-to-prove theorems. We propose using recently successful reinforcement learning (RL) algorithms to learn proof strategies employed in vast ITP libraries and use them as generic methods to automate the ITP proving process. Specifically, the project aims to create a tactic for one of the most popular and automated ITPs, Isabelle/HOL, and train the RL algorithms with theorems from the two largest Isabelle libraries: HOL-Library and the Archive of Formal Proofs (AFP). We identify three gaps in the state of the art that such an RL-and-Isabelle approach would close and describe the work packages that will achieve the corresponding three research objectives. The project will be done under the guidance of Dr Josef Urban, who holds a Distinguished Researcher position at the Czech Institute of Informatics, Robotics and Cybernetics (CIIRC) within the Czech Technical University (CTU) in Prague. Dr Urban and the CIIRC group are experts in integrating machine learning (ML) and interactive theorem proving. Their infrastructure and expertise targeted to ML and ITPs provide the best research environment for this project. Jonathan Julián Huerta y Munive, the researcher carrying out the project, complements this expertise with his Isabelle/HOL experience and knowledge of ITP applications.

Оригинален текст от CORDIS (на английски).

Участници

  • CESKE VYSOKE UCENI TECHNICKE V PRAZE · PRAHAКоординаторЧехия

Връзки

Данни: CORDIS, © Европейски съюз