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

Theorem bj-dfmpt2a 32705
Description: An equivalent definition of df-mpt2 6609. (Contributed by BJ, 30-Dec-2020.)
Assertion
Ref Expression
bj-dfmpt2a (𝑥𝐴, 𝑦𝐵𝐶) = {⟨𝑠, 𝑡⟩ ∣ ∃𝑥𝐴𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)}
Distinct variable groups:   𝑥,𝑦,𝑠,𝑡   𝐴,𝑠,𝑡   𝐵,𝑠,𝑡   𝐶,𝑠,𝑡   𝑦,𝐴
Allowed substitution hints:   𝐴(𝑥)   𝐵(𝑥,𝑦)   𝐶(𝑥,𝑦)

Proof of Theorem bj-dfmpt2a
StepHypRef Expression
1 df-mpt2 6609 . 2 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨⟨𝑥, 𝑦⟩, 𝑡⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)}
2 dfoprab2 6654 . 2 {⟨⟨𝑥, 𝑦⟩, 𝑡⟩ ∣ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)} = {⟨𝑠, 𝑡⟩ ∣ ∃𝑥𝑦(𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶))}
3 ancom 466 . . . . . . . . 9 (((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶) ↔ (𝑡 = 𝐶 ∧ (𝑥𝐴𝑦𝐵)))
43anbi2i 729 . . . . . . . 8 ((𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)) ↔ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ (𝑡 = 𝐶 ∧ (𝑥𝐴𝑦𝐵))))
5 anass 680 . . . . . . . 8 (((𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ∧ (𝑥𝐴𝑦𝐵)) ↔ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ (𝑡 = 𝐶 ∧ (𝑥𝐴𝑦𝐵))))
6 an13 839 . . . . . . . 8 (((𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ∧ (𝑥𝐴𝑦𝐵)) ↔ (𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))))
74, 5, 63bitr2i 288 . . . . . . 7 ((𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)) ↔ (𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))))
87exbii 1771 . . . . . 6 (∃𝑦(𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)) ↔ ∃𝑦(𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))))
9 df-rex 2913 . . . . . 6 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)) ↔ ∃𝑦(𝑦𝐵 ∧ (𝑥𝐴 ∧ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))))
10 r19.42v 3084 . . . . . 6 (∃𝑦𝐵 (𝑥𝐴 ∧ (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)))
118, 9, 103bitr2i 288 . . . . 5 (∃𝑦(𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)) ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)))
1211exbii 1771 . . . 4 (∃𝑥𝑦(𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)) ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)))
13 df-rex 2913 . . . 4 (∃𝑥𝐴𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶) ↔ ∃𝑥(𝑥𝐴 ∧ ∃𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)))
1412, 13bitr4i 267 . . 3 (∃𝑥𝑦(𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶)) ↔ ∃𝑥𝐴𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶))
1514opabbii 4679 . 2 {⟨𝑠, 𝑡⟩ ∣ ∃𝑥𝑦(𝑠 = ⟨𝑥, 𝑦⟩ ∧ ((𝑥𝐴𝑦𝐵) ∧ 𝑡 = 𝐶))} = {⟨𝑠, 𝑡⟩ ∣ ∃𝑥𝐴𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)}
161, 2, 153eqtri 2647 1 (𝑥𝐴, 𝑦𝐵𝐶) = {⟨𝑠, 𝑡⟩ ∣ ∃𝑥𝐴𝑦𝐵 (𝑠 = ⟨𝑥, 𝑦⟩ ∧ 𝑡 = 𝐶)}
Colors of variables: wff setvar class
Syntax hints:  wa 384   = wceq 1480  wex 1701  wcel 1987  wrex 2908  cop 4154  {copab 4672  {coprab 6605  cmpt2 6606
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pr 4867
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-rex 2913  df-rab 2916  df-v 3188  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-opab 4674  df-oprab 6608  df-mpt2 6609
This theorem is referenced by:  bj-mpt2mptALT  32706
  Copyright terms: Public domain W3C validator