(***************************************************************************)
(* Formalization of the Chou, Gao and Zhang's decision procedure.          *)
(* Julien Narboux (Julien@narboux.fr)                                      *)
(* LIX/INRIA FUTURS 2004-2006                                              *)
(* University of Strasbourg 2008-2009                                      *)
(***************************************************************************)
Require Export euclidean_constructions.
Require Export area_elimination_lemmas.
Require Export ratios_elimination_lemmas.
Require Export Classical.
Ltac cases_per A B C := elim (per_dec A B C);intros.

Lemma l_28_b_midpoint : forall O A B P Q,
mid_point O A B ->
2 * Py P O Q = Py P A Q + Py P B Q - 1/ 2 * Py A B A.