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

Theorem efgrelexlema 19943
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
efgrelexlema (𝐴𝐿𝐵 ↔ ∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝐵})(𝑎‘0) = (𝑏‘0))
Distinct variable groups:   𝑎,𝑏,𝑐,𝑑,𝑖,𝑗,𝐴   𝑦,𝑎,𝑧,𝑏   𝐿,𝑎,𝑏   𝑛,𝑐,𝑡,𝑣,𝑤,𝑦,𝑧   𝑚,𝑎,𝑛,𝑡,𝑣,𝑤,𝑥,𝑀,𝑏,𝑐,𝑖,𝑗   𝑘,𝑎,𝑇,𝑏,𝑐,𝑖,𝑗,𝑚,𝑡,𝑥   𝑊,𝑎,𝑏,𝑐   𝑘,𝑑,𝑚,𝑛,𝑡,𝑣,𝑤,𝑥,𝑦,𝑧,𝑊,𝑖,𝑗   ∼ ,𝑎,𝑏,𝑐,𝑑,𝑖,𝑗,𝑚,𝑡,𝑥,𝑦,𝑧   𝐵,𝑎,𝑏,𝑐,𝑑,𝑖,𝑗   𝑆,𝑎,𝑏,𝑐,𝑑,𝑖,𝑗   𝐼,𝑎,𝑏,𝑐,𝑖,𝑗,𝑚,𝑛,𝑡,𝑣,𝑤,𝑥,𝑦,𝑧   𝐷,𝑎,𝑏,𝑐,𝑑,𝑖,𝑗,𝑚,𝑡
Allowed substitution hints:   𝐴(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑡, 𝑘, 𝑚, 𝑛)   𝐵(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑡, 𝑘, 𝑚, 𝑛)   𝐷(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑘, 𝑛)   ∼ (𝑤, 𝑣, 𝑘, 𝑛)   𝑆(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑡, 𝑘, 𝑚, 𝑛)   𝑇(𝑦, 𝑧, 𝑤, 𝑣, 𝑛, 𝑑)   𝐼(𝑘, 𝑑)   𝐿(𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑡, 𝑖, 𝑗, 𝑘, 𝑚, 𝑛, 𝑐, 𝑑)   𝑀(𝑦, 𝑧, 𝑘, 𝑑)

