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

Theorem ctmlemr 6986
Description: Lemma for ctm 6987. One of the directions of the biconditional. (Contributed by Jim Kingdon, 16-Mar-2023.)
Assertion
Ref Expression
ctmlemr  |-  ( E. x  x  e.  A  ->  ( E. f  f : om -onto-> A  ->  E. f  f : om -onto-> ( A 1o ) ) )
Distinct variable groups:    A, f    x, f
Allowed substitution hint:    A( x)

Proof of Theorem ctmlemr
Dummy variables  g  n  u  w  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 0lt1o 6330 . . . . . . . . . 10  |-  (/)  e.  1o
2 djurcl 6930 . . . . . . . . . 10  |-  ( (/)  e.  1o  ->  (inr `  (/) )  e.  ( A 1o )
)
31, 2ax-mp 5 . . . . . . . . 9  |-  (inr `  (/) )  e.  ( A 1o )
43a1i 9 . . . . . . . 8  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  /\  n  =  (/) )  ->  (inr `  (/) )  e.  ( A 1o )
)
5 simpllr 523 . . . . . . . . . . 11  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  /\  -.  n  =  (/) )  ->  f : om -onto-> A )
6 fof 5340 . . . . . . . . . . 11  |-  ( f : om -onto-> A  -> 
f : om --> A )
75, 6syl 14 . . . . . . . . . 10  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  /\  -.  n  =  (/) )  ->  f : om --> A )
8 nnpredcl 4531 . . . . . . . . . . 11  |-  ( n  e.  om  ->  U. n  e.  om )
98ad2antlr 480 . . . . . . . . . 10  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  /\  -.  n  =  (/) )  ->  U. n  e.  om )
107, 9ffvelrnd 5549 . . . . . . . . 9  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  /\  -.  n  =  (/) )  ->  ( f `
 U. n )  e.  A )
