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

Theorem eqfnfv2 6781
 Description: Equality of functions is determined by their values. Exercise 4 of [TakeutiZaring] p. 28. (Contributed by NM, 3-Aug-1994.) (Revised by Mario Carneiro, 31-Aug-2015.)
Assertion
Ref Expression
eqfnfv2 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥))))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹   𝑥,𝐺
Allowed substitution hint:   𝐵(𝑥)

Proof of Theorem eqfnfv2
StepHypRef Expression
1 dmeq 5737 . . . 4 (𝐹 = 𝐺 → dom 𝐹 = dom 𝐺)
2 fndm 6426 . . . . 5 (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴)
3 fndm 6426 . . . . 5 (𝐺 Fn 𝐵 → dom 𝐺 = 𝐵)
42, 3eqeqan12d 2815 . . . 4 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (dom 𝐹 = dom 𝐺𝐴 = 𝐵))
51, 4syl5ib 247 . . 3 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (𝐹 = 𝐺𝐴 = 𝐵))
65pm4.71rd 566 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵𝐹 = 𝐺)))
7 fneq2 6416 . . . . . 6 (𝐴 = 𝐵 → (𝐺 Fn 𝐴𝐺 Fn 𝐵))
87biimparc 483 . . . . 5 ((𝐺 Fn 𝐵𝐴 = 𝐵) → 𝐺 Fn 𝐴)
9 eqfnfv 6780 . . . . 5 ((𝐹 Fn 𝐴𝐺 Fn 𝐴) → (𝐹 = 𝐺 ↔ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)))
108, 9sylan2 595 . . . 4 ((𝐹 Fn 𝐴 ∧ (𝐺 Fn 𝐵𝐴 = 𝐵)) → (𝐹 = 𝐺 ↔ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)))
1110anassrs 471 . . 3 (((𝐹 Fn 𝐴𝐺 Fn 𝐵) ∧ 𝐴 = 𝐵) → (𝐹 = 𝐺 ↔ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)))
1211pm5.32da 582 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → ((𝐴 = 𝐵𝐹 = 𝐺) ↔ (𝐴 = 𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥))))
136, 12bitrd 282 1 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥))))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 209   ∧ wa 399   = wceq 1538  ∀wral 3106  dom cdm 5520   Fn wfn 6320  ‘cfv 6325 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5168  ax-nul 5175  ax-pow 5232  ax-pr 5296 This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4802  df-br 5032  df-opab 5094  df-mpt 5112  df-id 5426  df-xp 5526  df-rel 5527  df-cnv 5528  df-co 5529  df-dm 5530  df-rn 5531  df-res 5532  df-ima 5533  df-iota 6284  df-fun 6327  df-fn 6328  df-fv 6333 This theorem is referenced by:  eqfnfv3  6782  eqfunfv  6785  eqfnov  7261  wfr3g  7939  2ffzeq  13026  eqwrd  13903  soseq  33224  frr3g  33249  fpr3g  33250  sdclem2  35199  eqfnfv2d2  39288  2ffzoeq  43928
 Copyright terms: Public domain W3C validator