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

Theorem sotri3 5526
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 5168 . . . 4 (𝐴𝑅𝐵 → (𝐴𝑆𝐵𝑆))
32simprd 479 . . 3 (𝐴𝑅𝐵𝐵𝑆)
4 soi.1 . . . . . . 7 𝑅 Or 𝑆
5 sotric 5061 . . . . . . 7 ((𝑅 Or 𝑆 ∧ (𝐶𝑆𝐵𝑆)) → (𝐶𝑅𝐵 ↔ ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
64, 5mpan 706 . . . . . 6 ((𝐶𝑆𝐵𝑆) → (𝐶𝑅𝐵 ↔ ¬ (𝐶 = 𝐵𝐵𝑅𝐶)))
76con2bid 344 . . . . 5 ((𝐶𝑆𝐵𝑆) → ((𝐶 = 𝐵𝐵𝑅𝐶) ↔ ¬ 𝐶𝑅𝐵))
8 breq2 4657 . . . . . . 7 (𝐶 = 𝐵 → (𝐴𝑅𝐶𝐴𝑅𝐵))
98biimprd 238 . . . . . 6 (𝐶 = 𝐵 → (𝐴𝑅𝐵𝐴𝑅𝐶))
104, 1sotri 5523 . . . . . . 7 ((𝐴𝑅𝐵𝐵𝑅𝐶) → 𝐴𝑅𝐶)
1110expcom 451 . . . . . 6 (𝐵𝑅𝐶 → (𝐴𝑅𝐵𝐴𝑅𝐶))
129, 11jaoi 394 . . . . 5 ((𝐶 = 𝐵𝐵𝑅𝐶) → (𝐴𝑅𝐵𝐴𝑅𝐶))
137, 12syl6bir 244 . . . 4 ((𝐶𝑆𝐵𝑆) → (¬ 𝐶𝑅𝐵 → (𝐴𝑅𝐵𝐴𝑅𝐶)))
1413com3r 87 . . 3 (𝐴𝑅𝐵 → ((𝐶𝑆𝐵𝑆) → (¬ 𝐶𝑅𝐵𝐴𝑅𝐶)))
153, 14mpan2d 710 . 2 (𝐴𝑅𝐵 → (𝐶𝑆 → (¬ 𝐶𝑅𝐵𝐴𝑅𝐶)))
16153imp21 1277 1 ((𝐶𝑆𝐴𝑅𝐵 ∧ ¬ 𝐶𝑅𝐵) → 𝐴𝑅𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wo 383  wa 384  w3a 1037   = wceq 1483  wcel 1990  wss 3574   class class class wbr 4653   Or wor 5034   × cxp 5112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1038  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-br 4654  df-opab 4713  df-po 5035  df-so 5036  df-xp 5120
This theorem is referenced by:  archnq  9802
  Copyright terms: Public domain W3C validator