let V be RealLinearSpace; for p1, p2, p3 being Point of V holds
( not p1 in halfline (p2,p3) or p1 in LSeg (p2,p3) or p3 in LSeg (p2,p1) )
let p1, p2, p3 be Point of V; ( not p1 in halfline (p2,p3) or p1 in LSeg (p2,p3) or p3 in LSeg (p2,p1) )
assume
p1 in halfline (p2,p3)
; ( p1 in LSeg (p2,p3) or p3 in LSeg (p2,p1) )
then consider r being Real such that
A1:
p1 = ((1 - r) * p2) + (r * p3)
and
A2:
0 <= r
;
set s = 1 / r;
hence
( p1 in LSeg (p2,p3) or p3 in LSeg (p2,p1) )
; verum