Details

Time bar (total: 1.7s)

sample16.0ms

Algorithm
intervals
Results
8.0ms350×body80valid

simplify94.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 8 (47.0ms)

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

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

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

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

series114.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0206296
1694240
24260237
35001233

prune105.0ms

Filtered
57 candidates to 41 candidates (71.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New51657
Fresh101
Picked101
Done000
Total53659

Merged error: 0.0b

Counts
59 → 6

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

series29.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
04266
19553
239053
3202953
4500253

prune33.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh055
Picked011
Done000
Total13619

Merged error: 0.0b

Counts
19 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l* prod-diff
distribute-rgt-in distribute-lft-in
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv sub-neg flip3-- div-exp pow-prod-down *-commutative flip-- associate-/l/ unswap-sqr
frac-2neg clear-num fma-udef div-inv associate-/l*
Counts
4 → 87
Calls
4 calls:
1.0ms
(fma x (/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0)) 1.0)
3.0ms
(* (fma x (/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0)) 1.0) 3.0)
7.0ms
(* (fma x 3.0 4.0) (- (* x 3.0) 4.0))
8.0ms
(/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0))

series239.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(fma x (/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0)) 1.0)
45.0ms
(* (fma x (/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0)) 1.0) 3.0)
118.0ms
(* (fma x 3.0 4.0) (- (* x 3.0) 4.0))
45.0ms
(/ (* (fma x 3.0 4.0) (- (* x 3.0) 4.0)) (fma x 3.0 4.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0374827
11975679
25001646

prune191.0ms

Filtered
99 candidates to 69 candidates (69.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New98199
Fresh314
Picked011
Done011
Total1014105

Merged error: 0b

Counts
105 → 4

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

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

series66.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0120170
1350149
21768148
35001131

prune62.0ms

Filtered
36 candidates to 26 candidates (72.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New36036
Fresh011
Picked011
Done022
Total36440

Merged error: 0b

Counts
40 → 4

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

sample367.0ms

Algorithm
intervals
Results
255.0ms10583×body80valid