Details

Time bar (total: 1.6s)

sample18.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify131.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5405
6615
71435
813575
950015

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
12×times-frac
10×add-sqr-sqrt add-cube-cbrt
associate-/r* distribute-lft-out
add-exp-log add-cbrt-cube associate-/l*
associate-/r/
pow1 cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv add-log-exp
Counts
1 → 33
Calls
1 calls:
6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

series8.0ms

Counts
1 → 3
Calls
1 calls:
8.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

simplify69.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0164311
1550289
22149287
35002287

prune45.0ms

Filtered
27 candidates to 36 candidates (-33.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New33336
Fresh000
Picked101
Done000
Total34337

Merged error: 0b

Counts
37 → 3

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
119×*-un-lft-identity
98×sqrt-prod
90×times-frac
89×add-sqr-sqrt
61×add-cube-cbrt
29×swap-sqr
26×distribute-lft-out
21×associate-*r* associate-*l*
18×pow1
12×associate-/r/
add-exp-log add-cbrt-cube unswap-sqr
sqrt-pow1 pow1/2 associate-/r*
flip3-+ flip-+ div-inv associate-/l*
pow-prod-up
sqrt-div
pow-prod-down pow-sqr add-log-exp
cbrt-undiv frac-2neg div-exp clear-num
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
3 → 174
Calls
3 calls:
21.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))
6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

series29.0ms

Counts
3 → 9
Calls
3 calls:
13.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))))
8.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
8.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

simplify66.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
03701882
118921745
250021716

prune188.0ms

Filtered
106 candidates to 183 candidates (-72.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1821183
Fresh112
Picked011
Done000
Total1833186

Merged error: 0b

Counts
186 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(pow (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) 4)
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))
0.2b
(sqrt (pow (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) 4))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
63×sqrt-prod
52×*-un-lft-identity
45×unpow-prod-down
37×add-sqr-sqrt times-frac
32×add-cube-cbrt
10×distribute-lft-out
add-exp-log associate-/r/
pow1 rem-sqrt-square add-cbrt-cube
associate-/r*
pow-unpow pow-pow flip3-+ flip-+ div-inv associate-/l* add-log-exp sqr-pow
sqrt-pow1 pow1/2
cbrt-undiv pow-to-exp frac-2neg div-exp pow-exp clear-num sqrt-pow2
Counts
3 → 110
Calls
3 calls:
8.0ms
(pow (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) 4)
6.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
9.0ms
(sqrt (pow (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) 4))

series48.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(pow (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) 4)
8.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))
13.0ms
(sqrt (pow (sqrt (/ 2.0 (+ (exp x) (exp (neg x))))) 4))

simplify54.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04641380
116471227
250021124

prune160.0ms

Filtered
80 candidates to 119 candidates (-48.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh011
Picked011
Done011
Total1193122

Merged error: 0b

Counts
122 → 3

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(exp (/ 2.0 (+ (exp x) (exp (neg x)))))
0.0b
(log (exp (/ 2.0 (+ (exp x) (exp (neg x))))))
0.0b
(/ 2.0 (+ (exp x) (exp (neg x))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
36×exp-prod times-frac
29×add-sqr-sqrt add-cube-cbrt
19×log-pow
10×distribute-lft-out
associate-/r/
add-exp-log add-cbrt-cube
pow1 associate-/r* add-log-exp
log-prod flip3-+ flip-+ div-inv associate-/l*
cbrt-undiv frac-2neg div-exp rem-log-exp clear-num rem-exp-log
Counts
3 → 89
Calls
3 calls:
7.0ms
(exp (/ 2.0 (+ (exp x) (exp (neg x)))))
7.0ms
(log (exp (/ 2.0 (+ (exp x) (exp (neg x))))))
8.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

series31.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(exp (/ 2.0 (+ (exp x) (exp (neg x)))))
8.0ms
(log (exp (/ 2.0 (+ (exp x) (exp (neg x))))))
8.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

simplify82.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (74.0ms)

IterNodesCost
0243759
1698704
22501699
35001698

prune112.0ms

Filtered
70 candidates to 98 candidates (-40.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh000
Picked011
Done022
Total983101

Merged error: 0b

Counts
101 → 3

regimes88.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01013
11013

end0.0ms

sample354.0ms

Algorithm
intervals
Results
226.0ms8000×body80valid

Profiling

Loading profile data...