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 39666
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 39663 . . 3 Rel (𝑅 ⋉ 𝑆)
2 dfrel4v 6209 . . 3 (Rel (𝑅 ⋉ 𝑆) ↔ (𝑅 ⋉ 𝑆) = {⟨𝑢, 𝑧⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)𝑧})
31, 2mpbi 233 . 2 (𝑅 ⋉ 𝑆) = {⟨𝑢, 𝑧⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)𝑧}
4 breq2 5120 . . 3 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩))
5 brxrn2 39665 . . . . . 6 (𝑢 ∈ V → (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
65elv 3466 . . . . 5 (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
7 brxrn 39664 . . . . . . . . 9 ((𝑢 ∈ V ∧ 𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩ ↔ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
87el3v 3469 . . . . . . . 8 (𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩ ↔ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
98anbi2i 635 . . . . . . 7 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
10 3anass 1112 . . . . . . 7 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)))
119, 10bitr4i 281 . . . . . 6 ((𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ (𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
12112exbii 1888 . . . . 5 (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ ∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦))
134copsex2gb 5801 . . . . 5 (∃𝑥∃𝑦(𝑧 = ⟨𝑥, 𝑦⟩ ∧ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩) ↔ (𝑧 ∈ (V × V) ∧ 𝑢(𝑅 ⋉ 𝑆)𝑧))
146, 12, 133bitr2i 302 . . . 4 (𝑢(𝑅 ⋉ 𝑆)𝑧 ↔ (𝑧 ∈ (V × V) ∧ 𝑢(𝑅 ⋉ 𝑆)𝑧))
1514simplbi 502 . . 3 (𝑢(𝑅 ⋉ 𝑆)𝑧 → 𝑧 ∈ (V × V))
164, 15cnvoprab 8122 . 2 ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩} = {⟨𝑢, 𝑧⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)𝑧}
178oprabbii 7534 . . 3 {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩} = {⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)}
1817cnveqi 5872 . 2 ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ 𝑢(𝑅 ⋉ 𝑆)⟨𝑥, 𝑦⟩} = ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)}
193, 16, 183eqtr2i 2803 1 (𝑅 ⋉ 𝑆) = ◡{⟨⟨𝑥, 𝑦⟩, 𝑢⟩ ∣ (𝑢𝑅𝑥 ∧ 𝑢𝑆𝑦)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572  ∃wex 1818   ∈ wcel 2156  Vcvv 3461  ⟨cop 4848   class class class wbr 5116  {copab 5181   × cxp 5664  ◡ccnv 5665  Rel wrel 5671  {coprab 7468   ⋉ cxrn 39455
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-fo 6584  df-fv 6586  df-oprab 7471  df-1st 8051  df-2nd 8052  df-xrn 39661
This theorem is used by:  dmxrn  39668
  Copyright terms: Public domain W3C validator