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

Theorem efgcpbllema 18883
Description: Lemma for efgrelex 18880. Define an auxiliary equivalence relation 𝐿 such that 𝐴𝐿𝐵 if there are sequences from 𝐴 to 𝐵 passing through the same reduced word. (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)))
efgcpbllem.1 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ({𝑖, 𝑗} ⊆ 𝑊 ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))}
Assertion
Ref Expression
efgcpbllema (𝑋𝐿𝑌 ↔ (𝑋𝑊𝑌𝑊 ∧ ((𝐴 ++ 𝑋) ++ 𝐵) ((𝐴 ++ 𝑌) ++ 𝐵)))
Distinct variable groups:   𝑖,𝑗,𝐴   𝑦,𝑧   𝑡,𝑛,𝑣,𝑤,𝑦,𝑧   𝑖,𝑚,𝑛,𝑡,𝑣,𝑤,𝑥,𝑀,𝑗   𝑖,𝑘,𝑇,𝑗,𝑚,𝑡,𝑥   𝑖,𝑋,𝑗   𝑦,𝑖,𝑧,𝑊,𝑗   𝑘,𝑛,𝑣,𝑤,𝑦,𝑧,𝑊,𝑚,𝑡,𝑥   ,𝑖,𝑗,𝑚,𝑡,𝑥,𝑦,𝑧   𝐵,𝑖,𝑗   𝑆,𝑖,𝑗   𝑖,𝑌,𝑗   𝑖,𝐼,𝑗,𝑚,𝑛,𝑡,𝑣,𝑤,𝑥,𝑦,𝑧   𝐷,𝑖,𝑗,𝑚,𝑡
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑘,𝑚,𝑛)   𝐵(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑘,𝑚,𝑛)   𝐷(𝑥,𝑦,𝑧,𝑤,𝑣,𝑘,𝑛)   (𝑤,𝑣,𝑘,𝑛)   𝑆(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑘,𝑚,𝑛)   𝑇(𝑦,𝑧,𝑤,𝑣,𝑛)   𝐼(𝑘)   𝐿(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑖,𝑗,𝑘,𝑚,𝑛)   𝑀(𝑦,𝑧,𝑘)   𝑋(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑘,𝑚,𝑛)   𝑌(𝑥,𝑦,𝑧,𝑤,𝑣,𝑡,𝑘,𝑚,𝑛)

Proof of Theorem efgcpbllema
StepHypRef Expression
1 oveq2 7167 . . . . 5 (𝑖 = 𝑋 → (𝐴 ++ 𝑖) = (𝐴 ++ 𝑋))
21oveq1d 7174 . . . 4 (𝑖 = 𝑋 → ((𝐴 ++ 𝑖) ++ 𝐵) = ((𝐴 ++ 𝑋) ++ 𝐵))
3 oveq2 7167 . . . . 5 (𝑗 = 𝑌 → (𝐴 ++ 𝑗) = (𝐴 ++ 𝑌))
43oveq1d 7174 . . . 4 (𝑗 = 𝑌 → ((𝐴 ++ 𝑗) ++ 𝐵) = ((𝐴 ++ 𝑌) ++ 𝐵))
52, 4breqan12d 5085 . . 3 ((𝑖 = 𝑋𝑗 = 𝑌) → (((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵) ↔ ((𝐴 ++ 𝑋) ++ 𝐵) ((𝐴 ++ 𝑌) ++ 𝐵)))
6 efgcpbllem.1 . . . 4 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ({𝑖, 𝑗} ⊆ 𝑊 ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))}
7 vex 3500 . . . . . . 7 𝑖 ∈ V
8 vex 3500 . . . . . . 7 𝑗 ∈ V
97, 8prss 4756 . . . . . 6 ((𝑖𝑊𝑗𝑊) ↔ {𝑖, 𝑗} ⊆ 𝑊)
109anbi1i 625 . . . . 5 (((𝑖𝑊𝑗𝑊) ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵)) ↔ ({𝑖, 𝑗} ⊆ 𝑊 ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵)))
1110opabbii 5136 . . . 4 {⟨𝑖, 𝑗⟩ ∣ ((𝑖𝑊𝑗𝑊) ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))} = {⟨𝑖, 𝑗⟩ ∣ ({𝑖, 𝑗} ⊆ 𝑊 ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))}
126, 11eqtr4i 2850 . . 3 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ((𝑖𝑊𝑗𝑊) ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))}
135, 12brab2a 5647 . 2 (𝑋𝐿𝑌 ↔ ((𝑋𝑊𝑌𝑊) ∧ ((𝐴 ++ 𝑋) ++ 𝐵) ((𝐴 ++ 𝑌) ++ 𝐵)))
14 df-3an 1085 . 2 ((𝑋𝑊𝑌𝑊 ∧ ((𝐴 ++ 𝑋) ++ 𝐵) ((𝐴 ++ 𝑌) ++ 𝐵)) ↔ ((𝑋𝑊𝑌𝑊) ∧ ((𝐴 ++ 𝑋) ++ 𝐵) ((𝐴 ++ 𝑌) ++ 𝐵)))
1513, 14bitr4i 280 1 (𝑋𝐿𝑌 ↔ (𝑋𝑊𝑌𝑊 ∧ ((𝐴 ++ 𝑋) ++ 𝐵) ((𝐴 ++ 𝑌) ++ 𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  w3a 1083   = wceq 1536  wcel 2113  wral 3141  {crab 3145  cdif 3936  wss 3939  c0 4294  {csn 4570  {cpr 4572  cop 4576  cotp 4578   ciun 4922   class class class wbr 5069  {copab 5131  cmpt 5149   I cid 5462   × cxp 5556  ran crn 5559  cfv 6358  (class class class)co 7159  cmpo 7161  1oc1o 8098  2oc2o 8099  0cc0 10540  1c1 10541  cmin 10873  ...cfz 12895  ..^cfzo 13036  chash 13693  Word cword 13864   ++ cconcat 13925   splice csplice 14114  ⟨“cs2 14206   ~FG cefg 18835
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-sep 5206  ax-nul 5213  ax-pr 5333
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ral 3146  df-rex 3147  df-rab 3150  df-v 3499  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-br 5070  df-opab 5132  df-xp 5564  df-iota 6317  df-fv 6366  df-ov 7162
This theorem is referenced by:  efgcpbllemb  18884  efgcpbl  18885
  Copyright terms: Public domain W3C validator