HackerPapers

arXiv:2104.05207cs.LO

Online Machine Learning Techniques for Coq: A Comparison

Liao Zhang, Lasse Blaauwbroek, Bartosz Piotrowski, Prokop Černý, Cezary Kaliszyk, Josef Urban

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

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, we conduct experiments with gradient boosted trees in an offline setting using XGBoost. We compare the relative performance of Tactician using these three learning methods on Coq's standard library.

arXiv comments
Intelligent Computer Mathematics 14th International Conference, CICM 2021
Journal reference
DOI
Subjects
cs.LOLogic in Computer Science cs.AIArtificial Intelligence

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jun 2022 to Jun 2022.

Comments linking this paper, per year.

Discussed in comments1 thread

    • > I asked GPT3 to teach me about addition and subtraction and it produced pure garbage in very lecturing tone. Sorry for laughing, but that's a rather funny thought to be given incorrect maths lesson via AI à la college professor. The field of AI-applied to mathematics is…

      kerakaaliView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.