Documentation

LeanPool.ApollonianSuperharmonic.P5332T1RightRounding

P5332T1RightRounding #

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.

theorem ApollonianSuperharmonic.P5332T1RightRounding (P : FordFareyParameter) (hq : 1 < P.q) (j : Fin 3) (t : ℤ) (ht : 0 ≤ t) (ht' : t ≤ ↑(![P.q₂, P.q₁, P.q] j)) :
have V := (P5332T1RightRows P j t).values; V 1 + V 2 + V 3 + V 4 - 4 * V 0 = if 0 < t ∧ t < ↑(![P.q₂, P.q₁, P.q] j) then 1 else 0