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

Theorem fnmptfvd 6320
Description: A function with a given domain is a mapping defined by its function values. (Contributed by AV, 1-Mar-2019.)
Hypotheses
Ref Expression
fnmptfvd.m  |-  ( ph  ->  M  Fn  A )
fnmptfvd.s  |-  ( i  =  a  ->  D  =  C )
fnmptfvd.d  |-  ( (
ph  /\  i  e.  A )  ->  D  e.  U )
fnmptfvd.c  |-  ( (
ph  /\  a  e.  A )  ->  C  e.  V )
Assertion
Ref Expression
fnmptfvd  |-  ( ph  ->  ( M  =  ( a  e.  A  |->  C )  <->  A. i  e.  A  ( M `  i )  =  D ) )
Distinct variable groups:    A, a,
i    C, i    D, a    M, a, i    U, a, i    V, a, i    ph, a,
i
Allowed substitution hints:    C( a)    D( i)

Proof of Theorem fnmptfvd
StepHypRef Expression
1 fnmptfvd.m . . 3  |-  ( ph  ->  M  Fn  A )
2 fnmptfvd.c . . . . 5  |-  ( (
ph  /\  a  e.  A )  ->  C  e.  V )
32ralrimiva 2966 . . . 4  |-  ( ph  ->  A. a  e.  A  C  e.  V )
4 eqid 2622 . . . . 5  |-  ( a  e.  A  |->  C )  =  ( a  e.  A  |->  C )
54fnmpt 6020 . . . 4  |-  ( A. a  e.  A  C  e.  V  ->  ( a  e.  A  |->  C )  Fn  A )
63, 5syl 17 . . 3  |-  ( ph  ->  ( a  e.  A  |->  C )  Fn  A
)
7 eqfnfv 6311 . . 3  |-  ( ( M  Fn  A  /\  ( a  e.  A  |->  C )  Fn  A
)  ->  ( M  =  ( a  e.  A  |->  C )  <->  A. i  e.  A  ( M `  i )  =  ( ( a  e.  A  |->  C ) `  i
) ) )
81, 6, 7syl2anc 693 . 2  |-  ( ph  ->  ( M  =  ( a  e.  A  |->  C )  <->  A. i  e.  A  ( M `  i )  =  ( ( a  e.  A  |->  C ) `
 i ) ) )
9 fnmptfvd.s . . . . . . . 8  |-  ( i  =  a  ->  D  =  C )
109cbvmptv 4750 . . . . . . 7  |-  ( i  e.  A  |->  D )  =  ( a  e.  A  |->  C )
1110eqcomi 2631 . . . . . 6  |-  ( a  e.  A  |->  C )  =  ( i  e.  A  |->  D )
1211a1i 11 . . . . 5  |-  ( ph  ->  ( a  e.  A  |->  C )  =  ( i  e.  A  |->  D ) )
1312fveq1d 6193 . . . 4  |-  ( ph  ->  ( ( a  e.  A  |->  C ) `  i )  =  ( ( i  e.  A  |->  D ) `  i
) )
1413eqeq2d 2632 . . 3  |-  ( ph  ->  ( ( M `  i )  =  ( ( a  e.  A  |->  C ) `  i
)  <->  ( M `  i )  =  ( ( i  e.  A  |->  D ) `  i
) ) )
1514ralbidv 2986 . 2  |-  ( ph  ->  ( A. i  e.  A  ( M `  i )  =  ( ( a  e.  A  |->  C ) `  i
)  <->  A. i  e.  A  ( M `  i )  =  ( ( i  e.  A  |->  D ) `
 i ) ) )
16 simpr 477 . . . . 5  |-  ( (
ph  /\  i  e.  A )  ->  i  e.  A )
17 fnmptfvd.d . . . . 5  |-  ( (
ph  /\  i  e.  A )  ->  D  e.  U )
18 eqid 2622 . . . . . 6  |-  ( i  e.  A  |->  D )  =  ( i  e.  A  |->  D )
1918fvmpt2 6291 . . . . 5  |-  ( ( i  e.  A  /\  D  e.  U )  ->  ( ( i  e.  A  |->  D ) `  i )  =  D )
2016, 17, 19syl2anc 693 . . . 4  |-  ( (
ph  /\  i  e.  A )  ->  (
( i  e.  A  |->  D ) `  i
)  =  D )
2120eqeq2d 2632 . . 3  |-  ( (
ph  /\  i  e.  A )  ->  (
( M `  i
)  =  ( ( i  e.  A  |->  D ) `  i )  <-> 
( M `  i
)  =  D ) )
2221ralbidva 2985 . 2  |-  ( ph  ->  ( A. i  e.  A  ( M `  i )  =  ( ( i  e.  A  |->  D ) `  i
)  <->  A. i  e.  A  ( M `  i )  =  D ) )
238, 15, 223bitrd 294 1  |-  ( ph  ->  ( M  =  ( a  e.  A  |->  C )  <->  A. i  e.  A  ( M `  i )  =  D ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 196    /\ wa 384    = wceq 1483    e. wcel 1990   A.wral 2912    |-> cmpt 4729    Fn wfn 5883   ` cfv 5888
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-ima 5127  df-iota 5851  df-fun 5890  df-fn 5891  df-fv 5896
This theorem is referenced by:  cramerlem1  20493  dssmapnvod  38314
  Copyright terms: Public domain W3C validator