xref: /aosp_15_r20/external/antlr/runtime/ObjC/Framework/examples/polydiff/output (revision 16467b971bd3e2009fad32dd79016f2c7e421deb)
1tree=(+ (+ (+ (+ (+ (+ (* 2 (^ x 3)) (^ x 5)) (* 4 x)) (* 10 x)) (* 8 x)) x) 2)
2d/dx=(+ (+ (+ (+ (+ (+ (* 6 (^ x 2)) (* 5 (^ x 4))) 4) 10) 8) 1) 0)
3simplified=(+ (+ (+ (+ (* 6 (^ x 2)) (* 5 (^ x 4))) 4) 18) 1)
46x^2+5x^4+4+18+1
5