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 39367
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 5793 . 2 Rel (𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴)))
2 relopabv 5800 . 2 Rel {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}
3 eleq1w 2843 . . . . . 6 (𝑥 = 𝑧 → (𝑥 ∈ 𝐴 ↔ 𝑧 ∈ 𝐴))
4 breq1 5105 . . . . . 6 (𝑥 = 𝑧 → (𝑥𝑅𝑦 ↔ 𝑧𝑅𝑦))
53, 4anbi12d 644 . . . . 5 (𝑥 = 𝑧 → ((𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦) ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑦)))
6 breq2 5106 . . . . . 6 (𝑦 = 𝑤 → (𝑧𝑅𝑦 ↔ 𝑧𝑅𝑤))
76anbi2d 642 . . . . 5 (𝑦 = 𝑤 → ((𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑦) ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤)))
85, 7opelopabg 5513 . . . 4 ((𝑧 ∈ V ∧ 𝑤 ∈ V) → (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)} ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤)))
98el2v 3457 . . 3 (⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)} ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤))
10 brinxprnres 39366 . . . 4 (𝑤 ∈ V → (𝑧(𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴)))𝑤 ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤)))
1110elv 3455 . . 3 (𝑧(𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴)))𝑤 ↔ (𝑧 ∈ 𝐴 ∧ 𝑧𝑅𝑤))
12 df-br 5103 . . 3 (𝑧(𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴)))𝑤 ↔ ⟨𝑧, 𝑤⟩ ∈ (𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴))))
139, 11, 123bitr2ri 303 . 2 (⟨𝑧, 𝑤⟩ ∈ (𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴))) ↔ ⟨𝑧, 𝑤⟩ ∈ {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)})
141, 2, 13eqrelriiv 5767 1 (𝑅 ∩ (𝐴 × ran (𝑅 ↾ 𝐴))) = {⟨𝑥, 𝑦⟩ ∣ (𝑥 ∈ 𝐴 ∧ 𝑥𝑅𝑦)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ∩ cin 4088  ⟨cop 4834   class class class wbr 5102  {copab 5166   × cxp 5649  ran crn 5652   ↾ cres 5653
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732  ax-sep 5248  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-br 5103  df-opab 5167  df-xp 5657  df-rel 5658  df-cnv 5659  df-dm 5661  df-rn 5662  df-res 5663
This theorem is used by:  dfres4  39368
  Copyright terms: Public domain W3C validator