Details

Time bar (total: 1.9s)

sample22.0ms

Algorithm
intervals
Results
13.0ms332×body80valid

simplify91.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (46.0ms)

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

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2

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)

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

series78.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0108205
1332171
22344171
35003168

prune69.0ms

Filtered
36 candidates to 26 candidates (72.2%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New31536
Fresh101
Picked011
Done000
Total32638

Merged error: 0.0b

Counts
38 → 6

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:
4.0ms
(- (* 9.0 x) 12.0)
1.0ms
(fma x (- (* 9.0 x) 12.0) 3.0)

series72.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (78.0ms)

IterNodesCost
0140157
1462122
22558119
35002115

prune68.0ms

Filtered
34 candidates to 24 candidates (70.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New32234
Fresh224
Picked011
Done011
Total34640

Merged error: 0.0b

Counts
40 → 6

localize10.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) (* (cbrt 3.0) (cbrt 3.0)))
0.2b
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

rewrite20.0ms

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

series207.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(fma x (- (* x 3.0) 4.0) 1.0)
94.0ms
(* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0)))
80.0ms
(* (* (fma x (- (* x 3.0) 4.0) 1.0) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0229599
11051477
25002436

prune122.0ms

Filtered
66 candidates to 44 candidates (66.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New64266
Fresh213
Picked101
Done112
Total68472

Merged error: 0b

Counts
72 → 4

localize7.0ms

Local error

Found 1 expressions with local error:

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

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:
1.0ms
(fma (pow x 2) 9.0 (- 3.0 (* 12.0 x)))

series27.0ms

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

simplify143.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 3 (22.0ms)

IterNodesCost
03574
110765
256265
3393561
4500161

prune22.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done011
Total13417

Merged error: 0b

Counts
17 → 4

regimes19.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

sample676.0ms

Algorithm
intervals
Results
553.0ms10813×body80valid