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

Theorem cantnfp1 7383
Description: If  F is created by adding a single term  ( F `
 X )  =  Y to  G, where  X is larger than any element of the support of  G, then  F is also a finitely supported function and it is assigned the value  ( ( A  ^o  X )  .o  Y
)  +o  z where  z is the value of  G. (Contributed by Mario Carneiro, 28-May-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
cantnfp1  |-  ( ph  ->  ( F  e.  S  /\  ( ( A CNF  B
) `  F )  =  ( ( ( A  ^o  X )  .o  Y )  +o  ( ( A CNF  B
) `  G )
) ) )
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 cantnfp1
Dummy variables  k 
z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cantnfp1.f . . . . . 6  |-  F  =  ( t  e.  B  |->  if ( t  =  X ,  Y , 
( G `  t
) ) )
2 eqeq1 2289 . . . . . . . 8  |-  ( Y  =  if ( t  =  X ,  Y ,  ( G `  t ) )  -> 
( Y  =  ( G `  t )  <-> 
if ( t  =  X ,  Y , 
( G `  t
) )  =  ( G `  t ) ) )
3 eqeq1 2289 . . . . . . . 8  |-  ( ( G `  t )  =  if ( t  =  X ,  Y ,  ( G `  t ) )  -> 
( ( G `  t )  =  ( G `  t )  <-> 
if ( t  =  X ,  Y , 
( G `  t
) )  =  ( G `  t ) ) )
4 cantnfs.3 . . . . . . . . . . . . 13  |-  ( ph  ->  B  e.  On )
5 cantnfp1.5 . . . . . . . . . . . . 13  |-  ( ph  ->  X  e.  B )
6 onelon 4417 . . . . . . . . . . . . 13  |-  ( ( B  e.  On  /\  X  e.  B )  ->  X  e.  On )
74, 5, 6syl2anc 642 . . . . . . . . . . . 12  |-  ( ph  ->  X  e.  On )
8 eloni 4402 . . . . . . . . . . . 12  |-  ( X  e.  On  ->  Ord  X )
9 ordirr 4410 . . . . . . . . . . . 12  |-  ( Ord 
X  ->  -.  X  e.  X )
107, 8, 93syl 18 . . . . . . . . . . 11  |-  ( ph  ->  -.  X  e.  X
)
11 fvex 5539 . . . . . . . . . . . . . 14  |-  ( G `
 X )  e. 
_V
12 dif1o 6499 . . . . . . . . . . . . . 14  |-  ( ( G `  X )  e.  ( _V  \  1o )  <->  ( ( G `
 X )  e. 
_V  /\  ( G `  X )  =/=  (/) ) )
1311, 12mpbiran 884 . . . . . . . . . . . . 13  |-  ( ( G `  X )  e.  ( _V  \  1o )  <->  ( G `  X )  =/=  (/) )
14 cantnfp1.4 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  G  e.  S )
15 cantnfs.1 . . . . . . . . . . . . . . . . . . 19  |-  S  =  dom  ( A CNF  B
)
16 cantnfs.2 . . . . . . . . . . . . . . . . . . 19  |-  ( ph  ->  A  e.  On )
1715, 16, 4cantnfs 7367 . . . . . . . . . . . . . . . . . 18  |-  ( ph  ->  ( G  e.  S  <->  ( G : B --> A  /\  ( `' G " ( _V 
\  1o ) )  e.  Fin ) ) )
1814, 17mpbid 201 . . . . . . . . . . . . . . . . 17  |-  ( ph  ->  ( G : B --> A  /\  ( `' G " ( _V  \  1o ) )  e.  Fin ) )
1918simpld 445 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  G : B --> A )
20 ffn 5389 . . . . . . . . . . . . . . . 16  |-  ( G : B --> A  ->  G  Fn  B )
21 elpreima 5645 . . . . . . . . . . . . . . . 16  |-  ( G  Fn  B  ->  ( X  e.  ( `' G " ( _V  \  1o ) )  <->  ( X  e.  B  /\  ( G `  X )  e.  ( _V  \  1o ) ) ) )
2219, 20, 213syl 18 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( X  e.  ( `' G " ( _V 
\  1o ) )  <-> 
( X  e.  B  /\  ( G `  X
)  e.  ( _V 
\  1o ) ) ) )
23 cantnfp1.7 . . . . . . . . . . . . . . . 16  |-  ( ph  ->  ( `' G "
( _V  \  1o ) )  C_  X
)
2423sseld 3179 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( X  e.  ( `' G " ( _V 
\  1o ) )  ->  X  e.  X
) )
2522, 24sylbird 226 . . . . . . . . . . . . . 14  |-  ( ph  ->  ( ( X  e.  B  /\  ( G `
 X )  e.  ( _V  \  1o ) )  ->  X  e.  X ) )
265, 25mpand 656 . . . . . . . . . . . . 13  |-  ( ph  ->  ( ( G `  X )  e.  ( _V  \  1o )  ->  X  e.  X
) )
2713, 26syl5bir 209 . . . . . . . . . . . 12  |-  ( ph  ->  ( ( G `  X )  =/=  (/)  ->  X  e.  X ) )
2827necon1bd 2514 . . . . . . . . . . 11  |-  ( ph  ->  ( -.  X  e.  X  ->  ( G `  X )  =  (/) ) )
2910, 28mpd 14 . . . . . . . . . 10  |-  ( ph  ->  ( G `  X
)  =  (/) )
3029ad3antrrr 710 . . . . . . . . 9  |-  ( ( ( ( ph  /\  Y  =  (/) )  /\  t  e.  B )  /\  t  =  X
)  ->  ( G `  X )  =  (/) )
31 simpr 447 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  Y  =  (/) )  /\  t  e.  B )  /\  t  =  X
)  ->  t  =  X )
3231fveq2d 5529 . . . . . . . . 9  |-  ( ( ( ( ph  /\  Y  =  (/) )  /\  t  e.  B )  /\  t  =  X
)  ->  ( G `  t )  =  ( G `  X ) )
33 simpllr 735 . . . . . . . . 9  |-  ( ( ( ( ph  /\  Y  =  (/) )  /\  t  e.  B )  /\  t  =  X
)  ->  Y  =  (/) )
3430, 32, 333eqtr4rd 2326 . . . . . . . 8  |-  ( ( ( ( ph  /\  Y  =  (/) )  /\  t  e.  B )  /\  t  =  X
)  ->  Y  =  ( G `  t ) )
35 eqidd 2284 . . . . . . . 8  |-  ( ( ( ( ph  /\  Y  =  (/) )  /\  t  e.  B )  /\  -.  t  =  X )  ->  ( G `  t )  =  ( G `  t ) )
362, 3, 34, 35ifbothda 3595 . . . . . . 7  |-  ( ( ( ph  /\  Y  =  (/) )  /\  t  e.  B )  ->  if ( t  =  X ,  Y ,  ( G `  t ) )  =  ( G `
 t ) )
3736mpteq2dva 4106 . . . . . 6  |-  ( (
ph  /\  Y  =  (/) )  ->  ( t  e.  B  |->  if ( t  =  X ,  Y ,  ( G `  t ) ) )  =  ( t  e.  B  |->  ( G `  t ) ) )
381, 37syl5eq 2327 . . . . 5  |-  ( (
ph  /\  Y  =  (/) )  ->  F  =  ( t  e.  B  |->  ( G `  t
) ) )
3919feqmptd 5575 . . . . . 6  |-  ( ph  ->  G  =  ( t  e.  B  |->  ( G `
 t ) ) )
4039adantr 451 . . . . 5  |-  ( (
ph  /\  Y  =  (/) )  ->  G  =  ( t  e.  B  |->  ( G `  t
) ) )
4138, 40eqtr4d 2318 . . . 4  |-  ( (
ph  /\  Y  =  (/) )  ->  F  =  G )
4214adantr 451 . . . 4  |-  ( (
ph  /\  Y  =  (/) )  ->  G  e.  S )
4341, 42eqeltrd 2357 . . 3  |-  ( (
ph  /\  Y  =  (/) )  ->  F  e.  S )
44 oecl 6536 . . . . . . . 8  |-  ( ( A  e.  On  /\  B  e.  On )  ->  ( A  ^o  B
)  e.  On )
4516, 4, 44syl2anc 642 . . . . . . 7  |-  ( ph  ->  ( A  ^o  B
)  e.  On )
4615, 16, 4cantnff 7375 . . . . . . . 8  |-  ( ph  ->  ( A CNF  B ) : S --> ( A  ^o  B ) )
47 ffvelrn 5663 . . . . . . . 8  |-  ( ( ( A CNF  B ) : S --> ( A  ^o  B )  /\  G  e.  S )  ->  ( ( A CNF  B
) `  G )  e.  ( A  ^o  B
) )
4846, 14, 47syl2anc 642 . . . . . . 7  |-  ( ph  ->  ( ( A CNF  B
) `  G )  e.  ( A  ^o  B
) )
49 onelon 4417 . . . . . . 7  |-  ( ( ( A  ^o  B
)  e.  On  /\  ( ( A CNF  B
) `  G )  e.  ( A  ^o  B
) )  ->  (
( A CNF  B ) `
 G )  e.  On )
5045, 48, 49syl2anc 642 . . . . . 6  |-  ( ph  ->  ( ( A CNF  B
) `  G )  e.  On )
5150adantr 451 . . . . 5  |-  ( (
ph  /\  Y  =  (/) )  ->  ( ( A CNF  B ) `  G
)  e.  On )
52 oa0r 6537 . . . . 5  |-  ( ( ( A CNF  B ) `
 G )  e.  On  ->  ( (/)  +o  (
( A CNF  B ) `
 G ) )  =  ( ( A CNF 
B ) `  G
) )
5351, 52syl 15 . . . 4  |-  ( (
ph  /\  Y  =  (/) )  ->  ( (/)  +o  (
( A CNF  B ) `
 G ) )  =  ( ( A CNF 
B ) `  G
) )
54 oveq2 5866 . . . . . 6  |-  ( Y  =  (/)  ->  ( ( A  ^o  X )  .o  Y )  =  ( ( A  ^o  X )  .o  (/) ) )
55 oecl 6536 . . . . . . . 8  |-  ( ( A  e.  On  /\  X  e.  On )  ->  ( A  ^o  X
)  e.  On )
5616, 7, 55syl2anc 642 . . . . . . 7  |-  ( ph  ->  ( A  ^o  X
)  e.  On )
57 om0 6516 . . . . . . 7  |-  ( ( A  ^o  X )  e.  On  ->  (
( A  ^o  X
)  .o  (/) )  =  (/) )
5856, 57syl 15 . . . . . 6  |-  ( ph  ->  ( ( A  ^o  X )  .o  (/) )  =  (/) )
5954, 58sylan9eqr 2337 . . . . 5  |-  ( (
ph  /\  Y  =  (/) )  ->  ( ( A  ^o  X )  .o  Y )  =  (/) )
6059oveq1d 5873 . . . 4  |-  ( (
ph  /\  Y  =  (/) )  ->  ( (
( A  ^o  X
)  .o  Y )  +o  ( ( A CNF 
B ) `  G
) )  =  (
(/)  +o  ( ( A CNF  B ) `  G
) ) )
6141fveq2d 5529 . . . 4  |-  ( (
ph  /\  Y  =  (/) )  ->  ( ( A CNF  B ) `  F
)  =  ( ( A CNF  B ) `  G ) )
6253, 60, 613eqtr4rd 2326 . . 3  |-  ( (
ph  /\  Y  =  (/) )  ->  ( ( A CNF  B ) `  F
)  =  ( ( ( A  ^o  X
)  .o  Y )  +o  ( ( A CNF 
B ) `  G
) ) )
6343, 62jca 518 . 2  |-  ( (
ph  /\  Y  =  (/) )  ->  ( F  e.  S  /\  (
( A CNF  B ) `
 F )  =  ( ( ( A  ^o  X )  .o  Y )  +o  (
( A CNF  B ) `
 G ) ) ) )
6416adantr 451 . . . 4  |-  ( (
ph  /\  Y  =/=  (/) )  ->  A  e.  On )
654adantr 451 . . . 4  |-  ( (
ph  /\  Y  =/=  (/) )  ->  B  e.  On )
6614adantr 451 . . . 4  |-  ( (
ph  /\  Y  =/=  (/) )  ->  G  e.  S )
675adantr 451 . . . 4  |-  ( (
ph  /\  Y  =/=  (/) )  ->  X  e.  B )
68 cantnfp1.6 . . . . 5  |-  ( ph  ->  Y  e.  A )
6968adantr 451 . . . 4  |-  ( (
ph  /\  Y  =/=  (/) )  ->  Y  e.  A )
7023adantr 451 . . . 4  |-  ( (
ph  /\  Y  =/=  (/) )  ->  ( `' G " ( _V  \  1o ) )  C_  X
)
7115, 64, 65, 66, 67, 69, 70, 1cantnfp1lem1 7380 . . 3  |-  ( (
ph  /\  Y  =/=  (/) )  ->  F  e.  S )
72 onelon 4417 . . . . . . 7  |-  ( ( A  e.  On  /\  Y  e.  A )  ->  Y  e.  On )
7316, 68, 72syl2anc 642 . . . . . 6  |-  ( ph  ->  Y  e.  On )
74 on0eln0 4447 . . . . . 6  |-  ( Y  e.  On  ->  ( (/) 
e.  Y  <->  Y  =/=  (/) ) )
7573, 74syl 15 . . . . 5  |-  ( ph  ->  ( (/)  e.  Y  <->  Y  =/=  (/) ) )
7675biimpar 471 . . . 4  |-  ( (
ph  /\  Y  =/=  (/) )  ->  (/)  e.  Y
)
77 eqid 2283 . . . 4  |- OrdIso (  _E  ,  ( `' F " ( _V  \  1o ) ) )  = OrdIso
(  _E  ,  ( `' F " ( _V 
\  1o ) ) )
78 eqid 2283 . . . 4  |- seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  (OrdIso (  _E  ,  ( `' F " ( _V  \  1o ) ) ) `  k ) )  .o  ( F `  (OrdIso (  _E  ,  ( `' F " ( _V 
\  1o ) ) ) `  k ) ) )  +o  z
) ) ,  (/) )  = seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  (OrdIso (  _E  ,  ( `' F " ( _V  \  1o ) ) ) `  k ) )  .o  ( F `  (OrdIso (  _E  ,  ( `' F " ( _V 
\  1o ) ) ) `  k ) ) )  +o  z
) ) ,  (/) )
79 eqid 2283 . . . 4  |- OrdIso (  _E  ,  ( `' G " ( _V  \  1o ) ) )  = OrdIso
(  _E  ,  ( `' G " ( _V 
\  1o ) ) )
80 eqid 2283 . . . 4  |- seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  (OrdIso (  _E  ,  ( `' G " ( _V  \  1o ) ) ) `  k ) )  .o  ( G `  (OrdIso (  _E  ,  ( `' G " ( _V 
\  1o ) ) ) `  k ) ) )  +o  z
) ) ,  (/) )  = seq𝜔 ( ( k  e. 
_V ,  z  e. 
_V  |->  ( ( ( A  ^o  (OrdIso (  _E  ,  ( `' G " ( _V  \  1o ) ) ) `  k ) )  .o  ( G `  (OrdIso (  _E  ,  ( `' G " ( _V 
\  1o ) ) ) `  k ) ) )  +o  z
) ) ,  (/) )
8115, 64, 65, 66, 67, 69, 70, 1, 76, 77, 78, 79, 80cantnfp1lem3 7382 . . 3  |-  ( (
ph  /\  Y  =/=  (/) )  ->  ( ( A CNF  B ) `  F
)  =  ( ( ( A  ^o  X
)  .o  Y )  +o  ( ( A CNF 
B ) `  G
) ) )
8271, 81jca 518 . 2  |-  ( (
ph  /\  Y  =/=  (/) )  ->  ( F  e.  S  /\  (
( A CNF  B ) `
 F )  =  ( ( ( A  ^o  X )  .o  Y )  +o  (
( A CNF  B ) `
 G ) ) ) )
8363, 82pm2.61dane 2524 1  |-  ( ph  ->  ( F  e.  S  /\  ( ( A CNF  B
) `  F )  =  ( ( ( A  ^o  X )  .o  Y )  +o  ( ( A CNF  B
) `  G )
) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684    =/= wne 2446   _Vcvv 2788    \ cdif 3149    C_ wss 3152   (/)c0 3455   ifcif 3565    e. cmpt 4077    _E cep 4303   Ord word 4391   Oncon0 4392   `'ccnv 4688   dom cdm 4689   "cima 4692    Fn wfn 5250   -->wf 5251   ` cfv 5255  (class class class)co 5858    e. cmpt2 5860  seq𝜔cseqom 6459   1oc1o 6472    +o coa 6476    .o comu 6477    ^o coe 6478   Fincfn 6863  OrdIsocoi 7224   CNF ccnf 7362
This theorem is referenced by:  cantnflem1d  7390  cantnflem1  7391  cantnflem3  7393
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-pss 3168  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-tp 3648  df-op 3649  df-uni 3828  df-int 3863  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-tr 4114  df-eprel 4305  df-id 4309  df-po 4314  df-so 4315  df-fr 4352  df-se 4353  df-we 4354  df-ord 4395  df-on 4396  df-lim 4397  df-suc 4398  df-om 4657  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-isom 5264  df-ov 5861  df-oprab 5862  df-mpt2 5863  df-1st 6122  df-2nd 6123  df-riota 6304  df-recs 6388  df-rdg 6423  df-seqom 6460  df-1o 6479  df-2o 6480  df-oadd 6483  df-omul 6484  df-oexp 6485  df-er 6660  df-map 6774  df-en 6864  df-dom 6865  df-sdom 6866  df-fin 6867  df-oi 7225  df-cnf 7363
  Copyright terms: Public domain W3C validator