MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  xptrrel Structured version   Visualization version   GIF version

Theorem xptrrel 14333
Description: The cross product is always a transitive relation. (Contributed by RP, 24-Dec-2019.)
Assertion
Ref Expression
xptrrel ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐵)

Proof of Theorem xptrrel
StepHypRef Expression
1 inss1 4208 . . . . . . . 8 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ dom (𝐴 × 𝐵)
2 dmxpss 6025 . . . . . . . 8 dom (𝐴 × 𝐵) ⊆ 𝐴
31, 2sstri 3979 . . . . . . 7 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ 𝐴
4 inss2 4209 . . . . . . . 8 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ ran (𝐴 × 𝐵)
5 rnxpss 6026 . . . . . . . 8 ran (𝐴 × 𝐵) ⊆ 𝐵
64, 5sstri 3979 . . . . . . 7 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ 𝐵
73, 6ssini 4211 . . . . . 6 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ (𝐴𝐵)
8 eqimss 4026 . . . . . 6 ((𝐴𝐵) = ∅ → (𝐴𝐵) ⊆ ∅)
97, 8sstrid 3981 . . . . 5 ((𝐴𝐵) = ∅ → (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ ∅)
10 ss0 4355 . . . . 5 ((dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ ∅ → (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) = ∅)
119, 10syl 17 . . . 4 ((𝐴𝐵) = ∅ → (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) = ∅)
1211coemptyd 14332 . . 3 ((𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) = ∅)
13 0ss 4353 . . 3 ∅ ⊆ (𝐴 × 𝐵)
1412, 13eqsstrdi 4024 . 2 ((𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐵))
15 neqne 3028 . . . 4 (¬ (𝐴𝐵) = ∅ → (𝐴𝐵) ≠ ∅)
1615xpcoidgend 14328 . . 3 (¬ (𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) = (𝐴 × 𝐵))
17 ssid 3992 . . 3 (𝐴 × 𝐵) ⊆ (𝐴 × 𝐵)
1816, 17eqsstrdi 4024 . 2 (¬ (𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐵))
1914, 18pm2.61i 183 1 ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1530  cin 3938  wss 3939  c0 4294   × cxp 5551  dom cdm 5553  ran crn 5554  ccom 5557
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2797  ax-sep 5199  ax-nul 5206  ax-pr 5325
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2619  df-eu 2651  df-clab 2804  df-cleq 2818  df-clel 2897  df-nfc 2967  df-ne 3021  df-ral 3147  df-rex 3148  df-rab 3151  df-v 3501  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4470  df-sn 4564  df-pr 4566  df-op 4570  df-br 5063  df-opab 5125  df-xp 5559  df-rel 5560  df-cnv 5561  df-co 5562  df-dm 5563  df-rn 5564  df-res 5565
This theorem is referenced by:  trclublem  14348  trclubgNEW  39839  trclexi  39841  cnvtrcl0  39847  xpintrreld  39872  trrelsuperreldg  39874  trrelsuperrel2dg  39877
  Copyright terms: Public domain W3C validator