Stochastic order symbols form a ring that Lean verifies

The calculus of stochastic order symbols is used on nearly every page of asymptotic statistics, yet it is invariably presented as a list of conveniences. We observe that it is the closure structure of an algebraic object: the stochastically bounded sequences form a commutative ring, the sequences vanishing in probability form an ideal of that ring, and every asymptotic equality between stochastically bounded sequences is an equality in the quotient ring. We then report what happened when this observation, and a standard application, asymptotic linearity of M-estimators as proved in a set of lecture notes on empirical process theory, were verified in the proof assistant Lean 4. We further show that risk bounds for finite samples are statements of membership in rate classes, which for positive rates are principal ideals, so that arguments composing such bounds, including the product rate condition of double machine learning, reduce to ideal arithmetic. In the formal development the closure rules are proved once, and the asymptotic arguments become chains of these rules. The complete development (approximately 1,700 lines, no unproved assertions) is publicly available.

Authors

Publication Details

Journal
arXiv
Published
2026-11-30
Primary Topic
Logic, programming, and type systems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Stochastic order symbols form a ring that Lean verifies

Carlos García Meixide
arXiv
Logic, programming, and type systems
preprint

Stochastic order symbols form a ring that Lean verifies

Carlos García Meixide
preprint en

Abstract

The calculus of stochastic order symbols is used on nearly every page of asymptotic statistics, yet it is invariably presented as a list of conveniences. We observe that it is the closure structure of an algebraic object: the stochastically bounded sequences form a commutative ring, the sequences vanishing in probability form an ideal of that ring, and every asymptotic equality between stochastically bounded sequences is an equality in the quotient ring. We then report what happened when this observation, and a standard application, asymptotic linearity of M-estimators as proved in a set of lecture notes on empirical process theory, were verified in the proof assistant Lean 4. We further show that risk bounds for finite samples are statements of membership in rate classes, which for positive rates are principal ideals, so that arguments composing such bounds, including the product rate condition of double machine learning, reduce to ideal arithmetic. In the formal development the closure rules are proved once, and the asymptotic arguments become chains of these rules. The complete development (approximately 1,700 lines, no unproved assertions) is publicly available.

arXiv
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon