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 35648
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 1850 . . . 4 (∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦) ↔ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)))
3 exrot3 2172 . . . 4 (∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)) ↔ ∃𝑥𝑦𝑢(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)))
4 19.42v 1954 . . . . 5 (∃𝑢(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)) ↔ (𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)))
542exbii 1849 . . . 4 (∃𝑥𝑦𝑢(𝑤 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥𝑢𝑆𝑦)) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)))
62, 3, 53bitri 299 . . 3 (∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)))
76abbii 2888 . 2 {𝑤 ∣ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦))}
8 dfrn6 35562 . . 3 ran (𝑅𝑆) = {𝑤 ∣ [𝑤](𝑅𝑆) ≠ ∅}
9 n0 4312 . . . . 5 ([𝑤](𝑅𝑆) ≠ ∅ ↔ ∃𝑢 𝑢 ∈ [𝑤](𝑅𝑆))
10 elec1cnvxrn2 35647 . . . . . . 7 (𝑢 ∈ V → (𝑢 ∈ [𝑤](𝑅𝑆) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)))
1110elv 3501 . . . . . 6 (𝑢 ∈ [𝑤](𝑅𝑆) ↔ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦))
1211exbii 1848 . . . . 5 (∃𝑢 𝑢 ∈ [𝑤](𝑅𝑆) ↔ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦))
139, 12bitri 277 . . . 4 ([𝑤](𝑅𝑆) ≠ ∅ ↔ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦))
1413abbii 2888 . . 3 {𝑤 ∣ [𝑤](𝑅𝑆) ≠ ∅} = {𝑤 ∣ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)}
158, 14eqtri 2846 . 2 ran (𝑅𝑆) = {𝑤 ∣ ∃𝑢𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥𝑢𝑆𝑦)}
16 df-opab 5131 . 2 {⟨𝑥, 𝑦⟩ ∣ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)} = {𝑤 ∣ ∃𝑥𝑦(𝑤 = ⟨𝑥, 𝑦⟩ ∧ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦))}
177, 15, 163eqtr4i 2856 1 ran (𝑅𝑆) = {⟨𝑥, 𝑦⟩ ∣ ∃𝑢(𝑢𝑅𝑥𝑢𝑆𝑦)}
Colors of variables: wff setvar class
Syntax hints:  wb 208  wa 398  w3a 1083   = wceq 1537  wex 1780  wcel 2114  {cab 2801  wne 3018  Vcvv 3496  c0 4293  cop 4575   class class class wbr 5068  {copab 5130  ccnv 5556  ran crn 5558  [cec 8289  cxrn 35454
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-fo 6363  df-fv 6365  df-1st 7691  df-2nd 7692  df-ec 8293  df-xrn 35625
This theorem is referenced by:  rnxrnres  35649  dfcoss4  35665  dfssr2  35741
  Copyright terms: Public domain W3C validator