Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  1arithidomlem2 Structured version   Visualization version   GIF version

Theorem 1arithidomlem2 33348
Description: Lemma for 1arithidom 33349: induction step. (Contributed by Thierry Arnoux, 27-May-2025.)
Hypotheses
Ref Expression
1arithidom.u 𝑈 = (Unit‘𝑅)
1arithidom.i 𝑃 = (RPrime‘𝑅)
1arithidom.m 𝑀 = (mulGrp‘𝑅)
1arithidom.t · = (.r𝑅)
1arithidom.j 𝐽 = (0..^(♯‘𝐹))
1arithidom.r (𝜑𝑅 ∈ IDomn)
1arithidom.f (𝜑𝐹 ∈ Word 𝑃)
1arithidom.g (𝜑𝐺 ∈ Word 𝑃)
1arithidom.1 (𝜑 → (𝑀 Σg 𝐹) = (𝑀 Σg 𝐺))
1arithidomlem.1 (𝜑𝑄𝑃)
1arithidomlem.2 (𝜑 → ∀𝑔 ∈ Word 𝑃(∃𝑘𝑈 (𝑀 Σg 𝐹) = (𝑘 · (𝑀 Σg 𝑔)) → ∃𝑤𝑢 ∈ (𝑈m (0..^(♯‘𝐹)))(𝑤:(0..^(♯‘𝐹))–1-1-onto→(0..^(♯‘𝐹)) ∧ 𝑔 = (𝑢f · (𝐹𝑤)))))
1arithidomlem.3 (𝜑𝐻 ∈ Word 𝑃)
1arithidomlem.4 (𝜑 → ∃𝑘𝑈 (𝑀 Σg (𝐹 ++ ⟨“𝑄”⟩)) = (𝑘 · (𝑀 Σg 𝐻)))
1arithidomlem.5 (𝜑𝐾 ∈ (0..^(♯‘𝐻)))
1arithidomlem.6 (𝜑𝑄(∥r𝑅)(𝐻𝐾))
1arithidomlem.7 (𝜑𝑇𝑈)
1arithidomlem.8 (𝜑 → (𝑇 · 𝑄) = (𝐻𝐾))
1arithidomlem.9 (𝜑𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)))
1arithidomlem.10 (𝜑 → (𝐻𝑆) = (((𝐻𝑆) prefix ((♯‘𝐻) − 1)) ++ ⟨“(𝐻𝐾)”⟩))
1arithidomlem.11 (𝜑𝑁𝑈)
1arithidomlem.12 (𝜑 → (𝑀 Σg (𝐹 ++ ⟨“𝑄”⟩)) = (𝑁 · (𝑀 Σg 𝐻)))
1arithidomlem.13 (𝜑𝐷 ∈ (𝑈m (0..^(♯‘𝐹))))
1arithidomlem.14 (𝜑𝐶:(0..^(♯‘𝐹))–1-1-onto→(0..^(♯‘𝐹)))
1arithidomlem.15 (𝜑 → ((𝐻𝑆) prefix ((♯‘𝐻) − 1)) = (𝐷f · (𝐹𝐶)))
Assertion
Ref Expression
1arithidomlem2 (𝜑 → (((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩)))–1-1-onto→(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) ∧ 𝐻 = (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆)))))
Distinct variable groups:   · ,𝑔,𝑘,𝑢,𝑤   𝑢,𝐶   𝑔,𝐹,𝑘,𝑢,𝑤   𝑔,𝐻,𝑢,𝑤,𝑘   𝑘,𝐾,𝑢,𝑤   𝑔,𝑀,𝑢,𝑘   𝑢,𝑁,𝑤   𝑃,𝑔,𝑢,𝑘   𝑢,𝑄,𝑤   𝑅,𝑔,𝑢,𝑘   𝑆,𝑔,𝑢,𝑤,𝑘   𝑢,𝑇,𝑤   𝑈,𝑔,𝑢,𝑤,𝑘   𝑄,𝑔,𝑘
Allowed substitution hints:   𝜑(𝑤,𝑢,𝑔,𝑘)   𝐶(𝑤,𝑔,𝑘)   𝐷(𝑤,𝑢,𝑔,𝑘)   𝑃(𝑤)   𝑅(𝑤)   𝑇(𝑔,𝑘)   𝐺(𝑤,𝑢,𝑔,𝑘)   𝐽(𝑤,𝑢,𝑔,𝑘)   𝐾(𝑔)   𝑀(𝑤)   𝑁(𝑔,𝑘)

Proof of Theorem 1arithidomlem2
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 1arithidom.f . . . . . 6 (𝜑𝐹 ∈ Word 𝑃)
2 ccatws1len 14606 . . . . . 6 (𝐹 ∈ Word 𝑃 → (♯‘(𝐹 ++ ⟨“𝑄”⟩)) = ((♯‘𝐹) + 1))
31, 2syl 17 . . . . 5 (𝜑 → (♯‘(𝐹 ++ ⟨“𝑄”⟩)) = ((♯‘𝐹) + 1))
4 1arithidomlem.15 . . . . . . . . . 10 (𝜑 → ((𝐻𝑆) prefix ((♯‘𝐻) − 1)) = (𝐷f · (𝐹𝐶)))
54dmeqd 5908 . . . . . . . . 9 (𝜑 → dom ((𝐻𝑆) prefix ((♯‘𝐻) − 1)) = dom (𝐷f · (𝐹𝐶)))
6 1arithidomlem.9 . . . . . . . . . . . . 13 (𝜑𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)))
7 f1of 6838 . . . . . . . . . . . . 13 (𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)) → 𝑆:(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)))
8 iswrdi 14504 . . . . . . . . . . . . 13 (𝑆:(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)) → 𝑆 ∈ Word (0..^(♯‘𝐻)))
96, 7, 83syl 18 . . . . . . . . . . . 12 (𝜑𝑆 ∈ Word (0..^(♯‘𝐻)))
10 eqidd 2726 . . . . . . . . . . . . 13 (𝜑 → (♯‘𝐻) = (♯‘𝐻))
11 1arithidomlem.3 . . . . . . . . . . . . 13 (𝜑𝐻 ∈ Word 𝑃)
1210, 11wrdfd 32744 . . . . . . . . . . . 12 (𝜑𝐻:(0..^(♯‘𝐻))⟶𝑃)
13 wrdco 14818 . . . . . . . . . . . 12 ((𝑆 ∈ Word (0..^(♯‘𝐻)) ∧ 𝐻:(0..^(♯‘𝐻))⟶𝑃) → (𝐻𝑆) ∈ Word 𝑃)
149, 12, 13syl2anc 582 . . . . . . . . . . 11 (𝜑 → (𝐻𝑆) ∈ Word 𝑃)
15 1arithidomlem.5 . . . . . . . . . . . . 13 (𝜑𝐾 ∈ (0..^(♯‘𝐻)))
16 elfzo0 13708 . . . . . . . . . . . . . 14 (𝐾 ∈ (0..^(♯‘𝐻)) ↔ (𝐾 ∈ ℕ0 ∧ (♯‘𝐻) ∈ ℕ ∧ 𝐾 < (♯‘𝐻)))
1716simp2bi 1143 . . . . . . . . . . . . 13 (𝐾 ∈ (0..^(♯‘𝐻)) → (♯‘𝐻) ∈ ℕ)
18 nnm1nn0 12546 . . . . . . . . . . . . 13 ((♯‘𝐻) ∈ ℕ → ((♯‘𝐻) − 1) ∈ ℕ0)
1915, 17, 183syl 18 . . . . . . . . . . . 12 (𝜑 → ((♯‘𝐻) − 1) ∈ ℕ0)
20 lenco 14819 . . . . . . . . . . . . . 14 ((𝑆 ∈ Word (0..^(♯‘𝐻)) ∧ 𝐻:(0..^(♯‘𝐻))⟶𝑃) → (♯‘(𝐻𝑆)) = (♯‘𝑆))
219, 12, 20syl2anc 582 . . . . . . . . . . . . 13 (𝜑 → (♯‘(𝐻𝑆)) = (♯‘𝑆))
22 lencl 14519 . . . . . . . . . . . . . 14 (𝑆 ∈ Word (0..^(♯‘𝐻)) → (♯‘𝑆) ∈ ℕ0)
239, 22syl 17 . . . . . . . . . . . . 13 (𝜑 → (♯‘𝑆) ∈ ℕ0)
2421, 23eqeltrd 2825 . . . . . . . . . . . 12 (𝜑 → (♯‘(𝐻𝑆)) ∈ ℕ0)
25 lencl 14519 . . . . . . . . . . . . . . . 16 (𝐻 ∈ Word 𝑃 → (♯‘𝐻) ∈ ℕ0)
2611, 25syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (♯‘𝐻) ∈ ℕ0)
2726nn0red 12566 . . . . . . . . . . . . . 14 (𝜑 → (♯‘𝐻) ∈ ℝ)
2827lem1d 12180 . . . . . . . . . . . . 13 (𝜑 → ((♯‘𝐻) − 1) ≤ (♯‘𝐻))
296, 7syl 17 . . . . . . . . . . . . . . 15 (𝜑𝑆:(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)))
30 ffn 6723 . . . . . . . . . . . . . . 15 (𝑆:(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)) → 𝑆 Fn (0..^(♯‘𝐻)))
31 hashfn 14370 . . . . . . . . . . . . . . 15 (𝑆 Fn (0..^(♯‘𝐻)) → (♯‘𝑆) = (♯‘(0..^(♯‘𝐻))))
3229, 30, 313syl 18 . . . . . . . . . . . . . 14 (𝜑 → (♯‘𝑆) = (♯‘(0..^(♯‘𝐻))))
33 hashfzo0 14425 . . . . . . . . . . . . . . 15 ((♯‘𝐻) ∈ ℕ0 → (♯‘(0..^(♯‘𝐻))) = (♯‘𝐻))
3411, 25, 333syl 18 . . . . . . . . . . . . . 14 (𝜑 → (♯‘(0..^(♯‘𝐻))) = (♯‘𝐻))
3521, 32, 343eqtrrd 2770 . . . . . . . . . . . . 13 (𝜑 → (♯‘𝐻) = (♯‘(𝐻𝑆)))
3628, 35breqtrd 5175 . . . . . . . . . . . 12 (𝜑 → ((♯‘𝐻) − 1) ≤ (♯‘(𝐻𝑆)))
37 elfz2nn0 13627 . . . . . . . . . . . 12 (((♯‘𝐻) − 1) ∈ (0...(♯‘(𝐻𝑆))) ↔ (((♯‘𝐻) − 1) ∈ ℕ0 ∧ (♯‘(𝐻𝑆)) ∈ ℕ0 ∧ ((♯‘𝐻) − 1) ≤ (♯‘(𝐻𝑆))))
3819, 24, 36, 37syl3anbrc 1340 . . . . . . . . . . 11 (𝜑 → ((♯‘𝐻) − 1) ∈ (0...(♯‘(𝐻𝑆))))
39 pfxfn 14667 . . . . . . . . . . 11 (((𝐻𝑆) ∈ Word 𝑃 ∧ ((♯‘𝐻) − 1) ∈ (0...(♯‘(𝐻𝑆)))) → ((𝐻𝑆) prefix ((♯‘𝐻) − 1)) Fn (0..^((♯‘𝐻) − 1)))
4014, 38, 39syl2anc 582 . . . . . . . . . 10 (𝜑 → ((𝐻𝑆) prefix ((♯‘𝐻) − 1)) Fn (0..^((♯‘𝐻) − 1)))
4140fndmd 6660 . . . . . . . . 9 (𝜑 → dom ((𝐻𝑆) prefix ((♯‘𝐻) − 1)) = (0..^((♯‘𝐻) − 1)))
42 eqid 2725 . . . . . . . . . . . 12 (Base‘𝑅) = (Base‘𝑅)
43 1arithidom.t . . . . . . . . . . . 12 · = (.r𝑅)
44 1arithidom.r . . . . . . . . . . . . . 14 (𝜑𝑅 ∈ IDomn)
4544idomringd 21274 . . . . . . . . . . . . 13 (𝜑𝑅 ∈ Ring)
4645adantr 479 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥𝑈𝑦𝑃)) → 𝑅 ∈ Ring)
47 1arithidom.u . . . . . . . . . . . . . 14 𝑈 = (Unit‘𝑅)
4842, 47unitcl 20326 . . . . . . . . . . . . 13 (𝑥𝑈𝑥 ∈ (Base‘𝑅))
4948ad2antrl 726 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥𝑈𝑦𝑃)) → 𝑥 ∈ (Base‘𝑅))
50 1arithidom.i . . . . . . . . . . . . 13 𝑃 = (RPrime‘𝑅)
5144adantr 479 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥𝑈𝑦𝑃)) → 𝑅 ∈ IDomn)
52 simprr 771 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥𝑈𝑦𝑃)) → 𝑦𝑃)
5342, 50, 51, 52rprmcl 33330 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥𝑈𝑦𝑃)) → 𝑦 ∈ (Base‘𝑅))
5442, 43, 46, 49, 53ringcld 20211 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥𝑈𝑦𝑃)) → (𝑥 · 𝑦) ∈ (Base‘𝑅))
55 1arithidomlem.13 . . . . . . . . . . . 12 (𝜑𝐷 ∈ (𝑈m (0..^(♯‘𝐹))))
56 elmapi 8868 . . . . . . . . . . . 12 (𝐷 ∈ (𝑈m (0..^(♯‘𝐹))) → 𝐷:(0..^(♯‘𝐹))⟶𝑈)
5755, 56syl 17 . . . . . . . . . . 11 (𝜑𝐷:(0..^(♯‘𝐹))⟶𝑈)
58 eqidd 2726 . . . . . . . . . . . . 13 (𝜑 → (♯‘𝐹) = (♯‘𝐹))
5958, 1wrdfd 32744 . . . . . . . . . . . 12 (𝜑𝐹:(0..^(♯‘𝐹))⟶𝑃)
60 1arithidomlem.14 . . . . . . . . . . . . 13 (𝜑𝐶:(0..^(♯‘𝐹))–1-1-onto→(0..^(♯‘𝐹)))
61 f1of 6838 . . . . . . . . . . . . 13 (𝐶:(0..^(♯‘𝐹))–1-1-onto→(0..^(♯‘𝐹)) → 𝐶:(0..^(♯‘𝐹))⟶(0..^(♯‘𝐹)))
6260, 61syl 17 . . . . . . . . . . . 12 (𝜑𝐶:(0..^(♯‘𝐹))⟶(0..^(♯‘𝐹)))
6359, 62fcod 6749 . . . . . . . . . . 11 (𝜑 → (𝐹𝐶):(0..^(♯‘𝐹))⟶𝑃)
64 ovexd 7454 . . . . . . . . . . 11 (𝜑 → (0..^(♯‘𝐹)) ∈ V)
65 inidm 4217 . . . . . . . . . . 11 ((0..^(♯‘𝐹)) ∩ (0..^(♯‘𝐹))) = (0..^(♯‘𝐹))
6654, 57, 63, 64, 64, 65off 7703 . . . . . . . . . 10 (𝜑 → (𝐷f · (𝐹𝐶)):(0..^(♯‘𝐹))⟶(Base‘𝑅))
6766fdmd 6733 . . . . . . . . 9 (𝜑 → dom (𝐷f · (𝐹𝐶)) = (0..^(♯‘𝐹)))
685, 41, 673eqtr3d 2773 . . . . . . . 8 (𝜑 → (0..^((♯‘𝐻) − 1)) = (0..^(♯‘𝐹)))
69 lencl 14519 . . . . . . . . . 10 (𝐹 ∈ Word 𝑃 → (♯‘𝐹) ∈ ℕ0)
701, 69syl 17 . . . . . . . . 9 (𝜑 → (♯‘𝐹) ∈ ℕ0)
7119, 70fzo0opth 32655 . . . . . . . 8 (𝜑 → ((0..^((♯‘𝐻) − 1)) = (0..^(♯‘𝐹)) ↔ ((♯‘𝐻) − 1) = (♯‘𝐹)))
7268, 71mpbid 231 . . . . . . 7 (𝜑 → ((♯‘𝐻) − 1) = (♯‘𝐹))
7372oveq1d 7434 . . . . . 6 (𝜑 → (((♯‘𝐻) − 1) + 1) = ((♯‘𝐹) + 1))
7415, 17syl 17 . . . . . . . 8 (𝜑 → (♯‘𝐻) ∈ ℕ)
7574nncnd 12261 . . . . . . 7 (𝜑 → (♯‘𝐻) ∈ ℂ)
76 npcan1 11671 . . . . . . 7 ((♯‘𝐻) ∈ ℂ → (((♯‘𝐻) − 1) + 1) = (♯‘𝐻))
7775, 76syl 17 . . . . . 6 (𝜑 → (((♯‘𝐻) − 1) + 1) = (♯‘𝐻))
7873, 77eqtr3d 2767 . . . . 5 (𝜑 → ((♯‘𝐹) + 1) = (♯‘𝐻))
793, 78eqtrd 2765 . . . 4 (𝜑 → (♯‘(𝐹 ++ ⟨“𝑄”⟩)) = (♯‘𝐻))
8079oveq2d 7435 . . 3 (𝜑 → (0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) = (0..^(♯‘𝐻)))
81 eqid 2725 . . . . . 6 (♯‘𝐶) = (♯‘𝐶)
82 eqid 2725 . . . . . 6 (0..^((♯‘𝐶) + 1)) = (0..^((♯‘𝐶) + 1))
83 f1ofn 6839 . . . . . . . . . 10 (𝐶:(0..^(♯‘𝐹))–1-1-onto→(0..^(♯‘𝐹)) → 𝐶 Fn (0..^(♯‘𝐹)))
84 hashfn 14370 . . . . . . . . . 10 (𝐶 Fn (0..^(♯‘𝐹)) → (♯‘𝐶) = (♯‘(0..^(♯‘𝐹))))
8560, 83, 843syl 18 . . . . . . . . 9 (𝜑 → (♯‘𝐶) = (♯‘(0..^(♯‘𝐹))))
86 hashfzo0 14425 . . . . . . . . . 10 ((♯‘𝐹) ∈ ℕ0 → (♯‘(0..^(♯‘𝐹))) = (♯‘𝐹))
8770, 86syl 17 . . . . . . . . 9 (𝜑 → (♯‘(0..^(♯‘𝐹))) = (♯‘𝐹))
8885, 87eqtrd 2765 . . . . . . . 8 (𝜑 → (♯‘𝐶) = (♯‘𝐹))
8988oveq2d 7435 . . . . . . 7 (𝜑 → (0..^(♯‘𝐶)) = (0..^(♯‘𝐹)))
90 f1oeq23 6829 . . . . . . . 8 (((0..^(♯‘𝐶)) = (0..^(♯‘𝐹)) ∧ (0..^(♯‘𝐶)) = (0..^(♯‘𝐹))) → (𝐶:(0..^(♯‘𝐶))–1-1-onto→(0..^(♯‘𝐶)) ↔ 𝐶:(0..^(♯‘𝐹))–1-1-onto→(0..^(♯‘𝐹))))
9190biimpar 476 . . . . . . 7 ((((0..^(♯‘𝐶)) = (0..^(♯‘𝐹)) ∧ (0..^(♯‘𝐶)) = (0..^(♯‘𝐹))) ∧ 𝐶:(0..^(♯‘𝐹))–1-1-onto→(0..^(♯‘𝐹))) → 𝐶:(0..^(♯‘𝐶))–1-1-onto→(0..^(♯‘𝐶)))
9289, 89, 60, 91syl21anc 836 . . . . . 6 (𝜑𝐶:(0..^(♯‘𝐶))–1-1-onto→(0..^(♯‘𝐶)))
9381, 82, 92ccatws1f1o 32761 . . . . 5 (𝜑 → (𝐶 ++ ⟨“(♯‘𝐶)”⟩):(0..^((♯‘𝐶) + 1))–1-1-onto→(0..^((♯‘𝐶) + 1)))
9488s1eqd 14587 . . . . . . 7 (𝜑 → ⟨“(♯‘𝐶)”⟩ = ⟨“(♯‘𝐹)”⟩)
9594oveq2d 7435 . . . . . 6 (𝜑 → (𝐶 ++ ⟨“(♯‘𝐶)”⟩) = (𝐶 ++ ⟨“(♯‘𝐹)”⟩))
9688oveq1d 7434 . . . . . . . 8 (𝜑 → ((♯‘𝐶) + 1) = ((♯‘𝐹) + 1))
9796, 78eqtrd 2765 . . . . . . 7 (𝜑 → ((♯‘𝐶) + 1) = (♯‘𝐻))
9897oveq2d 7435 . . . . . 6 (𝜑 → (0..^((♯‘𝐶) + 1)) = (0..^(♯‘𝐻)))
9995, 98, 98f1oeq123d 6832 . . . . 5 (𝜑 → ((𝐶 ++ ⟨“(♯‘𝐶)”⟩):(0..^((♯‘𝐶) + 1))–1-1-onto→(0..^((♯‘𝐶) + 1)) ↔ (𝐶 ++ ⟨“(♯‘𝐹)”⟩):(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻))))
10093, 99mpbid 231 . . . 4 (𝜑 → (𝐶 ++ ⟨“(♯‘𝐹)”⟩):(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)))
101 f1ocnv 6850 . . . . 5 (𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)) → 𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)))
1026, 101syl 17 . . . 4 (𝜑𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)))
103 f1oco 6861 . . . 4 (((𝐶 ++ ⟨“(♯‘𝐹)”⟩):(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)) ∧ 𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻))) → ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)))
104100, 102, 103syl2anc 582 . . 3 (𝜑 → ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)))
105 f1oeq23 6829 . . . 4 (((0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) = (0..^(♯‘𝐻)) ∧ (0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) = (0..^(♯‘𝐻))) → (((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩)))–1-1-onto→(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) ↔ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻))))
106105biimpar 476 . . 3 ((((0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) = (0..^(♯‘𝐻)) ∧ (0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) = (0..^(♯‘𝐻))) ∧ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻))) → ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩)))–1-1-onto→(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))))
10780, 80, 104, 106syl21anc 836 . 2 (𝜑 → ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩)))–1-1-onto→(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))))
108 f1ofo 6845 . . . 4 (𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)) → 𝑆:(0..^(♯‘𝐻))–onto→(0..^(♯‘𝐻)))
1096, 108syl 17 . . 3 (𝜑𝑆:(0..^(♯‘𝐻))–onto→(0..^(♯‘𝐻)))
11012ffnd 6724 . . 3 (𝜑𝐻 Fn (0..^(♯‘𝐻)))
111 iswrdi 14504 . . . . . . . . . . 11 (𝐷:(0..^(♯‘𝐹))⟶𝑈𝐷 ∈ Word 𝑈)
11257, 111syl 17 . . . . . . . . . 10 (𝜑𝐷 ∈ Word 𝑈)
113 ccatws1len 14606 . . . . . . . . . 10 (𝐷 ∈ Word 𝑈 → (♯‘(𝐷 ++ ⟨“𝑇”⟩)) = ((♯‘𝐷) + 1))
114112, 113syl 17 . . . . . . . . 9 (𝜑 → (♯‘(𝐷 ++ ⟨“𝑇”⟩)) = ((♯‘𝐷) + 1))
115 elmapfn 8884 . . . . . . . . . . . 12 (𝐷 ∈ (𝑈m (0..^(♯‘𝐹))) → 𝐷 Fn (0..^(♯‘𝐹)))
116 hashfn 14370 . . . . . . . . . . . 12 (𝐷 Fn (0..^(♯‘𝐹)) → (♯‘𝐷) = (♯‘(0..^(♯‘𝐹))))
11755, 115, 1163syl 18 . . . . . . . . . . 11 (𝜑 → (♯‘𝐷) = (♯‘(0..^(♯‘𝐹))))
118117, 87eqtrd 2765 . . . . . . . . . 10 (𝜑 → (♯‘𝐷) = (♯‘𝐹))
119118oveq1d 7434 . . . . . . . . 9 (𝜑 → ((♯‘𝐷) + 1) = ((♯‘𝐹) + 1))
120114, 119, 783eqtrd 2769 . . . . . . . 8 (𝜑 → (♯‘(𝐷 ++ ⟨“𝑇”⟩)) = (♯‘𝐻))
121120oveq2d 7435 . . . . . . 7 (𝜑 → (0..^(♯‘(𝐷 ++ ⟨“𝑇”⟩))) = (0..^(♯‘𝐻)))
122 eqidd 2726 . . . . . . . 8 (𝜑 → (♯‘(𝐷 ++ ⟨“𝑇”⟩)) = (♯‘(𝐷 ++ ⟨“𝑇”⟩)))
123 1arithidomlem.7 . . . . . . . . 9 (𝜑𝑇𝑈)
124 ccatws1cl 14602 . . . . . . . . 9 ((𝐷 ∈ Word 𝑈𝑇𝑈) → (𝐷 ++ ⟨“𝑇”⟩) ∈ Word 𝑈)
125112, 123, 124syl2anc 582 . . . . . . . 8 (𝜑 → (𝐷 ++ ⟨“𝑇”⟩) ∈ Word 𝑈)
126122, 125wrdfd 32744 . . . . . . 7 (𝜑 → (𝐷 ++ ⟨“𝑇”⟩):(0..^(♯‘(𝐷 ++ ⟨“𝑇”⟩)))⟶𝑈)
127121, 126feq2dd 32489 . . . . . 6 (𝜑 → (𝐷 ++ ⟨“𝑇”⟩):(0..^(♯‘𝐻))⟶𝑈)
128127ffnd 6724 . . . . 5 (𝜑 → (𝐷 ++ ⟨“𝑇”⟩) Fn (0..^(♯‘𝐻)))
129 f1of 6838 . . . . . 6 (𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)) → 𝑆:(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)))
1306, 101, 1293syl 18 . . . . 5 (𝜑𝑆:(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)))
131 fnfco 6762 . . . . 5 (((𝐷 ++ ⟨“𝑇”⟩) Fn (0..^(♯‘𝐻)) ∧ 𝑆:(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻))) → ((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) Fn (0..^(♯‘𝐻)))
132128, 130, 131syl2anc 582 . . . 4 (𝜑 → ((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) Fn (0..^(♯‘𝐻)))
13378oveq2d 7435 . . . . . . 7 (𝜑 → (0..^((♯‘𝐹) + 1)) = (0..^(♯‘𝐻)))
1343eqcomd 2731 . . . . . . . 8 (𝜑 → ((♯‘𝐹) + 1) = (♯‘(𝐹 ++ ⟨“𝑄”⟩)))
135 1arithidomlem.1 . . . . . . . . 9 (𝜑𝑄𝑃)
136 ccatws1cl 14602 . . . . . . . . 9 ((𝐹 ∈ Word 𝑃𝑄𝑃) → (𝐹 ++ ⟨“𝑄”⟩) ∈ Word 𝑃)
1371, 135, 136syl2anc 582 . . . . . . . 8 (𝜑 → (𝐹 ++ ⟨“𝑄”⟩) ∈ Word 𝑃)
138134, 137wrdfd 32744 . . . . . . 7 (𝜑 → (𝐹 ++ ⟨“𝑄”⟩):(0..^((♯‘𝐹) + 1))⟶𝑃)
139133, 138feq2dd 32489 . . . . . 6 (𝜑 → (𝐹 ++ ⟨“𝑄”⟩):(0..^(♯‘𝐻))⟶𝑃)
140139ffnd 6724 . . . . 5 (𝜑 → (𝐹 ++ ⟨“𝑄”⟩) Fn (0..^(♯‘𝐻)))
141 fzossfzop1 13745 . . . . . . . . . . . 12 ((♯‘𝐹) ∈ ℕ0 → (0..^(♯‘𝐹)) ⊆ (0..^((♯‘𝐹) + 1)))
14270, 141syl 17 . . . . . . . . . . 11 (𝜑 → (0..^(♯‘𝐹)) ⊆ (0..^((♯‘𝐹) + 1)))
143 sswrd 14508 . . . . . . . . . . 11 ((0..^(♯‘𝐹)) ⊆ (0..^((♯‘𝐹) + 1)) → Word (0..^(♯‘𝐹)) ⊆ Word (0..^((♯‘𝐹) + 1)))
144142, 143syl 17 . . . . . . . . . 10 (𝜑 → Word (0..^(♯‘𝐹)) ⊆ Word (0..^((♯‘𝐹) + 1)))
145 iswrdi 14504 . . . . . . . . . . 11 (𝐶:(0..^(♯‘𝐹))⟶(0..^(♯‘𝐹)) → 𝐶 ∈ Word (0..^(♯‘𝐹)))
14662, 145syl 17 . . . . . . . . . 10 (𝜑𝐶 ∈ Word (0..^(♯‘𝐹)))
147144, 146sseldd 3977 . . . . . . . . 9 (𝜑𝐶 ∈ Word (0..^((♯‘𝐹) + 1)))
148 ccatws1len 14606 . . . . . . . . 9 (𝐶 ∈ Word (0..^((♯‘𝐹) + 1)) → (♯‘(𝐶 ++ ⟨“(♯‘𝐹)”⟩)) = ((♯‘𝐶) + 1))
149147, 148syl 17 . . . . . . . 8 (𝜑 → (♯‘(𝐶 ++ ⟨“(♯‘𝐹)”⟩)) = ((♯‘𝐶) + 1))
150149, 96, 783eqtrrd 2770 . . . . . . 7 (𝜑 → (♯‘𝐻) = (♯‘(𝐶 ++ ⟨“(♯‘𝐹)”⟩)))
151142, 133sseqtrd 4017 . . . . . . . . . 10 (𝜑 → (0..^(♯‘𝐹)) ⊆ (0..^(♯‘𝐻)))
15262, 151fssd 6740 . . . . . . . . 9 (𝜑𝐶:(0..^(♯‘𝐹))⟶(0..^(♯‘𝐻)))
153 iswrdi 14504 . . . . . . . . 9 (𝐶:(0..^(♯‘𝐹))⟶(0..^(♯‘𝐻)) → 𝐶 ∈ Word (0..^(♯‘𝐻)))
154152, 153syl 17 . . . . . . . 8 (𝜑𝐶 ∈ Word (0..^(♯‘𝐻)))
155 fzonn0p1 13744 . . . . . . . . . 10 ((♯‘𝐹) ∈ ℕ0 → (♯‘𝐹) ∈ (0..^((♯‘𝐹) + 1)))
15670, 155syl 17 . . . . . . . . 9 (𝜑 → (♯‘𝐹) ∈ (0..^((♯‘𝐹) + 1)))
157156, 133eleqtrd 2827 . . . . . . . 8 (𝜑 → (♯‘𝐹) ∈ (0..^(♯‘𝐻)))
158 ccatws1cl 14602 . . . . . . . 8 ((𝐶 ∈ Word (0..^(♯‘𝐻)) ∧ (♯‘𝐹) ∈ (0..^(♯‘𝐻))) → (𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∈ Word (0..^(♯‘𝐻)))
159154, 157, 158syl2anc 582 . . . . . . 7 (𝜑 → (𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∈ Word (0..^(♯‘𝐻)))
160150, 159wrdfd 32744 . . . . . 6 (𝜑 → (𝐶 ++ ⟨“(♯‘𝐹)”⟩):(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)))
161160, 130fcod 6749 . . . . 5 (𝜑 → ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻)))
162 fnfco 6762 . . . . 5 (((𝐹 ++ ⟨“𝑄”⟩) Fn (0..^(♯‘𝐻)) ∧ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘𝐻))⟶(0..^(♯‘𝐻))) → ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆)) Fn (0..^(♯‘𝐻)))
163140, 161, 162syl2anc 582 . . . 4 (𝜑 → ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆)) Fn (0..^(♯‘𝐻)))
164 ovexd 7454 . . . 4 (𝜑 → (0..^(♯‘𝐻)) ∈ V)
165 inidm 4217 . . . 4 ((0..^(♯‘𝐻)) ∩ (0..^(♯‘𝐻))) = (0..^(♯‘𝐻))
166132, 163, 164, 164, 165offn 7698 . . 3 (𝜑 → (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) Fn (0..^(♯‘𝐻)))
167 1arithidomlem.10 . . . 4 (𝜑 → (𝐻𝑆) = (((𝐻𝑆) prefix ((♯‘𝐻) − 1)) ++ ⟨“(𝐻𝐾)”⟩))
168 eqid 2725 . . . . . . . . 9 (♯‘𝐹) = (♯‘𝐹)
169168, 1, 135, 60ccatws1f1olast 32762 . . . . . . . 8 (𝜑 → ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) = ((𝐹𝐶) ++ ⟨“𝑄”⟩))
170169oveq2d 7435 . . . . . . 7 (𝜑 → ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) = ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹𝐶) ++ ⟨“𝑄”⟩)))
171123s1cld 14589 . . . . . . . 8 (𝜑 → ⟨“𝑇”⟩ ∈ Word 𝑈)
172 iswrdi 14504 . . . . . . . . 9 ((𝐹𝐶):(0..^(♯‘𝐹))⟶𝑃 → (𝐹𝐶) ∈ Word 𝑃)
17363, 172syl 17 . . . . . . . 8 (𝜑 → (𝐹𝐶) ∈ Word 𝑃)
174135s1cld 14589 . . . . . . . 8 (𝜑 → ⟨“𝑄”⟩ ∈ Word 𝑃)
175 lenco 14819 . . . . . . . . . 10 ((𝐶 ∈ Word (0..^(♯‘𝐹)) ∧ 𝐹:(0..^(♯‘𝐹))⟶𝑃) → (♯‘(𝐹𝐶)) = (♯‘𝐶))
176146, 59, 175syl2anc 582 . . . . . . . . 9 (𝜑 → (♯‘(𝐹𝐶)) = (♯‘𝐶))
17785, 176, 1173eqtr4rd 2776 . . . . . . . 8 (𝜑 → (♯‘𝐷) = (♯‘(𝐹𝐶)))
178 s1len 14592 . . . . . . . . . 10 (♯‘⟨“𝑇”⟩) = 1
179 s1len 14592 . . . . . . . . . 10 (♯‘⟨“𝑄”⟩) = 1
180178, 179eqtr4i 2756 . . . . . . . . 9 (♯‘⟨“𝑇”⟩) = (♯‘⟨“𝑄”⟩)
181180a1i 11 . . . . . . . 8 (𝜑 → (♯‘⟨“𝑇”⟩) = (♯‘⟨“𝑄”⟩))
182112, 171, 173, 174, 177, 181ofccat 14952 . . . . . . 7 (𝜑 → ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹𝐶) ++ ⟨“𝑄”⟩)) = ((𝐷f · (𝐹𝐶)) ++ (⟨“𝑇”⟩ ∘f · ⟨“𝑄”⟩)))
183170, 182eqtrd 2765 . . . . . 6 (𝜑 → ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) = ((𝐷f · (𝐹𝐶)) ++ (⟨“𝑇”⟩ ∘f · ⟨“𝑄”⟩)))
184139, 160fcod 6749 . . . . . . . . . . 11 (𝜑 → ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)):(0..^(♯‘𝐻))⟶𝑃)
185184ffnd 6724 . . . . . . . . . 10 (𝜑 → ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) Fn (0..^(♯‘𝐻)))
186128, 185, 130, 164, 164, 164, 165ofco 7709 . . . . . . . . 9 (𝜑 → (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ 𝑆) = (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆)))
187186coeq1d 5864 . . . . . . . 8 (𝜑 → ((((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ 𝑆) ∘ 𝑆) = ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆)) ∘ 𝑆))
188 coass 6271 . . . . . . . 8 ((((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ 𝑆) ∘ 𝑆) = (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ (𝑆𝑆))
189187, 188eqtr3di 2780 . . . . . . 7 (𝜑 → ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆)) ∘ 𝑆) = (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ (𝑆𝑆)))
190 f1of1 6837 . . . . . . . . . 10 (𝑆:(0..^(♯‘𝐻))–1-1-onto→(0..^(♯‘𝐻)) → 𝑆:(0..^(♯‘𝐻))–1-1→(0..^(♯‘𝐻)))
1916, 190syl 17 . . . . . . . . 9 (𝜑𝑆:(0..^(♯‘𝐻))–1-1→(0..^(♯‘𝐻)))
192 f1cocnv1 6868 . . . . . . . . 9 (𝑆:(0..^(♯‘𝐻))–1-1→(0..^(♯‘𝐻)) → (𝑆𝑆) = ( I ↾ (0..^(♯‘𝐻))))
193191, 192syl 17 . . . . . . . 8 (𝜑 → (𝑆𝑆) = ( I ↾ (0..^(♯‘𝐻))))
194193coeq2d 5865 . . . . . . 7 (𝜑 → (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ (𝑆𝑆)) = (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ ( I ↾ (0..^(♯‘𝐻)))))
19554, 127, 184, 164, 164, 165off 7703 . . . . . . . 8 (𝜑 → ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))):(0..^(♯‘𝐻))⟶(Base‘𝑅))
196 fcoi1 6771 . . . . . . . 8 (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))):(0..^(♯‘𝐻))⟶(Base‘𝑅) → (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ ( I ↾ (0..^(♯‘𝐻)))) = ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))))
197195, 196syl 17 . . . . . . 7 (𝜑 → (((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))) ∘ ( I ↾ (0..^(♯‘𝐻)))) = ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))))
198189, 194, 1973eqtrd 2769 . . . . . 6 (𝜑 → ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆)) ∘ 𝑆) = ((𝐷 ++ ⟨“𝑇”⟩) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩))))
199 ofs1 14953 . . . . . . . . 9 ((𝑇𝑈𝑄𝑃) → (⟨“𝑇”⟩ ∘f · ⟨“𝑄”⟩) = ⟨“(𝑇 · 𝑄)”⟩)
200123, 135, 199syl2anc 582 . . . . . . . 8 (𝜑 → (⟨“𝑇”⟩ ∘f · ⟨“𝑄”⟩) = ⟨“(𝑇 · 𝑄)”⟩)
201 1arithidomlem.8 . . . . . . . . 9 (𝜑 → (𝑇 · 𝑄) = (𝐻𝐾))
202201s1eqd 14587 . . . . . . . 8 (𝜑 → ⟨“(𝑇 · 𝑄)”⟩ = ⟨“(𝐻𝐾)”⟩)
203200, 202eqtr2d 2766 . . . . . . 7 (𝜑 → ⟨“(𝐻𝐾)”⟩ = (⟨“𝑇”⟩ ∘f · ⟨“𝑄”⟩))
2044, 203oveq12d 7437 . . . . . 6 (𝜑 → (((𝐻𝑆) prefix ((♯‘𝐻) − 1)) ++ ⟨“(𝐻𝐾)”⟩) = ((𝐷f · (𝐹𝐶)) ++ (⟨“𝑇”⟩ ∘f · ⟨“𝑄”⟩)))
205183, 198, 2043eqtr4rd 2776 . . . . 5 (𝜑 → (((𝐻𝑆) prefix ((♯‘𝐻) − 1)) ++ ⟨“(𝐻𝐾)”⟩) = ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆)) ∘ 𝑆))
206 coass 6271 . . . . . . 7 (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆) = ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))
207206oveq2i 7430 . . . . . 6 (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆)) = (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆)))
208207coeq1i 5862 . . . . 5 ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · (((𝐹 ++ ⟨“𝑄”⟩) ∘ (𝐶 ++ ⟨“(♯‘𝐹)”⟩)) ∘ 𝑆)) ∘ 𝑆) = ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) ∘ 𝑆)
209205, 208eqtrdi 2781 . . . 4 (𝜑 → (((𝐻𝑆) prefix ((♯‘𝐻) − 1)) ++ ⟨“(𝐻𝐾)”⟩) = ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) ∘ 𝑆))
210167, 209eqtrd 2765 . . 3 (𝜑 → (𝐻𝑆) = ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) ∘ 𝑆))
211 cocan2 7301 . . . 4 ((𝑆:(0..^(♯‘𝐻))–onto→(0..^(♯‘𝐻)) ∧ 𝐻 Fn (0..^(♯‘𝐻)) ∧ (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) Fn (0..^(♯‘𝐻))) → ((𝐻𝑆) = ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) ∘ 𝑆) ↔ 𝐻 = (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆)))))
212211biimpa 475 . . 3 (((𝑆:(0..^(♯‘𝐻))–onto→(0..^(♯‘𝐻)) ∧ 𝐻 Fn (0..^(♯‘𝐻)) ∧ (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) Fn (0..^(♯‘𝐻))) ∧ (𝐻𝑆) = ((((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))) ∘ 𝑆)) → 𝐻 = (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))))
213109, 110, 166, 210, 212syl31anc 1370 . 2 (𝜑𝐻 = (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆))))
214107, 213jca 510 1 (𝜑 → (((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆):(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩)))–1-1-onto→(0..^(♯‘(𝐹 ++ ⟨“𝑄”⟩))) ∧ 𝐻 = (((𝐷 ++ ⟨“𝑇”⟩) ∘ 𝑆) ∘f · ((𝐹 ++ ⟨“𝑄”⟩) ∘ ((𝐶 ++ ⟨“(♯‘𝐹)”⟩) ∘ 𝑆)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 394  w3a 1084   = wceq 1533  wex 1773  wcel 2098  wral 3050  wrex 3059  Vcvv 3461  wss 3944   class class class wbr 5149   I cid 5575  ccnv 5677  dom cdm 5678  cres 5680  ccom 5682   Fn wfn 6544  wf 6545  1-1wf1 6546  ontowfo 6547  1-1-ontowf1o 6548  cfv 6549  (class class class)co 7419  f cof 7683  m cmap 8845  cc 11138  0cc0 11140  1c1 11141   + caddc 11143   < clt 11280  cle 11281  cmin 11476  cn 12245  0cn0 12505  ...cfz 13519  ..^cfzo 13662  chash 14325  Word cword 14500   ++ cconcat 14556  ⟨“cs1 14581   prefix cpfx 14656  Basecbs 17183  .rcmulr 17237   Σg cgsu 17425  mulGrpcmgp 20086  Ringcrg 20185  rcdsr 20305  Unitcui 20306  RPrimecrpm 20383  IDomncidom 21245
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-rep 5286  ax-sep 5300  ax-nul 5307  ax-pow 5365  ax-pr 5429  ax-un 7741  ax-cnex 11196  ax-resscn 11197  ax-1cn 11198  ax-icn 11199  ax-addcl 11200  ax-addrcl 11201  ax-mulcl 11202  ax-mulrcl 11203  ax-mulcom 11204  ax-addass 11205  ax-mulass 11206  ax-distr 11207  ax-i2m1 11208  ax-1ne0 11209  ax-1rid 11210  ax-rnegex 11211  ax-rrecex 11212  ax-cnre 11213  ax-pre-lttri 11214  ax-pre-lttrn 11215  ax-pre-ltadd 11216  ax-pre-mulgt0 11217
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2930  df-nel 3036  df-ral 3051  df-rex 3060  df-reu 3364  df-rab 3419  df-v 3463  df-sbc 3774  df-csb 3890  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-pss 3964  df-nul 4323  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4910  df-int 4951  df-iun 4999  df-br 5150  df-opab 5212  df-mpt 5233  df-tr 5267  df-id 5576  df-eprel 5582  df-po 5590  df-so 5591  df-fr 5633  df-we 5635  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-pred 6307  df-ord 6374  df-on 6375  df-lim 6376  df-suc 6377  df-iota 6501  df-fun 6551  df-fn 6552  df-f 6553  df-f1 6554  df-fo 6555  df-f1o 6556  df-fv 6557  df-riota 7375  df-ov 7422  df-oprab 7423  df-mpo 7424  df-of 7685  df-om 7872  df-1st 7994  df-2nd 7995  df-frecs 8287  df-wrecs 8318  df-recs 8392  df-rdg 8431  df-1o 8487  df-er 8725  df-map 8847  df-en 8965  df-dom 8966  df-sdom 8967  df-fin 8968  df-card 9964  df-pnf 11282  df-mnf 11283  df-xr 11284  df-ltxr 11285  df-le 11286  df-sub 11478  df-neg 11479  df-nn 12246  df-2 12308  df-n0 12506  df-z 12592  df-uz 12856  df-fz 13520  df-fzo 13663  df-hash 14326  df-word 14501  df-concat 14557  df-s1 14582  df-substr 14627  df-pfx 14657  df-sets 17136  df-slot 17154  df-ndx 17166  df-base 17184  df-plusg 17249  df-mgm 18603  df-sgrp 18682  df-mnd 18698  df-mgp 20087  df-ring 20187  df-cring 20188  df-dvdsr 20308  df-unit 20309  df-rprm 20384  df-idom 21249
This theorem is referenced by:  1arithidom  33349
  Copyright terms: Public domain W3C validator