File tree Expand file tree Collapse file tree 2 files changed +13
-12
lines changed
Expand file tree Collapse file tree 2 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -263,19 +263,20 @@ impl BaseSort for SMTBool {
263263 SMTBoolValue :: BvSlt ( Box :: new( a) , Box :: new( b) )
264264 }
265265 ) ;
266+ // Not working for now
266267 // (smt-exists <smt-real-const> <smt-real-bool>)
267268 // e.g. (smt-exists (smt-real-const "x") (smt-= (smt-real-const "x") (smt-real 0.0))
268- add_primitive ! (
269- eg,
270- "smt-exists" = |var: SMTRealValue , body: SMTBoolValue | -> SMTBoolValue {
271- {
272- let SMTRealValue :: Const ( name) = var else {
273- panic!( "smt-exists first argument must be smt-real-const" ) ;
274- } ;
275- SMTBoolValue :: RealExists ( name, Box :: new( body) )
276- }
277- }
278- ) ;
269+ // add_primitive!(
270+ // eg,
271+ // "smt-exists" = |var: SMTRealValue, body: SMTBoolValue| -> SMTBoolValue {
272+ // {
273+ // let SMTRealValue::Const(name) = var else {
274+ // panic!("smt-exists first argument must be smt-real-const");
275+ // };
276+ // SMTBoolValue::RealExists(name, Box::new(body))
277+ // }
278+ // }
279+ // );
279280 }
280281}
281282
Original file line number Diff line number Diff line change 102102 (Coefficient 3.0 (Mul (Var "x") (Mul (Power (Var "y") 2) (Var "z")))))
103103 (Coefficient -2.0 (Power (Var "w") 2))))
104104
105- (run-schedule (saturate (run)))
105+ (run-schedule (saturate (run :until (= e1 e2) )))
106106
107107(check (= e1 e2))
You can’t perform that action at this time.
0 commit comments