mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	fix break
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									77b74ddb88
								
							
						
					
					
						commit
						841c48e04d
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -3230,8 +3230,8 @@ void theory_seq::add_indexof_axiom(expr* i) {
 | 
			
		|||
        // offset > len(t) => indexof(t, s, offset) = -1
 | 
			
		||||
        // offset = len(t) & |s| = 0 => indexof(t, s, offset) = offset
 | 
			
		||||
        expr_ref len_t(m_util.str.mk_length(t), m);
 | 
			
		||||
        literal offset_ge_len = mk_simplified_literal(m_autil.mk_ge(offset, len_t));
 | 
			
		||||
        literal offset_le_len = mk_simplified_literal(m_autil.mk_le(offset, len_t));
 | 
			
		||||
        literal offset_ge_len = mk_simplified_literal(m_autil.mk_ge(m_autil.mk_sub(offset, len_t), zero));
 | 
			
		||||
        literal offset_le_len = mk_simplified_literal(m_autil.mk_le(m_autil.mk_sub(offset, len_t), zero));
 | 
			
		||||
        literal i_eq_offset = mk_eq(i, offset, false);
 | 
			
		||||
        add_axiom(~offset_ge_len, s_eq_empty, i_eq_m1);
 | 
			
		||||
        add_axiom(offset_le_len, i_eq_m1);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue