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

Theorem efgrelexlemb 19140
Description: If two words 𝐴, 𝐵 are related under the free group equivalence, then there exist two extension sequences 𝑎, 𝑏 such that 𝑎 ends at 𝐴, 𝑏 ends at 𝐵, and 𝑎 and 𝐵 have the same starting point. (Contributed by Mario Carneiro, 1-Oct-2015.)
Hypotheses
Ref Expression
efgval.w 𝑊 = ( I ‘Word (𝐼 × 2o))
efgval.r = ( ~FG𝐼)
efgval2.m 𝑀 = (𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)
efgval2.t 𝑇 = (𝑣𝑊 ↦ (𝑛 ∈ (0...(♯‘𝑣)), 𝑤 ∈ (𝐼 × 2o) ↦ (𝑣 splice ⟨𝑛, 𝑛, ⟨“𝑤(𝑀𝑤)”⟩⟩)))
efgred.d 𝐷 = (𝑊 𝑥𝑊 ran (𝑇𝑥))
efgred.s 𝑆 = (𝑚 ∈ {𝑡 ∈ (Word 𝑊 ∖ {∅}) ∣ ((𝑡‘0) ∈ 𝐷 ∧ ∀𝑘 ∈ (1..^(♯‘𝑡))(𝑡𝑘) ∈ ran (𝑇‘(𝑡‘(𝑘 − 1))))} ↦ (𝑚‘((♯‘𝑚) − 1)))
efgrelexlem.1 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ∃𝑐 ∈ (𝑆 “ {𝑖})∃𝑑 ∈ (𝑆 “ {𝑗})(𝑐‘0) = (𝑑‘0)}
Assertion
Ref Expression
efgrelexlemb 𝐿
Distinct variable groups:   𝑐,𝑑,𝑖,𝑗   𝑦,𝑧   𝑛,𝑐,𝑡,𝑣,𝑤,𝑦,𝑧,𝑚,𝑥   𝑀,𝑐   𝑖,𝑚,𝑛,𝑡,𝑣,𝑤,𝑥,𝑀,𝑗   𝑘,𝑐,𝑇,𝑖,𝑗,𝑚,𝑡,𝑥   𝑊,𝑐   𝑘,𝑑,𝑚,𝑛,𝑡,𝑣,𝑤,𝑥,𝑦,𝑧,𝑊,𝑖,𝑗   ,𝑐,𝑑,𝑖,𝑗,𝑚,𝑡,𝑥,𝑦,𝑧   𝑆,𝑐,𝑑,𝑖,𝑗   𝐼,𝑐,𝑖,𝑗,𝑚,𝑛,𝑡,𝑣,𝑤,𝑥,𝑦,𝑧   𝐷,𝑐,𝑑,𝑖,𝑗,𝑚,𝑡
Allowed substitution hints:   𝐷(𝑥,𝑦,𝑧,𝑤,𝑣,𝑘,𝑛)   (𝑤,𝑣,𝑘,𝑛)   𝑆(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑘,𝑚,𝑛)   𝑇(𝑦,𝑧,𝑤,𝑣,𝑛,𝑑)   𝐼(𝑘,𝑑)   𝐿(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑖,𝑗,𝑘,𝑚,𝑛,𝑐,𝑑)   𝑀(𝑦,𝑧,𝑘,𝑑)

