Section Components.
Variable cfg : BDDconfig.
Hypothesis cfg_OK : BDDconfig_OK cfg.
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 bool_fun_of_BDD_int :
forall (cfg : BDDconfig) (x : BDDvar) (l r node : ad),
BDDconfig_OK cfg ->
MapGet _ (fst cfg) node = Some (x, (l, r)) ->
bool_fun_eq (bool_fun_of_BDD cfg node)
(bool_fun_if x (bool_fun_of_BDD cfg r) (bool_fun_of_BDD cfg l)).