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

Theorem tgcgr4 25144
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 12370 . . . . 5 (0..^4) ⊆ ℕ0
6 nn0ssre 11143 . . . . 5 0 ⊆ ℝ
75, 6sstri 3576 . . . 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 13414 . . . . 5 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃)
14 wrdf 13111 . . . . 5 (⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(#‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
1513, 14syl 17 . . . 4 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(#‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
16 s4len 13440 . . . . . 6 (#‘⟨“𝐴𝐵𝐶𝐷”⟩) = 4
1716oveq2i 6538 . . . . 5 (0..^(#‘⟨“𝐴𝐵𝐶𝐷”⟩)) = (0..^4)
1817feq2i 5936 . . . 4 (⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(#‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃 ↔ ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃)
1915, 18sylib 206 . . 3 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃)
20 tgcgr4.w . . . . . 6 (𝜑𝑊𝑃)
21 tgcgr4.x . . . . . 6 (𝜑𝑋𝑃)
22 tgcgr4.y . . . . . 6 (𝜑𝑌𝑃)
23 tgcgr4.z . . . . . 6 (𝜑𝑍𝑃)
2420, 21, 22, 23s4cld 13414 . . . . 5 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃)
25 wrdf 13111 . . . . 5 (⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(#‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
2624, 25syl 17 . . . 4 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(#‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
27 s4len 13440 . . . . . 6 (#‘⟨“𝑊𝑋𝑌𝑍”⟩) = 4
2827oveq2i 6538 . . . . 5 (0..^(#‘⟨“𝑊𝑋𝑌𝑍”⟩)) = (0..^4)
2928feq2i 5936 . . . 4 (⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(#‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
3026, 29sylib 206 . . 3 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
311, 2, 3, 4, 8, 19, 30iscgrglt 25127 . 2 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
32 fdm 5950 . . . . . . . 8 (⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = (0..^4))
3319, 32syl 17 . . . . . . 7 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = (0..^4))
34 3p1e4 11000 . . . . . . . . 9 (3 + 1) = 4
3534oveq2i 6538 . . . . . . . 8 (0..^(3 + 1)) = (0..^4)
36 3nn0 11157 . . . . . . . . . 10 3 ∈ ℕ0
37 nn0uz 11554 . . . . . . . . . 10 0 = (ℤ‘0)
3836, 37eleqtri 2685 . . . . . . . . 9 3 ∈ (ℤ‘0)
39 fzosplitsn 12397 . . . . . . . . 9 (3 ∈ (ℤ‘0) → (0..^(3 + 1)) = ((0..^3) ∪ {3}))
4038, 39ax-mp 5 . . . . . . . 8 (0..^(3 + 1)) = ((0..^3) ∪ {3})
4135, 40eqtr3i 2633 . . . . . . 7 (0..^4) = ((0..^3) ∪ {3})
4233, 41syl6eq 2659 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = ((0..^3) ∪ {3}))
4342raleqdv 3120 . . . . 5 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
44 breq2 4581 . . . . . . . 8 (𝑗 = 3 → (𝑖 < 𝑗𝑖 < 3))
45 fveq2 6088 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶𝐷”⟩‘3))
4645oveq2d 6543 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)))
47 fveq2 6088 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌𝑍”⟩‘3))
4847oveq2d 6543 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
4946, 48eqeq12d 2624 . . . . . . . 8 (𝑗 = 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))
5044, 49imbi12d 332 . . . . . . 7 (𝑗 = 3 → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
5150ralunsn 4354 . . . . . 6 (3 ∈ ℕ0 → (∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5236, 51ax-mp 5 . . . . 5 (∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
5343, 52syl6bb 274 . . . 4 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5453ralbidv 2968 . . 3 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5542raleqdv 3120 . . . 4 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
56 fzo0ssnn0 12370 . . . . . . . . . . . . . . . 16 (0..^3) ⊆ ℕ0
5756, 6sstri 3576 . . . . . . . . . . . . . . 15 (0..^3) ⊆ ℝ
58 simpr 475 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ (0..^3))
5957, 58sseldi 3565 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ ℝ)
60 simpl 471 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 = 3)
616, 36sselii 3564 . . . . . . . . . . . . . . 15 3 ∈ ℝ
6260, 61syl6eqel 2695 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 ∈ ℝ)
63 elfzolt2 12303 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (0..^3) → 𝑗 < 3)
6463adantl 480 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 3)
6564, 60breqtrrd 4605 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 𝑖)
66 ltnsym 9986 . . . . . . . . . . . . . . 15 ((𝑗 ∈ ℝ ∧ 𝑖 ∈ ℝ) → (𝑗 < 𝑖 → ¬ 𝑖 < 𝑗))
6766imp 443 . . . . . . . . . . . . . 14 (((𝑗 ∈ ℝ ∧ 𝑖 ∈ ℝ) ∧ 𝑗 < 𝑖) → ¬ 𝑖 < 𝑗)
6859, 62, 65, 67syl21anc 1316 . . . . . . . . . . . . 13 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ¬ 𝑖 < 𝑗)
6968pm2.21d 116 . . . . . . . . . . . 12 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))))
70 tbtru 1484 . . . . . . . . . . . 12 ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
7169, 70sylib 206 . . . . . . . . . . 11 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
7271ralbidva 2967 . . . . . . . . . 10 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)⊤))
73 3nn 11033 . . . . . . . . . . . . 13 3 ∈ ℕ
74 lbfzo0 12330 . . . . . . . . . . . . 13 (0 ∈ (0..^3) ↔ 3 ∈ ℕ)
7573, 74mpbir 219 . . . . . . . . . . . 12 0 ∈ (0..^3)
7675ne0ii 3881 . . . . . . . . . . 11 (0..^3) ≠ ∅
77 r19.3rzv 4015 . . . . . . . . . . 11 ((0..^3) ≠ ∅ → (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤))
7876, 77ax-mp 5 . . . . . . . . . 10 (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤)
7972, 78syl6bbr 276 . . . . . . . . 9 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
80 breq1 4580 . . . . . . . . . . . 12 (𝑖 = 3 → (𝑖 < 3 ↔ 3 < 3))
8161ltnri 9997 . . . . . . . . . . . . 13 ¬ 3 < 3
8281bifal 1487 . . . . . . . . . . . 12 (3 < 3 ↔ ⊥)
8380, 82syl6bb 274 . . . . . . . . . . 11 (𝑖 = 3 → (𝑖 < 3 ↔ ⊥))
8483imbi1d 329 . . . . . . . . . 10 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
85 falim 1488 . . . . . . . . . . 11 (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
8685bitru 1486 . . . . . . . . . 10 ((⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤)
8784, 86syl6bb 274 . . . . . . . . 9 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤))
8879, 87anbi12d 742 . . . . . . . 8 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⊤ ∧ ⊤)))
89 anidm 673 . . . . . . . 8 ((⊤ ∧ ⊤) ↔ ⊤)
9088, 89syl6bb 274 . . . . . . 7 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ⊤))
9190ralunsn 4354 . . . . . 6 (3 ∈ ℕ0 → (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ∧ ⊤)))
9236, 91ax-mp 5 . . . . 5 (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ∧ ⊤))
93 ancom 464 . . . . 5 ((∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ∧ ⊤) ↔ (⊤ ∧ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
94 truan 1491 . . . . 5 ((⊤ ∧ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
9592, 93, 943bitri 284 . . . 4 (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
9655, 95syl6bb 274 . . 3 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
9754, 96bitrd 266 . 2 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
98 r19.26 3045 . . 3 (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
999, 10, 11s3cld 13413 . . . . . . . . 9 (𝜑 → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
100 wrdf 13111 . . . . . . . . 9 (⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶”⟩:(0..^(#‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
10199, 100syl 17 . . . . . . . 8 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^(#‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
102 s3len 13435 . . . . . . . . . 10 (#‘⟨“𝐴𝐵𝐶”⟩) = 3
103102oveq2i 6538 . . . . . . . . 9 (0..^(#‘⟨“𝐴𝐵𝐶”⟩)) = (0..^3)
104103feq2i 5936 . . . . . . . 8 (⟨“𝐴𝐵𝐶”⟩:(0..^(#‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃 ↔ ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
105101, 104sylib 206 . . . . . . 7 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
106 fdm 5950 . . . . . . 7 (⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃 → dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3))
107105, 106syl 17 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3))
108 raleq 3114 . . . . . . 7 (dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3) → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
109105, 106, 1083syl 18 . . . . . 6 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
110107, 109raleqbidv 3128 . . . . 5 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
11157a1i 11 . . . . . 6 (𝜑 → (0..^3) ⊆ ℝ)
11220, 21, 22s3cld 13413 . . . . . . . 8 (𝜑 → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
113 wrdf 13111 . . . . . . . 8 (⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌”⟩:(0..^(#‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
114112, 113syl 17 . . . . . . 7 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^(#‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
115 s3len 13435 . . . . . . . . 9 (#‘⟨“𝑊𝑋𝑌”⟩) = 3
116115oveq2i 6538 . . . . . . . 8 (0..^(#‘⟨“𝑊𝑋𝑌”⟩)) = (0..^3)
117116feq2i 5936 . . . . . . 7 (⟨“𝑊𝑋𝑌”⟩:(0..^(#‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
118114, 117sylib 206 . . . . . 6 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
1191, 2, 3, 4, 111, 105, 118iscgrglt 25127 . . . . 5 (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
120 df-s4 13392 . . . . . . . . . . 11 ⟨“𝐴𝐵𝐶𝐷”⟩ = (⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)
121120fveq1i 6089 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖)
1229adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐴𝑃)
12310adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐵𝑃)
12411adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐶𝑃)
125122, 123, 124s3cld 13413 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
12612adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐷𝑃)
127126s1cld 13182 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐷”⟩ ∈ Word 𝑃)
128 simprl 789 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^3))
129128, 103syl6eleqr 2698 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(#‘⟨“𝐴𝐵𝐶”⟩)))
130 ccatval1 13160 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(#‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
131125, 127, 129, 130syl3anc 1317 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
132121, 131syl5eq 2655 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
133120fveq1i 6089 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗)
134 simprr 791 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^3))
135134, 103syl6eleqr 2698 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(#‘⟨“𝐴𝐵𝐶”⟩)))
136 ccatval1 13160 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(#‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
137125, 127, 135, 136syl3anc 1317 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
138133, 137syl5eq 2655 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
139132, 138oveq12d 6545 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)))
140 df-s4 13392 . . . . . . . . . . 11 ⟨“𝑊𝑋𝑌𝑍”⟩ = (⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)
141140fveq1i 6089 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖)
14220adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑊𝑃)
14321adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑋𝑃)
14422adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑌𝑃)
145142, 143, 144s3cld 13413 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
14623adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑍𝑃)
147146s1cld 13182 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑍”⟩ ∈ Word 𝑃)
148128, 116syl6eleqr 2698 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(#‘⟨“𝑊𝑋𝑌”⟩)))
149 ccatval1 13160 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(#‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
150145, 147, 148, 149syl3anc 1317 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
151141, 150syl5eq 2655 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
152140fveq1i 6089 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗)
153134, 116syl6eleqr 2698 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(#‘⟨“𝑊𝑋𝑌”⟩)))
154 ccatval1 13160 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(#‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
155145, 147, 153, 154syl3anc 1317 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
156152, 155syl5eq 2655 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
157151, 156oveq12d 6545 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))
158139, 157eqeq12d 2624 . . . . . . 7 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))))
159158imbi2d 328 . . . . . 6 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
1601592ralbidva 2970 . . . . 5 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
161110, 119, 1603bitr4rd 299 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩))
162 fzo0to3tp 12376 . . . . . 6 (0..^3) = {0, 1, 2}
163 raleq 3114 . . . . . 6 ((0..^3) = {0, 1, 2} → (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
164162, 163mp1i 13 . . . . 5 (𝜑 → (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
165 3pos 10961 . . . . . . . . . 10 0 < 3
166 breq1 4580 . . . . . . . . . 10 (𝑖 = 0 → (𝑖 < 3 ↔ 0 < 3))
167165, 166mpbiri 246 . . . . . . . . 9 (𝑖 = 0 → 𝑖 < 3)
168167adantl 480 . . . . . . . 8 ((𝜑𝑖 = 0) → 𝑖 < 3)
169 biimt 348 . . . . . . . 8 (𝑖 < 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
170168, 169syl 17 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
171 simpr 475 . . . . . . . . . . 11 ((𝜑𝑖 = 0) → 𝑖 = 0)
172171fveq2d 6092 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘0))
173 s4fv0 13436 . . . . . . . . . . . 12 (𝐴𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
1749, 173syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
175174adantr 479 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
176172, 175eqtrd 2643 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐴)
177 s4fv3 13439 . . . . . . . . . . 11 (𝐷𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
17812, 177syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
179178adantr 479 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
180176, 179oveq12d 6545 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐴 𝐷))
181171fveq2d 6092 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘0))
182 s4fv0 13436 . . . . . . . . . . . 12 (𝑊𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
18320, 182syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
184183adantr 479 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
185181, 184eqtrd 2643 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑊)
186 s4fv3 13439 . . . . . . . . . . 11 (𝑍𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
18723, 186syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
188187adantr 479 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
189185, 188oveq12d 6545 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑊 𝑍))
190180, 189eqeq12d 2624 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
191170, 190bitr3d 268 . . . . . 6 ((𝜑𝑖 = 0) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
192 1lt3 11043 . . . . . . . . . 10 1 < 3
193 breq1 4580 . . . . . . . . . 10 (𝑖 = 1 → (𝑖 < 3 ↔ 1 < 3))
194192, 193mpbiri 246 . . . . . . . . 9 (𝑖 = 1 → 𝑖 < 3)
195194adantl 480 . . . . . . . 8 ((𝜑𝑖 = 1) → 𝑖 < 3)
196195, 169syl 17 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
197 simpr 475 . . . . . . . . . . 11 ((𝜑𝑖 = 1) → 𝑖 = 1)
198197fveq2d 6092 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘1))
199 s4fv1 13437 . . . . . . . . . . . 12 (𝐵𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
20010, 199syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
201200adantr 479 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
202198, 201eqtrd 2643 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐵)
203178adantr 479 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
204202, 203oveq12d 6545 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐵 𝐷))
205197fveq2d 6092 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘1))
206 s4fv1 13437 . . . . . . . . . . . 12 (𝑋𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
20721, 206syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
208207adantr 479 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
209205, 208eqtrd 2643 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑋)
210187adantr 479 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
211209, 210oveq12d 6545 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑋 𝑍))
212204, 211eqeq12d 2624 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
213196, 212bitr3d 268 . . . . . 6 ((𝜑𝑖 = 1) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
214 2lt3 11042 . . . . . . . . . 10 2 < 3
215 breq1 4580 . . . . . . . . . 10 (𝑖 = 2 → (𝑖 < 3 ↔ 2 < 3))
216214, 215mpbiri 246 . . . . . . . . 9 (𝑖 = 2 → 𝑖 < 3)
217216adantl 480 . . . . . . . 8 ((𝜑𝑖 = 2) → 𝑖 < 3)
218217, 169syl 17 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
219 simpr 475 . . . . . . . . . . 11 ((𝜑𝑖 = 2) → 𝑖 = 2)
220219fveq2d 6092 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘2))
221 s4fv2 13438 . . . . . . . . . . . 12 (𝐶𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
22211, 221syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
223222adantr 479 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
224220, 223eqtrd 2643 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐶)
225178adantr 479 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
226224, 225oveq12d 6545 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐶 𝐷))
227219fveq2d 6092 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘2))
228 s4fv2 13438 . . . . . . . . . . . 12 (𝑌𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
22922, 228syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
230229adantr 479 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
231227, 230eqtrd 2643 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑌)
232187adantr 479 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
233231, 232oveq12d 6545 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑌 𝑍))
234226, 233eqeq12d 2624 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
235218, 234bitr3d 268 . . . . . 6 ((𝜑𝑖 = 2) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
236 0red 9897 . . . . . 6 (𝜑 → 0 ∈ ℝ)
237 1red 9911 . . . . . 6 (𝜑 → 1 ∈ ℝ)
238 2re 10937 . . . . . . 7 2 ∈ ℝ
239238a1i 11 . . . . . 6 (𝜑 → 2 ∈ ℝ)
240191, 213, 235, 236, 237, 239raltpd 4257 . . . . 5 (𝜑 → (∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
241164, 240bitrd 266 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
242161, 241anbi12d 742 . . 3 (𝜑 → ((∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
24398, 242syl5bb 270 . 2 (𝜑 → (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
24431, 97, 2433bitrd 292 1 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 194  wa 382  w3a 1030   = wceq 1474  wtru 1475  wfal 1479  wcel 1976  wne 2779  wral 2895  cun 3537  wss 3539  c0 3873  {csn 4124  {ctp 4128   class class class wbr 4577  dom cdm 5028  wf 5786  cfv 5790  (class class class)co 6527  cr 9791  0cc0 9792  1c1 9793   + caddc 9795   < clt 9930  cn 10867  2c2 10917  3c3 10918  4c4 10919  0cn0 11139  cuz 11519  ..^cfzo 12289  #chash 12934  Word cword 13092   ++ cconcat 13094  ⟨“cs1 13095  ⟨“cs3 13384  ⟨“cs4 13385  Basecbs 15641  distcds 15723  TarskiGcstrkg 25046  Itvcitv 25052  cgrGccgrg 25123
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-rep 4693  ax-sep 4703  ax-nul 4712  ax-pow 4764  ax-pr 4828  ax-un 6824  ax-cnex 9848  ax-resscn 9849  ax-1cn 9850  ax-icn 9851  ax-addcl 9852  ax-addrcl 9853  ax-mulcl 9854  ax-mulrcl 9855  ax-mulcom 9856  ax-addass 9857  ax-mulass 9858  ax-distr 9859  ax-i2m1 9860  ax-1ne0 9861  ax-1rid 9862  ax-rnegex 9863  ax-rrecex 9864  ax-cnre 9865  ax-pre-lttri 9866  ax-pre-lttrn 9867  ax-pre-ltadd 9868  ax-pre-mulgt0 9869
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3or 1031  df-3an 1032  df-tru 1477  df-fal 1480  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2461  df-mo 2462  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ne 2781  df-nel 2782  df-ral 2900  df-rex 2901  df-reu 2902  df-rab 2904  df-v 3174  df-sbc 3402  df-csb 3499  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-pss 3555  df-nul 3874  df-if 4036  df-pw 4109  df-sn 4125  df-pr 4127  df-tp 4129  df-op 4131  df-uni 4367  df-int 4405  df-iun 4451  df-br 4578  df-opab 4638  df-mpt 4639  df-tr 4675  df-eprel 4939  df-id 4943  df-po 4949  df-so 4950  df-fr 4987  df-we 4989  df-xp 5034  df-rel 5035  df-cnv 5036  df-co 5037  df-dm 5038  df-rn 5039  df-res 5040  df-ima 5041  df-pred 5583  df-ord 5629  df-on 5630  df-lim 5631  df-suc 5632  df-iota 5754  df-fun 5792  df-fn 5793  df-f 5794  df-f1 5795  df-fo 5796  df-f1o 5797  df-fv 5798  df-riota 6489  df-ov 6530  df-oprab 6531  df-mpt2 6532  df-om 6935  df-1st 7036  df-2nd 7037  df-wrecs 7271  df-recs 7332  df-rdg 7370  df-1o 7424  df-oadd 7428  df-er 7606  df-pm 7724  df-en 7819  df-dom 7820  df-sdom 7821  df-fin 7822  df-card 8625  df-pnf 9932  df-mnf 9933  df-xr 9934  df-ltxr 9935  df-le 9936  df-sub 10119  df-neg 10120  df-nn 10868  df-2 10926  df-3 10927  df-4 10928  df-n0 11140  df-z 11211  df-uz 11520  df-fz 12153  df-fzo 12290  df-hash 12935  df-word 13100  df-concat 13102  df-s1 13103  df-s2 13390  df-s3 13391  df-s4 13392  df-trkgc 25064  df-trkgcb 25066  df-trkg 25069  df-cgrg 25124
This theorem is referenced by:  cgrg3col4  25452
  Copyright terms: Public domain W3C validator