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

Theorem mpt2fun 6715
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 2642 . . . . . 6 ((𝑧 = 𝐶𝑤 = 𝐶) → 𝑧 = 𝑤)
21ad2ant2l 781 . . . . 5 ((((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) → 𝑧 = 𝑤)
32gen2 1720 . . . 4 𝑧𝑤((((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) → 𝑧 = 𝑤)
4 eqeq1 2625 . . . . . 6 (𝑧 = 𝑤 → (𝑧 = 𝐶𝑤 = 𝐶))
54anbi2d 739 . . . . 5 (𝑧 = 𝑤 → (((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ↔ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)))
65mo4 2516 . . . 4 (∃*𝑧((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ↔ ∀𝑧𝑤((((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶) ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑤 = 𝐶)) → 𝑧 = 𝑤))
73, 6mpbir 221 . . 3 ∃*𝑧((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)
87funoprab 6713 . 2 Fun {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)}
9 mpt2fun.1 . . . 4 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
10 df-mpt2 6609 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)}
119, 10eqtri 2643 . . 3 𝐹 = {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)}
1211funeqi 5868 . 2 (Fun 𝐹 ↔ Fun {⟨⟨𝑥, 𝑦⟩, 𝑧⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑧 = 𝐶)})
138, 12mpbir 221 1 Fun 𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  wal 1478   = wceq 1480  wcel 1987  ∃*wmo 2470  Fun wfun 5841  {coprab 6605  cmpt2 6606
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-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  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-rab 2916  df-v 3188  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-br 4614  df-opab 4674  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-fun 5849  df-oprab 6608  df-mpt2 6609
This theorem is referenced by:  ofexg  6854  mpt2exxg  7189  mpt2curryd  7340  imasvscafn  16118  coapm  16642  oppglsm  17978  gsum2d2lem  18293  evlslem2  19431  xkococnlem  21372  ucnima  21995  ucnprima  21996  fmucnd  22006  smatrcl  29641  smatlem  29642  txomap  29680  tpr2rico  29737  elunirnmbfm  30093  relowlpssretop  32841  aovmpt4g  40582  mpt2exxg2  41401
  Copyright terms: Public domain W3C validator