Proof of Theorem efgrelexlemb
Dummy variables 𝑎 𝑏 𝑓 𝑔 𝑟 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 efgval.w . . 3 𝑊 = ( I ‘Word (𝐼 × 2o))
2 efgval.r . . 3 = ( ~FG𝐼)
3 efgval2.m . . 3 𝑀 = (𝑦𝐼, 𝑧 ∈ 2o ↦ ⟨𝑦, (1o𝑧)⟩)
4 efgval2.t . . 3 𝑇 = (𝑣𝑊 ↦ (𝑛 ∈ (0...(♯‘𝑣)), 𝑤 ∈ (𝐼 × 2o) ↦ (𝑣 splice ⟨𝑛, 𝑛, ⟨“𝑤(𝑀𝑤)”⟩⟩)))
51, 2, 3, 4efgval2 19114 . 2 = {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)}
6 efgrelexlem.1 . . . . . . . 8 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ∃𝑐 ∈ (𝑆 “ {𝑖})∃𝑑 ∈ (𝑆 “ {𝑗})(𝑐‘0) = (𝑑‘0)}
76relopabiv 5690 . . . . . . 7 Rel 𝐿
87a1i 11 . . . . . 6 (⊤ → Rel 𝐿)
9 simpr 488 . . . . . . 7 ((⊤ ∧ 𝑓𝐿𝑔) → 𝑓𝐿𝑔)
10 eqcom 2744 . . . . . . . . . 10 ((𝑎‘0) = (𝑏‘0) ↔ (𝑏‘0) = (𝑎‘0))
11102rexbii 3171 . . . . . . . . 9 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑏‘0) = (𝑎‘0))
12 rexcom 3268 . . . . . . . . 9 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑏‘0) = (𝑎‘0) ↔ ∃𝑏 ∈ (𝑆 “ {𝑔})∃𝑎 ∈ (𝑆 “ {𝑓})(𝑏‘0) = (𝑎‘0))
1311, 12bitri 278 . . . . . . . 8 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑏 ∈ (𝑆 “ {𝑔})∃𝑎 ∈ (𝑆 “ {𝑓})(𝑏‘0) = (𝑎‘0))
14 efgred.d . . . . . . . . 9 𝐷 = (𝑊 𝑥𝑊 ran (𝑇𝑥))
15 efgred.s . . . . . . . . 9 𝑆 = (𝑚 ∈ {𝑡 ∈ (Word 𝑊 ∖ {∅}) ∣ ((𝑡‘0) ∈ 𝐷 ∧ ∀𝑘 ∈ (1..^(♯‘𝑡))(𝑡𝑘) ∈ ran (𝑇‘(𝑡‘(𝑘 − 1))))} ↦ (𝑚‘((♯‘𝑚) − 1)))
161, 2, 3, 4, 14, 15, 6efgrelexlema 19139 . . . . . . . 8 (𝑓𝐿𝑔 ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0))
171, 2, 3, 4, 14, 15, 6efgrelexlema 19139 . . . . . . . 8 (𝑔𝐿𝑓 ↔ ∃𝑏 ∈ (𝑆 “ {𝑔})∃𝑎 ∈ (𝑆 “ {𝑓})(𝑏‘0) = (𝑎‘0))
1813, 16, 173bitr4i 306 . . . . . . 7 (𝑓𝐿𝑔𝑔𝐿𝑓)
199, 18sylib 221 . . . . . 6 ((⊤ ∧ 𝑓𝐿𝑔) → 𝑔𝐿𝑓)
201, 2, 3, 4, 14, 15, 6efgrelexlema 19139 . . . . . . . . 9 (𝑔𝐿 ↔ ∃𝑟 ∈ (𝑆 “ {𝑔})∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0))
21 reeanv 3279 . . . . . . . . . 10 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑟 ∈ (𝑆 “ {𝑔})(∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) ↔ (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑟 ∈ (𝑆 “ {𝑔})∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)))
221, 2, 3, 4, 14, 15efgsfo 19129 . . . . . . . . . . . . . . . . . . . 20 𝑆:dom 𝑆onto𝑊
23 fofn 6635 . . . . . . . . . . . . . . . . . . . 20 (𝑆:dom 𝑆onto𝑊𝑆 Fn dom 𝑆)
2422, 23ax-mp 5 . . . . . . . . . . . . . . . . . . 19 𝑆 Fn dom 𝑆
25 fniniseg 6880 . . . . . . . . . . . . . . . . . . 19 (𝑆 Fn dom 𝑆 → (𝑟 ∈ (𝑆 “ {𝑔}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑔)))
2624, 25ax-mp 5 . . . . . . . . . . . . . . . . . 18 (𝑟 ∈ (𝑆 “ {𝑔}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑔))
27 fniniseg 6880 . . . . . . . . . . . . . . . . . . 19 (𝑆 Fn dom 𝑆 → (𝑏 ∈ (𝑆 “ {𝑔}) ↔ (𝑏 ∈ dom 𝑆 ∧ (𝑆𝑏) = 𝑔)))
2824, 27ax-mp 5 . . . . . . . . . . . . . . . . . 18 (𝑏 ∈ (𝑆 “ {𝑔}) ↔ (𝑏 ∈ dom 𝑆 ∧ (𝑆𝑏) = 𝑔))
29 eqtr3 2763 . . . . . . . . . . . . . . . . . . . 20 (((𝑆𝑟) = 𝑔 ∧ (𝑆𝑏) = 𝑔) → (𝑆𝑟) = (𝑆𝑏))
301, 2, 3, 4, 14, 15efgred 19138 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆 ∧ (𝑆𝑟) = (𝑆𝑏)) → (𝑟‘0) = (𝑏‘0))
3130eqcomd 2743 . . . . . . . . . . . . . . . . . . . . 21 ((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆 ∧ (𝑆𝑟) = (𝑆𝑏)) → (𝑏‘0) = (𝑟‘0))
32313expa 1120 . . . . . . . . . . . . . . . . . . . 20 (((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆) ∧ (𝑆𝑟) = (𝑆𝑏)) → (𝑏‘0) = (𝑟‘0))
3329, 32sylan2 596 . . . . . . . . . . . . . . . . . . 19 (((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆) ∧ ((𝑆𝑟) = 𝑔 ∧ (𝑆𝑏) = 𝑔)) → (𝑏‘0) = (𝑟‘0))
3433an4s 660 . . . . . . . . . . . . . . . . . 18 (((𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑔) ∧ (𝑏 ∈ dom 𝑆 ∧ (𝑆𝑏) = 𝑔)) → (𝑏‘0) = (𝑟‘0))
3526, 28, 34syl2anb 601 . . . . . . . . . . . . . . . . 17 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → (𝑏‘0) = (𝑟‘0))
36 eqeq2 2749 . . . . . . . . . . . . . . . . 17 ((𝑟‘0) = (𝑠‘0) → ((𝑏‘0) = (𝑟‘0) ↔ (𝑏‘0) = (𝑠‘0)))
3735, 36syl5ibcom 248 . . . . . . . . . . . . . . . 16 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → ((𝑟‘0) = (𝑠‘0) → (𝑏‘0) = (𝑠‘0)))
3837reximdv 3192 . . . . . . . . . . . . . . 15 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑏‘0) = (𝑠‘0)))
39 eqeq1 2741 . . . . . . . . . . . . . . . . 17 ((𝑎‘0) = (𝑏‘0) → ((𝑎‘0) = (𝑠‘0) ↔ (𝑏‘0) = (𝑠‘0)))
4039rexbidv 3216 . . . . . . . . . . . . . . . 16 ((𝑎‘0) = (𝑏‘0) → (∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0) ↔ ∃𝑠 ∈ (𝑆 “ {})(𝑏‘0) = (𝑠‘0)))
4140imbi2d 344 . . . . . . . . . . . . . . 15 ((𝑎‘0) = (𝑏‘0) → ((∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0)) ↔ (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑏‘0) = (𝑠‘0))))
4238, 41syl5ibrcom 250 . . . . . . . . . . . . . 14 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → ((𝑎‘0) = (𝑏‘0) → (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))))
4342rexlimdva 3203 . . . . . . . . . . . . 13 (𝑟 ∈ (𝑆 “ {𝑔}) → (∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) → (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))))
4443impd 414 . . . . . . . . . . . 12 (𝑟 ∈ (𝑆 “ {𝑔}) → ((∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0)))
4544rexlimiv 3199 . . . . . . . . . . 11 (∃𝑟 ∈ (𝑆 “ {𝑔})(∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
4645reximi 3166 . . . . . . . . . 10 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑟 ∈ (𝑆 “ {𝑔})(∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
4721, 46sylbir 238 . . . . . . . . 9 ((∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑟 ∈ (𝑆 “ {𝑔})∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
4816, 20, 47syl2anb 601 . . . . . . . 8 ((𝑓𝐿𝑔𝑔𝐿) → ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
491, 2, 3, 4, 14, 15, 6efgrelexlema 19139 . . . . . . . 8 (𝑓𝐿 ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
5048, 49sylibr 237 . . . . . . 7 ((𝑓𝐿𝑔𝑔𝐿) → 𝑓𝐿)
5150adantl 485 . . . . . 6 ((⊤ ∧ (𝑓𝐿𝑔𝑔𝐿)) → 𝑓𝐿)
52 eqid 2737 . . . . . . . . . . . 12 (𝑎‘0) = (𝑎‘0)
53 fveq1 6716 . . . . . . . . . . . . 13 (𝑏 = 𝑎 → (𝑏‘0) = (𝑎‘0))
5453rspceeqv 3552 . . . . . . . . . . . 12 ((𝑎 ∈ (𝑆 “ {𝑓}) ∧ (𝑎‘0) = (𝑎‘0)) → ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0))
5552, 54mpan2 691 . . . . . . . . . . 11 (𝑎 ∈ (𝑆 “ {𝑓}) → ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0))
5655pm4.71i 563 . . . . . . . . . 10 (𝑎 ∈ (𝑆 “ {𝑓}) ↔ (𝑎 ∈ (𝑆 “ {𝑓}) ∧ ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0)))
57 fniniseg 6880 . . . . . . . . . . 11 (𝑆 Fn dom 𝑆 → (𝑎 ∈ (𝑆 “ {𝑓}) ↔ (𝑎 ∈ dom 𝑆 ∧ (𝑆𝑎) = 𝑓)))
5824, 57ax-mp 5 . . . . . . . . . 10 (𝑎 ∈ (𝑆 “ {𝑓}) ↔ (𝑎 ∈ dom 𝑆 ∧ (𝑆𝑎) = 𝑓))
5956, 58bitr3i 280 . . . . . . . . 9 ((𝑎 ∈ (𝑆 “ {𝑓}) ∧ ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0)) ↔ (𝑎 ∈ dom 𝑆 ∧ (𝑆𝑎) = 𝑓))
6059rexbii2 3168 . . . . . . . 8 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓)
611, 2, 3, 4, 14, 15, 6efgrelexlema 19139 . . . . . . . 8 (𝑓𝐿𝑓 ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0))
62 forn 6636 . . . . . . . . . . 11 (𝑆:dom 𝑆onto𝑊 → ran 𝑆 = 𝑊)
6322, 62ax-mp 5 . . . . . . . . . 10 ran 𝑆 = 𝑊
6463eleq2i 2829 . . . . . . . . 9 (𝑓 ∈ ran 𝑆𝑓𝑊)
65 fvelrnb 6773 . . . . . . . . . 10 (𝑆 Fn dom 𝑆 → (𝑓 ∈ ran 𝑆 ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓))
6624, 65ax-mp 5 . . . . . . . . 9 (𝑓 ∈ ran 𝑆 ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓)
6764, 66bitr3i 280 . . . . . . . 8 (𝑓𝑊 ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓)
6860, 61, 673bitr4ri 307 . . . . . . 7 (𝑓𝑊𝑓𝐿𝑓)
6968a1i 11 . . . . . 6 (⊤ → (𝑓𝑊𝑓𝐿𝑓))
708, 19, 51, 69iserd 8417 . . . . 5 (⊤ → 𝐿 Er 𝑊)
7170mptru 1550 . . . 4 𝐿 Er 𝑊
72 simpl 486 . . . . . . . . . . 11 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑎𝑊)
73 foelrn 6925 . . . . . . . . . . 11 ((𝑆:dom 𝑆onto𝑊𝑎𝑊) → ∃𝑟 ∈ dom 𝑆 𝑎 = (𝑆𝑟))
7422, 72, 73sylancr 590 . . . . . . . . . 10 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → ∃𝑟 ∈ dom 𝑆 𝑎 = (𝑆𝑟))
75 simprl 771 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ dom 𝑆)
76 simprr 773 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑎 = (𝑆𝑟))
7776eqcomd 2743 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑆𝑟) = 𝑎)
78 fniniseg 6880 . . . . . . . . . . . 12 (𝑆 Fn dom 𝑆 → (𝑟 ∈ (𝑆 “ {𝑎}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑎)))
7924, 78ax-mp 5 . . . . . . . . . . 11 (𝑟 ∈ (𝑆 “ {𝑎}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑎))
8075, 77, 79sylanbrc 586 . . . . . . . . . 10 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ (𝑆 “ {𝑎}))
81 simplr 769 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑏 ∈ ran (𝑇𝑎))
8276fveq2d 6721 . . . . . . . . . . . . . . 15 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑇𝑎) = (𝑇‘(𝑆𝑟)))
8382rneqd 5807 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ran (𝑇𝑎) = ran (𝑇‘(𝑆𝑟)))
8481, 83eleqtrd 2840 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑏 ∈ ran (𝑇‘(𝑆𝑟)))
851, 2, 3, 4, 14, 15efgsp1 19127 . . . . . . . . . . . . 13 ((𝑟 ∈ dom 𝑆𝑏 ∈ ran (𝑇‘(𝑆𝑟))) → (𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆)
8675, 84, 85syl2anc 587 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆)
871, 2, 3, 4, 14, 15efgsdm 19120 . . . . . . . . . . . . . . . 16 (𝑟 ∈ dom 𝑆 ↔ (𝑟 ∈ (Word 𝑊 ∖ {∅}) ∧ (𝑟‘0) ∈ 𝐷 ∧ ∀𝑖 ∈ (1..^(♯‘𝑟))(𝑟𝑖) ∈ ran (𝑇‘(𝑟‘(𝑖 − 1)))))
8887simp1bi 1147 . . . . . . . . . . . . . . 15 (𝑟 ∈ dom 𝑆𝑟 ∈ (Word 𝑊 ∖ {∅}))
8988ad2antrl 728 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ (Word 𝑊 ∖ {∅}))
9089eldifad 3878 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ Word 𝑊)
911, 2, 3, 4efgtf 19112 . . . . . . . . . . . . . . . . 17 (𝑎𝑊 → ((𝑇𝑎) = (𝑓 ∈ (0...(♯‘𝑎)), 𝑔 ∈ (𝐼 × 2o) ↦ (𝑎 splice ⟨𝑓, 𝑓, ⟨“𝑔(𝑀𝑔)”⟩⟩)) ∧ (𝑇𝑎):((0...(♯‘𝑎)) × (𝐼 × 2o))⟶𝑊))
9291simprd 499 . . . . . . . . . . . . . . . 16 (𝑎𝑊 → (𝑇𝑎):((0...(♯‘𝑎)) × (𝐼 × 2o))⟶𝑊)
9392frnd 6553 . . . . . . . . . . . . . . 15 (𝑎𝑊 → ran (𝑇𝑎) ⊆ 𝑊)
9493sselda 3901 . . . . . . . . . . . . . 14 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑏𝑊)
9594adantr 484 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑏𝑊)
961, 2, 3, 4, 14, 15efgsval2 19123 . . . . . . . . . . . . 13 ((𝑟 ∈ Word 𝑊𝑏𝑊 ∧ (𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆) → (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏)
9790, 95, 86, 96syl3anc 1373 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏)
98 fniniseg 6880 . . . . . . . . . . . . 13 (𝑆 Fn dom 𝑆 → ((𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}) ↔ ((𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆 ∧ (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏)))
9924, 98ax-mp 5 . . . . . . . . . . . 12 ((𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}) ↔ ((𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆 ∧ (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏))
10086, 97, 99sylanbrc 586 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}))
10195s1cld 14160 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ⟨“𝑏”⟩ ∈ Word 𝑊)
102 eldifsn 4700 . . . . . . . . . . . . . . . 16 (𝑟 ∈ (Word 𝑊 ∖ {∅}) ↔ (𝑟 ∈ Word 𝑊𝑟 ≠ ∅))
103 lennncl 14089 . . . . . . . . . . . . . . . 16 ((𝑟 ∈ Word 𝑊𝑟 ≠ ∅) → (♯‘𝑟) ∈ ℕ)
104102, 103sylbi 220 . . . . . . . . . . . . . . 15 (𝑟 ∈ (Word 𝑊 ∖ {∅}) → (♯‘𝑟) ∈ ℕ)
10589, 104syl 17 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (♯‘𝑟) ∈ ℕ)
106 lbfzo0 13282 . . . . . . . . . . . . . 14 (0 ∈ (0..^(♯‘𝑟)) ↔ (♯‘𝑟) ∈ ℕ)
107105, 106sylibr 237 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 0 ∈ (0..^(♯‘𝑟)))
108 ccatval1 14133 . . . . . . . . . . . . 13 ((𝑟 ∈ Word 𝑊 ∧ ⟨“𝑏”⟩ ∈ Word 𝑊 ∧ 0 ∈ (0..^(♯‘𝑟))) → ((𝑟 ++ ⟨“𝑏”⟩)‘0) = (𝑟‘0))
10990, 101, 107, 108syl3anc 1373 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ((𝑟 ++ ⟨“𝑏”⟩)‘0) = (𝑟‘0))
110109eqcomd 2743 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑟‘0) = ((𝑟 ++ ⟨“𝑏”⟩)‘0))
111 fveq1 6716 . . . . . . . . . . . 12 (𝑠 = (𝑟 ++ ⟨“𝑏”⟩) → (𝑠‘0) = ((𝑟 ++ ⟨“𝑏”⟩)‘0))
112111rspceeqv 3552 . . . . . . . . . . 11 (((𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}) ∧ (𝑟‘0) = ((𝑟 ++ ⟨“𝑏”⟩)‘0)) → ∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
113100, 110, 112syl2anc 587 . . . . . . . . . 10 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
11474, 80, 113reximssdv 3195 . . . . . . . . 9 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → ∃𝑟 ∈ (𝑆 “ {𝑎})∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
1151, 2, 3, 4, 14, 15, 6efgrelexlema 19139 . . . . . . . . 9 (𝑎𝐿𝑏 ↔ ∃𝑟 ∈ (𝑆 “ {𝑎})∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
116114, 115sylibr 237 . . . . . . . 8 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑎𝐿𝑏)
117 vex 3412 . . . . . . . . 9 𝑏 ∈ V
118 vex 3412 . . . . . . . . 9 𝑎 ∈ V
119117, 118elec 8435 . . . . . . . 8 (𝑏 ∈ [𝑎]𝐿𝑎𝐿𝑏)
120116, 119sylibr 237 . . . . . . 7 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑏 ∈ [𝑎]𝐿)
121120ex 416 . . . . . 6 (𝑎𝑊 → (𝑏 ∈ ran (𝑇𝑎) → 𝑏 ∈ [𝑎]𝐿))
122121ssrdv 3907 . . . . 5 (𝑎𝑊 → ran (𝑇𝑎) ⊆ [𝑎]𝐿)
123122rgen 3071 . . . 4 𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿
1241fvexi 6731 . . . . . 6 𝑊 ∈ V
125 erex 8415 . . . . . 6 (𝐿 Er 𝑊 → (𝑊 ∈ V → 𝐿 ∈ V))
12671, 124, 125mp2 9 . . . . 5 𝐿 ∈ V
127 ereq1 8398 . . . . . 6 (𝑟 = 𝐿 → (𝑟 Er 𝑊𝐿 Er 𝑊))
128 eceq2 8431 . . . . . . . 8 (𝑟 = 𝐿 → [𝑎]𝑟 = [𝑎]𝐿)
129128sseq2d 3933 . . . . . . 7 (𝑟 = 𝐿 → (ran (𝑇𝑎) ⊆ [𝑎]𝑟 ↔ ran (𝑇𝑎) ⊆ [𝑎]𝐿))
130129ralbidv 3118 . . . . . 6 (𝑟 = 𝐿 → (∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟 ↔ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿))
131127, 130anbi12d 634 . . . . 5 (𝑟 = 𝐿 → ((𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟) ↔ (𝐿 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿)))
132126, 131elab 3587 . . . 4 (𝐿 ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} ↔ (𝐿 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿))
13371, 123, 132mpbir2an 711 . . 3 𝐿 ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)}
134 intss1 4874 . . 3 (𝐿 ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} → {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} ⊆ 𝐿)
135133, 134ax-mp 5 . 2 {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} ⊆ 𝐿
1365, 135eqsstri 3935 1 𝐿
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wtru 1544  wcel 2110  {cab 2714  wne 2940  wral 3061  wrex 3062  {crab 3065  Vcvv 3408  cdif 3863  wss 3866  c0 4237  {csn 4541  cop 4547  cotp 4549   cint 4859   ciun 4904   class class class wbr 5053  {copab 5115  cmpt 5135   I cid 5454   × cxp 5549  ccnv 5550  dom cdm 5551  ran crn 5552  cima 5554  Rel wrel 5556   Fn wfn 6375  wf 6376  ontowfo 6378  cfv 6380  (class class class)co 7213  cmpo 7215  1oc1o 8195  2oc2o 8196   Er wer 8388  [cec 8389  0cc0 10729  1c1 10730  cmin 11062  cn 11830  ...cfz 13095  ..^cfzo 13238  chash 13896  Word cword 14069   ++ cconcat 14125  ⟨“cs1 14152   splice csplice 14314  ⟨“cs2 14406   ~FG cefg 19096
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523  ax-cnex 10785  ax-resscn 10786  ax-1cn 10787  ax-icn 10788  ax-addcl 10789  ax-addrcl 10790  ax-mulcl 10791  ax-mulrcl 10792  ax-mulcom 10793  ax-addass 10794  ax-mulass 10795  ax-distr 10796  ax-i2m1 10797  ax-1ne0 10798  ax-1rid 10799  ax-rnegex 10800  ax-rrecex 10801  ax-cnre 10802  ax-pre-lttri 10803  ax-pre-lttrn 10804  ax-pre-ltadd 10805  ax-pre-mulgt0 10806
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-ot 4550  df-uni 4820  df-int 4860  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-riota 7170  df-ov 7216  df-oprab 7217  df-mpo 7218  df-om 7645  df-1st 7761  df-2nd 7762  df-wrecs 8047  df-recs 8108  df-rdg 8146  df-1o 8202  df-2o 8203  df-er 8391  df-ec 8393  df-map 8510  df-en 8627  df-dom 8628  df-sdom 8629  df-fin 8630  df-card 9555  df-pnf 10869  df-mnf 10870  df-xr 10871  df-ltxr 10872  df-le 10873  df-sub 11064  df-neg 11065  df-nn 11831  df-2 11893  df-n0 12091  df-xnn0 12163  df-z 12177  df-uz 12439  df-rp 12587  df-fz 13096  df-fzo 13239  df-hash 13897  df-word 14070  df-concat 14126  df-s1 14153  df-substr 14206  df-pfx 14236  df-splice 14315  df-s2 14413  df-efg 19099
This theorem is referenced by:  efgrelex  19141
  Copyright terms: Public domain W3C validator