Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  dmrab Structured version   Visualization version   GIF version

Theorem dmrab 33141
Description: Domain of a restricted class abstraction over a cartesian product. (Contributed by Thierry Arnoux, 3-Jul-2023.)
Hypothesis
Ref Expression
dmrab.1 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
dmrab dom {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥 ∈ 𝐴 ∣ ∃𝑦 ∈ 𝐵 𝜓}
Distinct variable groups:   𝑥,𝐴,𝑦,𝑧   𝑥,𝐵,𝑦,𝑧   𝜑,𝑥,𝑦   𝜓,𝑧
Allowed substitution hints:   𝜑(𝑧)   𝜓(𝑥, 𝑦)

Proof of Theorem dmrab
StepHypRef Expression
1 dmrab.1 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑 ↔ 𝜓))
21elrab 3644 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ 𝜓))
3 opelxp 5686 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵))
43anbi1i 636 . . . . . . . 8 ((⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ 𝜓) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜓))
5 ancom 466 . . . . . . . . 9 ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ↔ (𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴))
65anbi1i 636 . . . . . . . 8 (((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) ∧ 𝜓) ↔ ((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜓))
72, 4, 63bitri 300 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ ((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜓))
8 anass 474 . . . . . . 7 (((𝑦 ∈ 𝐵 ∧ 𝑥 ∈ 𝐴) ∧ 𝜓) ↔ (𝑦 ∈ 𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝜓)))
9 ancom 466 . . . . . . . 8 ((𝑥 ∈ 𝐴 ∧ 𝜓) ↔ (𝜓 ∧ 𝑥 ∈ 𝐴))
109anbi2i 635 . . . . . . 7 ((𝑦 ∈ 𝐵 ∧ (𝑥 ∈ 𝐴 ∧ 𝜓)) ↔ (𝑦 ∈ 𝐵 ∧ (𝜓 ∧ 𝑥 ∈ 𝐴)))
117, 8, 103bitri 300 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (𝑦 ∈ 𝐵 ∧ (𝜓 ∧ 𝑥 ∈ 𝐴)))
1211exbii 1880 . . . . 5 (∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ (𝜓 ∧ 𝑥 ∈ 𝐴)))
13 df-rex 3087 . . . . 5 (∃𝑦 ∈ 𝐵 (𝜓 ∧ 𝑥 ∈ 𝐴) ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ (𝜓 ∧ 𝑥 ∈ 𝐴)))
14 r19.41v 3192 . . . . 5 (∃𝑦 ∈ 𝐵 (𝜓 ∧ 𝑥 ∈ 𝐴) ↔ (∃𝑦 ∈ 𝐵 𝜓 ∧ 𝑥 ∈ 𝐴))
1512, 13, 143bitr2i 302 . . . 4 (∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (∃𝑦 ∈ 𝐵 𝜓 ∧ 𝑥 ∈ 𝐴))
1615biancomi 468 . . 3 (∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜓))
1716abbii 2827 . 2 {𝑥 ∣ ∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑}} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜓)}
18 dfdm3 5868 . 2 dom {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥 ∣ ∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑}}
19 df-rab 3413 . 2 {𝑥 ∈ 𝐴 ∣ ∃𝑦 ∈ 𝐵 𝜓} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜓)}
2017, 18, 193eqtr4i 2793 1 dom {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥 ∈ 𝐴 ∣ ∃𝑦 ∈ 𝐵 𝜓}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2144  {cab 2738  ∃wrex 3086  {crab 3412  ⟨cop 4834   × cxp 5648  dom cdm 5650
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-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-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5656  df-dm 5660
This theorem is used by:  fedgmullem2  34309
  Copyright terms: Public domain W3C validator