Custom Function's Rules Ignored in Simplify/FullSimplify?
- To: mathgroup at smc.vnet.net
- Subject: [mg27828] Custom Function's Rules Ignored in Simplify/FullSimplify?
- From: "Steve W. Brewer" <ste-ve at kate-ch.com>
- Date: Mon, 19 Mar 2001 01:29:21 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I'm having a problem with Mathematica 4.0.
Say I define a function:
f[x_ /; x > 1] := 99
Then I try a Simplify or FullSimplify using assumptions:
FullSimplify[f[x], x > 1]
Obviously, the correct result should be:
99
But the best I can get Mathematica to do is:
f[x]
How can I get Mathematica to incorporate my function's rules into Simplify
and FullSimplify?
Thanks,
Steve W. Brewer
(Remove the two dashes from my email address to send email.)