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

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

Proof of Theorem cotr3
StepHypRef Expression
1 cotr3.a . . 3 𝐴 = dom 𝑅
21eqimss2i 3981 . 2 dom 𝑅 ⊆ 𝐴
3 cotr3.b . . . 4 𝐵 = (𝐴 ∩ 𝐶)
4 cotr3.c . . . . 5 𝐶 = ran 𝑅
51, 4ineq12i 4125 . . . 4 (𝐴 ∩ 𝐶) = (dom 𝑅 ∩ ran 𝑅)
63, 5eqtri 2797 . . 3 𝐵 = (dom 𝑅 ∩ ran 𝑅)
76eqimss2i 3981 . 2 (dom 𝑅 ∩ ran 𝑅) ⊆ 𝐵
84eqimss2i 3981 . 2 ran 𝑅 ⊆ 𝐶
92, 7, 8cotr2 15191 1 ((𝑅 ∘ 𝑅) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐶 ((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∀wral 3091   ⊆ wss 3907   ∩ cin 4099   class class class wbr 5116  dom cdm 5666  ran crn 5667   ∘ ccom 5670
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-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
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-clab 2753  df-cleq 2766  df-clel 2850  df-ral 3092  df-rab 3424  df-v 3463  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-br 5117  df-opab 5182  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator