OdometerCompatibility #
Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.
Two partial odometers $h_1,h_2$ are compatible if their domains are disjoint, or if there is an integer $c$ such that $$ h_2(x)-h_1(x)=c $$ for every $x\in T(h_1)\cap T(h_2)$. When the intersection is nonempty, $c$ is the offset constant of the ordered pair $(h_1,h_2)$.