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_reachableBDDone : forall (bs : BDDstate) (node : ad), BDDstate_OK bs -> nodes_reachable bs BDDone node -> node = BDDone.