MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ituniiun Structured version   Unicode version

Theorem ituniiun 8793
Description: Unwrap an iterated union from the "other end". (Contributed by Stefan O'Rear, 11-Feb-2015.)
Hypothesis
Ref Expression
ituni.u  |-  U  =  ( x  e.  _V  |->  ( rec ( ( y  e.  _V  |->  U. y
) ,  x )  |`  om ) )
Assertion
Ref Expression
ituniiun  |-  ( A  e.  V  ->  (
( U `  A
) `  suc  B )  =  U_ a  e.  A  ( ( U `
 a ) `  B ) )
Distinct variable groups:    x, A, y, a    x, B, y, a    U, a
Allowed substitution hints:    U( x, y)    V( x, y, a)

Proof of Theorem ituniiun
Dummy variables  b 
c  d are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fveq2 5848 . . . 4  |-  ( b  =  A  ->  ( U `  b )  =  ( U `  A ) )
21fveq1d 5850 . . 3  |-  ( b  =  A  ->  (
( U `  b
) `  suc  B )  =  ( ( U `
 A ) `  suc  B ) )
3 iuneq1 4329 . . 3  |-  ( b  =  A  ->  U_ a  e.  b  ( ( U `  a ) `  B )  =  U_ a  e.  A  (
( U `  a
) `  B )
)
42, 3eqeq12d 2476 . 2  |-  ( b  =  A  ->  (
( ( U `  b ) `  suc  B )  =  U_ a  e.  b  ( ( U `  a ) `  B )  <->  ( ( U `  A ) `  suc  B )  = 
U_ a  e.  A  ( ( U `  a ) `  B
) ) )
5 suceq 4932 . . . . . 6  |-  ( d  =  (/)  ->  suc  d  =  suc  (/) )
65fveq2d 5852 . . . . 5  |-  ( d  =  (/)  ->  ( ( U `  b ) `
 suc  d )  =  ( ( U `
 b ) `  suc  (/) ) )
7 fveq2 5848 . . . . . 6  |-  ( d  =  (/)  ->  ( ( U `  a ) `
 d )  =  ( ( U `  a ) `  (/) ) )
87iuneq2d 4342 . . . . 5  |-  ( d  =  (/)  ->  U_ a  e.  b  ( ( U `  a ) `  d )  =  U_ a  e.  b  (
( U `  a
) `  (/) ) )
96, 8eqeq12d 2476 . . . 4  |-  ( d  =  (/)  ->  ( ( ( U `  b
) `  suc  d )  =  U_ a  e.  b  ( ( U `
 a ) `  d )  <->  ( ( U `  b ) `  suc  (/) )  =  U_ a  e.  b  (
( U `  a
) `  (/) ) ) )
10 suceq 4932 . . . . . 6  |-  ( d  =  c  ->  suc  d  =  suc  c )
1110fveq2d 5852 . . . . 5  |-  ( d  =  c  ->  (
( U `  b
) `  suc  d )  =  ( ( U `
 b ) `  suc  c ) )
12 fveq2 5848 . . . . . 6  |-  ( d  =  c  ->  (
( U `  a
) `  d )  =  ( ( U `
 a ) `  c ) )
1312iuneq2d 4342 . . . . 5  |-  ( d  =  c  ->  U_ a  e.  b  ( ( U `  a ) `  d )  =  U_ a  e.  b  (
( U `  a
) `  c )
)
1411, 13eqeq12d 2476 . . . 4  |-  ( d  =  c  ->  (
( ( U `  b ) `  suc  d )  =  U_ a  e.  b  (
( U `  a
) `  d )  <->  ( ( U `  b
) `  suc  c )  =  U_ a  e.  b  ( ( U `
 a ) `  c ) ) )
15 suceq 4932 . . . . . 6  |-  ( d  =  suc  c  ->  suc  d  =  suc  suc  c )
1615fveq2d 5852 . . . . 5  |-  ( d  =  suc  c  -> 
( ( U `  b ) `  suc  d )  =  ( ( U `  b
) `  suc  suc  c
) )
17 fveq2 5848 . . . . . 6  |-  ( d  =  suc  c  -> 
( ( U `  a ) `  d
)  =  ( ( U `  a ) `
 suc  c )
)
1817iuneq2d 4342 . . . . 5  |-  ( d  =  suc  c  ->  U_ a  e.  b 
( ( U `  a ) `  d
)  =  U_ a  e.  b  ( ( U `  a ) `  suc  c ) )
1916, 18eqeq12d 2476 . . . 4  |-  ( d  =  suc  c  -> 
( ( ( U `
 b ) `  suc  d )  =  U_ a  e.  b  (
( U `  a
) `  d )  <->  ( ( U `  b
) `  suc  suc  c
)  =  U_ a  e.  b  ( ( U `  a ) `  suc  c ) ) )
20 suceq 4932 . . . . . 6  |-  ( d  =  B  ->  suc  d  =  suc  B )
2120fveq2d 5852 . . . . 5  |-  ( d  =  B  ->  (
( U `  b
) `  suc  d )  =  ( ( U `
 b ) `  suc  B ) )
22 fveq2 5848 . . . . . 6  |-  ( d  =  B  ->  (
( U `  a
) `  d )  =  ( ( U `
 a ) `  B ) )
2322iuneq2d 4342 . . . . 5  |-  ( d  =  B  ->  U_ a  e.  b  ( ( U `  a ) `  d )  =  U_ a  e.  b  (
( U `  a
) `  B )
)
2421, 23eqeq12d 2476 . . . 4  |-  ( d  =  B  ->  (
( ( U `  b ) `  suc  d )  =  U_ a  e.  b  (
( U `  a
) `  d )  <->  ( ( U `  b
) `  suc  B )  =  U_ a  e.  b  ( ( U `
 a ) `  B ) ) )
25 uniiun 4368 . . . . 5  |-  U. b  =  U_ a  e.  b  a
26 ituni.u . . . . . . 7  |-  U  =  ( x  e.  _V  |->  ( rec ( ( y  e.  _V  |->  U. y
) ,  x )  |`  om ) )
2726itunisuc 8790 . . . . . 6  |-  ( ( U `  b ) `
 suc  (/) )  = 
U. ( ( U `
 b ) `  (/) )
28 vex 3109 . . . . . . . 8  |-  b  e. 
_V
2926ituni0 8789 . . . . . . . 8  |-  ( b  e.  _V  ->  (
( U `  b
) `  (/) )  =  b )
3028, 29ax-mp 5 . . . . . . 7  |-  ( ( U `  b ) `
 (/) )  =  b
3130unieqi 4244 . . . . . 6  |-  U. (
( U `  b
) `  (/) )  = 
U. b
3227, 31eqtri 2483 . . . . 5  |-  ( ( U `  b ) `
 suc  (/) )  = 
U. b
3326ituni0 8789 . . . . . 6  |-  ( a  e.  b  ->  (
( U `  a
) `  (/) )  =  a )
3433iuneq2i 4334 . . . . 5  |-  U_ a  e.  b  ( ( U `  a ) `  (/) )  =  U_ a  e.  b  a
3525, 32, 343eqtr4i 2493 . . . 4  |-  ( ( U `  b ) `
 suc  (/) )  = 
U_ a  e.  b  ( ( U `  a ) `  (/) )
3626itunisuc 8790 . . . . . 6  |-  ( ( U `  b ) `
 suc  suc  c )  =  U. ( ( U `  b ) `
 suc  c )
37 unieq 4243 . . . . . . 7  |-  ( ( ( U `  b
) `  suc  c )  =  U_ a  e.  b  ( ( U `
 a ) `  c )  ->  U. (
( U `  b
) `  suc  c )  =  U. U_ a  e.  b  ( ( U `  a ) `  c ) )
3826itunisuc 8790 . . . . . . . . . 10  |-  ( ( U `  a ) `
 suc  c )  =  U. ( ( U `
 a ) `  c )
3938a1i 11 . . . . . . . . 9  |-  ( a  e.  b  ->  (
( U `  a
) `  suc  c )  =  U. ( ( U `  a ) `
 c ) )
4039iuneq2i 4334 . . . . . . . 8  |-  U_ a  e.  b  ( ( U `  a ) `  suc  c )  = 
U_ a  e.  b 
U. ( ( U `
 a ) `  c )
41 iuncom4 4323 . . . . . . . 8  |-  U_ a  e.  b  U. (
( U `  a
) `  c )  =  U. U_ a  e.  b  ( ( U `
 a ) `  c )
4240, 41eqtr2i 2484 . . . . . . 7  |-  U. U_ a  e.  b  (
( U `  a
) `  c )  =  U_ a  e.  b  ( ( U `  a ) `  suc  c )
4337, 42syl6eq 2511 . . . . . 6  |-  ( ( ( U `  b
) `  suc  c )  =  U_ a  e.  b  ( ( U `
 a ) `  c )  ->  U. (
( U `  b
) `  suc  c )  =  U_ a  e.  b  ( ( U `
 a ) `  suc  c ) )
4436, 43syl5eq 2507 . . . . 5  |-  ( ( ( U `  b
) `  suc  c )  =  U_ a  e.  b  ( ( U `
 a ) `  c )  ->  (
( U `  b
) `  suc  suc  c
)  =  U_ a  e.  b  ( ( U `  a ) `  suc  c ) )
4544a1i 11 . . . 4  |-  ( c  e.  om  ->  (
( ( U `  b ) `  suc  c )  =  U_ a  e.  b  (
( U `  a
) `  c )  ->  ( ( U `  b ) `  suc  suc  c )  =  U_ a  e.  b  (
( U `  a
) `  suc  c ) ) )
469, 14, 19, 24, 35, 45finds 6699 . . 3  |-  ( B  e.  om  ->  (
( U `  b
) `  suc  B )  =  U_ a  e.  b  ( ( U `
 a ) `  B ) )
47 iun0 4371 . . . . 5  |-  U_ a  e.  b  (/)  =  (/)
4847eqcomi 2467 . . . 4  |-  (/)  =  U_ a  e.  b  (/)
49 peano2b 6689 . . . . . 6  |-  ( B  e.  om  <->  suc  B  e. 
om )
5026itunifn 8788 . . . . . . . 8  |-  ( b  e.  _V  ->  ( U `  b )  Fn  om )
51 fndm 5662 . . . . . . . 8  |-  ( ( U `  b )  Fn  om  ->  dom  ( U `  b )  =  om )
5228, 50, 51mp2b 10 . . . . . . 7  |-  dom  ( U `  b )  =  om
5352eleq2i 2532 . . . . . 6  |-  ( suc 
B  e.  dom  ( U `  b )  <->  suc 
B  e.  om )
5449, 53bitr4i 252 . . . . 5  |-  ( B  e.  om  <->  suc  B  e. 
dom  ( U `  b ) )
55 ndmfv 5872 . . . . 5  |-  ( -. 
suc  B  e.  dom  ( U `  b )  ->  ( ( U `
 b ) `  suc  B )  =  (/) )
5654, 55sylnbi 304 . . . 4  |-  ( -.  B  e.  om  ->  ( ( U `  b
) `  suc  B )  =  (/) )
57 vex 3109 . . . . . . . 8  |-  a  e. 
_V
5826itunifn 8788 . . . . . . . 8  |-  ( a  e.  _V  ->  ( U `  a )  Fn  om )
59 fndm 5662 . . . . . . . 8  |-  ( ( U `  a )  Fn  om  ->  dom  ( U `  a )  =  om )
6057, 58, 59mp2b 10 . . . . . . 7  |-  dom  ( U `  a )  =  om
6160eleq2i 2532 . . . . . 6  |-  ( B  e.  dom  ( U `
 a )  <->  B  e.  om )
62 ndmfv 5872 . . . . . 6  |-  ( -.  B  e.  dom  ( U `  a )  ->  ( ( U `  a ) `  B
)  =  (/) )
6361, 62sylnbir 305 . . . . 5  |-  ( -.  B  e.  om  ->  ( ( U `  a
) `  B )  =  (/) )
6463iuneq2d 4342 . . . 4  |-  ( -.  B  e.  om  ->  U_ a  e.  b  ( ( U `  a
) `  B )  =  U_ a  e.  b  (/) )
6548, 56, 643eqtr4a 2521 . . 3  |-  ( -.  B  e.  om  ->  ( ( U `  b
) `  suc  B )  =  U_ a  e.  b  ( ( U `
 a ) `  B ) )
6646, 65pm2.61i 164 . 2  |-  ( ( U `  b ) `
 suc  B )  =  U_ a  e.  b  ( ( U `  a ) `  B
)
674, 66vtoclg 3164 1  |-  ( A  e.  V  ->  (
( U `  A
) `  suc  B )  =  U_ a  e.  A  ( ( U `
 a ) `  B ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    = wceq 1398    e. wcel 1823   _Vcvv 3106   (/)c0 3783   U.cuni 4235   U_ciun 4315    |-> cmpt 4497   suc csuc 4869   dom cdm 4988    |` cres 4990    Fn wfn 5565   ` cfv 5570   omcom 6673   reccrdg 7067
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-8 1825  ax-9 1827  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432  ax-rep 4550  ax-sep 4560  ax-nul 4568  ax-pow 4615  ax-pr 4676  ax-un 6565  ax-inf2 8049
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3or 972  df-3an 973  df-tru 1401  df-ex 1618  df-nf 1622  df-sb 1745  df-eu 2288  df-mo 2289  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2651  df-ral 2809  df-rex 2810  df-reu 2811  df-rab 2813  df-v 3108  df-sbc 3325  df-csb 3421  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-pss 3477  df-nul 3784  df-if 3930  df-pw 4001  df-sn 4017  df-pr 4019  df-tp 4021  df-op 4023  df-uni 4236  df-iun 4317  df-br 4440  df-opab 4498  df-mpt 4499  df-tr 4533  df-eprel 4780  df-id 4784  df-po 4789  df-so 4790  df-fr 4827  df-we 4829  df-ord 4870  df-on 4871  df-lim 4872  df-suc 4873  df-xp 4994  df-rel 4995  df-cnv 4996  df-co 4997  df-dm 4998  df-rn 4999  df-res 5000  df-ima 5001  df-iota 5534  df-fun 5572  df-fn 5573  df-f 5574  df-f1 5575  df-fo 5576  df-f1o 5577  df-fv 5578  df-om 6674  df-recs 7034  df-rdg 7068
This theorem is referenced by:  hsmexlem4  8800
  Copyright terms: Public domain W3C validator