Rt[u, n] = RtAux[TogetherSimplify[u], n] — Rubi's canonical n-th root. * RtAux DISTRIBUTES the root over products/quotients and pairs sign flips * with negative-form sum factors. This composition is branch-unsound in * general; it is exactly Mathematica's principal-branch rendering, which * Rubi
(u: Expression, n: number | Expression)
| 1264 | t.operator === 'Multiply' && |
| 1265 | !!t.ops && |
| 1266 | t.ops.filter((o) => o.symbol === x).length === 1 && |
| 1267 | t.ops.every((o) => o.symbol === x || !o.has(x)) |
| 1268 | ); |
| 1269 | }; |
| 1270 | if (!u.has(x)) return false; |
| 1271 | if (isBX(u)) return true; |
| 1272 | return ( |
| 1273 | u.operator === 'Add' && |
| 1274 | !!u.ops && |
| 1275 | u.ops.filter((t) => !t.has(x)).length === u.ops.length - 1 && |
| 1276 | u.ops.some((t) => isBX(t)) |
| 1277 | ); |
no test coverage detected