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

Theorem efglem 19512
Description: Lemma for efgval 19513. (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 8734 . 2 (𝑊 × 𝑊) Er 𝑊
2 simpll 765 . . . . 5 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑥𝑊)
3 efgval.w . . . . . . . . 9 𝑊 = ( I ‘Word (𝐼 × 2o))
4 fviss 6923 . . . . . . . . 9 ( I ‘Word (𝐼 × 2o)) ⊆ Word (𝐼 × 2o)
53, 4eqsstri 3981 . . . . . . . 8 𝑊 ⊆ Word (𝐼 × 2o)
65, 2sselid 3945 . . . . . . 7 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑥 ∈ Word (𝐼 × 2o))
7 opelxpi 5675 . . . . . . . . 9 ((𝑦𝐼𝑧 ∈ 2o) → ⟨𝑦, 𝑧⟩ ∈ (𝐼 × 2o))
87adantl 482 . . . . . . . 8 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → ⟨𝑦, 𝑧⟩ ∈ (𝐼 × 2o))
9 2oconcl 8454 . . . . . . . . . 10 (𝑧 ∈ 2o → (1o𝑧) ∈ 2o)
10 opelxpi 5675 . . . . . . . . . 10 ((𝑦𝐼 ∧ (1o𝑧) ∈ 2o) → ⟨𝑦, (1o𝑧)⟩ ∈ (𝐼 × 2o))
119, 10sylan2 593 . . . . . . . . 9 ((𝑦𝐼𝑧 ∈ 2o) → ⟨𝑦, (1o𝑧)⟩ ∈ (𝐼 × 2o))
1211adantl 482 . . . . . . . 8 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → ⟨𝑦, (1o𝑧)⟩ ∈ (𝐼 × 2o))
138, 12s2cld 14772 . . . . . . 7 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩ ∈ Word (𝐼 × 2o))
14 splcl 14652 . . . . . . 7 ((𝑥 ∈ Word (𝐼 × 2o) ∧ ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩ ∈ Word (𝐼 × 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ Word (𝐼 × 2o))
156, 13, 14syl2anc 584 . . . . . 6 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ Word (𝐼 × 2o))
163efgrcl 19511 . . . . . . . 8 (𝑥𝑊 → (𝐼 ∈ V ∧ 𝑊 = Word (𝐼 × 2o)))
1716simprd 496 . . . . . . 7 (𝑥𝑊𝑊 = Word (𝐼 × 2o))
1817ad2antrr 724 . . . . . 6 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑊 = Word (𝐼 × 2o))
1915, 18eleqtrrd 2835 . . . . 5 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ 𝑊)
20 brxp 5686 . . . . 5 (𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ↔ (𝑥𝑊 ∧ (𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ∈ 𝑊))
212, 19, 20sylanbrc 583 . . . 4 (((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) ∧ (𝑦𝐼𝑧 ∈ 2o)) → 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))
2221ralrimivva 3193 . . 3 ((𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))) → ∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))
2322rgen2 3190 . 2 𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)
243fvexi 6861 . . . 4 𝑊 ∈ V
2524, 24xpex 7692 . . 3 (𝑊 × 𝑊) ∈ V
26 ereq1 8662 . . . 4 (𝑟 = (𝑊 × 𝑊) → (𝑟 Er 𝑊 ↔ (𝑊 × 𝑊) Er 𝑊))
27 breq 5112 . . . . . 6 (𝑟 = (𝑊 × 𝑊) → (𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ↔ 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)))
28272ralbidv 3208 . . . . 5 (𝑟 = (𝑊 × 𝑊) → (∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩) ↔ ∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)))
29282ralbidv 3208 . . . 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 3566 . 2 (((𝑊 × 𝑊) Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥(𝑊 × 𝑊)(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)) → ∃𝑟(𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩)))
321, 23, 31mp2an 690 1 𝑟(𝑟 Er 𝑊 ∧ ∀𝑥𝑊𝑛 ∈ (0...(♯‘𝑥))∀𝑦𝐼𝑧 ∈ 2o 𝑥𝑟(𝑥 splice ⟨𝑛, 𝑛, ⟨“⟨𝑦, 𝑧⟩⟨𝑦, (1o𝑧)⟩”⟩⟩))
Colors of variables: wff setvar class
Syntax hints:  wa 396   = wceq 1541  wex 1781  wcel 2106  wral 3060  Vcvv 3446  cdif 3910  cop 4597  cotp 4599   class class class wbr 5110   I cid 5535   × cxp 5636  cfv 6501  (class class class)co 7362  1oc1o 8410  2oc2o 8411   Er wer 8652  0cc0 11060  ...cfz 13434  chash 14240  Word cword 14414   splice csplice 14649  ⟨“cs2 14742
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  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 2702  ax-rep 5247  ax-sep 5261  ax-nul 5268  ax-pow 5325  ax-pr 5389  ax-un 7677  ax-cnex 11116  ax-resscn 11117  ax-1cn 11118  ax-icn 11119  ax-addcl 11120  ax-addrcl 11121  ax-mulcl 11122  ax-mulrcl 11123  ax-mulcom 11124  ax-addass 11125  ax-mulass 11126  ax-distr 11127  ax-i2m1 11128  ax-1ne0 11129  ax-1rid 11130  ax-rnegex 11131  ax-rrecex 11132  ax-cnre 11133  ax-pre-lttri 11134  ax-pre-lttrn 11135  ax-pre-ltadd 11136  ax-pre-mulgt0 11137
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-reu 3352  df-rab 3406  df-v 3448  df-sbc 3743  df-csb 3859  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-pss 3932  df-nul 4288  df-if 4492  df-pw 4567  df-sn 4592  df-pr 4594  df-op 4598  df-ot 4600  df-uni 4871  df-int 4913  df-iun 4961  df-br 5111  df-opab 5173  df-mpt 5194  df-tr 5228  df-id 5536  df-eprel 5542  df-po 5550  df-so 5551  df-fr 5593  df-we 5595  df-xp 5644  df-rel 5645  df-cnv 5646  df-co 5647  df-dm 5648  df-rn 5649  df-res 5650  df-ima 5651  df-pred 6258  df-ord 6325  df-on 6326  df-lim 6327  df-suc 6328  df-iota 6453  df-fun 6503  df-fn 6504  df-f 6505  df-f1 6506  df-fo 6507  df-f1o 6508  df-fv 6509  df-riota 7318  df-ov 7365  df-oprab 7366  df-mpo 7367  df-om 7808  df-1st 7926  df-2nd 7927  df-frecs 8217  df-wrecs 8248  df-recs 8322  df-rdg 8361  df-1o 8417  df-2o 8418  df-er 8655  df-map 8774  df-en 8891  df-dom 8892  df-sdom 8893  df-fin 8894  df-card 9884  df-pnf 11200  df-mnf 11201  df-xr 11202  df-ltxr 11203  df-le 11204  df-sub 11396  df-neg 11397  df-nn 12163  df-n0 12423  df-z 12509  df-uz 12773  df-fz 13435  df-fzo 13578  df-hash 14241  df-word 14415  df-concat 14471  df-s1 14496  df-substr 14541  df-pfx 14571  df-splice 14650  df-s2 14749
This theorem is referenced by:  efgval  19513  efger  19514
  Copyright terms: Public domain W3C validator