Logtk.Int_litSourceA literal for linear integer arithmetic.
Care has been taken to normalize such literals. Some things are not stable by substitution (e.g. positions in int literals) and therefore there are functions such as apply_subst_no_simp that preserve positions.
num^power divides monome or not.
Generic unification/matching/variant, given such an operation on monomes
Same as apply_subst but takes care B NOT simplifying the literal. In practice, mostly useful for comparison purpose.
checks whether subst(lit_a) is equal to lit_b. Returns alternative substitutions s such that s(lit_a) = lit_b and s contains subst.
Find substitutions such that subst(lit_a) implies lit_b. This is more general than matching.
val fold_terms :
?pos:Position.t ->
?vars:bool ->
?ty_args:bool ->
which:[< `Max | `All ] ->
ord:Ordering.t ->
subterms:bool ->
t ->
(term * Position.t) Iter.tMaximal terms of the literal
Conversion into a simple literal