Simplifying If expressions
- To: mathgroup at smc.vnet.net
- Subject: [mg102884] Simplifying If expressions
- From: "beep.beep" <mephi42 at gmail.com>
- Date: Tue, 1 Sep 2009 03:53:11 -0400 (EDT)
Hi, When I try to Simplify[If[x==0,x,0]] Mathematica returns If[x==0,x,0] rather than 0. It seems that it does not take into account that left and right if-branches should be simplified using ($Assumptions)&&if-condition and ($Assumptions)&&!if-condition respectively. Is there a way to force that behaviour? Best regards, Ilya
- Follow-Ups:
- Re: Simplifying If expressions
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Simplifying If expressions