Details

Time bar (total: 1.3s)

sample14.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 33.394355%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
6.0ms256×body80valid

simplify195.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1354
2814
31274
41334
51494
62054
73964
813284
946624
1050014

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize10.0ms

Local error

Found 1 expressions with local error:

0.2b
(* (* x x) (- 3.0 (* x 2.0)))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt associate-*r* pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in add-cube-cbrt sub-neg *-un-lft-identity distribute-lft-in associate-*r/
flip3-- associate-*l* *-commutative flip-- add-log-exp unswap-sqr
Counts
1 → 25
Calls
1 calls:
7.0ms
(* (* x x) (- 3.0 (* x 2.0)))

series7.0ms

Counts
1 → 3
Calls
1 calls:
7.0ms
(* (* x x) (- 3.0 (* x 2.0)))

simplify144.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune45.0ms

Filtered
16 candidates to 28 candidates (-75.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New23528
Fresh000
Picked101
Done000
Total24529

Merged error: 0b

Counts
29 → 5

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (- 3.0 (* x 2.0)))
0.1b
(* x (* x (- 3.0 (* x 2.0))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
sub-neg associate-*r/ associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 52
Calls
2 calls:
5.0ms
(* x (- 3.0 (* x 2.0)))
7.0ms
(* x (* x (- 3.0 (* x 2.0))))

series12.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(* x (- 3.0 (* x 2.0)))
7.0ms
(* x (* x (- 3.0 (* x 2.0))))

simplify35.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0192313
1954262
25002262

prune55.0ms

Filtered
30 candidates to 58 candidates (-93.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New58058
Fresh044
Picked011
Done000
Total58563

Merged error: 0b

Counts
63 → 5

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* (* x x) 3.0) (neg (* 2.0 (pow x 3))))
0.2b
(* (* x x) 3.0)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r* pow-prod-down prod-exp cbrt-unprod
sum-log
+-commutative neg-sub0 associate-+r- flip3-+ associate-*l* unsub-neg neg-log *-commutative flip-+ unswap-sqr
Counts
2 → 34
Calls
2 calls:
6.0ms
(+ (* (* x x) 3.0) (neg (* 2.0 (pow x 3))))
5.0ms
(* (* x x) 3.0)

series12.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(+ (* (* x x) 3.0) (neg (* 2.0 (pow x 3))))
3.0ms
(* (* x x) 3.0)

simplify38.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0193210
1975184
25002177

prune58.0ms

Filtered
25 candidates to 40 candidates (-60.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New39140
Fresh123
Picked101
Done011
Total41445

Merged error: 0b

Counts
45 → 4

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0)) (neg (* 2.0 (pow x 3))))
0.2b
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))
0.3b
(* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
49×pow1
33×add-exp-log
27×pow-prod-down
21×prod-exp cbrt-unprod
20×add-cbrt-cube
associate-*r* add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-plus pow-prod-up
cbrt-prod
pow2 associate-*l* sum-log pow-sqr *-commutative
+-commutative neg-sub0 associate-+r- flip3-+ unsub-neg neg-log flip-+ unswap-sqr
Counts
3 → 74
Calls
3 calls:
14.0ms
(+ (* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0)) (neg (* 2.0 (pow x 3))))
11.0ms
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))
15.0ms
(* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

series36.0ms

Counts
3 → 9
Calls
3 calls:
17.0ms
(+ (* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0)) (neg (* 2.0 (pow x 3))))
8.0ms
(* (* x x) (* (cbrt 3.0) (cbrt 3.0)))
10.0ms
(* (* (* x x) (* (cbrt 3.0) (cbrt 3.0))) (cbrt 3.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
0311641
11751460
25002398

prune113.0ms

Filtered
44 candidates to 83 candidates (-88.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New83083
Fresh022
Picked011
Done011
Total83487

Merged error: 0b

Counts
87 → 4

regimes31.0ms

Accuracy

0% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0104
1104

end0.0ms

sample277.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 33.394355%

Space saved by search: 0.048828%

Guaranteed chance to sample good point: 0%

Results
190.0ms8000×body80valid
0.0msbody80invalid

Profiling

Loading profile data...