Details

Time bar (total: 5.4s)

sample34.0ms

Algorithm
intervals
Results
11.0ms50×body1280valid
6.0ms46×body640valid
3.0ms129×body80valid
2.0ms22×body320valid
1.0msbody160valid

simplify62.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2305
3525
41145
53225
616275
750025

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.7b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1.0 (exp (* -2.0 x)))
0.0b
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
2.6b
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
17×add-sqr-sqrt
13×times-frac
12×add-cube-cbrt
add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
associate-/r*
pow1 associate-/l*
flip3-+ associate-/r/ flip-+ difference-of-squares
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg diff-log div-exp clear-num sum-log flip-- div-inv distribute-lft-out--
Counts
3 → 60
Calls
3 calls:
6.0ms
(+ 1.0 (exp (* -2.0 x)))
15.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
67.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series123.0ms

Counts
3 → 9
Calls
3 calls:
15.0ms
(+ 1.0 (exp (* -2.0 x)))
34.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
74.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify91.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0251494
1731465
22785460
35001460

prune144.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite218.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
37×*-un-lft-identity
19×add-cube-cbrt
18×cbrt-prod
17×times-frac
12×unpow-prod-down cube-prod
10×difference-of-squares
add-exp-log add-cbrt-cube
add-log-exp
pow1 distribute-lft-out--
cube-div associate-/r* distribute-lft-out
pow-unpow flip3-- flip-- associate-/l*
cube-mult cbrt-div unpow3 associate-/r/ sqr-pow
cbrt-undiv pow-to-exp sub-neg pow-pow frac-2neg flip3-+ pow1/3 diff-log div-exp pow-exp clear-num rem-cbrt-cube flip-+ div-inv rem-cube-cbrt
Counts
4 → 108
Calls
4 calls:
13.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
73.0ms
(pow (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) 3)
62.0ms
(cbrt (pow (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) 3))
66.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series293.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
111.0ms
(pow (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) 3)
73.0ms
(cbrt (pow (- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0) 3))
72.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify46.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03821080
114221033
250021019

prune230.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) 3)
0.0b
(cbrt (pow (* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) 3))
0.3b
(* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)))
3.1b
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

rewrite538.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
20×*-un-lft-identity sqrt-prod
16×cube-div
12×frac-times difference-of-squares
11×associate-*r*
10×flip3-- flip--
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+
cbrt-prod add-cube-cbrt cbrt-div
associate-*r/ associate-*l/ add-log-exp
associate-*l*
times-frac distribute-lft-out--
sub-neg pow-unpow
distribute-rgt-in cube-mult unpow-prod-down pow-pow distribute-lft-in unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod distribute-lft-out rem-cube-cbrt sqr-pow
pow-to-exp pow1/3 diff-log *-commutative rem-cbrt-cube unswap-sqr
Counts
4 → 115
Calls
4 calls:
107.0ms
(pow (* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) 3)
8.0ms
(cbrt (pow (* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) 3))
340.0ms
(* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)))
78.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

series1.3s

Counts
4 → 12
Calls
4 calls:
491.0ms
(pow (* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) 3)
361.0ms
(cbrt (pow (* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))) 3))
354.0ms
(* (+ (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)) (- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0)))
109.0ms
(- (sqrt (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (sqrt 1.0))

simplify99.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
06332584
134332118
250012087

prune384.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
0.1b
(* 0.33333333333333337 (pow x 3))
0.7b
(* 5.551115123125783e-17 (pow x 4))
6.6b
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult sub-neg flip3-- flip3-+ unpow3 flip-- flip-+ associate--r+
Counts
4 → 81
Calls
4 calls:
15.0ms
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
13.0ms
(* 0.33333333333333337 (pow x 3))
15.0ms
(* 5.551115123125783e-17 (pow x 4))
9.0ms
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

series226.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(- (* 1.0 x) (+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3))))
35.0ms
(* 0.33333333333333337 (pow x 3))
39.0ms
(* 5.551115123125783e-17 (pow x 4))
102.0ms
(+ (* 5.551115123125783e-17 (pow x 4)) (* 0.33333333333333337 (pow x 3)))

simplify52.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0344493
11475459
25001459

prune189.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes268.0ms

Accuracy

99.5% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 29.4b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04333
14333

end0.0ms

sample899.0ms

Algorithm
intervals
Results
340.0ms1669×body1280valid
179.0ms1316×body640valid
109.0ms4088×body80valid
54.0ms615×body320valid
18.0ms312×body160valid