mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	This commit is contained in:
		
							parent
							
								
									c1ab7987f6
								
							
						
					
					
						commit
						c6f0afa008
					
				
					 6 changed files with 34 additions and 14 deletions
				
			
		|  | @ -218,13 +218,14 @@ namespace q { | |||
| 
 | ||||
|     expr* model_fixer::invert_app(app* t, expr* value) { | ||||
|         euf::enode* r = nullptr; | ||||
|         auto& v2r = ctx.values2root(); | ||||
|         TRACE("q", | ||||
|             tout << "invert-app " << mk_pp(t, m) << " = " << mk_pp(value, m) << "\n"; | ||||
|               if (ctx.values2root().find(value, r))  | ||||
|               tout << "invert-app " << mk_pp(t, m) << " = " << mk_pp(value, m) << "\n"; | ||||
|               if (v2r.find(value, r))  | ||||
|                   tout << "inverse " << mk_pp(r->get_expr(), m) << "\n"; | ||||
|               ctx.display(tout); | ||||
|               ctx.display(tout);               | ||||
|               ); | ||||
|         if (ctx.values2root().find(value, r)) | ||||
|         if (v2r.find(value, r))  | ||||
|             return r->get_expr(); | ||||
|         return value; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue