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 35543
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 relinxp 5681 . 2 Rel (𝑅 ∩ (𝐴 × ran (𝑅𝐴)))
2 relopab 5690 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)}
3 eleq1w 2895 . . . . . 6 (𝑥 = 𝑧 → (𝑥𝐴𝑧𝐴))
4 breq1 5061 . . . . . 6 (𝑥 = 𝑧 → (𝑥𝑅𝑦𝑧𝑅𝑦))
53, 4anbi12d 632 . . . . 5 (𝑥 = 𝑧 → ((𝑥𝐴𝑥𝑅𝑦) ↔ (𝑧𝐴𝑧𝑅𝑦)))
6 breq2 5062 . . . . . 6 (𝑦 = 𝑤 → (𝑧𝑅𝑦𝑧𝑅𝑤))
76anbi2d 630 . . . . 5 (𝑦 = 𝑤 → ((𝑧𝐴𝑧𝑅𝑦) ↔ (𝑧𝐴𝑧𝑅𝑤)))
85, 7opelopabg 5417 . . . 4 ((𝑧 ∈ V ∧ 𝑤 ∈ V) → (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)} ↔ (𝑧𝐴𝑧𝑅𝑤)))
98el2v 3501 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)} ↔ (𝑧𝐴𝑧𝑅𝑤))
10 brinxprnres 35542 . . . 4 (𝑤 ∈ V → (𝑧(𝑅 ∩ (𝐴 × ran (𝑅𝐴)))𝑤 ↔ (𝑧𝐴𝑧𝑅𝑤)))
1110elv 3499 . . 3 (𝑧(𝑅 ∩ (𝐴 × ran (𝑅𝐴)))𝑤 ↔ (𝑧𝐴𝑧𝑅𝑤))
12 df-br 5059 . . 3 (𝑧(𝑅 ∩ (𝐴 × ran (𝑅𝐴)))𝑤 ↔ ⟨𝑧, 𝑤⟩ ∈ (𝑅 ∩ (𝐴 × ran (𝑅𝐴))))
139, 11, 123bitr2ri 302 . 2 (⟨𝑧, 𝑤⟩ ∈ (𝑅 ∩ (𝐴 × ran (𝑅𝐴))) ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)})
141, 2, 13eqrelriiv 5657 1 (𝑅 ∩ (𝐴 × ran (𝑅𝐴))) = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑥𝑅𝑦)}
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398   = wceq 1533  wcel 2110  Vcvv 3494  cin 3934  cop 4566   class class class wbr 5058  {copab 5120   × cxp 5547  ran crn 5550  cres 5551
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-sep 5195  ax-nul 5202  ax-pr 5321
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-nul 4291  df-if 4467  df-sn 4561  df-pr 4563  df-op 4567  df-br 5059  df-opab 5121  df-xp 5555  df-rel 5556  df-cnv 5557  df-dm 5559  df-rn 5560  df-res 5561
This theorem is referenced by:  dfres4  35544
  Copyright terms: Public domain W3C validator