Details

Time bar (total: 6.0s)

sample324.0ms

Algorithm
intervals
Results
33.0ms173×body10240exit
12.0ms381×body80nan
7.0ms237×body80valid
2.0ms23×body160valid

simplify70.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
0.3b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
5.1b
(- (exp (* 2.0 x)) 1.0)
5.2b
(- (exp x) 1.0)

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
78×add-sqr-sqrt
75×*-un-lft-identity
51×times-frac
31×sqrt-prod
27×add-cube-cbrt
24×distribute-lft-out-- difference-of-squares
add-log-exp
add-exp-log add-cbrt-cube
pow1 flip3-- associate-/r* flip-- associate-/l*
associate-/r/
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 → 123
Calls
4 calls:
15.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
13.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
4.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series201.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
90.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
34.0ms
(- (exp (* 2.0 x)) 1.0)
22.0ms
(- (exp x) 1.0)

simplify128.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
03871380
110541314
242871301
350031293

prune330.0ms

Filtered
135 candidates to 92 candidates (68.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (exp x) 1.0))
0.3b
(sqrt (/ (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1))
5.2b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
5.2b
(- (exp x) 1.0)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
111×add-sqr-sqrt
92×*-un-lft-identity
67×sqrt-prod
62×times-frac
39×difference-of-squares
29×add-cube-cbrt
25×distribute-lft-out--
associate-/l*
add-log-exp
add-exp-log add-cbrt-cube distribute-lft-out
pow1 associate-/r*
flip3-- flip--
rem-sqrt-square
sub-neg diff-log associate-/r/ div-inv associate-/l/
cbrt-undiv frac-2neg sqrt-pow1 pow1/2 sqrt-div div-sub div-exp clear-num
Counts
4 → 140
Calls
4 calls:
25.0ms
(/ (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (exp x) 1.0))
13.0ms
(sqrt (/ (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1))
7.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series233.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (exp x) 1.0))
82.0ms
(sqrt (/ (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1))
46.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
14.0ms
(- (exp x) 1.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04611817
114621748
250011701

prune377.0ms

Filtered
152 candidates to 83 candidates (54.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize22.0ms

Local error

Found 4 expressions with local error:

0.5b
(sqrt (sqrt (exp (* 2.0 x))))
0.5b
(sqrt (sqrt (exp (* 2.0 x))))
5.3b
(- (sqrt (sqrt (exp (* 2.0 x)))) (sqrt (sqrt 1.0)))
5.3b
(- (sqrt (exp x)) (sqrt 1.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
50×sqrt-prod
38×add-sqr-sqrt
18×*-un-lft-identity
16×sqrt-pow1
13×difference-of-squares
10×add-log-exp
pow1 add-cube-cbrt
distribute-lft-out--
add-exp-log rem-sqrt-square pow1/2 add-cbrt-cube
sub-neg exp-prod flip3-- exp-to-pow diff-log flip--
Counts
4 → 84
Calls
4 calls:
2.0ms
(sqrt (sqrt (exp (* 2.0 x))))
2.0ms
(sqrt (sqrt (exp (* 2.0 x))))
13.0ms
(- (sqrt (sqrt (exp (* 2.0 x)))) (sqrt (sqrt 1.0)))
8.0ms
(- (sqrt (exp x)) (sqrt 1.0))

series405.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(sqrt (sqrt (exp (* 2.0 x))))
111.0ms
(sqrt (sqrt (exp (* 2.0 x))))
149.0ms
(- (sqrt (sqrt (exp (* 2.0 x)))) (sqrt (sqrt 1.0)))
40.0ms
(- (sqrt (exp x)) (sqrt 1.0))

simplify95.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0187694
1422670
21031668
32966662
45001662

prune350.0ms

Filtered
96 candidates to 57 candidates (59.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (sqrt (exp (* 2.0 x))) (- (exp x) 1.0))
2.9b
(- (/ (sqrt (exp (* 2.0 x))) (- (exp x) 1.0)) (/ (sqrt 1.0) (- (exp x) 1.0)))
5.2b
(- (exp x) 1.0)
5.2b
(- (exp x) 1.0)

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
95×*-un-lft-identity
83×add-sqr-sqrt
70×times-frac
38×sqrt-prod
32×distribute-lft-out--
27×add-cube-cbrt
22×difference-of-squares
10×add-log-exp
add-exp-log flip3-- associate-/r/ add-cbrt-cube flip-- associate-/l*
associate-/r*
pow1
sub-neg distribute-rgt-out-- diff-log div-inv
cbrt-undiv frac-2neg div-exp clear-num frac-sub sub-div
Counts
4 → 124
Calls
4 calls:
9.0ms
(/ (sqrt (exp (* 2.0 x))) (- (exp x) 1.0))
106.0ms
(- (/ (sqrt (exp (* 2.0 x))) (- (exp x) 1.0)) (/ (sqrt 1.0) (- (exp x) 1.0)))
4.0ms
(- (exp x) 1.0)
4.0ms
(- (exp x) 1.0)

series215.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (sqrt (exp (* 2.0 x))) (- (exp x) 1.0))
124.0ms
(- (/ (sqrt (exp (* 2.0 x))) (- (exp x) 1.0)) (/ (sqrt 1.0) (- (exp x) 1.0)))
17.0ms
(- (exp x) 1.0)
15.0ms
(- (exp x) 1.0)

simplify104.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
03631544
19271490
237721481
350021481

prune397.0ms

Filtered
136 candidates to 87 candidates (64.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

regimes29.0ms

Accuracy

72.1% (0.9b remaining)

Error of 1.1b against oracle of 0.2b and baseline of 3.5b

bsearch31.0ms

Steps
ItersRangePoint
5
-7.455527952367615e-16
-3.171438052781698e-16
-7.021657331640675e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04432
14432

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.3s6785×body10240exit
376.0ms12465×body80nan
227.0ms7407×body80valid
54.0ms729×body160valid