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

Theorem tgcgr4 26796
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 13396 . . . . 5 (0..^4) ⊆ ℕ0
6 nn0ssre 12167 . . . . 5 0 ⊆ ℝ
75, 6sstri 3926 . . . 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 14514 . . . . 5 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃)
14 wrdf 14150 . . . . 5 (⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
1513, 14syl 17 . . . 4 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
16 s4len 14540 . . . . . 6 (♯‘⟨“𝐴𝐵𝐶𝐷”⟩) = 4
1716oveq2i 7266 . . . . 5 (0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩)) = (0..^4)
1817feq2i 6576 . . . 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 14514 . . . . 5 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃)
25 wrdf 14150 . . . . 5 (⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
2624, 25syl 17 . . . 4 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
27 s4len 14540 . . . . . 6 (♯‘⟨“𝑊𝑋𝑌𝑍”⟩) = 4
2827oveq2i 7266 . . . . 5 (0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩)) = (0..^4)
2928feq2i 6576 . . . 4 (⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
3026, 29sylib 217 . . 3 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
311, 2, 3, 4, 8, 19, 30iscgrglt 26779 . 2 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
3219fdmd 6595 . . . . . . 7 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = (0..^4))
33 3p1e4 12048 . . . . . . . . 9 (3 + 1) = 4
3433oveq2i 7266 . . . . . . . 8 (0..^(3 + 1)) = (0..^4)
35 3nn0 12181 . . . . . . . . . 10 3 ∈ ℕ0
36 nn0uz 12549 . . . . . . . . . 10 0 = (ℤ‘0)
3735, 36eleqtri 2837 . . . . . . . . 9 3 ∈ (ℤ‘0)
38 fzosplitsn 13423 . . . . . . . . 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 2795 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = ((0..^3) ∪ {3}))
4241raleqdv 3339 . . . . 5 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
43 breq2 5074 . . . . . . . 8 (𝑗 = 3 → (𝑖 < 𝑗𝑖 < 3))
44 fveq2 6756 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶𝐷”⟩‘3))
4544oveq2d 7271 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)))
46 fveq2 6756 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌𝑍”⟩‘3))
4746oveq2d 7271 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
4845, 47eqeq12d 2754 . . . . . . . 8 (𝑗 = 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))
4943, 48imbi12d 344 . . . . . . 7 (𝑗 = 3 → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
5049ralunsn 4822 . . . . . 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 286 . . . 4 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5352ralbidv 3120 . . 3 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5441raleqdv 3339 . . . 4 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
55 fzo0ssnn0 13396 . . . . . . . . . . . . . . . 16 (0..^3) ⊆ ℕ0
5655, 6sstri 3926 . . . . . . . . . . . . . . 15 (0..^3) ⊆ ℝ
57 simpr 484 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ (0..^3))
5856, 57sselid 3915 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ ℝ)
59 simpl 482 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 = 3)
60 3re 11983 . . . . . . . . . . . . . . 15 3 ∈ ℝ
6159, 60eqeltrdi 2847 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 ∈ ℝ)
62 elfzolt2 13325 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (0..^3) → 𝑗 < 3)
6362adantl 481 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 3)
6463, 59breqtrrd 5098 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 𝑖)
6558, 61, 64ltnsymd 11054 . . . . . . . . . . . . 13 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ¬ 𝑖 < 𝑗)
6665pm2.21d 121 . . . . . . . . . . . 12 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))))
67 tbtru 1547 . . . . . . . . . . . 12 ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
6866, 67sylib 217 . . . . . . . . . . 11 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
6968ralbidva 3119 . . . . . . . . . 10 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)⊤))
70 3nn 11982 . . . . . . . . . . . . 13 3 ∈ ℕ
71 lbfzo0 13355 . . . . . . . . . . . . 13 (0 ∈ (0..^3) ↔ 3 ∈ ℕ)
7270, 71mpbir 230 . . . . . . . . . . . 12 0 ∈ (0..^3)
7372ne0ii 4268 . . . . . . . . . . 11 (0..^3) ≠ ∅
74 r19.3rzv 4426 . . . . . . . . . . 11 ((0..^3) ≠ ∅ → (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤))
7573, 74ax-mp 5 . . . . . . . . . 10 (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤)
7669, 75bitr4di 288 . . . . . . . . 9 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
77 breq1 5073 . . . . . . . . . . . 12 (𝑖 = 3 → (𝑖 < 3 ↔ 3 < 3))
7860ltnri 11014 . . . . . . . . . . . . 13 ¬ 3 < 3
7978bifal 1555 . . . . . . . . . . . 12 (3 < 3 ↔ ⊥)
8077, 79bitrdi 286 . . . . . . . . . . 11 (𝑖 = 3 → (𝑖 < 3 ↔ ⊥))
8180imbi1d 341 . . . . . . . . . 10 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
82 falim 1556 . . . . . . . . . . 11 (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
8382bitru 1548 . . . . . . . . . 10 ((⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤)
8481, 83bitrdi 286 . . . . . . . . 9 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤))
8576, 84anbi12d 630 . . . . . . . 8 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⊤ ∧ ⊤)))
86 anidm 564 . . . . . . . 8 ((⊤ ∧ ⊤) ↔ ⊤)
8785, 86bitrdi 286 . . . . . . 7 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ⊤))
8887ralunsn 4822 . . . . . 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 460 . . . . 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 296 . . . 4 (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
9354, 92bitrdi 286 . . 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 3094 . . 3 (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
969, 10, 11s3cld 14513 . . . . . . . . 9 (𝜑 → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
97 wrdf 14150 . . . . . . . . 9 (⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
9896, 97syl 17 . . . . . . . 8 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
99 s3len 14535 . . . . . . . . . 10 (♯‘⟨“𝐴𝐵𝐶”⟩) = 3
10099oveq2i 7266 . . . . . . . . 9 (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)) = (0..^3)
101100feq2i 6576 . . . . . . . 8 (⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃 ↔ ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
10298, 101sylib 217 . . . . . . 7 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
103102fdmd 6595 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3))
104103raleqdv 3339 . . . . . 6 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
105103, 104raleqbidv 3327 . . . . 5 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
10656a1i 11 . . . . . 6 (𝜑 → (0..^3) ⊆ ℝ)
10720, 21, 22s3cld 14513 . . . . . . . 8 (𝜑 → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
108 wrdf 14150 . . . . . . . 8 (⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
109107, 108syl 17 . . . . . . 7 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
110 s3len 14535 . . . . . . . . 9 (♯‘⟨“𝑊𝑋𝑌”⟩) = 3
111110oveq2i 7266 . . . . . . . 8 (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)) = (0..^3)
112111feq2i 6576 . . . . . . 7 (⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
113109, 112sylib 217 . . . . . 6 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
1141, 2, 3, 4, 106, 102, 113iscgrglt 26779 . . . . 5 (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
115 df-s4 14491 . . . . . . . . . . 11 ⟨“𝐴𝐵𝐶𝐷”⟩ = (⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)
116115fveq1i 6757 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖)
1179adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐴𝑃)
11810adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐵𝑃)
11911adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐶𝑃)
120117, 118, 119s3cld 14513 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
12112adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐷𝑃)
122121s1cld 14236 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐷”⟩ ∈ Word 𝑃)
123 simprl 767 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^3))
124123, 100eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)))
125 ccatval1 14209 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
126120, 122, 124, 125syl3anc 1369 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
127116, 126syl5eq 2791 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
128115fveq1i 6757 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗)
129 simprr 769 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^3))
130129, 100eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)))
131 ccatval1 14209 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
132120, 122, 130, 131syl3anc 1369 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
133128, 132syl5eq 2791 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
134127, 133oveq12d 7273 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)))
135 df-s4 14491 . . . . . . . . . . 11 ⟨“𝑊𝑋𝑌𝑍”⟩ = (⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)
136135fveq1i 6757 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖)
13720adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑊𝑃)
13821adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑋𝑃)
13922adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑌𝑃)
140137, 138, 139s3cld 14513 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
14123adantr 480 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑍𝑃)
142141s1cld 14236 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑍”⟩ ∈ Word 𝑃)
143123, 111eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)))
144 ccatval1 14209 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
145140, 142, 143, 144syl3anc 1369 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
146136, 145syl5eq 2791 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
147135fveq1i 6757 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗)
148129, 111eleqtrrdi 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)))
149 ccatval1 14209 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
150140, 142, 148, 149syl3anc 1369 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
151147, 150syl5eq 2791 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
152146, 151oveq12d 7273 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))
153134, 152eqeq12d 2754 . . . . . . 7 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))))
154153imbi2d 340 . . . . . 6 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
1551542ralbidva 3121 . . . . 5 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
156105, 114, 1553bitr4rd 311 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩))
157 fzo0to3tp 13401 . . . . . 6 (0..^3) = {0, 1, 2}
158157raleqi 3337 . . . . 5 (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))
159 3pos 12008 . . . . . . . . . 10 0 < 3
160 breq1 5073 . . . . . . . . . 10 (𝑖 = 0 → (𝑖 < 3 ↔ 0 < 3))
161159, 160mpbiri 257 . . . . . . . . 9 (𝑖 = 0 → 𝑖 < 3)
162161adantl 481 . . . . . . . 8 ((𝜑𝑖 = 0) → 𝑖 < 3)
163 biimt 360 . . . . . . . 8 (𝑖 < 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
164162, 163syl 17 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
165 fveq2 6756 . . . . . . . . . 10 (𝑖 = 0 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘0))
166 s4fv0 14536 . . . . . . . . . . 11 (𝐴𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
1679, 166syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
168165, 167sylan9eqr 2801 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐴)
169 s4fv3 14539 . . . . . . . . . . 11 (𝐷𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
17012, 169syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
171170adantr 480 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
172168, 171oveq12d 7273 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐴 𝐷))
173 fveq2 6756 . . . . . . . . . 10 (𝑖 = 0 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘0))
174 s4fv0 14536 . . . . . . . . . . 11 (𝑊𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
17520, 174syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
176173, 175sylan9eqr 2801 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑊)
177 s4fv3 14539 . . . . . . . . . . 11 (𝑍𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
17823, 177syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
179178adantr 480 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
180176, 179oveq12d 7273 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑊 𝑍))
181172, 180eqeq12d 2754 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
182164, 181bitr3d 280 . . . . . 6 ((𝜑𝑖 = 0) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
183 1lt3 12076 . . . . . . . . . 10 1 < 3
184 breq1 5073 . . . . . . . . . 10 (𝑖 = 1 → (𝑖 < 3 ↔ 1 < 3))
185183, 184mpbiri 257 . . . . . . . . 9 (𝑖 = 1 → 𝑖 < 3)
186185adantl 481 . . . . . . . 8 ((𝜑𝑖 = 1) → 𝑖 < 3)
187186, 163syl 17 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
188 fveq2 6756 . . . . . . . . . 10 (𝑖 = 1 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘1))
189 s4fv1 14537 . . . . . . . . . . 11 (𝐵𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
19010, 189syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
191188, 190sylan9eqr 2801 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐵)
192170adantr 480 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
193191, 192oveq12d 7273 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐵 𝐷))
194 fveq2 6756 . . . . . . . . . 10 (𝑖 = 1 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘1))
195 s4fv1 14537 . . . . . . . . . . 11 (𝑋𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
19621, 195syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
197194, 196sylan9eqr 2801 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑋)
198178adantr 480 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
199197, 198oveq12d 7273 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑋 𝑍))
200193, 199eqeq12d 2754 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
201187, 200bitr3d 280 . . . . . 6 ((𝜑𝑖 = 1) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
202 2lt3 12075 . . . . . . . . . 10 2 < 3
203 breq1 5073 . . . . . . . . . 10 (𝑖 = 2 → (𝑖 < 3 ↔ 2 < 3))
204202, 203mpbiri 257 . . . . . . . . 9 (𝑖 = 2 → 𝑖 < 3)
205204adantl 481 . . . . . . . 8 ((𝜑𝑖 = 2) → 𝑖 < 3)
206205, 163syl 17 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
207 fveq2 6756 . . . . . . . . . 10 (𝑖 = 2 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘2))
208 s4fv2 14538 . . . . . . . . . . 11 (𝐶𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
20911, 208syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
210207, 209sylan9eqr 2801 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐶)
211170adantr 480 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
212210, 211oveq12d 7273 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐶 𝐷))
213 fveq2 6756 . . . . . . . . . 10 (𝑖 = 2 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘2))
214 s4fv2 14538 . . . . . . . . . . 11 (𝑌𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
21522, 214syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
216213, 215sylan9eqr 2801 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑌)
217178adantr 480 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
218216, 217oveq12d 7273 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑌 𝑍))
219212, 218eqeq12d 2754 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
220206, 219bitr3d 280 . . . . . 6 ((𝜑𝑖 = 2) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
221 0red 10909 . . . . . 6 (𝜑 → 0 ∈ ℝ)
222 1red 10907 . . . . . 6 (𝜑 → 1 ∈ ℝ)
223 2re 11977 . . . . . . 7 2 ∈ ℝ
224223a1i 11 . . . . . 6 (𝜑 → 2 ∈ ℝ)
225182, 201, 220, 221, 222, 224raltpd 4714 . . . . 5 (𝜑 → (∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
226158, 225syl5bb 282 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
227156, 226anbi12d 630 . . 3 (𝜑 → ((∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
22895, 227syl5bb 282 . 2 (𝜑 → (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
22931, 94, 2283bitrd 304 1 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wtru 1540  wfal 1551  wcel 2108  wne 2942  wral 3063  cun 3881  wss 3883  c0 4253  {csn 4558  {ctp 4562   class class class wbr 5070  dom cdm 5580  wf 6414  cfv 6418  (class class class)co 7255  cr 10801  0cc0 10802  1c1 10803   + caddc 10805   < clt 10940  cn 11903  2c2 11958  3c3 11959  4c4 11960  0cn0 12163  cuz 12511  ..^cfzo 13311  chash 13972  Word cword 14145   ++ cconcat 14201  ⟨“cs1 14228  ⟨“cs3 14483  ⟨“cs4 14484  Basecbs 16840  distcds 16897  TarskiGcstrkg 26693  Itvcitv 26699  cgrGccgrg 26775
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-pm 8576  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-card 9628  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-3 11967  df-4 11968  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169  df-fzo 13312  df-hash 13973  df-word 14146  df-concat 14202  df-s1 14229  df-s2 14489  df-s3 14490  df-s4 14491  df-trkgc 26713  df-trkgcb 26715  df-trkg 26718  df-cgrg 26776
This theorem is referenced by:  cgrg3col4  27118
  Copyright terms: Public domain W3C validator