Proof of Theorem efgrelexlema
StepHypRef Expression
1 efgrelexlem.1 . . 3 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ∃𝑐 ∈ (◡𝑆 “ {𝑖})∃𝑑 ∈ (◡𝑆 “ {𝑗})(𝑐‘0) = (𝑑‘0)}
21bropaex12 5742 . 2 (𝐴𝐿𝐵 → (𝐴 ∈ V ∧ 𝐵 ∈ V))
3 n0i 4286 . . . . . 6 (𝑎 ∈ (◡𝑆 “ {𝐴}) → ¬ (◡𝑆 “ {𝐴}) = ∅)
4 snprc 4678 . . . . . . . 8 (¬ 𝐴 ∈ V ↔ {𝐴} = ∅)
5 imaeq2 6050 . . . . . . . 8 ({𝐴} = ∅ → (◡𝑆 “ {𝐴}) = (◡𝑆 “ ∅))
64, 5sylbi 220 . . . . . . 7 (¬ 𝐴 ∈ V → (◡𝑆 “ {𝐴}) = (◡𝑆 “ ∅))
7 ima0 6071 . . . . . . 7 (◡𝑆 “ ∅) = ∅
86, 7eqtrdi 2812 . . . . . 6 (¬ 𝐴 ∈ V → (◡𝑆 “ {𝐴}) = ∅)
93, 8nsyl2 142 . . . . 5 (𝑎 ∈ (◡𝑆 “ {𝐴}) → 𝐴 ∈ V)
10 n0i 4286 . . . . . 6 (𝑏 ∈ (◡𝑆 “ {𝐵}) → ¬ (◡𝑆 “ {𝐵}) = ∅)
11 snprc 4678 . . . . . . . 8 (¬ 𝐵 ∈ V ↔ {𝐵} = ∅)
12 imaeq2 6050 . . . . . . . 8 ({𝐵} = ∅ → (◡𝑆 “ {𝐵}) = (◡𝑆 “ ∅))
1311, 12sylbi 220 . . . . . . 7 (¬ 𝐵 ∈ V → (◡𝑆 “ {𝐵}) = (◡𝑆 “ ∅))
1413, 7eqtrdi 2812 . . . . . 6 (¬ 𝐵 ∈ V → (◡𝑆 “ {𝐵}) = ∅)
1510, 14nsyl2 142 . . . . 5 (𝑏 ∈ (◡𝑆 “ {𝐵}) → 𝐵 ∈ V)
169, 15anim12i 625 . . . 4 ((𝑎 ∈ (◡𝑆 “ {𝐴}) ∧ 𝑏 ∈ (◡𝑆 “ {𝐵})) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
1716a1d 26 . . 3 ((𝑎 ∈ (◡𝑆 “ {𝐴}) ∧ 𝑏 ∈ (◡𝑆 “ {𝐵})) → ((𝑎‘0) = (𝑏‘0) → (𝐴 ∈ V ∧ 𝐵 ∈ V)))
1817rexlimivv 3205 . 2 (∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝐵})(𝑎‘0) = (𝑏‘0) → (𝐴 ∈ V ∧ 𝐵 ∈ V))
19 fveq1 6876 . . . . . 6 (𝑐 = 𝑎 → (𝑐‘0) = (𝑎‘0))
2019eqeq1d 2763 . . . . 5 (𝑐 = 𝑎 → ((𝑐‘0) = (𝑑‘0) ↔ (𝑎‘0) = (𝑑‘0)))
21 fveq1 6876 . . . . . 6 (𝑑 = 𝑏 → (𝑑‘0) = (𝑏‘0))
2221eqeq2d 2772 . . . . 5 (𝑑 = 𝑏 → ((𝑎‘0) = (𝑑‘0) ↔ (𝑎‘0) = (𝑏‘0)))
2320, 22cbvrex2vw 3246 . . . 4 (∃𝑐 ∈ (◡𝑆 “ {𝑖})∃𝑑 ∈ (◡𝑆 “ {𝑗})(𝑐‘0) = (𝑑‘0) ↔ ∃𝑎 ∈ (◡𝑆 “ {𝑖})∃𝑏 ∈ (◡𝑆 “ {𝑗})(𝑎‘0) = (𝑏‘0))
24 sneq 4594 . . . . . 6 (𝑖 = 𝐴 → {𝑖} = {𝐴})
2524imaeq2d 6054 . . . . 5 (𝑖 = 𝐴 → (◡𝑆 “ {𝑖}) = (◡𝑆 “ {𝐴}))
2625rexeqdv 3321 . . . 4 (𝑖 = 𝐴 → (∃𝑎 ∈ (◡𝑆 “ {𝑖})∃𝑏 ∈ (◡𝑆 “ {𝑗})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝑗})(𝑎‘0) = (𝑏‘0)))
2723, 26bitrid 286 . . 3 (𝑖 = 𝐴 → (∃𝑐 ∈ (◡𝑆 “ {𝑖})∃𝑑 ∈ (◡𝑆 “ {𝑗})(𝑐‘0) = (𝑑‘0) ↔ ∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝑗})(𝑎‘0) = (𝑏‘0)))
28 sneq 4594 . . . . . 6 (𝑗 = 𝐵 → {𝑗} = {𝐵})
2928imaeq2d 6054 . . . . 5 (𝑗 = 𝐵 → (◡𝑆 “ {𝑗}) = (◡𝑆 “ {𝐵}))
3029rexeqdv 3321 . . . 4 (𝑗 = 𝐵 → (∃𝑏 ∈ (◡𝑆 “ {𝑗})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑏 ∈ (◡𝑆 “ {𝐵})(𝑎‘0) = (𝑏‘0)))
3130rexbidv 3187 . . 3 (𝑗 = 𝐵 → (∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝑗})(𝑎‘0) = (𝑏‘0) ↔ ∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝐵})(𝑎‘0) = (𝑏‘0)))
3227, 31, 1brabg 5514 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (𝐴𝐿𝐵 ↔ ∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝐵})(𝑎‘0) = (𝑏‘0)))
332, 18, 32pm5.21nii 381 1 (𝐴𝐿𝐵 ↔ ∃𝑎 ∈ (◡𝑆 “ {𝐴})∃𝑏 ∈ (◡𝑆 “ {𝐵})(𝑎‘0) = (𝑏‘0))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3077  ∃wrex 3087  {crab 3413  Vcvv 3451   ∖ cdif 3896  ∅c0 4279  {csn 4584  ⟨cop 4590  ⟨cotp 4592  ∪ ciun 4951   class class class wbr 5103  {copab 5167   ↦ cmpt 5186   I cid 5545   × cxp 5649  ◡ccnv 5650  ran crn 5652   “ cima 5654  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414  1oc1o 8453  2oc2o 8454  0cc0 11181  1c1 11182   − cmin 11522  ...cfz 13620  ..^cfzo 13768  ♯chash 14454  Word cword 14638   splice csplice 14878  ⟨“cs2 14972   ~FG cefg 19900
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-ext 2733  ax-sep 5249  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-xp 5657  df-cnv 5659  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fv 6539
This theorem is used by:  efgrelexlemb  19944  efgrelex  19945
  Copyright terms: Public domain W3C validator