intros w w'; generalize w; elim w'; clear w w'.
intros w'1 Hrec w; case w.
(* 1 *)
unfold Qpositive_le in |- *; simpl in |- *.
intros w1 H; generalize (Hrec w1 H).
unfold Qpositive_le' in |- *.
simpl in |- *.
case (Qpositive_i w1); case (Qpositive_i w'1).
intros p' q' p q Hle; repeat rewrite mult_plus_distr_r.
rewrite (mult_comm q').
apply plus_le_compat_r.
auto.
(* 1 *)
(* 2 *)
intros w1; unfold Qpositive_le in |- *.
simpl in |- *.
unfold Qpositive_le' in |- *; simpl in |- *; intros H; case (Qpositive_i w1);
case (Qpositive_i w'1); intros p' q' p q.
rewrite mult_plus_distr_r.
repeat rewrite <- (mult_comm (p + q)).
repeat rewrite mult_plus_distr_r.
rewrite (plus_comm (p * p' + q * p')).
repeat rewrite <- plus_assoc.
auto with arith.
(* 2 *)
(* Focus 3 *)
unfold Qpositive_le, Qpositive_le' in |- *.
simpl in |- *.
case (Qpositive_i w'1).
intros; omega.
(* 3 *)
intros w'1 Hrec w; case w; clear w; unfold Qpositive_le in |- *;
simpl in |- *.
(* 1 *)
intros q H; discriminate H.
(* 2 *)
intros w1 H; generalize (Hrec w1 H); unfold Qpositive_le' in |- *.
simpl in |- *; case (Qpositive_i w1); case (Qpositive_i w'1);
intros p' q' p q.
repeat rewrite (mult_comm p); repeat rewrite (mult_comm p');
repeat rewrite mult_plus_distr_r.
intros H1.
rewrite (mult_comm p').
apply plus_le_compat_l.
auto.
(* 3 *)
intros H; discriminate H.
unfold Qpositive_le, Qpositive_le' in |- *.
intros w; case w.
3: simpl in |- *; auto.
intros w1; simpl in |- *.
intros Heq; discriminate Heq.
intros w'; simpl in |- *.
case (Qpositive_i w').
intros; omega.
Qed.

(* Specifications: *)
Theorem Qpositive_le'_to_Qpositive_le :
forall w w' : Qpositive, Qpositive_le' w w' -> Qpositive_le w w'.