Section Tangency.
Context `{TnEQD:Tarski_neutral_dimensionless_with_decidable_point_equality}.
(** Euclid Book III, Prop 11 and Prop 12 We do not need to distinguish between internal or external tangency. *)
(** If two circles are tangent, the common point is on the line joining the centers. *)
(** A line going through the center is not tangent to the circle. *)
(** Every point on the tangent different from the point of tangency is strictly outside the circle. *)
(** If line AB is tangent to a circle of center O at a point T, then OT is perpendicular to AB. This is Euclid Book III, Prop 18 *)
(** AB is tangent to the circle (O,P) iff they intersect at a point X such that AB is perpendicular to OX. *)
(** Euclid Book III Prop 5 If two circles cut one another, then they do not have the same center. *)
(** Euclid Book III Prop 6 If two circles touch one another, then they do not have the same center. *)
(** Prop 17 construction of the tangent to a circle at a given point *)

(** Euclid Book III Prop 10 A circle does not cut a circle at more than two points. *)
Lemma cop_onc2__oreq : forall A B C D P Q,
InterCCAt A B C D P Q -> Coplanar A C P Q ->
forall Z, OnCircle Z A B -> OnCircle Z C D -> Coplanar A C P Z -> Z=P \/ Z=Q.