Formalising the Bruhat-Tits Tree
Judith Ludwig, Christian Merten
TL;DR
The work presents a formalisation of the Bruhat--Tits tree for $\mathrm{GL}_2(K)$ in Lean 4, generalising from $\mathbb{Q}_p$ to arbitrary discrete valuation fields and linking lattice theory, Cartan decomposition, and harmonic cochains. It develops a constructive framework for lattices, a distance function yielding a tree structure, and a surjective Laplacian on edge-valued cochains, with a concrete Lean verification. A key contribution is the integration pathway into mathlib4, including a reusable lattice API and formalised group actions, paving the way for deeper formal study of $p$-adic groups and function field analogues. The work also documents an application to harmonic cochains and outlines ongoing research directions in rigid analytic theta cocycles and Drinfeld’s upper half plane, highlighting both the potential and current limitations of formalising advanced number-theoretic constructions.
Abstract
In this article we describe the formalisation of the Bruhat-Tits tree - an important tool in modern number theory - in the Lean Theorem Prover. Motivated by the goal of connecting to ongoing research, we apply our formalisation to verify a result about harmonic cochains on the tree.
