Repository navigation
Commit cc5e13b
Ask a compared side's whole limit as that side's own question (#2402)
Ask a compared side's whole limit as that side's own question
A two-sided limit at a finite point compares its sides by descending into
each, and the descent asks the whole expression's limit from that side. That
ask took the one level of whole limits a descent may ask, so inside it the side
could not ask the regrouping that answers it alone. x^pi / log(x, 2) at 0 from
the right reads as x^pi * ln(x), asked whole, in 0.2 s; inside the comparison
that was refused, and the side spent 9.5 s on l'Hopital's rule and the
rewrites at infinity before coming back 0/0. The two-sided limit took 10.3 s.
The expression whose sides are compared, asked whole from one side, is that
side's own question, and no longer counts as a level. The two-sided limit takes
0.74 s, with the same answer; x^pi / log(x, 2) - 2 takes 0.92 s, from 13 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 42af5e0 commit cc5e13b
3 files changed
Lines changed: 63 additions & 6 deletions
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits/Solvers
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
298 | 307 | | |
299 | 308 | | |
300 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
315 | 327 | | |
316 | 328 | | |
317 | 329 | | |
| |||
431 | 443 | | |
432 | 444 | | |
433 | 445 | | |
434 | | - | |
435 | | - | |
| 446 | + | |
| 447 | + | |
436 | 448 | | |
437 | 449 | | |
438 | 450 | | |
439 | | - | |
| 451 | + | |
440 | 452 | | |
441 | 453 | | |
442 | 454 | | |
| |||
692 | 704 | | |
693 | 705 | | |
694 | 706 | | |
695 | | - | |
| 707 | + | |
696 | 708 | | |
697 | | - | |
| 709 | + | |
698 | 710 | | |
699 | 711 | | |
700 | 712 | | |
| |||
| 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 | + | |
0 commit comments