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

Theorem efglem 19397
Description: Lemma for efgval 19398. (Contributed by Mario Carneiro, 27-Sep-2015.)
Hypothesis
Ref Expression
efgval.w 𝑊 = ( I ‘Word (𝐼 × 2o))
Assertion
Ref Expression
efglem 𝑟(𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))
Distinct variable groups:   𝑦,𝑟,𝑧,𝑛,𝑥,𝑊   𝑛,𝐼,𝑟,𝑥,𝑦,𝑧

Proof of Theorem efglem
StepHypRef Expression
1 xpider 8627 . 2 (𝑊 × 𝑊) Er 𝑊
2 simpll 764 . . . . 5 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑥𝑊)
3 efgval.w . . . . . . . . 9 𝑊 = ( I ‘Word (𝐼 × 2o))
4 fviss 6885 . . . . . . . . 9 ( I ‘Word (𝐼 × 2o)) ⊆ Word (𝐼 × 2o)
53, 4eqsstri 3965 . . . . . . . 8 𝑊 ⊆ Word (𝐼 × 2o)
65, 2sselid 3929 . . . . . . 7 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑥 ∈ Word (𝐼 × 2o))
7 opelxpi 5645 . . . . . . . . 9 ((𝑦𝐼𝑧 ∈ 2o) → ⟨𝑦, 𝑧⟩ ∈ (𝐼 × 2o))
87adantl 482 . . . . . . . 8 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → ⟨𝑦, 𝑧⟩ ∈ (𝐼 × 2o))
9 2oconcl 8383 . . . . . . . . . 10 (𝑧 ∈ 2o → (1o𝑧) ∈ 2o)
10 opelxpi 5645 . . . . . . . . . 10 ((𝑦𝐼 ∧ (1o𝑧) ∈ 2o) → ⟨𝑦, (1o𝑧)⟩ ∈ (𝐼 × 2o))
119, 10sylan2 593 . . . . . . . . 9 ((𝑦𝐼𝑧 ∈ 2o) → ⟨𝑦, (1o𝑧)⟩ ∈ (𝐼 × 2o))
1211adantl 482 . . . . . . . 8 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → ⟨𝑦, (1o𝑧)⟩ ∈ (𝐼 × 2o))
138, 12s2cld 14663 . . . . . . 7 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩ ∈ Word (𝐼 × 2o))
14 splcl 14544 . . . . . . 7 ((𝑥 ∈ Word (𝐼 × 2o) ∧ ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩ ∈ Word (𝐼 × 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ Word (𝐼 × 2o))
156, 13, 14syl2anc 584 . . . . . 6 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ Word (𝐼 × 2o))
163efgrcl 19396 . . . . . . . 8 (𝑥𝑊 → (𝐼 ∈ V ∧ 𝑊 = Word (𝐼 × 2o)))
1716simprd 496 . . . . . . 7 (𝑥𝑊𝑊 = Word (𝐼 × 2o))
1817ad2antrr 723 . . . . . 6 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑊 = Word (𝐼 × 2o))
1915, 18eleqtrrd 2841 . . . . 5 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ 𝑊)
20 brxp 5655 . . . . 5 (𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ↔ (𝑥𝑊 ∧ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ 𝑊))
212, 19, 20sylanbrc 583 . . . 4 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))
2221ralrimivva 3194 . . 3 ((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) → ∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))
2322rgen2 3191 . 2 𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)
243fvexi 6826 . . . 4 𝑊 ∈ V
2524, 24xpex 7645 . . 3 (𝑊 × 𝑊) ∈ V
26 ereq1 8555 . . . 4 (𝑟 = (𝑊 × 𝑊) → (𝑟 Er 𝑊 ↔ (𝑊 × 𝑊) Er 𝑊))
27 breq 5089 . . . . . 6 (𝑟 = (𝑊 × 𝑊) → (𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ↔ 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)))
28272ralbidv 3209 . . . . 5 (𝑟 = (𝑊 × 𝑊) → (∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ↔ ∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)))
29282ralbidv 3209 . . . 4 (𝑟 = (𝑊 × 𝑊) → (∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ↔ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)))
3026, 29anbi12d 631 . . 3 (𝑟 = (𝑊 × 𝑊) → ((𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)) ↔ ((𝑊 × 𝑊) Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))))
3125, 30spcev 3554 . 2 (((𝑊 × 𝑊) Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)) → ∃𝑟(𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)))
321, 23, 31mp2an 689 1 𝑟(𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1540  wex 1780  wcel 2105  wral 3062  Vcvv 3441  cdif 3894  cop 4577  cotp 4579   class class class wbr 5087   I cid 5506   × cxp 5606  cfv 6466  (class class class)co 7317  1oc1o 8339  2oc2o 8340   Er wer 8545  0cc0 10951  ...cfz 13319  chash 14124  Word cword 14296   splice csplice 14541  ⟨“cs2 14633
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2708  ax-rep 5224  ax-sep 5238  ax-nul 5245  ax-pow 5303  ax-pr 5367  ax-un 7630  ax-cnex 11007  ax-resscn 11008  ax-1cn 11009  ax-icn 11010  ax-addcl 11011  ax-addrcl 11012  ax-mulcl 11013  ax-mulrcl 11014  ax-mulcom 11015  ax-addass 11016  ax-mulass 11017  ax-distr 11018  ax-i2m1 11019  ax-1ne0 11020  ax-1rid 11021  ax-rnegex 11022  ax-rrecex 11023  ax-cnre 11024  ax-pre-lttri 11025  ax-pre-lttrn 11026  ax-pre-ltadd 11027  ax-pre-mulgt0 11028
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-reu 3351  df-rab 3405  df-v 3443  df-sbc 3727  df-csb 3843  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-pss 3916  df-nul 4268  df-if 4472  df-pw 4547  df-sn 4572  df-pr 4574  df-op 4578  df-ot 4580  df-uni 4851  df-int 4893  df-iun 4939  df-br 5088  df-opab 5150  df-mpt 5171  df-tr 5205  df-id 5507  df-eprel 5513  df-po 5521  df-so 5522  df-fr 5563  df-we 5565  df-xp 5614  df-rel 5615  df-cnv 5616  df-co 5617  df-dm 5618  df-rn 5619  df-res 5620  df-ima 5621  df-pred 6225  df-ord 6292  df-on 6293  df-lim 6294  df-suc 6295  df-iota 6418  df-fun 6468  df-fn 6469  df-f 6470  df-f1 6471  df-fo 6472  df-f1o 6473  df-fv 6474  df-riota 7274  df-ov 7320  df-oprab 7321  df-mpo 7322  df-om 7760  df-1st 7878  df-2nd 7879  df-frecs 8146  df-wrecs 8177  df-recs 8251  df-rdg 8290  df-1o 8346  df-2o 8347  df-er 8548  df-map 8667  df-en 8784  df-dom 8785  df-sdom 8786  df-fin 8787  df-card 9775  df-pnf 11091  df-mnf 11092  df-xr 11093  df-ltxr 11094  df-le 11095  df-sub 11287  df-neg 11288  df-nn 12054  df-n0 12314  df-z 12400  df-uz 12663  df-fz 13320  df-fzo 13463  df-hash 14125  df-word 14297  df-concat 14353  df-s1 14380  df-substr 14433  df-pfx 14463  df-splice 14542  df-s2 14640
This theorem is referenced by:  efgval  19398  efger  19399
  Copyright terms: Public domain W3C validator