Repository navigation
Commit 60e6638
Read the side a step function's argument arrives from off its slope (#2375)
A floor or a ceiling whose argument arrives at a jump asks the sign the
argument less the jump keeps on the way in, and that sign was read only
off the first derivative that does not vanish. sqrt(x) at 0 has none
that is finite, so floor(sqrt(x)) at 0 from the right was not answered,
where it is 0 all the way in.
Where that fails, the sign is now also read off the slope
g(x) / (x - a): where it tends to a non-zero L, infinities included, g
has the sign of L on the right and the other on the left. For sqrt(x)
the slope is 1 / sqrt(x), which tends to +oo. A sign is a question
about a real value, and the slope of a complex one can tend to a real
infinity: x ^ tanh(pi) on the left of 0 is |x| ^ tanh(pi) times
e ^ (i pi tanh(pi)), which this read as negative. So the expression has
to be real throughout the side approached, by IsRealValued or by
WhereRealValued's condition holding there; its real domain condition is
no test, as that of x ^ tanh(pi) is true.
limitcheck at DEPTH=3 over 30 seeds against master: no case lost; one
timeout fewer, which is within the noise of a case that takes about
6 s on either. Found by limitcheck at SEED=59, where
floor(sqrt(x)) - (x^3)^(x/2) at 0 from the right is -1; no issue was
filed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 595d9b6 commit 60e6638
3 files changed
Lines changed: 96 additions & 1 deletion
File tree
- Sources
- AngouriMath/Functions/Continuous/Limits
- Tests/UnitTests/Calculus
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
96 | 111 | | |
97 | 112 | | |
98 | 113 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1193 | 1193 | | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | | - | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
1197 | 1231 | | |
1198 | 1232 | | |
1199 | 1233 | | |
| |||
| 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 | + | |
0 commit comments