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

Theorem eqfnfv3 6269
Description: Derive equality of functions from equality of their values. (Contributed by Jeff Madsen, 2-Sep-2009.)
Assertion
Ref Expression
eqfnfv3 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 (𝑥𝐵 ∧ (𝐹𝑥) = (𝐺𝑥)))))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹   𝑥,𝐺   𝑥,𝐵

Proof of Theorem eqfnfv3
StepHypRef Expression
1 eqfnfv2 6268 . 2 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐴 = 𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥))))
2 eqss 3598 . . . . 5 (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴))
3 ancom 466 . . . . 5 ((𝐴𝐵𝐵𝐴) ↔ (𝐵𝐴𝐴𝐵))
42, 3bitri 264 . . . 4 (𝐴 = 𝐵 ↔ (𝐵𝐴𝐴𝐵))
54anbi1i 730 . . 3 ((𝐴 = 𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)) ↔ ((𝐵𝐴𝐴𝐵) ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)))
6 anass 680 . . . 4 (((𝐵𝐴𝐴𝐵) ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)) ↔ (𝐵𝐴 ∧ (𝐴𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥))))
7 dfss3 3573 . . . . . . 7 (𝐴𝐵 ↔ ∀𝑥𝐴 𝑥𝐵)
87anbi1i 730 . . . . . 6 ((𝐴𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)) ↔ (∀𝑥𝐴 𝑥𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)))
9 r19.26 3057 . . . . . 6 (∀𝑥𝐴 (𝑥𝐵 ∧ (𝐹𝑥) = (𝐺𝑥)) ↔ (∀𝑥𝐴 𝑥𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)))
108, 9bitr4i 267 . . . . 5 ((𝐴𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)) ↔ ∀𝑥𝐴 (𝑥𝐵 ∧ (𝐹𝑥) = (𝐺𝑥)))
1110anbi2i 729 . . . 4 ((𝐵𝐴 ∧ (𝐴𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥))) ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 (𝑥𝐵 ∧ (𝐹𝑥) = (𝐺𝑥))))
126, 11bitri 264 . . 3 (((𝐵𝐴𝐴𝐵) ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)) ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 (𝑥𝐵 ∧ (𝐹𝑥) = (𝐺𝑥))))
135, 12bitri 264 . 2 ((𝐴 = 𝐵 ∧ ∀𝑥𝐴 (𝐹𝑥) = (𝐺𝑥)) ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 (𝑥𝐵 ∧ (𝐹𝑥) = (𝐺𝑥))))
141, 13syl6bb 276 1 ((𝐹 Fn 𝐴𝐺 Fn 𝐵) → (𝐹 = 𝐺 ↔ (𝐵𝐴 ∧ ∀𝑥𝐴 (𝑥𝐵 ∧ (𝐹𝑥) = (𝐺𝑥)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wral 2907  wss 3555   Fn wfn 5842  cfv 5847
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-fv 5855
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator