Online Machine Learning Techniques for Coq: A Comparison
Liao Zhang, Lasse Blaauwbroek, Bartosz Piotrowski, Prokop \v{C}ern\'y,, Cezary Kaliszyk, and Josef Urban

TL;DR
This paper compares online machine learning techniques integrated into the Coq proof assistant, demonstrating their effectiveness in improving proof synthesis through real-time updates and locality-based learning.
Contribution
It introduces and evaluates two online learning methods for Coq's proof synthesis, highlighting their advantages over offline approaches in an interactive setting.
Findings
Online methods improve proof suggestion relevance
Locality sensitive hashing enhances proof similarity detection
Online learning outperforms offline in interactive proof tasks
Abstract
We present a comparison of several online machine learning techniques for tactical learning and proving in the Coq proof assistant. This work builds on top of Tactician, a plugin for Coq that learns from proofs written by the user to synthesize new proofs. Learning happens in an online manner, meaning that Tactician's machine learning model is updated immediately every time the user performs a step in an interactive proof. This has important advantages compared to the more studied offline learning systems: (1) it provides the user with a seamless, interactive experience with Tactician and, (2) it takes advantage of locality of proof similarity, which means that proofs similar to the current proof are likely to be found close by. We implement two online methods, namely approximate k-nearest neighbors based on locality sensitive hashing forests and random decision forests. Additionally,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Management and Algorithms · Data Stream Mining Techniques · Algorithms and Data Compression
