Details

Time bar (total: 2.3s)

sample17.0ms

Algorithm
intervals
Results
9.0ms365×body80valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (39.0ms)

IterNodesCost
0276
1636
21545
33235
44265
55285
66045
78325
814644
920354
1020644
1120644

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(fma x (- (* x 3.0) 4.0) 1.0)
0.1b
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
2 → 30
Calls
2 calls:
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
3.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

series74.0ms

Counts
2 → 6
Calls
2 calls:
31.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
43.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0108205
1332171
22344171
35003168

prune71.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* 9.0 x) 12.0)
0.1b
(fma x (- (* 9.0 x) 12.0) 3.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- fma-neg diff-log flip-- fma-udef
Counts
2 → 28
Calls
2 calls:
3.0ms
(- (* 9.0 x) 12.0)
0.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series67.0ms

Counts
2 → 6
Calls
2 calls:
36.0ms
(- (* 9.0 x) 12.0)
30.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify80.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0140157
1462122
22558119
35002115

prune63.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (fma x (- (* x 3.0) 4.0) 1.0)) (cbrt (fma x (- (* x 3.0) 4.0) 1.0)))
0.2b
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
0.2b
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
0.2b
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 81
Calls
4 calls:
5.0ms
(* (cbrt (fma x (- (* x 3.0) 4.0) 1.0)) (cbrt (fma x (- (* x 3.0) 4.0) 1.0)))
0.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
0.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
1.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))

series640.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(* (cbrt (fma x (- (* x 3.0) 4.0) 1.0)) (cbrt (fma x (- (* x 3.0) 4.0) 1.0)))
156.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
155.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))
158.0ms
(cbrt (fma x (- (* x 3.0) 4.0) 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03501099
112151024
25002912

prune268.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma x (- (* x 3.0) 4.0) 1.0)
0.1b
(* (fma x (- (* x 3.0) 4.0) 1.0) (sqrt 3.0))
0.8b
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (sqrt 3.0)) (sqrt 3.0))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*r*
10×pow1 add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
sqrt-prod
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
*-commutative unswap-sqr
fma-udef
Counts
3 → 57
Calls
3 calls:
0.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
4.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) (sqrt 3.0))
11.0ms
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (sqrt 3.0)) (sqrt 3.0))

series178.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
65.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) (sqrt 3.0))
84.0ms
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (sqrt 3.0)) (sqrt 3.0))

simplify35.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0208501
1867409
25002384

prune109.0ms

Pruning

5 alts after pruning (1 fresh and 4 done)

Merged error: 0b

regimes21.0ms

Accuracy

0% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample400.0ms

Algorithm
intervals
Results
279.0ms10762×body80valid