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

Theorem efgrelexlemb 19356
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 19330 . 2 = {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)}
6 efgrelexlem.1 . . . . . . . 8 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ∃𝑐 ∈ (𝑆 “ {𝑖})∃𝑑 ∈ (𝑆 “ {𝑗})(𝑐‘0) = (𝑑‘0)}
76relopabiv 5730 . . . . . . 7 Rel 𝐿
87a1i 11 . . . . . 6 (⊤ → Rel 𝐿)
9 simpr 485 . . . . . . 7 ((⊤ ∧ 𝑓𝐿𝑔) → 𝑓𝐿𝑔)
10 eqcom 2745 . . . . . . . . . 10 ((𝑎‘0) = (𝑏‘0) ↔ (𝑏‘0) = (𝑎‘0))
11102rexbii 3182 . . . . . . . . 9 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑏‘0) = (𝑎‘0))
12 rexcom 3234 . . . . . . . . 9 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑏‘0) = (𝑎‘0) ↔ ∃𝑏 ∈ (𝑆 “ {𝑔})∃𝑎 ∈ (𝑆 “ {𝑓})(𝑏‘0) = (𝑎‘0))
1311, 12bitri 274 . . . . . . . 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 19355 . . . . . . . 8 (𝑓𝐿𝑔 ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0))
171, 2, 3, 4, 14, 15, 6efgrelexlema 19355 . . . . . . . 8 (𝑔𝐿𝑓 ↔ ∃𝑏 ∈ (𝑆 “ {𝑔})∃𝑎 ∈ (𝑆 “ {𝑓})(𝑏‘0) = (𝑎‘0))
1813, 16, 173bitr4i 303 . . . . . . 7 (𝑓𝐿𝑔𝑔𝐿𝑓)
199, 18sylib 217 . . . . . 6 ((⊤ ∧ 𝑓𝐿𝑔) → 𝑔𝐿𝑓)
201, 2, 3, 4, 14, 15, 6efgrelexlema 19355 . . . . . . . . 9 (𝑔𝐿 ↔ ∃𝑟 ∈ (𝑆 “ {𝑔})∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0))
21 reeanv 3294 . . . . . . . . . 10 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑟 ∈ (𝑆 “ {𝑔})(∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) ↔ (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑟 ∈ (𝑆 “ {𝑔})∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)))
221, 2, 3, 4, 14, 15efgsfo 19345 . . . . . . . . . . . . . . . . . . . 20 𝑆:dom 𝑆onto𝑊
23 fofn 6690 . . . . . . . . . . . . . . . . . . . 20 (𝑆:dom 𝑆onto𝑊𝑆 Fn dom 𝑆)
2422, 23ax-mp 5 . . . . . . . . . . . . . . . . . . 19 𝑆 Fn dom 𝑆
25 fniniseg 6937 . . . . . . . . . . . . . . . . . . 19 (𝑆 Fn dom 𝑆 → (𝑟 ∈ (𝑆 “ {𝑔}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑔)))
2624, 25ax-mp 5 . . . . . . . . . . . . . . . . . 18 (𝑟 ∈ (𝑆 “ {𝑔}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑔))
27 fniniseg 6937 . . . . . . . . . . . . . . . . . . 19 (𝑆 Fn dom 𝑆 → (𝑏 ∈ (𝑆 “ {𝑔}) ↔ (𝑏 ∈ dom 𝑆 ∧ (𝑆𝑏) = 𝑔)))
2824, 27ax-mp 5 . . . . . . . . . . . . . . . . . 18 (𝑏 ∈ (𝑆 “ {𝑔}) ↔ (𝑏 ∈ dom 𝑆 ∧ (𝑆𝑏) = 𝑔))
29 eqtr3 2764 . . . . . . . . . . . . . . . . . . . 20 (((𝑆𝑟) = 𝑔 ∧ (𝑆𝑏) = 𝑔) → (𝑆𝑟) = (𝑆𝑏))
301, 2, 3, 4, 14, 15efgred 19354 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆 ∧ (𝑆𝑟) = (𝑆𝑏)) → (𝑟‘0) = (𝑏‘0))
3130eqcomd 2744 . . . . . . . . . . . . . . . . . . . . 21 ((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆 ∧ (𝑆𝑟) = (𝑆𝑏)) → (𝑏‘0) = (𝑟‘0))
32313expa 1117 . . . . . . . . . . . . . . . . . . . 20 (((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆) ∧ (𝑆𝑟) = (𝑆𝑏)) → (𝑏‘0) = (𝑟‘0))
3329, 32sylan2 593 . . . . . . . . . . . . . . . . . . 19 (((𝑟 ∈ dom 𝑆𝑏 ∈ dom 𝑆) ∧ ((𝑆𝑟) = 𝑔 ∧ (𝑆𝑏) = 𝑔)) → (𝑏‘0) = (𝑟‘0))
3433an4s 657 . . . . . . . . . . . . . . . . . 18 (((𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑔) ∧ (𝑏 ∈ dom 𝑆 ∧ (𝑆𝑏) = 𝑔)) → (𝑏‘0) = (𝑟‘0))
3526, 28, 34syl2anb 598 . . . . . . . . . . . . . . . . 17 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → (𝑏‘0) = (𝑟‘0))
36 eqeq2 2750 . . . . . . . . . . . . . . . . 17 ((𝑟‘0) = (𝑠‘0) → ((𝑏‘0) = (𝑟‘0) ↔ (𝑏‘0) = (𝑠‘0)))
3735, 36syl5ibcom 244 . . . . . . . . . . . . . . . 16 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → ((𝑟‘0) = (𝑠‘0) → (𝑏‘0) = (𝑠‘0)))
3837reximdv 3202 . . . . . . . . . . . . . . 15 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑏‘0) = (𝑠‘0)))
39 eqeq1 2742 . . . . . . . . . . . . . . . . 17 ((𝑎‘0) = (𝑏‘0) → ((𝑎‘0) = (𝑠‘0) ↔ (𝑏‘0) = (𝑠‘0)))
4039rexbidv 3226 . . . . . . . . . . . . . . . 16 ((𝑎‘0) = (𝑏‘0) → (∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0) ↔ ∃𝑠 ∈ (𝑆 “ {})(𝑏‘0) = (𝑠‘0)))
4140imbi2d 341 . . . . . . . . . . . . . . 15 ((𝑎‘0) = (𝑏‘0) → ((∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0)) ↔ (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑏‘0) = (𝑠‘0))))
4238, 41syl5ibrcom 246 . . . . . . . . . . . . . 14 ((𝑟 ∈ (𝑆 “ {𝑔}) ∧ 𝑏 ∈ (𝑆 “ {𝑔})) → ((𝑎‘0) = (𝑏‘0) → (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))))
4342rexlimdva 3213 . . . . . . . . . . . . 13 (𝑟 ∈ (𝑆 “ {𝑔}) → (∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) → (∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))))
4443impd 411 . . . . . . . . . . . 12 (𝑟 ∈ (𝑆 “ {𝑔}) → ((∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0)))
4544rexlimiv 3209 . . . . . . . . . . 11 (∃𝑟 ∈ (𝑆 “ {𝑔})(∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
4645reximi 3178 . . . . . . . . . 10 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑟 ∈ (𝑆 “ {𝑔})(∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
4721, 46sylbir 234 . . . . . . . . 9 ((∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑔})(𝑎‘0) = (𝑏‘0) ∧ ∃𝑟 ∈ (𝑆 “ {𝑔})∃𝑠 ∈ (𝑆 “ {})(𝑟‘0) = (𝑠‘0)) → ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
4816, 20, 47syl2anb 598 . . . . . . . 8 ((𝑓𝐿𝑔𝑔𝐿) → ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
491, 2, 3, 4, 14, 15, 6efgrelexlema 19355 . . . . . . . 8 (𝑓𝐿 ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑠 ∈ (𝑆 “ {})(𝑎‘0) = (𝑠‘0))
5048, 49sylibr 233 . . . . . . 7 ((𝑓𝐿𝑔𝑔𝐿) → 𝑓𝐿)
5150adantl 482 . . . . . 6 ((⊤ ∧ (𝑓𝐿𝑔𝑔𝐿)) → 𝑓𝐿)
52 eqid 2738 . . . . . . . . . . . 12 (𝑎‘0) = (𝑎‘0)
53 fveq1 6773 . . . . . . . . . . . . 13 (𝑏 = 𝑎 → (𝑏‘0) = (𝑎‘0))
5453rspceeqv 3575 . . . . . . . . . . . 12 ((𝑎 ∈ (𝑆 “ {𝑓}) ∧ (𝑎‘0) = (𝑎‘0)) → ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0))
5552, 54mpan2 688 . . . . . . . . . . 11 (𝑎 ∈ (𝑆 “ {𝑓}) → ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0))
5655pm4.71i 560 . . . . . . . . . 10 (𝑎 ∈ (𝑆 “ {𝑓}) ↔ (𝑎 ∈ (𝑆 “ {𝑓}) ∧ ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0)))
57 fniniseg 6937 . . . . . . . . . . 11 (𝑆 Fn dom 𝑆 → (𝑎 ∈ (𝑆 “ {𝑓}) ↔ (𝑎 ∈ dom 𝑆 ∧ (𝑆𝑎) = 𝑓)))
5824, 57ax-mp 5 . . . . . . . . . 10 (𝑎 ∈ (𝑆 “ {𝑓}) ↔ (𝑎 ∈ dom 𝑆 ∧ (𝑆𝑎) = 𝑓))
5956, 58bitr3i 276 . . . . . . . . 9 ((𝑎 ∈ (𝑆 “ {𝑓}) ∧ ∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0)) ↔ (𝑎 ∈ dom 𝑆 ∧ (𝑆𝑎) = 𝑓))
6059rexbii2 3179 . . . . . . . 8 (∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓)
611, 2, 3, 4, 14, 15, 6efgrelexlema 19355 . . . . . . . 8 (𝑓𝐿𝑓 ↔ ∃𝑎 ∈ (𝑆 “ {𝑓})∃𝑏 ∈ (𝑆 “ {𝑓})(𝑎‘0) = (𝑏‘0))
62 forn 6691 . . . . . . . . . . 11 (𝑆:dom 𝑆onto𝑊 → ran 𝑆 = 𝑊)
6322, 62ax-mp 5 . . . . . . . . . 10 ran 𝑆 = 𝑊
6463eleq2i 2830 . . . . . . . . 9 (𝑓 ∈ ran 𝑆𝑓𝑊)
65 fvelrnb 6830 . . . . . . . . . 10 (𝑆 Fn dom 𝑆 → (𝑓 ∈ ran 𝑆 ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓))
6624, 65ax-mp 5 . . . . . . . . 9 (𝑓 ∈ ran 𝑆 ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓)
6764, 66bitr3i 276 . . . . . . . 8 (𝑓𝑊 ↔ ∃𝑎 ∈ dom 𝑆(𝑆𝑎) = 𝑓)
6860, 61, 673bitr4ri 304 . . . . . . 7 (𝑓𝑊𝑓𝐿𝑓)
6968a1i 11 . . . . . 6 (⊤ → (𝑓𝑊𝑓𝐿𝑓))
708, 19, 51, 69iserd 8524 . . . . 5 (⊤ → 𝐿 Er 𝑊)
7170mptru 1546 . . . 4 𝐿 Er 𝑊
72 simpl 483 . . . . . . . . . . 11 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑎𝑊)
73 foelrn 6982 . . . . . . . . . . 11 ((𝑆:dom 𝑆onto𝑊𝑎𝑊) → ∃𝑟 ∈ dom 𝑆 𝑎 = (𝑆𝑟))
7422, 72, 73sylancr 587 . . . . . . . . . 10 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → ∃𝑟 ∈ dom 𝑆 𝑎 = (𝑆𝑟))
75 simprl 768 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ dom 𝑆)
76 simprr 770 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑎 = (𝑆𝑟))
7776eqcomd 2744 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑆𝑟) = 𝑎)
78 fniniseg 6937 . . . . . . . . . . . 12 (𝑆 Fn dom 𝑆 → (𝑟 ∈ (𝑆 “ {𝑎}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑎)))
7924, 78ax-mp 5 . . . . . . . . . . 11 (𝑟 ∈ (𝑆 “ {𝑎}) ↔ (𝑟 ∈ dom 𝑆 ∧ (𝑆𝑟) = 𝑎))
8075, 77, 79sylanbrc 583 . . . . . . . . . 10 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ (𝑆 “ {𝑎}))
81 simplr 766 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑏 ∈ ran (𝑇𝑎))
8276fveq2d 6778 . . . . . . . . . . . . . . 15 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑇𝑎) = (𝑇‘(𝑆𝑟)))
8382rneqd 5847 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ran (𝑇𝑎) = ran (𝑇‘(𝑆𝑟)))
8481, 83eleqtrd 2841 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑏 ∈ ran (𝑇‘(𝑆𝑟)))
851, 2, 3, 4, 14, 15efgsp1 19343 . . . . . . . . . . . . 13 ((𝑟 ∈ dom 𝑆𝑏 ∈ ran (𝑇‘(𝑆𝑟))) → (𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆)
8675, 84, 85syl2anc 584 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆)
871, 2, 3, 4, 14, 15efgsdm 19336 . . . . . . . . . . . . . . . 16 (𝑟 ∈ dom 𝑆 ↔ (𝑟 ∈ (Word 𝑊 ∖ {∅}) ∧ (𝑟‘0) ∈ 𝐷 ∧ ∀𝑖 ∈ (1..^(♯‘𝑟))(𝑟𝑖) ∈ ran (𝑇‘(𝑟‘(𝑖 − 1)))))
8887simp1bi 1144 . . . . . . . . . . . . . . 15 (𝑟 ∈ dom 𝑆𝑟 ∈ (Word 𝑊 ∖ {∅}))
8988ad2antrl 725 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ (Word 𝑊 ∖ {∅}))
9089eldifad 3899 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑟 ∈ Word 𝑊)
911, 2, 3, 4efgtf 19328 . . . . . . . . . . . . . . . . 17 (𝑎𝑊 → ((𝑇𝑎) = (𝑓 ∈ (0...(♯‘𝑎)), 𝑔 ∈ (𝐼 × 2o) ↦ (𝑎 splice ⟨𝑓, 𝑓, ⟨“𝑔(𝑀𝑔)”⟩⟩)) ∧ (𝑇𝑎):((0...(♯‘𝑎)) × (𝐼 × 2o))⟶𝑊))
9291simprd 496 . . . . . . . . . . . . . . . 16 (𝑎𝑊 → (𝑇𝑎):((0...(♯‘𝑎)) × (𝐼 × 2o))⟶𝑊)
9392frnd 6608 . . . . . . . . . . . . . . 15 (𝑎𝑊 → ran (𝑇𝑎) ⊆ 𝑊)
9493sselda 3921 . . . . . . . . . . . . . 14 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑏𝑊)
9594adantr 481 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 𝑏𝑊)
961, 2, 3, 4, 14, 15efgsval2 19339 . . . . . . . . . . . . 13 ((𝑟 ∈ Word 𝑊𝑏𝑊 ∧ (𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆) → (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏)
9790, 95, 86, 96syl3anc 1370 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏)
98 fniniseg 6937 . . . . . . . . . . . . 13 (𝑆 Fn dom 𝑆 → ((𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}) ↔ ((𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆 ∧ (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏)))
9924, 98ax-mp 5 . . . . . . . . . . . 12 ((𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}) ↔ ((𝑟 ++ ⟨“𝑏”⟩) ∈ dom 𝑆 ∧ (𝑆‘(𝑟 ++ ⟨“𝑏”⟩)) = 𝑏))
10086, 97, 99sylanbrc 583 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}))
10195s1cld 14308 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ⟨“𝑏”⟩ ∈ Word 𝑊)
102 eldifsn 4720 . . . . . . . . . . . . . . . 16 (𝑟 ∈ (Word 𝑊 ∖ {∅}) ↔ (𝑟 ∈ Word 𝑊𝑟 ≠ ∅))
103 lennncl 14237 . . . . . . . . . . . . . . . 16 ((𝑟 ∈ Word 𝑊𝑟 ≠ ∅) → (♯‘𝑟) ∈ ℕ)
104102, 103sylbi 216 . . . . . . . . . . . . . . 15 (𝑟 ∈ (Word 𝑊 ∖ {∅}) → (♯‘𝑟) ∈ ℕ)
10589, 104syl 17 . . . . . . . . . . . . . 14 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (♯‘𝑟) ∈ ℕ)
106 lbfzo0 13427 . . . . . . . . . . . . . 14 (0 ∈ (0..^(♯‘𝑟)) ↔ (♯‘𝑟) ∈ ℕ)
107105, 106sylibr 233 . . . . . . . . . . . . 13 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → 0 ∈ (0..^(♯‘𝑟)))
108 ccatval1 14281 . . . . . . . . . . . . 13 ((𝑟 ∈ Word 𝑊 ∧ ⟨“𝑏”⟩ ∈ Word 𝑊 ∧ 0 ∈ (0..^(♯‘𝑟))) → ((𝑟 ++ ⟨“𝑏”⟩)‘0) = (𝑟‘0))
10990, 101, 107, 108syl3anc 1370 . . . . . . . . . . . 12 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ((𝑟 ++ ⟨“𝑏”⟩)‘0) = (𝑟‘0))
110109eqcomd 2744 . . . . . . . . . . 11 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → (𝑟‘0) = ((𝑟 ++ ⟨“𝑏”⟩)‘0))
111 fveq1 6773 . . . . . . . . . . . 12 (𝑠 = (𝑟 ++ ⟨“𝑏”⟩) → (𝑠‘0) = ((𝑟 ++ ⟨“𝑏”⟩)‘0))
112111rspceeqv 3575 . . . . . . . . . . 11 (((𝑟 ++ ⟨“𝑏”⟩) ∈ (𝑆 “ {𝑏}) ∧ (𝑟‘0) = ((𝑟 ++ ⟨“𝑏”⟩)‘0)) → ∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
113100, 110, 112syl2anc 584 . . . . . . . . . 10 (((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) ∧ (𝑟 ∈ dom 𝑆𝑎 = (𝑆𝑟))) → ∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
11474, 80, 113reximssdv 3205 . . . . . . . . 9 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → ∃𝑟 ∈ (𝑆 “ {𝑎})∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
1151, 2, 3, 4, 14, 15, 6efgrelexlema 19355 . . . . . . . . 9 (𝑎𝐿𝑏 ↔ ∃𝑟 ∈ (𝑆 “ {𝑎})∃𝑠 ∈ (𝑆 “ {𝑏})(𝑟‘0) = (𝑠‘0))
116114, 115sylibr 233 . . . . . . . 8 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑎𝐿𝑏)
117 vex 3436 . . . . . . . . 9 𝑏 ∈ V
118 vex 3436 . . . . . . . . 9 𝑎 ∈ V
119117, 118elec 8542 . . . . . . . 8 (𝑏 ∈ [𝑎]𝐿𝑎𝐿𝑏)
120116, 119sylibr 233 . . . . . . 7 ((𝑎𝑊𝑏 ∈ ran (𝑇𝑎)) → 𝑏 ∈ [𝑎]𝐿)
121120ex 413 . . . . . 6 (𝑎𝑊 → (𝑏 ∈ ran (𝑇𝑎) → 𝑏 ∈ [𝑎]𝐿))
122121ssrdv 3927 . . . . 5 (𝑎𝑊 → ran (𝑇𝑎) ⊆ [𝑎]𝐿)
123122rgen 3074 . . . 4 𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿
1241fvexi 6788 . . . . . 6 𝑊 ∈ V
125 erex 8522 . . . . . 6 (𝐿 Er 𝑊 → (𝑊 ∈ V → 𝐿 ∈ V))
12671, 124, 125mp2 9 . . . . 5 𝐿 ∈ V
127 ereq1 8505 . . . . . 6 (𝑟 = 𝐿 → (𝑟 Er 𝑊𝐿 Er 𝑊))
128 eceq2 8538 . . . . . . . 8 (𝑟 = 𝐿 → [𝑎]𝑟 = [𝑎]𝐿)
129128sseq2d 3953 . . . . . . 7 (𝑟 = 𝐿 → (ran (𝑇𝑎) ⊆ [𝑎]𝑟 ↔ ran (𝑇𝑎) ⊆ [𝑎]𝐿))
130129ralbidv 3112 . . . . . 6 (𝑟 = 𝐿 → (∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟 ↔ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿))
131127, 130anbi12d 631 . . . . 5 (𝑟 = 𝐿 → ((𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟) ↔ (𝐿 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿)))
132126, 131elab 3609 . . . 4 (𝐿 ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} ↔ (𝐿 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝐿))
13371, 123, 132mpbir2an 708 . . 3 𝐿 ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)}
134 intss1 4894 . . 3 (𝐿 ∈ {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} → {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} ⊆ 𝐿)
135133, 134ax-mp 5 . 2 {𝑟 ∣ (𝑟 Er 𝑊 ∧ ∀𝑎𝑊 ran (𝑇𝑎) ⊆ [𝑎]𝑟)} ⊆ 𝐿
1365, 135eqsstri 3955 1 𝐿
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wtru 1540  wcel 2106  {cab 2715  wne 2943  wral 3064  wrex 3065  {crab 3068  Vcvv 3432  cdif 3884  wss 3887  c0 4256  {csn 4561  cop 4567  cotp 4569   cint 4879   ciun 4924   class class class wbr 5074  {copab 5136  cmpt 5157   I cid 5488   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  cima 5592  Rel wrel 5594   Fn wfn 6428  wf 6429  ontowfo 6431  cfv 6433  (class class class)co 7275  cmpo 7277  1oc1o 8290  2oc2o 8291   Er wer 8495  [cec 8496  0cc0 10871  1c1 10872  cmin 11205  cn 11973  ...cfz 13239  ..^cfzo 13382  chash 14044  Word cword 14217   ++ cconcat 14273  ⟨“cs1 14300   splice csplice 14462  ⟨“cs2 14554   ~FG cefg 19312
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-cnex 10927  ax-resscn 10928  ax-1cn 10929  ax-icn 10930  ax-addcl 10931  ax-addrcl 10932  ax-mulcl 10933  ax-mulrcl 10934  ax-mulcom 10935  ax-addass 10936  ax-mulass 10937  ax-distr 10938  ax-i2m1 10939  ax-1ne0 10940  ax-1rid 10941  ax-rnegex 10942  ax-rrecex 10943  ax-cnre 10944  ax-pre-lttri 10945  ax-pre-lttrn 10946  ax-pre-ltadd 10947  ax-pre-mulgt0 10948
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-ot 4570  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-rdg 8241  df-1o 8297  df-2o 8298  df-er 8498  df-ec 8500  df-map 8617  df-en 8734  df-dom 8735  df-sdom 8736  df-fin 8737  df-card 9697  df-pnf 11011  df-mnf 11012  df-xr 11013  df-ltxr 11014  df-le 11015  df-sub 11207  df-neg 11208  df-nn 11974  df-2 12036  df-n0 12234  df-xnn0 12306  df-z 12320  df-uz 12583  df-rp 12731  df-fz 13240  df-fzo 13383  df-hash 14045  df-word 14218  df-concat 14274  df-s1 14301  df-substr 14354  df-pfx 14384  df-splice 14463  df-s2 14561  df-efg 19315
This theorem is referenced by:  efgrelex  19357
  Copyright terms: Public domain W3C validator