Details

Time bar (total: 2.1s)

sample18.0ms

Algorithm
intervals
Results
9.0ms343×body80valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (59.0ms)

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

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

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

rewrite8.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)
3.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

series131.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(- (* x 3.0) 4.0)
35.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
51.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) 3.0)

simplify141.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0206296
1706240
24518237
35001237

prune137.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

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

series72.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (66.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune97.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 1 expressions with local error:

0.1b
(fma x (- (* 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
1 → 10
Calls
1 calls:
0.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series36.0ms

Counts
1 → 3
Calls
1 calls:
36.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

simplify86.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
04266
19553
239053
3202953
4500253

prune32.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 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)
0.1b
(* (sqrt (fma x (- (* x 3.0) 4.0) 1.0)) (* (sqrt (fma x (- (* x 3.0) 4.0) 1.0)) 3.0))
0.1b
(* (sqrt (fma x (- (* x 3.0) 4.0) 1.0)) 3.0)

rewrite18.0ms

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

series268.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
34.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
49.0ms
(* (sqrt (fma x (- (* x 3.0) 4.0) 1.0)) (* (sqrt (fma x (- (* x 3.0) 4.0) 1.0)) 3.0))
144.0ms
(* (sqrt (fma x (- (* x 3.0) 4.0) 1.0)) 3.0)

simplify153.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0265604
1970502
24983497
35001497

prune208.0ms

Pruning

4 alts after pruning (1 fresh and 3 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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample394.0ms

Algorithm
intervals
Results
273.0ms10660×body80valid