Users' Mathboxes Mathbox for Peter Mazsa < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  inxprnres Structured version   Visualization version   GIF version

Theorem inxprnres 34380
Description: Restriction of a class as a class of ordered pairs. (Contributed by Peter Mazsa, 2-Jan-2019.)
Assertion
Ref Expression
inxprnres (𝑅 ∩ (𝐴 × ran (𝑅𝐴))) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)}
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝑅,𝑦

Proof of Theorem inxprnres
Dummy variables 𝑤 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relxp 5279 . . 3 Rel (𝐴 × ran (𝑅𝐴))
2 relin2 5389 . . 3 (Rel (𝐴 × ran (𝑅𝐴)) → Rel (𝑅 ∩ (𝐴 × ran (𝑅𝐴))))
31, 2ax-mp 5 . 2 Rel (𝑅 ∩ (𝐴 × ran (𝑅𝐴)))
4 relopab 5399 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)}
5 eleq1w 2818 . . . . . 6 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
6 breq1 4803 . . . . . 6 (𝑥 = 𝑧 → (𝑥𝑅𝑦𝑧𝑅𝑦))
75, 6anbi12d 749 . . . . 5 (𝑥 = 𝑧 → ((𝑥𝐴𝑥𝑅𝑦) ↔ (𝑧𝐴𝑧𝑅𝑦)))
8 breq2 4804 . . . . . 6 (𝑦 = 𝑤 → (𝑧𝑅𝑦𝑧𝑅𝑤))
98anbi2d 742 . . . . 5 (𝑦 = 𝑤 → ((𝑧𝐴𝑧𝑅𝑦) ↔ (𝑧𝐴𝑧𝑅𝑤)))
107, 9opelopabg 5139 . . . 4 ((𝑧 ∈ V ∧ 𝑤 ∈ V) → (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)} ↔ (𝑧𝐴𝑧𝑅𝑤)))
1110el2v 34306 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)} ↔ (𝑧𝐴𝑧𝑅𝑤))
12 brinxprnres 34379 . . . 4 (𝑤 ∈ V → (𝑧(𝑅 ∩ (𝐴 × ran (𝑅𝐴)))𝑤 ↔ (𝑧𝐴𝑧𝑅𝑤)))
1312elv 34305 . . 3 (𝑧(𝑅 ∩ (𝐴 × ran (𝑅𝐴)))𝑤 ↔ (𝑧𝐴𝑧𝑅𝑤))
14 df-br 4801 . . 3 (𝑧(𝑅 ∩ (𝐴 × ran (𝑅𝐴)))𝑤 ↔ ⟨𝑧, 𝑤⟩ ∈ (𝑅 ∩ (𝐴 × ran (𝑅𝐴))))
1511, 13, 143bitr2ri 289 . 2 (⟨𝑧, 𝑤⟩ ∈ (𝑅 ∩ (𝐴 × ran (𝑅𝐴))) ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)})
163, 4, 15eqrelriiv 5367 1 (𝑅 ∩ (𝐴 × ran (𝑅𝐴))) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)}
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 383   = wceq 1628  wcel 2135  Vcvv 3336  cin 3710  cop 4323   class class class wbr 4800  {copab 4860   × cxp 5260  ran crn 5263  cres 5264  Rel wrel 5267
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1867  ax-4 1882  ax-5 1984  ax-6 2050  ax-7 2086  ax-9 2144  ax-10 2164  ax-11 2179  ax-12 2192  ax-13 2387  ax-ext 2736  ax-sep 4929  ax-nul 4937  ax-pr 5051
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1631  df-ex 1850  df-nf 1855  df-sb 2043  df-eu 2607  df-mo 2608  df-clab 2743  df-cleq 2749  df-clel 2752  df-nfc 2887  df-ral 3051  df-rex 3052  df-rab 3055  df-v 3338  df-dif 3714  df-un 3716  df-in 3718  df-ss 3725  df-nul 4055  df-if 4227  df-sn 4318  df-pr 4320  df-op 4324  df-br 4801  df-opab 4861  df-xp 5268  df-rel 5269  df-cnv 5270  df-dm 5272  df-rn 5273  df-res 5274
This theorem is referenced by:  dfres4  34381
  Copyright terms: Public domain W3C validator