Details

Time bar (total: 5.3s)

sample34.0ms

Algorithm
intervals
Results
13.0ms57×body1280valid
5.0ms36×body640valid
4.0ms128×body80valid
2.0ms25×body320valid
1.0ms10×body160valid

simplify61.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.8b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite20.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:
8.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
10.0ms
(- (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) 1.0)

series114.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0220413
1613391
22032387
35001387

prune122.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity
88×times-frac
70×add-sqr-sqrt
58×add-cube-cbrt
26×distribute-lft-out
24×swap-sqr
20×add-exp-log add-cbrt-cube
18×associate-*r* associate-*l*
12×associate-/r/
11×pow1
associate-/r*
cbrt-undiv flip3-+ div-exp flip-+ div-inv associate-/l* add-log-exp
prod-exp cbrt-unprod unswap-sqr
frac-2neg clear-num
pow2 frac-times sub-neg flip3-- pow-plus diff-log associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-- difference-of-squares
Counts
4 → 167
Calls
4 calls:
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
5.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
18.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
14.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

series205.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
35.0ms
(/ 2.0 (+ 1.0 (exp (* -2.0 x))))
46.0ms
(* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))
84.0ms
(- (* (/ 2.0 (+ 1.0 (exp (* -2.0 x)))) (/ 2.0 (+ 1.0 (exp (* -2.0 x))))) (* 1.0 1.0))

simplify76.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05511906
126101649
250011585

prune373.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x))))))
0.0b
(/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2))
0.5b
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
2.6b
(- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
810×times-frac
589×*-un-lft-identity
369×add-sqr-sqrt add-cube-cbrt
220×unpow-prod-down associate-*l* sqrt-prod
181×add-exp-log
110×distribute-lft-out
87×div-exp
65×prod-exp
55×sqr-pow
47×add-cbrt-cube
36×sqrt-div associate-/r/
30×associate-/l*
20×div-inv
18×flip3-+ flip-+
16×cbrt-undiv pow-to-exp pow-exp
15×associate-/r* cbrt-unprod
13×rec-exp 1-exp
12×pow1
add-log-exp
pow-flip
associate-*r/ pow-prod-down
frac-2neg sqrt-pow1 pow1/2 clear-num pow-div
frac-times sub-neg flip3-- diff-log associate-*r* associate-*l/ *-commutative flip-- associate-/l/ inv-pow
Counts
4 → 623
Calls
4 calls:
43.0ms
(* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x))))))
20.0ms
(/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2))
7.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
29.0ms
(- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))

series219.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x))))))
34.0ms
(/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2))
49.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
89.0ms
(- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))

simplify124.0ms

Algorithm
egg-herbie
Counts
635 → 635
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
0174011014
150019525

prune1.4s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2))
0.5b
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
2.6b
(- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))
2.6b
(log (exp (- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))))

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
426×times-frac
322×*-un-lft-identity
204×add-sqr-sqrt add-cube-cbrt
124×sqrt-prod
112×unpow-prod-down
59×distribute-lft-out
31×add-exp-log
30×associate-/l*
28×sqr-pow
20×sqrt-div div-exp associate-/r/
15×associate-/r*
11×add-cbrt-cube div-inv
10×flip3-+ flip-+
pow1
add-log-exp
log-prod pow-flip
cbrt-undiv pow-to-exp rec-exp 1-exp pow-exp log-pow
exp-prod
sub-neg frac-2neg sqrt-pow1 pow1/2 exp-sum clear-num pow-div
log-div flip3-- exp-diff diff-log rem-log-exp flip-- associate-/l/ inv-pow
Counts
4 → 359
Calls
4 calls:
17.0ms
(/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2))
7.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
32.0ms
(- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))
30.0ms
(log (exp (- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))))

series255.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2))
44.0ms
(/ 1 (sqrt (+ 1.0 (exp (* -2.0 x)))))
85.0ms
(- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))
87.0ms
(log (exp (- (* (/ (/ 1 (sqrt (+ 1.0 (exp (* -2.0 x))))) (pow (+ 1.0 (exp (* -2.0 x))) 1/2)) (* 2.0 (/ 2.0 (+ 1.0 (exp (* -2.0 x)))))) (* 1.0 1.0))))

simplify136.0ms

Algorithm
egg-herbie
Counts
371 → 371
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
010056406
143065637
250015261

prune592.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes209.0ms

Accuracy

99% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 29.8b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05335
15335

end0.0ms

sample922.0ms

Algorithm
intervals
Results
381.0ms1711×body1280valid
189.0ms1249×body640valid
118.0ms4105×body80valid
65.0ms642×body320valid
19.0ms293×body160valid