Details

Time bar (total: 3.8s)

sample72.0ms

Algorithm
intervals
Results
28.0ms95×body1280valid
17.0ms90×body640valid
8.0ms291×body80valid
5.0ms37×body320valid
2.0ms24×body160valid

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

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.2b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

6.6b
(- (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

prune40.0ms

Filtered
17 candidates to 14 candidates (17.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New14317
Fresh000
Picked101
Done000
Total15318

Merged error: 0.0b

Counts
18 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

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

series27.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0354458
11537429
25002428

prune134.0ms

Filtered
92 candidates to 59 candidates (35.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New92092
Fresh022
Picked011
Done000
Total92395

Merged error: 0.0b

Counts
95 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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:
16.0ms
(* (+ (sqrt (exp x)) (sqrt (exp (neg x)))) (- (sqrt (exp x)) (sqrt (exp (neg x)))))
2.0ms
(sqrt (exp x))
2.0ms
(sqrt (exp x))
9.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))

series31.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0282989
11217868
25001843

prune85.0ms

Filtered
100 candidates to 70 candidates (30.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New991100
Fresh101
Picked011
Done011
Total1003103

Merged error: 0b

Counts
103 → 3

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (* (- (exp x) (exp (neg x))) (- (pow (sqrt (exp x)) 3) (pow (sqrt (exp (neg x))) 3))) (* (+ (+ (exp x) (exp (neg x))) (* (sqrt (exp x)) (sqrt (exp (neg x))))) (- (sqrt (exp x)) (sqrt (exp (neg x))))))
6.6b
(- (pow (sqrt (exp x)) 3) (pow (sqrt (exp (neg x))) 3))
6.6b
(- (exp x) (exp (neg x)))
6.7b
(- (sqrt (exp x)) (sqrt (exp (neg x))))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
74×add-sqr-sqrt
41×difference-of-squares
38×sqrt-prod
32×unpow-prod-down cube-prod
28×*-un-lft-identity
20×associate-/r/
16×add-exp-log frac-times flip3-- associate-*r/ add-cbrt-cube flip--
12×sqrt-div frac-add distribute-lft-out-- sqr-pow
10×add-log-exp
flip3-+ flip-+
associate-*l/ associate-/l/
neg-sub0 exp-neg exp-diff
pow1 cbrt-undiv add-cube-cbrt div-exp prod-exp cbrt-unprod
sub-neg diff-log
difference-cubes frac-2neg times-frac clear-num associate-/r* div-inv associate-/l*
Counts
4 → 139
Calls
4 calls:
42.0ms
(/ (* (- (exp x) (exp (neg x))) (- (pow (sqrt (exp x)) 3) (pow (sqrt (exp (neg x))) 3))) (* (+ (+ (exp x) (exp (neg x))) (* (sqrt (exp x)) (sqrt (exp (neg x))))) (- (sqrt (exp x)) (sqrt (exp (neg x))))))
22.0ms
(- (pow (sqrt (exp x)) 3) (pow (sqrt (exp (neg x))) 3))
5.0ms
(- (exp x) (exp (neg x)))
7.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))

series298.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(/ (* (- (exp x) (exp (neg x))) (- (pow (sqrt (exp x)) 3) (pow (sqrt (exp (neg x))) 3))) (* (+ (+ (exp x) (exp (neg x))) (* (sqrt (exp x)) (sqrt (exp (neg x))))) (- (sqrt (exp x)) (sqrt (exp (neg x))))))
213.0ms
(- (pow (sqrt (exp x)) 3) (pow (sqrt (exp (neg x))) 3))
5.0ms
(- (exp x) (exp (neg x)))
8.0ms
(- (sqrt (exp x)) (sqrt (exp (neg x))))

simplify110.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08193567
140552936
250012936

prune187.0ms

Filtered
151 candidates to 87 candidates (42.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1510151
Fresh000
Picked011
Done022
Total1513154

Merged error: 0b

Counts
154 → 3

regimes32.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0208
1208

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.1s3384×body1280valid
476.0ms2472×body640valid
239.0ms8144×body80valid
151.0ms1248×body320valid
47.0ms628×body160valid

Profiling

Loading profile data...