| 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 5846 | . . . 4 ⊢ (𝐹 = 𝐺 → dom 𝐹 = dom 𝐺) | |
| 2 | fndm 6585 | . . . . 5 ⊢ (𝐹 Fn 𝐴 → dom 𝐹 = 𝐴) | |
| 3 | fndm 6585 | . . . . 5 ⊢ (𝐺 Fn 𝐵 → dom 𝐺 = 𝐵) | |
| 4 | 2, 3 | eqeqan12d 2743 | . . . 4 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (dom 𝐹 = dom 𝐺 ↔ 𝐴 = 𝐵)) |
| 5 | 1, 4 | imbitrid 244 | . . 3 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (𝐹 = 𝐺 → 𝐴 = 𝐵)) |
| 6 | 5 | pm4.71rd 562 | . 2 ⊢ ((𝐹 Fn 𝐴 ∧ 𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵 ∧ 𝐹 = 𝐺))) |
| 7 | fneq2 6574 | . . . . . 6 ⊢ (𝐴 = 𝐵 → (𝐺 Fn 𝐴 ↔ 𝐺 Fn 𝐵)) | |
| 8 | 7 | biimparc 479 | . . . . 5 ⊢ ((𝐺 Fn 𝐵 ∧ 𝐴 = 𝐵) → 𝐺 Fn 𝐴) |
| 9 | eqfnfv 6965 | . . . . 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 3044 dom cdm 5619 Fn wfn 6477 ‘cfv 6482 |
| 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 2701 ax-sep 5235 ax-nul 5245 ax-pr 5371 |
| 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 2533 df-eu 2562 df-clab 2708 df-cleq 2721 df-clel 2803 df-nfc 2878 df-ne 2926 df-ral 3045 df-rex 3054 df-rab 3395 df-v 3438 df-sbc 3743 df-csb 3852 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-nul 4285 df-if 4477 df-sn 4578 df-pr 4580 df-op 4584 df-uni 4859 df-br 5093 df-opab 5155 df-mpt 5174 df-id 5514 df-xp 5625 df-rel 5626 df-cnv 5627 df-co 5628 df-dm 5629 df-rn 5630 df-res 5631 df-ima 5632 df-iota 6438 df-fun 6484 df-fn 6485 df-fv 6490 |
| This theorem is referenced by: eqfnfv3 6967 eqfunfv 6970 eqfnov 7478 soseq 8092 fpr3g 8218 wfr3g 8252 frr3g 9652 2ffzeq 13552 eqwrd 14464 sdclem2 37722 eqfnfv2d2 41954 aks6d1c5 42112 2ffzoeq 47311 |
| Copyright terms: Public domain | W3C validator |