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

Theorem btwnhl 29087
Description: Swap betweenness for a half-line. (Contributed by Thierry Arnoux, 2-Mar-2020.)
Hypotheses
Ref Expression
ishlg.p 𝑃 = (Base‘𝐺)
ishlg.i 𝐼 = (Itv‘𝐺)
ishlg.k 𝐾 = (hlG‘𝐺)
ishlg.a (𝜑 → 𝐴 ∈ 𝑃)
ishlg.b (𝜑 → 𝐵 ∈ 𝑃)
ishlg.c (𝜑 → 𝐶 ∈ 𝑃)
hlln.1 (𝜑 → 𝐺 ∈ TarskiG)
hltr.d (𝜑 → 𝐷 ∈ 𝑃)
btwnhl.1 (𝜑 → 𝐴(𝐾‘𝐷)𝐵)
btwnhl.3 (𝜑 → 𝐷 ∈ (𝐴𝐼𝐶))
Assertion
Ref Expression
btwnhl (𝜑 → 𝐷 ∈ (𝐵𝐼𝐶))

Proof of Theorem btwnhl
StepHypRef Expression
1 ishlg.p . . 3 𝑃 = (Base‘𝐺)
2 eqid 2760 . . 3 (dist‘𝐺) = (dist‘𝐺)
3 ishlg.i . . 3 𝐼 = (Itv‘𝐺)
4 hlln.1 . . . 4 (𝜑 → 𝐺 ∈ TarskiG)
54adantr 486 . . 3 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐺 ∈ TarskiG)
6 ishlg.c . . . 4 (𝜑 → 𝐶 ∈ 𝑃)
76adantr 486 . . 3 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐶 ∈ 𝑃)
8 hltr.d . . . 4 (𝜑 → 𝐷 ∈ 𝑃)
98adantr 486 . . 3 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ 𝑃)
10 ishlg.b . . . 4 (𝜑 → 𝐵 ∈ 𝑃)
1110adantr 486 . . 3 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐵 ∈ 𝑃)
12 ishlg.a . . . . 5 (𝜑 → 𝐴 ∈ 𝑃)
1312adantr 486 . . . 4 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ 𝑃)
14 btwnhl.1 . . . . . . . 8 (𝜑 → 𝐴(𝐾‘𝐷)𝐵)
15 ishlg.k . . . . . . . . 9 𝐾 = (hlG‘𝐺)
161, 3, 15, 12, 10, 8, 4ishlg 29075 . . . . . . . 8 (𝜑 → (𝐴(𝐾‘𝐷)𝐵 ↔ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴)))))
1714, 16mpbid 235 . . . . . . 7 (𝜑 → (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴))))
1817simp1d 1160 . . . . . 6 (𝜑 → 𝐴 ≠ 𝐷)
1918necomd 3010 . . . . 5 (𝜑 → 𝐷 ≠ 𝐴)
2019adantr 486 . . . 4 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ≠ 𝐴)
21 btwnhl.3 . . . . . 6 (𝜑 → 𝐷 ∈ (𝐴𝐼𝐶))
2221adantr 486 . . . . 5 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐴𝐼𝐶))
231, 2, 3, 5, 13, 9, 7, 22tgbtwncom 28958 . . . 4 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐴))
24 simpr 490 . . . 4 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ (𝐷𝐼𝐵))
251, 2, 3, 5, 7, 9, 13, 11, 20, 23, 24tgbtwnouttr 28967 . . 3 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐵))
261, 2, 3, 5, 7, 9, 11, 25tgbtwncom 28958 . 2 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐵𝐼𝐶))
274adantr 486 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐺 ∈ TarskiG)
2812adantr 486 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐴 ∈ 𝑃)
2910adantr 486 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ 𝑃)
308adantr 486 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ 𝑃)
316adantr 486 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐶 ∈ 𝑃)
32 simpr 490 . . . 4 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐷𝐼𝐴))
331, 2, 3, 27, 30, 29, 28, 32tgbtwncom 28958 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐴𝐼𝐷))
3421adantr 486 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐴𝐼𝐶))
351, 2, 3, 27, 28, 29, 30, 31, 33, 34tgbtwnexch3 28964 . 2 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐵𝐼𝐶))
3617simp3d 1162 . 2 (𝜑 → (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴)))
3726, 35, 36mpjaodan 973 1 (𝜑 → 𝐷 ∈ (𝐵𝐼𝐶))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955   class class class wbr 5102  ‘cfv 6541  (class class class)co 7422  Basecbs 17394  distcds 17444  TarskiGcstrkg 28896  Itvcitv 28902  hlGchlg 29070
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-ov 7425  df-trkgc 28917  df-trkgb 28918  df-trkgcb 28919  df-trkg 28922  df-hlg 29071
This theorem is used by:  hlcgreulem  29090  opphllem5  29234  colhp  29255  cgrabtwn  29341  sacgr  29346  ragsupplcgra  29352  tgaaddcpbl  29359  inaghl  29371
  Copyright terms: Public domain W3C validator