ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  omp1eomlem Unicode version

Theorem omp1eomlem 6979
Description: Lemma for omp1eom 6980. (Contributed by Jim Kingdon, 11-Jul-2023.)
Hypotheses
Ref Expression
omp1eom.f  |-  F  =  ( x  e.  om  |->  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) )
omp1eom.s  |-  S  =  ( x  e.  om  |->  suc  x )
omp1eom.g  |-  G  = case ( S ,  (  _I  |`  1o )
)
Assertion
Ref Expression
omp1eomlem  |-  F : om
-1-1-onto-> ( om 1o )
Distinct variable group:    x, G
Allowed substitution hints:    S( x)    F( x)

Proof of Theorem omp1eomlem
Dummy variables  z  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 omp1eom.f . . 3  |-  F  =  ( x  e.  om  |->  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) )
2 el1o 6334 . . . . . . 7  |-  ( x  e.  1o  <->  x  =  (/) )
32biimpri 132 . . . . . 6  |-  ( x  =  (/)  ->  x  e.  1o )
43adantl 275 . . . . 5  |-  ( ( ( T.  /\  x  e.  om )  /\  x  =  (/) )  ->  x  e.  1o )
5 djurcl 6937 . . . . 5  |-  ( x  e.  1o  ->  (inr `  x )  e.  ( om 1o ) )
64, 5syl 14 . . . 4  |-  ( ( ( T.  /\  x  e.  om )  /\  x  =  (/) )  ->  (inr `  x )  e.  ( om 1o ) )
7 nnpredcl 4536 . . . . . 6  |-  ( x  e.  om  ->  U. x  e.  om )
87ad2antlr 480 . . . . 5  |-  ( ( ( T.  /\  x  e.  om )  /\  -.  x  =  (/) )  ->  U. x  e.  om )
9 djulcl 6936 . . . . 5  |-  ( U. x  e.  om  ->  (inl
`  U. x )  e.  ( om 1o ) )
108, 9syl 14 . . . 4  |-  ( ( ( T.  /\  x  e.  om )  /\  -.  x  =  (/) )  -> 
(inl `  U. x )  e.  ( om 1o ) )
11 nndceq0 4531 . . . . 5  |-  ( x  e.  om  -> DECID  x  =  (/) )
1211adantl 275 . . . 4  |-  ( ( T.  /\  x  e. 
om )  -> DECID  x  =  (/) )
136, 10, 12ifcldadc 3501 . . 3  |-  ( ( T.  /\  x  e. 
om )  ->  if ( x  =  (/) ,  (inr
`  x ) ,  (inl `  U. x ) )  e.  ( om 1o ) )
14 omp1eom.s . . . . . . . 8  |-  S  =  ( x  e.  om  |->  suc  x )
15 peano2 4509 . . . . . . . 8  |-  ( x  e.  om  ->  suc  x  e.  om )
1614, 15fmpti 5572 . . . . . . 7  |-  S : om
--> om
1716a1i 9 . . . . . 6  |-  ( T. 
->  S : om --> om )
18 f1oi 5405 . . . . . . . . 9  |-  (  _I  |`  1o ) : 1o -1-1-onto-> 1o
19 f1of 5367 . . . . . . . . 9  |-  ( (  _I  |`  1o ) : 1o -1-1-onto-> 1o  ->  (  _I  |`  1o ) : 1o --> 1o )
2018, 19ax-mp 5 . . . . . . . 8  |-  (  _I  |`  1o ) : 1o --> 1o
21 1onn 6416 . . . . . . . . 9  |-  1o  e.  om
22 omelon 4522 . . . . . . . . . 10  |-  om  e.  On
2322onelssi 4351 . . . . . . . . 9  |-  ( 1o  e.  om  ->  1o  C_ 
om )
2421, 23ax-mp 5 . . . . . . . 8  |-  1o  C_  om
25 fss 5284 . . . . . . . 8  |-  ( ( (  _I  |`  1o ) : 1o --> 1o  /\  1o  C_  om )  -> 
(  _I  |`  1o ) : 1o --> om )
2620, 24, 25mp2an 422 . . . . . . 7  |-  (  _I  |`  1o ) : 1o --> om
2726a1i 9 . . . . . 6  |-  ( T. 
->  (  _I  |`  1o ) : 1o --> om )
2817, 27casef 6973 . . . . 5  |-  ( T. 
-> case ( S ,  (  _I  |`  1o )
) : ( om 1o ) --> om )
29 omp1eom.g . . . . . 6  |-  G  = case ( S ,  (  _I  |`  1o )
)
3029feq1i 5265 . . . . 5  |-  ( G : ( om 1o ) --> om  <-> case ( S ,  (  _I  |`  1o )
) : ( om 1o ) --> om )
3128, 30sylibr 133 . . . 4  |-  ( T. 
->  G : ( om 1o ) --> om )
3231ffvelrnda 5555 . . 3  |-  ( ( T.  /\  y  e.  ( om 1o ) )  ->  ( G `  y )  e.  om )
33 ffn 5272 . . . . . . . . . . . . . . . 16  |-  ( S : om --> om  ->  S  Fn  om )
3416, 33mp1i 10 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  S  Fn  om )
35 ffun 5275 . . . . . . . . . . . . . . . 16  |-  ( (  _I  |`  1o ) : 1o --> 1o  ->  Fun  (  _I  |`  1o ) )
3620, 35mp1i 10 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  Fun  (  _I  |`  1o ) )
37 simpl 108 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  z  e.  om )
3834, 36, 37caseinl 6976 . . . . . . . . . . . . . 14  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inl `  z ) )  =  ( S `  z ) )
3929eqcomi 2143 . . . . . . . . . . . . . . . 16  |- case ( S ,  (  _I  |`  1o ) )  =  G
4039a1i 9 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  -> case ( S ,  (  _I  |`  1o ) )  =  G )
41 simpr 109 . . . . . . . . . . . . . . . 16  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  y  =  (inl `  z )
)
4241eqcomd 2145 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  (inl `  z )  =  y )
4340, 42fveq12d 5428 . . . . . . . . . . . . . 14  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inl `  z ) )  =  ( G `  y ) )
44 peano2 4509 . . . . . . . . . . . . . . . 16  |-  ( z  e.  om  ->  suc  z  e.  om )
45 suceq 4324 . . . . . . . . . . . . . . . . 17  |-  ( x  =  z  ->  suc  x  =  suc  z )
4645, 14fvmptg 5497 . . . . . . . . . . . . . . . 16  |-  ( ( z  e.  om  /\  suc  z  e.  om )  ->  ( S `  z )  =  suc  z )
4744, 46mpdan 417 . . . . . . . . . . . . . . 15  |-  ( z  e.  om  ->  ( S `  z )  =  suc  z )
4847adantr 274 . . . . . . . . . . . . . 14  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  ( S `  z )  =  suc  z )
4938, 43, 483eqtr3d 2180 . . . . . . . . . . . . 13  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  ( G `  y )  =  suc  z )
50 peano3 4510 . . . . . . . . . . . . . 14  |-  ( z  e.  om  ->  suc  z  =/=  (/) )
5150adantr 274 . . . . . . . . . . . . 13  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  suc  z  =/=  (/) )
5249, 51eqnetrd 2332 . . . . . . . . . . . 12  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  ( G `  y )  =/=  (/) )
5352adantl 275 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( G `  y )  =/=  (/) )
5453necomd 2394 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  (/)  =/=  ( G `
 y ) )
5554neneqd 2329 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  -.  (/)  =  ( G `  y ) )
56 simplr 519 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  x  =  (/) )
5756eqeq1d 2148 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  (/)  =  ( G `
 y ) ) )
5855, 57mtbird 662 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  -.  x  =  ( G `  y ) )
59 djune 6963 . . . . . . . . . . . 12  |-  ( ( z  e.  _V  /\  x  e.  _V )  ->  (inl `  z )  =/=  (inr `  x )
)
6059elvd 2691 . . . . . . . . . . 11  |-  ( z  e.  _V  ->  (inl `  z )  =/=  (inr `  x ) )
6160elv 2690 . . . . . . . . . 10  |-  (inl `  z )  =/=  (inr `  x )
6261neii 2310 . . . . . . . . 9  |-  -.  (inl `  z )  =  (inr
`  x )
63 simprr 521 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  y  =  (inl
`  z ) )
64 simpr 109 . . . . . . . . . . . 12  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  x  =  (/) )
6564iftrued 3481 . . . . . . . . . . 11  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  if ( x  =  (/) ,  (inr
`  x ) ,  (inl `  U. x ) )  =  (inr `  x ) )
6665adantr 274 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  if ( x  =  (/) ,  (inr `  x ) ,  (inl
`  U. x ) )  =  (inr `  x
) )
6763, 66eqeq12d 2154 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( y  =  if ( x  =  (/) ,  (inr `  x
) ,  (inl `  U. x ) )  <->  (inl `  z
)  =  (inr `  x ) ) )
6862, 67mtbiri 664 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  -.  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) )
6958, 682falsed 691 . . . . . . 7  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
7069rexlimdvaa 2550 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  ( E. z  e.  om  y  =  (inl `  z
)  ->  ( x  =  ( G `  y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) ) )
71 simplr 519 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  x  =  (/) )
7229a1i 9 . . . . . . . . . . . 12  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  G  = case ( S ,  (  _I  |`  1o )
) )
73 simpr 109 . . . . . . . . . . . 12  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  y  =  (inr `  z )
)
7472, 73fveq12d 5428 . . . . . . . . . . 11  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  ( G `  y )  =  (case ( S , 
(  _I  |`  1o ) ) `  (inr `  z ) ) )
7514funmpt2 5162 . . . . . . . . . . . . . 14  |-  Fun  S
7675a1i 9 . . . . . . . . . . . . 13  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  Fun  S )
77 fnresi 5240 . . . . . . . . . . . . . 14  |-  (  _I  |`  1o )  Fn  1o
7877a1i 9 . . . . . . . . . . . . 13  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (  _I  |`  1o )  Fn  1o )
79 simpl 108 . . . . . . . . . . . . 13  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  z  e.  1o )
8076, 78, 79caseinr 6977 . . . . . . . . . . . 12  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inr `  z ) )  =  ( (  _I  |`  1o ) `  z
) )
81 fvresi 5613 . . . . . . . . . . . . 13  |-  ( z  e.  1o  ->  (
(  _I  |`  1o ) `
 z )  =  z )
8281adantr 274 . . . . . . . . . . . 12  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (
(  _I  |`  1o ) `
 z )  =  z )
8380, 82eqtrd 2172 . . . . . . . . . . 11  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inr `  z ) )  =  z )
84 el1o 6334 . . . . . . . . . . . 12  |-  ( z  e.  1o  <->  z  =  (/) )
8579, 84sylib 121 . . . . . . . . . . 11  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  z  =  (/) )
8674, 83, 853eqtrd 2176 . . . . . . . . . 10  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  ( G `  y )  =  (/) )
8786adantl 275 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( G `  y )  =  (/) )
8871, 87eqtr4d 2175 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  x  =  ( G `  y ) )
8985adantl 275 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  z  =  (/) )
9071, 89eqtr4d 2175 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  x  =  z )
9190fveq2d 5425 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  (inr `  x
)  =  (inr `  z ) )
9265adantr 274 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  if ( x  =  (/) ,  (inr `  x ) ,  (inl
`  U. x ) )  =  (inr `  x
) )
93 simprr 521 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  y  =  (inr
`  z ) )
9491, 92, 933eqtr4rd 2183 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) )
9588, 942thd 174 . . . . . . 7  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
9695rexlimdvaa 2550 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  ( E. z  e.  1o  y  =  (inr `  z
)  ->  ( x  =  ( G `  y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) ) )
97 djur 6954 . . . . . . . 8  |-  ( y  e.  ( om 1o )  <-> 
( E. z  e. 
om  y  =  (inl
`  z )  \/ 
E. z  e.  1o  y  =  (inr `  z
) ) )
9897biimpi 119 . . . . . . 7  |-  ( y  e.  ( om 1o )  ->  ( E. z  e.  om  y  =  (inl
`  z )  \/ 
E. z  e.  1o  y  =  (inr `  z
) ) )
9998ad2antlr 480 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  ( E. z  e.  om  y  =  (inl `  z
)  \/  E. z  e.  1o  y  =  (inr
`  z ) ) )
10070, 96, 99mpjaod 707 . . . . 5  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  (
x  =  ( G `
 y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
101 simplll 522 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  x  e.  om )
102 simplr 519 . . . . . . . . . . . 12  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  -.  x  =  (/) )
103102neqned 2315 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  x  =/=  (/) )
104 nnsucpred 4530 . . . . . . . . . . 11  |-  ( ( x  e.  om  /\  x  =/=  (/) )  ->  suc  U. x  =  x )
105101, 103, 104syl2anc 408 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  suc  U. x  =  x )
106105eqeq2d 2151 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( suc  z  =  suc  U. x  <->  suc  z  =  x ) )
107 eqcom 2141 . . . . . . . . 9  |-  ( suc  z  =  x  <->  x  =  suc  z )
108106, 107syl6bb 195 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( suc  z  =  suc  U. x  <->  x  =  suc  z ) )
109 simprr 521 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  y  =  (inl
`  z ) )
110 simpr 109 . . . . . . . . . . . . 13  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  ->  -.  x  =  (/) )
111110iffalsed 3484 . . . . . . . . . . . 12  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  ->  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) )  =  (inl `  U. x ) )
112111adantr 274 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  if ( x  =  (/) ,  (inr `  x ) ,  (inl
`  U. x ) )  =  (inl `  U. x ) )
113109, 112eqeq12d 2154 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( y  =  if ( x  =  (/) ,  (inr `  x
) ,  (inl `  U. x ) )  <->  (inl `  z
)  =  (inl `  U. x ) ) )
114 vuniex 4360 . . . . . . . . . . . 12  |-  U. x  e.  _V
115 inl11 6950 . . . . . . . . . . . 12  |-  ( ( z  e.  _V  /\  U. x  e.  _V )  ->  ( (inl `  z
)  =  (inl `  U. x )  <->  z  =  U. x ) )
116114, 115mpan2 421 . . . . . . . . . . 11  |-  ( z  e.  _V  ->  (
(inl `  z )  =  (inl `  U. x )  <-> 
z  =  U. x
) )
117116elv 2690 . . . . . . . . . 10  |-  ( (inl
`  z )  =  (inl `  U. x )  <-> 
z  =  U. x
)
118113, 117syl6bb 195 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( y  =  if ( x  =  (/) ,  (inr `  x
) ,  (inl `  U. x ) )  <->  z  =  U. x ) )
119 nnon 4523 . . . . . . . . . . 11  |-  ( z  e.  om  ->  z  e.  On )
120119ad2antrl 481 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  z  e.  On )
1217ad3antrrr 483 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  U. x  e.  om )
122 nnon 4523 . . . . . . . . . . 11  |-  ( U. x  e.  om  ->  U. x  e.  On )
123121, 122syl 14 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  U. x  e.  On )
124 suc11 4473 . . . . . . . . . 10  |-  ( ( z  e.  On  /\  U. x  e.  On )  ->  ( suc  z  =  suc  U. x  <->  z  =  U. x ) )
125120, 123, 124syl2anc 408 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( suc  z  =  suc  U. x  <->  z  =  U. x ) )
126118, 125bitr4d 190 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( y  =  if ( x  =  (/) ,  (inr `  x
) ,  (inl `  U. x ) )  <->  suc  z  =  suc  U. x ) )
12749adantl 275 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( G `  y )  =  suc  z )
128127eqeq2d 2151 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  x  =  suc  z ) )
129108, 126, 1283bitr4rd 220 . . . . . . 7  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
130129rexlimdvaa 2550 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  -> 
( E. z  e. 
om  y  =  (inl
`  z )  -> 
( x  =  ( G `  y )  <-> 
y  =  if ( x  =  (/) ,  (inr
`  x ) ,  (inl `  U. x ) ) ) ) )
131 simplr 519 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  -.  x  =  (/) )
13286adantl 275 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( G `  y )  =  (/) )
133132eqeq2d 2151 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  x  =  (/) ) )
134131, 133mtbird 662 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  -.  x  =  ( G `  y ) )
135 djune 6963 . . . . . . . . . . . 12  |-  ( ( U. x  e.  _V  /\  z  e.  _V )  ->  (inl `  U. x )  =/=  (inr `  z
) )
136135elvd 2691 . . . . . . . . . . 11  |-  ( U. x  e.  _V  ->  (inl
`  U. x )  =/=  (inr `  z )
)
137114, 136ax-mp 5 . . . . . . . . . 10  |-  (inl `  U. x )  =/=  (inr `  z )
138137nesymi 2354 . . . . . . . . 9  |-  -.  (inr `  z )  =  (inl
`  U. x )
13973, 111eqeqan12rd 2156 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( y  =  if ( x  =  (/) ,  (inr `  x
) ,  (inl `  U. x ) )  <->  (inr `  z
)  =  (inl `  U. x ) ) )
140138, 139mtbiri 664 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  -.  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) )
141134, 1402falsed 691 . . . . . . 7  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
142141rexlimdvaa 2550 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  -> 
( E. z  e.  1o  y  =  (inr
`  z )  -> 
( x  =  ( G `  y )  <-> 
y  =  if ( x  =  (/) ,  (inr
`  x ) ,  (inl `  U. x ) ) ) ) )
14398ad2antlr 480 . . . . . 6  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  -> 
( E. z  e. 
om  y  =  (inl
`  z )  \/ 
E. z  e.  1o  y  =  (inr `  z
) ) )
144130, 142, 143mpjaod 707 . . . . 5  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  -> 
( x  =  ( G `  y )  <-> 
y  =  if ( x  =  (/) ,  (inr
`  x ) ,  (inl `  U. x ) ) ) )
145 exmiddc 821 . . . . . . 7  |-  (DECID  x  =  (/)  ->  ( x  =  (/)  \/  -.  x  =  (/) ) )
14611, 145syl 14 . . . . . 6  |-  ( x  e.  om  ->  (
x  =  (/)  \/  -.  x  =  (/) ) )
147146adantr 274 . . . . 5  |-  ( ( x  e.  om  /\  y  e.  ( om 1o ) )  ->  (
x  =  (/)  \/  -.  x  =  (/) ) )
148100, 144, 147mpjaodan 787 . . . 4  |-  ( ( x  e.  om  /\  y  e.  ( om 1o ) )  ->  (
x  =  ( G `
 y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
149148adantl 275 . . 3  |-  ( ( T.  /\  ( x  e.  om  /\  y  e.  ( om 1o ) ) )  ->  ( x  =  ( G `  y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
1501, 13, 32, 149f1o2d 5975 . 2  |-  ( T. 
->  F : om -1-1-onto-> ( om 1o ) )
151150mptru 1340 1  |-  F : om
-1-1-onto-> ( om 1o )
Colors of variables: wff set class
Syntax hints:   -. wn 3    /\ wa 103    <-> wb 104    \/ wo 697  DECID wdc 819    = wceq 1331   T. wtru 1332    e. wcel 1480    =/= wne 2308   E.wrex 2417   _Vcvv 2686    C_ wss 3071   (/)c0 3363   ifcif 3474   U.cuni 3736    |-> cmpt 3989    _I cid 4210   Oncon0 4285   suc csuc 4287   omcom 4504    |` cres 4541   Fun wfun 5117    Fn wfn 5118   -->wf 5119   -1-1-onto->wf1o 5122   ` cfv 5123   1oc1o 6306   ⊔ cdju 6922  inlcinl 6930  inrcinr 6931  casecdjucase 6968
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121  ax-sep 4046  ax-nul 4054  ax-pow 4098  ax-pr 4131  ax-un 4355  ax-setind 4452  ax-iinf 4502
This theorem depends on definitions:  df-bi 116  df-dc 820  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2002  df-mo 2003  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-ne 2309  df-ral 2421  df-rex 2422  df-rab 2425  df-v 2688  df-sbc 2910  df-csb 3004  df-dif 3073  df-un 3075  df-in 3077  df-ss 3084  df-nul 3364  df-if 3475  df-pw 3512  df-sn 3533  df-pr 3534  df-op 3536  df-uni 3737  df-int 3772  df-br 3930  df-opab 3990  df-mpt 3991  df-tr 4027  df-id 4215  df-iord 4288  df-on 4290  df-suc 4293  df-iom 4505  df-xp 4545  df-rel 4546  df-cnv 4547  df-co 4548  df-dm 4549  df-rn 4550  df-res 4551  df-ima 4552  df-iota 5088  df-fun 5125  df-fn 5126  df-f 5127  df-f1 5128  df-fo 5129  df-f1o 5130  df-fv 5131  df-1st 6038  df-2nd 6039  df-1o 6313  df-dju 6923  df-inl 6932  df-inr 6933  df-case 6969
This theorem is referenced by:  omp1eom  6980
  Copyright terms: Public domain W3C validator