Details

Time bar (total: 2.9s)

sample66.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.560547%

Guaranteed chance to sample good point: 99.987899%

Results
25.0ms81×body1280valid
20.0ms93×body640valid
5.0ms47×body320valid
2.0ms24×body160valid
0.0ms11×body80valid

simplify133.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1235
2315
3365
4415
5655
61035
72435
815635
950015

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.9b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

7.7b
(- (exp x) (exp (neg x)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
1 → 14
Calls
1 calls:
5.0ms
(- (exp x) (exp (neg x)))

series5.0ms

Counts
1 → 3
Calls
1 calls:
5.0ms
(- (exp x) (exp (neg x)))

simplify31.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
0100120
1257106
2785105
35001103

prune41.0ms

Filtered
14 candidates to 17 candidates (-21.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New14317
Fresh000
Picked101
Done000
Total15318

Merged error: 0.0b

Counts
18 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.1b
(* 1/60 (pow x 5))
0.2b
(* 1/3 (pow x 3))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
cube-prod sqr-pow
pow1 sum-log
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative cube-mult associate-+r+ flip3-+ unpow3 flip-+
Counts
3 → 69
Calls
3 calls:
7.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
5.0ms
(* 1/60 (pow x 5))
6.0ms
(* 1/3 (pow x 3))

series13.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
4.0ms
(* 1/60 (pow x 5))
4.0ms
(* 1/3 (pow x 3))

simplify44.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0300375
11301346
25001346

prune110.0ms

Filtered
49 candidates to 78 candidates (-59.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh022
Picked011
Done000
Total78381

Merged error: 0.0b

Counts
81 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (exp x) (- (exp x) (pow (exp x) -3))) (+ (exp x) (exp (neg x))))
0.0b
(* (exp x) (- (exp x) (pow (exp x) -3)))
0.1b
(pow (exp x) -3)
7.6b
(- (exp x) (pow (exp x) -3))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×*-un-lft-identity
11×add-cube-cbrt add-cbrt-cube
add-exp-log
pow1 associate-*r*
add-log-exp difference-of-squares
unpow-prod-down
pow-pow times-frac associate-*r/ associate-/r*
sub-neg pow-unpow exp-prod flip3-- associate-*l* flip-- sqr-pow
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out--
pow-to-exp frac-2neg flip3-+ diff-log pow-prod-down pow-exp clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
4 → 91
Calls
4 calls:
13.0ms
(/ (* (exp x) (- (exp x) (pow (exp x) -3))) (+ (exp x) (exp (neg x))))
11.0ms
(* (exp x) (- (exp x) (pow (exp x) -3)))
3.0ms
(pow (exp x) -3)
6.0ms
(- (exp x) (pow (exp x) -3))

series55.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ (* (exp x) (- (exp x) (pow (exp x) -3))) (+ (exp x) (exp (neg x))))
14.0ms
(* (exp x) (- (exp x) (pow (exp x) -3)))
6.0ms
(pow (exp x) -3)
9.0ms
(- (exp x) (pow (exp x) -3))

simplify64.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0420889
12061787
25001784

prune124.0ms

Filtered
73 candidates to 103 candidates (-41.1%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1030103
Fresh011
Picked011
Done011
Total1033106

Merged error: 0.0b

Counts
106 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp x))
0.0b
(sqrt (exp x))
0.0b
(* (+ (sqrt (exp x)) (sqrt (exp (neg x)))) (- (sqrt (exp x)) (sqrt (exp (neg x)))))
7.8b
(- (sqrt (exp x)) (sqrt (exp (neg x))))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
22×*-un-lft-identity
20×sqrt-prod
10×add-cube-cbrt
associate-*r*
pow1 sqrt-pow1 difference-of-squares
add-exp-log exp-prod add-cbrt-cube add-log-exp
associate-*l*
frac-times flip3-- flip-- distribute-lft-out--
sub-neg flip3-+ flip-+
distribute-rgt-in rem-sqrt-square distribute-lft-in pow1/2 associate-*r/ associate-*l/ distribute-lft-out
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 88
Calls
4 calls:
2.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))
16.0ms
(* (+ (sqrt (exp x)) (sqrt (exp (neg x)))) (- (sqrt (exp x)) (sqrt (exp (neg x)))))
7.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))

series33.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (exp x))
3.0ms
(sqrt (exp x))
20.0ms
(* (+ (sqrt (exp x)) (sqrt (exp (neg x)))) (- (sqrt (exp x)) (sqrt (exp (neg x)))))
8.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))

simplify38.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0282989
11217868
25001843

prune80.0ms

Filtered
70 candidates to 100 candidates (-42.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New991100
Fresh000
Picked011
Done022
Total994103

Merged error: 0.0b

Counts
103 → 4

regimes33.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0208
1208

end0.0ms

sample1.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 49.560547%

Guaranteed chance to sample good point: 99.987899%

Results
1.0s3313×body1280valid
471.0ms2501×body640valid
157.0ms1310×body320valid
45.0ms609×body160valid
10.0ms267×body80valid
0.0msbody80invalid

Profiling

Loading profile data...