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

Theorem coeq0 6276
Description: A composition of two relations is empty iff there is no overlap between the range of the second and the domain of the first. Useful in combination with coundi 6267 and coundir 6268 to prune meaningless terms in the result. (Contributed by Stefan O'Rear, 8-Oct-2014.)
Assertion
Ref Expression
coeq0 ((𝐴 ∘ 𝐵) = ∅ ↔ (dom 𝐴 ∩ ran 𝐵) = ∅)

Proof of Theorem coeq0
StepHypRef Expression
1 relco 6122 . . 3 Rel (𝐴 ∘ 𝐵)
2 relrn0 5967 . . 3 (Rel (𝐴 ∘ 𝐵) → ((𝐴 ∘ 𝐵) = ∅ ↔ ran (𝐴 ∘ 𝐵) = ∅))
31, 2ax-mp 5 . 2 ((𝐴 ∘ 𝐵) = ∅ ↔ ran (𝐴 ∘ 𝐵) = ∅)
4 rnco 6272 . . 3 ran (𝐴 ∘ 𝐵) = ran (𝐴 ↾ ran 𝐵)
54eqeq1i 2768 . 2 (ran (𝐴 ∘ 𝐵) = ∅ ↔ ran (𝐴 ↾ ran 𝐵) = ∅)
6 relres 6012 . . . 4 Rel (𝐴 ↾ ran 𝐵)
7 reldm0 5922 . . . 4 (Rel (𝐴 ↾ ran 𝐵) → ((𝐴 ↾ ran 𝐵) = ∅ ↔ dom (𝐴 ↾ ran 𝐵) = ∅))
86, 7ax-mp 5 . . 3 ((𝐴 ↾ ran 𝐵) = ∅ ↔ dom (𝐴 ↾ ran 𝐵) = ∅)
9 relrn0 5967 . . . 4 (Rel (𝐴 ↾ ran 𝐵) → ((𝐴 ↾ ran 𝐵) = ∅ ↔ ran (𝐴 ↾ ran 𝐵) = ∅))
106, 9ax-mp 5 . . 3 ((𝐴 ↾ ran 𝐵) = ∅ ↔ ran (𝐴 ↾ ran 𝐵) = ∅)
11 dmres 6020 . . . . 5 dom (𝐴 ↾ ran 𝐵) = (ran 𝐵 ∩ dom 𝐴)
12 incom 4109 . . . . 5 (ran 𝐵 ∩ dom 𝐴) = (dom 𝐴 ∩ ran 𝐵)
1311, 12eqtri 2786 . . . 4 dom (𝐴 ↾ ran 𝐵) = (dom 𝐴 ∩ ran 𝐵)
1413eqeq1i 2768 . . 3 (dom (𝐴 ↾ ran 𝐵) = ∅ ↔ (dom 𝐴 ∩ ran 𝐵) = ∅)
158, 10, 143bitr3i 304 . 2 (ran (𝐴 ↾ ran 𝐵) = ∅ ↔ (dom 𝐴 ∩ ran 𝐵) = ∅)
163, 5, 153bitri 300 1 ((𝐴 ∘ 𝐵) = ∅ ↔ (dom 𝐴 ∩ ran 𝐵) = ∅)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ↔ wb 209   = wceq 1570   ∩ cin 4092  ∅c0 4281  dom cdm 5658  ran crn 5659   ↾ cres 5660   ∘ ccom 5662  Rel wrel 5663
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-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-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  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  df-res 5670
This theorem is used by:  coemptyd  15175  wrdpmtrlast  33753  diophrw  44036  relexpnul  44939
  Copyright terms: Public domain W3C validator