Details

Time bar (total: 7.1s)

sample44.0ms

Algorithm
intervals
Results
23.0ms256×body80valid

simplify111.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
013286
161875
2334339
3500139

prune29.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 26.1b

localize39.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
0.2b
(* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
11.3b
(* (/ (+ (+ (+ (+ (+ 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)
25.6b
(/ (+ (+ (+ (+ (+ 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)))))

rewrite506.0ms

Algorithm
rewrite-expression-head
Rules
293×add-exp-log add-cbrt-cube
288×pow1
238×prod-exp cbrt-unprod
237×pow-prod-down
27×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
21×associate-*l*
19×times-frac
associate-*r*
expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
flip3-+ associate-/r* *-commutative flip-+ associate-/l*
cbrt-undiv div-exp div-inv associate-/l/ unswap-sqr
frac-2neg associate-*l/ clear-num
Counts
4 → 235
Calls
4 calls:
190.0ms
(* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
190.0ms
(* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
38.0ms
(* (/ (+ (+ (+ (+ (+ 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)
65.0ms
(/ (+ (+ (+ (+ (+ 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)))))

series580.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
53.0ms
(* 0.0005064034 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
270.0ms
(* (/ (+ (+ (+ (+ (+ 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)
208.0ms
(/ (+ (+ (+ (+ (+ 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)))))

simplify196.0ms

Algorithm
egg-herbie
Counts
247 → 247
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
013289634
147916793
250016793

prune953.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize41.0ms

Local error

Found 4 expressions with local error:

0.2b
(* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
0.2b
(* 0.0005064034 (pow x 8))
11.3b
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (pow x 8))) (* 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)
25.6b
(/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (pow x 8))) (* 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)))))

rewrite317.0ms

Algorithm
rewrite-expression-head
Rules
157×add-exp-log
154×add-cbrt-cube
147×pow1
123×prod-exp
121×cbrt-unprod
119×pow-prod-down
34×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
21×associate-*l*
19×times-frac
11×associate-*r*
unswap-sqr
expm1-log1p-u unpow-prod-down associate-/r/ log1p-expm1-u add-log-exp
flip3-+ associate-/r* *-commutative flip-+ associate-/l*
cbrt-undiv div-exp div-inv associate-/l/ sqr-pow
pow-to-exp frac-2neg associate-*l/ pow-exp clear-num
Counts
4 → 179
Calls
4 calls:
194.0ms
(* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
5.0ms
(* 0.0005064034 (pow x 8))
40.0ms
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (pow x 8))) (* 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)
64.0ms
(/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (pow x 8))) (* 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)))))

series581.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* 0.0140005442 (* (* (* (* x x) (* x x)) (* x x)) (* x x)))
53.0ms
(* 0.0005064034 (pow x 8))
270.0ms
(* (/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (pow x 8))) (* 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)
209.0ms
(/ (+ (+ (+ (+ (+ 1.0 (* 0.1049934947 (* x x))) (* 0.0424060604 (* (* x x) (* x x)))) (* 0.0072644182 (* (* (* x x) (* x x)) (* x x)))) (* 0.0005064034 (pow x 8))) (* 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)))))

simplify188.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011778354
147706133
250016133

prune991.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 0.265709700396151 (pow x 5))
0.1b
(* 0.6665536072 (pow x 3))
15.8b
(- (* 0.265709700396151 (pow x 5)) (* 0.6665536072 (pow x 3)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
add-log-exp
cube-prod sqr-pow
pow1 expm1-log1p-u log1p-expm1-u
pow-to-exp pow-exp *-commutative cbrt-unprod
cube-mult sub-neg flip3-- fma-neg diff-log unpow3 prod-diff flip--
Counts
3 → 76
Calls
3 calls:
5.0ms
(* 0.265709700396151 (pow x 5))
6.0ms
(* 0.6665536072 (pow x 3))
4.0ms
(- (* 0.265709700396151 (pow x 5)) (* 0.6665536072 (pow x 3)))

series234.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(* 0.265709700396151 (pow x 5))
36.0ms
(* 0.6665536072 (pow x 3))
145.0ms
(- (* 0.265709700396151 (pow x 5)) (* 0.6665536072 (pow x 3)))

simplify43.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0276370
11186341
25002339

prune193.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 0.2514179000665375 (/ 1 (pow x 3)) (fma 0.15298196345929327 (/ 1 (pow x 5)) (* 0.5 (/ 1 x))))
0.0b
(fma 0.15298196345929327 (/ 1 (pow x 5)) (* 0.5 (/ 1 x)))
0.1b
(/ 1 (pow x 5))
0.2b
(/ 1 (pow x 3))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
57×times-frac
45×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
22×add-exp-log
19×associate-/r*
12×cube-prod div-exp
add-cbrt-cube sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u add-log-exp
cbrt-undiv pow-flip frac-2neg clear-num fma-udef div-inv inv-pow
Counts
4 → 150
Calls
4 calls:
1.0ms
(fma 0.2514179000665375 (/ 1 (pow x 3)) (fma 0.15298196345929327 (/ 1 (pow x 5)) (* 0.5 (/ 1 x))))
1.0ms
(fma 0.15298196345929327 (/ 1 (pow x 5)) (* 0.5 (/ 1 x)))
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 1 (pow x 3))

series249.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(fma 0.2514179000665375 (/ 1 (pow x 3)) (fma 0.15298196345929327 (/ 1 (pow x 5)) (* 0.5 (/ 1 x))))
113.0ms
(fma 0.15298196345929327 (/ 1 (pow x 5)) (* 0.5 (/ 1 x)))
48.0ms
(/ 1 (pow x 5))
31.0ms
(/ 1 (pow x 3))

simplify41.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0334792
11614629
25001620

prune267.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes40.0ms

Accuracy

99.2% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 29.9b

bsearch522.0ms

Steps
ItersRangePoint
10
7.712829756242493e-08
8770343.893451896
1.1491378700218309
9
-1827977.1926269082
-0.00043085380315138777
-1.1633699203691767

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03614
13614

end0.0ms

sample840.0ms

Algorithm
intervals
Results
734.0ms8000×body80valid