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

Theorem xrninxp 36518
Description: Intersection of a range Cartesian product with a Cartesian product. (Contributed by Peter Mazsa, 7-Apr-2020.)
Assertion
Ref Expression
xrninxp ((𝑅𝑆) ∩ (𝐴 × (𝐵 × 𝐶))) = {⟨⟨𝑦, 𝑧⟩, 𝑢⟩ ∣ ((𝑦𝐵𝑧𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))}
Distinct variable groups:   𝑢,𝐴,𝑦,𝑧   𝑢,𝐵,𝑦,𝑧   𝑢,𝐶,𝑦,𝑧   𝑢,𝑅,𝑦,𝑧   𝑢,𝑆,𝑦,𝑧

Proof of Theorem xrninxp
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 inxp2 36497 . . 3 ((𝑅𝑆) ∩ (𝐴 × (𝐵 × 𝐶))) = {⟨𝑢, 𝑥⟩ ∣ ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥)}
2 df-3an 1088 . . . . 5 ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶) ∧ 𝑢(𝑅𝑆)𝑥) ↔ ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥))
3 3anan12 1095 . . . . 5 ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶) ∧ 𝑢(𝑅𝑆)𝑥) ↔ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥)))
42, 3bitr3i 276 . . . 4 (((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥) ↔ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥)))
54opabbii 5141 . . 3 {⟨𝑢, 𝑥⟩ ∣ ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥)} = {⟨𝑢, 𝑥⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))}
61, 5eqtri 2766 . 2 ((𝑅𝑆) ∩ (𝐴 × (𝐵 × 𝐶))) = {⟨𝑢, 𝑥⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))}
7 cnvopab 6042 . 2 {⟨𝑥, 𝑢⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))} = {⟨𝑢, 𝑥⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))}
8 breq2 5078 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑢(𝑅𝑆)𝑥𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))
98anbi2d 629 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑢𝐴𝑢(𝑅𝑆)𝑥) ↔ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩)))
109dfoprab4 7895 . . 3 {⟨𝑥, 𝑢⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))} = {⟨⟨𝑦, 𝑧⟩, 𝑢⟩ ∣ ((𝑦𝐵𝑧𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))}
1110cnveqi 5783 . 2 {⟨𝑥, 𝑢⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))} = {⟨⟨𝑦, 𝑧⟩, 𝑢⟩ ∣ ((𝑦𝐵𝑧𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))}
126, 7, 113eqtr2i 2772 1 ((𝑅𝑆) ∩ (𝐴 × (𝐵 × 𝐶))) = {⟨⟨𝑦, 𝑧⟩, 𝑢⟩ ∣ ((𝑦𝐵𝑧𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))}
Colors of variables: wff setvar class
Syntax hints:  wa 396  w3a 1086   = wceq 1539  wcel 2106  cin 3886  cop 4567   class class class wbr 5074  {copab 5136   × cxp 5587  ccnv 5588  {coprab 7276  cxrn 36332
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-iota 6391  df-fun 6435  df-fv 6441  df-oprab 7279  df-1st 7831  df-2nd 7832
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator