Require Export GeoCoq.Elements.OriginalProofs.lemma_collinearbetween.
Require Export GeoCoq.Elements.OriginalProofs.lemma_NChelper.
Require Export GeoCoq.Elements.OriginalProofs.lemma_NCorder.

Section Euclid.

Context `{Ax:euclidean_neutral_ruler_compass}.

Lemma lemma_parallelcollinear1 : 
   forall A B C c d, 
   TP A B c d -> BetS C c d ->
   TP A B C d.
Proof.
(* Goal: forall (A B C c d : @Point Ax0) (_ : @TP Ax0 A B c d) (_ : @BetS Ax0 C c d), @TP Ax0 A B C d *)
intros.
(* Goal: False *)
assert (Col C c d) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (neq C c) by (forward_using lemma_betweennotequal).
(* Goal: False *)
assert (neq c d) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (neq C d) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert ((neq A B /\ neq c d /\ ~ Meet A B c d /\ OS c d A B)) by (conclude_def TP ).
let Tf:=fresh in
assert (Tf:exists p q r, (Col A B p /\ Col A B r /\ BetS c p q /\ BetS d r q /\ nCol A B c /\ nCol A B d)) by (conclude_def OS );destruct Tf as [p[q[r]]];spliter.
(* Goal: @TP Ax0 A B C d *)
assert (BetS q r d) by (conclude axiom_betweennesssymmetry).
(* Goal: False *)
assert (Col C c d) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (Col c d C) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (BetS d c C) by (conclude axiom_betweennesssymmetry).
(* Goal: @TP Ax0 A B C d *)
assert (BetS q p c) by (conclude axiom_betweennesssymmetry).
(* Goal: @TP Ax0 A B C d *)
assert (~ eq p r).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
 {
(* Goal: not (@Meet Ax0 A B C d) *)
 intro.
(* Goal: @TP Ax0 A B C d *)
 assert (Col q r d) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
 assert (Col q p c) by (conclude_def Col ).
(* Goal: False *)
 assert (Col q p d) by (conclude cn_equalitysub).
(* Goal: False *)
 assert (neq q p) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (Col p c d) by (conclude lemma_collinear4).
(* Goal: False *)
 assert (Col c d p) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Meet A B c d) by (conclude_def Meet ).
(* Goal: False *)
 contradict.
 }
(* Goal: @TP Ax0 A B C d *)
assert (Col q p c) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (~ Col q d C).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
 {
(* Goal: not (@Meet Ax0 A B C d) *)
 intro.
(* Goal: False *)
 assert (Col d c C) by (conclude_def Col ).
(* Goal: False *)
 assert (Col C d c) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Col C d q) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
 assert (neq C d) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (Col d c q) by (conclude lemma_collinear4).
(* Goal: False *)
 assert (Col c q d) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Col c q p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
 assert (neq q c) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (neq c q) by (conclude lemma_inequalitysymmetric).
(* Goal: False *)
 assert (Col q d p) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
 assert (Col q r d) by (conclude_def Col ).
(* Goal: False *)
 assert (Col q d r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
 assert (neq q d) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (Col d p r) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
 assert (Col B p r) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
 assert (Col B A p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
 assert (Col B p A) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
 assert (Col B A r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
 assert (neq B A) by (conclude lemma_inequalitysymmetric).
(* Goal: @TP Ax0 A B C d *)
 assert (Col A p r) by (conclude lemma_collinear4).
(* Goal: False *)
 assert (~ neq B p).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
  {
(* Goal: not (@Meet Ax0 A B C d) *)
  intro.
(* Goal: False *)
  assert (Col p r A) by (conclude lemma_collinear4).
(* Goal: False *)
  assert (Col p r d) by (forward_using lemma_collinearorder).
(* Goal: False *)
  assert (Col r A d) by (conclude lemma_collinear4).
(* Goal: False *)
  assert (Col r A B) by (forward_using lemma_collinearorder).
(* Goal: False *)
  assert (~ neq r A).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
   {
(* Goal: not (@Meet Ax0 A B C d) *)
   intro.
(* Goal: False *)
   assert (Col A d B) by (conclude lemma_collinear4).
(* Goal: False *)
   assert (Col A B d) by (forward_using lemma_collinearorder).
(* Goal: False *)
   contradict.
   }
(* Goal: False *)
  assert (Col p A d) by (conclude cn_equalitysub).
(* Goal: False *)
  assert (Col p A B) by (forward_using lemma_collinearorder).
(* Goal: False *)
  assert (~ neq p A).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
   {
(* Goal: not (@Meet Ax0 A B C d) *)
   intro.
(* Goal: False *)
   assert (Col A d B) by (conclude lemma_collinear4).
(* Goal: False *)
   assert (Col A B d) by (forward_using lemma_collinearorder).
(* Goal: False *)
   contradict.
   }
(* Goal: False *)
  assert (eq A p) by (conclude lemma_equalitysymmetric).
(* Goal: False *)
  assert (eq r p) by (conclude cn_equalitytransitive).
(* Goal: False *)
  assert (Col q p d) by (conclude cn_equalitysub).
(* Goal: False *)
  assert (neq q p) by (forward_using lemma_betweennotequal).
(* Goal: False *)
  assert (Col p c d) by (conclude lemma_collinear4).
(* Goal: False *)
  assert (Col c d p) by (forward_using lemma_collinearorder).
(* Goal: False *)
  assert (Meet A B c d) by (conclude_def Meet ).
(* Goal: False *)
  contradict.
  }
(* Goal: False *)
 assert (neq A p) by (conclude cn_equalitysub).
(* Goal: @TP Ax0 A B C d *)
 assert (Col A p B) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (~ eq r A).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
  {
(* Goal: not (@Meet Ax0 A B C d) *)
  intro.
(* Goal: False *)
  assert (Col d p A) by (conclude cn_equalitysub).
(* Goal: False *)
  assert (Col d B A) by (conclude cn_equalitysub).
(* Goal: False *)
  assert (Col A B d) by (forward_using lemma_collinearorder).
(* Goal: False *)
  contradict.
  }
(* Goal: False *)
 assert (Col r A B) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Col d B r) by (conclude cn_equalitysub).
(* Goal: False *)
 assert (Col r B d) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Col r B A) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (~ neq r B).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
  {
(* Goal: not (@Meet Ax0 A B C d) *)
  intro.
(* Goal: False *)
  assert (Col B d A) by (conclude lemma_collinear4).
(* Goal: False *)
  assert (Col A B d) by (forward_using lemma_collinearorder).
(* Goal: False *)
  contradict.
  }
(* Goal: False *)
 assert (eq B r) by (conclude lemma_equalitysymmetric).
(* Goal: False *)
 assert (eq p B) by (conclude lemma_equalitysymmetric).
(* Goal: False *)
 assert (eq p r) by (conclude cn_equalitytransitive).
(* Goal: False *)
 contradict.
 }
let Tf:=fresh in
assert (Tf:exists E, (BetS q E c /\ BetS C E r)) by (conclude postulate_Pasch_inner);destruct Tf as [E];spliter.
(* Goal: @TP Ax0 A B C d *)
assert (BetS r E C) by (conclude axiom_betweennesssymmetry).
(* Goal: @TP Ax0 A B C d *)
assert (Col q E c) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (Col q c p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col q c E) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (neq q c) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (Col c p E) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col c E p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (neq r p) by (conclude lemma_inequalitysymmetric).
let Tf:=fresh in
assert (Tf:exists J, (BetS r p J /\ Cong p J r p)) by (conclude lemma_extension);destruct Tf as [J];spliter.
(* Goal: @TP Ax0 A B C d *)
assert (BetS J p r) by (conclude axiom_betweennesssymmetry).
(* Goal: @TP Ax0 A B C d *)
assert (Col J p r) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (neq J r) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (neq p r) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (neq J p) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (Col B p r) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col B A p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B A r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (neq B A) by (conclude lemma_inequalitysymmetric).
(* Goal: @TP Ax0 A B C d *)
assert (Col A p r) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col p r A) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col p r B) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (~ Meet C d J r).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
 {
(* Goal: not (@Meet Ax0 A B C d) *)
 intro.
 let Tf:=fresh in
 assert (Tf:exists K, (neq C d /\ neq J r /\ Col C d K /\ Col J r K)) by (conclude_def Meet );destruct Tf as [K];spliter.
(* Goal: False *)
 assert (Col C c d) by (conclude_def Col ).
(* Goal: False *)
 assert (Col C d c) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (neq c d) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (neq d c) by (conclude lemma_inequalitysymmetric).
(* Goal: False *)
 assert (Col d c K) by (conclude lemma_collinear4).
(* Goal: False *)
 assert (Col c d K) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Col r p J) by (conclude_def Col ).
(* Goal: False *)
 assert (Col r J p) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (neq r J) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (Col r J K) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Col J p K) by (conclude lemma_collinear4).
(* Goal: False *)
 assert (Col J p r) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (neq p J) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (neq J p) by (conclude lemma_inequalitysymmetric).
(* Goal: False *)
 assert (Col p K r) by (conclude lemma_collinear4).
(* Goal: False *)
 assert (Col p r K) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Col A B K) by (conclude lemma_collinear5).
(* Goal: False *)
 assert (Meet A B c d) by (conclude_def Meet ).
(* Goal: False *)
 contradict.
 }
(* Goal: @TP Ax0 A B C d *)
assert (BetS c E p) by (conclude lemma_collinearbetween).
(* Goal: @TP Ax0 A B C d *)
assert (BetS p E c) by (conclude axiom_betweennesssymmetry).
(* Goal: @TP Ax0 A B C d *)
assert (BetS q p E) by (conclude axiom_innertransitivity).
(* Goal: @TP Ax0 A B C d *)
assert (nCol p r c) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (nCol p c r) by (forward_using lemma_NCorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col q p c) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (Col p c q) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (eq c c) by (conclude cn_equalityreflexive).
(* Goal: @TP Ax0 A B C d *)
assert (Col p c c) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (neq q c) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (nCol q c r) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (nCol q r c) by (forward_using lemma_NCorder).
(* Goal: @TP Ax0 A B C d *)
assert (neq q d) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (Col q r d) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (eq q q) by (conclude cn_equalityreflexive).
(* Goal: @TP Ax0 A B C d *)
assert (Col q r q) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (nCol q d c) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (nCol d c q) by (forward_using lemma_NCorder).
(* Goal: False *)
assert (Col C c d) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (Col d c C) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (eq d d) by (conclude cn_equalityreflexive).
(* Goal: @TP Ax0 A B C d *)
assert (Col d c d) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (neq C d) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (neq d C) by (conclude lemma_inequalitysymmetric).
(* Goal: @TP Ax0 A B C d *)
assert (nCol d C q) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (nCol d q C) by (forward_using lemma_NCorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col q r d) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (Col d q r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col d q q) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (~ eq r C).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
 {
(* Goal: not (@Meet Ax0 A B C d) *)
 intro.
(* Goal: False *)
 assert (Col A B C) by (conclude cn_equalitysub).
(* Goal: False *)
 assert (Meet A B c d) by (conclude_def Meet ).
(* Goal: False *)
 contradict.
 }
(* Goal: @TP Ax0 A B C d *)
assert (~ eq r q).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
 {
(* Goal: not (@Meet Ax0 A B C d) *)
 intro.
(* Goal: False *)
 assert (Col r q c) by (conclude_def Col ).
(* Goal: False *)
 assert (Col q r c) by (forward_using lemma_collinearorder).
(* Goal: False *)
 contradict.
 }
(* Goal: @TP Ax0 A B C d *)
assert (nCol r q C) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (nCol r C q) by (forward_using lemma_NCorder).
(* Goal: @TP Ax0 A B C d *)
assert (BetS r E C) by (conclude axiom_betweennesssymmetry).
let Tf:=fresh in
assert (Tf:exists F, (BetS q F C /\ BetS r p F)) by (conclude postulate_Pasch_outer);destruct Tf as [F];spliter.
(* Goal: @TP Ax0 A B C d *)
assert (BetS C F q) by (conclude axiom_betweennesssymmetry).
(* Goal: @TP Ax0 A B C d *)
assert (Col r p F) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (Col r p A) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col r p B) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col A B F) by (conclude lemma_collinear5).
(* Goal: @TP Ax0 A B C d *)
assert (eq r r) by (conclude cn_equalityreflexive).
(* Goal: @TP Ax0 A B C d *)
assert (Col d q r) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (neq q r) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (nCol q r C) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (nCol q C r) by (forward_using lemma_NCorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col q F C) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (Col q C F) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (eq C C) by (conclude cn_equalityreflexive).
(* Goal: @TP Ax0 A B C d *)
assert (Col q C C) by (conclude_def Col ).
(* Goal: @TP Ax0 A B C d *)
assert (neq F C) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (nCol F C r) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (nCol F r C) by (forward_using lemma_NCorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B r p) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col B p r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B p A) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B A r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B A p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col A r p) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col p r A) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col p r F) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (neq p r) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (Col r A F) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col F r A) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B A r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B A p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col A r p) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col A p r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col A p B) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col A B r) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col A B p) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col B r p) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col p r B) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (Col r B F) by (conclude lemma_collinear4).
(* Goal: @TP Ax0 A B C d *)
assert (Col F r B) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
assert (nCol A B C) by (conclude lemma_NChelper).
(* Goal: @TP Ax0 A B C d *)
assert (TS C A B q) by (conclude_def TS ).
(* Goal: @TP Ax0 A B C d *)
assert (OS C d A B) by (conclude_def OS ).
(* Goal: @TP Ax0 A B C d *)
assert (~ Meet A B C d).
(* Goal: not (@Meet Ax0 A B C d) *)
(* Goal: @TP Ax0 A B C d *)
 {
(* Goal: not (@Meet Ax0 A B C d) *)
 intro.
 let Tf:=fresh in
 assert (Tf:exists K, (neq A B /\ neq C d /\ Col A B K /\ Col C d K)) by (conclude_def Meet );destruct Tf as [K];spliter.
(* Goal: False *)
 assert (Col C c d) by (conclude_def Col ).
(* Goal: False *)
 assert (Col C d c) by (forward_using lemma_collinearorder).
(* Goal: @TP Ax0 A B C d *)
 assert (neq C d) by (forward_using lemma_betweennotequal).
(* Goal: False *)
 assert (Col d c K) by (conclude lemma_collinear4).
(* Goal: False *)
 assert (Col c d K) by (forward_using lemma_collinearorder).
(* Goal: False *)
 assert (Meet A B c d) by (conclude_def Meet ).
(* Goal: False *)
 contradict.
 }
(* Goal: @TP Ax0 A B C d *)
assert (neq C d) by (forward_using lemma_betweennotequal).
(* Goal: @TP Ax0 A B C d *)
assert (TP A B C d) by (conclude_def TP ).
(* Goal: @TP Ax0 A B C d *)
close.
Qed.

End Euclid.


