Details

Time bar (total: 1.5s)

sample12.0ms

Algorithm
intervals
Results
6.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ 2.0 (+ (exp x) (exp (- x))))
0.0b
(+ (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:
6.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
5.0ms
(+ (exp x) (exp (- x)))

series66.0ms

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

simplify123.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0200433
1666397
23139394
35001393

prune136.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
0.5b
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
66×*-un-lft-identity
54×add-sqr-sqrt
52×times-frac
38×add-cube-cbrt
35×sqrt-prod
30×associate-*r*
14×distribute-lft-out
10×add-exp-log add-cbrt-cube
associate-*l* associate-/l* unswap-sqr
pow1 add-log-exp
associate-/r* associate-/r/
expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 125
Calls
3 calls:
5.0ms
(+ (exp x) (exp (- x)))
7.0ms
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
16.0ms
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

series194.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (exp x) (exp (- x)))
71.0ms
(/ (sqrt 2.0) (+ (exp x) (exp (- x))))
100.0ms
(* (sqrt 2.0) (/ (sqrt 2.0) (+ (exp x) (exp (- x)))))

simplify58.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03771293
116691171
250011140

prune280.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

sample276.0ms

Algorithm
intervals
Results
183.0ms8000×body80valid