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

Theorem omp1eomlem 7087
Description: Lemma for omp1eom 7088. (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 6432 . . . . . . 7  |-  ( x  e.  1o  <->  x  =  (/) )
32biimpri 133 . . . . . 6  |-  ( x  =  (/)  ->  x  e.  1o )
43adantl 277 . . . . 5  |-  ( ( ( T.  /\  x  e.  om )  /\  x  =  (/) )  ->  x  e.  1o )
5 djurcl 7045 . . . . 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 4619 . . . . . 6  |-  ( x  e.  om  ->  U. x  e.  om )
87ad2antlr 489 . . . . 5  |-  ( ( ( T.  /\  x  e.  om )  /\  -.  x  =  (/) )  ->  U. x  e.  om )
9 djulcl 7044 . . . . 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 4614 . . . . 5  |-  ( x  e.  om  -> DECID  x  =  (/) )
1211adantl 277 . . . 4  |-  ( ( T.  /\  x  e. 
om )  -> DECID  x  =  (/) )
136, 10, 12ifcldadc 3563 . . 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 4591 . . . . . . . 8  |-  ( x  e.  om  ->  suc  x  e.  om )
1614, 15fmpti 5664 . . . . . . 7  |-  S : om
--> om
1716a1i 9 . . . . . 6  |-  ( T. 
->  S : om --> om )
18 f1oi 5495 . . . . . . . . 9  |-  (  _I  |`  1o ) : 1o -1-1-onto-> 1o
19 f1of 5457 . . . . . . . . 9  |-  ( (  _I  |`  1o ) : 1o -1-1-onto-> 1o  ->  (  _I  |`  1o ) : 1o --> 1o )
2018, 19ax-mp 5 . . . . . . . 8  |-  (  _I  |`  1o ) : 1o --> 1o
21 1onn 6515 . . . . . . . . 9  |-  1o  e.  om
22 omelon 4605 . . . . . . . . . 10  |-  om  e.  On
2322onelssi 4426 . . . . . . . . 9  |-  ( 1o  e.  om  ->  1o  C_ 
om )
2421, 23ax-mp 5 . . . . . . . 8  |-  1o  C_  om
25 fss 5373 . . . . . . . 8  |-  ( ( (  _I  |`  1o ) : 1o --> 1o  /\  1o  C_  om )  -> 
(  _I  |`  1o ) : 1o --> om )
2620, 24, 25mp2an 426 . . . . . . 7  |-  (  _I  |`  1o ) : 1o --> om
2726a1i 9 . . . . . 6  |-  ( T. 
->  (  _I  |`  1o ) : 1o --> om )
2817, 27casef 7081 . . . . 5  |-  ( T. 
-> case ( S ,  (  _I  |`  1o )
) : ( om 1o ) --> om )
29 omp1eom.g . . . . . 6  |-  G  = case ( S ,  (  _I  |`  1o )
)
3029feq1i 5354 . . . . 5  |-  ( G : ( om 1o ) --> om  <-> case ( S ,  (  _I  |`  1o )
) : ( om 1o ) --> om )
3128, 30sylibr 134 . . . 4  |-  ( T. 
->  G : ( om 1o ) --> om )
3231ffvelcdmda 5647 . . 3  |-  ( ( T.  /\  y  e.  ( om 1o ) )  ->  ( G `  y )  e.  om )
33 ffn 5361 . . . . . . . . . . . . . . . 16  |-  ( S : om --> om  ->  S  Fn  om )
3416, 33mp1i 10 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  S  Fn  om )
35 ffun 5364 . . . . . . . . . . . . . . . 16  |-  ( (  _I  |`  1o ) : 1o --> 1o  ->  Fun  (  _I  |`  1o ) )
3620, 35mp1i 10 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  Fun  (  _I  |`  1o ) )
37 simpl 109 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  z  e.  om )
3834, 36, 37caseinl 7084 . . . . . . . . . . . . . 14  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inl `  z ) )  =  ( S `  z ) )
3929eqcomi 2181 . . . . . . . . . . . . . . . 16  |- case ( S ,  (  _I  |`  1o ) )  =  G
4039a1i 9 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  -> case ( S ,  (  _I  |`  1o ) )  =  G )
41 simpr 110 . . . . . . . . . . . . . . . 16  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  y  =  (inl `  z )
)
4241eqcomd 2183 . . . . . . . . . . . . . . 15  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  (inl `  z )  =  y )
4340, 42fveq12d 5518 . . . . . . . . . . . . . 14  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inl `  z ) )  =  ( G `  y ) )
44 peano2 4591 . . . . . . . . . . . . . . . 16  |-  ( z  e.  om  ->  suc  z  e.  om )
45 suceq 4399 . . . . . . . . . . . . . . . . 17  |-  ( x  =  z  ->  suc  x  =  suc  z )
4645, 14fvmptg 5588 . . . . . . . . . . . . . . . 16  |-  ( ( z  e.  om  /\  suc  z  e.  om )  ->  ( S `  z )  =  suc  z )
4744, 46mpdan 421 . . . . . . . . . . . . . . 15  |-  ( z  e.  om  ->  ( S `  z )  =  suc  z )
4847adantr 276 . . . . . . . . . . . . . 14  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  ( S `  z )  =  suc  z )
4938, 43, 483eqtr3d 2218 . . . . . . . . . . . . 13  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  ( G `  y )  =  suc  z )
50 peano3 4592 . . . . . . . . . . . . . 14  |-  ( z  e.  om  ->  suc  z  =/=  (/) )
5150adantr 276 . . . . . . . . . . . . 13  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  suc  z  =/=  (/) )
5249, 51eqnetrd 2371 . . . . . . . . . . . 12  |-  ( ( z  e.  om  /\  y  =  (inl `  z
) )  ->  ( G `  y )  =/=  (/) )
5352adantl 277 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( G `  y )  =/=  (/) )
5453necomd 2433 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  (/)  =/=  ( G `
 y ) )
5554neneqd 2368 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  -.  (/)  =  ( G `  y ) )
56 simplr 528 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  x  =  (/) )
5756eqeq1d 2186 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  (/)  =  ( G `
 y ) ) )
5855, 57mtbird 673 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  -.  x  =  ( G `  y ) )
59 djune 7071 . . . . . . . . . . . 12  |-  ( ( z  e.  _V  /\  x  e.  _V )  ->  (inl `  z )  =/=  (inr `  x )
)
6059elvd 2742 . . . . . . . . . . 11  |-  ( z  e.  _V  ->  (inl `  z )  =/=  (inr `  x ) )
6160elv 2741 . . . . . . . . . 10  |-  (inl `  z )  =/=  (inr `  x )
6261neii 2349 . . . . . . . . 9  |-  -.  (inl `  z )  =  (inr
`  x )
63 simprr 531 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  y  =  (inl
`  z ) )
64 simpr 110 . . . . . . . . . . . 12  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  x  =  (/) )
6564iftrued 3541 . . . . . . . . . . 11  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  if ( x  =  (/) ,  (inr
`  x ) ,  (inl `  U. x ) )  =  (inr `  x ) )
6665adantr 276 . . . . . . . . . 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 2192 . . . . . . . . 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 675 . . . . . . . 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 702 . . . . . . 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 2595 . . . . . 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 528 . . . . . . . . 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 110 . . . . . . . . . . . 12  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  y  =  (inr `  z )
)
7472, 73fveq12d 5518 . . . . . . . . . . 11  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  ( G `  y )  =  (case ( S , 
(  _I  |`  1o ) ) `  (inr `  z ) ) )
7514funmpt2 5251 . . . . . . . . . . . . . 14  |-  Fun  S
7675a1i 9 . . . . . . . . . . . . 13  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  Fun  S )
77 fnresi 5329 . . . . . . . . . . . . . 14  |-  (  _I  |`  1o )  Fn  1o
7877a1i 9 . . . . . . . . . . . . 13  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (  _I  |`  1o )  Fn  1o )
79 simpl 109 . . . . . . . . . . . . 13  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  z  e.  1o )
8076, 78, 79caseinr 7085 . . . . . . . . . . . 12  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inr `  z ) )  =  ( (  _I  |`  1o ) `  z
) )
81 fvresi 5705 . . . . . . . . . . . . 13  |-  ( z  e.  1o  ->  (
(  _I  |`  1o ) `
 z )  =  z )
8281adantr 276 . . . . . . . . . . . 12  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (
(  _I  |`  1o ) `
 z )  =  z )
8380, 82eqtrd 2210 . . . . . . . . . . 11  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  (case ( S ,  (  _I  |`  1o ) ) `  (inr `  z ) )  =  z )
84 el1o 6432 . . . . . . . . . . . 12  |-  ( z  e.  1o  <->  z  =  (/) )
8579, 84sylib 122 . . . . . . . . . . 11  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  z  =  (/) )
8674, 83, 853eqtrd 2214 . . . . . . . . . 10  |-  ( ( z  e.  1o  /\  y  =  (inr `  z
) )  ->  ( G `  y )  =  (/) )
8786adantl 277 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( G `  y )  =  (/) )
8871, 87eqtr4d 2213 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  x  =  ( G `  y ) )
8985adantl 277 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  z  =  (/) )
9071, 89eqtr4d 2213 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  x  =  z )
9190fveq2d 5515 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  (inr `  x
)  =  (inr `  z ) )
9265adantr 276 . . . . . . . . 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 531 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  y  =  (inr
`  z ) )
9491, 92, 933eqtr4rd 2221 . . . . . . . 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 175 . . . . . . 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 2595 . . . . . 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 7062 . . . . . . . 8  |-  ( y  e.  ( om 1o )  <-> 
( E. z  e. 
om  y  =  (inl
`  z )  \/ 
E. z  e.  1o  y  =  (inr `  z
) ) )
9897biimpi 120 . . . . . . 7  |-  ( y  e.  ( om 1o )  ->  ( E. z  e.  om  y  =  (inl
`  z )  \/ 
E. z  e.  1o  y  =  (inr `  z
) ) )
9998ad2antlr 489 . . . . . 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 718 . . . . 5  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  x  =  (/) )  ->  (
x  =  ( G `
 y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
101 simplll 533 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  x  e.  om )
102 simplr 528 . . . . . . . . . . . 12  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  -.  x  =  (/) )
103102neqned 2354 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  x  =/=  (/) )
104 nnsucpred 4613 . . . . . . . . . . 11  |-  ( ( x  e.  om  /\  x  =/=  (/) )  ->  suc  U. x  =  x )
105101, 103, 104syl2anc 411 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  suc  U. x  =  x )
106105eqeq2d 2189 . . . . . . . . 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 2179 . . . . . . . . 9  |-  ( suc  z  =  x  <->  x  =  suc  z )
108106, 107bitrdi 196 . . . . . . . 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 531 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  y  =  (inl
`  z ) )
110 simpr 110 . . . . . . . . . . . . 13  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  ->  -.  x  =  (/) )
111110iffalsed 3544 . . . . . . . . . . . 12  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  ->  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) )  =  (inl `  U. x ) )
112111adantr 276 . . . . . . . . . . 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 2192 . . . . . . . . . 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 4435 . . . . . . . . . . . 12  |-  U. x  e.  _V
115 inl11 7058 . . . . . . . . . . . 12  |-  ( ( z  e.  _V  /\  U. x  e.  _V )  ->  ( (inl `  z
)  =  (inl `  U. x )  <->  z  =  U. x ) )
116114, 115mpan2 425 . . . . . . . . . . 11  |-  ( z  e.  _V  ->  (
(inl `  z )  =  (inl `  U. x )  <-> 
z  =  U. x
) )
117116elv 2741 . . . . . . . . . 10  |-  ( (inl
`  z )  =  (inl `  U. x )  <-> 
z  =  U. x
)
118113, 117bitrdi 196 . . . . . . . . 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 4606 . . . . . . . . . . 11  |-  ( z  e.  om  ->  z  e.  On )
120119ad2antrl 490 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  z  e.  On )
1217ad3antrrr 492 . . . . . . . . . . 11  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  U. x  e.  om )
122 nnon 4606 . . . . . . . . . . 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 4554 . . . . . . . . . 10  |-  ( ( z  e.  On  /\  U. x  e.  On )  ->  ( suc  z  =  suc  U. x  <->  z  =  U. x ) )
125120, 123, 124syl2anc 411 . . . . . . . . 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 191 . . . . . . . 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 277 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( G `  y )  =  suc  z )
128127eqeq2d 2189 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  om  /\  y  =  (inl `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  x  =  suc  z ) )
129108, 126, 1283bitr4rd 221 . . . . . . 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 2595 . . . . . 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 528 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  -.  x  =  (/) )
13286adantl 277 . . . . . . . . . 10  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( G `  y )  =  (/) )
133132eqeq2d 2189 . . . . . . . . 9  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  ( x  =  ( G `  y
)  <->  x  =  (/) ) )
134131, 133mtbird 673 . . . . . . . 8  |-  ( ( ( ( x  e. 
om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  /\  ( z  e.  1o  /\  y  =  (inr `  z ) ) )  ->  -.  x  =  ( G `  y ) )
135 djune 7071 . . . . . . . . . . . 12  |-  ( ( U. x  e.  _V  /\  z  e.  _V )  ->  (inl `  U. x )  =/=  (inr `  z
) )
136135elvd 2742 . . . . . . . . . . 11  |-  ( U. x  e.  _V  ->  (inl
`  U. x )  =/=  (inr `  z )
)
137114, 136ax-mp 5 . . . . . . . . . 10  |-  (inl `  U. x )  =/=  (inr `  z )
138137nesymi 2393 . . . . . . . . 9  |-  -.  (inr `  z )  =  (inl
`  U. x )
13973, 111eqeqan12rd 2194 . . . . . . . . 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 675 . . . . . . . 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 702 . . . . . . 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 2595 . . . . . 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 489 . . . . . 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 718 . . . . 5  |-  ( ( ( x  e.  om  /\  y  e.  ( om 1o ) )  /\  -.  x  =  (/) )  -> 
( x  =  ( G `  y )  <-> 
y  =  if ( x  =  (/) ,  (inr
`  x ) ,  (inl `  U. x ) ) ) )
145 exmiddc 836 . . . . . . 7  |-  (DECID  x  =  (/)  ->  ( x  =  (/)  \/  -.  x  =  (/) ) )
14611, 145syl 14 . . . . . 6  |-  ( x  e.  om  ->  (
x  =  (/)  \/  -.  x  =  (/) ) )
147146adantr 276 . . . . 5  |-  ( ( x  e.  om  /\  y  e.  ( om 1o ) )  ->  (
x  =  (/)  \/  -.  x  =  (/) ) )
148100, 144, 147mpjaodan 798 . . . 4  |-  ( ( x  e.  om  /\  y  e.  ( om 1o ) )  ->  (
x  =  ( G `
 y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
149148adantl 277 . . 3  |-  ( ( T.  /\  ( x  e.  om  /\  y  e.  ( om 1o ) ) )  ->  ( x  =  ( G `  y )  <->  y  =  if ( x  =  (/) ,  (inr `  x ) ,  (inl `  U. x ) ) ) )
1501, 13, 32, 149f1o2d 6070 . 2  |-  ( T. 
->  F : om -1-1-onto-> ( om 1o ) )
151150mptru 1362 1  |-  F : om
-1-1-onto-> ( om 1o )
Colors of variables: wff set class
Syntax hints:   -. wn 3    /\ wa 104    <-> wb 105    \/ wo 708  DECID wdc 834    = wceq 1353   T. wtru 1354    e. wcel 2148    =/= wne 2347   E.wrex 2456   _Vcvv 2737    C_ wss 3129   (/)c0 3422   ifcif 3534   U.cuni 3807    |-> cmpt 4061    _I cid 4285   Oncon0 4360   suc csuc 4362   omcom 4586    |` cres 4625   Fun wfun 5206    Fn wfn 5207   -->wf 5208   -1-1-onto->wf1o 5211   ` cfv 5212   1oc1o 6404   ⊔ cdju 7030  inlcinl 7038  inrcinr 7039  casecdjucase 7076
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4118  ax-nul 4126  ax-pow 4171  ax-pr 4206  ax-un 4430  ax-setind 4533  ax-iinf 4584
This theorem depends on definitions:  df-bi 117  df-dc 835  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-ral 2460  df-rex 2461  df-rab 2464  df-v 2739  df-sbc 2963  df-csb 3058  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-if 3535  df-pw 3576  df-sn 3597  df-pr 3598  df-op 3600  df-uni 3808  df-int 3843  df-br 4001  df-opab 4062  df-mpt 4063  df-tr 4099  df-id 4290  df-iord 4363  df-on 4365  df-suc 4368  df-iom 4587  df-xp 4629  df-rel 4630  df-cnv 4631  df-co 4632  df-dm 4633  df-rn 4634  df-res 4635  df-ima 4636  df-iota 5174  df-fun 5214  df-fn 5215  df-f 5216  df-f1 5217  df-fo 5218  df-f1o 5219  df-fv 5220  df-1st 6135  df-2nd 6136  df-1o 6411  df-dju 7031  df-inl 7040  df-inr 7041  df-case 7077
This theorem is referenced by:  omp1eom  7088
  Copyright terms: Public domain W3C validator