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 33192
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 3648 . . . . . . . 8 (⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ∧ 𝜓))
3 opelxp 5694 . . . . . . . . 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 1881 . . . . 5 (∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ (𝜓 ∧ 𝑥 ∈ 𝐴)))
13 df-rex 3091 . . . . 5 (∃𝑦 ∈ 𝐵 (𝜓 ∧ 𝑥 ∈ 𝐴) ↔ ∃𝑦(𝑦 ∈ 𝐵 ∧ (𝜓 ∧ 𝑥 ∈ 𝐴)))
14 r19.41v 3196 . . . . 5 (∃𝑦 ∈ 𝐵 (𝜓 ∧ 𝑥 ∈ 𝐴) ↔ (∃𝑦 ∈ 𝐵 𝜓 ∧ 𝑥 ∈ 𝐴))
1512, 13, 143bitr2i 302 . . . 4 (∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (∃𝑦 ∈ 𝐵 𝜓 ∧ 𝑥 ∈ 𝐴))
1615biancomi 468 . . 3 (∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} ↔ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜓))
1716abbii 2830 . 2 {𝑥 ∣ ∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑}} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜓)}
18 dfdm3 5881 . 2 dom {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥 ∣ ∃𝑦⟨𝑥, 𝑦⟩ ∈ {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑}}
19 df-rab 3417 . 2 {𝑥 ∈ 𝐴 ∣ ∃𝑦 ∈ 𝐵 𝜓} = {𝑥 ∣ (𝑥 ∈ 𝐴 ∧ ∃𝑦 ∈ 𝐵 𝜓)}
2017, 18, 193eqtr4i 2796 1 dom {𝑧 ∈ (𝐴 × 𝐵) ∣ 𝜑} = {𝑥 ∈ 𝐴 ∣ ∃𝑦 ∈ 𝐵 𝜓}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  {cab 2741  ∃wrex 3090  {crab 3416  ⟨cop 4840   × cxp 5656  dom cdm 5658
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-br 5109  df-opab 5174  df-xp 5664  df-dm 5668
This theorem is used by:  fedgmullem2  34373
  Copyright terms: Public domain W3C validator