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

Theorem xptrrel 14400
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 4135 . . . . . . . 8 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ dom (𝐴 × 𝐵)
2 dmxpss 6005 . . . . . . . 8 dom (𝐴 × 𝐵) ⊆ 𝐴
31, 2sstri 3903 . . . . . . 7 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ 𝐴
4 inss2 4136 . . . . . . . 8 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ ran (𝐴 × 𝐵)
5 rnxpss 6006 . . . . . . . 8 ran (𝐴 × 𝐵) ⊆ 𝐵
64, 5sstri 3903 . . . . . . 7 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ 𝐵
73, 6ssini 4138 . . . . . 6 (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ (𝐴𝐵)
8 eqimss 3950 . . . . . 6 ((𝐴𝐵) = ∅ → (𝐴𝐵) ⊆ ∅)
97, 8sstrid 3905 . . . . 5 ((𝐴𝐵) = ∅ → (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ ∅)
10 ss0 4297 . . . . 5 ((dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) ⊆ ∅ → (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) = ∅)
119, 10syl 17 . . . 4 ((𝐴𝐵) = ∅ → (dom (𝐴 × 𝐵) ∩ ran (𝐴 × 𝐵)) = ∅)
1211coemptyd 14399 . . 3 ((𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) = ∅)
13 0ss 4295 . . 3 ∅ ⊆ (𝐴 × 𝐵)
1412, 13eqsstrdi 3948 . 2 ((𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐵))
15 neqne 2959 . . . 4 (¬ (𝐴𝐵) = ∅ → (𝐴𝐵) ≠ ∅)
1615xpcoidgend 14395 . . 3 (¬ (𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) = (𝐴 × 𝐵))
17 ssid 3916 . . 3 (𝐴 × 𝐵) ⊆ (𝐴 × 𝐵)
1816, 17eqsstrdi 3948 . 2 (¬ (𝐴𝐵) = ∅ → ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐵))
1914, 18pm2.61i 185 1 ((𝐴 × 𝐵) ∘ (𝐴 × 𝐵)) ⊆ (𝐴 × 𝐵)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3   = wceq 1538  cin 3859  wss 3860  c0 4227   × cxp 5526  dom cdm 5528  ran crn 5529  ccom 5532
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2729  ax-sep 5173  ax-nul 5180  ax-pr 5302
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2557  df-eu 2588  df-clab 2736  df-cleq 2750  df-clel 2830  df-nfc 2901  df-ne 2952  df-ral 3075  df-rex 3076  df-rab 3079  df-v 3411  df-dif 3863  df-un 3865  df-in 3867  df-ss 3877  df-nul 4228  df-if 4424  df-sn 4526  df-pr 4528  df-op 4532  df-br 5037  df-opab 5099  df-xp 5534  df-rel 5535  df-cnv 5536  df-co 5537  df-dm 5538  df-rn 5539  df-res 5540
This theorem is referenced by:  trclublem  14415  trclubgNEW  40736  trclexi  40738  cnvtrcl0  40744  xpintrreld  40785  trrelsuperreldg  40787  trrelsuperrel2dg  40790
  Copyright terms: Public domain W3C validator