Positivity of the combined modulus on the support
Provedgpy_combinedLcm_posnumber-theory
For support pairs at any level , the combined modulus , the lcm over coordinates of the coordinatewise lcms, is positive. Hence both and are genuine reals, with no division by zero in the comparison between the first-moment coefficient and the singular sum. Formalization Note: support membership is written out in Mathlib terms, with no local definitions.
Preamble
import Mathlib open Classical
Formal statement
theorem gpy_combinedLcm_pos {k : ℕ} {R : ℕ} {d e : Fin k → ℕ}
(hd : d ∈ (Fintype.piFinset (fun _ : Fin k => Finset.Icc 1 R)).filter
(fun d => ∏ i, d i ≤ R))
(he : e ∈ (Fintype.piFinset (fun _ : Fin k => Finset.Icc 1 R)).filter
(fun d => ∏ i, d i ≤ R)) :
0 < Finset.lcm Finset.univ (fun j => Nat.lcm (d j) (e j)) := by sorrySource
GPY first-moment comparison, formalized from Mathlib (compatible pairs, good pairs, and the singular sum)