Date:Tuesday, February 18th, 2020
Commit:5d186d9c on refactor-and-minor
Hostname:warfa with Racket 7.5
Seed:2020049
Parameters:256 points for 4 iterations
Flags:
setup:simplifyrules:arithmeticrules:polynomialsrules:fractionsrules:exponentsrules:trigonometryrules:hyperbolicrules:complexrules:specialrules:boolsrules:branchesgenerate:rrgenerate:taylorgenerate:simplifyreduce:regimesreduce:avg-errorreduce:binary-searchreduce:branch-expressionsprecision:doubleprecision:fallback
default

Details

rewrite11.2m (71.8%)

Algorithm
163×rewrite-expression-head
Calls

511 calls:

13.9s
(* (cbrt (pow (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) 3)) x)
7.3s
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0001789971 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (+ (+ (+ (+ (+ (+ 1.0 (* 0.7715471019 (* x x))) (* 0.2909738639 (* (* x x) (* x x)))) (* 0.0694555761 (* (* (* x x) (* x x)) (* x x)))) (* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))) (* 0.0008327945 (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)))) (* (* 2.0 0.0001789971) (* (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x)) (* x x))))) x)
5.3s
(/ (* x (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3))))) 0.0001789971) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0072644182) 1.0) (* (pow x 2) (+ 0.1049934947 (* 0.0424060604 (pow x 2)))))) (* 0.0005064034 (pow x 8)))) (+ (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0694555761) 1.0) (* (pow x 2) (+ 0.7715471019 (* 0.2909738639 (pow x 2))))) (+ (* 0.0140005442 (pow x 8)) (* (pow x 2) (+ (pow (* 0.0008327945 (pow x 8)) 1) (* (* 2.0 0.0001789971) (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x))))))))
5.3s
(/ (* x (+ (+ (* (* (pow x 2) (* (pow x 2) (* (pow x 2) (* x (pow x 3))))) 0.0001789971) (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0072644182) 1.0) (* (pow x 2) (+ 0.1049934947 (* 0.0424060604 (pow x 2)))))) (* 0.0005064034 (pow x 8)))) (+ (+ (+ (* (* (pow x 2) (* x (pow x 3))) 0.0694555761) 1.0) (* (pow x 2) (+ 0.7715471019 (* 0.2909738639 (pow x 2))))) (+ (* 0.0140005442 (pow x 8)) (* (pow x 2) (+ (* 0.0008327945 (* (* (* (* x x) (* x x)) (* x x)) (* x x))) (* (* 2.0 0.0001789971) (* (* (* (* (* x x) (* x x)) (* x x)) (* x x)) (* x x))))))))
4.8s
(* (/ 1.0 21.0) (* (* (* (* (* (* (fabs x) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)) (fabs x)))
Rules
6616×times-frac
6614×*-un-lft-identity
5704×add-sqr-sqrt
4393×add-cube-cbrt
4266×add-exp-log
2998×add-cbrt-cube
2564×pow1
2037×prod-exp
1487×associate-*l*
1425×cbrt-div
1370×associate-*r*
1360×cbrt-unprod
1177×sqrt-prod
1153×flip-+ flip3-+
1010×pow-prod-down
983×distribute-lft-out
956×frac-times
872×div-exp
814×add-log-exp
804×associate-*r/
682×cbrt-prod
633×associate-/r/
525×associate-/l*
476×associate-*l/
458×swap-sqr
454×cbrt-undiv
395×associate-/r*
368×div-inv
348×unpow-prod-down
320×unswap-sqr
293×sqrt-div
283×difference-of-squares
259×log-pow
238×sqrt-pow1
230×flip-- flip3--
228×pow-exp
202×distribute-lft-out--
174×*-commutative
154×cube-prod
153×log-prod
146×pow1/2
128×distribute-rgt-neg-in
127×associate-/l/
124×distribute-lft-neg-in
120×pow-prod-up
118×pow-unpow pow1/3
117×distribute-rgt-in distribute-lft-in
104×pow-to-exp
98×sqr-pow
91×sub-neg
88×clear-num pow-sqr frac-2neg
86×diff-log
84×frac-add
80×sum-log
75×pow-plus
66×rem-sqrt-square exp-prod
63×distribute-neg-frac
56×frac-sub
53×exp-diff
52×exp-sum
50×pow2
49×+-commutative
47×pow-pow
36×associate--l+
29×distribute-rgt-out--
28×log-div
23×div-sub
21×1-exp rec-exp
20×neg-mul-1
19×unpow-prod-up
18×unpow3 cube-mult
16×associate-+l+ associate--l-
15×cube-div
14×rem-exp-log
unpow2
sub-div associate--r+
inv-pow distribute-neg-in pow-sub pow-flip
neg-log sin-sum associate-+r+ neg-sub0
rem-cube-cbrt pow3 rem-cbrt-cube associate-+l- rem-log-exp
un-div-inv
e-exp-1 exp-neg unsub-neg sum-cubes distribute-rgt-neg-out associate-+r-
sqrt-pow2 sqrt-unprod rem-square-sqrt exp-to-pow
distribute-lft-neg-out sqrt-undiv cos-sum associate--r-

sample1.8m (11.2%)

Algorithm
99×intervals
Results
44.1s12118×body10240exit
23.0s515538×body80valid
10.9s26859×body1280valid
5.0s21134×body640valid
2.4s69617×body80nan
1.8s10585×body320valid
1.6s1607×body1280nan
1000.0ms9448×body160valid
911.0ms1341×body640nan
637.0ms49536×pre80true
353.0ms1459×body2560valid
296.0ms607×body320nan
142.0ms588×body5120valid
112.0ms348×body160nan

series1.2m (7.5%)

Calls

509 calls:

8.4s
(+ (* 1.0 1.0) (- (* (* (* (/ 1.0 (- (* 1.0 1.0) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 1.0 (* 0.3275911 (fabs x))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429)))))))))) (* (/ 1.0 (- (* 1.0 1.0) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 1.0 (* 0.3275911 (fabs x))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429))))))))))) (* (/ 1 (exp (pow (fabs x) 2))) (/ 1 (exp (pow (fabs x) 2)))))))
2.3s
(- 1.0 (* (* (/ 1.0 (- (* 1.0 1.0) (* (* 0.3275911 (fabs x)) (* 0.3275911 (fabs x))))) (* (- 1.0 (* 0.3275911 (fabs x))) (+ 0.254829592 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -0.284496736 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ 1.421413741 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) (+ -1.453152027 (* (/ 1.0 (+ 1.0 (* 0.3275911 (fabs x)))) 1.061405429)))))))))) (exp (- (* (fabs x) (fabs x))))))
2.3s
(/ (* (/ (* i (+ (+ alpha beta) i)) (+ (+ alpha beta) (* 2.0 i))) (/ (/ (+ (* beta alpha) (* i (+ (+ alpha beta) i))) (+ (+ alpha beta) (* 2.0 i))) (- (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0)))) (+ (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0)))
2.2s
(* (/ (/ (* i (+ (+ alpha beta) i)) (+ (+ alpha beta) (* 2.0 i))) (+ (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0))) (/ (/ (+ (* beta alpha) (* i (+ (+ alpha beta) i))) (+ (+ alpha beta) (* 2.0 i))) (- (+ (+ alpha beta) (* 2.0 i)) (sqrt 1.0))))
854.0ms
(pow E (log (sqrt (* 2.0 (+ (sqrt (+ (* re re) (* im im))) re)))))

prune1.0m (6.5%)

simplify14.5s (1.6%)

Algorithm
261×egg-herbie

regimes8.1s (0.9%)

Accuracy

Total 93.5b remaining (32.9%)

Threshold costs 3.9b (1.4%)

12.2b50.1%math.log/2 on complex, real part
10.7b56.6%math.log10 on complex, real part
10.5b57.1%math.log/1 on complex, real part
9.7b59.2%math.abs on complex
9.2b64.7%powComplex, real part

localize2.7s (0.3%)

bsearch2.1s (0.2%)

end1.0ms (0.0%)