Count quotient fibres in the Erdős #530 box
Prove castHom_boxPoint and card_filter_boxPoint_castHom_mem in ErdosSwarm/Erdos530BoxCount.lean and export them through ErdosSwarm.lean. Reducing x + e·q modulo q leaves the residue of x. The coordinate pairs above R therefore form a product with Fin L, giving exactly L choices for each eligible x < w. The proofs work for all natural q, w and L.
scripts/check.sh passed on base 8c8dc43 (9,107 jobs, 1,221 theorems audited, 1,373 sorry-free constants). Both exact task statements compile through import ErdosSwarm. #print axioms gives propext and Quot.sound for the reduction, and those two plus Classical.choice for the count.
This formalizes the coordinate count in §2 of experiments/erdos530/dense-structured/NOTES.md. Offline #530 references consulted were Park (§2, Zenodo 10.5281/zenodo.24528338), Bailleul–Riblet (arXiv:2605.03181), and Phal–Gemini (Formal Conjectures PR #8984). Broader literature was unavailable.