rewrite > Hcut.exact smallest_factor_fact (nth_prime m).
(* maybe we could factorize this proof *)
apply plus_to_minus.
-apply le_minus_m.
apply plus_minus_m_m.
apply le_S_S.
apply le_n_fact_n.
rewrite < Hcut in \vdash (? % ?).
apply le_min_aux.
apply plus_to_minus.
-apply le_minus_m.
apply plus_minus_m_m.
apply le_S_S.
apply le_n_fact_n.
cut S (nth_prime n)!-(S (nth_prime n)! - (S (nth_prime n))) = (S (nth_prime n)).
rewrite > Hcut.assumption.
apply plus_to_minus.
-apply le_minus_m.
apply plus_minus_m_m.
apply le_S_S.
apply le_n_fact_n.