mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	model generation with strings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									9909c056f0
								
							
						
					
					
						commit
						57e1d4dc1f
					
				
					 2 changed files with 13 additions and 3 deletions
				
			
		|  | @ -938,7 +938,6 @@ br_status seq_rewriter::mk_eq_core(expr * l, expr * r, expr_ref & result) { | |||
| bool seq_rewriter::reduce_eq(expr_ref_vector& ls, expr_ref_vector& rs, expr_ref_vector& lhs, expr_ref_vector& rhs, bool& change) { | ||||
|     expr* a, *b; | ||||
|     zstring s; | ||||
|   | ||||
|     bool lchange = false; | ||||
|     SASSERT(lhs.empty()); | ||||
|     // solve from back
 | ||||
|  | @ -1327,6 +1326,13 @@ bool seq_rewriter::is_subsequence(unsigned szl, expr* const* l, unsigned szr, ex | |||
|             found = !rpos.contains(j) && l[i] == r[j]; | ||||
|         } | ||||
|         if (!found) { | ||||
| #if 0 | ||||
|             std::cout << mk_pp(l[i], m()) << " not found in "; | ||||
|             for (unsigned j = 0; j < szr; ++j) { | ||||
|                 std::cout << mk_pp(r[j], m()) << " "; | ||||
|             } | ||||
|             std::cout << "\n"; | ||||
| #endif | ||||
|             return false; | ||||
|         } | ||||
|         SASSERT(0 < j && j <= szr); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue