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

Theorem codir 6127
Description: Two ways of saying a relation is directed. (Contributed by Mario Carneiro, 22-Nov-2013.)
Assertion
Ref Expression
codir ((𝐴 × 𝐵) ⊆ (◡𝑅 ∘ 𝑅) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐵,𝑦,𝑧   𝑥,𝑅,𝑦,𝑧

Proof of Theorem codir
StepHypRef Expression
1 opelxp 5692 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵))
2 df-br 5107 . . . . 5 (𝑥(◡𝑅 ∘ 𝑅)𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ (◡𝑅 ∘ 𝑅))
3 brcodir 6126 . . . . . 6 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑥(◡𝑅 ∘ 𝑅)𝑦 ↔ ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧)))
43el2v 3461 . . . . 5 (𝑥(◡𝑅 ∘ 𝑅)𝑦 ↔ ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧))
52, 4bitr3i 280 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (◡𝑅 ∘ 𝑅) ↔ ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧))
61, 5imbi12i 353 . . 3 ((⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (◡𝑅 ∘ 𝑅)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧)))
762albii 1853 . 2 (∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (◡𝑅 ∘ 𝑅)) ↔ ∀𝑥∀𝑦((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧)))
8 relxp 5674 . . 3 Rel (𝐴 × 𝐵)
9 ssrel 5765 . . 3 (Rel (𝐴 × 𝐵) → ((𝐴 × 𝐵) ⊆ (◡𝑅 ∘ 𝑅) ↔ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (◡𝑅 ∘ 𝑅))))
108, 9ax-mp 5 . 2 ((𝐴 × 𝐵) ⊆ (◡𝑅 ∘ 𝑅) ↔ ∀𝑥∀𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (◡𝑅 ∘ 𝑅)))
11 r2al 3202 . 2 (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧) ↔ ∀𝑥∀𝑦((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐵) → ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧)))
127, 10, 113bitr4i 306 1 ((𝐴 × 𝐵) ⊆ (◡𝑅 ∘ 𝑅) ↔ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐵 ∃𝑧(𝑥𝑅𝑧 ∧ 𝑦𝑅𝑧))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  Vcvv 3454   ⊆ wss 3900  ⟨cop 4838   class class class wbr 5106   × cxp 5654  ◡ccnv 5655   ∘ ccom 5660  Rel wrel 5661
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 5253  ax-pr 5396
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 4839  df-br 5107  df-opab 5172  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665
This theorem is used by:  dirge  18809  filnetlem3  37359
  Copyright terms: Public domain W3C validator