mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	fix #1510 by reintroducing automatic declaration of recognizers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									a738f5af12
								
							
						
					
					
						commit
						8e09a78c26
					
				
					 11 changed files with 35 additions and 40 deletions
				
			
		| 
						 | 
				
			
			@ -133,7 +133,7 @@ namespace pdr {
 | 
			
		|||
                else if ((m.is_eq(e, c, val) && is_app(val) && dt.is_constructor(to_app(val))) ||
 | 
			
		||||
                         (m.is_eq(e, val, c) && is_app(val) && dt.is_constructor(to_app(val)))){
 | 
			
		||||
                    func_decl* f = to_app(val)->get_decl();
 | 
			
		||||
                    func_decl* r = dt.get_constructor_recognizer(f);
 | 
			
		||||
                    func_decl* r = dt.get_constructor_is(f);
 | 
			
		||||
                    conjs[i] = m.mk_app(r, c);
 | 
			
		||||
                    ptr_vector<func_decl> const& acc = *dt.get_constructor_accessors(f);
 | 
			
		||||
                    for (unsigned j = 0; j < acc.size(); ++j) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue