Details

Time bar (total: 1.7s)

sample16.0ms

Algorithm
intervals
Results
8.0ms333×body80valid

simplify87.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (42.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.2b

Counts
2 → 2

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* x 3.0) x) (* x 4.0))
0.1b
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
0.2b
(* (* x 3.0) x)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
associate-*r/ *-commutative
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ fma-neg diff-log prod-diff flip-- flip-+ distribute-lft-out unswap-sqr
Counts
3 → 61
Calls
3 calls:
6.0ms
(- (* (* x 3.0) x) (* x 4.0))
10.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
5.0ms
(* (* x 3.0) x)

series133.0ms

Counts
3 → 9
Calls
3 calls:
75.0ms
(- (* (* x 3.0) x) (* x 4.0))
32.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
25.0ms
(* (* x 3.0) x)

simplify50.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0306404
11349358
25001342

prune146.0ms

Filtered
70 candidates to 48 candidates (68.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New63770
Fresh101
Picked101
Done000
Total65772

Merged error: 0b

Counts
72 → 7

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

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

series65.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune93.0ms

Filtered
36 candidates to 27 candidates (75.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New34236
Fresh336
Picked101
Done000
Total38543

Merged error: 0b

Counts
43 → 5

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)

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

series74.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 3 (79.0ms)

IterNodesCost
0140157
1462122
22558119
35002115

prune71.0ms

Filtered
34 candidates to 24 candidates (70.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New34034
Fresh044
Picked011
Done000
Total34539

Merged error: 0b

Counts
39 → 5

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* x 3.0) (fma x 3.0 (- 4.0))) (* 3.0 1.0))
0.0b
(fma x 3.0 (- 4.0))
0.2b
(* (* x 3.0) (fma x 3.0 (- 4.0)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
fma-udef add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
distribute-rgt-in associate-+l+ distribute-lft-in
+-commutative fma-def flip3-+ associate-*l* sum-log *-commutative flip-+
Counts
3 → 48
Calls
3 calls:
5.0ms
(+ (* (* x 3.0) (fma x 3.0 (- 4.0))) (* 3.0 1.0))
1.0ms
(fma x 3.0 (- 4.0))
5.0ms
(* (* x 3.0) (fma x 3.0 (- 4.0)))

series176.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0230339
11043299
25001293

prune111.0ms

Filtered
57 candidates to 41 candidates (71.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New55257
Fresh303
Picked011
Done011
Total58462

Merged error: 0b

Counts
62 → 4

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

sample377.0ms

Algorithm
intervals
Results
262.0ms10597×body80valid