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

Theorem lnhl 29074
Description: Either a point 𝐶 on the line AB is on the same side as 𝐴 or on the opposite side. (Contributed by Thierry Arnoux, 21-Sep-2020.)
Hypotheses
Ref Expression
ishlg.p 𝑃 = (Base‘𝐺)
ishlg.i 𝐼 = (Itv‘𝐺)
ishlg.k 𝐾 = (hlG‘𝐺)
ishlg.a (𝜑 → 𝐴 ∈ 𝑃)
ishlg.b (𝜑 → 𝐵 ∈ 𝑃)
ishlg.c (𝜑 → 𝐶 ∈ 𝑃)
hlln.1 (𝜑 → 𝐺 ∈ TarskiG)
hltr.d (𝜑 → 𝐷 ∈ 𝑃)
lnhl.l 𝐿 = (LineG‘𝐺)
lnhl.1 (𝜑 → 𝐶 ∈ (𝐴𝐿𝐵))
Assertion
Ref Expression
lnhl (𝜑 → (𝐶(𝐾‘𝐵)𝐴 ∨ 𝐵 ∈ (𝐴𝐼𝐶)))

Proof of Theorem lnhl
StepHypRef Expression
1 simpr 490 . . . 4 ((𝜑 ∧ 𝐶 = 𝐵) → 𝐶 = 𝐵)
2 ishlg.p . . . . . 6 𝑃 = (Base‘𝐺)
3 eqid 2761 . . . . . 6 (dist‘𝐺) = (dist‘𝐺)
4 ishlg.i . . . . . 6 𝐼 = (Itv‘𝐺)
5 hlln.1 . . . . . 6 (𝜑 → 𝐺 ∈ TarskiG)
6 ishlg.a . . . . . 6 (𝜑 → 𝐴 ∈ 𝑃)
7 ishlg.c . . . . . 6 (𝜑 → 𝐶 ∈ 𝑃)
82, 3, 4, 5, 6, 7tgbtwntriv2 28943 . . . . 5 (𝜑 → 𝐶 ∈ (𝐴𝐼𝐶))
98adantr 486 . . . 4 ((𝜑 ∧ 𝐶 = 𝐵) → 𝐶 ∈ (𝐴𝐼𝐶))
101, 9eqeltrrd 2862 . . 3 ((𝜑 ∧ 𝐶 = 𝐵) → 𝐵 ∈ (𝐴𝐼𝐶))
1110olcd 888 . 2 ((𝜑 ∧ 𝐶 = 𝐵) → (𝐶(𝐾‘𝐵)𝐴 ∨ 𝐵 ∈ (𝐴𝐼𝐶)))
12 lnhl.1 . . . . . 6 (𝜑 → 𝐶 ∈ (𝐴𝐿𝐵))
13 lnhl.l . . . . . . 7 𝐿 = (LineG‘𝐺)
14 ishlg.b . . . . . . 7 (𝜑 → 𝐵 ∈ 𝑃)
152, 13, 4, 5, 6, 14, 12tglngne 29006 . . . . . . 7 (𝜑 → 𝐴 ≠ 𝐵)
162, 13, 4, 5, 6, 14, 15, 7tgellng 29009 . . . . . 6 (𝜑 → (𝐶 ∈ (𝐴𝐿𝐵) ↔ (𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵) ∨ 𝐵 ∈ (𝐴𝐼𝐶))))
1712, 16mpbid 235 . . . . 5 (𝜑 → (𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵) ∨ 𝐵 ∈ (𝐴𝐼𝐶)))
18 df-3or 1104 . . . . 5 ((𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵) ∨ 𝐵 ∈ (𝐴𝐼𝐶)) ↔ ((𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵)) ∨ 𝐵 ∈ (𝐴𝐼𝐶)))
1917, 18sylib 221 . . . 4 (𝜑 → ((𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵)) ∨ 𝐵 ∈ (𝐴𝐼𝐶)))
2019adantr 486 . . 3 ((𝜑 ∧ 𝐶 ≠ 𝐵) → ((𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵)) ∨ 𝐵 ∈ (𝐴𝐼𝐶)))
21 ishlg.k . . . . . . . 8 𝐾 = (hlG‘𝐺)
222, 4, 21, 7, 6, 14, 5ishlg 29061 . . . . . . 7 (𝜑 → (𝐶(𝐾‘𝐵)𝐴 ↔ (𝐶 ≠ 𝐵 ∧ 𝐴 ≠ 𝐵 ∧ (𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶)))))
2322adantr 486 . . . . . 6 ((𝜑 ∧ 𝐶 ≠ 𝐵) → (𝐶(𝐾‘𝐵)𝐴 ↔ (𝐶 ≠ 𝐵 ∧ 𝐴 ≠ 𝐵 ∧ (𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶)))))
24 df-3an 1105 . . . . . 6 ((𝐶 ≠ 𝐵 ∧ 𝐴 ≠ 𝐵 ∧ (𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶))) ↔ ((𝐶 ≠ 𝐵 ∧ 𝐴 ≠ 𝐵) ∧ (𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶))))
2523, 24bitrdi 290 . . . . 5 ((𝜑 ∧ 𝐶 ≠ 𝐵) → (𝐶(𝐾‘𝐵)𝐴 ↔ ((𝐶 ≠ 𝐵 ∧ 𝐴 ≠ 𝐵) ∧ (𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶)))))
2615anim1ci 628 . . . . . 6 ((𝜑 ∧ 𝐶 ≠ 𝐵) → (𝐶 ≠ 𝐵 ∧ 𝐴 ≠ 𝐵))
2726biantrurd 542 . . . . 5 ((𝜑 ∧ 𝐶 ≠ 𝐵) → ((𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶)) ↔ ((𝐶 ≠ 𝐵 ∧ 𝐴 ≠ 𝐵) ∧ (𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶)))))
285adantr 486 . . . . . . 7 ((𝜑 ∧ 𝐶 ≠ 𝐵) → 𝐺 ∈ TarskiG)
2914adantr 486 . . . . . . 7 ((𝜑 ∧ 𝐶 ≠ 𝐵) → 𝐵 ∈ 𝑃)
307adantr 486 . . . . . . 7 ((𝜑 ∧ 𝐶 ≠ 𝐵) → 𝐶 ∈ 𝑃)
316adantr 486 . . . . . . 7 ((𝜑 ∧ 𝐶 ≠ 𝐵) → 𝐴 ∈ 𝑃)
322, 3, 4, 28, 29, 30, 31tgbtwncomb 28945 . . . . . 6 ((𝜑 ∧ 𝐶 ≠ 𝐵) → (𝐶 ∈ (𝐵𝐼𝐴) ↔ 𝐶 ∈ (𝐴𝐼𝐵)))
332, 3, 4, 28, 29, 31, 30tgbtwncomb 28945 . . . . . 6 ((𝜑 ∧ 𝐶 ≠ 𝐵) → (𝐴 ∈ (𝐵𝐼𝐶) ↔ 𝐴 ∈ (𝐶𝐼𝐵)))
3432, 33orbi12d 932 . . . . 5 ((𝜑 ∧ 𝐶 ≠ 𝐵) → ((𝐶 ∈ (𝐵𝐼𝐴) ∨ 𝐴 ∈ (𝐵𝐼𝐶)) ↔ (𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵))))
3525, 27, 343bitr2d 310 . . . 4 ((𝜑 ∧ 𝐶 ≠ 𝐵) → (𝐶(𝐾‘𝐵)𝐴 ↔ (𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵))))
3635orbi1d 930 . . 3 ((𝜑 ∧ 𝐶 ≠ 𝐵) → ((𝐶(𝐾‘𝐵)𝐴 ∨ 𝐵 ∈ (𝐴𝐼𝐶)) ↔ ((𝐶 ∈ (𝐴𝐼𝐵) ∨ 𝐴 ∈ (𝐶𝐼𝐵)) ∨ 𝐵 ∈ (𝐴𝐼𝐶))))
3720, 36mpbird 260 . 2 ((𝜑 ∧ 𝐶 ≠ 𝐵) → (𝐶(𝐾‘𝐵)𝐴 ∨ 𝐵 ∈ (𝐴𝐼𝐶)))
3811, 37pm2.61dane 3043 1 (𝜑 → (𝐶(𝐾‘𝐵)𝐴 ∨ 𝐵 ∈ (𝐴𝐼𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∨ w3o 1102   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145   ≠ wne 2956   class class class wbr 5103  ‘cfv 6537  (class class class)co 7418  Basecbs 17380  distcds 17430  TarskiGcstrkg 28882  Itvcitv 28888  LineGclng 28889  hlGchlg 29056
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-oprab 7422  df-mpo 7423  df-1st 7999  df-2nd 8000  df-trkgc 28903  df-trkgb 28904  df-trkgcb 28905  df-trkg 28908  df-hlg 29057
This theorem is used by:  hlpasch  29227  lnincplng  29255  tgaaddcpbllem3  29344  tgaaddcpbl2  29346  angmgmaddov1lem  29379  angmgmaddov2lem  29380  angmgmaddrid  29386
  Copyright terms: Public domain W3C validator