Details

Time bar (total: 1.7s)

sample17.0ms

Algorithm
intervals
Results
8.0ms337×body80valid

simplify100.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (53.0ms)

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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite9.0ms

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

series123.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (* x 3.0) 4.0)
39.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
42.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

simplify129.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0206296
1706240
24518237
35001237

prune131.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite4.0ms

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

series69.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- 3.0 (* 12.0 x))
31.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (54.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune98.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 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)

rewrite5.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)

series84.0ms

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

simplify91.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0140157
1462122
22558119
35002115

prune78.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite1.0ms

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

series80.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(fma 9.0 x (- 12.0))
39.0ms
(fma x (fma 9.0 x (- 12.0)) 3.0)

simplify88.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
052109
113291
251291
3252391
4500291

prune63.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes20.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
0104
1104

end0.0ms

sample385.0ms

Algorithm
intervals
Results
267.0ms10677×body80valid