Details

Time bar (total: 3.4s)

sample75.0ms

Algorithm
intervals
Results
34.0ms111×body1280valid
15.0ms77×body640valid
8.0ms281×body80valid
4.0ms35×body320valid
2.0ms25×body160valid

simplify136.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0145
1235
2315
3365
4415
5655
61035
72435
815635
950015

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.4b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

7.8b
(- (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)))

simplify32.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0100120
1257106
2785105
35001103

prune38.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New15217
Fresh000
Picked011
Done000
Total15318

Merged error: 0.0b

Counts
18 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/3 (pow x 3))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×associate-*r*
12×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down
unswap-sqr
associate-*l* prod-exp add-cbrt-cube
cube-prod sqr-pow
pow1 pow-to-exp pow-exp *-commutative cbrt-unprod add-log-exp
cube-mult unpow3
Counts
2 → 56
Calls
2 calls:
6.0ms
(* 1/60 (pow x 5))
6.0ms
(* 1/3 (pow x 3))

series10.0ms

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

simplify184.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0208209
1871193
24636193
35001193

prune88.0ms

Filtered
38 candidates to 62 candidates (-63.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New62062
Fresh011
Picked011
Done011
Total62365

Merged error: 0.0b

Counts
65 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (neg x)))
0.0b
(sqrt (exp (neg 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))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
26×*-un-lft-identity
22×sqrt-pow1
20×exp-prod sqrt-prod
14×add-cube-cbrt
associate-*r*
pow1 difference-of-squares
add-exp-log distribute-lft-neg-in distribute-rgt-neg-in add-cbrt-cube add-log-exp
associate-*l*
frac-times flip3-- sqrt-div flip-- distribute-lft-out--
sub-neg flip3-+ flip-+
neg-sub0 distribute-rgt-in exp-neg neg-mul-1 rem-sqrt-square distribute-lft-in pow1/2 exp-diff associate-*r/ associate-*l/ distribute-lft-out
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 106
Calls
4 calls:
5.0ms
(sqrt (exp (neg x)))
3.0ms
(sqrt (exp (neg x)))
17.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 (neg x)))
3.0ms
(sqrt (exp (neg x)))
19.0ms
(* (+ (sqrt (exp x)) (sqrt (exp (neg x)))) (- (sqrt (exp x)) (sqrt (exp (neg x)))))
8.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))

simplify41.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02971065
11249940
25002911

prune110.0ms

Filtered
86 candidates to 118 candidates (-37.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1171118
Fresh000
Picked101
Done022
Total1183121

Merged error: 0b

Counts
121 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
38×sqrt-div
35×add-sqr-sqrt
30×sqrt-prod
28×frac-times
22×*-un-lft-identity
20×flip3-- flip--
14×associate-*l/
12×associate-*r* difference-of-squares
11×sqrt-pow1
10×pow1 add-cube-cbrt exp-prod
add-exp-log flip3-+ add-cbrt-cube flip-+
associate-*r/ add-log-exp
distribute-lft-out--
distribute-lft-neg-in distribute-rgt-neg-in pow-prod-down prod-exp cbrt-unprod
sub-neg diff-log
neg-sub0 exp-neg neg-mul-1 rem-sqrt-square pow1/2 exp-diff associate-*l* *-commutative
Counts
4 → 114
Calls
4 calls:
3.0ms
(sqrt (exp (neg x)))
31.0ms
(* (* (+ (sqrt (exp x)) (sqrt (exp (neg x)))) (sqrt (- (sqrt (exp x)) (sqrt (exp (neg x)))))) (sqrt (- (sqrt (exp x)) (sqrt (exp (neg x))))))
7.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))
7.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))

series38.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04302254
117931937
250031924

prune120.0ms

Filtered
82 candidates to 126 candidates (-53.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1260126
Fresh000
Picked011
Done022
Total1263129

Merged error: 0b

Counts
129 → 3

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

sample2.2s

Algorithm
intervals
Results
1.0s3337×body1280valid
476.0ms2469×body640valid
233.0ms8096×body80valid
152.0ms1287×body320valid
48.0ms632×body160valid

Profiling

Loading profile data...