| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > eqfnfv2 | Structured version Visualization version GIF version | ||
| 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.) |
| Ref | Expression |
|---|---|
| eqfnfv2 | ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵 ∧ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (𝐺‘𝑥)))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | dmeq 5870 | . . . 4 ⊢ (𝐹 = 𝐺 → dom 𝐹 = dom 𝐺) | |
| 2 | fndm 6624 | . . . . 5 ⊢ (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴) | |
| 3 | fndm 6624 | . . . . 5 ⊢ (𝐺 Fn 𝐵 → dom 𝐺 = 𝐵) | |
| 4 | 2, 3 | eqeqan12d 2744 | . . . 4 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (dom 𝐹 = dom 𝐺 ↔ 𝐴 = 𝐵)) |
| 5 | 1, 4 | imbitrid 244 | . . 3 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (𝐹 = 𝐺 → 𝐴 = 𝐵)) |
| 6 | 5 | pm4.71rd 562 | . 2 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵 ∧ 𝐹 = 𝐺))) |
| 7 | fneq2 6613 | . . . . . 6 ⊢ (𝐴 = 𝐵 → (𝐺 Fn 𝐴 ↔ 𝐺 Fn 𝐵)) | |
| 8 | 7 | biimparc 479 | . . . . 5 ⊢ ((𝐺 Fn 𝐵 ∧ 𝐴 = 𝐵) → 𝐺 Fn 𝐴) |
| 9 | eqfnfv 7006 | . . . . 5 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐴) → (𝐹 = 𝐺 ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (𝐺‘𝑥))) | |
| 10 | 8, 9 | sylan2 593 | . . . 4 ⊢ ((𝐹 Fn 𝐴 ∧ (𝐺 Fn 𝐵 ∧ 𝐴 = 𝐵)) → (𝐹 = 𝐺 ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (𝐺‘𝑥))) |
| 11 | 10 | anassrs 467 | . . 3 ⊢ (((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) ∧ 𝐴 = 𝐵) → (𝐹 = 𝐺 ↔ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (𝐺‘𝑥))) |
| 12 | 11 | pm5.32da 579 | . 2 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → ((𝐴 = 𝐵 ∧ 𝐹 = 𝐺) ↔ (𝐴 = 𝐵 ∧ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (𝐺‘𝑥)))) |
| 13 | 6, 12 | bitrd 279 | 1 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵 ∧ ∀𝑥 ∈ 𝐴 (𝐹‘𝑥) = (𝐺‘𝑥)))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 206 ∧ wa 395 = wceq 1540 ∀wral 3045 dom cdm 5641 Fn wfn 6509 ‘cfv 6514 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-10 2142 ax-11 2158 ax-12 2178 ax-ext 2702 ax-sep 5254 ax-nul 5264 ax-pr 5390 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-nf 1784 df-sb 2066 df-mo 2534 df-eu 2563 df-clab 2709 df-cleq 2722 df-clel 2804 df-nfc 2879 df-ne 2927 df-ral 3046 df-rex 3055 df-rab 3409 df-v 3452 df-sbc 3757 df-csb 3866 df-dif 3920 df-un 3922 df-in 3924 df-ss 3934 df-nul 4300 df-if 4492 df-sn 4593 df-pr 4595 df-op 4599 df-uni 4875 df-br 5111 df-opab 5173 df-mpt 5192 df-id 5536 df-xp 5647 df-rel 5648 df-cnv 5649 df-co 5650 df-dm 5651 df-rn 5652 df-res 5653 df-ima 5654 df-iota 6467 df-fun 6516 df-fn 6517 df-fv 6522 |
| This theorem is referenced by: eqfnfv3 7008 eqfunfv 7011 eqfnov 7521 soseq 8141 fpr3g 8267 wfr3g 8301 frr3g 9716 2ffzeq 13617 eqwrd 14529 sdclem2 37743 eqfnfv2d2 41976 aks6d1c5 42134 2ffzoeq 47332 |
| Copyright terms: Public domain | W3C validator |