let rec list_of_binding x acc = match x with | Ast.BiAnd (_, b1, b2) -> list_of_binding b1 (list_of_binding b2 acc) | t -> t :: acc