(** The three following lemmas constitute Omar Khayyam's Theorem (22.6) *)

Lemma t22_7__obtuse : forall A B C D P Q,
Saccheri A B C D ->
Bet B P C -> Bet A Q D ->
A <> Q -> B <> P -> P <> C ->
Per P Q A ->
Lt A B P Q ->
Obtuse A B C.