Details

Time bar (total: 5.4s)

sample324.0ms

Algorithm
intervals
Results
37.0ms198×body10240exit
13.0ms434×body80nan
8.0ms236×body80valid
3.0ms24×body160valid

simplify72.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.3b

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))
5.1b
(- (exp (* 2.0 x)) 1.0)
5.1b
(- (exp x) 1.0)

rewrite38.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)

series204.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
56.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
33.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04801694
115231484
250011470

prune402.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

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

series235.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(sqrt (* (/ (- (exp (* 2.0 x)) 1.0) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
8.0ms
(+ (exp x) 1.0)
45.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify43.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0361673
11258564
25002559

prune290.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* (/ (expm1 (log1p (- (exp (* 2.0 x)) 1.0))) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
0.0b
(+ (exp x) 1.0)
5.1b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.1b
(- (exp (* 2.0 x)) 1.0)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
prod-diff
add-log-exp
pow1
sqrt-div
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
fma-def flip3-+ fma-neg flip-+
frac-times sqrt-pow1 associate-*r/
+-commutative sub-neg flip3-- pow1/2 diff-log pow-prod-down associate-*l/ sum-log sqrt-prod flip-- fma-udef distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 73
Calls
4 calls:
7.0ms
(sqrt (* (/ (expm1 (log1p (- (exp (* 2.0 x)) 1.0))) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
8.0ms
(+ (exp x) 1.0)
1.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
5.0ms
(- (exp (* 2.0 x)) 1.0)

series372.0ms

Counts
4 → 12
Calls
4 calls:
293.0ms
(sqrt (* (/ (expm1 (log1p (- (exp (* 2.0 x)) 1.0))) (fma (- 1.0) 1.0 (exp (+ x x)))) (+ (exp x) 1.0)))
13.0ms
(+ (exp x) 1.0)
41.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify44.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0371707
11301596
25002591

prune338.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp x))
0.0b
(fma (sqrt (exp x)) (sqrt (exp x)) 1.0)
5.1b
(fma (- 1.0) 1.0 (exp (+ x x)))
5.1b
(- (exp (* 2.0 x)) 1.0)

rewrite10.0ms

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

series120.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (exp x))
38.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) 1.0)
45.0ms
(fma (- 1.0) 1.0 (exp (+ x x)))
25.0ms
(- (exp (* 2.0 x)) 1.0)

simplify104.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0242461
1681350
23184337
35001309

prune315.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes31.0ms

Accuracy

72.1% (0.7b remaining)

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

bsearch47.0ms

Steps
ItersRangePoint
7
-5.6669034693225635e-12
-5.8829093822384e-14
-5.3888208797845926e-12

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02918
12918

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s6661×body10240exit
365.0ms12605×body80nan
238.0ms7407×body80valid
52.0ms699×body160valid