Details

Time bar (total: 3.1s)

sample12.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify222.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
(+ (exp x) (exp (- x)))
0.0b
(/ 2.0 (+ (exp x) (exp (- x))))

rewrite38.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:
15.0ms
(+ (exp x) (exp (- x)))
21.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series58.0ms

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

simplify129.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (119.0ms)

IterNodesCost
0200433
1666397
23139394
35001393

prune124.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (* -1 x)) (exp x))
0.0b
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
0.0b
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
0.0b
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
82×*-un-lft-identity
60×times-frac
48×add-sqr-sqrt add-cube-cbrt
42×cbrt-prod
36×unpow-prod-down cube-prod
17×distribute-lft-out
10×associate-/r/
add-exp-log add-cbrt-cube
flip3-+ flip-+ add-log-exp
pow1 div-inv
expm1-log1p-u associate-/r* log1p-expm1-u
pow-unpow fma-def associate-/l*
cbrt-undiv cube-div cube-mult unpow3 div-exp pow-exp rem-cube-cbrt sqr-pow
+-commutative pow-to-exp cbrt-div pow-pow frac-2neg pow1/3 clear-num sum-log rem-cbrt-cube
Counts
4 → 164
Calls
4 calls:
14.0ms
(+ (exp (* -1 x)) (exp x))
18.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
21.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
25.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)

series168.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (exp (* -1 x)) (exp x))
34.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
36.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))
74.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)

simplify64.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04751674
120351559
250011539

prune314.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (cbrt (* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))) (cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x)))))
0.0b
(cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x))))
0.0b
(pow (* (cbrt (* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))) (cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x))))) 3)
0.0b
(* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))

rewrite176.0ms

Algorithm
rewrite-expression-head
Rules
113×*-un-lft-identity
90×times-frac
82×add-sqr-sqrt
59×add-cube-cbrt
46×cbrt-prod
39×associate-*r*
24×swap-sqr distribute-lft-out
22×associate-*l*
21×add-exp-log cbrt-div
17×add-cbrt-cube
16×pow1
12×associate-/r/
11×frac-times associate-*l/
10×unswap-sqr
cube-div associate-*r/
flip3-+ prod-exp cbrt-unprod flip-+ div-inv
pow1/3 pow-prod-down
cbrt-undiv expm1-log1p-u pow-pow div-exp log1p-expm1-u add-log-exp
pow-unpow
pow3 pow-exp *-commutative rem-cube-cbrt
pow2 cube-mult pow-to-exp unpow-prod-down pow-plus unpow3 cube-prod pow-sqr pow-prod-up sqr-pow
Counts
4 → 205
Calls
4 calls:
50.0ms
(* (cbrt (* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))) (cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x)))))
10.0ms
(cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x))))
18.0ms
(pow (* (cbrt (* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))) (cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x))))) 3)
89.0ms
(* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))

series646.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(* (cbrt (* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))) (cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x)))))
183.0ms
(cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x))))
280.0ms
(pow (* (cbrt (* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))) (cbrt (/ 2.0 (+ (exp (* -1 x)) (exp x))))) 3)
56.0ms
(* (/ 2.0 (+ (exp (* -1 x)) (exp x))) (/ 2.0 (+ (exp (* -1 x)) (exp x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
08323479
150023059

prune651.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

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

sample279.0ms

Algorithm
intervals
Results
165.0ms8000×body80valid