Details

Time bar (total: 1.4s)

sample17.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 16.680908%

Guaranteed chance to sample good point: 99.996337%

Results
6.0ms256×body80valid
1.0ms57×body80invalid

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

localize5.0ms

Local error

Found 1 expressions with local error:

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

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

series10.0ms

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

simplify142.0ms

Algorithm
egg-herbie
Counts
28 → 28
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0171170
1807140
24462140
35001140

prune49.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New20828
Fresh000
Picked011
Done000
Total20929

Merged error: 0.0b

Counts
29 → 9

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series15.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0292325
11517282
25001277

prune103.0ms

Filtered
45 candidates to 74 candidates (-64.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New70474
Fresh437
Picked101
Done011
Total75883

Merged error: 0.0b

Counts
83 → 8

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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)))
6.0ms
(* x (* x (- 3.0 (* x 2.0))))

series12.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0192313
1954262
25002262

prune61.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New55358
Fresh426
Picked101
Done011
Total60666

Merged error: 0b

Counts
66 → 6

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series15.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(+ (* x 3.0) (* x (neg (* x 2.0))))
8.0ms
(* x (+ (* x 3.0) (* x (neg (* x 2.0)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0204314
11105252
25001243

prune51.0ms

Filtered
32 candidates to 43 candidates (-34.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh044
Picked011
Done011
Total43649

Merged error: 0b

Counts
49 → 6

regimes73.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0206
1256
2266
3266

end0.0ms

sample412.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 16.680908%

Guaranteed chance to sample good point: 99.996337%

Results
195.0ms8000×body80valid
50.0ms2026×body80invalid

Profiling

Loading profile data...