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

Theorem mpt2fun 6804
Description: The maps-to notation for an operation is always a function. (Contributed by Scott Fenton, 21-Mar-2012.)
Hypothesis
Ref Expression
mpt2fun.1 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
Assertion
Ref Expression
mpt2fun Fun 𝐹
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)   𝐹(𝑥,𝑦)

Proof of Theorem mpt2fun
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqtr3 2672 . . . . . 6 ((𝑧 = 𝐶𝑤 = 𝐶) → 𝑧 = 𝑤)
21ad2ant2l 797 . . . . 5 ((((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) → 𝑧 = 𝑤)
32gen2 1763 . . . 4 𝑧𝑤((((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) → 𝑧 = 𝑤)
4 eqeq1 2655 . . . . . 6 (𝑧 = 𝑤 → (𝑧 = 𝐶𝑤 = 𝐶))
54anbi2d 740 . . . . 5 (𝑧 = 𝑤 → (((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
65mo4 2546 . . . 4 (∃*𝑧((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ↔ ∀𝑧𝑤((((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) → 𝑧 = 𝑤))
73, 6mpbir 221 . . 3 ∃*𝑧((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)
87funoprab 6802 . 2 Fun {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)}
9 mpt2fun.1 . . . 4 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
10 df-mpt2 6695 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)}
119, 10eqtri 2673 . . 3 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)}
1211funeqi 5947 . 2 (Fun 𝐹 ↔ Fun {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)})
138, 12mpbir 221 1 Fun 𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  wal 1521   = wceq 1523  wcel 2030  ∃*wmo 2499  Fun wfun 5920  {coprab 6691  cmpt2 6692
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rab 2950  df-v 3233  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-br 4686  df-opab 4746  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-fun 5928  df-oprab 6694  df-mpt2 6695
This theorem is referenced by:  ofexg  6943  mpt2exxg  7289  mpt2curryd  7440  imasvscafn  16244  coapm  16768  oppglsm  18103  gsum2d2lem  18418  evlslem2  19560  xkococnlem  21510  ucnima  22132  ucnprima  22133  fmucnd  22143  smatrcl  29990  smatlem  29991  txomap  30029  tpr2rico  30086  elunirnmbfm  30443  scutf  32044  relowlpssretop  33342  aovmpt4g  41602  mpt2exxg2  42441
  Copyright terms: Public domain W3C validator