Main derivation
S01 · definition
Before
G(A,B)\ \text{for labeled triangles}After
G(A,B)\iff A,B\ \text{nondegenerate}\ \land\ |A_iA_j|=|B_iB_j|\ (ij=12,13,23)Conditions: A_i\leftrightarrow B_i\ \text{explicit}
Rule: mko_sss_slice · Uses: G1, G2
Leaf basis: mko_sss_slice
Fix the criterion from the MKO's SSS slice: under the explicit correspondence Ai↔Bi, A and B are congruent exactly when both are nondegenerate triangles and the three corresponding side lengths 12, 13, 23 agree. There are two gates: nondegeneracy first, then side lengths; and the sides compared are the specified corresponding ones, not an arbitrary re-pairing.
S02 · equivalent
Before
\det(A_2-A_1,\,A_3-A_1)
After
\det((4,0),(0,3))=4\cdot 3-0\cdot 0=12
Conditions: none
Rule: det2_def · Uses: G2, det2_def
Leaf basis: det2_def + numeric_evaluation
Subtract coordinatewise: A2−A1=(4−0, 0−0)=(4,0) and A3−A1=(0−0, 3−0)=(0,3). By the determinant formula ad−bc: 4·3−0·0=12. Both sides name the same number, so this is a replacement of equals.
S03 · implies
Before
\det(A_2-A_1,\,A_3-A_1)=12\neq 0
After
A_1,A_2,A_3\ \text{distinct, noncollinear: }A\ \text{nondegenerate}Conditions: 12\neq 0
Rule: det_collinear · Uses: S02, det_collinear
Leaf basis: det_collinear + numeric_evaluation
By det_collinear, three points are collinear exactly when the determinant is 0; here it is 12≠0, so A1, A2, A3 are noncollinear and hence pairwise distinct (a triple with a repeated point is collinear). By MKO assumption a1, this must be established before A is treated as a triangle.
S04 · implies
Before
\det(B_2-B_1,\,B_3-B_1)
After
\det((0,4),(3,0))=0\cdot 0-4\cdot 3=-12\neq 0:\ B\ \text{nondegenerate}Conditions: -12\neq 0
Rule: det_collinear · Uses: G2, det2_def, det_collinear
Leaf basis: det2_def + det_collinear + numeric_evaluation
B2−B1=(1−1, 5−1)=(0,4) and B3−B1=(4−1, 1−1)=(3,0), with determinant 0·0−4·3=−12. It is not 0, so B1, B2, B3 are distinct and noncollinear, and B is a nondegenerate triangle too. The negative sign is read as orientation in S11; nondegeneracy depends only on whether the determinant is 0.
S05 · equivalent
Before
|A_iA_j|=|B_iB_j|
After
|A_iA_j|^2=|B_iB_j|^2
Conditions: |A_iA_j|\ge 0; |B_iB_j|\ge 0
Rule: L_sq_eq · Uses: dist_formula
Leaf basis: eq_congruence + distributive + zero_product + order_basics
Distances are nonnegative reals (dist_formula), so by Lemma L_sq_eq (u=|AiAj|, v=|BiBj|) comparing side lengths is equivalent to comparing squared side lengths. Squared lengths are sums of squares of integer coordinate differences and can be computed exactly, with no square roots or approximations. The lemma is proved in S05.1 to S05.3.
S06 · equivalent
Before
|A_1A_2|^2,\ |A_1A_3|^2,\ |A_2A_3|^2
After
16,\ 9,\ 25
Conditions: none
Rule: dist_formula · Uses: G2, dist_formula
Leaf basis: dist_formula + numeric_evaluation
By the squared-distance formula, in the order 12, 13, 23: |A1A2|²=(4−0)²+(0−0)²=16; |A1A3|²=(0−0)²+(3−0)²=9; |A2A3|²=(0−4)²+(3−0)²=16+9=25. Each is an exact integer.
S07 · equivalent
Before
|B_1B_2|^2,\ |B_1B_3|^2,\ |B_2B_3|^2
After
16,\ 9,\ 25
Conditions: none
Rule: dist_formula · Uses: G2, dist_formula
Leaf basis: dist_formula + numeric_evaluation
Same formula, same order: |B1B2|²=(1−1)²+(5−1)²=16; |B1B3|²=(4−1)²+(1−1)²=9; |B2B3|²=(4−1)²+(1−5)²=9+16=25. The sides of B point in other directions (B1B2 is vertical while A1A2 is horizontal), but a squared length depends only on the sum of squared coordinate differences.
S08 · implies
Before
(16,9,25)\ \text{vs}\ (16,9,25)After
|A_iA_j|^2=|B_iB_j|^2\ (ij=12,13,23)
Conditions: none
Rule: eq_refl_symm_trans · Uses: S06, S07
Leaf basis: eq_refl_symm_trans + numeric_evaluation
Compare one by one in the order 12, 13, 23: 16=16, 9=9, 25=25. All three agree, so there is no first unequal witness and the answer is 'no unequal side'. The sides compared are those of the specified correspondence: A1A2 is compared only with B1B2, not with other sides of B.
S09 · implies
Before
|A_iA_j|^2=|B_iB_j|^2\ (ij=12,13,23)
After
|A_1A_2|=|B_1B_2|=4,\ |A_1A_3|=|B_1B_3|=3,\ |A_2A_3|=|B_2B_3|=5
Conditions: \text{lengths}\ge 0
Rule: L_sq_eq · Uses: S05, S08
Leaf basis: L_sq_eq + sqrt_def
By S05 (the ⇐ direction of Lemma L_sq_eq), nonnegative lengths with equal squares are equal. Concretely, the nonnegative square roots of 16, 9, 25 are 4, 3, 5 (sqrt_def), so the three corresponding side lengths are 4, 3 and 5.
S10 · theorem_application
Before
A,B\ \text{nondegenerate},\ |A_iA_j|=|B_iB_j|\ (ij=12,13,23)After
G(A,B)\ \text{under}\ A_i\leftrightarrow B_iConditions: A,B\ \text{nondegenerate}; A_i\leftrightarrow B_i\ \text{explicit}
Rule: mko_sss_slice · Uses: S01, S03, S04, S09
Leaf basis: mko_sss_slice + and_intro_elim
Both gates of the criterion in S01 are passed: nondegeneracy (S03, S04) and three equal corresponding sides (S09). So A and B are congruent under the explicit correspondence Ai↔Bi. The decision used no visual appearance and guessed no other labeling.
S11 · implies
Before
\det(A_2-A_1,A_3-A_1)=12>0,\ \det(B_2-B_1,B_3-B_1)=-12<0
After
\text{opposite orientations; }G(A,B)\ \text{still holds}Conditions: none
Rule: mko_sss_slice · Uses: S02, S04, S10
Leaf basis: mko_sss_slice + order_basics
The two determinants have opposite signs: A1→A2→A3 runs counterclockwise and B1→B2→B3 clockwise, so B has the opposite orientation. The MKO says reflection reverses orientation without defeating congruence; the decision in S10 used only nondegeneracy and side lengths, neither of which depends on orientation, so G(A,B) is unaffected.
S12 · implies
Before
T(x,y)=(y+1,\,x+1)
After
T(A_1)=B_1,\ T(A_2)=B_2,\ T(A_3)=B_3
Conditions: none
Rule: L_T_iso · Uses: G2, S10
Leaf basis: L_T_iso + eq_replace + numeric_evaluation
Cross-check: T is reflection across the line y=x followed by translation by (1,1). T(A1)=(0+1, 0+1)=(1,1)=B1; T(A2)=(0+1, 4+1)=(1,5)=B2; T(A3)=(3+1, 0+1)=(4,1)=B3. By Lemma L_T_iso (S12.1), T preserves all squared distances, so B is a moved mirror image of A, consistent with S10 and S11. This step is not a premise of S10.
S13 · implies
Before
A_1\leftrightarrow B_1,\ A_2\leftrightarrow B_3,\ A_3\leftrightarrow B_2
After
|A_1A_2|^2=16\neq 9=|B_1B_3|^2:\ \text{first unequal witness}\ 12Conditions: none
Rule: L_sq_eq · Uses: G3, S05, S06, S07
Leaf basis: L_sq_eq + contrapositive + numeric_evaluation
Under the other correspondence, the pair of sides 12 is A1A2 with B1B3. By S06 and S07 their squared lengths are 16 and 9, which differ; by the contrapositive of S05 (equal lengths have equal squares), the lengths differ too. In the order 12, 13, 23 the first unequal witness is 12, and 13 and 23 need not be examined. This rejects only this correspondence; the congruence under Ai↔Bi (S10) still holds.
S14 · implies
Before
D=((0,0),(1,1),(2,2))
After
\det((1,1),(2,2))=1\cdot 2-1\cdot 2=0:\ D\ \text{collinear, not eligible}Conditions: none
Rule: det_collinear · Uses: G3, det2_def, det_collinear
Leaf basis: det2_def + det_collinear + numeric_evaluation
The two difference vectors of D are (1,1) and (2,2), with determinant 0, so D is collinear and not a nondegenerate triangle; D' is D translated by (5,5), has the same difference vectors, and is collinear too. The corresponding squared sides of D and D' are both 2, 8, 2 (N13), all equal, yet the first gate of the SSS slice (nondegeneracy) fails, so they may not be called congruent triangles. This is why S03 and S04 must come before comparing sides.