11 djulcl 6929 . . . . . . . . 9  |-  ( ( f `  U. n
)  e.  A  -> 
(inl `  ( f `  U. n ) )  e.  ( A 1o ) )
1210, 11syl 14 . . . . . . . 8  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  /\  -.  n  =  (/) )  ->  (inl `  ( f `  U. n ) )  e.  ( A 1o )
)
13 nndceq0 4526 . . . . . . . . 9  |-  ( n  e.  om  -> DECID  n  =  (/) )
1413adantl 275 . . . . . . . 8  |-  ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  -> DECID  n  =  (/) )
154, 12, 14ifcldadc 3496 . . . . . . 7  |-  ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  n  e.  om )  ->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) )  e.  ( A 1o ) )
1615fmpttd 5568 . . . . . 6  |-  ( ( E. x  x  e.  A  /\  f : om -onto-> A )  ->  (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) : om --> ( A 1o ) )
17 simpllr 523 . . . . . . . . . . 11  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w ) ) )  ->  f : om -onto-> A )
18 simprl 520 . . . . . . . . . . 11  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w ) ) )  ->  w  e.  A
)
19 foelrn 5647 . . . . . . . . . . 11  |-  ( ( f : om -onto-> A  /\  w  e.  A
)  ->  E. u  e.  om  w  =  ( f `  u ) )
2017, 18, 19syl2anc 408 . . . . . . . . . 10  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w ) ) )  ->  E. u  e.  om  w  =  ( f `  u ) )
21 peano2 4504 . . . . . . . . . . . 12  |-  ( u  e.  om  ->  suc  u  e.  om )
2221ad2antrl 481 . . . . . . . . . . 11  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  suc  u  e.  om )
23 simplrr 525 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  y  =  (inl
`  w ) )
24 simprl 520 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  u  e.  om )
25 nnord 4520 . . . . . . . . . . . . . . . . . . 19  |-  ( u  e.  om  ->  Ord  u )
26 ordtr 4295 . . . . . . . . . . . . . . . . . . 19  |-  ( Ord  u  ->  Tr  u
)
2724, 25, 263syl 17 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  Tr  u )
28 unisucg 4331 . . . . . . . . . . . . . . . . . . 19  |-  ( u  e.  om  ->  ( Tr  u  <->  U. suc  u  =  u ) )
2928ad2antrl 481 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  ( Tr  u  <->  U.
suc  u  =  u ) )
3027, 29mpbid 146 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  U. suc  u  =  u )
3130fveq2d 5418 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  ( f `  U. suc  u )  =  ( f `  u
) )
32 simprr 521 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  w  =  ( f `  u ) )
3331, 32eqtr4d 2173 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  ( f `  U. suc  u )  =  w )
3433fveq2d 5418 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  (inl `  (
f `  U. suc  u
) )  =  (inl
`  w ) )
3523, 34eqtr4d 2173 . . . . . . . . . . . . 13  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  y  =  (inl
`  ( f `  U. suc  u ) ) )
36 peano3 4505 . . . . . . . . . . . . . . . 16  |-  ( u  e.  om  ->  suc  u  =/=  (/) )
3736neneqd 2327 . . . . . . . . . . . . . . 15  |-  ( u  e.  om  ->  -.  suc  u  =  (/) )
3837ad2antrl 481 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  -.  suc  u  =  (/) )
3938iffalsed 3479 . . . . . . . . . . . . 13  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  if ( suc  u  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. suc  u ) ) )  =  (inl `  ( f `  U. suc  u ) ) )
4035, 39eqtr4d 2173 . . . . . . . . . . . 12  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  y  =  if ( suc  u  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. suc  u ) ) ) )
41 eqid 2137 . . . . . . . . . . . . 13  |-  ( n  e.  om  |->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) ) )  =  ( n  e.  om  |->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) ) )
42 eqeq1 2144 . . . . . . . . . . . . . 14  |-  ( n  =  suc  u  -> 
( n  =  (/)  <->  suc  u  =  (/) ) )
43 unieq 3740 . . . . . . . . . . . . . . . 16  |-  ( n  =  suc  u  ->  U. n  =  U. suc  u )
4443fveq2d 5418 . . . . . . . . . . . . . . 15  |-  ( n  =  suc  u  -> 
( f `  U. n )  =  ( f `  U. suc  u ) )
4544fveq2d 5418 . . . . . . . . . . . . . 14  |-  ( n  =  suc  u  -> 
(inl `  ( f `  U. n ) )  =  (inl `  (
f `  U. suc  u
) ) )
4642, 45ifbieq2d 3491 . . . . . . . . . . . . 13  |-  ( n  =  suc  u  ->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) )  =  if ( suc  u  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. suc  u ) ) ) )
47 simpllr 523 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  y  e.  ( A 1o ) )
4840, 47eqeltrrd 2215 . . . . . . . . . . . . 13  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  if ( suc  u  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. suc  u ) ) )  e.  ( A 1o ) )
4941, 46, 22, 48fvmptd3 5507 . . . . . . . . . . . 12  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) ) ) `  suc  u
)  =  if ( suc  u  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. suc  u ) ) ) )
5040, 49eqtr4d 2173 . . . . . . . . . . 11  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  y  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  suc  u ) )
51 fveq2 5414 . . . . . . . . . . . 12  |-  ( z  =  suc  u  -> 
( ( n  e. 
om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z )  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) ) ) `  suc  u
) )
5251rspceeqv 2802 . . . . . . . . . . 11  |-  ( ( suc  u  e.  om  /\  y  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  suc  u ) )  ->  E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) )
5322, 50, 52syl2anc 408 . . . . . . . . . 10  |-  ( ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A
)  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w )
) )  /\  (
u  e.  om  /\  w  =  ( f `  u ) ) )  ->  E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) )
5420, 53rexlimddv 2552 . . . . . . . . 9  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  A  /\  y  =  (inl `  w ) ) )  ->  E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) )
5554rexlimdvaa 2548 . . . . . . . 8  |-  ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o )
)  ->  ( E. w  e.  A  y  =  (inl `  w )  ->  E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) ) )
56 peano1 4503 . . . . . . . . . 10  |-  (/)  e.  om
57 simprr 521 . . . . . . . . . . . . 13  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  y  =  (inr
`  w ) )
58 simprl 520 . . . . . . . . . . . . . . 15  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  w  e.  1o )
59 el1o 6327 . . . . . . . . . . . . . . 15  |-  ( w  e.  1o  <->  w  =  (/) )
6058, 59sylib 121 . . . . . . . . . . . . . 14  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  w  =  (/) )
6160fveq2d 5418 . . . . . . . . . . . . 13  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  (inr `  w
)  =  (inr `  (/) ) )
6257, 61eqtrd 2170 . . . . . . . . . . . 12  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  y  =  (inr
`  (/) ) )
63 eqid 2137 . . . . . . . . . . . . 13  |-  (/)  =  (/)
6463iftruei 3475 . . . . . . . . . . . 12  |-  if (
(/)  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. (/) ) ) )  =  (inr `  (/) )
6562, 64syl6eqr 2188 . . . . . . . . . . 11  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  y  =  if ( (/)  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. (/) ) ) ) )
6664, 3eqeltri 2210 . . . . . . . . . . . . 13  |-  if (
(/)  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. (/) ) ) )  e.  ( A 1o )
6766a1i 9 . . . . . . . . . . . 12  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  if ( (/)  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. (/) ) ) )  e.  ( A 1o )
)
68 eqeq1 2144 . . . . . . . . . . . . . 14  |-  ( n  =  (/)  ->  ( n  =  (/)  <->  (/)  =  (/) ) )
69 unieq 3740 . . . . . . . . . . . . . . . 16  |-  ( n  =  (/)  ->  U. n  =  U. (/) )
7069fveq2d 5418 . . . . . . . . . . . . . . 15  |-  ( n  =  (/)  ->  ( f `
 U. n )  =  ( f `  U. (/) ) )
7170fveq2d 5418 . . . . . . . . . . . . . 14  |-  ( n  =  (/)  ->  (inl `  ( f `  U. n ) )  =  (inl `  ( f `  U. (/) ) ) )
7268, 71ifbieq2d 3491 . . . . . . . . . . . . 13  |-  ( n  =  (/)  ->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) )  =  if ( (/)  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. (/) ) ) ) )
7372, 41fvmptg 5490 . . . . . . . . . . . 12  |-  ( (
(/)  e.  om  /\  if ( (/)  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. (/) ) ) )  e.  ( A 1o ) )  ->  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  (/) )  =  if ( (/)  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. (/) ) ) ) )
7456, 67, 73sylancr 410 . . . . . . . . . . 11  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) ) ) `  (/) )  =  if ( (/)  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. (/) ) ) ) )
7565, 74eqtr4d 2173 . . . . . . . . . 10  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  y  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  (/) ) )
76 fveq2 5414 . . . . . . . . . . 11  |-  ( z  =  (/)  ->  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
)  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  (/) ) )
7776rspceeqv 2802 . . . . . . . . . 10  |-  ( (
(/)  e.  om  /\  y  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) ) ) `  (/) ) )  ->  E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) )
7856, 75, 77sylancr 410 . . . . . . . . 9  |-  ( ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o ) )  /\  ( w  e.  1o  /\  y  =  (inr `  w ) ) )  ->  E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) )
7978rexlimdvaa 2548 . . . . . . . 8  |-  ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o )
)  ->  ( E. w  e.  1o  y  =  (inr `  w )  ->  E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) ) )
80 djur 6947 . . . . . . . . . 10  |-  ( y  e.  ( A 1o )  <-> 
( E. w  e.  A  y  =  (inl
`  w )  \/ 
E. w  e.  1o  y  =  (inr `  w
) ) )
8180biimpi 119 . . . . . . . . 9  |-  ( y  e.  ( A 1o )  ->  ( E. w  e.  A  y  =  (inl `  w )  \/ 
E. w  e.  1o  y  =  (inr `  w
) ) )
8281adantl 275 . . . . . . . 8  |-  ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o )
)  ->  ( E. w  e.  A  y  =  (inl `  w )  \/  E. w  e.  1o  y  =  (inr `  w
) ) )
8355, 79, 82mpjaod 707 . . . . . . 7  |-  ( ( ( E. x  x  e.  A  /\  f : om -onto-> A )  /\  y  e.  ( A 1o )
)  ->  E. z  e.  om  y  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) )
8483ralrimiva 2503 . . . . . 6  |-  ( ( E. x  x  e.  A  /\  f : om -onto-> A )  ->  A. y  e.  ( A 1o ) E. z  e.  om  y  =  ( (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) )
85 dffo3 5560 . . . . . 6  |-  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) : om -onto->
( A 1o )  <->  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) : om --> ( A 1o )  /\  A. y  e.  ( A 1o ) E. z  e. 
om  y  =  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) `  z
) ) )
8616, 84, 85sylanbrc 413 . . . . 5  |-  ( ( E. x  x  e.  A  /\  f : om -onto-> A )  ->  (
n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) : om -onto->
( A 1o )
)
87 omex 4502 . . . . . . 7  |-  om  e.  _V
8887mptex 5639 . . . . . 6  |-  ( n  e.  om  |->  if ( n  =  (/) ,  (inr
`  (/) ) ,  (inl
`  ( f `  U. n ) ) ) )  e.  _V
89 foeq1 5336 . . . . . 6  |-  ( g  =  ( n  e. 
om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) )  ->  ( g : om -onto-> ( A 1o )  <-> 
( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) : om -onto->
( A 1o )
) )
9088, 89spcev 2775 . . . . 5  |-  ( ( n  e.  om  |->  if ( n  =  (/) ,  (inr `  (/) ) ,  (inl `  ( f `  U. n ) ) ) ) : om -onto->
( A 1o )  ->  E. g  g : om -onto-> ( A 1o ) )
9186, 90syl 14 . . . 4  |-  ( ( E. x  x  e.  A  /\  f : om -onto-> A )  ->  E. g 
g : om -onto-> ( A 1o ) )
9291ex 114 . . 3  |-  ( E. x  x  e.  A  ->  ( f : om -onto-> A  ->  E. g  g : om -onto-> ( A 1o ) ) )
9392exlimdv 1791 . 2  |-  ( E. x  x  e.  A  ->  ( E. f  f : om -onto-> A  ->  E. g  g : om -onto-> ( A 1o ) ) )
94 foeq1 5336 . . 3  |-  ( f  =  g  ->  (
f : om -onto-> ( A 1o )  <->  g : om -onto-> ( A 1o ) ) )
9594cbvexv 1890 . 2  |-  ( E. f  f : om -onto->
( A 1o )  <->  E. g  g : om -onto->
( A 1o )
)
9693, 95syl6ibr 161 1  |-  ( E. x  x  e.  A  ->  ( E. f  f : om -onto-> A  ->  E. f  f : om -onto-> ( A 1o ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 697  DECID wdc 819    = wceq 1331   E.wex 1468    e. wcel 1480   A.wral 2414   E.wrex 2415   (/)c0 3358   ifcif 3469   U.cuni 3731    |-> cmpt 3984   Tr wtr 4021   Ord word 4279   suc csuc 4282   omcom 4499   -->wf 5114   -onto->wfo 5116   ` cfv 5118   1oc1o 6299   ⊔ cdju 6915  inlcinl 6923  inrcinr 6924
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 2119  ax-coll 4038  ax-sep 4041  ax-nul 4049  ax-pow 4093  ax-pr 4126  ax-un 4350  ax-iinf 4497
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 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ne 2307  df-ral 2419  df-rex 2420  df-reu 2421  df-rab 2423  df-v 2683  df-sbc 2905  df-csb 2999  df-dif 3068  df-un 3070  df-in 3072  df-ss 3079  df-nul 3359  df-if 3470  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-int 3767  df-iun 3810  df-br 3925  df-opab 3985  df-mpt 3986  df-tr 4022  df-id 4210  df-iord 4283  df-on 4285  df-suc 4288  df-iom 4500  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-rn 4545  df-res 4546  df-ima 4547  df-iota 5083  df-fun 5120  df-fn 5121  df-f 5122  df-f1 5123  df-fo 5124  df-f1o 5125  df-fv 5126  df-1st 6031  df-2nd 6032  df-1o 6306  df-dju 6916  df-inl 6925  df-inr 6926
This theorem is referenced by:  ctm  6987
  Copyright terms: Public domain W3C validator