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

Theorem dfxrn2 39424
Description: Alternate definition of the range Cartesian product. (Contributed by Peter Mazsa, 20-Feb-2022.)
Assertion
Ref Expression
dfxrn2 (𝑅 ⋉ 𝑆) = ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)}
Distinct variable groups:   𝑢,𝑅,𝑥,𝑦   𝑢,𝑆,𝑥,𝑦

Proof of Theorem dfxrn2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 xrnrel 39421 . . 3 Rel (𝑅 ⋉ 𝑆)
2 dfrel4v 6183 . . 3 (Rel (𝑅 ⋉ 𝑆) ↔ (𝑅 ⋉ 𝑆) = {⟨𝑢, 𝑧⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)𝑧})
31, 2mpbi 233 . 2 (𝑅 ⋉ 𝑆) = {⟨𝑢, 𝑧⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)𝑧}
4 breq2 5106 . . 3 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩))
5 brxrn2 39423 . . . . . 6 (𝑢 ∈ V → (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
65elv 3455 . . . . 5 (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
7 brxrn 39422 . . . . . . . . 9 ((𝑢 ∈ V ∧ 𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩ ↔ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
87el3v 3458 . . . . . . . 8 (𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩ ↔ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
98anbi2i 635 . . . . . . 7 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
10 3anass 1111 . . . . . . 7 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
119, 10bitr4i 281 . . . . . 6 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
12112exbii 1881 . . . . 5 (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
134copsex2gb 5784 . . . . 5 (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ (𝑧 ∈ (V × V) ∧ 𝑢(𝑅 ⋉ 𝑆)𝑧))
146, 12, 133bitr2i 302 . . . 4 (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ (𝑧 ∈ (V × V) ∧ 𝑢(𝑅 ⋉ 𝑆)𝑧))
1514simplbi 502 . . 3 (𝑢(𝑅 ⋉ 𝑆)𝑧 → 𝑧 ∈ (V × V))
164, 15cnvoprab 8073 . 2 ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩} = {⟨𝑢, 𝑧⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)𝑧}
178oprabbii 7489 . . 3 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩} = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)}
1817cnveqi 5852 . 2 ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩} = ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)}
193, 16, 183eqtr2i 2789 1 (𝑅 ⋉ 𝑆) = ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569  ∃wex 1811   ∈ wcel 2144  Vcvv 3450  ⟨cop 4834   class class class wbr 5102  {copab 5166   × cxp 5648  ◡ccnv 5649  Rel wrel 5655  {coprab 7423   ⋉ cxrn 39213
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-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7753
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-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  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-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-fo 6547  df-fv 6549  df-oprab 7426  df-1st 8003  df-2nd 8004  df-xrn 39419
This theorem is used by:  dmxrn  39426
  Copyright terms: Public domain W3C validator