[sledge] Remove dead Arith representation fold operations

Reviewed By: jvillard

Differential Revision: D24746229

fbshipit-source-id: 876456f52
master
Josh Berdine 4 years ago committed by Facebook GitHub Bot
parent 1a4363627c
commit 72ba7c4faa

@ -305,11 +305,6 @@ struct
let trms poly = Iter.flat_map ~f:Mono.trms (monos poly) let trms poly = Iter.flat_map ~f:Mono.trms (monos poly)
type product = Prod.t
let fold_factors = Prod.fold
let fold_monomials = Sum.fold
(* query *) (* query *)
let vars p = Iter.flat_map ~f:Trm.vars (trms p) let vars p = Iter.flat_map ~f:Trm.vars (trms p)

@ -71,13 +71,6 @@ module type S = sig
(** [solve_zero_eq d] is [Some (e, f)] if [0 = d] can be equivalently (** [solve_zero_eq d] is [Some (e, f)] if [0 = d] can be equivalently
expressed as [e = f] for some monomial subterm [e] of [d]. If [for_] expressed as [e = f] for some monomial subterm [e] of [d]. If [for_]
is passed, then the subterm [e] must be [for_]. *) is passed, then the subterm [e] must be [for_]. *)
(**/**)
type product
val fold_factors : product -> 's -> f:(trm -> int -> 's -> 's) -> 's
val fold_monomials : t -> 's -> f:(product -> Q.t -> 's -> 's) -> 's
end end
(** Indeterminate terms, treated as atomic / variables except when they can (** Indeterminate terms, treated as atomic / variables except when they can

Loading…
Cancel
Save