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

Theorem btwnhl 29225
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 2774 . . 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 29213 . . . . . . . 8 (𝜑 → (𝐴(𝐾‘𝐷)𝐵 ↔ (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴)))))
1714, 16mpbid 235 . . . . . . 7 (𝜑 → (𝐴 ≠ 𝐷 ∧ 𝐵 ≠ 𝐷 ∧ (𝐴 ∈ (𝐷𝐼𝐵) ∨ 𝐵 ∈ (𝐷𝐼𝐴))))
1817simp1d 1161 . . . . . 6 (𝜑 → 𝐴 ≠ 𝐷)
1918necomd 3025 . . . . 5 (𝜑 → 𝐷 ≠ 𝐴)
2019adantr 486 . . . 4 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ≠ 𝐴)
21 btwnhl.3 . . . . . 6 (𝜑 → 𝐷 ∈ (𝐴𝐼𝐶))
2221adantr 486 . . . . 5 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐴𝐼𝐶))
231, 2, 3, 5, 13, 9, 7, 22tgbtwncom 29096 . . . 4 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐴))
24 simpr 490 . . . 4 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐴 ∈ (𝐷𝐼𝐵))
251, 2, 3, 5, 7, 9, 13, 11, 20, 23, 24tgbtwnouttr 29105 . . 3 ((𝜑 ∧ 𝐴 ∈ (𝐷𝐼𝐵)) → 𝐷 ∈ (𝐶𝐼𝐵))
261, 2, 3, 5, 7, 9, 11, 25tgbtwncom 29096 . 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 29096 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐵 ∈ (𝐴𝐼𝐷))
3421adantr 486 . . 3 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐴𝐼𝐶))
351, 2, 3, 27, 28, 29, 30, 31, 33, 34tgbtwnexch3 29102 . 2 ((𝜑 ∧ 𝐵 ∈ (𝐷𝐼𝐴)) → 𝐷 ∈ (𝐵𝐼𝐶))
3617simp3d 1163 . 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 1104   = wceq 1572   ∈ wcel 2156   ≠ wne 2970   class class class wbr 5116  ‘cfv 6578  (class class class)co 7467  Basecbs 17452  distcds 17502  TarskiGcstrkg 29034  Itvcitv 29040  hlGchlg 29208
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-ov 7470  df-trkgc 29055  df-trkgb 29056  df-trkgcb 29057  df-trkg 29060  df-hlg 29209
This theorem is used by:  hlcgreulem  29228  opphllem5  29372  colhp  29393  cgrabtwn  29479  sacgr  29484  ragsupplcgra  29490  tgaaddcpbl  29497  inaghl  29509
  Copyright terms: Public domain W3C validator