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 287c69a
Browse filesBrowse the repository at this point in the historyBrowse files
A quadratic sharing a root off the real line with a linear beside it is written over that root (#1750)
1/((a + i a tan(x)) (c + d tan(x))) is under the tangent substitution a
rational function over (1 + i u)(c + d u)(1 + u^2), and 1 + u^2 is
(1 + i u)(1 - i u): the written factors share a linear, while the
splits read written factors as coprime and the divisors that take
shared factors apart are taken over the rationals. With a symbol in the
denominator, a quadratic that has a root off the real line in common
with a linear beside it is written as its leading coefficient times the
linears of its two roots, and the shared linear taken as one power.
Part of #718.
Claude-Session: https://claude.ai/code/session_012sonx8iAspMiwRwokT1Ura
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
if (TreeAnalyzer.TryGetPolyQuadratic(@base, x, out var a, out var b, out var c) && !TreeAnalyzer.IsZero(a)
12968
+
&& a.Evaled is Number.Complex && b.Evaled is Number.Complex && c.Evaled is Number.Complex
12969
+
&& roots.Values.FirstOrDefault(candidate => (a * candidate.Root * candidate.Root + b * candidate.Root + c).Evaled is Number.Complex { IsZero: true }) is var (root, _)
0 commit comments