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

Theorem sotri3 5995
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
sotri3 ((𝐶𝑆𝐴𝑅𝐵 ∧ ¬ 𝐶𝑅𝐵) → 𝐴𝑅𝐶)

Proof of Theorem sotri3
StepHypRef Expression
1 soi.2 . . . . 5 𝑅 ⊆ (𝑆 × 𝑆)
21brel 5614 . . . 4 (𝐴𝑅𝐵 → (𝐴𝑆𝐵𝑆))
32simprd 499 . . 3 (𝐴𝑅𝐵𝐵𝑆)
4 soi.1 . . . . . . 7 𝑅 Or 𝑆
5 sotric 5496 . . . . . . 7 ((𝑅 Or 𝑆 ∧ (𝐶𝑆𝐵𝑆)) → (𝐶𝑅𝐵 ↔ ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
64, 5mpan 690 . . . . . 6 ((𝐶𝑆𝐵𝑆) → (𝐶𝑅𝐵 ↔ ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
76con2bid 358 . . . . 5 ((𝐶𝑆𝐵𝑆) → ((𝐶 = 𝐵𝐵𝑅𝐶) ↔ ¬ 𝐶𝑅𝐵))
8 breq2 5057 . . . . . . 7 (𝐶 = 𝐵 → (𝐴𝑅𝐶𝐴𝑅𝐵))
98biimprd 251 . . . . . 6 (𝐶 = 𝐵 → (𝐴𝑅𝐵𝐴𝑅𝐶))
104, 1sotri 5992 . . . . . . 7 ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
1110expcom 417 . . . . . 6 (𝐵𝑅𝐶 → (𝐴𝑅𝐵𝐴𝑅𝐶))
129, 11jaoi 857 . . . . 5 ((𝐶 = 𝐵𝐵𝑅𝐶) → (𝐴𝑅𝐵𝐴𝑅𝐶))
137, 12syl6bir 257 . . . 4 ((𝐶𝑆𝐵𝑆) → (¬ 𝐶𝑅𝐵 → (𝐴𝑅𝐵𝐴𝑅𝐶)))
1413com3r 87 . . 3 (𝐴𝑅𝐵 → ((𝐶𝑆𝐵𝑆) → (¬ 𝐶𝑅𝐵𝐴𝑅𝐶)))
153, 14mpan2d 694 . 2 (𝐴𝑅𝐵 → (𝐶𝑆 → (¬ 𝐶𝑅𝐵𝐴𝑅𝐶)))
16153imp21 1116 1 ((𝐶𝑆𝐴𝑅𝐵 ∧ ¬ 𝐶𝑅𝐵) → 𝐴𝑅𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 847  w3a 1089   = wceq 1543  wcel 2110  wss 3866   class class class wbr 5053   Or wor 5467   × cxp 5549
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-ext 2708  ax-sep 5192  ax-nul 5199  ax-pr 5322
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-sb 2071  df-clab 2715  df-cleq 2729  df-clel 2816  df-ral 3066  df-rex 3067  df-rab 3070  df-v 3410  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-nul 4238  df-if 4440  df-sn 4542  df-pr 4544  df-op 4548  df-br 5054  df-opab 5116  df-po 5468  df-so 5469  df-xp 5557
This theorem is referenced by:  archnq  10594
  Copyright terms: Public domain W3C validator