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 34579
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 34558 . . 3 ((𝑅𝑆) ∩ (𝐴 × (𝐵 × 𝐶))) = {⟨𝑢, 𝑥⟩ ∣ ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥)}
2 df-3an 1109 . . . . 5 ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶) ∧ 𝑢(𝑅𝑆)𝑥) ↔ ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥))
3 3anan12 1117 . . . . 5 ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶) ∧ 𝑢(𝑅𝑆)𝑥) ↔ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥)))
42, 3bitr3i 268 . . . 4 (((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥) ↔ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥)))
54opabbii 4876 . . 3 {⟨𝑢, 𝑥⟩ ∣ ((𝑢𝐴𝑥 ∈ (𝐵 × 𝐶)) ∧ 𝑢(𝑅𝑆)𝑥)} = {⟨𝑢, 𝑥⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))}
61, 5eqtri 2787 . 2 ((𝑅𝑆) ∩ (𝐴 × (𝐵 × 𝐶))) = {⟨𝑢, 𝑥⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))}
7 cnvopab 5716 . 2 {⟨𝑥, 𝑢⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))} = {⟨𝑢, 𝑥⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))}
8 breq2 4813 . . . . 5 (𝑥 = ⟨𝑦, 𝑧⟩ → (𝑢(𝑅𝑆)𝑥𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))
98anbi2d 622 . . . 4 (𝑥 = ⟨𝑦, 𝑧⟩ → ((𝑢𝐴𝑢(𝑅𝑆)𝑥) ↔ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩)))
109dfoprab4 7425 . . 3 {⟨𝑥, 𝑢⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))} = {⟨⟨𝑦, 𝑧⟩, 𝑢⟩ ∣ ((𝑦𝐵𝑧𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))}
1110cnveqi 5465 . 2 {⟨𝑥, 𝑢⟩ ∣ (𝑥 ∈ (𝐵 × 𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)𝑥))} = {⟨⟨𝑦, 𝑧⟩, 𝑢⟩ ∣ ((𝑦𝐵𝑧𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))}
126, 7, 113eqtr2i 2793 1 ((𝑅𝑆) ∩ (𝐴 × (𝐵 × 𝐶))) = {⟨⟨𝑦, 𝑧⟩, 𝑢⟩ ∣ ((𝑦𝐵𝑧𝐶) ∧ (𝑢𝐴𝑢(𝑅𝑆)⟨𝑦, 𝑧⟩))}
Colors of variables: wff setvar class
Syntax hints:  wa 384  w3a 1107   = wceq 1652  wcel 2155  cin 3731  cop 4340   class class class wbr 4809  {copab 4871   × cxp 5275  ccnv 5276  {coprab 6843  cxrn 34403
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2070  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2352  ax-ext 2743  ax-sep 4941  ax-nul 4949  ax-pow 5001  ax-pr 5062  ax-un 7147
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2063  df-mo 2565  df-eu 2582  df-clab 2752  df-cleq 2758  df-clel 2761  df-nfc 2896  df-ral 3060  df-rex 3061  df-rab 3064  df-v 3352  df-sbc 3597  df-dif 3735  df-un 3737  df-in 3739  df-ss 3746  df-nul 4080  df-if 4244  df-sn 4335  df-pr 4337  df-op 4341  df-uni 4595  df-br 4810  df-opab 4872  df-mpt 4889  df-id 5185  df-xp 5283  df-rel 5284  df-cnv 5285  df-co 5286  df-dm 5287  df-rn 5288  df-iota 6031  df-fun 6070  df-fv 6076  df-oprab 6846  df-1st 7366  df-2nd 7367
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator