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

Theorem tfrlem5 7109
Description: Lemma for transfinite recursion. The values of two acceptable functions are the same within their domains. (Contributed by NM, 9-Apr-1995.) (Revised by Mario Carneiro, 24-May-2019.)
Hypothesis
Ref Expression
tfrlem.1  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
Assertion
Ref Expression
tfrlem5  |-  ( ( g  e.  A  /\  h  e.  A )  ->  ( ( x g u  /\  x h v )  ->  u  =  v ) )
Distinct variable groups:    f, g, x, y, h, u, v, F    A, g, h
Allowed substitution hints:    A( x, y, v, u, f)

Proof of Theorem tfrlem5
Dummy variables  z 
a  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 tfrlem.1 . . 3  |-  A  =  { f  |  E. x  e.  On  (
f  Fn  x  /\  A. y  e.  x  ( f `  y )  =  ( F `  ( f  |`  y
) ) ) }
2 vex 3083 . . 3  |-  g  e. 
_V
31, 2tfrlem3a 7106 . 2  |-  ( g  e.  A  <->  E. z  e.  On  ( g  Fn  z  /\  A. a  e.  z  ( g `  a )  =  ( F `  ( g  |`  a ) ) ) )
4 vex 3083 . . 3  |-  h  e. 
_V
51, 4tfrlem3a 7106 . 2  |-  ( h  e.  A  <->  E. w  e.  On  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )
6 reeanv 2993 . . 3  |-  ( E. z  e.  On  E. w  e.  On  (
( g  Fn  z  /\  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )  <->  ( E. z  e.  On  ( g  Fn  z  /\  A. a  e.  z  ( g `  a )  =  ( F `  ( g  |`  a ) ) )  /\  E. w  e.  On  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) ) )
7 simp2ll 1072 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  g  Fn  z
)
8 simp3l 1033 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x g u )
9 fnbr 5696 . . . . . . . . 9  |-  ( ( g  Fn  z  /\  x g u )  ->  x  e.  z )
107, 8, 9syl2anc 665 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x  e.  z )
11 simp2rl 1074 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  h  Fn  w
)
12 simp3r 1034 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x h v )
13 fnbr 5696 . . . . . . . . 9  |-  ( ( h  Fn  w  /\  x h v )  ->  x  e.  w
)
1411, 12, 13syl2anc 665 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x  e.  w
)
1510, 14elind 3650 . . . . . . 7  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  x  e.  ( z  i^i  w ) )
16 onin 5473 . . . . . . . . 9  |-  ( ( z  e.  On  /\  w  e.  On )  ->  ( z  i^i  w
)  e.  On )
17163ad2ant1 1026 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( z  i^i  w )  e.  On )
18 fnfun 5691 . . . . . . . . . 10  |-  ( g  Fn  z  ->  Fun  g )
197, 18syl 17 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  Fun  g )
20 inss1 3682 . . . . . . . . . 10  |-  ( z  i^i  w )  C_  z
21 fndm 5693 . . . . . . . . . . 11  |-  ( g  Fn  z  ->  dom  g  =  z )
227, 21syl 17 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  dom  g  =  z )
2320, 22syl5sseqr 3513 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( z  i^i  w )  C_  dom  g )
2419, 23jca 534 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( Fun  g  /\  ( z  i^i  w
)  C_  dom  g ) )
25 fnfun 5691 . . . . . . . . . 10  |-  ( h  Fn  w  ->  Fun  h )
2611, 25syl 17 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  Fun  h )
27 inss2 3683 . . . . . . . . . 10  |-  ( z  i^i  w )  C_  w
28 fndm 5693 . . . . . . . . . . 11  |-  ( h  Fn  w  ->  dom  h  =  w )
2911, 28syl 17 . . . . . . . . . 10  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  dom  h  =  w )
3027, 29syl5sseqr 3513 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( z  i^i  w )  C_  dom  h )
3126, 30jca 534 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( Fun  h  /\  ( z  i^i  w
)  C_  dom  h ) )
32 simp2lr 1073 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )
33 ssralv 3525 . . . . . . . . 9  |-  ( ( z  i^i  w ) 
C_  z  ->  ( A. a  e.  z 
( g `  a
)  =  ( F `
 ( g  |`  a ) )  ->  A. a  e.  (
z  i^i  w )
( g `  a
)  =  ( F `
 ( g  |`  a ) ) ) )
3420, 32, 33mpsyl 65 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  ( z  i^i  w ) ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )
35 simp2rr 1075 . . . . . . . . 9  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) )
36 ssralv 3525 . . . . . . . . 9  |-  ( ( z  i^i  w ) 
C_  w  ->  ( A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) )  ->  A. a  e.  (
z  i^i  w )
( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )
3727, 35, 36mpsyl 65 . . . . . . . 8  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  ( z  i^i  w ) ( h `  a
)  =  ( F `
 ( h  |`  a ) ) )
3817, 24, 31, 34, 37tfrlem1 7105 . . . . . . 7  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  A. a  e.  ( z  i^i  w ) ( g `  a
)  =  ( h `
 a ) )
39 fveq2 5881 . . . . . . . . 9  |-  ( a  =  x  ->  (
g `  a )  =  ( g `  x ) )
40 fveq2 5881 . . . . . . . . 9  |-  ( a  =  x  ->  (
h `  a )  =  ( h `  x ) )
4139, 40eqeq12d 2444 . . . . . . . 8  |-  ( a  =  x  ->  (
( g `  a
)  =  ( h `
 a )  <->  ( g `  x )  =  ( h `  x ) ) )
4241rspcv 3178 . . . . . . 7  |-  ( x  e.  ( z  i^i  w )  ->  ( A. a  e.  (
z  i^i  w )
( g `  a
)  =  ( h `
 a )  -> 
( g `  x
)  =  ( h `
 x ) ) )
4315, 38, 42sylc 62 . . . . . 6  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( g `  x )  =  ( h `  x ) )
44 funbrfv 5919 . . . . . . 7  |-  ( Fun  g  ->  ( x
g u  ->  (
g `  x )  =  u ) )
4519, 8, 44sylc 62 . . . . . 6  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( g `  x )  =  u )
46 funbrfv 5919 . . . . . . 7  |-  ( Fun  h  ->  ( x h v  ->  (
h `  x )  =  v ) )
4726, 12, 46sylc 62 . . . . . 6  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  ( h `  x )  =  v )
4843, 45, 473eqtr3d 2471 . . . . 5  |-  ( ( ( z  e.  On  /\  w  e.  On )  /\  ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  /\  ( x g u  /\  x h v ) )  ->  u  =  v )
49483exp 1204 . . . 4  |-  ( ( z  e.  On  /\  w  e.  On )  ->  ( ( ( g  Fn  z  /\  A. a  e.  z  (
g `  a )  =  ( F `  ( g  |`  a
) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a
)  =  ( F `
 ( h  |`  a ) ) ) )  ->  ( (
x g u  /\  x h v )  ->  u  =  v ) ) )
5049rexlimivv 2919 . . 3  |-  ( E. z  e.  On  E. w  e.  On  (
( g  Fn  z  /\  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )  /\  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )  ->  ( (
x g u  /\  x h v )  ->  u  =  v ) )
516, 50sylbir 216 . 2  |-  ( ( E. z  e.  On  ( g  Fn  z  /\  A. a  e.  z  ( g `  a
)  =  ( F `
 ( g  |`  a ) ) )  /\  E. w  e.  On  ( h  Fn  w  /\  A. a  e.  w  ( h `  a )  =  ( F `  ( h  |`  a ) ) ) )  ->  ( (
x g u  /\  x h v )  ->  u  =  v ) )
523, 5, 51syl2anb 481 1  |-  ( ( g  e.  A  /\  h  e.  A )  ->  ( ( x g u  /\  x h v )  ->  u  =  v ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 370    /\ w3a 982    = wceq 1437    e. wcel 1872   {cab 2407   A.wral 2771   E.wrex 2772    i^i cin 3435    C_ wss 3436   class class class wbr 4423   dom cdm 4853    |` cres 4855   Oncon0 5442   Fun wfun 5595    Fn wfn 5596   ` cfv 5601
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1663  ax-4 1676  ax-5 1752  ax-6 1798  ax-7 1843  ax-8 1874  ax-9 1876  ax-10 1891  ax-11 1896  ax-12 1909  ax-13 2057  ax-ext 2401  ax-sep 4546  ax-nul 4555  ax-pow 4602  ax-pr 4660  ax-un 6597
This theorem depends on definitions:  df-bi 188  df-or 371  df-an 372  df-3or 983  df-3an 984  df-tru 1440  df-ex 1658  df-nf 1662  df-sb 1791  df-eu 2273  df-mo 2274  df-clab 2408  df-cleq 2414  df-clel 2417  df-nfc 2568  df-ne 2616  df-ral 2776  df-rex 2777  df-rab 2780  df-v 3082  df-sbc 3300  df-csb 3396  df-dif 3439  df-un 3441  df-in 3443  df-ss 3450  df-pss 3452  df-nul 3762  df-if 3912  df-sn 3999  df-pr 4001  df-tp 4003  df-op 4005  df-uni 4220  df-br 4424  df-opab 4483  df-mpt 4484  df-tr 4519  df-eprel 4764  df-id 4768  df-po 4774  df-so 4775  df-fr 4812  df-we 4814  df-xp 4859  df-rel 4860  df-cnv 4861  df-co 4862  df-dm 4863  df-rn 4864  df-res 4865  df-ima 4866  df-ord 5445  df-on 5446  df-iota 5565  df-fun 5603  df-fn 5604  df-fv 5609
This theorem is referenced by:  tfrlem7  7112
  Copyright terms: Public domain W3C validator