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

Theorem dfmpt2 7267
Description: Alternate definition for the "maps to" notation df-mpt2 6655 (although it requires that 𝐶 be a set). (Contributed by NM, 19-Dec-2008.) (Revised by Mario Carneiro, 31-Aug-2015.)
Hypothesis
Ref Expression
dfmpt2.1 𝐶 ∈ V
Assertion
Ref Expression
dfmpt2 (𝑥𝐴, 𝑦𝐵𝐶) = 𝑥𝐴 𝑦𝐵 {⟨⟨𝑥, 𝑦⟩, 𝐶⟩}
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦
Allowed substitution hints:   𝐶(𝑥,𝑦)

Proof of Theorem dfmpt2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 mpt2mpts 7234 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑤 ∈ (𝐴 × 𝐵) ↦ (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶)
2 dfmpt2.1 . . . . 5 𝐶 ∈ V
32csbex 4793 . . . 4 (2nd𝑤) / 𝑦𝐶 ∈ V
43csbex 4793 . . 3 (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶 ∈ V
54dfmpt 6410 . 2 (𝑤 ∈ (𝐴 × 𝐵) ↦ (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶) = 𝑤 ∈ (𝐴 × 𝐵){⟨𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶⟩}
6 nfcv 2764 . . . . 5 𝑥𝑤
7 nfcsb1v 3549 . . . . 5 𝑥(1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶
86, 7nfop 4418 . . . 4 𝑥𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶
98nfsn 4242 . . 3 𝑥{⟨𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶⟩}
10 nfcv 2764 . . . . 5 𝑦𝑤
11 nfcv 2764 . . . . . 6 𝑦(1st𝑤)
12 nfcsb1v 3549 . . . . . 6 𝑦(2nd𝑤) / 𝑦𝐶
1311, 12nfcsb 3551 . . . . 5 𝑦(1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶
1410, 13nfop 4418 . . . 4 𝑦𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶
1514nfsn 4242 . . 3 𝑦{⟨𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶⟩}
16 nfcv 2764 . . 3 𝑤{⟨⟨𝑥, 𝑦⟩, 𝐶⟩}
17 id 22 . . . . 5 (𝑤 = ⟨𝑥, 𝑦⟩ → 𝑤 = ⟨𝑥, 𝑦⟩)
18 csbopeq1a 7221 . . . . 5 (𝑤 = ⟨𝑥, 𝑦⟩ → (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶 = 𝐶)
1917, 18opeq12d 4410 . . . 4 (𝑤 = ⟨𝑥, 𝑦⟩ → ⟨𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶⟩ = ⟨⟨𝑥, 𝑦⟩, 𝐶⟩)
2019sneqd 4189 . . 3 (𝑤 = ⟨𝑥, 𝑦⟩ → {⟨𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶⟩} = {⟨⟨𝑥, 𝑦⟩, 𝐶⟩})
219, 15, 16, 20iunxpf 5270 . 2 𝑤 ∈ (𝐴 × 𝐵){⟨𝑤, (1st𝑤) / 𝑥(2nd𝑤) / 𝑦𝐶⟩} = 𝑥𝐴 𝑦𝐵 {⟨⟨𝑥, 𝑦⟩, 𝐶⟩}
221, 5, 213eqtri 2648 1 (𝑥𝐴, 𝑦𝐵𝐶) = 𝑥𝐴 𝑦𝐵 {⟨⟨𝑥, 𝑦⟩, 𝐶⟩}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1483  wcel 1990  Vcvv 3200  csb 3533  {csn 4177  cop 4183   ciun 4520  cmpt 4729   × cxp 5112  cfv 5888  cmpt2 6652  1st c1st 7166  2nd c2nd 7167
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-fal 1489  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-reu 2919  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-iun 4522  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-iota 5851  df-fun 5890  df-fn 5891  df-f 5892  df-f1 5893  df-fo 5894  df-f1o 5895  df-fv 5896  df-oprab 6654  df-mpt2 6655  df-1st 7168  df-2nd 7169
This theorem is referenced by:  fpar  7281
  Copyright terms: Public domain W3C validator