Details

Time bar (total: 1.3s)

sample13.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify215.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5415
6665
71655
811235
950015

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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 2 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt times-frac
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
fma-def associate-/l*
pow1 expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 52
Calls
2 calls:
5.0ms
(+ (exp x) (exp (- x)))
6.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series62.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp x) (exp (- x)))
40.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify121.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0200433
1666397
23139394
35001393

prune108.0ms

Filtered
58 candidates to 46 candidates (79.3%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New57158
Fresh000
Picked011
Done000
Total57259

Merged error: 0b

Counts
59 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- 1.0 (* 0.5 (pow x 2)))
0.0b
(* 0.5 (pow x 2))
12.0b
(fma (pow x 4) 0.20833333333333334 (- 1.0 (* 0.5 (pow x 2))))

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
add-exp-log add-cube-cbrt *-un-lft-identity associate-*r*
add-cbrt-cube add-log-exp
unpow-prod-down unswap-sqr
pow1 expm1-log1p-u fma-neg associate-*l* prod-diff prod-exp log1p-expm1-u
unpow2 sqr-pow
pow-to-exp sub-neg flip3-- diff-log pow-exp *-commutative flip-- cbrt-unprod fma-udef
Counts
3 → 59
Calls
3 calls:
3.0ms
(- 1.0 (* 0.5 (pow x 2)))
5.0ms
(* 0.5 (pow x 2))
1.0ms
(fma (pow x 4) 0.20833333333333334 (- 1.0 (* 0.5 (pow x 2))))

series129.0ms

Counts
3 → 9
Calls
3 calls:
58.0ms
(- 1.0 (* 0.5 (pow x 2)))
24.0ms
(* 0.5 (pow x 2))
47.0ms
(fma (pow x 4) 0.20833333333333334 (- 1.0 (* 0.5 (pow x 2))))

simplify172.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (167.0ms)

IterNodesCost
0209324
1762286
24410284
35001281

prune123.0ms

Filtered
68 candidates to 47 candidates (69.1%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New68068
Fresh000
Picked011
Done011
Total68270

Merged error: 0b

Counts
70 → 2

regimes43.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
085
185

end0.0ms

sample306.0ms

Algorithm
intervals
Results
220.0ms8000×body80valid