Details

Time bar (total: 6.4s)

sample334.0ms

Algorithm
intervals
Results
44.0ms208×body10240exit
15.0ms441×body80nan
8.0ms239×body80valid
2.0ms23×body160valid

simplify78.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: 4.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
0.2b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.7b
(- (exp x) 1.0)

rewrite39.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:
9.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
10.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
5.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series211.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
59.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
34.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 (39.0ms)

IterNodesCost
04801694
115231484
250011470

prune403.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
0.2b
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(- (exp (* 2.0 x)) 1.0)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt *-un-lft-identity
21×add-cube-cbrt
15×times-frac
prod-diff
pow1
add-exp-log add-cbrt-cube add-log-exp
sqrt-div associate-/l* distribute-lft-out-- difference-of-squares
expm1-log1p-u log1p-expm1-u
fma-neg associate-/r*
frac-times flip3-- sqrt-pow1 flip3-+ associate-*r/ flip-- flip-+ associate-/l/
cbrt-undiv sub-neg frac-2neg pow1/2 diff-log div-sub div-exp pow-prod-down associate-*l/ clear-num sqrt-prod fma-udef div-inv
Counts
4 → 96
Calls
4 calls:
10.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
7.0ms
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series440.0ms

Counts
4 → 12
Calls
4 calls:
164.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
203.0ms
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
43.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
29.0ms
(- (exp (* 2.0 x)) 1.0)

simplify55.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04391178
116191042
250031028

prune362.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (pow (exp x) 3) (pow 1.0 3)))) (sqrt (+ (* (exp x) (exp x)) (- (* 1.0 1.0) (* (exp x) 1.0)))))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.7b
(- (* 1.0 1.0) (* (exp x) 1.0))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt *-un-lft-identity
28×add-cube-cbrt
24×times-frac
22×sqrt-prod
10×prod-diff
add-log-exp
sqrt-div
add-exp-log associate-/r* add-cbrt-cube
associate-/l/
pow1 expm1-log1p-u fma-neg log1p-expm1-u associate-/l*
flip3-+ flip-+
frac-times sub-neg flip3-- diff-log associate-*r/ associate-/r/ flip--
cbrt-undiv sqrt-undiv distribute-rgt-out-- frac-2neg div-exp associate-*l/ clear-num fma-udef div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 111
Calls
4 calls:
31.0ms
(/ (sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (pow (exp x) 3) (pow 1.0 3)))) (sqrt (+ (* (exp x) (exp x)) (- (* 1.0 1.0) (* (exp x) 1.0)))))
5.0ms
(- (exp (* 2.0 x)) 1.0)
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
4.0ms
(- (* 1.0 1.0) (* (exp x) 1.0))

series407.0ms

Counts
4 → 12
Calls
4 calls:
301.0ms
(/ (sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (pow (exp x) 3) (pow 1.0 3)))) (sqrt (+ (* (exp x) (exp x)) (- (* 1.0 1.0) (* (exp x) 1.0)))))
26.0ms
(- (exp (* 2.0 x)) 1.0)
47.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
32.0ms
(- (* 1.0 1.0) (* (exp x) 1.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05652485
121602275
250012257

prune580.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize25.0ms

Local error

Found 4 expressions with local error:

4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.6b
(- (exp (* 2.0 x)) 1.0)

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt *-un-lft-identity
18×add-cube-cbrt prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 76
Calls
4 calls:
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)
5.0ms
(- (exp (* 2.0 x)) 1.0)

series143.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
48.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
26.0ms
(- (exp (* 2.0 x)) 1.0)
26.0ms
(- (exp (* 2.0 x)) 1.0)

simplify93.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (81.0ms)

IterNodesCost
0182644
1540464
22717442
35001370

prune349.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.2b

regimes36.0ms

Accuracy

73.1% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 2.7b

bsearch33.0ms

Steps
ItersRangePoint
5
-2.6173080331279203e-12
-1.0159879302621945e-12
-1.673419611240543e-12

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03626
13626

end0.0ms

sample2.5s

Algorithm
intervals
Results
1.4s6824×body10240exit
429.0ms12951×body80nan
254.0ms7440×body80valid
55.0ms685×body160valid