Details

Time bar (total: 4.5s)

sample317.0ms

Algorithm
intervals
Results
23.0ms450×body80nan
15.0ms239×body80valid
12.0ms252×body80overflowed
3.0ms22×body160valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.2b

localize11.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))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.7b
(- (exp x) 1.0)

rewrite53.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:
13.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
24.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp (* 2.0 x)) 1.0)
7.0ms
(- (exp x) 1.0)

series196.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
60.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
24.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify120.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
03871380
110541314
242871301
350031293

prune336.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite17.0ms

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

series106.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(sqrt (exp (* 2.0 x)))
25.0ms
(sqrt (exp (* 2.0 x)))
46.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
14.0ms
(- (exp x) 1.0)

simplify102.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0168382
1414365
21068363
33163361
45001361

prune211.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp 2.0) (* 1/2 x))
0.2b
(sqrt (exp (* 2.0 x)))
4.7b
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
4.7b
(- (exp x) 1.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
11×*-un-lft-identity
add-log-exp
add-cube-cbrt difference-of-squares
pow1 sqrt-prod
unpow-prod-down
add-exp-log exp-prod pow-pow add-cbrt-cube
sqrt-pow1 sqr-pow
sub-neg flip3-- diff-log flip-- distribute-lft-out--
pow-to-exp rem-sqrt-square pow-unpow exp-to-pow pow1/2 pow-exp
Counts
4 → 66
Calls
4 calls:
2.0ms
(pow (exp 2.0) (* 1/2 x))
1.0ms
(sqrt (exp (* 2.0 x)))
12.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series123.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (exp 2.0) (* 1/2 x))
21.0ms
(sqrt (exp (* 2.0 x)))
55.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
14.0ms
(- (exp x) 1.0)

simplify64.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0243428
1686409
22418406
35002404

prune273.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp 2.0) (* 1/2 x))
0.2b
(sqrt (exp (* 2.0 x)))
4.7b
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
4.7b
(- (exp x) 1.0)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
11×*-un-lft-identity
add-log-exp
add-cube-cbrt difference-of-squares
pow1 sqrt-prod
unpow-prod-down
add-exp-log exp-prod pow-pow add-cbrt-cube
sqrt-pow1 sqr-pow
sub-neg flip3-- diff-log flip-- distribute-lft-out--
pow-to-exp rem-sqrt-square pow-unpow exp-to-pow pow1/2 pow-exp
Counts
4 → 66
Calls
4 calls:
2.0ms
(pow (exp 2.0) (* 1/2 x))
1.0ms
(sqrt (exp (* 2.0 x)))
12.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series123.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (exp 2.0) (* 1/2 x))
21.0ms
(sqrt (exp (* 2.0 x)))
55.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
14.0ms
(- (exp x) 1.0)

simplify64.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0243428
1686409
22418406
35002404

prune298.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes26.0ms

Accuracy

86.1% (0.4b remaining)

Error of 0.8b against oracle of 0.4b and baseline of 3.2b

bsearch36.0ms

Steps
ItersRangePoint
5
-4.613206121218691e-07
-2.182603019671814e-07
-4.407566599899106e-07

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03622
13622

end0.0ms

sample1.8s

Algorithm
intervals
Results
668.0ms12961×body80nan
408.0ms7437×body80valid
342.0ms6918×body80overflowed
87.0ms700×body160valid