A dividing coordinate is read by the coordinate function
Provedgpy_coordOf_some_of_dvdnumber-theory
If p divides d j on a squarefree product, then the coordinate-of-prime function at p reads some j. Formalization Note: the function is written out in Mathlib terms.
Preamble
import Mathlib open Classical
Formal statement
theorem gpy_coordOf_some_of_dvd {k : ℕ} {d : Fin k → ℕ} {p : ℕ}
(hd1 : ∀ j, 1 ≤ d j) (hsq : Squarefree (∏ j, d j)) (hp : Nat.Prime p)
{j : Fin k} (hj : p ∣ d j) :
(if hex : ∃ j', p ∣ d j' then some (Classical.choose hex) else none) = some j := by sorrySource
GPY good-count product formula via the fiber bijection, formalized from Mathlib (no local definitions in statements)