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

Theorem codir 5947
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 5555 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) ↔ (𝑥𝐴𝑦𝐵))
2 df-br 5031 . . . . 5 (𝑥(𝑅𝑅)𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅))
3 brcodir 5946 . . . . . 6 ((𝑥 ∈ V ∧ 𝑦 ∈ V) → (𝑥(𝑅𝑅)𝑦 ↔ ∃𝑧(𝑥𝑅𝑧𝑦𝑅𝑧)))
43el2v 3448 . . . . 5 (𝑥(𝑅𝑅)𝑦 ↔ ∃𝑧(𝑥𝑅𝑧𝑦𝑅𝑧))
52, 4bitr3i 280 . . . 4 (⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅) ↔ ∃𝑧(𝑥𝑅𝑧𝑦𝑅𝑧))
61, 5imbi12i 354 . . 3 ((⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅)) ↔ ((𝑥𝐴𝑦𝐵) → ∃𝑧(𝑥𝑅𝑧𝑦𝑅𝑧)))
762albii 1822 . 2 (∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅)) ↔ ∀𝑥𝑦((𝑥𝐴𝑦𝐵) → ∃𝑧(𝑥𝑅𝑧𝑦𝑅𝑧)))
8 relxp 5537 . . 3 Rel (𝐴 × 𝐵)
9 ssrel 5621 . . 3 (Rel (𝐴 × 𝐵) → ((𝐴 × 𝐵) ⊆ (𝑅𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅))))
108, 9ax-mp 5 . 2 ((𝐴 × 𝐵) ⊆ (𝑅𝑅) ↔ ∀𝑥𝑦(⟨𝑥, 𝑦⟩ ∈ (𝐴 × 𝐵) → ⟨𝑥, 𝑦⟩ ∈ (𝑅𝑅)))
11 r2al 3166 . 2 (∀𝑥𝐴𝑦𝐵𝑧(𝑥𝑅𝑧𝑦𝑅𝑧) ↔ ∀𝑥𝑦((𝑥𝐴𝑦𝐵) → ∃𝑧(𝑥𝑅𝑧𝑦𝑅𝑧)))
127, 10, 113bitr4i 306 1 ((𝐴 × 𝐵) ⊆ (𝑅𝑅) ↔ ∀𝑥𝐴𝑦𝐵𝑧(𝑥𝑅𝑧𝑦𝑅𝑧))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1536  wex 1781  wcel 2111  wral 3106  Vcvv 3441  wss 3881  cop 4531   class class class wbr 5030   × cxp 5517  ccnv 5518  ccom 5523  Rel wrel 5524
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-rex 3112  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-br 5031  df-opab 5093  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528
This theorem is referenced by:  dirge  17839  filnetlem3  33841
  Copyright terms: Public domain W3C validator