arXiv · 2610.08359
A First Introduction to Isabelle/ML Metaprogramming: Automatic Estimation of Polynomial Degrees
Abstract
This article offers an introduction to metaprogramming in Isabelle/HOL for beginners, based on a running example for working with multivariate polynomials. The example is motivated by our formalisation of universal Diophantine pairs. We describe the implementation of the poly_degree command, which computes upper bounds on the total degrees of multivariate polynomials and automatically proves their correctness. The complete metaprogram handles a variety of special cases but herein we present a simplified version for the sake of exposition. We describe our development process and design decisions; our goal is to offer a small and self-contained tutorial on Isabelle/ML, for mathematicians who want to get started with metaprogramming.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Jonas Bayer, Anna Danilkin, Marco David, Annie Yao. 2026-10-06. A First Introduction to Isabelle/ML Metaprogramming: Automatic Estimation of Polynomial Degrees. https://arxiv.org/abs/2610.08359
Cite the original work for its findings. Save a collection to share your selection of sources.