How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Congruences and Modular Arithmetic: Examples and Counterexamples
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Inclusion–Exclusion, the Pigeonhole Principle and Double Counting
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- The ZFC Axioms and the Basic Set Constructions
2 · Summary
3 · Logical flowchart
4 · Definitions, theorems and proofs
None yet.
5 · Examples, counterexamples and false statements
The system , , has the unique solution
Example
The system
has exactly the solutions .
Facts & Assumptions
Given: The three displayed congruences.
For a finite pairwise-coprime list of positive moduli, prescribed residues determine one class modulo their product (Chinese remainder theorem for a finite pairwise-coprime list: simultaneous residues determine one class modulo the product, and the resulting bijection preserves addition and multiplication).
The relation means (Congruence modulo an integer: when , including the moduli and ).
Verification
The numbers are pairwise coprime and have product . The complementary products satisfy , , and , while each is divisible by the other two moduli.
Therefore has the prescribed three residues, and gives .
By [L1], all simultaneous solutions form one class modulo ; since step 2.1 exhibits in that class, it is exactly .
The congruence has exactly the two solutions
Example
The congruence has exactly the solution classes
Facts & Assumptions
Given: The congruence .
A linear congruence is solvable exactly when , and then has exactly solution classes modulo (For , is solvable exactly when , and then has exactly solution classes modulo ).
The extended Euclidean algorithm produces gcds and Bézout coefficients (The extended Euclidean algorithm: the same descent produces integers with , so Bézout coefficients are computed and not merely shown to exist).
Congruence modulo means divisibility of a difference by (Congruence modulo an integer: when , including the moduli and ).
Verification
The Euclidean algorithm gives , and . Cancelling the common factor reduces the congruence to .
Since , multiplication by gives .
The two lifts of this class modulo are and , and both verify the original congruence: and are divisible by .
By [L1] there are exactly two solution classes modulo , so the two distinct classes in step 1.3 exhaust them.
and
Example
Every displayed unit is its own inverse.
Facts & Assumptions
Given: The quotient and its unit group.
The classes modulo have the unique standard representatives (For , every class in has one representative with , so ; while is in bijection with ).
The class is a unit exactly when , and counts these units (For , is a unit if and only if , The unit group and Euler's totient for ).
Euler's finite prime-divisor product gives (Euler's product formula for , stated through a finite injective list of its prime divisors).
Equality of residue classes is congruence of representatives (The congruence class and the quotient set ), and congruence means divisibility of their difference (Congruence modulo an integer: when , including the moduli and ).
Products of residue classes are computed by multiplying representatives: (Addition and multiplication on by and ).
Verification
Among , exactly have gcd with : every other representative is divisible by or . Thus [L1] and [L2] give the displayed unit group and .
The congruences , , and show that the three nonidentity units, as well as , are self-inverse.
Since , [L3] independently gives , agreeing with the list.
The Chinese remainder bijection computed on all standard representatives
Example
For standard representatives, the Chinese remainder map is
Facts & Assumptions
Given: The map .
Every class modulo a positive integer has one standard representative (For , every class in has one representative with , so ; while is in bijection with ).
Since are coprime, is a bijection and preserves addition and multiplication componentwise (Chinese remainder theorem for a finite pairwise-coprime list: simultaneous residues determine one class modulo the product, and the resulting bijection preserves addition and multiplication).
Modular addition and multiplication are computed by adding and multiplying representatives (Addition and multiplication on by and ).
Verification
Reducing each integer modulo and modulo gives the displayed table. Its entries are all distinct, and [L1] shows that they exhaust the domain and codomain standard pairs, in agreement with [L2].
For a nontrivial addition check, , and the table gives .
For a nontrivial multiplication check, , and the table gives .
The table computes the whole bijection, while steps 1.2 and 1.3 instantiate its componentwise arithmetic preservation.
is not cyclic because every element squares to
Example
is not cyclic: every element has square .
Facts & Assumptions
Given: The unit group .
The standard representatives of units are exactly the integers with and (For , every class in has one representative with , so ; while is in bijection with , For , is a unit if and only if , The unit group and Euler's totient for ).
A finite group is cyclic when one element generates it, and an element generates a finite group exactly when its order is the group cardinality (The subgroup generated by a subset, the cyclic subgroup , and cyclic groups, The order of a finite group and the order of an element, with when no positive power of is the identity, If then iff is an integer multiple of , the powers are distinct, and has exactly elements; if has infinite order then only for ).
Natural powers in a group satisfy and (Powers : natural exponents in a monoid and integer exponents in a group, with ).
Equality of residue classes is congruence of representatives (The congruence class and the quotient set ), and congruence means divisibility of their difference (Congruence modulo an integer: when , including the moduli and ).
Verification
The odd standard representatives are precisely those coprime to , giving the displayed unit group by [L1].
Their squares are , , , and . Hence every element has order at most .
The group has cardinality by step 1.1, but no element has order by step 1.2. Therefore no element generates it, and [L2] shows that it is not cyclic.
by both inclusion-exclusion and the prime-power product formula
Example
Euler's totient at is , obtained either by excluding multiples of or by multiplying the prime-power contributions.
Facts & Assumptions
Given: The positive integer .
Its canonical prime factorisation is (For and any injective list of primes containing every prime divisor of , one has ; the exponents are determined by , and for every prime outside the list).
Euler's formula gives over the distinct prime divisors of and, after carrying the natural numbers into , the equivalent form (Euler's product formula for , stated through a finite injective list of its prime divisors). Multiplying out that second product over the subsets of is the inclusion-exclusion display used below; the cited theorem states the two products, not that display.
Verification
Inclusion-exclusion over the multiples of gives .
The product form gives .
Both computations therefore give the same value, .
The system , has no solution, so coprimality in the Chinese remainder theorem cannot be dropped
Statement refuted
Refuted claim: prescribed residue classes always determine a simultaneous class even when the positive moduli are not coprime.
The system , is a counterexample.
Facts & Assumptions
Given: The two displayed congruences with moduli and .
Congruence means (Congruence modulo an integer: when , including the moduli and ).
For positive moduli , simultaneous residues are compatible exactly when ; pairwise coprimality makes this automatic (For coprime positive , every pair of residue classes modulo and has a unique simultaneous class modulo , Chinese remainder theorem for a finite pairwise-coprime list: simultaneous residues determine one class modulo the product, and the resulting bijection preserves addition and multiplication).
Counterexample
If , then is even and is odd. If , then is divisible by and is even. No integer is both odd and even, so the system has no solution.
Equivalently, does not divide , so the compatibility criterion in [L2] fails.
The claim without coprimality admits the unsolvable system in step 1.1 and is therefore false.
A modulus is composite exactly when two nonzero classes in have product
Example
For every integer , the following are equivalent:
- is composite.
- There are nonzero classes with .
Facts & Assumptions
Given: An integer .
A positive integer greater than is composite exactly when it has a divisor with ; otherwise it is prime (Prime and composite integers: is prime when and its only positive divisors are and ).
Products in are computed on representatives, and the quotient has standard representatives (Addition and multiplication on by and , For , every class in has one representative with , so ; while is in bijection with ).
A class is a unit exactly when , and the gcd is a nonnegative common divisor that is positive when its arguments are not both zero (For , is a unit if and only if , Common divisor, and the greatest common divisor , with the convention ).
Verification
If is composite, write with and . Then and are nonzero standard classes, but .
Conversely, suppose nonzero classes have product zero and choose their standard representatives , so and . The class cannot be a unit, because multiplying an equation by its inverse would give . Hence by [L3]. Since and , one also has , so is a nontrivial divisor of and is composite by [L1].
Steps 1.1 and 1.2 prove the equivalence.
False: always implies or
Statement
False claim: for every natural modulus ,
Facts & Assumptions
Given: The quotient and the classes .
Products in are computed by multiplying representatives (Addition and multiplication on by and ).
Composite moduli admit nonzero classes with zero product; moreover exactly when , which means (A modulus is composite exactly when two nonzero classes in have product , The congruence class and the quotient set , Congruence modulo an integer: when , including the moduli and ).
Refutation
In , by [L1].
Neither nor , so and .
Thus the antecedent of the claimed implication holds while both alternatives in its conclusion fail, so the claim is false.
has one element and satisfies , so it is not a field
Statement refuted
The modular operations do not make a field for every positive modulus : the boundary modulus is a counterexample.
Facts & Assumptions
Given: The quotient with its modular operations.
The quotient has exactly one class (For , every class in has one representative with , so ; while is in bijection with ).
Its modular operations satisfy the abelian-group, commutative-monoid and distributive identities, with additive identity and multiplicative identity (For every natural , is an abelian group, multiplication is a commutative monoid operation, and both distributive laws hold).
A field must have distinct additive and multiplicative identities (Field).
Counterexample
By [L1], all integers determine the same class modulo , so in particular .
Although the other algebraic identities hold by [L2], the equality in step 1.1 violates the distinct-identities clause [L3]. Hence is not a field.
Sources
Standard references
Recommended treatments; not extraction sources.
- K. Conrad, The Chinese Remainder Theorem
- University of Southampton, Simultaneous Linear Congruences
- Mathematics LibreTexts, Linear Congruences
- UPC, Modular Arithmetic notes
- Mathematics LibreTexts, Euler's phi Function
- UW Oshkosh, Number Theory Notes 3
- K. Conrad, Modular Arithmetic
- University of Washington, Solutions for Assignment 2
- Carnegie Mellon, number-theory lecture notes
- MIT, Chinese Remainder Theorem notes
- University of Colorado, proof practice on zero divisors
- CSUSM, Polynomials over residue rings