You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 947c6f4
Browse filesBrowse the repository at this point in the historyBrowse files
A system with a product equation is solved branch by branch (#2129)
* A system with a product equation is solved branch by branch
The eliminator solved x * y = 0 for y as 0, which is the answer only where x is not zero, and in a
system the triangularisation does not take nothing followed the branch where x is. Each row that
came back satisfied the system, so the answer read as all of the solutions:
x*y; sin(x) + y - 1 missing (0, 1)
(x - 1)*(y - 2); e^x - y missing (1, e)
x*e^y; x^2*y [[0, 0]], where every (0, t) is a solution
A system with a product in more than one of its unknowns is now solved once for each way of
choosing a factor of each such product, up to 64 systems, and its solutions are theirs together.
A product whose factors all mention the same unknowns is left alone, since solving it reads every
factor. A branch that answers null is taken to have no solutions, which is what Solve says of it.
Every row of the union is put back into the system as written, because a factor can be zero
where another is not defined: the branch x = 0 of x ln(y), x - y is (0, 0), where ln(0) is no
number. A row whose residual has no symbol left and is not a finite number is now dropped, on the
square path too, as a root of one equation is.
A branch can leave an unknown that no equation mentions, and the eliminator had no equation to
take it from and answered nothing. Such a system goes to the non-square solver, which makes the
unknown a parameter: x - 1, x^2 - 1 in x, y was null and is [[1, t_1]]. SolveSystem.TestTrigSystem4
pinned null for a - 1, b * 0, where b * 0 is zero for every b; it now expects the one family
(1, t_1).
Measured with the generated check from #2126 on 1190 square systems in x and y built from a known
integer solution: the known solution missing 22 times on master and 13 here, with no other
change in its findings and no wrong row on either. The 13 left are roots found by Newton's method,
one of several, and systems with abs.
Fixes#2128
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
* Put the #2128 entry first in Unreleased, now that #2127 has merged
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments