ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  sotritrieq GIF version

Theorem sotritrieq 4176
Description: A trichotomy relationship, given a trichotomous order. (Contributed by Jim Kingdon, 13-Dec-2019.)
Hypotheses
Ref Expression
sotritric.or 𝑅 Or 𝐴
sotritric.tri ((𝐵𝐴𝐶𝐴) → (𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵))
Assertion
Ref Expression
sotritrieq ((𝐵𝐴𝐶𝐴) → (𝐵 = 𝐶 ↔ ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))

Proof of Theorem sotritrieq
StepHypRef Expression
1 sotritric.or . . . . . . 7 𝑅 Or 𝐴
2 sonr 4168 . . . . . . 7 ((𝑅 Or 𝐴𝐵𝐴) → ¬ 𝐵𝑅𝐵)
31, 2mpan 416 . . . . . 6 (𝐵𝐴 → ¬ 𝐵𝑅𝐵)
4 breq2 3871 . . . . . . 7 (𝐵 = 𝐶 → (𝐵𝑅𝐵𝐵𝑅𝐶))
54notbid 630 . . . . . 6 (𝐵 = 𝐶 → (¬ 𝐵𝑅𝐵 ↔ ¬ 𝐵𝑅𝐶))
63, 5syl5ibcom 154 . . . . 5 (𝐵𝐴 → (𝐵 = 𝐶 → ¬ 𝐵𝑅𝐶))
7 breq1 3870 . . . . . . 7 (𝐵 = 𝐶 → (𝐵𝑅𝐵𝐶𝑅𝐵))
87notbid 630 . . . . . 6 (𝐵 = 𝐶 → (¬ 𝐵𝑅𝐵 ↔ ¬ 𝐶𝑅𝐵))
93, 8syl5ibcom 154 . . . . 5 (𝐵𝐴 → (𝐵 = 𝐶 → ¬ 𝐶𝑅𝐵))
106, 9jcad 302 . . . 4 (𝐵𝐴 → (𝐵 = 𝐶 → (¬ 𝐵𝑅𝐶 ∧ ¬ 𝐶𝑅𝐵)))
11 ioran 707 . . . 4 (¬ (𝐵𝑅𝐶𝐶𝑅𝐵) ↔ (¬ 𝐵𝑅𝐶 ∧ ¬ 𝐶𝑅𝐵))
1210, 11syl6ibr 161 . . 3 (𝐵𝐴 → (𝐵 = 𝐶 → ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))
1312adantr 271 . 2 ((𝐵𝐴𝐶𝐴) → (𝐵 = 𝐶 → ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))
14 sotritric.tri . . 3 ((𝐵𝐴𝐶𝐴) → (𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵))
15 3orrot 933 . . . . . . 7 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) ↔ (𝐵 = 𝐶𝐶𝑅𝐵𝐵𝑅𝐶))
16 3orcomb 936 . . . . . . 7 ((𝐵 = 𝐶𝐶𝑅𝐵𝐵𝑅𝐶) ↔ (𝐵 = 𝐶𝐵𝑅𝐶𝐶𝑅𝐵))
17 3orass 930 . . . . . . 7 ((𝐵 = 𝐶𝐵𝑅𝐶𝐶𝑅𝐵) ↔ (𝐵 = 𝐶 ∨ (𝐵𝑅𝐶𝐶𝑅𝐵)))
1815, 16, 173bitri 205 . . . . . 6 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) ↔ (𝐵 = 𝐶 ∨ (𝐵𝑅𝐶𝐶𝑅𝐵)))
1918biimpi 119 . . . . 5 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) → (𝐵 = 𝐶 ∨ (𝐵𝑅𝐶𝐶𝑅𝐵)))
2019orcomd 686 . . . 4 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) → ((𝐵𝑅𝐶𝐶𝑅𝐵) ∨ 𝐵 = 𝐶))
2120ord 681 . . 3 ((𝐵𝑅𝐶𝐵 = 𝐶𝐶𝑅𝐵) → (¬ (𝐵𝑅𝐶𝐶𝑅𝐵) → 𝐵 = 𝐶))
2214, 21syl 14 . 2 ((𝐵𝐴𝐶𝐴) → (¬ (𝐵𝑅𝐶𝐶𝑅𝐵) → 𝐵 = 𝐶))
2313, 22impbid 128 1 ((𝐵𝐴𝐶𝐴) → (𝐵 = 𝐶 ↔ ¬ (𝐵𝑅𝐶𝐶𝑅𝐵)))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wb 104  wo 667  w3o 926   = wceq 1296  wcel 1445   class class class wbr 3867   Or wor 4146
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 582  ax-in2 583  ax-io 668  ax-5 1388  ax-7 1389  ax-gen 1390  ax-ie1 1434  ax-ie2 1435  ax-8 1447  ax-10 1448  ax-11 1449  ax-i12 1450  ax-bndl 1451  ax-4 1452  ax-17 1471  ax-i9 1475  ax-ial 1479  ax-i5r 1480  ax-ext 2077
This theorem depends on definitions:  df-bi 116  df-3or 928  df-3an 929  df-tru 1299  df-nf 1402  df-sb 1700  df-clab 2082  df-cleq 2088  df-clel 2091  df-nfc 2224  df-ral 2375  df-v 2635  df-un 3017  df-sn 3472  df-pr 3473  df-op 3475  df-br 3868  df-po 4147  df-iso 4148
This theorem is referenced by:  distrlem4prl  7240  distrlem4pru  7241
  Copyright terms: Public domain W3C validator