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

Theorem fmptpr 6936
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 4572 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩})
21a1i 11 . 2 (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩}))
3 fmptpr.5 . . . 4 ((𝜑𝑥 = 𝐴) → 𝐸 = 𝐶)
4 fmptpr.1 . . . 4 (𝜑𝐴𝑉)
5 fmptpr.3 . . . 4 (𝜑𝐶𝑋)
63, 4, 5fmptsnd 6933 . . 3 (𝜑 → {⟨𝐴, 𝐶⟩} = (𝑥 ∈ {𝐴} ↦ 𝐸))
76uneq1d 4140 . 2 (𝜑 → ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩}) = ((𝑥 ∈ {𝐴} ↦ 𝐸) ∪ {⟨𝐵, 𝐷⟩}))
8 fmptpr.2 . . . 4 (𝜑𝐵𝑊)
98elexd 3516 . . 3 (𝜑𝐵 ∈ V)
10 fmptpr.4 . . . 4 (𝜑𝐷𝑌)
1110elexd 3516 . . 3 (𝜑𝐷 ∈ V)
12 df-pr 4572 . . . . 5 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
1312eqcomi 2832 . . . 4 ({𝐴} ∪ {𝐵}) = {𝐴, 𝐵}
1413a1i 11 . . 3 (𝜑 → ({𝐴} ∪ {𝐵}) = {𝐴, 𝐵})
15 fmptpr.6 . . 3 ((𝜑𝑥 = 𝐵) → 𝐸 = 𝐷)
169, 11, 14, 15fmptapd 6935 . 2 (𝜑 → ((𝑥 ∈ {𝐴} ↦ 𝐸) ∪ {⟨𝐵, 𝐷⟩}) = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐸))
172, 7, 163eqtrd 2862 1 (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐸))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  cun 3936  {csn 4569  {cpr 4571  cop 4575  cmpt 5148
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-opab 5131  df-mpt 5149
This theorem is referenced by:  pmtrprfvalrn  18618  esumsnf  31325  sge0sn  42668  zlmodzxzscm  44412  zlmodzxzadd  44413
  Copyright terms: Public domain W3C validator