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

Theorem fmptpr 7177
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 4586 . . 3 {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩})
21a1i 11 . 2 (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩}))
3 fmptpr.5 . . . 4 ((𝜑 ∧ 𝑥 = 𝐴) → 𝐸 = 𝐶)
4 fmptpr.1 . . . 4 (𝜑 → 𝐴 ∈ 𝑉)
5 fmptpr.3 . . . 4 (𝜑 → 𝐶 ∈ 𝑋)
63, 4, 5fmptsnd 7174 . . 3 (𝜑 → {⟨𝐴, 𝐶⟩} = (𝑥 ∈ {𝐴} ↦ 𝐸))
76uneq1d 4166 . 2 (𝜑 → ({⟨𝐴, 𝐶⟩} ∪ {⟨𝐵, 𝐷⟩}) = ((𝑥 ∈ {𝐴} ↦ 𝐸) ∪ {⟨𝐵, 𝐷⟩}))
8 fmptpr.2 . . 3 (𝜑 → 𝐵 ∈ 𝑊)
9 fmptpr.4 . . 3 (𝜑 → 𝐷 ∈ 𝑌)
10 df-pr 4586 . . . . 5 {𝐴, 𝐵} = ({𝐴} ∪ {𝐵})
1110eqcomi 2769 . . . 4 ({𝐴} ∪ {𝐵}) = {𝐴, 𝐵}
1211a1i 11 . . 3 (𝜑 → ({𝐴} ∪ {𝐵}) = {𝐴, 𝐵})
13 fmptpr.6 . . 3 ((𝜑 ∧ 𝑥 = 𝐵) → 𝐸 = 𝐷)
148, 9, 12, 13fmptapd 7176 . 2 (𝜑 → ((𝑥 ∈ {𝐴} ↦ 𝐸) ∪ {⟨𝐵, 𝐷⟩}) = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐸))
152, 7, 143eqtrd 2799 1 (𝜑 → {⟨𝐴, 𝐶⟩, ⟨𝐵, 𝐷⟩} = (𝑥 ∈ {𝐴, 𝐵} ↦ 𝐸))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144   ∪ cun 4149  {csn 4583  {cpr 4585  ⟨cop 4589   ↦ cmpt 5185
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-opab 5167  df-mpt 5186
This theorem is used by:  pmtrprfvalrn  19702  esumsnf  34696  sge0sn  47389  zlmodzxzscm  49469  zlmodzxzadd  49470
  Copyright terms: Public domain W3C validator