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

Theorem ovmpt2df 6335
Description: Alternate deduction version of ovmpt2 6339, suitable for iteration. (Contributed by Mario Carneiro, 7-Jan-2017.)
Hypotheses
Ref Expression
ovmpt2df.1  |-  ( ph  ->  A  e.  C )
ovmpt2df.2  |-  ( (
ph  /\  x  =  A )  ->  B  e.  D )
ovmpt2df.3  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  R  e.  V )
ovmpt2df.4  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( ( A F B )  =  R  ->  ps ) )
ovmpt2df.5  |-  F/_ x F
ovmpt2df.6  |-  F/ x ps
ovmpt2df.7  |-  F/_ y F
ovmpt2df.8  |-  F/ y ps
Assertion
Ref Expression
ovmpt2df  |-  ( ph  ->  ( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
)
Distinct variable groups:    x, y, A    y, B    ph, x, y
Allowed substitution hints:    ps( x, y)    B( x)    C( x, y)    D( x, y)    R( x, y)    F( x, y)    V( x, y)

Proof of Theorem ovmpt2df
StepHypRef Expression
1 nfv 1674 . 2  |-  F/ x ph
2 ovmpt2df.5 . . . 4  |-  F/_ x F
3 nfmpt21 6265 . . . 4  |-  F/_ x
( x  e.  C ,  y  e.  D  |->  R )
42, 3nfeq 2627 . . 3  |-  F/ x  F  =  ( x  e.  C ,  y  e.  D  |->  R )
5 ovmpt2df.6 . . 3  |-  F/ x ps
64, 5nfim 1858 . 2  |-  F/ x
( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
7 ovmpt2df.1 . . . 4  |-  ( ph  ->  A  e.  C )
8 elex 3087 . . . 4  |-  ( A  e.  C  ->  A  e.  _V )
97, 8syl 16 . . 3  |-  ( ph  ->  A  e.  _V )
10 isset 3082 . . 3  |-  ( A  e.  _V  <->  E. x  x  =  A )
119, 10sylib 196 . 2  |-  ( ph  ->  E. x  x  =  A )
12 ovmpt2df.2 . . . . 5  |-  ( (
ph  /\  x  =  A )  ->  B  e.  D )
13 elex 3087 . . . . 5  |-  ( B  e.  D  ->  B  e.  _V )
1412, 13syl 16 . . . 4  |-  ( (
ph  /\  x  =  A )  ->  B  e.  _V )
15 isset 3082 . . . 4  |-  ( B  e.  _V  <->  E. y 
y  =  B )
1614, 15sylib 196 . . 3  |-  ( (
ph  /\  x  =  A )  ->  E. y 
y  =  B )
17 nfv 1674 . . . 4  |-  F/ y ( ph  /\  x  =  A )
18 ovmpt2df.7 . . . . . 6  |-  F/_ y F
19 nfmpt22 6266 . . . . . 6  |-  F/_ y
( x  e.  C ,  y  e.  D  |->  R )
2018, 19nfeq 2627 . . . . 5  |-  F/ y  F  =  ( x  e.  C ,  y  e.  D  |->  R )
21 ovmpt2df.8 . . . . 5  |-  F/ y ps
2220, 21nfim 1858 . . . 4  |-  F/ y ( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
23 oveq 6209 . . . . . 6  |-  ( F  =  ( x  e.  C ,  y  e.  D  |->  R )  -> 
( A F B )  =  ( A ( x  e.  C ,  y  e.  D  |->  R ) B ) )
24 simprl 755 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  x  =  A )
25 simprr 756 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
y  =  B )
2624, 25oveq12d 6221 . . . . . . . . 9  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  ( A ( x  e.  C ,  y  e.  D  |->  R ) B ) )
277adantr 465 . . . . . . . . . . 11  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  A  e.  C )
2824, 27eqeltrd 2542 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  x  e.  C )
2912adantrr 716 . . . . . . . . . . 11  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  B  e.  D )
3025, 29eqeltrd 2542 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
y  e.  D )
31 ovmpt2df.3 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  R  e.  V )
32 eqid 2454 . . . . . . . . . . 11  |-  ( x  e.  C ,  y  e.  D  |->  R )  =  ( x  e.  C ,  y  e.  D  |->  R )
3332ovmpt4g 6326 . . . . . . . . . 10  |-  ( ( x  e.  C  /\  y  e.  D  /\  R  e.  V )  ->  ( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )
3428, 30, 31, 33syl3anc 1219 . . . . . . . . 9  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )
3526, 34eqtr3d 2497 . . . . . . . 8  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  R )
3635eqeq2d 2468 . . . . . . 7  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( ( A F B )  =  ( A ( x  e.  C ,  y  e.  D  |->  R ) B )  <->  ( A F B )  =  R ) )
37 ovmpt2df.4 . . . . . . 7  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( ( A F B )  =  R  ->  ps ) )
3836, 37sylbid 215 . . . . . 6  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( ( A F B )  =  ( A ( x  e.  C ,  y  e.  D  |->  R ) B )  ->  ps )
)
3923, 38syl5 32 . . . . 5  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
)
4039expr 615 . . . 4  |-  ( (
ph  /\  x  =  A )  ->  (
y  =  B  -> 
( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
) )
4117, 22, 40exlimd 1852 . . 3  |-  ( (
ph  /\  x  =  A )  ->  ( E. y  y  =  B  ->  ( F  =  ( x  e.  C ,  y  e.  D  |->  R )  ->  ps ) ) )
4216, 41mpd 15 . 2  |-  ( (
ph  /\  x  =  A )  ->  ( F  =  ( x  e.  C ,  y  e.  D  |->  R )  ->  ps ) )
431, 6, 11, 42exlimdd 1920 1  |-  ( ph  ->  ( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
)
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1370   E.wex 1587   F/wnf 1590    e. wcel 1758   F/_wnfc 2602   _Vcvv 3078  (class class class)co 6203    |-> cmpt2 6205
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4524  ax-nul 4532  ax-pr 4642
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-rab 2808  df-v 3080  df-sbc 3295  df-dif 3442  df-un 3444  df-in 3446  df-ss 3453  df-nul 3749  df-if 3903  df-sn 3989  df-pr 3991  df-op 3995  df-uni 4203  df-br 4404  df-opab 4462  df-id 4747  df-xp 4957  df-rel 4958  df-cnv 4959  df-co 4960  df-dm 4961  df-iota 5492  df-fun 5531  df-fv 5537  df-ov 6206  df-oprab 6207  df-mpt2 6208
This theorem is referenced by:  ovmpt2dv  6336  ovmpt2dv2  6337
  Copyright terms: Public domain W3C validator