Module Term.AC
Parameters
Signature
val flatten : ID.t -> t list -> t list
flatten_ac f l
flattens the list of termsl
by deconstructing all its elements that havef
as head ID.t. For instance, if l=1+2; 3+(4+5)
with f="+", this will return1;2;3;4;5
, perhaps in a different order
val equal : t -> t -> bool
Check whether the two terms are AC-equal. Optional arguments specify which ID.ts are AC or commutative (by default by looking at attr_ac and attr_commut).
val symbols : t Iter.t -> Logtk.ID.Set.t
Set of ID.ts occurring in the terms, that are AC