mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	Logic simplifications
There is no point in writing "boolean ? true : false" instead of "boolean"
This commit is contained in:
		
							parent
							
								
									52fdf73178
								
							
						
					
					
						commit
						a816b4895c
					
				
					 7 changed files with 21 additions and 22 deletions
				
			
		|  | @ -1537,8 +1537,7 @@ public class Context extends IDisposable | |||
|         checkContextMatch(t1); | ||||
|         checkContextMatch(t2); | ||||
|         return new BoolExpr(this, Native.mkBvaddNoOverflow(nCtx(), t1 | ||||
|                 .getNativeObject(), t2.getNativeObject(), (isSigned) ? true | ||||
|                 : false)); | ||||
|                 .getNativeObject(), t2.getNativeObject(), (isSigned))); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | @ -1580,8 +1579,7 @@ public class Context extends IDisposable | |||
|         checkContextMatch(t1); | ||||
|         checkContextMatch(t2); | ||||
|         return new BoolExpr(this, Native.mkBvsubNoUnderflow(nCtx(), t1 | ||||
|                 .getNativeObject(), t2.getNativeObject(), (isSigned) ? true | ||||
|                 : false)); | ||||
|                 .getNativeObject(), t2.getNativeObject(), (isSigned))); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | @ -1621,8 +1619,7 @@ public class Context extends IDisposable | |||
|         checkContextMatch(t1); | ||||
|         checkContextMatch(t2); | ||||
|         return new BoolExpr(this, Native.mkBvmulNoOverflow(nCtx(), t1 | ||||
|                 .getNativeObject(), t2.getNativeObject(), (isSigned) ? true | ||||
|                 : false)); | ||||
|                 .getNativeObject(), t2.getNativeObject(), (isSigned))); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue