Details

Time bar (total: 26.3s)

sample31.0ms

Algorithm
intervals
Results
12.0ms59×body1280valid
5.0ms37×body640valid
3.0ms131×body80valid
2.0ms19×body320valid
1.0ms10×body160valid

simplify59.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.5b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite86.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
16×add-sqr-sqrt
13×times-frac
11×add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out add-log-exp
associate-/l*
pow1 associate-/r/ difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num flip-- flip-+ div-inv distribute-lft-out--
Counts
2 → 48
Calls
2 calls:
14.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
70.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series109.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
75.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0220413
1613391
22032387
35001387

prune157.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite660.0ms

Algorithm
rewrite-expression-head
Rules
290×add-sqr-sqrt
163×times-frac
126×*-un-lft-identity
120×difference-of-squares
90×unpow-prod-down cube-prod
60×add-cube-cbrt
50×sqr-pow
39×associate-/l*
25×distribute-lft-out--
11×associate-/r*
10×add-exp-log add-cbrt-cube
distribute-lft-out
associate-/r/ add-log-exp
difference-cubes
pow1
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
flip3-- flip-- associate-/l/
sub-neg diff-log div-sub
Counts
4 → 260
Calls
4 calls:
17.0ms
(/ 2.0 (+ (exp (* -2.0 x)) 1.0))
16.0ms
(/ 2.0 (+ (exp (* -2.0 x)) 1.0))
433.0ms
(/ (- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3)) (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
177.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3))

series492.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 2.0 (+ (exp (* -2.0 x)) 1.0))
39.0ms
(/ 2.0 (+ (exp (* -2.0 x)) 1.0))
292.0ms
(/ (- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3)) (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
125.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3))

simplify121.0ms

Algorithm
egg-herbie
Counts
272 → 272
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07386763
128306644
250016640

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
0.2b
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
0.2b
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
3.0b
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3))

rewrite309.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
24×difference-of-squares
18×unpow-prod-down cube-prod
17×*-un-lft-identity
10×sqr-pow
cbrt-prod
times-frac
add-cube-cbrt
cbrt-div add-log-exp
distribute-lft-out--
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+
difference-cubes sub-neg flip3-- diff-log flip--
Counts
4 → 81
Calls
4 calls:
44.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
43.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
43.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
175.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3))

series775.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
221.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
213.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
125.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03521721
111771620
250011605

prune1.5s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
98×frac-times
84×add-sqr-sqrt
78×cbrt-div
72×associate-/r/
70×frac-add
68×cbrt-prod
62×*-un-lft-identity
58×associate-*r/
56×times-frac
52×flip3-+ flip-+
38×add-cube-cbrt
36×flip3-- flip--
34×associate-*l/
24×difference-of-squares
18×unpow-prod-down cube-prod
10×sqr-pow
associate-/l*
sum-cubes distribute-lft-out
add-exp-log associate-/r* add-log-exp
distribute-lft-out--
pow1 add-cbrt-cube
pow1/3 associate-/l/
difference-cubes cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
4 → 216
Calls
4 calls:
46.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
44.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
752.0ms
(/ (cbrt (+ (pow (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) 3) (pow (* 1.0 1.0) 3))) (cbrt (+ (* (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0))))) (- (* (* 1.0 1.0) (* 1.0 1.0)) (* (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0))))))
178.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3))

series1.4s

Counts
4 → 12
Calls
4 calls:
221.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
220.0ms
(cbrt (+ (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0)))
784.0ms
(/ (cbrt (+ (pow (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) 3) (pow (* 1.0 1.0) 3))) (cbrt (+ (* (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0))))) (- (* (* 1.0 1.0) (* 1.0 1.0)) (* (* (/ 2.0 (+ (exp (* -2.0 x)) 1.0)) (+ 1.0 (/ 2.0 (+ (exp (* -2.0 x)) 1.0)))) (* 1.0 1.0))))))
131.0ms
(- (pow (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 3) (pow 1.0 3))

simplify182.0ms

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0202817262
1500217078

prune15.9s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes980.0ms

Accuracy

99.7% (0.1b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04629
14629

end0.0ms

sample849.0ms

Algorithm
intervals
Results
351.0ms1696×body1280valid
170.0ms1275×body640valid
101.0ms4083×body80valid
59.0ms636×body320valid
18.0ms310×body160valid