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

Theorem cantnfp1lem1 7567
Description: Lemma for cantnfp1 7570. (Contributed by Mario Carneiro, 20-Jun-2015.)
Hypotheses
Ref Expression
cantnfs.1  |-  S  =  dom  ( A CNF  B
)
cantnfs.2  |-  ( ph  ->  A  e.  On )
cantnfs.3  |-  ( ph  ->  B  e.  On )
cantnfp1.4  |-  ( ph  ->  G  e.  S )
cantnfp1.5  |-  ( ph  ->  X  e.  B )
cantnfp1.6  |-  ( ph  ->  Y  e.  A )
cantnfp1.7  |-  ( ph  ->  ( `' G "
( _V  \  1o ) )  C_  X
)
cantnfp1.f  |-  F  =  ( t  e.  B  |->  if ( t  =  X ,  Y , 
( G `  t
) ) )
Assertion
Ref Expression
cantnfp1lem1  |-  ( ph  ->  F  e.  S )
Distinct variable groups:    t, B    t, A    t, S    t, G    ph, t    t, Y   
t, X
Allowed substitution hint:    F( t)

Proof of Theorem cantnfp1lem1
Dummy variable  k is distinct from all other variables.
StepHypRef Expression
1 cantnfp1.6 . . . . 5  |-  ( ph  ->  Y  e.  A )
21adantr 452 . . . 4  |-  ( (
ph  /\  t  e.  B )  ->  Y  e.  A )
3 cantnfp1.4 . . . . . . 7  |-  ( ph  ->  G  e.  S )
4 cantnfs.1 . . . . . . . 8  |-  S  =  dom  ( A CNF  B
)
5 cantnfs.2 . . . . . . . 8  |-  ( ph  ->  A  e.  On )
6 cantnfs.3 . . . . . . . 8  |-  ( ph  ->  B  e.  On )
74, 5, 6cantnfs 7554 . . . . . . 7  |-  ( ph  ->  ( G  e.  S  <->  ( G : B --> A  /\  ( `' G " ( _V 
\  1o ) )  e.  Fin ) ) )
83, 7mpbid 202 . . . . . 6  |-  ( ph  ->  ( G : B --> A  /\  ( `' G " ( _V  \  1o ) )  e.  Fin ) )
98simpld 446 . . . . 5  |-  ( ph  ->  G : B --> A )
109ffvelrnda 5809 . . . 4  |-  ( (
ph  /\  t  e.  B )  ->  ( G `  t )  e.  A )
11 ifcl 3718 . . . 4  |-  ( ( Y  e.  A  /\  ( G `  t )  e.  A )  ->  if ( t  =  X ,  Y ,  ( G `  t ) )  e.  A )
122, 10, 11syl2anc 643 . . 3  |-  ( (
ph  /\  t  e.  B )  ->  if ( t  =  X ,  Y ,  ( G `  t ) )  e.  A )
13 cantnfp1.f . . 3  |-  F  =  ( t  e.  B  |->  if ( t  =  X ,  Y , 
( G `  t
) ) )
1412, 13fmptd 5832 . 2  |-  ( ph  ->  F : B --> A )
158simprd 450 . . . 4  |-  ( ph  ->  ( `' G "
( _V  \  1o ) )  e.  Fin )
16 snfi 7123 . . . 4  |-  { X }  e.  Fin
17 unfi 7310 . . . 4  |-  ( ( ( `' G "
( _V  \  1o ) )  e.  Fin  /\ 
{ X }  e.  Fin )  ->  ( ( `' G " ( _V 
\  1o ) )  u.  { X }
)  e.  Fin )
1815, 16, 17sylancl 644 . . 3  |-  ( ph  ->  ( ( `' G " ( _V  \  1o ) )  u.  { X } )  e.  Fin )
19 df1o2 6672 . . . . . 6  |-  1o  =  { (/) }
2019difeq2i 3405 . . . . 5  |-  ( _V 
\  1o )  =  ( _V  \  { (/)
} )
2120imaeq2i 5141 . . . 4  |-  ( `' F " ( _V 
\  1o ) )  =  ( `' F " ( _V  \  { (/)
} ) )
22 eldifi 3412 . . . . . . . 8  |-  ( k  e.  ( B  \ 
( ( `' G " ( _V  \  1o ) )  u.  { X } ) )  -> 
k  e.  B )
2322adantl 453 . . . . . . 7  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  k  e.  B
)
241adantr 452 . . . . . . . 8  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  Y  e.  A
)
25 fvex 5682 . . . . . . . 8  |-  ( G `
 k )  e. 
_V
26 ifexg 3741 . . . . . . . 8  |-  ( ( Y  e.  A  /\  ( G `  k )  e.  _V )  ->  if ( k  =  X ,  Y ,  ( G `  k ) )  e.  _V )
2724, 25, 26sylancl 644 . . . . . . 7  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  if ( k  =  X ,  Y ,  ( G `  k ) )  e. 
_V )
28 eqeq1 2393 . . . . . . . . 9  |-  ( t  =  k  ->  (
t  =  X  <->  k  =  X ) )
29 fveq2 5668 . . . . . . . . 9  |-  ( t  =  k  ->  ( G `  t )  =  ( G `  k ) )
3028, 29ifbieq2d 3702 . . . . . . . 8  |-  ( t  =  k  ->  if ( t  =  X ,  Y ,  ( G `  t ) )  =  if ( k  =  X ,  Y ,  ( G `  k ) ) )
3130, 13fvmptg 5743 . . . . . . 7  |-  ( ( k  e.  B  /\  if ( k  =  X ,  Y ,  ( G `  k ) )  e.  _V )  ->  ( F `  k
)  =  if ( k  =  X ,  Y ,  ( G `  k ) ) )
3223, 27, 31syl2anc 643 . . . . . 6  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  ( F `  k )  =  if ( k  =  X ,  Y ,  ( G `  k ) ) )
33 eldifn 3413 . . . . . . . . 9  |-  ( k  e.  ( B  \ 
( ( `' G " ( _V  \  1o ) )  u.  { X } ) )  ->  -.  k  e.  (
( `' G "
( _V  \  1o ) )  u.  { X } ) )
3433adantl 453 . . . . . . . 8  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  -.  k  e.  ( ( `' G " ( _V  \  1o ) )  u.  { X } ) )
35 elsn 3772 . . . . . . . . 9  |-  ( k  e.  { X }  <->  k  =  X )
36 elun2 3458 . . . . . . . . 9  |-  ( k  e.  { X }  ->  k  e.  ( ( `' G " ( _V 
\  1o ) )  u.  { X }
) )
3735, 36sylbir 205 . . . . . . . 8  |-  ( k  =  X  ->  k  e.  ( ( `' G " ( _V  \  1o ) )  u.  { X } ) )
3834, 37nsyl 115 . . . . . . 7  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  -.  k  =  X )
39 iffalse 3689 . . . . . . 7  |-  ( -.  k  =  X  ->  if ( k  =  X ,  Y ,  ( G `  k ) )  =  ( G `
 k ) )
4038, 39syl 16 . . . . . 6  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  if ( k  =  X ,  Y ,  ( G `  k ) )  =  ( G `  k
) )
41 ssun1 3453 . . . . . . . . 9  |-  ( `' G " ( _V 
\  1o ) ) 
C_  ( ( `' G " ( _V 
\  1o ) )  u.  { X }
)
42 sscon 3424 . . . . . . . . 9  |-  ( ( `' G " ( _V 
\  1o ) ) 
C_  ( ( `' G " ( _V 
\  1o ) )  u.  { X }
)  ->  ( B  \  ( ( `' G " ( _V  \  1o ) )  u.  { X } ) )  C_  ( B  \  ( `' G " ( _V 
\  1o ) ) ) )
4341, 42ax-mp 8 . . . . . . . 8  |-  ( B 
\  ( ( `' G " ( _V 
\  1o ) )  u.  { X }
) )  C_  ( B  \  ( `' G " ( _V  \  1o ) ) )
4443sseli 3287 . . . . . . 7  |-  ( k  e.  ( B  \ 
( ( `' G " ( _V  \  1o ) )  u.  { X } ) )  -> 
k  e.  ( B 
\  ( `' G " ( _V  \  1o ) ) ) )
4520imaeq2i 5141 . . . . . . . . 9  |-  ( `' G " ( _V 
\  1o ) )  =  ( `' G " ( _V  \  { (/)
} ) )
46 eqimss2 3344 . . . . . . . . 9  |-  ( ( `' G " ( _V 
\  1o ) )  =  ( `' G " ( _V  \  { (/)
} ) )  -> 
( `' G "
( _V  \  { (/)
} ) )  C_  ( `' G " ( _V 
\  1o ) ) )
4745, 46mp1i 12 . . . . . . . 8  |-  ( ph  ->  ( `' G "
( _V  \  { (/)
} ) )  C_  ( `' G " ( _V 
\  1o ) ) )
489, 47suppssr 5803 . . . . . . 7  |-  ( (
ph  /\  k  e.  ( B  \  ( `' G " ( _V 
\  1o ) ) ) )  ->  ( G `  k )  =  (/) )
4944, 48sylan2 461 . . . . . 6  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  ( G `  k )  =  (/) )
5032, 40, 493eqtrd 2423 . . . . 5  |-  ( (
ph  /\  k  e.  ( B  \  (
( `' G "
( _V  \  1o ) )  u.  { X } ) ) )  ->  ( F `  k )  =  (/) )
5114, 50suppss 5802 . . . 4  |-  ( ph  ->  ( `' F "
( _V  \  { (/)
} ) )  C_  ( ( `' G " ( _V  \  1o ) )  u.  { X } ) )
5221, 51syl5eqss 3335 . . 3  |-  ( ph  ->  ( `' F "
( _V  \  1o ) )  C_  (
( `' G "
( _V  \  1o ) )  u.  { X } ) )
53 ssfi 7265 . . 3  |-  ( ( ( ( `' G " ( _V  \  1o ) )  u.  { X } )  e.  Fin  /\  ( `' F "
( _V  \  1o ) )  C_  (
( `' G "
( _V  \  1o ) )  u.  { X } ) )  -> 
( `' F "
( _V  \  1o ) )  e.  Fin )
5418, 52, 53syl2anc 643 . 2  |-  ( ph  ->  ( `' F "
( _V  \  1o ) )  e.  Fin )
554, 5, 6cantnfs 7554 . 2  |-  ( ph  ->  ( F  e.  S  <->  ( F : B --> A  /\  ( `' F " ( _V 
\  1o ) )  e.  Fin ) ) )
5614, 54, 55mpbir2and 889 1  |-  ( ph  ->  F  e.  S )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 359    = wceq 1649    e. wcel 1717   _Vcvv 2899    \ cdif 3260    u. cun 3261    C_ wss 3263   (/)c0 3571   ifcif 3682   {csn 3757    e. cmpt 4207   Oncon0 4522   `'ccnv 4817   dom cdm 4818   "cima 4821   -->wf 5390   ` cfv 5394  (class class class)co 6020   1oc1o 6653   Fincfn 7045   CNF ccnf 7549
This theorem is referenced by:  cantnfp1lem2  7568  cantnfp1lem3  7569  cantnfp1  7570
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2368  ax-rep 4261  ax-sep 4271  ax-nul 4279  ax-pow 4318  ax-pr 4344  ax-un 4641
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2242  df-mo 2243  df-clab 2374  df-cleq 2380  df-clel 2383  df-nfc 2512  df-ne 2552  df-ral 2654  df-rex 2655  df-reu 2656  df-rmo 2657  df-rab 2658  df-v 2901  df-sbc 3105  df-csb 3195  df-dif 3266  df-un 3268  df-in 3270  df-ss 3277  df-pss 3279  df-nul 3572  df-if 3683  df-pw 3744  df-sn 3763  df-pr 3764  df-tp 3765  df-op 3766  df-uni 3958  df-int 3993  df-iun 4037  df-br 4154  df-opab 4208  df-mpt 4209  df-tr 4244  df-eprel 4435  df-id 4439  df-po 4444  df-so 4445  df-fr 4482  df-se 4483  df-we 4484  df-ord 4525  df-on 4526  df-lim 4527  df-suc 4528  df-om 4786  df-xp 4824  df-rel 4825  df-cnv 4826  df-co 4827  df-dm 4828  df-rn 4829  df-res 4830  df-ima 4831  df-iota 5358  df-fun 5396  df-fn 5397  df-f 5398  df-f1 5399  df-fo 5400  df-f1o 5401  df-fv 5402  df-isom 5403  df-ov 6023  df-oprab 6024  df-mpt2 6025  df-riota 6485  df-recs 6569  df-rdg 6604  df-seqom 6641  df-1o 6660  df-oadd 6664  df-er 6841  df-map 6956  df-en 7046  df-fin 7049  df-oi 7412  df-cnf 7550
  Copyright terms: Public domain W3C validator