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

Theorem sotri2 5991
Description: A transitivity relation. (Read 𝐴𝐵 and 𝐵 < 𝐶 implies 𝐴 < 𝐶.) (Contributed by Mario Carneiro, 10-May-2013.)
Hypotheses
Ref Expression
soi.1 𝑅 Or 𝑆
soi.2 𝑅 ⊆ (𝑆 × 𝑆)
Assertion
Ref Expression
sotri2 ((𝐴𝑆 ∧ ¬ 𝐵𝑅𝐴𝐵𝑅𝐶) → 𝐴𝑅𝐶)

Proof of Theorem sotri2
StepHypRef Expression
1 soi.2 . . . . 5 𝑅 ⊆ (𝑆 × 𝑆)
21brel 5619 . . . 4 (𝐵𝑅𝐶 → (𝐵𝑆𝐶𝑆))
32simpld 497 . . 3 (𝐵𝑅𝐶𝐵𝑆)
4 soi.1 . . . . . . 7 𝑅 Or 𝑆
5 sotric 5503 . . . . . . 7 ((𝑅 Or 𝑆 ∧ (𝐵𝑆𝐴𝑆)) → (𝐵𝑅𝐴 ↔ ¬ (𝐵 = 𝐴𝐴𝑅𝐵)))
64, 5mpan 688 . . . . . 6 ((𝐵𝑆𝐴𝑆) → (𝐵𝑅𝐴 ↔ ¬ (𝐵 = 𝐴𝐴𝑅𝐵)))
76con2bid 357 . . . . 5 ((𝐵𝑆𝐴𝑆) → ((𝐵 = 𝐴𝐴𝑅𝐵) ↔ ¬ 𝐵𝑅𝐴))
8 breq1 5071 . . . . . . 7 (𝐵 = 𝐴 → (𝐵𝑅𝐶𝐴𝑅𝐶))
98biimpd 231 . . . . . 6 (𝐵 = 𝐴 → (𝐵𝑅𝐶𝐴𝑅𝐶))
104, 1sotri 5989 . . . . . . 7 ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
1110ex 415 . . . . . 6 (𝐴𝑅𝐵 → (𝐵𝑅𝐶𝐴𝑅𝐶))
129, 11jaoi 853 . . . . 5 ((𝐵 = 𝐴𝐴𝑅𝐵) → (𝐵𝑅𝐶𝐴𝑅𝐶))
137, 12syl6bir 256 . . . 4 ((𝐵𝑆𝐴𝑆) → (¬ 𝐵𝑅𝐴 → (𝐵𝑅𝐶𝐴𝑅𝐶)))
1413com3r 87 . . 3 (𝐵𝑅𝐶 → ((𝐵𝑆𝐴𝑆) → (¬ 𝐵𝑅𝐴𝐴𝑅𝐶)))
153, 14mpand 693 . 2 (𝐵𝑅𝐶 → (𝐴𝑆 → (¬ 𝐵𝑅𝐴𝐴𝑅𝐶)))
16153imp231 1109 1 ((𝐴𝑆 ∧ ¬ 𝐵𝑅𝐴𝐵𝑅𝐶) → 𝐴𝑅𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  wo 843  w3a 1083   = wceq 1537  wcel 2114  wss 3938   class class class wbr 5068   Or wor 5475   × cxp 5555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pr 5332
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069  df-opab 5131  df-po 5476  df-so 5477  df-xp 5563
This theorem is referenced by:  supsrlem  10535
  Copyright terms: Public domain W3C validator