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

Theorem difinfsn 6985
Description: An infinite set minus one element is infinite. We require that the set has decidable equality. (Contributed by Jim Kingdon, 8-Aug-2023.)
Assertion
Ref Expression
difinfsn  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  om  ~<_  ( A  \  { B } ) )
Distinct variable groups:    x, A, y   
x, B, y

Proof of Theorem difinfsn
Dummy variables  a  f  g  n  s are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 omp1eom 6980 . . . . 5  |-  ( om 1o )  ~~  om
2 simp2 982 . . . . 5  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  om  ~<_  A )
3 endomtr 6684 . . . . 5  |-  ( ( ( om 1o )  ~~  om 
/\  om  ~<_  A )  ->  ( om 1o )  ~<_  A )
41, 2, 3sylancr 410 . . . 4  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  ( om 1o )  ~<_  A )
5 brdomi 6643 . . . 4  |-  ( ( om 1o )  ~<_  A  ->  E. f  f :
( om 1o ) -1-1-> A
)
64, 5syl 14 . . 3  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  E. f  f : ( om 1o ) -1-1-> A
)
7 inlresf1 6946 . . . . . . . 8  |-  (inl  |`  om ) : om -1-1-> ( om 1o )
8 f1co 5340 . . . . . . . 8  |-  ( ( f : ( om 1o ) -1-1-> A  /\  (inl  |` 
om ) : om -1-1-> ( om 1o ) )  -> 
( f  o.  (inl  |` 
om ) ) : om -1-1-> A )
97, 8mpan2 421 . . . . . . 7  |-  ( f : ( om 1o )
-1-1-> A  ->  ( f  o.  (inl  |`  om ) ) : om -1-1-> A )
109ad2antlr 480 . . . . . 6  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  -> 
( f  o.  (inl  |` 
om ) ) : om -1-1-> A )
11 f1f 5328 . . . . . . . . . . . 12  |-  ( ( f  o.  (inl  |`  om )
) : om -1-1-> A  ->  ( f  o.  (inl  |` 
om ) ) : om --> A )
1210, 11syl 14 . . . . . . . . . . 11  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  -> 
( f  o.  (inl  |` 
om ) ) : om --> A )
1312frnd 5282 . . . . . . . . . 10  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  ->  ran  ( f  o.  (inl  |` 
om ) )  C_  A )
1413sselda 3097 . . . . . . . . 9  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  s  e. 
ran  ( f  o.  (inl  |`  om ) ) )  ->  s  e.  A )
15 simpllr 523 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  ( f `  (inr `  (/) ) )  =  B )
16 simpr 109 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  ( (
f  o.  (inl  |`  om )
) `  n )  =  B )
17 f1f 5328 . . . . . . . . . . . . . . . . . . . 20  |-  ( (inl  |`  om ) : om -1-1-> ( om 1o )  ->  (inl  |` 
om ) : om --> ( om 1o ) )
187, 17ax-mp 5 . . . . . . . . . . . . . . . . . . 19  |-  (inl  |`  om ) : om --> ( om 1o )
19 simpr 109 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  ->  n  e.  om )
20 fvco3 5492 . . . . . . . . . . . . . . . . . . 19  |-  ( ( (inl  |`  om ) : om --> ( om 1o )  /\  n  e.  om )  ->  ( ( f  o.  (inl  |`  om )
) `  n )  =  ( f `  ( (inl  |`  om ) `  n ) ) )
2118, 19, 20sylancr 410 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  ->  (
( f  o.  (inl  |` 
om ) ) `  n )  =  ( f `  ( (inl  |`  om ) `  n
) ) )
2219fvresd 5446 . . . . . . . . . . . . . . . . . . 19  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  ->  (
(inl  |`  om ) `  n )  =  (inl
`  n ) )
2322fveq2d 5425 . . . . . . . . . . . . . . . . . 18  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  ->  (
f `  ( (inl  |` 
om ) `  n
) )  =  ( f `  (inl `  n ) ) )
2421, 23eqtrd 2172 . . . . . . . . . . . . . . . . 17  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  ->  (
( f  o.  (inl  |` 
om ) ) `  n )  =  ( f `  (inl `  n ) ) )
2524adantr 274 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  ( (
f  o.  (inl  |`  om )
) `  n )  =  ( f `  (inl `  n ) ) )
2615, 16, 253eqtr2rd 2179 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  ( f `  (inl `  n )
)  =  ( f `
 (inr `  (/) ) ) )
27 simp-4r 531 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  f :
( om 1o ) -1-1-> A
)
28 djulcl 6936 . . . . . . . . . . . . . . . . 17  |-  ( n  e.  om  ->  (inl `  n )  e.  ( om 1o ) )
2928ad2antlr 480 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  (inl `  n
)  e.  ( om 1o ) )
30 0lt1o 6337 . . . . . . . . . . . . . . . . . 18  |-  (/)  e.  1o
31 djurcl 6937 . . . . . . . . . . . . . . . . . 18  |-  ( (/)  e.  1o  ->  (inr `  (/) )  e.  ( om 1o ) )
3230, 31ax-mp 5 . . . . . . . . . . . . . . . . 17  |-  (inr `  (/) )  e.  ( om 1o )
3332a1i 9 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  (inr `  (/) )  e.  ( om 1o ) )
34 f1veqaeq 5670 . . . . . . . . . . . . . . . 16  |-  ( ( f : ( om 1o ) -1-1-> A  /\  (
(inl `  n )  e.  ( om 1o )  /\  (inr `  (/) )  e.  ( om 1o ) ) )  ->  ( ( f `
 (inl `  n
) )  =  ( f `  (inr `  (/) ) )  ->  (inl `  n )  =  (inr
`  (/) ) ) )
3527, 29, 33, 34syl12anc 1214 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  ( (
f `  (inl `  n
) )  =  ( f `  (inr `  (/) ) )  ->  (inl `  n )  =  (inr
`  (/) ) ) )
3626, 35mpd 13 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  (inl `  n
)  =  (inr `  (/) ) )
3719adantr 274 . . . . . . . . . . . . . . . 16  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  n  e.  om )
38 djune 6963 . . . . . . . . . . . . . . . 16  |-  ( ( n  e.  om  /\  (/) 
e.  1o )  -> 
(inl `  n )  =/=  (inr `  (/) ) )
3937, 30, 38sylancl 409 . . . . . . . . . . . . . . 15  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  (inl `  n
)  =/=  (inr `  (/) ) )
4039neneqd 2329 . . . . . . . . . . . . . 14  |-  ( ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  /\  (
( f  o.  (inl  |` 
om ) ) `  n )  =  B )  ->  -.  (inl `  n )  =  (inr
`  (/) ) )
4136, 40pm2.65da 650 . . . . . . . . . . . . 13  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  n  e. 
om )  ->  -.  ( ( f  o.  (inl  |`  om ) ) `
 n )  =  B )
4241ralrimiva 2505 . . . . . . . . . . . 12  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  ->  A. n  e.  om  -.  ( ( f  o.  (inl  |`  om ) ) `
 n )  =  B )
4312ffnd 5273 . . . . . . . . . . . . 13  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  -> 
( f  o.  (inl  |` 
om ) )  Fn 
om )
44 eqeq1 2146 . . . . . . . . . . . . . . 15  |-  ( s  =  ( ( f  o.  (inl  |`  om )
) `  n )  ->  ( s  =  B  <-> 
( ( f  o.  (inl  |`  om ) ) `
 n )  =  B ) )
4544notbid 656 . . . . . . . . . . . . . 14  |-  ( s  =  ( ( f  o.  (inl  |`  om )
) `  n )  ->  ( -.  s  =  B  <->  -.  ( (
f  o.  (inl  |`  om )
) `  n )  =  B ) )
4645ralrn 5558 . . . . . . . . . . . . 13  |-  ( ( f  o.  (inl  |`  om )
)  Fn  om  ->  ( A. s  e.  ran  ( f  o.  (inl  |` 
om ) )  -.  s  =  B  <->  A. n  e.  om  -.  ( ( f  o.  (inl  |`  om )
) `  n )  =  B ) )
4743, 46syl 14 . . . . . . . . . . . 12  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  -> 
( A. s  e. 
ran  ( f  o.  (inl  |`  om ) )  -.  s  =  B  <->  A. n  e.  om  -.  ( ( f  o.  (inl  |`  om ) ) `
 n )  =  B ) )
4842, 47mpbird 166 . . . . . . . . . . 11  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  ->  A. s  e.  ran  ( f  o.  (inl  |` 
om ) )  -.  s  =  B )
4948r19.21bi 2520 . . . . . . . . . 10  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  s  e. 
ran  ( f  o.  (inl  |`  om ) ) )  ->  -.  s  =  B )
50 velsn 3544 . . . . . . . . . 10  |-  ( s  e.  { B }  <->  s  =  B )
5149, 50sylnibr 666 . . . . . . . . 9  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  s  e. 
ran  ( f  o.  (inl  |`  om ) ) )  ->  -.  s  e.  { B } )
5214, 51eldifd 3081 . . . . . . . 8  |-  ( ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o ) -1-1-> A )  /\  ( f `  (inr `  (/) ) )  =  B )  /\  s  e. 
ran  ( f  o.  (inl  |`  om ) ) )  ->  s  e.  ( A  \  { B } ) )
5352ex 114 . . . . . . 7  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  -> 
( s  e.  ran  ( f  o.  (inl  |` 
om ) )  -> 
s  e.  ( A 
\  { B }
) ) )
5453ssrdv 3103 . . . . . 6  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  ->  ran  ( f  o.  (inl  |` 
om ) )  C_  ( A  \  { B } ) )
55 f1ssr 5335 . . . . . 6  |-  ( ( ( f  o.  (inl  |` 
om ) ) : om -1-1-> A  /\  ran  (
f  o.  (inl  |`  om )
)  C_  ( A  \  { B } ) )  ->  ( f  o.  (inl  |`  om ) ) : om -1-1-> ( A 
\  { B }
) )
5610, 54, 55syl2anc 408 . . . . 5  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  -> 
( f  o.  (inl  |` 
om ) ) : om -1-1-> ( A  \  { B } ) )
57 f1f 5328 . . . . . . 7  |-  ( ( f  o.  (inl  |`  om )
) : om -1-1-> ( A  \  { B } )  ->  (
f  o.  (inl  |`  om )
) : om --> ( A 
\  { B }
) )
58 omex 4507 . . . . . . 7  |-  om  e.  _V
59 fex 5647 . . . . . . 7  |-  ( ( ( f  o.  (inl  |` 
om ) ) : om --> ( A  \  { B } )  /\  om  e.  _V )  -> 
( f  o.  (inl  |` 
om ) )  e. 
_V )
6057, 58, 59sylancl 409 . . . . . 6  |-  ( ( f  o.  (inl  |`  om )
) : om -1-1-> ( A  \  { B } )  ->  (
f  o.  (inl  |`  om )
)  e.  _V )
61 f1eq1 5323 . . . . . . 7  |-  ( g  =  ( f  o.  (inl  |`  om ) )  ->  ( g : om -1-1-> ( A  \  { B } )  <->  ( f  o.  (inl  |`  om ) ) : om -1-1-> ( A 
\  { B }
) ) )
6261spcegv 2774 . . . . . 6  |-  ( ( f  o.  (inl  |`  om )
)  e.  _V  ->  ( ( f  o.  (inl  |` 
om ) ) : om -1-1-> ( A  \  { B } )  ->  E. g  g : om
-1-1-> ( A  \  { B } ) ) )
6360, 62mpcom 36 . . . . 5  |-  ( ( f  o.  (inl  |`  om )
) : om -1-1-> ( A  \  { B } )  ->  E. g 
g : om -1-1-> ( A  \  { B } ) )
6456, 63syl 14 . . . 4  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  (
f `  (inr `  (/) ) )  =  B )  ->  E. g  g : om
-1-1-> ( A  \  { B } ) )
65 simpl1 984 . . . . . . 7  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y
)
6665adantr 274 . . . . . 6  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  -.  ( f `  (inr `  (/) ) )  =  B )  ->  A. x  e.  A  A. y  e.  A DECID  x  =  y
)
67 simpl3 986 . . . . . . 7  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  B  e.  A )
6867adantr 274 . . . . . 6  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  -.  ( f `  (inr `  (/) ) )  =  B )  ->  B  e.  A )
69 simpr 109 . . . . . . 7  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  f : ( om 1o )
-1-1-> A )
7069adantr 274 . . . . . 6  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  -.  ( f `  (inr `  (/) ) )  =  B )  ->  f :
( om 1o ) -1-1-> A
)
71 simpr 109 . . . . . . 7  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  -.  ( f `  (inr `  (/) ) )  =  B )  ->  -.  (
f `  (inr `  (/) ) )  =  B )
7271neqned 2315 . . . . . 6  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  -.  ( f `  (inr `  (/) ) )  =  B )  ->  ( f `  (inr `  (/) ) )  =/=  B )
73 eqid 2139 . . . . . 6  |-  ( a  e.  om  |->  if ( ( f `  (inl `  a ) )  =  B ,  ( f `
 (inr `  (/) ) ) ,  ( f `  (inl `  a ) ) ) )  =  ( a  e.  om  |->  if ( ( f `  (inl `  a ) )  =  B ,  ( f `  (inr `  (/) ) ) ,  ( f `  (inl `  a ) ) ) )
7466, 68, 70, 72, 73difinfsnlem 6984 . . . . 5  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  -.  ( f `  (inr `  (/) ) )  =  B )  ->  ( a  e.  om  |->  if ( ( f `  (inl `  a ) )  =  B ,  ( f `
 (inr `  (/) ) ) ,  ( f `  (inl `  a ) ) ) ) : om -1-1-> ( A  \  { B } ) )
7558mptex 5646 . . . . . 6  |-  ( a  e.  om  |->  if ( ( f `  (inl `  a ) )  =  B ,  ( f `
 (inr `  (/) ) ) ,  ( f `  (inl `  a ) ) ) )  e.  _V
76 f1eq1 5323 . . . . . 6  |-  ( g  =  ( a  e. 
om  |->  if ( ( f `  (inl `  a ) )  =  B ,  ( f `
 (inr `  (/) ) ) ,  ( f `  (inl `  a ) ) ) )  ->  (
g : om -1-1-> ( A  \  { B } )  <->  ( a  e.  om  |->  if ( ( f `  (inl `  a ) )  =  B ,  ( f `
 (inr `  (/) ) ) ,  ( f `  (inl `  a ) ) ) ) : om -1-1-> ( A  \  { B } ) ) )
7775, 76spcev 2780 . . . . 5  |-  ( ( a  e.  om  |->  if ( ( f `  (inl `  a ) )  =  B ,  ( f `  (inr `  (/) ) ) ,  ( f `  (inl `  a ) ) ) ) : om -1-1-> ( A  \  { B } )  ->  E. g 
g : om -1-1-> ( A  \  { B } ) )
7874, 77syl 14 . . . 4  |-  ( ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  /\  -.  ( f `  (inr `  (/) ) )  =  B )  ->  E. g 
g : om -1-1-> ( A  \  { B } ) )
79 f1f 5328 . . . . . . . . 9  |-  ( f : ( om 1o )
-1-1-> A  ->  f :
( om 1o ) --> A )
8069, 79syl 14 . . . . . . . 8  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  f : ( om 1o ) --> A )
8132a1i 9 . . . . . . . 8  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  (inr `  (/) )  e.  ( om 1o ) )
8280, 81ffvelrnd 5556 . . . . . . 7  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  (
f `  (inr `  (/) ) )  e.  A )
8382, 67jca 304 . . . . . 6  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  (
( f `  (inr `  (/) ) )  e.  A  /\  B  e.  A
) )
84 eqeq12 2152 . . . . . . . 8  |-  ( ( x  =  ( f `
 (inr `  (/) ) )  /\  y  =  B )  ->  ( x  =  y  <->  ( f `  (inr `  (/) ) )  =  B ) )
8584dcbid 823 . . . . . . 7  |-  ( ( x  =  ( f `
 (inr `  (/) ) )  /\  y  =  B )  ->  (DECID  x  =  y 
<-> DECID  ( f `  (inr `  (/) ) )  =  B ) )
8685rspc2gv 2801 . . . . . 6  |-  ( ( ( f `  (inr `  (/) ) )  e.  A  /\  B  e.  A
)  ->  ( A. x  e.  A  A. y  e.  A DECID  x  =  y  -> DECID 
( f `  (inr `  (/) ) )  =  B ) )
8783, 65, 86sylc 62 . . . . 5  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  -> DECID  ( f `  (inr `  (/) ) )  =  B )
88 exmiddc 821 . . . . 5  |-  (DECID  ( f `
 (inr `  (/) ) )  =  B  ->  (
( f `  (inr `  (/) ) )  =  B  \/  -.  ( f `
 (inr `  (/) ) )  =  B ) )
8987, 88syl 14 . . . 4  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  (
( f `  (inr `  (/) ) )  =  B  \/  -.  ( f `
 (inr `  (/) ) )  =  B ) )
9064, 78, 89mpjaodan 787 . . 3  |-  ( ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  /\  f : ( om 1o )
-1-1-> A )  ->  E. g 
g : om -1-1-> ( A  \  { B } ) )
916, 90exlimddv 1870 . 2  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  E. g  g : om -1-1-> ( A  \  { B } ) )
92 reldom 6639 . . . . . 6  |-  Rel  ~<_
9392brrelex2i 4583 . . . . 5  |-  ( om  ~<_  A  ->  A  e.  _V )
94 difexg 4069 . . . . 5  |-  ( A  e.  _V  ->  ( A  \  { B }
)  e.  _V )
9593, 94syl 14 . . . 4  |-  ( om  ~<_  A  ->  ( A  \  { B } )  e.  _V )
96953ad2ant2 1003 . . 3  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  ( A  \  { B } )  e.  _V )
97 brdomg 6642 . . 3  |-  ( ( A  \  { B } )  e.  _V  ->  ( om  ~<_  ( A 
\  { B }
)  <->  E. g  g : om -1-1-> ( A  \  { B } ) ) )
9896, 97syl 14 . 2  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  ( om  ~<_  ( A 
\  { B }
)  <->  E. g  g : om -1-1-> ( A  \  { B } ) ) )
9991, 98mpbird 166 1  |-  ( ( A. x  e.  A  A. y  e.  A DECID  x  =  y  /\  om  ~<_  A  /\  B  e.  A )  ->  om  ~<_  ( A  \  { B } ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 697  DECID wdc 819    /\ w3a 962    = wceq 1331   E.wex 1468    e. wcel 1480    =/= wne 2308   A.wral 2416   _Vcvv 2686    \ cdif 3068    C_ wss 3071   (/)c0 3363   ifcif 3474   {csn 3527   class class class wbr 3929    |-> cmpt 3989   omcom 4504   ran crn 4540    |` cres 4541    o. ccom 4543    Fn wfn 5118   -->wf 5119   -1-1->wf1 5120   ` cfv 5123   1oc1o 6306    ~~ cen 6632    ~<_ cdom 6633   ⊔ cdju 6922  inlcinl 6930  inrcinr 6931
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-coll 4043  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-reu 2423  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-iun 3815  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-er 6429  df-en 6635  df-dom 6636  df-dju 6923  df-inl 6932  df-inr 6933  df-case 6969
This theorem is referenced by:  difinfinf  6986
  Copyright terms: Public domain W3C validator