mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	#5417 extend definition of ground to be variable free
This commit is contained in:
		
							parent
							
								
									3156ca5e77
								
							
						
					
					
						commit
						49b94a0090
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -15,6 +15,7 @@ Author: | |||
| 
 | ||||
| --*/ | ||||
| 
 | ||||
| #include "ast/has_free_vars.h" | ||||
| #include "sat/smt/q_eval.h" | ||||
| #include "sat/smt/euf_solver.h" | ||||
| #include "sat/smt/q_solver.h" | ||||
|  | @ -176,7 +177,7 @@ namespace q { | |||
|         while (!todo.empty()) { | ||||
|             expr* t = todo.back(); | ||||
|             SASSERT(!is_ground(t) || ctx.get_egraph().find(t)); | ||||
|             if (is_ground(t)) { | ||||
|             if (is_ground(t) || (has_quantifiers(t) && !has_free_vars(t))) { | ||||
|                 m_mark.mark(t); | ||||
|                 m_eval.setx(t->get_id(), ctx.get_egraph().find(t), nullptr); | ||||
|                 SASSERT(m_eval[t->get_id()]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue