mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	base implementation for cardinality constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									4068460a0f
								
							
						
					
					
						commit
						f8b2268424
					
				
					 8 changed files with 552 additions and 15 deletions
				
			
		|  | @ -2328,7 +2328,7 @@ public: | |||
|     unsigned get_num_parents(proof const * p) const { | ||||
|         SASSERT(is_proof(p)); | ||||
|         unsigned n = p->get_num_args(); | ||||
|         return !has_fact(p) ? n : n - 1; | ||||
|         return p->get_decl()->get_decl_kind() == PR_TH_LEMMA ? n - 2 : !has_fact(p) ? n : n - 1; | ||||
|     } | ||||
|     proof * get_parent(proof const * p, unsigned idx) const { SASSERT(is_proof(p)); return to_app(p->get_arg(idx)); } | ||||
|     proof * mk_true_proof(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue