Details

Time bar (total: 6.1s)

sample320.0ms

Algorithm
intervals
Results
38.0ms207×body10240exit
13.0ms397×body80nan
8.0ms251×body80valid
1.0ms13×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2417
3757
41827
55767
626667
750017

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
2.9b
(- (exp (* 2.0 x)) 1.0)
3.1b
(- (exp x) 1.0)

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt
89×*-un-lft-identity
51×times-frac
41×add-cube-cbrt
31×sqrt-prod
24×distribute-lft-out-- difference-of-squares
18×prod-diff
add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
expm1-log1p-u associate-/r/ log1p-expm1-u
sub-neg rem-sqrt-square diff-log div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 155
Calls
4 calls:
14.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
16.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
8.0ms
(- (exp x) 1.0)

series209.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
57.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
35.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify60.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04801694
115231484
250011470

prune392.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
171×*-un-lft-identity
127×add-sqr-sqrt
87×add-cube-cbrt
22×associate-/r* distribute-lft-out
20×distribute-lft-out-- difference-of-squares
15×associate-/r/
11×add-exp-log add-cbrt-cube
prod-diff
div-inv associate-/l*
flip3-+ flip-+
add-log-exp
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
fma-neg
flip3-- frac-2neg clear-num flip-- associate-/l/
sub-neg diff-log div-sub fma-udef
Counts
4 → 206
Calls
4 calls:
10.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
21.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series255.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
115.0ms
(/ (- (exp (* 2.0 x)) 1.0) (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0)))
47.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify112.0ms

Algorithm
egg-herbie
Counts
218 → 218
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
08053596
135513384
250033382

prune651.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
0.0b
(* (- (exp (* 2.0 x)) 1.0) (/ 1 (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))))
2.9b
(fma (- 1.0) 1.0 (exp (+ x x)))
2.9b
(- (exp (* 2.0 x)) 1.0)

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
96×*-un-lft-identity
82×add-sqr-sqrt
64×add-cube-cbrt
59×associate-*r*
25×add-exp-log
15×add-cbrt-cube
13×distribute-lft-out
prod-diff associate-/r/
div-exp
prod-exp
pow1 add-log-exp
associate-*l* div-inv unswap-sqr
cbrt-undiv expm1-log1p-u flip3-+ associate-/r* flip-+ log1p-expm1-u
flip3-- fma-neg flip-- cbrt-unprod associate-/l*
frac-times rec-exp 1-exp associate-*l/ distribute-lft-out-- difference-of-squares
sub-neg frac-2neg diff-log associate-*r/ pow-prod-down clear-num un-div-inv *-commutative fma-udef
Counts
4 → 169
Calls
4 calls:
7.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
49.0ms
(* (- (exp (* 2.0 x)) 1.0) (/ 1 (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series251.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))
114.0ms
(* (- (exp (* 2.0 x)) 1.0) (/ 1 (/ (fma (- 1.0) 1.0 (exp (+ x x))) (+ (exp x) 1.0))))
46.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
26.0ms
(- (exp (* 2.0 x)) 1.0)

simplify101.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07342227
138661958
250011882

prune544.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (exp (* 2.0 x)) 1.0) 3)
0.3b
(cbrt (pow (- (exp (* 2.0 x)) 1.0) 3))
2.9b
(fma (- 1.0) 1.0 (exp (+ x x)))
2.9b
(- (exp (* 2.0 x)) 1.0)

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt *-un-lft-identity
17×add-cube-cbrt
16×cbrt-prod
10×unpow-prod-down cube-prod
prod-diff
add-log-exp
pow1 add-exp-log add-cbrt-cube distribute-lft-out-- difference-of-squares
cube-div expm1-log1p-u log1p-expm1-u
pow-unpow flip3-- fma-neg flip--
cube-mult cbrt-div unpow3 sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log pow-exp rem-cbrt-cube fma-udef rem-cube-cbrt
Counts
4 → 98
Calls
4 calls:
6.0ms
(pow (- (exp (* 2.0 x)) 1.0) 3)
6.0ms
(cbrt (pow (- (exp (* 2.0 x)) 1.0) 3))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series153.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(pow (- (exp (* 2.0 x)) 1.0) 3)
29.0ms
(cbrt (pow (- (exp (* 2.0 x)) 1.0) 3))
41.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
29.0ms
(- (exp (* 2.0 x)) 1.0)

simplify45.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0331742
11260635
25001625

prune309.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes32.0ms

Accuracy

99.2% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 2.8b

bsearch88.0ms

Steps
ItersRangePoint
7
1.0628848468647387e-13
9.049190128523824e-12
1.0770376689435775e-13
7
-1.0593127772646427e-09
-5.361660241782146e-11
-1.1641163077155313e-10

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04837
14837

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.2s6560×body10240exit
380.0ms12522×body80nan
242.0ms7448×body80valid
54.0ms675×body160valid