Profile behavior checklist¶
This checklist collects the special values, branch conventions, and guarded
rewrites specified by the theory pages. The definitions
determine the expected values; the generated reference in
tests/scalar_tests/reference/elementary_reference.txt supplies independent
numeric checks. Here \(i\) is the imaginary unit, \(I\) is the indeterminate
value, and \(C_\infty\) is complex infinity.
Definitions and validation scope¶
| Topic | Mathematical source |
|---|---|
| Arithmetic and guarded rewrites | Carrier, Definitions X-2–X-4 and Theorems X-4–X-6 |
| Order and domain predicates | Order, Definitions O-1 and O-2 |
| Exponential, logarithm, and ray limits | Exponential and logarithm, Definitions E-3 and E-4 and Proposition E-1 |
| Branch cuts and elementary values | Elementary functions, Definition F-1 and Propositions F-1 and F-2 |
| Powers and roots | Powers and roots, Definitions W-1, W-1a, W-4, W-6 and Theorem W-1d |
The tables below state expected behavior; they do not assert that each row has a separate kernel proof or numeric test. The component specifications' test tables and the acceptance checks state what is tested; capabilities and limits says what evidence each part's results carry. Numeric agreement is evidence for testing, not a theorem.
Guarded rewrites and carrier limits¶
| Expression | scalar |
Reason |
|---|---|---|
| \(\sin(\infty)\), \(\cos(\infty)\) | \(I\) | the carrier has no intervals; the ray limit does not exist |
| \(0 \cdot x\) for a symbol \(x\) | \(0 \cdot x\) unless \(x\) is known finite; \(0\) in generic mode, with the guard \(\mathrm{finite}(x)\) shown | annihilation fails on the carrier (Theorem X-4) |
| \(x - x\) | \(0\) under the generic guard \(\mathrm{finite}(x)\) | Theorem X-4 |
| \(x/x\) | \(1\) under the generic guard \(\mathrm{finite}(x) \land x \ne 0\) | Theorem X-4 |
The three guarded rewrites above are guarded rational transfer' annihilate_finite,
sub_self_finite and mul_inv_finite, checked theorems of the profile;
power and root support' transfer test also proves \(x/x = 1\) under exactly that guard. No test
checks the A27 pole counterexample (power and root tests).
Specified values¶
| Expression | scalar |
|---|---|
| \(1/0\), \(0/0\), \(0 \cdot \infty\), \(\infty - \infty\) | \(C_\infty\), \(I\), \(I\), \(I\) |
| \(C_\infty + C_\infty\), \(C_\infty \cdot C_\infty\) | \(I\), \(C_\infty\) |
| \(\infty \cdot (-\infty)\), \(1/\infty\), \(0^0\), \(\infty^0\) | \(-\infty\), \(0\), \(I\), \(I\) |
| \(\infty > 10\), \(\mathrm{real}(\infty)\), \(\mathrm{positive}(\infty)\) | true, false, true |
| \(\log(-2)\), \(\sqrt{-2}\) | \(\ln 2 + i\pi\), \(i\sqrt 2\) |
| \(\arcsin(2)\), \(\arcsin(-2)\) | \(\pi/2 - i\ln(2 + \sqrt 3)\), \(-\pi/2 + i\ln(2 + \sqrt 3)\) |
| \(\arccos(2)\), \(\arccos(-2)\) | \(i\ln(2 + \sqrt 3)\), \(\pi - i\ln(2 + \sqrt 3)\) |
| \(\arctan(2i)\), \(\arctan(-2i)\) | \(\pi/2 + \tfrac{i}{2}\ln 3\), \(-\pi/2 - \tfrac{i}{2}\ln 3\) |
| \(\operatorname{arccot}(i/2)\), \(\operatorname{arccot}(-i/2)\), \(\operatorname{arccot}(0)\) | \(-\pi/2 - \tfrac{i}{2}\ln 3\), \(\pi/2 + \tfrac{i}{2}\ln 3\), \(\pi/2\) |
| \(\operatorname{arcsec}(1/2)\), \(\operatorname{arcsec}(-1/2)\), \(\operatorname{arccsc}(1/2)\), \(\operatorname{arccsc}(-1/2)\) | Proposition F-1's values |
| \(\operatorname{arcsinh}(2i)\), \(\operatorname{arcsinh}(-2i)\) | \(\ln(2 + \sqrt 3) + i\pi/2\), \(-\ln(2 + \sqrt 3) - i\pi/2\) |
| \(\operatorname{arccosh}(1/2)\), \(\operatorname{arccosh}(-1/2)\), \(\operatorname{arccosh}(-2)\), \(\operatorname{arccosh}(0)\) | \(i\pi/3\), \(2i\pi/3\), \(\ln(2 + \sqrt 3) + i\pi\), \(i\pi/2\) |
| \(\operatorname{arctanh}(2)\), \(\operatorname{arctanh}(-2)\), \(\operatorname{arctanh}(1)\) | \(\tfrac12\ln 3 - i\pi/2\), \(-\tfrac12\ln 3 + i\pi/2\), \(\infty\) |
| \(\operatorname{arccoth}(1/2)\), \(\operatorname{arccoth}(-1/2)\), \(\operatorname{arccoth}(0)\) | \(\tfrac12\ln 3 - i\pi/2\), \(-\tfrac12\ln 3 + i\pi/2\), \(i\pi/2\) |
| \(\operatorname{arcsech}(2)\), \(\operatorname{arcsech}(-1/2)\), \(\operatorname{arcsech}(-2)\), \(\operatorname{arcsech}(0)\) | \(i\pi/3\), \(\ln(2 + \sqrt 3) + i\pi\), \(2i\pi/3\), \(\infty\) |
| \(\operatorname{arccsch}(i/2)\), \(\operatorname{arccsch}(-i/2)\), \(\operatorname{arccsch}(0)\) | \(-\ln(2 + \sqrt 3) - i\pi/2\), \(\ln(2 + \sqrt 3) + i\pi/2\), \(C_\infty\) |
| \(\exp(\infty)\), \(\exp(-\infty)\), \(\exp(D(i))\), \(\exp(C_\infty)\) | \(\infty\), \(0\), \(I\), \(I\) |
| \(\log(0)\), \(\log(\infty)\), \(\log(-\infty)\), \(\log(C_\infty)\) | \(-\infty\), \(\infty\), \(\infty\), \(\infty\) |
| \(\sqrt{-\infty}\), \(\sqrt{C_\infty}\) | \(D(i)\), \(C_\infty\) |
| \(\tan(D(i))\), \(\tanh(\infty)\), \(\sin(D(i))\), \(\cosh(\infty)\) | \(i\), \(1\), \(D(i)\), \(\infty\) |
| \(\arctan(\infty)\), \(\arctan(D(i))\), \(\arctan(C_\infty)\) | \(\pi/2\), \(\pi/2\), \(I\) |
| \(\arcsin(\infty)\), \(\arcsin(-\infty)\), \(\arccos(\infty)\) | \(D(-i)\), \(D(i)\), \(D(i)\) |
| \(\operatorname{arcsec}(C_\infty)\), \(\operatorname{arccot}(C_\infty)\), \(\operatorname{arctanh}(\infty)\) | \(\pi/2\), \(0\), \(-i\pi/2\) |
| \(\operatorname{arcsech}(\infty)\), \(\operatorname{arcsech}(C_\infty)\), \(\operatorname{arctanh}(C_\infty)\) | \(i\pi/2\), \(I\), \(I\) (the rays disagree: \(\pm i\pi/2\), Definition E-4), although \(\operatorname{arccosh}(0) = i\pi/2\) |
| \(\mathrm{surd}(-8, 3)\), \(\mathrm{surd}(-8, 2)\), \((-8)^{1/3}\) | \(-2\), \(I\), \(1 + i\sqrt 3\) |
| \(E^\infty\), \(2^\infty\), \((1/2)^\infty\), \((-2)^\infty\) | \(\infty\), \(\infty\), \(0\), \(C_\infty\) |
| \(1^\infty\), \((-1)^\infty\), \(i^\infty\), \(2^{D(i)}\) | \(I\), \(I\), \(I\), \(I\) |
| \(2^{C_\infty}\), \(0^\infty\), \(0^{-\infty}\), \(0^{D(i)}\) | \(I\), \(0\), \(C_\infty\), \(I\) |
| \(\infty^\infty\), \(\infty^{-\infty}\), \((-\infty)^\infty\), \(C_\infty^\infty\) | \(\infty\), \(0\), \(C_\infty\), \(C_\infty\) |
| \(\exp(x)\) and \(E^x\) | equal for every \(x\) (Theorem W-1d) |
The full set of elementary values at infinity is Proposition F-2's table.