Repository navigation
Commit fdc586f
Take a factor continuous at the point out before l'Hopital's rule (#2370)
sin(x)^tanh(x) at 0 from the right was left unevaluated, where it is 1,
and tan(2x)^sin(tanh(x)) declined after thirteen seconds (2.6.0 does not
finish it in two minutes). Read through its exponent, the power is a
quotient the rule takes, and the rule differentiated every factor of
both parts, including those that tend to a number other than 0, such as
the 1 - tanh(x)^2 that tanh's derivative brings. With tanh written
through exponentials, each such factor doubled the derivative, and it
outgrew the rule's bound.
A factor that is continuous at a finite destination and has a finite,
non-zero real value there is now taken out as that value, kept exact:
lim c(x) f(x) / g(x) is c(a) lim f(x) / g(x). Only a factor real for
real x and with no step in it, so that its value at the point is its
limit from either side. A limit that is an infinity stays that
infinity.
limitcheck at DEPTH=3, 18 seeds 14-45, master against this: 10 more
compared over 6 seeds, 4 fewer that did not finish in 5 s, and nothing
moved to another value or to NaN. Suite 18982 passed, AOT and the eight
harnesses clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 4c203f0 commit fdc586f
3 files changed
Lines changed: 111 additions & 3 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
515 | 530 | | |
516 | 531 | | |
517 | 532 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1573 | 1573 | | |
1574 | 1574 | | |
1575 | 1575 | | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
1576 | 1612 | | |
1577 | 1613 | | |
1578 | 1614 | | |
| |||
1585 | 1621 | | |
1586 | 1622 | | |
1587 | 1623 | | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
1588 | 1627 | | |
1589 | 1628 | | |
1590 | 1629 | | |
1591 | 1630 | | |
1592 | 1631 | | |
1593 | | - | |
| 1632 | + | |
1594 | 1633 | | |
1595 | 1634 | | |
1596 | 1635 | | |
| |||
1614 | 1653 | | |
1615 | 1654 | | |
1616 | 1655 | | |
1617 | | - | |
| 1656 | + | |
1618 | 1657 | | |
1619 | 1658 | | |
1620 | 1659 | | |
1621 | 1660 | | |
1622 | 1661 | | |
1623 | 1662 | | |
1624 | | - | |
| 1663 | + | |
1625 | 1664 | | |
1626 | 1665 | | |
1627 | 1666 | | |
1628 | 1667 | | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
1629 | 1675 | | |
1630 | 1676 | | |
1631 | 1677 | | |
| |||
| 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 | + | |
0 commit comments