Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-mpt2mptALT Structured version   Visualization version   GIF version

Theorem bj-mpt2mptALT 32253
Description: Alternate proof of mpt2mpt 6650. (Contributed by BJ, 30-Dec-2020.) (Proof modification is discouraged.) (New usage is discouraged.)
Hypothesis
Ref Expression
bj-mpt2mptALT.1 (𝑧 = ⟨𝑥, 𝑦⟩ → 𝐶 = 𝐷)
Assertion
Ref Expression
bj-mpt2mptALT (𝑧 ∈ (𝐴 × 𝐵) ↦ 𝐶) = (𝑥𝐴, 𝑦𝐵𝐷)
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧   𝑥,𝐶,𝑦   𝑧,𝐷
Allowed substitution hints:   𝐶(𝑧)   𝐷(𝑥,𝑦)

Proof of Theorem bj-mpt2mptALT
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 elxp2 5056 . . . . 5 (𝑧 ∈ (𝐴 × 𝐵) ↔ ∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩)
21anbi1i 727 . . . 4 ((𝑧 ∈ (𝐴 × 𝐵) ∧ 𝑡 = 𝐶) ↔ (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))
3 r19.41v 3070 . . . 4 (∃𝑥𝐴 (∃𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ↔ (∃𝑥𝐴𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))
4 r19.41v 3070 . . . . . 6 (∃𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ↔ (∃𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))
5 bj-mpt2mptALT.1 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → 𝐶 = 𝐷)
65eqeq2d 2620 . . . . . . . 8 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑡 = 𝐶𝑡 = 𝐷))
76pm5.32i 667 . . . . . . 7 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐷))
87rexbii 3023 . . . . . 6 (∃𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ↔ ∃𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐷))
94, 8bitr3i 265 . . . . 5 ((∃𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ↔ ∃𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐷))
109rexbii 3023 . . . 4 (∃𝑥𝐴 (∃𝑦𝐵 𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ↔ ∃𝑥𝐴𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐷))
112, 3, 103bitr2i 287 . . 3 ((𝑧 ∈ (𝐴 × 𝐵) ∧ 𝑡 = 𝐶) ↔ ∃𝑥𝐴𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐷))
1211opabbii 4649 . 2 {⟨𝑧, 𝑡⟩ ∣ (𝑧 ∈ (𝐴 × 𝐵) ∧ 𝑡 = 𝐶)} = {⟨𝑧, 𝑡⟩ ∣ ∃𝑥𝐴𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐷)}
13 df-mpt 4645 . 2 (𝑧 ∈ (𝐴 × 𝐵) ↦ 𝐶) = {⟨𝑧, 𝑡⟩ ∣ (𝑧 ∈ (𝐴 × 𝐵) ∧ 𝑡 = 𝐶)}
14 bj-dfmpt2a 32252 . 2 (𝑥𝐴, 𝑦𝐵𝐷) = {⟨𝑧, 𝑡⟩ ∣ ∃𝑥𝐴𝑦𝐵 (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐷)}
1512, 13, 143eqtr4i 2642 1 (𝑧 ∈ (𝐴 × 𝐵) ↦ 𝐶) = (𝑥𝐴, 𝑦𝐵𝐷)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  wrex 2897  cop 4131  {copab 4642  cmpt 4643   × cxp 5036  cmpt2 6551
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-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  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  df-xp 5044  df-oprab 6553  df-mpt2 6554
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator