mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	porting to windows
This commit is contained in:
		
							parent
							
								
									28266786f3
								
							
						
					
					
						commit
						7a0d49cb32
					
				
					 4 changed files with 8 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -7788,7 +7788,7 @@ END_MLAPI_EXCLUDE
 | 
			
		|||
    def_API('Z3_interpolation_profile', STRING, (_in(CONTEXT),))
 | 
			
		||||
  */
 | 
			
		||||
 | 
			
		||||
  Z3_string Z3_API Z3_interpolation_profile(Z3_context ctx);
 | 
			
		||||
  Z3_string Z3_API Z3_interpolation_profile(__in Z3_context ctx);
 | 
			
		||||
  
 | 
			
		||||
  /**
 | 
			
		||||
     \brief Read an interpolation problem from file.
 | 
			
		||||
| 
						 | 
				
			
			@ -7824,8 +7824,7 @@ END_MLAPI_EXCLUDE
 | 
			
		|||
  */
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  int Z3_API
 | 
			
		||||
  Z3_read_interpolation_problem(__in Z3_context ctx,
 | 
			
		||||
  int Z3_API Z3_read_interpolation_problem(__in Z3_context ctx,
 | 
			
		||||
				__out int *num, 
 | 
			
		||||
				__out_ecount(*num) Z3_ast **cnsts, 
 | 
			
		||||
				__out_ecount(*num) int **parents,
 | 
			
		||||
| 
						 | 
				
			
			@ -7853,8 +7852,7 @@ END_MLAPI_EXCLUDE
 | 
			
		|||
 | 
			
		||||
  */
 | 
			
		||||
  
 | 
			
		||||
  int Z3_API
 | 
			
		||||
  Z3_check_interpolant(Z3_context ctx, int num, Z3_ast *cnsts, int *parents, Z3_ast *interps, const char **error,
 | 
			
		||||
  int Z3_API Z3_check_interpolant(Z3_context ctx, int num, Z3_ast *cnsts, int *parents, Z3_ast *interps, const char **error,
 | 
			
		||||
                                       int num_theory, Z3_ast *theory);
 | 
			
		||||
 | 
			
		||||
  /** Write an interpolation problem to file suitable for reading with
 | 
			
		||||
| 
						 | 
				
			
			@ -7870,8 +7868,7 @@ END_MLAPI_EXCLUDE
 | 
			
		|||
 | 
			
		||||
  */
 | 
			
		||||
 | 
			
		||||
  void Z3_API
 | 
			
		||||
  Z3_write_interpolation_problem(Z3_context ctx,
 | 
			
		||||
  void Z3_API  Z3_write_interpolation_problem(Z3_context ctx,
 | 
			
		||||
				 int num, 
 | 
			
		||||
				 Z3_ast *cnsts, 
 | 
			
		||||
				 int *parents,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -247,7 +247,7 @@ bool iz3base::is_sat(ast f){
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
void iz3base::find_children(const hash_set<ast> &cnsts_set,
 | 
			
		||||
void iz3base::find_children(const stl_ext::hash_set<ast> &cnsts_set,
 | 
			
		||||
			    const ast &tree,
 | 
			
		||||
			    std::vector<ast> &cnsts,
 | 
			
		||||
			    std::vector<int> &parents,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -145,7 +145,7 @@ class iz3base : public iz3mgr, public scopes {
 | 
			
		|||
  ast simplify_and(std::vector<ast> &conjuncts);
 | 
			
		||||
  ast simplify_with_lit_rec(ast n, ast lit, stl_ext::hash_map<ast,ast> &memo, int depth);
 | 
			
		||||
  ast simplify_with_lit(ast n, ast lit);  
 | 
			
		||||
  void find_children(const hash_set<ast> &cnsts_set,
 | 
			
		||||
  void find_children(const stl_ext::hash_set<ast> &cnsts_set,
 | 
			
		||||
		     const ast &tree,
 | 
			
		||||
		     std::vector<ast> &cnsts,
 | 
			
		||||
		     std::vector<int> &parents,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -307,7 +307,8 @@ public:
 | 
			
		|||
 | 
			
		||||
  int interpolate(const std::vector<ast> &cnsts, std::vector<ast> &itps){
 | 
			
		||||
    assert((int)cnsts.size() == frames);
 | 
			
		||||
    foci = foci2::create("lia");
 | 
			
		||||
    std::string lia("lia");
 | 
			
		||||
    foci = foci2::create(lia);
 | 
			
		||||
    if(!foci){
 | 
			
		||||
      std::cerr << "iZ3: cannot find foci lia solver.\n";
 | 
			
		||||
      assert(0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue