(operator: string)
| 166 | // `(√(x+1)+√(1−x))⁻²`). Lever A iteratively substitutes `u = (a+b·x)^(1/k)` at |
| 167 | // the innermost linear radical (keeping the produced rational's denominator |
| 168 | // FACTORED for the bundled partial-fraction rules, the R26B lesson); Lever B |
| 169 | // conjugate-rationalizes the sum-of-two-radicals power. Fail-closed with a |
| 170 | // domain-aware D-check. A/B measures its Bondarenko effect; structurally inert |
| 171 | // off-family (the tight `hasNestedRadicalCandidate` pre-filter). |
| 172 | const NO_R31 = process.env.RUBI_NO_R31 !== undefined; |
| 173 | // RUBI_NO_R32: disable the R32 Euler-substitution lever ("Lever C") for |
| 174 | // √(quadratic)-nested radicals (a `√B` whose base contains a `√(a·x²+b·x+c)`, |
| 175 | // `√(x+√(x²+1))`, Bondarenko #9). Lever C substitutes `t = √a·x + √Q` (Euler I, |
| 176 | // a>0), rationalizing `√Q` and collapsing the outer radical to a √-of-linear the |
| 177 | // existing Lever A then removes; it runs SECOND (after Lever A) in each iteration |
| 178 | // of the nested-radical fallback loop. Under `RUBI_NO_R32=1` the pre-filter also |
| 179 | // stops admitting the Euler-nested shape (clean A/B); structurally inert |
| 180 | // off-family. A/B measures its Bondarenko effect. |
no test coverage detected