let rec fold_binding_vars f bi acc =
match bi with
| Ast.BiAnd (_, bi1, bi2) ->
fold_binding_vars f bi1 (fold_binding_vars f bi2 acc)
| Ast.BiEq (_, p, _) -> fold_pattern_vars f p acc
| Ast.BiNil _ -> acc
| Ast.BiAnt (_, _) -> assert false