MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  tgcgr4 Structured version   Visualization version   GIF version

Theorem tgcgr4 26892
Description: Two quadrilaterals to be congruent to each other if one triangle formed by their vertices is, and the additional points are equidistant too. (Contributed by Thierry Arnoux, 8-Oct-2020.)
Hypotheses
Ref Expression
tgcgrxfr.p 𝑃 = (Base‘𝐺)
tgcgrxfr.m = (dist‘𝐺)
tgcgrxfr.i 𝐼 = (Itv‘𝐺)
tgcgrxfr.r = (cgrG‘𝐺)
tgcgrxfr.g (𝜑𝐺 ∈ TarskiG)
tgcgr4.a (𝜑𝐴𝑃)
tgcgr4.b (𝜑𝐵𝑃)
tgcgr4.c (𝜑𝐶𝑃)
tgcgr4.d (𝜑𝐷𝑃)
tgcgr4.w (𝜑𝑊𝑃)
tgcgr4.x (𝜑𝑋𝑃)
tgcgr4.y (𝜑𝑌𝑃)
tgcgr4.z (𝜑𝑍𝑃)
Assertion
Ref Expression
tgcgr4 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))

Proof of Theorem tgcgr4
Dummy variables 𝑖 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tgcgrxfr.p . . 3 𝑃 = (Base‘𝐺)
2 tgcgrxfr.m . . 3 = (dist‘𝐺)
3 tgcgrxfr.r . . 3 = (cgrG‘𝐺)
4 tgcgrxfr.g . . 3 (𝜑𝐺 ∈ TarskiG)
5 fzo0ssnn0 13468 . . . . 5 (0..^4) ⊆ ℕ0
6 nn0ssre 12237 . . . . 5 0 ⊆ ℝ
75, 6sstri 3930 . . . 4 (0..^4) ⊆ ℝ
87a1i 11 . . 3 (𝜑 → (0..^4) ⊆ ℝ)
9 tgcgr4.a . . . . . 6 (𝜑𝐴𝑃)
10 tgcgr4.b . . . . . 6 (𝜑𝐵𝑃)
11 tgcgr4.c . . . . . 6 (𝜑𝐶𝑃)
12 tgcgr4.d . . . . . 6 (𝜑𝐷𝑃)
139, 10, 11, 12s4cld 14586 . . . . 5 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃)
14 wrdf 14222 . . . . 5 (⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
1513, 14syl 17 . . . 4 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
16 s4len 14612 . . . . . 6 (♯‘⟨“𝐴𝐵𝐶𝐷”⟩) = 4
1716oveq2i 7286 . . . . 5 (0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩)) = (0..^4)
1817feq2i 6592 . . . 4 (⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃 ↔ ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃)
1915, 18sylib 217 . . 3 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃)
20 tgcgr4.w . . . . . 6 (𝜑𝑊𝑃)
21 tgcgr4.x . . . . . 6 (𝜑𝑋𝑃)
22 tgcgr4.y . . . . . 6 (𝜑𝑌𝑃)
23 tgcgr4.z . . . . . 6 (𝜑𝑍𝑃)
2420, 21, 22, 23s4cld 14586 . . . . 5 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃)
25 wrdf 14222 . . . . 5 (⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
2624, 25syl 17 . . . 4 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
27 s4len 14612 . . . . . 6 (♯‘⟨“𝑊𝑋𝑌𝑍”⟩) = 4
2827oveq2i 7286 . . . . 5 (0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩)) = (0..^4)
2928feq2i 6592 . . . 4 (⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
3026, 29sylib 217 . . 3 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
311, 2, 3, 4, 8, 19, 30iscgrglt 26875 . 2 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
3219fdmd 6611 . . . . . . 7 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = (0..^4))
33 3p1e4 12118 . . . . . . . . 9 (3 + 1) = 4
3433oveq2i 7286 . . . . . . . 8 (0..^(3 + 1)) = (0..^4)
35 3nn0 12251 . . . . . . . . . 10 3 ∈ ℕ0
36 nn0uz 12620 . . . . . . . . . 10 0 = (ℤ‘0)
3735, 36eleqtri 2837 . . . . . . . . 9 3 ∈ (ℤ‘0)
38 fzosplitsn 13495 . . . . . . . . 9 (3 ∈ (ℤ‘0) → (0..^(3 + 1)) = ((0..^3) ∪ {3}))
3937, 38ax-mp 5 . . . . . . . 8 (0..^(3 + 1)) = ((0..^3) ∪ {3})
4034, 39eqtr3i 2768 . . . . . . 7 (0..^4) = ((0..^3) ∪ {3})
4132, 40eqtrdi 2794 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = ((0..^3) ∪ {3}))
4241raleqdv 3348 . . . . 5 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
43 breq2 5078 . . . . . . . 8 (𝑗 = 3 → (𝑖 < 𝑗𝑖 < 3))
44 fveq2 6774 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶𝐷”⟩‘3))
4544oveq2d 7291 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)))
46 fveq2 6774 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌𝑍”⟩‘3))
4746oveq2d 7291 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
4845, 47eqeq12d 2754 . . . . . . . 8 (𝑗 = 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))
4943, 48imbi12d 345 . . . . . . 7 (𝑗 = 3 → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
5049ralunsn 4825 . . . . . 6 (3 ∈ ℕ0 → (∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5135, 50ax-mp 5 . . . . 5 (∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
5242, 51bitrdi 287 . . . 4 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5352ralbidv 3112 . . 3 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5441raleqdv 3348 . . . 4 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
55 fzo0ssnn0 13468 . . . . . . . . . . . . . . . 16 (0..^3) ⊆ ℕ0
5655, 6sstri 3930 . . . . . . . . . . . . . . 15 (0..^3) ⊆ ℝ
57 simpr 485 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ (0..^3))
5856, 57sselid 3919 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ ℝ)
59 simpl 483 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 = 3)
60 3re 12053 . . . . . . . . . . . . . . 15 3 ∈ ℝ
6159, 60eqeltrdi 2847 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 ∈ ℝ)
62 elfzolt2 13396 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (0..^3) → 𝑗 < 3)
6362adantl 482 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 3)
6463, 59breqtrrd 5102 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 𝑖)
6558, 61, 64ltnsymd 11124 . . . . . . . . . . . . 13 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ¬ 𝑖 < 𝑗)
6665pm2.21d 121 . . . . . . . . . . . 12 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))))
67 tbtru 1547 . . . . . . . . . . . 12 ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
6866, 67sylib 217 . . . . . . . . . . 11 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
6968ralbidva 3111 . . . . . . . . . 10 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)⊤))
70 3nn 12052 . . . . . . . . . . . . 13 3 ∈ ℕ
71 lbfzo0 13427 . . . . . . . . . . . . 13 (0 ∈ (0..^3) ↔ 3 ∈ ℕ)
7270, 71mpbir 230 . . . . . . . . . . . 12 0 ∈ (0..^3)
7372ne0ii 4271 . . . . . . . . . . 11 (0..^3) ≠ ∅
74 r19.3rzv 4429 . . . . . . . . . . 11 ((0..^3) ≠ ∅ → (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤))
7573, 74ax-mp 5 . . . . . . . . . 10 (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤)
7669, 75bitr4di 289 . . . . . . . . 9 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
77 breq1 5077 . . . . . . . . . . . 12 (𝑖 = 3 → (𝑖 < 3 ↔ 3 < 3))
7860ltnri 11084 . . . . . . . . . . . . 13 ¬ 3 < 3
7978bifal 1555 . . . . . . . . . . . 12 (3 < 3 ↔ ⊥)
8077, 79bitrdi 287 . . . . . . . . . . 11 (𝑖 = 3 → (𝑖 < 3 ↔ ⊥))
8180imbi1d 342 . . . . . . . . . 10 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
82 falim 1556 . . . . . . . . . . 11 (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
8382bitru 1548 . . . . . . . . . 10 ((⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤)
8481, 83bitrdi 287 . . . . . . . . 9 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤))
8576, 84anbi12d 631 . . . . . . . 8 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⊤ ∧ ⊤)))
86 anidm 565 . . . . . . . 8 ((⊤ ∧ ⊤) ↔ ⊤)
8785, 86bitrdi 287 . . . . . . 7 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ⊤))
8887ralunsn 4825 . . . . . 6 (3 ∈ ℕ0 → (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ∧ ⊤)))
8935, 88ax-mp 5 . . . . 5 (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ∧ ⊤))
90 ancom 461 . . . . 5 ((∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ∧ ⊤) ↔ (⊤ ∧ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
91 truan 1550 . . . . 5 ((⊤ ∧ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
9289, 90, 913bitri 297 . . . 4 (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
9354, 92bitrdi 287 . . 3 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
9453, 93bitrd 278 . 2 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
95 r19.26 3095 . . 3 (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
969, 10, 11s3cld 14585 . . . . . . . . 9 (𝜑 → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
97 wrdf 14222 . . . . . . . . 9 (⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
9896, 97syl 17 . . . . . . . 8 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
99 s3len 14607 . . . . . . . . . 10 (♯‘⟨“𝐴𝐵𝐶”⟩) = 3
10099oveq2i 7286 . . . . . . . . 9 (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)) = (0..^3)
101100feq2i 6592 . . . . . . . 8 (⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃 ↔ ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
10298, 101sylib 217 . . . . . . 7 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
103102fdmd 6611 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3))
104103raleqdv 3348 . . . . . 6 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
105103, 104raleqbidv 3336 . . . . 5 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
10656a1i 11 . . . . . 6 (𝜑 → (0..^3) ⊆ ℝ)
10720, 21, 22s3cld 14585 . . . . . . . 8 (𝜑 → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
108 wrdf 14222 . . . . . . . 8 (⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
109107, 108syl 17 . . . . . . 7 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
110 s3len 14607 . . . . . . . . 9 (♯‘⟨“𝑊𝑋𝑌”⟩) = 3
111110oveq2i 7286 . . . . . . . 8 (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)) = (0..^3)
112111feq2i 6592 . . . . . . 7 (⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
113109, 112sylib 217 . . . . . 6 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
1141, 2, 3, 4, 106, 102, 113iscgrglt 26875 . . . . 5 (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
115 df-s4 14563 . . . . . . . . . . 11 ⟨“𝐴𝐵𝐶𝐷”⟩ = (⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)
116115fveq1i 6775 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖)
1179adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐴𝑃)
11810adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐵𝑃)
11911adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐶𝑃)
120117, 118, 119s3cld 14585 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
12112adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐷𝑃)
122121s1cld 14308 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐷”⟩ ∈ Word 𝑃)
123 simprl 768 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^3))
124123, 100eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)))
125 ccatval1 14281 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
126120, 122, 124, 125syl3anc 1370 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
127116, 126eqtrid 2790 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
128115fveq1i 6775 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗)
129 simprr 770 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^3))
130129, 100eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)))
131 ccatval1 14281 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
132120, 122, 130, 131syl3anc 1370 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
133128, 132eqtrid 2790 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
134127, 133oveq12d 7293 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)))
135 df-s4 14563 . . . . . . . . . . 11 ⟨“𝑊𝑋𝑌𝑍”⟩ = (⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)
136135fveq1i 6775 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖)
13720adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑊𝑃)
13821adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑋𝑃)
13922adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑌𝑃)
140137, 138, 139s3cld 14585 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
14123adantr 481 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑍𝑃)
142141s1cld 14308 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑍”⟩ ∈ Word 𝑃)
143123, 111eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)))
144 ccatval1 14281 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
145140, 142, 143, 144syl3anc 1370 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
146136, 145eqtrid 2790 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
147135fveq1i 6775 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗)
148129, 111eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)))
149 ccatval1 14281 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
150140, 142, 148, 149syl3anc 1370 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
151147, 150eqtrid 2790 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
152146, 151oveq12d 7293 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))
153134, 152eqeq12d 2754 . . . . . . 7 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))))
154153imbi2d 341 . . . . . 6 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
1551542ralbidva 3128 . . . . 5 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
156105, 114, 1553bitr4rd 312 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩))
157 fzo0to3tp 13473 . . . . . 6 (0..^3) = {0, 1, 2}
158157raleqi 3346 . . . . 5 (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))
159 3pos 12078 . . . . . . . . . 10 0 < 3
160 breq1 5077 . . . . . . . . . 10 (𝑖 = 0 → (𝑖 < 3 ↔ 0 < 3))
161159, 160mpbiri 257 . . . . . . . . 9 (𝑖 = 0 → 𝑖 < 3)
162161adantl 482 . . . . . . . 8 ((𝜑𝑖 = 0) → 𝑖 < 3)
163 biimt 361 . . . . . . . 8 (𝑖 < 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
164162, 163syl 17 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
165 fveq2 6774 . . . . . . . . . 10 (𝑖 = 0 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘0))
166 s4fv0 14608 . . . . . . . . . . 11 (𝐴𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
1679, 166syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
168165, 167sylan9eqr 2800 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐴)
169 s4fv3 14611 . . . . . . . . . . 11 (𝐷𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
17012, 169syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
171170adantr 481 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
172168, 171oveq12d 7293 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐴 𝐷))
173 fveq2 6774 . . . . . . . . . 10 (𝑖 = 0 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘0))
174 s4fv0 14608 . . . . . . . . . . 11 (𝑊𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
17520, 174syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
176173, 175sylan9eqr 2800 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑊)
177 s4fv3 14611 . . . . . . . . . . 11 (𝑍𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
17823, 177syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
179178adantr 481 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
180176, 179oveq12d 7293 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑊 𝑍))
181172, 180eqeq12d 2754 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
182164, 181bitr3d 280 . . . . . 6 ((𝜑𝑖 = 0) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
183 1lt3 12146 . . . . . . . . . 10 1 < 3
184 breq1 5077 . . . . . . . . . 10 (𝑖 = 1 → (𝑖 < 3 ↔ 1 < 3))
185183, 184mpbiri 257 . . . . . . . . 9 (𝑖 = 1 → 𝑖 < 3)
186185adantl 482 . . . . . . . 8 ((𝜑𝑖 = 1) → 𝑖 < 3)
187186, 163syl 17 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
188 fveq2 6774 . . . . . . . . . 10 (𝑖 = 1 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘1))
189 s4fv1 14609 . . . . . . . . . . 11 (𝐵𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
19010, 189syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
191188, 190sylan9eqr 2800 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐵)
192170adantr 481 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
193191, 192oveq12d 7293 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐵 𝐷))
194 fveq2 6774 . . . . . . . . . 10 (𝑖 = 1 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘1))
195 s4fv1 14609 . . . . . . . . . . 11 (𝑋𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
19621, 195syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
197194, 196sylan9eqr 2800 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑋)
198178adantr 481 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
199197, 198oveq12d 7293 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑋 𝑍))
200193, 199eqeq12d 2754 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
201187, 200bitr3d 280 . . . . . 6 ((𝜑𝑖 = 1) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
202 2lt3 12145 . . . . . . . . . 10 2 < 3
203 breq1 5077 . . . . . . . . . 10 (𝑖 = 2 → (𝑖 < 3 ↔ 2 < 3))
204202, 203mpbiri 257 . . . . . . . . 9 (𝑖 = 2 → 𝑖 < 3)
205204adantl 482 . . . . . . . 8 ((𝜑𝑖 = 2) → 𝑖 < 3)
206205, 163syl 17 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
207 fveq2 6774 . . . . . . . . . 10 (𝑖 = 2 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘2))
208 s4fv2 14610 . . . . . . . . . . 11 (𝐶𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
20911, 208syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
210207, 209sylan9eqr 2800 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐶)
211170adantr 481 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
212210, 211oveq12d 7293 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐶 𝐷))
213 fveq2 6774 . . . . . . . . . 10 (𝑖 = 2 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘2))
214 s4fv2 14610 . . . . . . . . . . 11 (𝑌𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
21522, 214syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
216213, 215sylan9eqr 2800 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑌)
217178adantr 481 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
218216, 217oveq12d 7293 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑌 𝑍))
219212, 218eqeq12d 2754 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
220206, 219bitr3d 280 . . . . . 6 ((𝜑𝑖 = 2) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
221 0red 10978 . . . . . 6 (𝜑 → 0 ∈ ℝ)
222 1red 10976 . . . . . 6 (𝜑 → 1 ∈ ℝ)
223 2re 12047 . . . . . . 7 2 ∈ ℝ
224223a1i 11 . . . . . 6 (𝜑 → 2 ∈ ℝ)
225182, 201, 220, 221, 222, 224raltpd 4717 . . . . 5 (𝜑 → (∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
226158, 225bitrid 282 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
227156, 226anbi12d 631 . . 3 (𝜑 → ((∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
22895, 227bitrid 282 . 2 (𝜑 → (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
22931, 94, 2283bitrd 305 1 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wtru 1540  wfal 1551  wcel 2106  wne 2943  wral 3064  cun 3885  wss 3887  c0 4256  {csn 4561  {ctp 4565   class class class wbr 5074  dom cdm 5589  wf 6429  cfv 6433  (class class class)co 7275  cr 10870  0cc0 10871  1c1 10872   + caddc 10874   < clt 11009  cn 11973  2c2 12028  3c3 12029  4c4 12030  0cn0 12233  cuz 12582  ..^cfzo 13382  chash 14044  Word cword 14217   ++ cconcat 14273  ⟨“cs1 14300  ⟨“cs3 14555  ⟨“cs4 14556  Basecbs 16912  distcds 16971  TarskiGcstrkg 26788  Itvcitv 26794  cgrGccgrg 26871
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-er 8498  df-pm 8618  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-2 12036  df-3 12037  df-4 12038  df-n0 12234  df-z 12320  df-uz 12583  df-fz 13240  df-fzo 13383  df-hash 14045  df-word 14218  df-concat 14274  df-s1 14301  df-s2 14561  df-s3 14562  df-s4 14563  df-trkgc 26809  df-trkgcb 26811  df-trkg 26814  df-cgrg 26872
This theorem is referenced by:  cgrg3col4  27214
  Copyright terms: Public domain W3C validator