Hint Resolve perp_per_1 perp_per_2 perp_col perp_perp_in perp_in_perp : perp.
Section T8_5.
Context `{TnEQD:Tarski_neutral_dimensionless_with_decidable_point_equality}.

Lemma l8_24 : forall A B P Q R T,
Perp P A A B ->
Perp Q B A B ->
Col A B T ->
Bet P T Q ->
Bet B R Q ->
Cong A P B R ->
exists X, Midpoint X A B /\ Midpoint X P R.