Section Book_1_part_2.
(** For the next 27 propositions, we do not need the 5th axiom of Euclid, nor any continuity axioms, except for Proposition 22, which needs Circle/Circle intersection axiom. *)
Context `{TnEQD:Tarski_neutral_dimensionless_with_decidable_point_equality}.
(** * Proposition 2 To place at a given point (as an extremity) a straight line equal to a given straight line. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container2"></div> # **)
(** * Proposition 3 Given two unequal straight lines, to cut off from the greater a straight line equal to the less. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container3"></div> # **)
(** * Proposition 4 If two triangles have the two sides equal to two sides respectively, and have the angles contained by the equal straight lines equal, they will also have the base equal to the base, the triangle will be equal to the triangle, and the remaining angles will be equal to the remaining angles respectively, namely those which the equal sides subtend. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container4"></div> # **)
(** * Proposition 5 In isosceles triangles the angles at the base are equal to one another, and, if the equal straight lines be produced further, the angles under the base will be equal to one another. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container5"></div> # **)
(** * Proposition 6 If in a triangle two angles be equal to one another, the sides which subtend the equal angles will also be equal to one another. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container6"></div> # **)
(** * Proposition 7 Given two straight lines constructed on a straight line (from its extremities) and meeting in a point, there cannot be constructed on the same straight line (from its extremities), and on the same side of it, two other straight lines meeting in another point and equal to the former two respectively, namely each to that which has the same extremity with it. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container7"></div> # **)
(** * Proposition 8 If two triangles have the two sides equal to two sides respectively, and have also the base equal to the base, they will also have the angles equal which are contained by the equal straight lines. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container8"></div> # **)
(** * Proposition 9 To bisect a given rectilineal angle. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container9"></div> # **)
(** * Proposition 10 To bisect a given finite straight line. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container10"></div> # **)
(** * Proposition 11 To draw a straight line at right angles to a given straight line from a given point on it. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container11"></div> # **)
(** * Proposition 12 To a given infinite straight line, from a given point which is not on it, to draw a perpendicular straight line. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container12"></div> # **)
(** * Proposition 13 If a straight line set up on a straight line make angles, it will make either two right angles or angles equal to two right angles. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container13"></div> # **)
(** * Proposition 14 If with any straight line, and at a point on it, two straight lines not lying on the same side make the adjacent angles equal to two right angles, the two straight lines will be in a straight line with one another. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container14"></div> # **)
(** * Proposition 15 If two straight lines cut one another, they make the vertical angles equal to one another. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container15"></div> # **)
(** * Proposition 16 In any triangle, if one of the sides is produced, the exterior angle is greater than either of the interior and opposite angles. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container16"></div> # **)
(** * Proposition 17 In any triangle two angles taken together in any manner are less than two right angles. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container17"></div> # **)
(** Here, the fact that the two angles are less than two right angles is described with the SAMS predicate, which means that they have a "sum at most straight", and the fact that their sum is not a straight line. *)
(** * Proposition 18 In any triangle the greater side subtends the greater angle. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container18"></div> # **)
(** * Proposition 19 In any triangle the greater angle is subtended by the greater side. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container19"></div> # **)
(** * Proposition 20 In any triangle two sides taken together in any manner are greater than the remaining one. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container20"></div> # **)
(** * Proposition 21 If on one of the sides of a triangle, from its extremities, there be constructed two straight lines meeting within the triangle, the straight lines so constructed will be less than the remaining two sides of the triangle, but will contain a greater angle. *)
(** # <div style="width:748px;height:397px;display:block" id="applet_container21"></div> # **)

Lemma prop_21_1 : forall A B C D, OS A B C D -> OS B C A D -> OS A C B D -> LtA B A C B D C.