Refine
Simplify using (or, with no , whatever is already assumed) as a fact — the same fact-driven simplification Assuming scopes for a whole subcomputation, but applied once. Provided by @enumeratio/analytic.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
Refine!Refine(expr, cond)simplify under (a single condition, a List, or an And), then forget it.Refine(expr)simplify under whatever is already assumed (e.g. inside an enclosing Assuming).Typed signatures
| Type | Package | Applies |
|---|---|---|
(expression, expression?) -> expression | analytic | always |
Details
- Delegates entirely to compute-engine's own
simplify()under a scoped assumption (see Assuming for the scoping mechanism) — this covers exactly the sign/domain reasoningsimplify()already does: under (and under ), , , . - A condition that
simplify()has no rule for is left alone, same as Wolfram'sRefinedeclines a fact it can't use — this is not a general decision procedure for arbitrary predicates.
Examples
About
| Examples | 32 |
|---|---|
| Checked against | Wolfram Language 17 agree15 differ |
| Crosswalk | Wolfram Language |