Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #15795 > unrolled thread
| Started by | Vavilen <nvr.disappear@gmail.com> |
|---|---|
| First post | 2011-02-05 10:44 +0000 |
| Last post | 2011-02-05 10:44 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Simplification with custom axioms Vavilen <nvr.disappear@gmail.com> - 2011-02-05 10:44 +0000
| From | Vavilen <nvr.disappear@gmail.com> |
|---|---|
| Date | 2011-02-05 10:44 +0000 |
| Subject | Simplification with custom axioms |
| Message-ID | <iij9lp$go4$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web