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

Theorem fmptpr 6343
Description: Express a pair function in maps-to notation. (Contributed by Thierry Arnoux, 3-Jan-2017.)
Hypotheses
Ref Expression
fmptpr.1 (𝜑𝐴𝑉)
fmptpr.2 (𝜑𝐵𝑊)
fmptpr.3 (𝜑𝐶𝑋)
fmptpr.4 (𝜑𝐷𝑌)
fmptpr.5 ((𝜑𝑥 = 𝐴) → 𝐸 = 𝐶)
fmptpr.6 ((𝜑𝑥 = 𝐵) → 𝐸 = 𝐷)
Assertion
Ref Expression
fmptpr (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐸))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐶   𝑥,𝐷   𝜑,𝑥
Allowed substitution hints:   𝐸(𝑥)   𝑉(𝑥)   𝑊(𝑥)   𝑋(𝑥)   𝑌(𝑥)

Proof of Theorem fmptpr
StepHypRef Expression
1 df-pr 4128 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩})
21a1i 11 . 2 (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩}))
3 fmptpr.5 . . . 4 ((𝜑𝑥 = 𝐴) → 𝐸 = 𝐶)
4 fmptpr.1 . . . 4 (𝜑𝐴𝑉)
5 fmptpr.3 . . . 4 (𝜑𝐶𝑋)
63, 4, 5fmptsnd 6340 . . 3 (𝜑 → {⟨𝐴, 𝐶⟩} = (𝑥 ∈ {𝐴} ↦ 𝐸))
76uneq1d 3728 . 2 (𝜑 → ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩}) = ((𝑥 ∈ {𝐴} ↦ 𝐸) ∪ {⟨𝐵, 𝐷⟩}))
8 fmptpr.2 . . . 4 (𝜑𝐵𝑊)
9 elex 3185 . . . 4 (𝐵𝑊𝐵 ∈ V)
108, 9syl 17 . . 3 (𝜑𝐵 ∈ V)
11 fmptpr.4 . . . 4 (𝜑𝐷𝑌)
12 elex 3185 . . . 4 (𝐷𝑌𝐷 ∈ V)
1311, 12syl 17 . . 3 (𝜑𝐷 ∈ V)
14 df-pr 4128 . . . . 5 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
1514eqcomi 2619 . . . 4 ({𝐴} ∪ {𝐵}) = {𝐴, 𝐵}
1615a1i 11 . . 3 (𝜑 → ({𝐴} ∪ {𝐵}) = {𝐴, 𝐵})
17 fmptpr.6 . . 3 ((𝜑𝑥 = 𝐵) → 𝐸 = 𝐷)
1810, 13, 16, 17fmptapd 6342 . 2 (𝜑 → ((𝑥 ∈ {𝐴} ↦ 𝐸) ∪ {⟨𝐵, 𝐷⟩}) = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐸))
192, 7, 183eqtrd 2648 1 (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  Vcvv 3173  cun 3538  {csn 4125  {cpr 4127  cop 4131  cmpt 4643
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pr 4833
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-opab 4644  df-mpt 4645
This theorem is referenced by:  pmtrprfvalrn  17731  esumsnf  29453  sge0sn  39272  zlmodzxzscm  41928  zlmodzxzadd  41929
  Copyright terms: Public domain W3C validator