Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated


Statement

Let N>0N>0, let finitely many positive moduli did_i divide NN, and let ai∈Za_i\in\mathbb Z. The following are equivalent:

  1. Every integer belongs to at least one ai(moddi)a_i\pmod {d_i}.
  2. Every integer in [0,N)[0,N) belongs to at least one such class.
  3. Every element of Z/NZ\mathbb Z/N\mathbb Z maps to aia_i modulo did_i for some ii.

Each residue aia_i may be replaced by its unique representative in [0,di)[0,d_i). Thus an exclusion for all these finitely many residue assignments excludes every integer residue assignment on the same finite modulus list.

Complete proof

The first condition immediately implies the second. Given an arbitrary x∈Zx\in\mathbb Z, write x=qN+rx=qN+r with 0≤r<N0\le r<N, using Euclidean division also when xx is negative. If di∣r−aid_i\mid r-a_i, then di∣Nd_i\mid N implies di∣qN+r−ai=x−aid_i\mid qN+r-a_i=x-a_i. Hence the second condition implies the first.

Reduction modulo did_i is well-defined on Z/NZ\mathbb Z/N\mathbb Z because di∣Nd_i\mid N. Its equality to aia_i is exactly the divisibility condition above for a representative. Choosing the unique representative in [0,N)[0,N) proves equivalence with the third condition.

Finally aia_i and ai mod dia_i\bmod d_i differ by a multiple of did_i, so they define the same class. If the finite index set is fixed, there are precisely ∏idi\prod_i d_i normalized residue assignments. Checking all of them is finite; checking one assignment is not an exclusion of all assignments.

Source and dependencies

Canonical v1, p. 7, §5.1; pinned Bridge.lean, lines 29–128, including coversInt_iff_coversZMod, forall_not_coversInt_of_range and coversInt_iff_forall_lt. Complete elementary proof of the mathematical bridge. The source's more general ZMod interfaces allow additional type-theoretic cases; this page states the positive finite period used in the exclusion theorem. No SAT solver or fresh Lean build is invoked.

Bears on