Details

Time bar (total: 6.4s)

sample400.0ms

Algorithm
intervals
Results
43.0ms225×body10240exit
27.0ms242×body80valid
14.0ms418×body80nan
2.0ms21×body160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
0.5b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
4.1b
(- (exp (* 2.0 x)) 1.0)
4.2b
(- (exp x) 1.0)

rewrite107.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:
40.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
26.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
20.0ms
(- (exp (* 2.0 x)) 1.0)
14.0ms
(- (exp x) 1.0)

series202.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
93.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
26.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify55.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04801694
115231484
250011470

prune375.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
0.5b
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
4.1b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.1b
(- (exp (* 2.0 x)) 1.0)

rewrite65.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:
30.0ms
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
18.0ms
(sqrt (* (/ (- (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)))
14.0ms
(- (exp (* 2.0 x)) 1.0)

series412.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x))))
155.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
43.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify57.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04391178
116191042
250011028

prune337.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize25.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (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.1b
(- (exp (* 2.0 x)) 1.0)
4.1b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.2b
(- (* 1.0 1.0) (* (exp x) 1.0))

rewrite104.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:
76.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)))))
16.0ms
(- (exp (* 2.0 x)) 1.0)
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
8.0ms
(- (* 1.0 1.0) (* (exp x) 1.0))

series380.0ms

Counts
4 → 12
Calls
4 calls:
280.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)))))
25.0ms
(- (exp (* 2.0 x)) 1.0)
44.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
31.0ms
(- (* 1.0 1.0) (* (exp x) 1.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05652485
121602275
250012257

prune547.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))) (+ (exp x) 1.0)))
0.6b
(cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))
4.1b
(fma (- 1.0) 1.0 (exp (+ x x)))
4.1b
(- (exp (* 2.0 x)) 1.0)

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt *-un-lft-identity
14×add-cube-cbrt
12×cbrt-prod
prod-diff
pow1
add-log-exp
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
unpow-prod-down fma-neg cube-prod
frac-times sqrt-pow1 flip3-+ associate-*r/ flip-+
cube-mult sub-neg flip3-- pow1/2 pow1/3 diff-log unpow3 pow-prod-down associate-*l/ sqrt-prod flip-- rem-cbrt-cube fma-udef distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 79
Calls
4 calls:
26.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))) (+ (exp x) 1.0)))
2.0ms
(cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))
0.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
14.0ms
(- (exp (* 2.0 x)) 1.0)

series263.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))) (+ (exp x) 1.0)))
41.0ms
(cbrt (pow (fma (- 1.0) 1.0 (exp (+ x x))) 3))
44.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify48.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0378824
11469729
25001726

prune290.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.5b

regimes33.0ms

Accuracy

74.4% (0.7b remaining)

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

bsearch60.0ms

Steps
ItersRangePoint
9
-0.04331797882383785
-1.989428328455626e-07
-8.898814212803163e-07

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05136
15136

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.3s6689×body10240exit
382.0ms12775×body80nan
245.0ms7444×body80valid
52.0ms694×body160valid