Main derivation
S01 · definition
Before
D(\mathbb{Z}/5\mathbb{Z})After
\text{(i) ring (G1)}\ \land\ \text{(ii) }1\neq 0\ \land\ \text{(iii) }\forall a,b\in R_5\setminus\{0\}:\ ab\neq 0Conditions: none
Rule: mko_fid_def · Uses: G1, G3
Leaf basis: def_unfold + mko_fid_def
Unfold the definition: three things must be checked. (i) The parent structure already is a complete finite commutative unital ring (G1, MKO assumption a1); (ii) 1≠0; (iii) the product of every pair of nonzero elements is nonzero. The definition has no clause 'every nonzero element is invertible'; that is a theorem proved only in S08 to S10.
S02 · implies
Before
1,0\in\mathbb{Z}/5\mathbb{Z}After
1\neq 0
Conditions: none
Rule: mod_reduce · Uses: G1, mod_reduce
Leaf basis: mod_reduce + divides_def + division_algorithm
Two integers stand for the same element of ℤ/5ℤ exactly when 5 divides their difference. 1−0=1, and 5 does not divide 1 (0<1<5, so 1 is not a multiple of 5). Hence 1≠0 and condition (ii) holds; it is inherited from the parent unital ring (MKO paragraph 0).
S03 · equivalent
Before
\forall (a,b)\in\{1,2,3,4\}^2:\ ab\neq 0After
\forall a\le b\ \text{in}\ \{1,2,3,4\}:\ ab\neq 0Conditions: none
Rule: mul_comm · Uses: G1, S01
Leaf basis: mul_comm + forall_elim + finite_counting_basics
The nonzero elements are 1, 2, 3, 4, giving 16 ordered pairs. ⇒: the right side is a special case of the left. ⇐: for any ordered pair (a,b), if a≤b it is on the right-hand list; if a>b, then ab=ba and (b,a) has b<a, so it is on the list too. Hence only 4 squares plus C(4,2)=6 products of distinct elements, 10 products in all, need computing (N4).
S04 · equivalent
Before
ab\ (1\le a\le b\le 4)\ \text{in}\ \mathbb{Z}/5\mathbb{Z}After
1\cdot b=b;\ 2\cdot2=4,\ 2\cdot3=1,\ 2\cdot4=3,\ 3\cdot3=4,\ 3\cdot4=2,\ 4\cdot4=1
Conditions: none
Rule: mod_reduce · Uses: S03, G1
Leaf basis: mod_reduce + numeric_evaluation
Compute the 10 products of S03 one by one: the 4 involving 1 in S04.1 and the other 6 in S04.2. This lists the required part of the multiplication table completely.
S05 · implies
Before
\text{the 10 products lie in }\{1,2,3,4\}After
\forall a,b\in R_5\setminus\{0\}:\ ab\neq 0Conditions: none
Rule: case_analysis · Uses: S03, S04, S04.1, S04.2
Leaf basis: case_analysis + forall_intro
All 10 products lie in {1,2,3,4}; none is 0. By S03 these 10 cases cover all 16 nonzero ordered pairs, so the universal condition (iii) holds. This is an exhaustion of the whole finite set in which every pair is checked, not a sample; N3 recomputes the 16 ordered pairs one by one, and it covers exactly all cases of this finite set.
S06 · implies
Before
\text{(i)},\ \text{(ii)},\ \text{(iii) for }R_5After
D(\mathbb{Z}/5\mathbb{Z})Conditions: none
Rule: and_intro_elim · Uses: S01, S02, S05, G1
Leaf basis: and_intro_elim + def_unfold
(i) comes from G1, (ii) from S02 and (iii) from S05. Their conjunction gives, by the unfolding in S01, that ℤ/5ℤ is a finite integral domain.
S07 · implies
Before
2,3\in R_6\setminus\{0\}After
2\cdot 3=0\ \text{in}\ \mathbb{Z}/6\mathbb{Z},\ \text{hence}\ \neg D(\mathbb{Z}/6\mathbb{Z})Conditions: none
Rule: quantifier_negation · Uses: G2, G3, mod_reduce
Leaf basis: quantifier_negation + mod_reduce + numeric_evaluation
In ℤ/6ℤ we have 2≠0 and 3≠0 (6 divides neither 2 nor 3), but 2·3=6=1·6+0, so 2·3=0 (N5). This pair makes the negation of (iii), 'some nonzero a, b have ab=0', true; by quantifier negation the universal (iii) fails, so ℤ/6ℤ is not a finite integral domain, even though 1≠0 still holds there. Also 3·4=12≡0 (N6). One counterexample suffices to refute a universal statement.
S08 · implies
Before
D(R),\ a\in R\setminus\{0\},\ \lambda_a(x)=axAfter
\lambda_a:R\to R\ \text{injective}Conditions: a\neq 0
Rule: L_lambda_injective · Uses: G3
Leaf basis: distributive + contrapositive + injective_surjective_def
From here on work with any finite integral domain R and any a≠0, not just ℤ/5ℤ. Define λ_a:R→R by x↦ax. By Lemma L_lambda_injective (proved in S08.1 and S08.2), λ_a is injective. This step uses only the absence of zero divisors, not yet finiteness.
S09 · implies
Before
\lambda_a:R\to R\ \text{injective},\ R\ \text{finite}After
\lambda_a(R)=R
Conditions: R\ \text{finite}
Rule: L_finite_inj_surj · Uses: S08
Leaf basis: finite_counting_basics + injective_surjective_def
By Lemma L_finite_inj_surj (proved in S09.1 and S09.2), an injective self-map of a finite set is surjective, so the image of λ_a is all of R. This is the first and only place where the finiteness of R is used.
S10 · implies
Before
1\in R=\lambda_a(R)
After
\exists b\in R:\ ab=ba=1
Conditions: none
Rule: image_preimage_def · Uses: S09, ring_axioms
Leaf basis: image_preimage_def + exists_elim + mul_comm + mul_assoc
1∈R=λ_a(R), so by the definition of image there is b∈R with λ_a(b)=ab=1, and commutativity gives ba=1. Hence a is invertible. The inverse is unique: if ab=ac=1 then b=b(ac)=(ba)c=c. This is a theorem after the definition, and it uses finiteness (MKO paragraph 2).
S11 · implies
Before
\lambda_2\ \text{on}\ \mathbb{Z}/5\mathbb{Z}After
(0,1,2,3,4)\mapsto(0,2,4,1,3);\ 2^{-1}=3,\ 3^{-1}=2,\ 4^{-1}=4,\ 1^{-1}=1Conditions: none
Rule: mod_reduce · Uses: S06, S10, S04.2
Leaf basis: mod_reduce + numeric_evaluation
Values of λ_2: 2·0=0, 2·1=2, 2·2=4, 2·3=6≡1, 2·4=8≡3 (N7). The five values are distinct, a permutation of R5, as S08 and S09 predict. 1=λ_2(3), so 2^{-1}=3. From S04.2: 3·2=1 and 4·4=1; also 1·1=1. So every nonzero element of R5 is invertible, computed here one by one, in agreement with S10.
S12 · implies
Before
\lambda_2\ \text{on}\ \mathbb{Z}/6\mathbb{Z}After
(0,1,2,3,4,5)\mapsto(0,2,4,0,2,4);\ 1\notin\lambda_2(R_6)
Conditions: none
Rule: mod_reduce · Uses: S07, G2
Leaf basis: mod_reduce + numeric_evaluation + injective_surjective_def
In ℤ/6ℤ, 2·3=6≡0=2·0, 2·4=8≡2=2·1 and 2·5=10≡4=2·2 (N8). λ_2 is not injective, and its image is only {0,2,4}, which does not contain 1, so 2 has no inverse in ℤ/6ℤ. The argument of S08 breaks at S08.2: 2(3−0)=0 while 3−0≠0, which is exactly the zero divisor of S07.
S13 · implies
Before
2b=1,\ b\in\mathbb{Z}After
\text{no solution: }2\ \text{is not invertible in}\ \mathbb{Z}Conditions: none
Rule: divides_def · Uses: divides_def
Leaf basis: divides_def + division_algorithm + zero_product
ℤ is a commutative unital ring without zero divisors (zero-product property), but it is not finite. If 2b=1 had an integer solution, then 2∣1; but 1 is not a multiple of 2 (0<1<2). So 2 is not invertible in ℤ. This shows that the finiteness used in S09 cannot be dropped: the absence of zero divisors alone does not give invertibility, so invertibility must not be slipped into the definition.
S14 · implies
Before
D(\mathbb{Z}/5\mathbb{Z}),\ \neg D(\mathbb{Z}/6\mathbb{Z}),\ \text{S08 to S10}After
\mathbb{Z}/5\mathbb{Z}\ \text{finite integral domain};\ \mathbb{Z}/6\mathbb{Z}\ \text{not};\ D(R)\Rightarrow\text{every }a\neq0\ \text{invertible}Conditions: none
Rule: and_intro_elim · Uses: S06, S07, S10, S11, S12
Leaf basis: and_intro_elim
Exhaustive checking of the complete table gives D(ℤ/5ℤ); one zero-divisor pair gives ¬D(ℤ/6ℤ); for any finite integral domain S08 to S10 prove that every nonzero element is invertible, and S11 computes the inverses in ℤ/5ℤ one by one.
Substeps and lemmas
S04.1 · equivalent
Before
1\cdot b,\ b\in\{1,2,3,4\}After
1\cdot b=b\neq 0
Conditions: none
Rule: mul_one · Uses: G1, mul_one
Leaf basis: mul_one
1 is the multiplicative identity, so 1·b=b; b is nonzero, so 1·1, 1·2, 1·3 and 1·4 are all nonzero.
S04.2 · equivalent
Before
2\cdot2,\ 2\cdot3,\ 2\cdot4,\ 3\cdot3,\ 3\cdot4,\ 4\cdot4
After
4,\ 1,\ 3,\ 4,\ 2,\ 1
Conditions: none
Rule: mod_reduce · Uses: G1, mod_reduce
Leaf basis: mod_reduce + division_algorithm + numeric_evaluation
Multiply in ℤ to get 4, 6, 8, 9, 12, 16, then take remainders on division by 5: 4=0·5+4, 6=1·5+1, 8=1·5+3, 9=1·5+4, 12=2·5+2, 16=3·5+1. So the six products are 4, 1, 3, 4, 2, 1 in order (N1, N2).
S08.1 · equivalent
Before
ax=ay
After
a(x-y)=0
Conditions: none
Rule: distributive · Uses: ring_axioms
Leaf basis: distributive + eq_congruence + add_inverse + neg_mul
Subtract ay from both sides: ax−ay=0; by distributivity ax−ay=ax+a(−y)=a(x−y). Backward: a(x−y)=0 gives ax−ay=0, and adding ay to both sides gives ax=ay.
S08.2 · implies
Before
a(x-y)=0,\ a\neq 0
After
x=y
Conditions: a\neq 0
Rule: contrapositive · Uses: S08.1, G3
Leaf basis: contrapositive + add_inverse + eq_congruence
If x−y≠0, then a and x−y are both nonzero, and clause (iii) gives a(x−y)≠0, contradicting S08.1. So x−y=0, and adding y to both sides gives x=y. S08.1 and S08.2 together prove Lemma L_lambda_injective.
S09.1 · implies
Before
\lambda_a\ \text{injective}After
|\lambda_a(R)|=|R|
Conditions: none
Rule: finite_counting_basics · Uses: S08, finite_counting_basics, injective_surjective_def
Leaf basis: finite_counting_basics + injective_surjective_def + image_preimage_def
Regard λ_a as a map R→λ_a(R): by the definition of image it is surjective, and it is injective, so it is a bijection. Finite sets admit a bijection exactly when they have the same number of elements, so |λ_a(R)|=|R|. The argument is the same for any injective self-map of a finite set.
S09.2 · implies
Before
\lambda_a(R)\subseteq R,\ |\lambda_a(R)|=|R|
After
\lambda_a(R)=R
Conditions: R\ \text{finite}
Rule: finite_counting_basics · Uses: S09.1, subset_def
Leaf basis: finite_counting_basics + set_operations_def + contradiction
If λ_a(R)≠R, then R∖λ_a(R) is nonempty and R is the union of the disjoint finite sets λ_a(R) and R∖λ_a(R), so |R|=|λ_a(R)|+|R∖λ_a(R)|≥|λ_a(R)|+1, contradicting S09.1. Hence λ_a(R)=R. S09.1 and S09.2 together prove Lemma L_finite_inj_surj.