Details

Time bar (total: 3.3s)

sample12.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

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

rewrite18.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
(+ (exp x) (exp (- x)))
11.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series65.0ms

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

simplify124.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 3 (118.0ms)

IterNodesCost
0200433
1666397
23139394
35001393

prune138.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp (* -1 x)) (exp x))
0.0b
(exp (log (+ (exp (* -1 x)) (exp x))))
0.0b
(/ 2.0 (exp (log (+ (exp (* -1 x)) (exp x)))))
0.0b
(log (+ (exp (* -1 x)) (exp x)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
24×add-sqr-sqrt add-cube-cbrt log-prod
21×times-frac
20×exp-sum
associate-/r* distribute-lft-out
pow1 add-exp-log log-div add-cbrt-cube add-log-exp
expm1-log1p-u exp-prod flip3-+ exp-diff flip-+ log1p-expm1-u
fma-def associate-/l*
associate-/r/ log-pow
cbrt-undiv +-commutative frac-2neg div-exp rem-log-exp clear-num sum-log div-inv rem-exp-log
Counts
4 → 101
Calls
4 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
5.0ms
(exp (log (+ (exp (* -1 x)) (exp x))))
10.0ms
(/ 2.0 (exp (log (+ (exp (* -1 x)) (exp x)))))
4.0ms
(log (+ (exp (* -1 x)) (exp x)))

series163.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (exp (* -1 x)) (exp x))
27.0ms
(exp (log (+ (exp (* -1 x)) (exp x))))
36.0ms
(/ 2.0 (exp (log (+ (exp (* -1 x)) (exp x)))))
78.0ms
(log (+ (exp (* -1 x)) (exp x)))

simplify81.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 3 (71.0ms)

IterNodesCost
02811002
1802887
22555830
35001816

prune257.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
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
0.2b
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))

rewrite43.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:
4.0ms
(+ (exp (* -1 x)) (exp x))
11.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
10.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
11.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))

series177.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (exp (* -1 x)) (exp x))
40.0ms
(/ 2.0 (+ (exp (* -1 x)) (exp x)))
78.0ms
(pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3)
37.0ms
(cbrt (pow (/ 2.0 (+ (exp (* -1 x)) (exp x))) 3))

simplify65.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04751670
120351557
250021539

prune323.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (* (pow (sqrt 2.0) 3) (pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3)))
0.5b
(* (pow (sqrt 2.0) 3) (pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3))
0.5b
(pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3)
1.0b
(pow (sqrt 2.0) 3)

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
182×add-sqr-sqrt
124×*-un-lft-identity
120×times-frac
106×unpow-prod-down cube-prod
88×sqrt-prod
76×add-cube-cbrt
66×associate-*r*
48×unswap-sqr
28×add-exp-log
24×distribute-lft-out
18×associate-*l* sqr-pow
13×pow-exp
12×prod-exp
10×add-cbrt-cube
pow-to-exp
associate-/r/
pow1
pow-unpow
expm1-log1p-u cube-mult pow-pow flip3-+ unpow3 div-exp flip-+ log1p-expm1-u div-inv add-log-exp
cube-div rem-cube-cbrt
associate-*r/ pow-prod-down
cbrt-undiv cbrt-prod cbrt-div sqrt-pow1 pow1/2 pow1/3 *-commutative sqrt-pow2 rem-cbrt-cube cbrt-unprod
Counts
4 → 286
Calls
4 calls:
16.0ms
(cbrt (* (pow (sqrt 2.0) 3) (pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3)))
77.0ms
(* (pow (sqrt 2.0) 3) (pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3))
13.0ms
(pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3)
2.0ms
(pow (sqrt 2.0) 3)

series445.0ms

Counts
4 → 10
Calls
4 calls:
104.0ms
(cbrt (* (pow (sqrt 2.0) 3) (pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3)))
176.0ms
(* (pow (sqrt 2.0) 3) (pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3))
164.0ms
(pow (/ (sqrt 2.0) (+ (exp (* -1 x)) (exp x))) 3)
0.0ms
(pow (sqrt 2.0) 3)

simplify174.0ms

Algorithm
egg-herbie
Counts
296 → 296
Iterations

Useful iterations: 2 (143.0ms)

IterNodesCost
07323839
142123444
250013206

prune483.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes12.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
0137
1137

end0.0ms

sample264.0ms

Algorithm
intervals
Results
174.0ms8000×body80valid