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

Theorem mpt2mpts 7219
 Description: Express a two-argument function as a one-argument function, or vice-versa. (Contributed by Mario Carneiro, 24-Sep-2015.)
Assertion
Ref Expression
mpt2mpts (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑦,𝐵,𝑧   𝑧,𝐶   𝑥,𝐵
Allowed substitution hints:   𝐶(𝑥,𝑦)

Proof of Theorem mpt2mpts
StepHypRef Expression
1 mpt2mptsx 7218 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
2 iunxpconst 5165 . . 3 𝑥𝐴 ({𝑥} × 𝐵) = (𝐴 × 𝐵)
3 mpteq1 4728 . . 3 ( 𝑥𝐴 ({𝑥} × 𝐵) = (𝐴 × 𝐵) → (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶))
42, 3ax-mp 5 . 2 (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
51, 4eqtri 2642 1 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 ∈ (𝐴 × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
 Colors of variables: wff setvar class Syntax hints:   = wceq 1481  ⦋csb 3526  {csn 4168  ∪ ciun 4511   ↦ cmpt 4720   × cxp 5102  ‘cfv 5876   ↦ cmpt2 6637  1st c1st 7151  2nd c2nd 7152 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1720  ax-4 1735  ax-5 1837  ax-6 1886  ax-7 1933  ax-8 1990  ax-9 1997  ax-10 2017  ax-11 2032  ax-12 2045  ax-13 2244  ax-ext 2600  ax-sep 4772  ax-nul 4780  ax-pow 4834  ax-pr 4897  ax-un 6934 This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1484  df-ex 1703  df-nf 1708  df-sb 1879  df-eu 2472  df-mo 2473  df-clab 2607  df-cleq 2613  df-clel 2616  df-nfc 2751  df-ral 2914  df-rex 2915  df-rab 2918  df-v 3197  df-sbc 3430  df-csb 3527  df-dif 3570  df-un 3572  df-in 3574  df-ss 3581  df-nul 3908  df-if 4078  df-sn 4169  df-pr 4171  df-op 4175  df-uni 4428  df-iun 4513  df-br 4645  df-opab 4704  df-mpt 4721  df-id 5014  df-xp 5110  df-rel 5111  df-cnv 5112  df-co 5113  df-dm 5114  df-rn 5115  df-iota 5839  df-fun 5878  df-fv 5884  df-oprab 6639  df-mpt2 6640  df-1st 7153  df-2nd 7154 This theorem is referenced by:  offval22  7238  dfmpt2  7252  mpt2sn  7253  matgsum  20224
 Copyright terms: Public domain W3C validator