Details

Time bar (total: 5.2s)

sample327.0ms

Algorithm
intervals
Results
38.0ms207×body10240exit
13.0ms397×body80nan
8.0ms251×body80valid
1.0ms13×body160valid

simplify72.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: 3.0b

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

rewrite45.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:
14.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
15.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)

series207.0ms

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

simplify127.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
03871380
110541314
242871301
350031293

prune335.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (* 2.0 x)))
0.0b
(sqrt (exp (* 2.0 x)))
3.1b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
3.1b
(- (exp x) 1.0)

rewrite15.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)))
7.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series111.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(sqrt (exp (* 2.0 x)))
23.0ms
(sqrt (exp (* 2.0 x)))
51.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify105.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
0168382
1414365
21068363
33163361
45001361

prune236.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp (* 2.0 x)))
0.0b
(pow (exp 2.0) (* 1/2 x))
3.1b
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
3.1b
(- (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:
1.0ms
(sqrt (exp (* 2.0 x)))
2.0ms
(pow (exp 2.0) (* 1/2 x))
12.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series125.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(sqrt (exp (* 2.0 x)))
28.0ms
(pow (exp 2.0) (* 1/2 x))
58.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify66.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0243428
1686409
22418406
35002404

prune293.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(cbrt (sqrt (exp (* 2.0 x))))
0.1b
(cbrt (sqrt (exp (* 2.0 x))))
3.1b
(- (exp x) 1.0)
3.1b
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))

rewrite21.0ms

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

series293.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(cbrt (sqrt (exp (* 2.0 x))))
107.0ms
(cbrt (sqrt (exp (* 2.0 x))))
14.0ms
(- (exp x) 1.0)
58.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 3 (46.0ms)

IterNodesCost
0222513
1528479
21554472
35002470

prune323.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes34.0ms

Accuracy

73.2% (0.8b remaining)

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

bsearch41.0ms

Steps
ItersRangePoint
7
-0.00020282774512128207
-2.666981187088564e-06
-3.1802985128712644e-06

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04329
14329

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s6560×body10240exit
382.0ms12522×body80nan
236.0ms7448×body80valid
50.0ms675×body160valid