intros work ds ni i b bs ai ai' a lookup equiv_ins.
apply In_Atomic_Imps with 0 (b :: bs).
generalize equiv_ins lookup; clear equiv_ins lookup.
elim ai; clear ai; intros t avl_t.
elim ai'; clear ai'; intros t' avl_t'.
simpl in |- *.
intros.
inversion_clear equiv_ins.
clear H1 H2.
apply H.
apply equal_refl.
assumption.
apply My_NthO.
Qed.

(* Specifications: *)
Lemma in_ngamma_ins_ai_rev :
forall (work : nf_list) (ds : disjs) (ni : nested_imps)
(i : Int) (b : normal_form) (ai ai' : atomic_imps)
(a : atoms) (c : normal_form),
EQUIV_INS nf_list i (cons b) nf_nil ai ai' ->
in_ngamma work ds ni ai' a c -> in_ngamma work ds ni ai a c + {c = AImp i b}.