(* Diophantus20.v *)
(****************************)
(* Diophantus' 20th problem *)
(****************************)
Require Export Descent.
Require Export Pythagorean.
(*************************)
(* Some auxiliary lemmas *)
(*************************)
(***********************)
(* Diophantus' problem *)
(***********************)

Lemma for_mba_pytha1: forall m n u v a b : Z,
u * u = m * m + n * n -> v * v = n * n - m * m -> u - v = 4 * (a * a) ->
u + v = 2 * (b * b) -> b * b * (b * b) + 2 * (a * a) * (2 * (a * a)) = n * n.