Details

Time bar (total: 4.0s)

sample311.0ms

Algorithm
intervals
Results
17.0ms344×body80nan
11.0ms234×body80valid
10.0ms222×body80overflowed
3.0ms24×body160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.8b

Counts
2 → 1

localize12.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.3b
(- (exp (* 2.0 x)) 1.0)
5.4b
(- (exp x) 1.0)

rewrite48.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)))
9.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
4.0ms
(- (exp (* 2.0 x)) 1.0)
6.0ms
(- (exp x) 1.0)

series206.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
63.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
25.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify125.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
03871380
110541314
242651301
350011293

prune313.0ms

Filtered
135 candidates to 92 candidates (68.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh000
Picked101
Done000
Total1324136

Merged error: 0.0b

Counts
136 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.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))
4.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))
14.0ms
(- (exp x) 1.0)

simplify107.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
0168382
1414365
21068363
33163361
45002361

prune183.0ms

Filtered
74 candidates to 49 candidates (66.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New73174
Fresh213
Picked011
Done000
Total75378

Merged error: 0.0b

Counts
78 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3)
0.1b
(cbrt (pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3))
5.4b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
5.4b
(- (exp x) 1.0)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
32×*-un-lft-identity
30×sqrt-prod
24×cbrt-prod
21×difference-of-squares
18×unpow-prod-down cube-prod
11×distribute-lft-out--
10×add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube
cube-div flip3-- flip--
pow-unpow
cube-mult sub-neg cbrt-div diff-log unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
4 → 104
Calls
4 calls:
8.0ms
(pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3)
8.0ms
(cbrt (pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3))
7.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series241.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3)
52.0ms
(cbrt (pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3))
47.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
18.0ms
(- (exp x) 1.0)

simplify48.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03571065
11371995
25001983

prune233.0ms

Filtered
116 candidates to 55 candidates (47.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh011
Picked011
Done011
Total1163119

Merged error: 0.0b

Counts
119 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
0.0b
(* x (+ 1.0 (* 0.5 x)))
23.8b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
flip3-+ associate-*r* associate-*l* sqrt-prod flip-+
distribute-rgt-in associate-+l+ distribute-lft-in sqrt-div associate-*r/
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
3 → 50
Calls
3 calls:
5.0ms
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
5.0ms
(* x (+ 1.0 (* 0.5 x)))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series169.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
68.0ms
(* x (+ 1.0 (* 0.5 x)))
80.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify44.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0308385
11305364
25001352

prune97.0ms

Filtered
59 candidates to 43 candidates (72.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New59059
Fresh000
Picked011
Done022
Total59362

Merged error: 0.0b

Counts
62 → 3

regimes26.0ms

Accuracy

79.6% (0.7b remaining)

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

bsearch38.0ms

Steps
ItersRangePoint
7
-0.0007090918830877794
-3.895343399462064e-06
-1.1898853542802406e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03020
13020

end0.0ms

sample1.5s

Algorithm
intervals
Results
528.0ms12637×body80nan
344.0ms7461×body80valid
267.0ms6559×body80overflowed
71.0ms681×body160valid

Profiling

Loading profile data...