MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  inopab Structured version   Visualization version   GIF version

Theorem inopab 5161
Description: Intersection of two ordered pair class abstractions. (Contributed by NM, 30-Sep-2002.)
Assertion
Ref Expression
inopab ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∩ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)

Proof of Theorem inopab
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relopab 5156 . . 3 Rel {⟨𝑥, 𝑦⟩ ∣ 𝜑}
2 relin1 5147 . . 3 (Rel {⟨𝑥, 𝑦⟩ ∣ 𝜑} → Rel ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∩ {⟨𝑥, 𝑦⟩ ∣ 𝜓}))
31, 2ax-mp 5 . 2 Rel ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∩ {⟨𝑥, 𝑦⟩ ∣ 𝜓})
4 relopab 5156 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
5 sban 2386 . . . 4 ([𝑤 / 𝑦]([𝑧 / 𝑥]𝜑 ∧ [𝑧 / 𝑥]𝜓) ↔ ([𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜓))
6 sban 2386 . . . . 5 ([𝑧 / 𝑥](𝜑𝜓) ↔ ([𝑧 / 𝑥]𝜑 ∧ [𝑧 / 𝑥]𝜓))
76sbbii 1873 . . . 4 ([𝑤 / 𝑦][𝑧 / 𝑥](𝜑𝜓) ↔ [𝑤 / 𝑦]([𝑧 / 𝑥]𝜑 ∧ [𝑧 / 𝑥]𝜓))
8 opelopabsbALT 4898 . . . . 5 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ↔ [𝑤 / 𝑦][𝑧 / 𝑥]𝜑)
9 opelopabsbALT 4898 . . . . 5 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜓} ↔ [𝑤 / 𝑦][𝑧 / 𝑥]𝜓)
108, 9anbi12i 728 . . . 4 ((⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ∧ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) ↔ ([𝑤 / 𝑦][𝑧 / 𝑥]𝜑 ∧ [𝑤 / 𝑦][𝑧 / 𝑥]𝜓))
115, 7, 103bitr4ri 291 . . 3 ((⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ∧ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) ↔ [𝑤 / 𝑦][𝑧 / 𝑥](𝜑𝜓))
12 elin 3757 . . 3 (⟨𝑧, 𝑤⟩ ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∩ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) ↔ (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜑} ∧ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ 𝜓}))
13 opelopabsbALT 4898 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)} ↔ [𝑤 / 𝑦][𝑧 / 𝑥](𝜑𝜓))
1411, 12, 133bitr4i 290 . 2 (⟨𝑧, 𝑤⟩ ∈ ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∩ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)})
153, 4, 14eqrelriiv 5125 1 ({⟨𝑥, 𝑦⟩ ∣ 𝜑} ∩ {⟨𝑥, 𝑦⟩ ∣ 𝜓}) = {⟨𝑥, 𝑦⟩ ∣ (𝜑𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wa 382   = wceq 1474  [wsb 1866  wcel 1976  cin 3538  cop 4130  {copab 4636  Rel wrel 5032
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2033  ax-13 2233  ax-ext 2589  ax-sep 4703  ax-nul 4711  ax-pr 4827
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-clab 2596  df-cleq 2602  df-clel 2605  df-nfc 2739  df-ral 2900  df-rex 2901  df-rab 2904  df-v 3174  df-dif 3542  df-un 3544  df-in 3546  df-ss 3553  df-nul 3874  df-if 4036  df-sn 4125  df-pr 4127  df-op 4131  df-opab 4638  df-xp 5033  df-rel 5034
This theorem is referenced by:  inxp  5163  resopab  5352  fndmin  6216  wemapwe  8454  dfiso2  16203  frgpuplem  17956  ltbwe  19241  opsrtoslem1  19253  pjfval2  19819  lgsquadlem3  24851  dnwech  36419  fgraphopab  36590
  Copyright terms: Public domain W3C validator