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

Theorem efgcpbllema 18874
Description: Lemma for efgrelex 18871. 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 7158 . . . . 5 (𝑖 = 𝑋 → (𝐴 ++ 𝑖) = (𝐴 ++ 𝑋))
21oveq1d 7165 . . . 4 (𝑖 = 𝑋 → ((𝐴 ++ 𝑖) ++ 𝐵) = ((𝐴 ++ 𝑋) ++ 𝐵))
3 oveq2 7158 . . . . 5 (𝑗 = 𝑌 → (𝐴 ++ 𝑗) = (𝐴 ++ 𝑌))
43oveq1d 7165 . . . 4 (𝑗 = 𝑌 → ((𝐴 ++ 𝑗) ++ 𝐵) = ((𝐴 ++ 𝑌) ++ 𝐵))
52, 4breqan12d 5074 . . 3 ((𝑖 = 𝑋𝑗 = 𝑌) → (((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵) ↔ ((𝐴 ++ 𝑋) ++ 𝐵) ((𝐴 ++ 𝑌) ++ 𝐵)))
6 efgcpbllem.1 . . . 4 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ({𝑖, 𝑗} ⊆ 𝑊 ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))}
7 vex 3497 . . . . . . 7 𝑖 ∈ V
8 vex 3497 . . . . . . 7 𝑗 ∈ V
97, 8prss 4746 . . . . . 6 ((𝑖𝑊𝑗𝑊) ↔ {𝑖, 𝑗} ⊆ 𝑊)
109anbi1i 625 . . . . 5 (((𝑖𝑊𝑗𝑊) ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵)) ↔ ({𝑖, 𝑗} ⊆ 𝑊 ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵)))
1110opabbii 5125 . . . 4 {⟨𝑖, 𝑗⟩ ∣ ((𝑖𝑊𝑗𝑊) ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))} = {⟨𝑖, 𝑗⟩ ∣ ({𝑖, 𝑗} ⊆ 𝑊 ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))}
126, 11eqtr4i 2847 . . 3 𝐿 = {⟨𝑖, 𝑗⟩ ∣ ((𝑖𝑊𝑗𝑊) ∧ ((𝐴 ++ 𝑖) ++ 𝐵) ((𝐴 ++ 𝑗) ++ 𝐵))}
135, 12brab2a 5638 . 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 1533  wcel 2110  wral 3138  {crab 3142  cdif 3932  wss 3935  c0 4290  {csn 4560  {cpr 4562  cop 4566  cotp 4568   ciun 4911   class class class wbr 5058  {copab 5120  cmpt 5138   I cid 5453   × cxp 5547  ran crn 5550  cfv 6349  (class class class)co 7150  cmpo 7152  1oc1o 8089  2oc2o 8090  0cc0 10531  1c1 10532  cmin 10864  ...cfz 12886  ..^cfzo 13027  chash 13684  Word cword 13855   ++ cconcat 13916   splice csplice 14105  ⟨“cs2 14197   ~FG cefg 18826
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-br 5059  df-opab 5121  df-xp 5555  df-iota 6308  df-fv 6357  df-ov 7153
This theorem is referenced by:  efgcpbllemb  18875  efgcpbl  18876
  Copyright terms: Public domain W3C validator