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

Theorem tgcgr4 25646
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 12763 . . . . 5 (0..^4) ⊆ ℕ0
6 nn0ssre 11508 . . . . 5 0 ⊆ ℝ
75, 6sstri 3753 . . . 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 13838 . . . . 5 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃)
14 wrdf 13516 . . . . 5 (⟨“𝐴𝐵𝐶𝐷”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
1513, 14syl 17 . . . 4 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃)
16 s4len 13864 . . . . . 6 (♯‘⟨“𝐴𝐵𝐶𝐷”⟩) = 4
1716oveq2i 6825 . . . . 5 (0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩)) = (0..^4)
1817feq2i 6198 . . . 4 (⟨“𝐴𝐵𝐶𝐷”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶𝐷”⟩))⟶𝑃 ↔ ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃)
1915, 18sylib 208 . . 3 (𝜑 → ⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃)
20 tgcgr4.w . . . . . 6 (𝜑𝑊𝑃)
21 tgcgr4.x . . . . . 6 (𝜑𝑋𝑃)
22 tgcgr4.y . . . . . 6 (𝜑𝑌𝑃)
23 tgcgr4.z . . . . . 6 (𝜑𝑍𝑃)
2420, 21, 22, 23s4cld 13838 . . . . 5 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃)
25 wrdf 13516 . . . . 5 (⟨“𝑊𝑋𝑌𝑍”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
2624, 25syl 17 . . . 4 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃)
27 s4len 13864 . . . . . 6 (♯‘⟨“𝑊𝑋𝑌𝑍”⟩) = 4
2827oveq2i 6825 . . . . 5 (0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩)) = (0..^4)
2928feq2i 6198 . . . 4 (⟨“𝑊𝑋𝑌𝑍”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌𝑍”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
3026, 29sylib 208 . . 3 (𝜑 → ⟨“𝑊𝑋𝑌𝑍”⟩:(0..^4)⟶𝑃)
311, 2, 3, 4, 8, 19, 30iscgrglt 25629 . 2 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
32 fdm 6212 . . . . . . . 8 (⟨“𝐴𝐵𝐶𝐷”⟩:(0..^4)⟶𝑃 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = (0..^4))
3319, 32syl 17 . . . . . . 7 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = (0..^4))
34 3p1e4 11365 . . . . . . . . 9 (3 + 1) = 4
3534oveq2i 6825 . . . . . . . 8 (0..^(3 + 1)) = (0..^4)
36 3nn0 11522 . . . . . . . . . 10 3 ∈ ℕ0
37 nn0uz 11935 . . . . . . . . . 10 0 = (ℤ‘0)
3836, 37eleqtri 2837 . . . . . . . . 9 3 ∈ (ℤ‘0)
39 fzosplitsn 12790 . . . . . . . . 9 (3 ∈ (ℤ‘0) → (0..^(3 + 1)) = ((0..^3) ∪ {3}))
4038, 39ax-mp 5 . . . . . . . 8 (0..^(3 + 1)) = ((0..^3) ∪ {3})
4135, 40eqtr3i 2784 . . . . . . 7 (0..^4) = ((0..^3) ∪ {3})
4233, 41syl6eq 2810 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶𝐷”⟩ = ((0..^3) ∪ {3}))
4342raleqdv 3283 . . . . 5 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ ((0..^3) ∪ {3})(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)))))
44 breq2 4808 . . . . . . . 8 (𝑗 = 3 → (𝑖 < 𝑗𝑖 < 3))
45 fveq2 6353 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶𝐷”⟩‘3))
4645oveq2d 6830 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)))
47 fveq2 6353 . . . . . . . . . 10 (𝑗 = 3 → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌𝑍”⟩‘3))
4847oveq2d 6830 . . . . . . . . 9 (𝑗 = 3 → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
4946, 48eqeq12d 2775 . . . . . . . 8 (𝑗 = 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))
5044, 49imbi12d 333 . . . . . . 7 (𝑗 = 3 → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
5150ralunsn 4574 . . . . . 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 276 . . . 4 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5453ralbidv 3124 . . 3 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
5542raleqdv 3283 . . . 4 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
56 fzo0ssnn0 12763 . . . . . . . . . . . . . . . 16 (0..^3) ⊆ ℕ0
5756, 6sstri 3753 . . . . . . . . . . . . . . 15 (0..^3) ⊆ ℝ
58 simpr 479 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ (0..^3))
5957, 58sseldi 3742 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 ∈ ℝ)
60 simpl 474 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 = 3)
616, 36sselii 3741 . . . . . . . . . . . . . . 15 3 ∈ ℝ
6260, 61syl6eqel 2847 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑖 ∈ ℝ)
63 elfzolt2 12693 . . . . . . . . . . . . . . . 16 (𝑗 ∈ (0..^3) → 𝑗 < 3)
6463adantl 473 . . . . . . . . . . . . . . 15 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 3)
6564, 60breqtrrd 4832 . . . . . . . . . . . . . 14 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → 𝑗 < 𝑖)
66 ltnsym 10347 . . . . . . . . . . . . . . 15 ((𝑗 ∈ ℝ ∧ 𝑖 ∈ ℝ) → (𝑗 < 𝑖 → ¬ 𝑖 < 𝑗))
6766imp 444 . . . . . . . . . . . . . 14 (((𝑗 ∈ ℝ ∧ 𝑖 ∈ ℝ) ∧ 𝑗 < 𝑖) → ¬ 𝑖 < 𝑗)
6859, 62, 65, 67syl21anc 1476 . . . . . . . . . . . . 13 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ¬ 𝑖 < 𝑗)
6968pm2.21d 118 . . . . . . . . . . . 12 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))))
70 tbtru 1643 . . . . . . . . . . . 12 ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
7169, 70sylib 208 . . . . . . . . . . 11 ((𝑖 = 3 ∧ 𝑗 ∈ (0..^3)) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
7271ralbidva 3123 . . . . . . . . . 10 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)⊤))
73 3nn 11398 . . . . . . . . . . . . 13 3 ∈ ℕ
74 lbfzo0 12722 . . . . . . . . . . . . 13 (0 ∈ (0..^3) ↔ 3 ∈ ℕ)
7573, 74mpbir 221 . . . . . . . . . . . 12 0 ∈ (0..^3)
7675ne0ii 4066 . . . . . . . . . . 11 (0..^3) ≠ ∅
77 r19.3rzv 4208 . . . . . . . . . . 11 ((0..^3) ≠ ∅ → (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤))
7876, 77ax-mp 5 . . . . . . . . . 10 (⊤ ↔ ∀𝑗 ∈ (0..^3)⊤)
7972, 78syl6bbr 278 . . . . . . . . 9 (𝑖 = 3 → (∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⊤))
80 breq1 4807 . . . . . . . . . . . 12 (𝑖 = 3 → (𝑖 < 3 ↔ 3 < 3))
8161ltnri 10358 . . . . . . . . . . . . 13 ¬ 3 < 3
8281bifal 1646 . . . . . . . . . . . 12 (3 < 3 ↔ ⊥)
8380, 82syl6bb 276 . . . . . . . . . . 11 (𝑖 = 3 → (𝑖 < 3 ↔ ⊥))
8483imbi1d 330 . . . . . . . . . 10 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
85 falim 1647 . . . . . . . . . . 11 (⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))
8685bitru 1645 . . . . . . . . . 10 ((⊥ → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤)
8784, 86syl6bb 276 . . . . . . . . 9 (𝑖 = 3 → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ⊤))
8879, 87anbi12d 749 . . . . . . . 8 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⊤ ∧ ⊤)))
89 anidm 679 . . . . . . . 8 ((⊤ ∧ ⊤) ↔ ⊤)
9088, 89syl6bb 276 . . . . . . 7 (𝑖 = 3 → ((∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ⊤))
9190ralunsn 4574 . . . . . 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 465 . . . . 5 ((∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ∧ ⊤) ↔ (⊤ ∧ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
94 truan 1650 . . . . 5 ((⊤ ∧ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
9592, 93, 943bitri 286 . . . 4 (∀𝑖 ∈ ((0..^3) ∪ {3})(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
9655, 95syl6bb 276 . . 3 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
9754, 96bitrd 268 . 2 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶𝐷”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))))))
98 r19.26 3202 . . 3 (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
999, 10, 11s3cld 13837 . . . . . . . . 9 (𝜑 → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
100 wrdf 13516 . . . . . . . . 9 (⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 → ⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
10199, 100syl 17 . . . . . . . 8 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃)
102 s3len 13859 . . . . . . . . . 10 (♯‘⟨“𝐴𝐵𝐶”⟩) = 3
103102oveq2i 6825 . . . . . . . . 9 (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)) = (0..^3)
104103feq2i 6198 . . . . . . . 8 (⟨“𝐴𝐵𝐶”⟩:(0..^(♯‘⟨“𝐴𝐵𝐶”⟩))⟶𝑃 ↔ ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
105101, 104sylib 208 . . . . . . 7 (𝜑 → ⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃)
106 fdm 6212 . . . . . . 7 (⟨“𝐴𝐵𝐶”⟩:(0..^3)⟶𝑃 → dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3))
107105, 106syl 17 . . . . . 6 (𝜑 → dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3))
108 raleq 3277 . . . . . . 7 (dom ⟨“𝐴𝐵𝐶”⟩ = (0..^3) → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
109105, 106, 1083syl 18 . . . . . 6 (𝜑 → (∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
110107, 109raleqbidv 3291 . . . . 5 (𝜑 → (∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
11157a1i 11 . . . . . 6 (𝜑 → (0..^3) ⊆ ℝ)
11220, 21, 22s3cld 13837 . . . . . . . 8 (𝜑 → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
113 wrdf 13516 . . . . . . . 8 (⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 → ⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
114112, 113syl 17 . . . . . . 7 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃)
115 s3len 13859 . . . . . . . . 9 (♯‘⟨“𝑊𝑋𝑌”⟩) = 3
116115oveq2i 6825 . . . . . . . 8 (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)) = (0..^3)
117116feq2i 6198 . . . . . . 7 (⟨“𝑊𝑋𝑌”⟩:(0..^(♯‘⟨“𝑊𝑋𝑌”⟩))⟶𝑃 ↔ ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
118114, 117sylib 208 . . . . . 6 (𝜑 → ⟨“𝑊𝑋𝑌”⟩:(0..^3)⟶𝑃)
1191, 2, 3, 4, 111, 105, 118iscgrglt 25629 . . . . 5 (𝜑 → (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ↔ ∀𝑖 ∈ dom ⟨“𝐴𝐵𝐶”⟩∀𝑗 ∈ dom ⟨“𝐴𝐵𝐶”⟩(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
120 df-s4 13815 . . . . . . . . . . 11 ⟨“𝐴𝐵𝐶𝐷”⟩ = (⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)
121120fveq1i 6354 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖)
1229adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐴𝑃)
12310adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐵𝑃)
12411adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐶𝑃)
125122, 123, 124s3cld 13837 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃)
12612adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝐷𝑃)
127126s1cld 13593 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝐷”⟩ ∈ Word 𝑃)
128 simprl 811 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^3))
129128, 103syl6eleqr 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)))
130 ccatval1 13569 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
131125, 127, 129, 130syl3anc 1477 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
132121, 131syl5eq 2806 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶”⟩‘𝑖))
133120fveq1i 6354 . . . . . . . . . 10 (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗)
134 simprr 813 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^3))
135134, 103syl6eleqr 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩)))
136 ccatval1 13569 . . . . . . . . . . 11 ((⟨“𝐴𝐵𝐶”⟩ ∈ Word 𝑃 ∧ ⟨“𝐷”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(♯‘⟨“𝐴𝐵𝐶”⟩))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
137125, 127, 135, 136syl3anc 1477 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶”⟩ ++ ⟨“𝐷”⟩)‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
138133, 137syl5eq 2806 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗) = (⟨“𝐴𝐵𝐶”⟩‘𝑗))
139132, 138oveq12d 6832 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)))
140 df-s4 13815 . . . . . . . . . . 11 ⟨“𝑊𝑋𝑌𝑍”⟩ = (⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)
141140fveq1i 6354 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖)
14220adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑊𝑃)
14321adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑋𝑃)
14422adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑌𝑃)
145142, 143, 144s3cld 13837 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃)
14623adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑍𝑃)
147146s1cld 13593 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ⟨“𝑍”⟩ ∈ Word 𝑃)
148128, 116syl6eleqr 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑖 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)))
149 ccatval1 13569 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑖 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
150145, 147, 148, 149syl3anc 1477 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
151141, 150syl5eq 2806 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌”⟩‘𝑖))
152140fveq1i 6354 . . . . . . . . . 10 (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗)
153134, 116syl6eleqr 2850 . . . . . . . . . . 11 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → 𝑗 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩)))
154 ccatval1 13569 . . . . . . . . . . 11 ((⟨“𝑊𝑋𝑌”⟩ ∈ Word 𝑃 ∧ ⟨“𝑍”⟩ ∈ Word 𝑃𝑗 ∈ (0..^(♯‘⟨“𝑊𝑋𝑌”⟩))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
155145, 147, 153, 154syl3anc 1477 . . . . . . . . . 10 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌”⟩ ++ ⟨“𝑍”⟩)‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
156152, 155syl5eq 2806 . . . . . . . . 9 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗) = (⟨“𝑊𝑋𝑌”⟩‘𝑗))
157151, 156oveq12d 6832 . . . . . . . 8 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))
158139, 157eqeq12d 2775 . . . . . . 7 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗)) ↔ ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗))))
159158imbi2d 329 . . . . . 6 ((𝜑 ∧ (𝑖 ∈ (0..^3) ∧ 𝑗 ∈ (0..^3))) → ((𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ (𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
1601592ralbidva 3126 . . . . 5 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶”⟩‘𝑖) (⟨“𝐴𝐵𝐶”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌”⟩‘𝑖) (⟨“𝑊𝑋𝑌”⟩‘𝑗)))))
161110, 119, 1603bitr4rd 301 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ↔ ⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩))
162 fzo0to3tp 12768 . . . . . 6 (0..^3) = {0, 1, 2}
163 raleq 3277 . . . . . 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 11326 . . . . . . . . . 10 0 < 3
166 breq1 4807 . . . . . . . . . 10 (𝑖 = 0 → (𝑖 < 3 ↔ 0 < 3))
167165, 166mpbiri 248 . . . . . . . . 9 (𝑖 = 0 → 𝑖 < 3)
168167adantl 473 . . . . . . . 8 ((𝜑𝑖 = 0) → 𝑖 < 3)
169 biimt 349 . . . . . . . 8 (𝑖 < 3 → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
170168, 169syl 17 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
171 simpr 479 . . . . . . . . . . 11 ((𝜑𝑖 = 0) → 𝑖 = 0)
172171fveq2d 6357 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘0))
173 s4fv0 13860 . . . . . . . . . . . 12 (𝐴𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
1749, 173syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
175174adantr 472 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘0) = 𝐴)
176172, 175eqtrd 2794 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐴)
177 s4fv3 13863 . . . . . . . . . . 11 (𝐷𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
17812, 177syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
179178adantr 472 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
180176, 179oveq12d 6832 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐴 𝐷))
181171fveq2d 6357 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘0))
182 s4fv0 13860 . . . . . . . . . . . 12 (𝑊𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
18320, 182syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
184183adantr 472 . . . . . . . . . 10 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘0) = 𝑊)
185181, 184eqtrd 2794 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑊)
186 s4fv3 13863 . . . . . . . . . . 11 (𝑍𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
18723, 186syl 17 . . . . . . . . . 10 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
188187adantr 472 . . . . . . . . 9 ((𝜑𝑖 = 0) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
189185, 188oveq12d 6832 . . . . . . . 8 ((𝜑𝑖 = 0) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑊 𝑍))
190180, 189eqeq12d 2775 . . . . . . 7 ((𝜑𝑖 = 0) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
191170, 190bitr3d 270 . . . . . 6 ((𝜑𝑖 = 0) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐴 𝐷) = (𝑊 𝑍)))
192 1lt3 11408 . . . . . . . . . 10 1 < 3
193 breq1 4807 . . . . . . . . . 10 (𝑖 = 1 → (𝑖 < 3 ↔ 1 < 3))
194192, 193mpbiri 248 . . . . . . . . 9 (𝑖 = 1 → 𝑖 < 3)
195194adantl 473 . . . . . . . 8 ((𝜑𝑖 = 1) → 𝑖 < 3)
196195, 169syl 17 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
197 simpr 479 . . . . . . . . . . 11 ((𝜑𝑖 = 1) → 𝑖 = 1)
198197fveq2d 6357 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘1))
199 s4fv1 13861 . . . . . . . . . . . 12 (𝐵𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
20010, 199syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
201200adantr 472 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘1) = 𝐵)
202198, 201eqtrd 2794 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐵)
203178adantr 472 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
204202, 203oveq12d 6832 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐵 𝐷))
205197fveq2d 6357 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘1))
206 s4fv1 13861 . . . . . . . . . . . 12 (𝑋𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
20721, 206syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
208207adantr 472 . . . . . . . . . 10 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘1) = 𝑋)
209205, 208eqtrd 2794 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑋)
210187adantr 472 . . . . . . . . 9 ((𝜑𝑖 = 1) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
211209, 210oveq12d 6832 . . . . . . . 8 ((𝜑𝑖 = 1) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑋 𝑍))
212204, 211eqeq12d 2775 . . . . . . 7 ((𝜑𝑖 = 1) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
213196, 212bitr3d 270 . . . . . 6 ((𝜑𝑖 = 1) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐵 𝐷) = (𝑋 𝑍)))
214 2lt3 11407 . . . . . . . . . 10 2 < 3
215 breq1 4807 . . . . . . . . . 10 (𝑖 = 2 → (𝑖 < 3 ↔ 2 < 3))
216214, 215mpbiri 248 . . . . . . . . 9 (𝑖 = 2 → 𝑖 < 3)
217216adantl 473 . . . . . . . 8 ((𝜑𝑖 = 2) → 𝑖 < 3)
218217, 169syl 17 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))))
219 simpr 479 . . . . . . . . . . 11 ((𝜑𝑖 = 2) → 𝑖 = 2)
220219fveq2d 6357 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = (⟨“𝐴𝐵𝐶𝐷”⟩‘2))
221 s4fv2 13862 . . . . . . . . . . . 12 (𝐶𝑃 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
22211, 221syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
223222adantr 472 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘2) = 𝐶)
224220, 223eqtrd 2794 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) = 𝐶)
225178adantr 472 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝐴𝐵𝐶𝐷”⟩‘3) = 𝐷)
226224, 225oveq12d 6832 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = (𝐶 𝐷))
227219fveq2d 6357 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = (⟨“𝑊𝑋𝑌𝑍”⟩‘2))
228 s4fv2 13862 . . . . . . . . . . . 12 (𝑌𝑃 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
22922, 228syl 17 . . . . . . . . . . 11 (𝜑 → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
230229adantr 472 . . . . . . . . . 10 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘2) = 𝑌)
231227, 230eqtrd 2794 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) = 𝑌)
232187adantr 472 . . . . . . . . 9 ((𝜑𝑖 = 2) → (⟨“𝑊𝑋𝑌𝑍”⟩‘3) = 𝑍)
233231, 232oveq12d 6832 . . . . . . . 8 ((𝜑𝑖 = 2) → ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) = (𝑌 𝑍))
234226, 233eqeq12d 2775 . . . . . . 7 ((𝜑𝑖 = 2) → (((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
235218, 234bitr3d 270 . . . . . 6 ((𝜑𝑖 = 2) → ((𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ (𝐶 𝐷) = (𝑌 𝑍)))
236 0red 10253 . . . . . 6 (𝜑 → 0 ∈ ℝ)
237 1red 10267 . . . . . 6 (𝜑 → 1 ∈ ℝ)
238 2re 11302 . . . . . . 7 2 ∈ ℝ
239238a1i 11 . . . . . 6 (𝜑 → 2 ∈ ℝ)
240191, 213, 235, 236, 237, 239raltpd 4458 . . . . 5 (𝜑 → (∀𝑖 ∈ {0, 1, 2} (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
241164, 240bitrd 268 . . . 4 (𝜑 → (∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3))) ↔ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍))))
242161, 241anbi12d 749 . . 3 (𝜑 → ((∀𝑖 ∈ (0..^3)∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ ∀𝑖 ∈ (0..^3)(𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
24398, 242syl5bb 272 . 2 (𝜑 → (∀𝑖 ∈ (0..^3)(∀𝑗 ∈ (0..^3)(𝑖 < 𝑗 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘𝑗)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘𝑗))) ∧ (𝑖 < 3 → ((⟨“𝐴𝐵𝐶𝐷”⟩‘𝑖) (⟨“𝐴𝐵𝐶𝐷”⟩‘3)) = ((⟨“𝑊𝑋𝑌𝑍”⟩‘𝑖) (⟨“𝑊𝑋𝑌𝑍”⟩‘3)))) ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
24431, 97, 2433bitrd 294 1 (𝜑 → (⟨“𝐴𝐵𝐶𝐷”⟩ ⟨“𝑊𝑋𝑌𝑍”⟩ ↔ (⟨“𝐴𝐵𝐶”⟩ ⟨“𝑊𝑋𝑌”⟩ ∧ ((𝐴 𝐷) = (𝑊 𝑍) ∧ (𝐵 𝐷) = (𝑋 𝑍) ∧ (𝐶 𝐷) = (𝑌 𝑍)))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 383  w3a 1072   = wceq 1632  wtru 1633  wfal 1637  wcel 2139  wne 2932  wral 3050  cun 3713  wss 3715  c0 4058  {csn 4321  {ctp 4325   class class class wbr 4804  dom cdm 5266  wf 6045  cfv 6049  (class class class)co 6814  cr 10147  0cc0 10148  1c1 10149   + caddc 10151   < clt 10286  cn 11232  2c2 11282  3c3 11283  4c4 11284  0cn0 11504  cuz 11899  ..^cfzo 12679  chash 13331  Word cword 13497   ++ cconcat 13499  ⟨“cs1 13500  ⟨“cs3 13807  ⟨“cs4 13808  Basecbs 16079  distcds 16172  TarskiGcstrkg 25549  Itvcitv 25555  cgrGccgrg 25625
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7115  ax-cnex 10204  ax-resscn 10205  ax-1cn 10206  ax-icn 10207  ax-addcl 10208  ax-addrcl 10209  ax-mulcl 10210  ax-mulrcl 10211  ax-mulcom 10212  ax-addass 10213  ax-mulass 10214  ax-distr 10215  ax-i2m1 10216  ax-1ne0 10217  ax-1rid 10218  ax-rnegex 10219  ax-rrecex 10220  ax-cnre 10221  ax-pre-lttri 10222  ax-pre-lttrn 10223  ax-pre-ltadd 10224  ax-pre-mulgt0 10225
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1635  df-fal 1638  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-nel 3036  df-ral 3055  df-rex 3056  df-reu 3057  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-int 4628  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-pred 5841  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-riota 6775  df-ov 6817  df-oprab 6818  df-mpt2 6819  df-om 7232  df-1st 7334  df-2nd 7335  df-wrecs 7577  df-recs 7638  df-rdg 7676  df-1o 7730  df-oadd 7734  df-er 7913  df-pm 8028  df-en 8124  df-dom 8125  df-sdom 8126  df-fin 8127  df-card 8975  df-pnf 10288  df-mnf 10289  df-xr 10290  df-ltxr 10291  df-le 10292  df-sub 10480  df-neg 10481  df-nn 11233  df-2 11291  df-3 11292  df-4 11293  df-n0 11505  df-z 11590  df-uz 11900  df-fz 12540  df-fzo 12680  df-hash 13332  df-word 13505  df-concat 13507  df-s1 13508  df-s2 13813  df-s3 13814  df-s4 13815  df-trkgc 25567  df-trkgcb 25569  df-trkg 25572  df-cgrg 25626
This theorem is referenced by:  cgrg3col4  25954
  Copyright terms: Public domain W3C validator