A good pair has trivial i-th coordinate lcm
Provedgpy_goodPair_lcm_i_eq_onenumber-theory
For squarefree products, if a pair (d, e) is good at a coordinate i, then lcm (d i) (e i) = 1. Formalization Note: goodness is written out in Mathlib terms, with no local definitions.
Preamble
import Mathlib open Classical
Formal statement
theorem gpy_goodPair_lcm_i_eq_one {k : ℕ} {h d e : Fin k → ℕ} {i : Fin k}
(hsqd : Squarefree (∏ j, d j)) (hsqe : Squarefree (∏ j, e j))
(hgood : ∃ w, (∀ j, Nat.lcm (d j) (e j) ∣ w + h j) ∧
Nat.Coprime (w + h i)
(Finset.lcm Finset.univ (fun j => Nat.lcm (d j) (e j)))) : Nat.lcm (d i) (e i) = 1 := by sorrySource
GPY good-count local evaluation, formalized from Mathlib (prime factorization of the good-pair condition)