mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	Rename set.select to set.filter and OP_FINITE_SET_SELECT to OP_FINITE_SET_FILTER (#7989)
* Initial plan * Rename set.select to set.filter and OP_FINITE_SET_SELECT to OP_FINITE_SET_FILTER Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									ba5bc90d7c
								
							
						
					
					
						commit
						eb10ab1633
					
				
					 7 changed files with 25 additions and 24 deletions
				
			
		|  | @ -230,11 +230,11 @@ void finite_set_axioms::in_map_image_axiom(expr *x, expr *a) { | |||
|     m_add_clause(clause); | ||||
| } | ||||
| 
 | ||||
| // a := set.select(p, b)
 | ||||
| // a := set.filter(p, b)
 | ||||
| // (x in a) <=> (x in b) and p(x)
 | ||||
| void finite_set_axioms::in_select_axiom(expr *x, expr *a) { | ||||
| void finite_set_axioms::in_filter_axiom(expr *x, expr *a) { | ||||
|     expr* p = nullptr, *b = nullptr; | ||||
|     if (!u.is_select(a, p, b)) | ||||
|     if (!u.is_filter(a, p, b)) | ||||
|         return; | ||||
|      | ||||
|     expr_ref x_in_a(u.mk_in(x, a), m); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue