intros x work ds ni1 ni2 ai a context min.
unfold nminimal in |- *.
intros c k k_is_mon k_forces_ngamma in_c.
apply min; try assumption.
apply forces_ngamma_shift_ni_x_ni_work; assumption.
Qed.

Lemma nminimal_shift_ni_x_ni_work :
forall (x : nested_imp) (work : nf_list) (ds : disjs)
(ni1 ni2 : nested_imps) (ai : atomic_imps) (a : atoms)
(context : flist),
nminimal work ds (ni1 ++ x :: ni2) ai a context ->
nminimal (NImp_NF (nested_imp2nimp x) :: work) ds (ni1 ++ ni2) ai a context.