Statopia: A Prover--Library Ecosystem for Automated Formalization and Proof Discovery in Statistics
Ziyuan Chen, Tong Gan, Wei Zhang, Ruofei Fang, Boyue Tang, Zhenhua Lin, Fang Yao
Abstract
Theoretical results in statistics and machine learning rest on long, technically delicate proofs, and fluent arguments generated by large language models are not necessarily correct. Automated formalization makes such arguments mechanically checkable, and automated proving goes further by discovering machine-checked proofs for statements whose proofs are incomplete or missing altogether. Both require reconstructing assumptions from source materials, accessing specialized mathematical infrastructure and managing long proof developments. We present Statopia, an ecosystem that jointly develops Statopia Prover, an independent agent specialized for formalizing and proving results in statistics and machine learning, and Statlib, a Lean~4 library built with the prover and organized for automated use. The prover controls its own execution without relying on external coding agents. It is built for formal proof discovery and checking existing proofs. A natural-language proof, when available, guides its search but is not required: from a statement alone, the prover develops the argument itself and constructs a Lean proof. Its workflow integrates source preparation, statement review, library supported planning and proof construction. Dynamic proof dependency graphs and task groups support parallel, resumable proof development. Statlib's shared definitions and theorem interfaces are organized for retrieval and composition by agents, and its coverage of statistics keeps expanding. Verified results and usage feedback from the prover inform reviewed library updates, so that proof development drives this expansion. A cross-platform application provides an interactive workspace for uploading source files and running tasks locally or in the cloud.
Create a lesson
Related papers
KAPPA: Checking the Proofs in Statistics Papers with Lean 4 and Language Model Agents
Shared title terminology · Zihua She, Xiao Wang
Deep Mixture Models: A Statistical Review with R
Shared title terminology · Jinran Wu, Geoffrey J. McLachlan
orderStatMoments: Exact Means, Variances, and Covariances of Order Statistics in R
Shared title terminology · Zheyang Wu, Tiejun Tong
NEVEN: An Open-Source Polyglot Infrastructure Bridging Statistical Computing and Spreadsheet Workflows for Reproducible Research
Shared title terminology · Minor Bonilla-Gomez, Javier Trejos-Zelaya
Contrast-Aware Annotation for Statistical Graphics: The ggtwotone Package for ggplot2
Shared title terminology · Beenu Sareena, Heike Hofmann
Scalable Statistical Inference in Stochastic Gradient Descent
Shared title terminology · Rahul Singh, Abhinek Shukla