Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15795
| From | Vavilen <nvr.disappear@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Simplification with custom axioms |
| Date | 2011-02-05 10:44 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <iij9lp$go4$1@smc.vnet.net> (permalink) |
Hi all,
I wonder if it's possible to get Mathematica to understand specified
properties of functions when simplifying.
For example, by default it does not know that BitAnd[x, y] <= x:
In = FullSimplify[BitAnd[x, 10] <= 10]
Out = BitAnd[10, x] <= 10
(expected result is True)
I tried using ForAll, but without success:
In = Assuming[
ForAll[{x, y}, 0 <= BitAnd[x, y] <= x && 0 <= BitAnd[x, y] <= y],
FullSimplify[BitAnd[10, x] <= 10]]
Out = BitAnd[10, x] <= 10
Any ideas?
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Simplification with custom axioms Vavilen <nvr.disappear@gmail.com> - 2011-02-05 10:44 +0000
csiph-web