Details

Time bar (total: 4.4s)

sample316.0ms

Algorithm
intervals
Results
14.0ms353×body80nan
11.0ms243×body80valid
10.0ms197×body80overflowed
2.0ms18×body160valid

simplify71.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.1b

Counts
2 → 1

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

rewrite51.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:
23.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
10.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)

series204.0ms

Counts
4 → 12
Calls
4 calls:
91.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
64.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
25.0ms
(- (exp (* 2.0 x)) 1.0)
23.0ms
(- (exp x) 1.0)

simplify125.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
03871380
110541314
242651301
350011293

prune297.0ms

Filtered
135 candidates to 92 candidates (68.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1332135
Fresh000
Picked101
Done000
Total1342136

Merged error: 0.0b

Counts
136 → 2

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(sqrt (exp (* 2.0 x)))
0.5b
(sqrt (exp (* 2.0 x)))
4.3b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.3b
(- (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:
2.0ms
(sqrt (exp (* 2.0 x)))
2.0ms
(sqrt (exp (* 2.0 x)))
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
5.0ms
(- (exp x) 1.0)

series110.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(sqrt (exp (* 2.0 x)))
22.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 (31.0ms)

IterNodesCost
0168382
1414365
21068363
33163361
45002361

prune185.0ms

Filtered
74 candidates to 49 candidates (66.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh011
Picked011
Done000
Total73376

Merged error: 0b

Counts
76 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp 2.0) (* 1/2 x))
0.5b
(sqrt (exp (* 2.0 x)))
4.3b
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
4.3b
(- (exp x) 1.0)

rewrite18.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:
3.0ms
(pow (exp 2.0) (* 1/2 x))
2.0ms
(sqrt (exp (* 2.0 x)))
7.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series122.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(pow (exp 2.0) (* 1/2 x))
22.0ms
(sqrt (exp (* 2.0 x)))
56.0ms
(- (pow (exp 2.0) (* 1/2 x)) (sqrt 1.0))
14.0ms
(- (exp x) 1.0)

simplify67.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 3 (60.0ms)

IterNodesCost
0243428
1686409
22418406
35002404

prune230.0ms

Filtered
78 candidates to 54 candidates (69.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh011
Picked011
Done011
Total78381

Merged error: 0b

Counts
81 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
0.2b
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
0.2b
(/ (pow x 2) (sqrt 2.0))
0.4b
(/ x (sqrt 2.0))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
108×add-sqr-sqrt
83×*-un-lft-identity
81×add-cube-cbrt
67×sqrt-prod
52×associate-*l*
41×unpow-prod-down
21×add-exp-log
15×unpow2 sqr-pow
13×add-cbrt-cube
12×associate-/r*
11×associate-/l*
unswap-sqr
div-exp
pow1 associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in prod-exp
cbrt-undiv div-inv
frac-times pow-to-exp flip3-- frac-2neg associate-*r/ pow-exp clear-num flip-- cbrt-unprod difference-of-squares
+-commutative flip3-+ pow-prod-down associate-*l/ sum-log *-commutative flip-+ distribute-lft-out--
Counts
4 → 221
Calls
4 calls:
5.0ms
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
25.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
6.0ms
(/ (pow x 2) (sqrt 2.0))
4.0ms
(/ x (sqrt 2.0))

series329.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
72.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
65.0ms
(/ (pow x 2) (sqrt 2.0))
54.0ms
(/ x (sqrt 2.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
06071712
124771546
250021532

prune460.0ms

Filtered
233 candidates to 143 candidates (61.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2330233
Fresh000
Picked011
Done022
Total2333236

Merged error: 0b

Counts
236 → 3

regimes28.0ms

Accuracy

72.1% (0.8b remaining)

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

bsearch48.0ms

Steps
ItersRangePoint
7
-2.1715692429689375e-16
-4.9708941443212345e-18
-1.6685537623511625e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03827
13827

end0.0ms

sample1.5s

Algorithm
intervals
Results
492.0ms12490×body80nan
323.0ms7391×body80valid
247.0ms6727×body80overflowed
74.0ms744×body160valid

Profiling

Loading profile data...