Skip to content

fix - #75

Merged
oameye merged 3 commits into
mainfrom
symbolicsv7-upgrade
Jul 25, 2026
Merged

fix#75
oameye merged 3 commits into
mainfrom
symbolicsv7-upgrade

Conversation

@oameye

@oameye oameye commented Jul 24, 2026

Copy link
Copy Markdown
Member

No description provided.

oameye added 2 commits July 25, 2026 10:14
`Symbolics.symbolic_linear_solve` returns nested fractions whose denominators
carry the coefficient determinant. For a trigonometric ansatz those denominators
hold identities like cos(x)^2 + sin(x)^2 = 1 that SymbolicUtils 4 no longer
collapses, so `rearrange!` grew expressions without bound on larger systems
(a van der Pol oscillator with two harmonics exhausted 16 GB and never finished).

Solve the system with fraction-free Bareiss elimination instead, falling back to
`symbolic_linear_solve` when the system is not polynomial in the unknowns.
@oameye
oameye force-pushed the symbolicsv7-upgrade branch from 2a24827 to 332428a Compare July 25, 2026 08:17
@oameye
oameye merged commit 31dfd95 into main Jul 25, 2026
9 checks passed
@oameye
oameye deleted the symbolicsv7-upgrade branch July 25, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant