Details

Time bar (total: 1.2s)

sample15.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify139.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5405
6615
71435
813575
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: 0.0b

Counts
2 → 1

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

series9.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0164311
1550289
22149287
35002287

prune46.0ms

Filtered
36 candidates to 27 candidates (25.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New34236
Fresh000
Picked101
Done000
Total35237

Merged error: 0b

Counts
37 → 2

localize10.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)))))
8.0ms
(log (exp (/ 2.0 (+ (exp x) (exp (neg x))))))
7.0ms
(/ 2.0 (+ (exp x) (exp (neg x))))

series32.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0243759
1698704
22501699
35001698

prune120.0ms

Filtered
98 candidates to 70 candidates (28.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New98098
Fresh011
Picked011
Done000
Total982100

Merged error: 0b

Counts
100 → 2

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.0b
(* 0.20833333333333334 (pow x 4))
11.0b
(- (+ (* 0.20833333333333334 (pow x 4)) 1.0) (* 0.5 (pow x 2)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- associate--l+ sum-log flip--
Counts
3 → 66
Calls
3 calls:
6.0ms
(* 0.5 (pow x 2))
5.0ms
(* 0.20833333333333334 (pow x 4))
7.0ms
(- (+ (* 0.20833333333333334 (pow x 4)) 1.0) (* 0.5 (pow x 2)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 0.5 (pow x 2))
4.0ms
(* 0.20833333333333334 (pow x 4))
5.0ms
(- (+ (* 0.20833333333333334 (pow x 4)) 1.0) (* 0.5 (pow x 2)))

simplify42.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0268352
11102317
25002314

prune100.0ms

Filtered
75 candidates to 46 candidates (38.7%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New75075
Fresh000
Picked011
Done011
Total75277

Merged error: 0b

Counts
77 → 2

regimes85.0ms

Accuracy

0% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 0.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0107
1107

end0.0ms

sample370.0ms

Algorithm
intervals
Results
237.0ms8000×body80valid

Profiling

Loading profile data...