fn check_assumptions_feasibility<Parser>(solver: &mut Solver<Parser>, assumptions: String) -> bool {
    solver.push(1).unwrap();
    solver.assert(assumptions).unwrap();
    let res = match solver.check_sat() {
        Ok(true) => {
            println!("Assertion list is feasible");
            true
        }
        Ok(false) => {
            println!("Assertion list is infeasible!");
            false
        }
        Err(err) => {
            unreachable!("Error! {:?}", err);
        }
    };
    solver.pop(1).unwrap();
    res
}
// Checks whether the assumption list is always false
Checks whether the assumption list is always false
Checks whether the assumption list is always false
fn check_assumptions_feasibility<Parser>(solver: &mut Solver<Parser>, assumptions: String) -> bool {
    solver.push(1).unwrap();
    solver.assert(assumptions).unwrap();
    let res = match solver.check_sat() {
        Ok(true) => {
            println!("Assertion list is feasible");
            true
        }
        Ok(false) => {
            println!("Assertion list is infeasible!");
            false
        }
        Err(err) => {
            unreachable!("Error! {:?}", err);
        }
    };
    solver.pop(1).unwrap();
    res
}
fn check_assumptions_feasibility < Parser > ( solver : & mut Solver < Parser > , assumptions : String ) -> bool { solver . push ( 1 ) . unwrap ( ) ; solver . assert ( assumptions ) . unwrap ( ) ; let res = match solver . check_sat ( ) { Ok ( true ) => { println ! ( " " ) ; true } Ok ( false ) => { println ! ( " " ) ; false } Err ( err ) => { unreachable ! ( " " err ) ; } } ; solver . pop ( 1 ) . unwrap ( ) ; res }
Checks whether the assumption list is always false
Checks whether the assumption list is always false
solver
&mut Solver<Parser>
assumptions
String
solver
&mut Solver<Parser>
assumptions
String