mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	eliminated m_proof_mode from smt_params, ast_manager has this information
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
		
							parent
							
								
									f6a3ec58e5
								
							
						
					
					
						commit
						5379130c8c
					
				
					 12 changed files with 6 additions and 124 deletions
				
			
		|  | @ -28,7 +28,6 @@ Notes: | |||
| #include"cancel_eh.h" | ||||
| #include"scoped_ctrl_c.h" | ||||
| #include"scoped_timer.h" | ||||
| #include"params2smt_params.h" | ||||
| #include"trail.h" | ||||
| #include<iomanip> | ||||
| 
 | ||||
|  |  | |||
|  | @ -1456,7 +1456,6 @@ namespace pdr { | |||
|         } | ||||
|         if (m_params.use_farkas() && !classify.is_bool()) { | ||||
|             m.toggle_proof_mode(PGM_FINE); | ||||
|             m_fparams.m_proof_mode = PGM_FINE;                 | ||||
|             m_fparams.m_arith_bound_prop = BP_NONE; | ||||
|             m_fparams.m_arith_auto_config_simplex = true; | ||||
|             m_fparams.m_arith_propagate_eqs = false; | ||||
|  |  | |||
|  | @ -255,7 +255,6 @@ namespace pdr { | |||
| 
 | ||||
|     smt_params farkas_learner::get_proof_params(smt_params& orig_params) { | ||||
|         smt_params res(orig_params); | ||||
|         res.m_proof_mode = PROOF_MODE; | ||||
|         res.m_arith_bound_prop = BP_NONE; | ||||
|         // temp hack to fix the build
 | ||||
|         // res.m_conflict_resolution_strategy = CR_ALL_DECIDED;
 | ||||
|  |  | |||
|  | @ -214,7 +214,7 @@ namespace pdr { | |||
| 
 | ||||
|         expr_ref_vector fmls(m); | ||||
|         smt_params fparams; | ||||
|         fparams.m_proof_mode = PGM_FINE; | ||||
|         SASSERT(m.proofs_enabled()); | ||||
|         fparams.m_mbqi = true; | ||||
| 
 | ||||
|         fmls.push_back(m_A.get()); | ||||
|  |  | |||
|  | @ -37,7 +37,6 @@ struct unit_subsumption_tactic : public tactic { | |||
|         m_cancel(false),  | ||||
|         m_context(m, m_fparams, p), | ||||
|         m_clauses(m) { | ||||
|             m_fparams.m_proof_mode = m.proof_mode(); | ||||
|     } | ||||
|             | ||||
|     void set_cancel(bool f) { | ||||
|  |  | |||
|  | @ -45,7 +45,6 @@ Notes: | |||
| #include"arith_decl_plugin.h" | ||||
| #include"for_each_expr.h" | ||||
| #include"extension_model_converter.h" | ||||
| #include"params2smt_params.h" | ||||
| #include"ast_smt2_pp.h" | ||||
| 
 | ||||
| class vsubst_tactic : public tactic { | ||||
|  | @ -94,7 +93,7 @@ class vsubst_tactic : public tactic { | |||
|         } | ||||
| 
 | ||||
|         smt_params params; | ||||
|         params2smt_params(p, params); | ||||
|         params.updt_params(p); | ||||
|         params.m_model = false; | ||||
|         flet<bool> fl1(params.m_nlquant_elim, true); | ||||
|         flet<bool> fl2(params.m_nl_arith_gb, false); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue