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

Theorem mpteqb 6764
Description: Bidirectional equality theorem for a mapping abstraction. Equivalent to eqfnfv 6779. (Contributed by Mario Carneiro, 14-Nov-2014.)
Assertion
Ref Expression
mpteqb (∀𝑥𝐴 𝐵𝑉 → ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ↔ ∀𝑥𝐴 𝐵 = 𝐶))
Distinct variable group:   𝑥,𝐴
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)   𝑉(𝑥)

Proof of Theorem mpteqb
StepHypRef Expression
1 elex 3459 . . 3 (𝐵𝑉𝐵 ∈ V)
21ralimi 3128 . 2 (∀𝑥𝐴 𝐵𝑉 → ∀𝑥𝐴 𝐵 ∈ V)
3 fneq1 6414 . . . . . . 7 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → ((𝑥𝐴𝐵) Fn 𝐴 ↔ (𝑥𝐴𝐶) Fn 𝐴))
4 eqid 2798 . . . . . . . 8 (𝑥𝐴𝐵) = (𝑥𝐴𝐵)
54mptfng 6459 . . . . . . 7 (∀𝑥𝐴 𝐵 ∈ V ↔ (𝑥𝐴𝐵) Fn 𝐴)
6 eqid 2798 . . . . . . . 8 (𝑥𝐴𝐶) = (𝑥𝐴𝐶)
76mptfng 6459 . . . . . . 7 (∀𝑥𝐴 𝐶 ∈ V ↔ (𝑥𝐴𝐶) Fn 𝐴)
83, 5, 73bitr4g 317 . . . . . 6 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → (∀𝑥𝐴 𝐵 ∈ V ↔ ∀𝑥𝐴 𝐶 ∈ V))
98biimpd 232 . . . . 5 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → (∀𝑥𝐴 𝐵 ∈ V → ∀𝑥𝐴 𝐶 ∈ V))
10 r19.26 3137 . . . . . . 7 (∀𝑥𝐴 (𝐵 ∈ V ∧ 𝐶 ∈ V) ↔ (∀𝑥𝐴 𝐵 ∈ V ∧ ∀𝑥𝐴 𝐶 ∈ V))
11 nfmpt1 5128 . . . . . . . . . 10 𝑥(𝑥𝐴𝐵)
12 nfmpt1 5128 . . . . . . . . . 10 𝑥(𝑥𝐴𝐶)
1311, 12nfeq 2968 . . . . . . . . 9 𝑥(𝑥𝐴𝐵) = (𝑥𝐴𝐶)
14 simpll 766 . . . . . . . . . . . 12 ((((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ∧ 𝑥𝐴) ∧ (𝐵 ∈ V ∧ 𝐶 ∈ V)) → (𝑥𝐴𝐵) = (𝑥𝐴𝐶))
1514fveq1d 6647 . . . . . . . . . . 11 ((((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ∧ 𝑥𝐴) ∧ (𝐵 ∈ V ∧ 𝐶 ∈ V)) → ((𝑥𝐴𝐵)‘𝑥) = ((𝑥𝐴𝐶)‘𝑥))
164fvmpt2 6756 . . . . . . . . . . . 12 ((𝑥𝐴𝐵 ∈ V) → ((𝑥𝐴𝐵)‘𝑥) = 𝐵)
1716ad2ant2lr 747 . . . . . . . . . . 11 ((((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ∧ 𝑥𝐴) ∧ (𝐵 ∈ V ∧ 𝐶 ∈ V)) → ((𝑥𝐴𝐵)‘𝑥) = 𝐵)
186fvmpt2 6756 . . . . . . . . . . . 12 ((𝑥𝐴𝐶 ∈ V) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶)
1918ad2ant2l 745 . . . . . . . . . . 11 ((((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ∧ 𝑥𝐴) ∧ (𝐵 ∈ V ∧ 𝐶 ∈ V)) → ((𝑥𝐴𝐶)‘𝑥) = 𝐶)
2015, 17, 193eqtr3d 2841 . . . . . . . . . 10 ((((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ∧ 𝑥𝐴) ∧ (𝐵 ∈ V ∧ 𝐶 ∈ V)) → 𝐵 = 𝐶)
2120exp31 423 . . . . . . . . 9 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → (𝑥𝐴 → ((𝐵 ∈ V ∧ 𝐶 ∈ V) → 𝐵 = 𝐶)))
2213, 21ralrimi 3180 . . . . . . . 8 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → ∀𝑥𝐴 ((𝐵 ∈ V ∧ 𝐶 ∈ V) → 𝐵 = 𝐶))
23 ralim 3130 . . . . . . . 8 (∀𝑥𝐴 ((𝐵 ∈ V ∧ 𝐶 ∈ V) → 𝐵 = 𝐶) → (∀𝑥𝐴 (𝐵 ∈ V ∧ 𝐶 ∈ V) → ∀𝑥𝐴 𝐵 = 𝐶))
2422, 23syl 17 . . . . . . 7 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → (∀𝑥𝐴 (𝐵 ∈ V ∧ 𝐶 ∈ V) → ∀𝑥𝐴 𝐵 = 𝐶))
2510, 24syl5bir 246 . . . . . 6 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → ((∀𝑥𝐴 𝐵 ∈ V ∧ ∀𝑥𝐴 𝐶 ∈ V) → ∀𝑥𝐴 𝐵 = 𝐶))
2625expd 419 . . . . 5 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → (∀𝑥𝐴 𝐵 ∈ V → (∀𝑥𝐴 𝐶 ∈ V → ∀𝑥𝐴 𝐵 = 𝐶)))
279, 26mpdd 43 . . . 4 ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → (∀𝑥𝐴 𝐵 ∈ V → ∀𝑥𝐴 𝐵 = 𝐶))
2827com12 32 . . 3 (∀𝑥𝐴 𝐵 ∈ V → ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) → ∀𝑥𝐴 𝐵 = 𝐶))
29 eqid 2798 . . . 4 𝐴 = 𝐴
30 mpteq12 5117 . . . 4 ((𝐴 = 𝐴 ∧ ∀𝑥𝐴 𝐵 = 𝐶) → (𝑥𝐴𝐵) = (𝑥𝐴𝐶))
3129, 30mpan 689 . . 3 (∀𝑥𝐴 𝐵 = 𝐶 → (𝑥𝐴𝐵) = (𝑥𝐴𝐶))
3228, 31impbid1 228 . 2 (∀𝑥𝐴 𝐵 ∈ V → ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ↔ ∀𝑥𝐴 𝐵 = 𝐶))
332, 32syl 17 1 (∀𝑥𝐴 𝐵𝑉 → ((𝑥𝐴𝐵) = (𝑥𝐴𝐶) ↔ ∀𝑥𝐴 𝐵 = 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  wcel 2111  wral 3106  Vcvv 3441  cmpt 5110   Fn wfn 6319  cfv 6324
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 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295
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 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-fv 6332
This theorem is referenced by:  eqfnfv  6779  eufnfv  6969  offveqb  7411  ramcl  16355  fucsect  17234  setcepi  17340  0frgp  18897  dprdf11  19138  dpjeq  19174  frgpcyg  20265  mvrf1  20663  mplmonmul  20704  ustuqtop  22852  mdegle0  24678  ply1nzb  24723  fedgmullem2  31114  cvmliftphtlem  32677  matunitlindflem1  35053  1arymaptf1  45056
  Copyright terms: Public domain W3C validator