Re: Simplifying If expressions
- To: mathgroup at smc.vnet.net
- Subject: [mg102895] Re: [mg102884] Simplifying If expressions
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Wed, 2 Sep 2009 03:58:53 -0400 (EDT)
- Reply-to: hanlonr at cox.net
FullSimplify tries harder FullSimplify[If[x == 0, x, 0]] 0 Bob Hanlon ---- "beep.beep" <mephi42 at gmail.com> wrote: ============= 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