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

Theorem cotr3 15174
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 3974 . 2 dom 𝑅 ⊆ 𝐴
3 cotr3.b . . . 4 𝐵 = (𝐴 ∩ 𝐶)
4 cotr3.c . . . . 5 𝐶 = ran 𝑅
51, 4ineq12i 4118 . . . 4 (𝐴 ∩ 𝐶) = (dom 𝑅 ∩ ran 𝑅)
63, 5eqtri 2786 . . 3 𝐵 = (dom 𝑅 ∩ ran 𝑅)
76eqimss2i 3974 . 2 (dom 𝑅 ∩ ran 𝑅) ⊆ 𝐵
84eqimss2i 3974 . 2 ran 𝑅 ⊆ 𝐶
92, 7, 8cotr2 15173 1 ((𝑅 ∘ 𝑅) ⊆ 𝑅 ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∀𝑧 ∈ 𝐶 ((𝑥𝑅𝑦 ∧ 𝑦𝑅𝑧) → 𝑥𝑅𝑧))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∀wral 3080   ⊆ wss 3900   ∩ cin 4092   class class class wbr 5108  dom cdm 5658  ran crn 5659   ∘ ccom 5662
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-br 5109  df-opab 5174  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator