mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-10 05:03:59 -05:00
Optimisation for mcsat solver
This commit is contained in:
parent
41f1ec0e82
commit
88b8c9f895
1 changed files with 3 additions and 2 deletions
|
|
@ -52,8 +52,9 @@ let rec iter_aux f = function
|
|||
f t
|
||||
|
||||
let iter_assignable f = function
|
||||
| { Expr_smt.atom = Expr_smt.Pred p } ->
|
||||
iter_aux f p;
|
||||
| { Expr_smt.atom = Expr_smt.Pred { Expr_smt.term = Expr_smt.Var _ } } -> ()
|
||||
| { Expr_smt.atom = Expr_smt.Pred { Expr_smt.term = Expr_smt.App (_, _, l) } } ->
|
||||
List.iter (iter_aux f) l;
|
||||
| { Expr_smt.atom = Expr_smt.Equal (a, b) } ->
|
||||
iter_aux f a; iter_aux f b
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue