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

Theorem fvmptt 5804
Description: Closed theorem form of fvmpt 5789. (Contributed by Scott Fenton, 21-Feb-2013.) (Revised by Mario Carneiro, 11-Sep-2015.)
Assertion
Ref Expression
fvmptt  |-  ( ( A. x ( x  =  A  ->  B  =  C )  /\  F  =  ( x  e.  D  |->  B )  /\  ( A  e.  D  /\  C  e.  V
) )  ->  ( F `  A )  =  C )
Distinct variable groups:    x, A    x, C    x, D
Allowed substitution hints:    B( x)    F( x)    V( x)

Proof of Theorem fvmptt
StepHypRef Expression
1 simp2 989 . . 3  |-  ( ( A. x ( x  =  A  ->  B  =  C )  /\  F  =  ( x  e.  D  |->  B )  /\  ( A  e.  D  /\  C  e.  V
) )  ->  F  =  ( x  e.  D  |->  B ) )
21fveq1d 5708 . 2  |-  ( ( A. x ( x  =  A  ->  B  =  C )  /\  F  =  ( x  e.  D  |->  B )  /\  ( A  e.  D  /\  C  e.  V
) )  ->  ( F `  A )  =  ( ( x  e.  D  |->  B ) `
 A ) )
3 risset 2778 . . . . 5  |-  ( A  e.  D  <->  E. x  e.  D  x  =  A )
4 elex 2996 . . . . . 6  |-  ( C  e.  V  ->  C  e.  _V )
5 nfa1 1831 . . . . . . 7  |-  F/ x A. x ( x  =  A  ->  B  =  C )
6 nfv 1673 . . . . . . . 8  |-  F/ x  C  e.  _V
7 nffvmpt1 5714 . . . . . . . . 9  |-  F/_ x
( ( x  e.  D  |->  B ) `  A )
87nfeq1 2603 . . . . . . . 8  |-  F/ x
( ( x  e.  D  |->  B ) `  A )  =  C
96, 8nfim 1853 . . . . . . 7  |-  F/ x
( C  e.  _V  ->  ( ( x  e.  D  |->  B ) `  A )  =  C )
10 simprl 755 . . . . . . . . . . . . 13  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  ->  x  e.  D )
11 simplr 754 . . . . . . . . . . . . . 14  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  ->  B  =  C )
12 simprr 756 . . . . . . . . . . . . . 14  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  ->  C  e.  _V )
1311, 12eqeltrd 2517 . . . . . . . . . . . . 13  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  ->  B  e.  _V )
14 eqid 2443 . . . . . . . . . . . . . 14  |-  ( x  e.  D  |->  B )  =  ( x  e.  D  |->  B )
1514fvmpt2 5796 . . . . . . . . . . . . 13  |-  ( ( x  e.  D  /\  B  e.  _V )  ->  ( ( x  e.  D  |->  B ) `  x )  =  B )
1610, 13, 15syl2anc 661 . . . . . . . . . . . 12  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  -> 
( ( x  e.  D  |->  B ) `  x )  =  B )
17 simpll 753 . . . . . . . . . . . . 13  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  ->  x  =  A )
1817fveq2d 5710 . . . . . . . . . . . 12  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  -> 
( ( x  e.  D  |->  B ) `  x )  =  ( ( x  e.  D  |->  B ) `  A
) )
1916, 18, 113eqtr3d 2483 . . . . . . . . . . 11  |-  ( ( ( x  =  A  /\  B  =  C )  /\  ( x  e.  D  /\  C  e.  _V ) )  -> 
( ( x  e.  D  |->  B ) `  A )  =  C )
2019exp43 612 . . . . . . . . . 10  |-  ( x  =  A  ->  ( B  =  C  ->  ( x  e.  D  -> 
( C  e.  _V  ->  ( ( x  e.  D  |->  B ) `  A )  =  C ) ) ) )
2120a2i 13 . . . . . . . . 9  |-  ( ( x  =  A  ->  B  =  C )  ->  ( x  =  A  ->  ( x  e.  D  ->  ( C  e.  _V  ->  ( (
x  e.  D  |->  B ) `  A )  =  C ) ) ) )
2221com23 78 . . . . . . . 8  |-  ( ( x  =  A  ->  B  =  C )  ->  ( x  e.  D  ->  ( x  =  A  ->  ( C  e. 
_V  ->  ( ( x  e.  D  |->  B ) `
 A )  =  C ) ) ) )
2322sps 1800 . . . . . . 7  |-  ( A. x ( x  =  A  ->  B  =  C )  ->  (
x  e.  D  -> 
( x  =  A  ->  ( C  e. 
_V  ->  ( ( x  e.  D  |->  B ) `
 A )  =  C ) ) ) )
245, 9, 23rexlimd 2853 . . . . . 6  |-  ( A. x ( x  =  A  ->  B  =  C )  ->  ( E. x  e.  D  x  =  A  ->  ( C  e.  _V  ->  ( ( x  e.  D  |->  B ) `  A
)  =  C ) ) )
254, 24syl7 68 . . . . 5  |-  ( A. x ( x  =  A  ->  B  =  C )  ->  ( E. x  e.  D  x  =  A  ->  ( C  e.  V  -> 
( ( x  e.  D  |->  B ) `  A )  =  C ) ) )
263, 25syl5bi 217 . . . 4  |-  ( A. x ( x  =  A  ->  B  =  C )  ->  ( A  e.  D  ->  ( C  e.  V  -> 
( ( x  e.  D  |->  B ) `  A )  =  C ) ) )
2726imp32 433 . . 3  |-  ( ( A. x ( x  =  A  ->  B  =  C )  /\  ( A  e.  D  /\  C  e.  V )
)  ->  ( (
x  e.  D  |->  B ) `  A )  =  C )
28273adant2 1007 . 2  |-  ( ( A. x ( x  =  A  ->  B  =  C )  /\  F  =  ( x  e.  D  |->  B )  /\  ( A  e.  D  /\  C  e.  V
) )  ->  (
( x  e.  D  |->  B ) `  A
)  =  C )
292, 28eqtrd 2475 1  |-  ( ( A. x ( x  =  A  ->  B  =  C )  /\  F  =  ( x  e.  D  |->  B )  /\  ( A  e.  D  /\  C  e.  V
) )  ->  ( F `  A )  =  C )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    /\ wa 369    /\ w3a 965   A.wal 1367    = wceq 1369    e. wcel 1756   E.wrex 2731   _Vcvv 2987    e. cmpt 4365   ` cfv 5433
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-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4428  ax-nul 4436  ax-pow 4485  ax-pr 4546
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 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2577  df-ne 2622  df-ral 2735  df-rex 2736  df-rab 2739  df-v 2989  df-sbc 3202  df-csb 3304  df-dif 3346  df-un 3348  df-in 3350  df-ss 3357  df-nul 3653  df-if 3807  df-sn 3893  df-pr 3895  df-op 3899  df-uni 4107  df-br 4308  df-opab 4366  df-mpt 4367  df-id 4651  df-xp 4861  df-rel 4862  df-cnv 4863  df-co 4864  df-dm 4865  df-rn 4866  df-res 4867  df-ima 4868  df-iota 5396  df-fun 5435  df-fv 5441
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator