Details

Time bar (total: 3.6s)

sample13.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify219.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5405
6615
71505
810405
950025

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.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
21×*-un-lft-identity
12×times-frac
11×add-sqr-sqrt add-cube-cbrt
distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-+ associate-/r/ flip-+
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 45
Calls
2 calls:
4.0ms
(+ (exp x) (exp (- x)))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series65.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (117.0ms)

IterNodesCost
0191411
1633377
23009375
35002374

prune128.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity
98×sqrt-prod
90×add-sqr-sqrt times-frac
62×add-cube-cbrt
29×swap-sqr
27×distribute-lft-out
21×associate-*r* associate-*l*
19×pow1
12×associate-/r/
10×add-exp-log add-cbrt-cube
unswap-sqr
sqrt-pow1 pow1/2 associate-/r*
flip3-+ flip-+
div-inv associate-/l* add-log-exp
pow-prod-up
sqrt-div
pow-prod-down pow-sqr
cbrt-undiv frac-2neg div-exp clear-num
+-commutative pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 186
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
6.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
6.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
24.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (- x))))) (sqrt (/ 2.0 (+ (exp x) (exp (- x))))))

series211.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (exp x) (exp (- x)))
38.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
39.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
106.0ms
(* (sqrt (/ 2.0 (+ (exp x) (exp (- x))))) (sqrt (/ 2.0 (+ (exp x) (exp (- x))))))

simplify69.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
03831978
118351833
250011804

prune451.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
72×*-un-lft-identity
48×times-frac
40×add-sqr-sqrt add-cube-cbrt
16×associate-/r* distribute-lft-out
12×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
4 → 132
Calls
4 calls:
10.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
7.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series160.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
39.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
44.0ms
(/ 2.0 (+ (exp x) (exp (- x))))
39.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify84.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
01631244
15491156
221721152
350021152

prune510.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
112×sqrt-prod
95×*-un-lft-identity
88×times-frac
72×add-sqr-sqrt
65×add-cube-cbrt
30×associate-*r*
21×sqrt-div
17×pow1
15×add-exp-log
14×associate-/r* distribute-lft-out
13×add-cbrt-cube
10×sqrt-pow1
associate-/r/
pow-prod-down
pow-flip pow1/2 associate-/l*
frac-times rem-sqrt-square associate-*l/
flip3-+ flip-+ div-inv add-log-exp
associate-*r/ div-exp prod-exp cbrt-unprod
cbrt-undiv frac-2neg sqrt-unprod clear-num inv-pow
rec-exp 1-exp associate-*l* *-commutative
Counts
4 → 197
Calls
4 calls:
35.0ms
(* (* (sqrt (/ 2.0 (+ (exp x) (exp (- x))))) (sqrt (/ 1 (sqrt (+ (exp x) (exp (- x))))))) (sqrt (/ 2.0 (sqrt (+ (exp x) (exp (- x)))))))
9.0ms
(sqrt (/ 1 (sqrt (+ (exp x) (exp (- x))))))
8.0ms
(/ 1 (sqrt (+ (exp x) (exp (- x)))))
7.0ms
(/ 2.0 (sqrt (+ (exp x) (exp (- x)))))

series397.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (* (sqrt (/ 2.0 (+ (exp x) (exp (- x))))) (sqrt (/ 1 (sqrt (+ (exp x) (exp (- x))))))) (sqrt (/ 2.0 (sqrt (+ (exp x) (exp (- x)))))))
141.0ms
(sqrt (/ 1 (sqrt (+ (exp x) (exp (- x))))))
63.0ms
(/ 1 (sqrt (+ (exp x) (exp (- x)))))
92.0ms
(/ 2.0 (sqrt (+ (exp x) (exp (- x)))))

simplify88.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06492905
127832627
250012544

prune539.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes57.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
01530
11530

end0.0ms

sample277.0ms

Algorithm
intervals
Results
190.0ms8000×body80valid