mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	Work around unexpected behaviour in generalizer
This commit is contained in:
		
							parent
							
								
									6cc6ffcde2
								
							
						
					
					
						commit
						d4e476d764
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -107,8 +107,7 @@ void lemma_bool_inductive_generalizer::operator()(lemma_ref &lemma) { | |||
|             expand_literals(m, extra_lits); | ||||
|             SASSERT(extra_lits.size() > 0); | ||||
|             bool found = false; | ||||
|             if (extra_lits.get(0) != lit) { | ||||
|                 SASSERT(extra_lits.size() > 1); | ||||
|             if (extra_lits.get(0) != lit && extra_lits.size() > 1) { | ||||
|                 for (unsigned j = 0, sz = extra_lits.size(); !found && j < sz; ++j) { | ||||
|                     cube[i] = extra_lits.get(j); | ||||
|                     if (pt.check_inductive(lemma->level(), cube, uses_level, weakness)) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue