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

Theorem relcnvtrg 6170
Description: General form of relcnvtr 6171. (Contributed by Peter Mazsa, 17-Oct-2023.)
Assertion
Ref Expression
relcnvtrg ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → ((𝑅𝑆) ⊆ 𝑇 ↔ (𝑆𝑅) ⊆ 𝑇))

Proof of Theorem relcnvtrg
StepHypRef Expression
1 cnvco 5794 . . 3 (𝑅𝑆) = (𝑆𝑅)
2 cnvss 5781 . . 3 ((𝑅𝑆) ⊆ 𝑇(𝑅𝑆) ⊆ 𝑇)
31, 2eqsstrrid 3970 . 2 ((𝑅𝑆) ⊆ 𝑇 → (𝑆𝑅) ⊆ 𝑇)
4 cnvco 5794 . . . 4 (𝑆𝑅) = (𝑅𝑆)
5 cnvss 5781 . . . 4 ((𝑆𝑅) ⊆ 𝑇(𝑆𝑅) ⊆ 𝑇)
6 sseq1 3946 . . . . 5 ((𝑆𝑅) = (𝑅𝑆) → ((𝑆𝑅) ⊆ 𝑇 ↔ (𝑅𝑆) ⊆ 𝑇))
7 dfrel2 6092 . . . . . . . . . 10 (Rel 𝑅𝑅 = 𝑅)
87biimpi 215 . . . . . . . . 9 (Rel 𝑅𝑅 = 𝑅)
983ad2ant1 1132 . . . . . . . 8 ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → 𝑅 = 𝑅)
10 dfrel2 6092 . . . . . . . . . 10 (Rel 𝑆𝑆 = 𝑆)
1110biimpi 215 . . . . . . . . 9 (Rel 𝑆𝑆 = 𝑆)
12113ad2ant2 1133 . . . . . . . 8 ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → 𝑆 = 𝑆)
139, 12coeq12d 5773 . . . . . . 7 ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → (𝑅𝑆) = (𝑅𝑆))
14 dfrel2 6092 . . . . . . . . 9 (Rel 𝑇𝑇 = 𝑇)
1514biimpi 215 . . . . . . . 8 (Rel 𝑇𝑇 = 𝑇)
16153ad2ant3 1134 . . . . . . 7 ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → 𝑇 = 𝑇)
1713, 16sseq12d 3954 . . . . . 6 ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → ((𝑅𝑆) ⊆ 𝑇 ↔ (𝑅𝑆) ⊆ 𝑇))
1817biimpcd 248 . . . . 5 ((𝑅𝑆) ⊆ 𝑇 → ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → (𝑅𝑆) ⊆ 𝑇))
196, 18syl6bi 252 . . . 4 ((𝑆𝑅) = (𝑅𝑆) → ((𝑆𝑅) ⊆ 𝑇 → ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → (𝑅𝑆) ⊆ 𝑇)))
204, 5, 19mpsyl 68 . . 3 ((𝑆𝑅) ⊆ 𝑇 → ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → (𝑅𝑆) ⊆ 𝑇))
2120com12 32 . 2 ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → ((𝑆𝑅) ⊆ 𝑇 → (𝑅𝑆) ⊆ 𝑇))
223, 21impbid2 225 1 ((Rel 𝑅 ∧ Rel 𝑆 ∧ Rel 𝑇) → ((𝑅𝑆) ⊆ 𝑇 ↔ (𝑆𝑅) ⊆ 𝑇))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  w3a 1086   = wceq 1539  wss 3887  ccnv 5588  ccom 5593  Rel wrel 5594
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598
This theorem is referenced by:  relcnvtr  6171
  Copyright terms: Public domain W3C validator