Definition bs_of_cfg := fst cfg.Definition share_of_cfg := fst (snd cfg).Definition fl_of_cfg := fst (snd (snd cfg)).Definition cnt_of_cfg := fst (snd (snd (snd cfg))).Definition negm_of_cfg := fst (snd (snd (snd (snd cfg)))).Definition orm_of_cfg := fst (snd (snd (snd (snd (snd cfg))))).Definition um_of_cfg := snd (snd (snd (snd (snd (snd cfg))))).

Lemma nodes_preserved_or_memo_OK : forall (bs bs' : BDDstate) (orm : BDDor_memo), nodes_preserved_bs bs bs' -> BDDstate_OK bs -> BDDstate_OK bs' -> BDDor_memo_OK bs orm -> BDDor_memo_OK bs' orm.