Details

simplify23.4m

Calls

12689 calls:

Slowest
3.0s
(/ (* (* (* -2 (* a c)) (* -2 (* a c))) (* -2 (* a c))) (* (* (* (* 2 a) b) (* (* 2 a) b)) (* (* 2 a) b)))
2.6s
(/ (* (* (* -2 -2) -2) (* (* (* a c) (* a c)) (* a c))) (* (* (* (* 2 a) b) (* (* 2 a) b)) (* (* 2 a) b)))
2.5s
(/ (* (* (* -2 -2) -2) (* (* (* a a) a) (* (* c c) c))) (* (* (* (* 2 a) b) (* (* 2 a) b)) (* (* 2 a) b)))
2.4s
(/ (* (* (* -2 -2) -2) (* (* (* a a) a) (* (* c c) c))) (* (* (* (* 2 a) (* 2 a)) (* 2 a)) (* (* b b) b)))
2.3s
(/ (* (* (* -3/2 -3/2) -3/2) (* (* (* (* a a) a) (* (* c c) c)) (/ (* (* 1 1) 1) (* (* b b) b)))) (* (* (* 3 3) 3) (* (* a a) a)))

sample10.9m

Algorithm
70×intervals
Results
8.0m75988×body10240exit
53.1s31638×body1280valid
24.3s189421×body80valid
21.4s151549×body80nan
21.2s23481×body640valid
14.7s24538×body320valid
11.9s34813×body160valid
10.3s150254×pre80true
2.5s2912×body2560valid
1.5s7846×body160nan
1.2s4169×pre10240exit
227.0ms221×body5120valid

prune2.7m

series34.3s

Calls

399 calls:

Slowest
774.0ms
(cbrt (/ (- (sqrt (- (* g g) (* h h))) g) (/ (cbrt a) (cbrt 1/2))))
662.0ms
(sqrt (+ (* (* (cbrt (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))))) (cbrt (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2)))))) (cbrt (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2)))))) (* (- phi1 phi2) (- phi1 phi2))))
617.0ms
(sqrt (+ (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cbrt (* (* (cos (/ (+ phi1 phi2) 2)) (cos (/ (+ phi1 phi2) 2))) (cos (/ (+ phi1 phi2) 2)))))) (* (- phi1 phi2) (- phi1 phi2))))
595.0ms
(sqrt (+ (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2)))) (* (- phi1 phi2) (- phi1 phi2))))
591.0ms
(cbrt (+ (* x (* 2/3 x)) 2))

rewrite17.1s

Algorithm
127×rewrite-expression-head
Calls

399 calls:

Slowest
1.0s
(log (+ (* (exp (+ (+ x x) x)) (exp (+ (+ x x) x))) (- (* 1 1) (* (exp (+ (+ x x) x)) 1))))
740.0ms
(log (+ x (+ (+ (/ -1/8 (* (* x x) x)) x) (/ 1/2 x))))
521.0ms
(* (- (/ (* (* m (* (cbrt (- 1 m)) (cbrt (- 1 m)))) (cbrt (- 1 m))) v) 1) m)
480.0ms
(sqrt (+ (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cbrt (* (* (cos (/ (+ phi1 phi2) 2)) (* (* (cbrt (cos (/ (+ phi1 phi2) 2))) (cbrt (cos (/ (+ phi1 phi2) 2)))) (cbrt (cos (/ (+ phi1 phi2) 2))))) (cos (/ (+ phi1 phi2) 2)))))) (* (- phi1 phi2) (- phi1 phi2))))
404.0ms
(sqrt (+ (* (* (cbrt (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))))) (cbrt (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2)))))) (cbrt (* (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2))) (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2)))))) (* (- phi1 phi2) (- phi1 phi2))))
Rules
30534×associate-*l/
20811×frac-times
16608×flip--
16607×flip3--
15694×cbrt-div
7192×times-frac
6260×associate-*r/
6254×sqrt-div
6112×frac-add
5682×add-sqr-sqrt
5452×*-un-lft-identity
4009×add-cube-cbrt
2170×add-exp-log
1738×add-cbrt-cube
1101×sqrt-prod
960×pow1
931×cbrt-prod
680×difference-of-squares
665×associate-*l*
648×associate-*r*
637×div-exp
608×add-log-exp
595×associate-/r*
585×prod-exp
463×cbrt-unprod
438×div-inv
432×cbrt-undiv
430×associate-/l*
399×insert-posit16
329×distribute-lft-out--
301×distribute-lft-out
260×associate-/r/
214×pow-prod-down
184×unswap-sqr
175×flip-+
174×flip3-+
142×swap-sqr
122×log-prod
108×unpow-prod-down
107×frac-2neg clear-num
101×*-commutative
93×difference-of-sqr-1
86×sub-neg
74×cube-prod
73×cos-mult 1-exp rec-exp
70×associate-/l/
65×diff-log
47×log-div
46×sqrt-pow1 pow1/2
44×sum-log
43×sqr-pow
40×pow-prod-up
36×log-pow
33×rem-sqrt-square
32×pow1/3
31×distribute-rgt-neg-in exp-prod
30×pow-sqr
27×+-commutative
26×pow-plus
23×distribute-rgt-in distribute-lft-in
22×rem-log-exp
21×sin-mult div-sub
19×frac-sub pow2
16×pow-flip tan-quot
14×inv-pow distribute-rgt-out-- associate--l+
12×cos-sum acos-asin
11×cos-diff
10×pow-exp associate-+l-
associate--l- pow-to-exp distribute-lft-neg-in distribute-rgt-out
un-div-inv
exp-sum
associate-+l+ rem-exp-log
exp-diff associate--r-
neg-sub0 quot-tan distribute-lft1-in distribute-rgt-neg-out associate--r+ distribute-rgt1-in
associate-+r+ distribute-frac-neg pow-unpow acos-neg cube-mult
sin-sum associate-+r- rem-cube-cbrt pow3 neg-log sqrt-unprod neg-mul-1 sub-div difference-cubes sin-PI/3 asin-acos
unsub-neg cube-unmult exp-neg unpow3 tanh-def tanh-undef exp-to-pow cube-div pow-pow rem-square-sqrt rem-cbrt-cube sin-diff

regimes11.9s

Accuracy

Total 51.6b remaining (36.1%)

7.3b47%Cubic critical, narrow range
7.1b48.1%Quadratic roots, narrow range
6.2b10.6%Quadratic roots, medium range
6.2b11.5%Cubic critical, medium range
4.9b82.4%Quadratic roots, full range

localize4.6s

bsearch1.5s

end2.0ms