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 31467
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 3650 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ 𝜓))
3 opelxp 5674 . . . . . . . . 9 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ↔ (𝑥𝐴𝑦𝐵))
43anbi1i 625 . . . . . . . 8 ((⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ 𝜓) ↔ ((𝑥𝐴𝑦𝐵) ∧ 𝜓))
5 ancom 462 . . . . . . . . 9 ((𝑥𝐴𝑦𝐵) ↔ (𝑦𝐵𝑥𝐴))
65anbi1i 625 . . . . . . . 8 (((𝑥𝐴𝑦𝐵) ∧ 𝜓) ↔ ((𝑦𝐵𝑥𝐴) ∧ 𝜓))
72, 4, 63bitri 297 . . . . . . 7 (⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ ((𝑦𝐵𝑥𝐴) ∧ 𝜓))
8 anass 470 . . . . . . 7 (((𝑦𝐵𝑥𝐴) ∧ 𝜓) ↔ (𝑦𝐵 ∧ (𝑥𝐴𝜓)))
9 ancom 462 . . . . . . . 8 ((𝑥𝐴𝜓) ↔ (𝜓𝑥𝐴))
109anbi2i 624 . . . . . . 7 ((𝑦𝐵 ∧ (𝑥𝐴𝜓)) ↔ (𝑦𝐵 ∧ (𝜓𝑥𝐴)))
117, 8, 103bitri 297 . . . . . 6 (⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (𝑦𝐵 ∧ (𝜓𝑥𝐴)))
1211exbii 1851 . . . . 5 (∃𝑦𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ ∃𝑦(𝑦𝐵 ∧ (𝜓𝑥𝐴)))
13 df-rex 3075 . . . . 5 (∃𝑦𝐵 (𝜓𝑥𝐴) ↔ ∃𝑦(𝑦𝐵 ∧ (𝜓𝑥𝐴)))
14 r19.41v 3186 . . . . 5 (∃𝑦𝐵 (𝜓𝑥𝐴) ↔ (∃𝑦𝐵 𝜓𝑥𝐴))
1512, 13, 143bitr2i 299 . . . 4 (∃𝑦𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (∃𝑦𝐵 𝜓𝑥𝐴))
1615biancomi 464 . . 3 (∃𝑦𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜓))
1716abbii 2807 . 2 {𝑥 ∣ ∃𝑦𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑}} = {𝑥 ∣ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜓)}
18 dfdm3 5848 . 2 dom {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥 ∣ ∃𝑦𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑}}
19 df-rab 3411 . 2 {𝑥𝐴 ∣ ∃𝑦𝐵 𝜓} = {𝑥 ∣ (𝑥𝐴 ∧ ∃𝑦𝐵 𝜓)}
2017, 18, 193eqtr4i 2775 1 dom {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥𝐴 ∣ ∃𝑦𝐵 𝜓}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 397   = wceq 1542  wex 1782  wcel 2107  {cab 2714  wrex 3074  {crab 3410  cop 4597   × cxp 5636  dom cdm 5638
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-ext 2708  ax-sep 5261  ax-nul 5268  ax-pr 5389
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-sb 2069  df-clab 2715  df-cleq 2729  df-clel 2815  df-ral 3066  df-rex 3075  df-rab 3411  df-v 3450  df-dif 3918  df-un 3920  df-in 3922  df-ss 3932  df-nul 4288  df-if 4492  df-sn 4592  df-pr 4594  df-op 4598  df-br 5111  df-opab 5173  df-xp 5644  df-dm 5648
This theorem is referenced by:  fedgmullem2  32365
  Copyright terms: Public domain W3C validator