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

Theorem dfmpt3 6718
Description: Alternate definition for the maps-to notation df-mpt 5201. (Contributed by Mario Carneiro, 30-Dec-2016.)
Assertion
Ref Expression
dfmpt3 (𝑥 ∈ 𝐴 ↦ 𝐵) = ∪ 𝑥 ∈ 𝐴 ({𝑥} × {𝐵})

Proof of Theorem dfmpt3
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-mpt 5201 . 2 (𝑥 ∈ 𝐴 ↦ 𝐵) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)}
2 velsn 4607 . . . . . . 7 (𝑦 ∈ {𝐵} ↔ 𝑦 = 𝐵)
32anbi2i 635 . . . . . 6 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ {𝐵}) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵))
43anbi2i 635 . . . . 5 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ {𝐵})) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)))
542exbii 1888 . . . 4 (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ {𝐵})) ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)))
6 eliunxp 5832 . . . 4 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × {𝐵}) ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ {𝐵})))
7 elopab 5516 . . . 4 (𝑧 ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)} ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)))
85, 6, 73bitr4i 306 . . 3 (𝑧 ∈ ∪ 𝑥 ∈ 𝐴 ({𝑥} × {𝐵}) ↔ 𝑧 ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)})
98eqriv 2771 . 2 ∪ 𝑥 ∈ 𝐴 ({𝑥} × {𝐵}) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐵)}
101, 9eqtr4i 2800 1 (𝑥 ∈ 𝐴 ↦ 𝐵) = ∪ 𝑥 ∈ 𝐴 ({𝑥} × {𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  {csn 4595  ⟨cop 4848  ∪ ciun 4964  {copab 5181   ↦ cmpt 5200   × cxp 5664
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-iun 4966  df-opab 5182  df-mpt 5201  df-xp 5672  df-rel 5673
This theorem is used by:  dfmpt  7194  indval2  12381  taylpfval  26821
  Copyright terms: Public domain W3C validator