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

Theorem cotr2 15137
Description: Two ways of saying a relation is transitive. Special instance of cotr2g 15136. (Contributed by RP, 22-Mar-2020.)
Hypotheses
Ref Expression
cotr2.a dom 𝑅 ⊆ 𝐴
cotr2.b (dom 𝑅 ∩ ran 𝑅) ⊆ 𝐵
cotr2.c ran 𝑅 ⊆ 𝐶
Assertion
Ref Expression
cotr2 ((𝑅 ∘ 𝑅) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐶 ((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧))
Distinct variable groups:   𝑥,𝑦,𝑧,𝑅   𝑥,𝐴,𝑦,𝑧   𝑦,𝐵,𝑧   𝑧,𝐶
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥, 𝑦)

Proof of Theorem cotr2
StepHypRef Expression
1 cotr2.a . 2 dom 𝑅 ⊆ 𝐴
2 incom 4105 . . 3 (dom 𝑅 ∩ ran 𝑅) = (ran 𝑅 ∩ dom 𝑅)
3 cotr2.b . . 3 (dom 𝑅 ∩ ran 𝑅) ⊆ 𝐵
42, 3eqsstrri 3956 . 2 (ran 𝑅 ∩ dom 𝑅) ⊆ 𝐵
5 cotr2.c . 2 ran 𝑅 ⊆ 𝐶
61, 4, 5cotr2g 15136 1 ((𝑅 ∘ 𝑅) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐶 ((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wral 3076   ⊆ wss 3896   ∩ cin 4088   class class class wbr 5102  dom cdm 5650  ran crn 5651   ∘ ccom 5654
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-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5390
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-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rab 3413  df-v 3452  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-br 5103  df-opab 5167  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661
This theorem is used by:  cotr3  15138
  Copyright terms: Public domain W3C validator