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

Theorem fnmptfvd 6818
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 (𝜑𝑀 Fn 𝐴)
fnmptfvd.s (𝑖 = 𝑎𝐷 = 𝐶)
fnmptfvd.d ((𝜑𝑖𝐴) → 𝐷𝑈)
fnmptfvd.c ((𝜑𝑎𝐴) → 𝐶𝑉)
Assertion
Ref Expression
fnmptfvd (𝜑 → (𝑀 = (𝑎𝐴𝐶) ↔ ∀𝑖𝐴 (𝑀𝑖) = 𝐷))
Distinct variable groups:   𝐴,𝑎,𝑖   𝐶,𝑖   𝐷,𝑎   𝑀,𝑎,𝑖   𝑈,𝑎,𝑖   𝑉,𝑎,𝑖   𝜑,𝑎,𝑖
Allowed substitution hints:   𝐶(𝑎)   𝐷(𝑖)

Proof of Theorem fnmptfvd
StepHypRef Expression
1 fnmptfvd.m . . 3 (𝜑𝑀 Fn 𝐴)
2 fnmptfvd.c . . . . 5 ((𝜑𝑎𝐴) → 𝐶𝑉)
32ralrimiva 3096 . . . 4 (𝜑 → ∀𝑎𝐴 𝐶𝑉)
4 eqid 2738 . . . . 5 (𝑎𝐴𝐶) = (𝑎𝐴𝐶)
54fnmpt 6477 . . . 4 (∀𝑎𝐴 𝐶𝑉 → (𝑎𝐴𝐶) Fn 𝐴)
63, 5syl 17 . . 3 (𝜑 → (𝑎𝐴𝐶) Fn 𝐴)
7 eqfnfv 6809 . . 3 ((𝑀 Fn 𝐴 ∧ (𝑎𝐴𝐶) Fn 𝐴) → (𝑀 = (𝑎𝐴𝐶) ↔ ∀𝑖𝐴 (𝑀𝑖) = ((𝑎𝐴𝐶)‘𝑖)))
81, 6, 7syl2anc 587 . 2 (𝜑 → (𝑀 = (𝑎𝐴𝐶) ↔ ∀𝑖𝐴 (𝑀𝑖) = ((𝑎𝐴𝐶)‘𝑖)))
9 fnmptfvd.s . . . . . . . 8 (𝑖 = 𝑎𝐷 = 𝐶)
109cbvmptv 5133 . . . . . . 7 (𝑖𝐴𝐷) = (𝑎𝐴𝐶)
1110eqcomi 2747 . . . . . 6 (𝑎𝐴𝐶) = (𝑖𝐴𝐷)
1211a1i 11 . . . . 5 (𝜑 → (𝑎𝐴𝐶) = (𝑖𝐴𝐷))
1312fveq1d 6676 . . . 4 (𝜑 → ((𝑎𝐴𝐶)‘𝑖) = ((𝑖𝐴𝐷)‘𝑖))
1413eqeq2d 2749 . . 3 (𝜑 → ((𝑀𝑖) = ((𝑎𝐴𝐶)‘𝑖) ↔ (𝑀𝑖) = ((𝑖𝐴𝐷)‘𝑖)))
1514ralbidv 3109 . 2 (𝜑 → (∀𝑖𝐴 (𝑀𝑖) = ((𝑎𝐴𝐶)‘𝑖) ↔ ∀𝑖𝐴 (𝑀𝑖) = ((𝑖𝐴𝐷)‘𝑖)))
16 simpr 488 . . . . 5 ((𝜑𝑖𝐴) → 𝑖𝐴)
17 fnmptfvd.d . . . . 5 ((𝜑𝑖𝐴) → 𝐷𝑈)
18 eqid 2738 . . . . . 6 (𝑖𝐴𝐷) = (𝑖𝐴𝐷)
1918fvmpt2 6786 . . . . 5 ((𝑖𝐴𝐷𝑈) → ((𝑖𝐴𝐷)‘𝑖) = 𝐷)
2016, 17, 19syl2anc 587 . . . 4 ((𝜑𝑖𝐴) → ((𝑖𝐴𝐷)‘𝑖) = 𝐷)
2120eqeq2d 2749 . . 3 ((𝜑𝑖𝐴) → ((𝑀𝑖) = ((𝑖𝐴𝐷)‘𝑖) ↔ (𝑀𝑖) = 𝐷))
2221ralbidva 3108 . 2 (𝜑 → (∀𝑖𝐴 (𝑀𝑖) = ((𝑖𝐴𝐷)‘𝑖) ↔ ∀𝑖𝐴 (𝑀𝑖) = 𝐷))
238, 15, 223bitrd 308 1 (𝜑 → (𝑀 = (𝑎𝐴𝐶) ↔ ∀𝑖𝐴 (𝑀𝑖) = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  wcel 2114  wral 3053  cmpt 5110   Fn wfn 6334  cfv 6339
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-sep 5167  ax-nul 5174  ax-pr 5296
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-nul 4212  df-if 4415  df-sn 4517  df-pr 4519  df-op 4523  df-uni 4797  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5429  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-iota 6297  df-fun 6341  df-fn 6342  df-fv 6347
This theorem is referenced by:  cramerlem1  21438  dssmapnvod  41174
  Copyright terms: Public domain W3C validator