Repository navigation
Commit 5f4269e
authored
Put a leftover reciprocal under the line, not on top of it (#712)
The rewrite that turns a vanishing factor against a diverging one into a
quotient multiplied every remaining factor into the numerator. The children of a
product arrive flattened through any division in it -- tan(x) * ln(x) comes
apart into sin(x), cos(x)^(-1) and ln(x) -- so a leftover could itself be a
reciprocal, and putting that on top rebuilt the very product the rewrite exists
to take apart. The quotient simplified straight back to its own input and the
rule worked at it until something else stopped it.
Split into a numerator and a denominator instead. lim x->0+ (x * ln(x) / cos(x))
went from not terminating inside thirty seconds to 0.
Suite 4675 passed, 0 failed; corpus unchanged at 111/117 with 0 wrong, 0 error
and 0 timeout.1 parent b00ed78 commit 5f4269e
2 files changed
Lines changed: 63 additions & 3 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
394 | | - | |
395 | | - | |
396 | | - | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
397 | 405 | | |
398 | 406 | | |
399 | 407 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
0 commit comments