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

Theorem rnxrn 35650
Description: Range of the range Cartesian product of classes. (Contributed by Peter Mazsa, 1-Jun-2020.)
Assertion
Ref Expression
rnxrn ran (𝑅𝑆) = {⟨𝑥, 𝑦⟩ ∣ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)}
Distinct variable groups:   𝑢,𝑅,𝑥,𝑦   𝑢,𝑆,𝑥,𝑦

Proof of Theorem rnxrn
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 3anass 1091 . . . . 5 ((𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)))
213exbii 1849 . . . 4 (∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦) ↔ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)))
3 exrot3 2171 . . . 4 (∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)) ↔ ∃𝑥𝑦𝑢(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)))
4 19.42v 1953 . . . . 5 (∃𝑢(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)))
542exbii 1848 . . . 4 (∃𝑥𝑦𝑢(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)))
62, 3, 53bitri 299 . . 3 (∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)))
76abbii 2889 . 2 {𝑤 ∣ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦))}
8 dfrn6 35564 . . 3 ran (𝑅𝑆) = {𝑤 ∣ [𝑤](𝑅𝑆) ≠ ∅}
9 n0 4313 . . . . 5 ([𝑤](𝑅𝑆) ≠ ∅ ↔ ∃𝑢 𝑢 ∈ [𝑤](𝑅𝑆))
10 elec1cnvxrn2 35649 . . . . . . 7 (𝑢 ∈ V → (𝑢 ∈ [𝑤](𝑅𝑆) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)))
1110elv 3502 . . . . . 6 (𝑢 ∈ [𝑤](𝑅𝑆) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦))
1211exbii 1847 . . . . 5 (∃𝑢 𝑢 ∈ [𝑤](𝑅𝑆) ↔ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦))
139, 12bitri 277 . . . 4 ([𝑤](𝑅𝑆) ≠ ∅ ↔ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦))
1413abbii 2889 . . 3 {𝑤 ∣ [𝑤](𝑅𝑆) ≠ ∅} = {𝑤 ∣ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)}
158, 14eqtri 2847 . 2 ran (𝑅𝑆) = {𝑤 ∣ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)}
16 df-opab 5132 . 2 {⟨𝑥, 𝑦⟩ ∣ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦))}
177, 15, 163eqtr4i 2857 1 ran (𝑅𝑆) = {⟨𝑥, 𝑦⟩ ∣ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)}
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  w3a 1083   = wceq 1536  wex 1779  wcel 2113  {cab 2802  wne 3019  Vcvv 3497  c0 4294  cop 4576   class class class wbr 5069  {copab 5131  ccnv 5557  ran crn 5559  [cec 8290  cxrn 35456
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-ral 3146  df-rex 3147  df-rab 3150  df-v 3499  df-sbc 3776  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-br 5070  df-opab 5132  df-mpt 5150  df-id 5463  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-fo 6364  df-fv 6366  df-1st 7692  df-2nd 7693  df-ec 8294  df-xrn 35627
This theorem is referenced by:  rnxrnres  35651  dfcoss4  35667  dfssr2  35743
  Copyright terms: Public domain W3C validator