mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Debug sanity check in spacer_context
Triggered by bugs in hypothesis remover only sanitycheck lemmas in debug-mode
This commit is contained in:
		
							parent
							
								
									a4e67b8bb6
								
							
						
					
					
						commit
						247c570e6b
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3133,7 +3133,12 @@ lbool context::expand_node(pob& n)
 | 
			
		|||
            checkpoint ();
 | 
			
		||||
            (*m_lemma_generalizers[i])(lemma);
 | 
			
		||||
        }
 | 
			
		||||
        DEBUG_CODE(
 | 
			
		||||
                   lemma_sanity_checker sanity_checker(*this);
 | 
			
		||||
                   sanity_checker(lemma);
 | 
			
		||||
                   );
 | 
			
		||||
 | 
			
		||||
        
 | 
			
		||||
        TRACE("spacer", tout << "invariant state: "
 | 
			
		||||
              << (is_infty_level(lemma->level())?"(inductive)":"")
 | 
			
		||||
              <<  mk_pp(lemma->get_expr(), m) << "\n";);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue