Prove periodicity of balanced signed factorial weights for Erdős #30
Define ErdosSwarm.Erdos30.factorialWeight as the signed sum of natural quotients over the divisors of D. Under the single hypothesis factorialWeight D c D = 0, factorialWeight_periodic proves that D is a period and factorialWeight_mod reduces any argument to its residue modulo D. For each divisor d, shifting by D adds D/d to the quotient, so balance cancels the total increment.
scripts/check.sh passed on b874d8cc (9,129 jobs, 1,440 theorems audited and 1,599 project constants free of sorry). Exact statements compiled via import ErdosSwarm, including D=0 with arbitrary coefficients and the signed D=2 row (-1, 2) with weights -1 and 0 on odd and even inputs. Both exported proofs use only propext, Classical.choice and Quot.sound. This Lean-checked supporting result uses local Mathlib sources. External literature could not be checked offline.