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

Theorem ovmpt2df 6217
Description: Alternate deduction version of ovmpt2 6221, 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 1673 . 2  |-  F/ x ph
2 ovmpt2df.5 . . . 4  |-  F/_ x F
3 nfmpt21 6148 . . . 4  |-  F/_ x
( x  e.  C ,  y  e.  D  |->  R )
42, 3nfeq 2581 . . 3  |-  F/ x  F  =  ( x  e.  C ,  y  e.  D  |->  R )
5 ovmpt2df.6 . . 3  |-  F/ x ps
64, 5nfim 1852 . 2  |-  F/ x
( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
7 ovmpt2df.1 . . . 4  |-  ( ph  ->  A  e.  C )
8 elex 2976 . . . 4  |-  ( A  e.  C  ->  A  e.  _V )
97, 8syl 16 . . 3  |-  ( ph  ->  A  e.  _V )
10 isset 2971 . . 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 2976 . . . . 5  |-  ( B  e.  D  ->  B  e.  _V )
1412, 13syl 16 . . . 4  |-  ( (
ph  /\  x  =  A )  ->  B  e.  _V )
15 isset 2971 . . . 4  |-  ( B  e.  _V  <->  E. y 
y  =  B )
1614, 15sylib 196 . . 3  |-  ( (
ph  /\  x  =  A )  ->  E. y 
y  =  B )
17 nfv 1673 . . . 4  |-  F/ y ( ph  /\  x  =  A )
18 ovmpt2df.7 . . . . . 6  |-  F/_ y F
19 nfmpt22 6149 . . . . . 6  |-  F/_ y
( x  e.  C ,  y  e.  D  |->  R )
2018, 19nfeq 2581 . . . . 5  |-  F/ y  F  =  ( x  e.  C ,  y  e.  D  |->  R )
21 ovmpt2df.8 . . . . 5  |-  F/ y ps
2220, 21nfim 1852 . . . 4  |-  F/ y ( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
23 oveq 6092 . . . . . 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 6104 . . . . . . . . 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 2512 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  x  e.  C )
2912adantrr 716 . . . . . . . . . . 11  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  B  e.  D )
3025, 29eqeltrd 2512 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
y  e.  D )
31 ovmpt2df.3 . . . . . . . . . 10  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  R  e.  V )
32 eqid 2438 . . . . . . . . . . 11  |-  ( x  e.  C ,  y  e.  D  |->  R )  =  ( x  e.  C ,  y  e.  D  |->  R )
3332ovmpt4g 6208 . . . . . . . . . 10  |-  ( ( x  e.  C  /\  y  e.  D  /\  R  e.  V )  ->  ( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )
3428, 30, 31, 33syl3anc 1218 . . . . . . . . 9  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )
3526, 34eqtr3d 2472 . . . . . . . 8  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  -> 
( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  R )
3635eqeq2d 2449 . . . . . . 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 1846 . . 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 1907 1  |-  ( ph  ->  ( F  =  ( x  e.  C , 
y  e.  D  |->  R )  ->  ps )
)
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    = wceq 1369   E.wex 1586   F/wnf 1589    e. wcel 1756   F/_wnfc 2561   _Vcvv 2967  (class class class)co 6086    e. cmpt2 6088
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2419  ax-sep 4408  ax-nul 4416  ax-pr 4526
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2256  df-mo 2257  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2715  df-rex 2716  df-rab 2719  df-v 2969  df-sbc 3182  df-dif 3326  df-un 3328  df-in 3330  df-ss 3337  df-nul 3633  df-if 3787  df-sn 3873  df-pr 3875  df-op 3879  df-uni 4087  df-br 4288  df-opab 4346  df-id 4631  df-xp 4841  df-rel 4842  df-cnv 4843  df-co 4844  df-dm 4845  df-iota 5376  df-fun 5415  df-fv 5421  df-ov 6089  df-oprab 6090  df-mpt2 6091
This theorem is referenced by:  ovmpt2dv  6218  ovmpt2dv2  6219
  Copyright terms: Public domain W3C validator