Details

Time bar (total: 3.8s)

sample248.0ms

Algorithm
intervals
Results
28.0ms73×body1280valid
10.0ms43×body640valid
5.0ms73×body80overflowed
5.0ms32×body320valid
4.0ms95×body80valid
1.0ms14×body160valid

simplify426.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0197
1287
2407
3737
41767
55597
626267
750017

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.9b

Counts
2 → 1

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
0.0b
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
4.9b
(- (exp (* 2.0 x)) 1.0)
4.9b
(- (exp x) 1.0)

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

series32.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
12.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
3.0ms
(- (exp (* 2.0 x)) 1.0)
10.0ms
(- (exp x) 1.0)

simplify121.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
03871380
110541314
242651301
350011293

prune253.0ms

Filtered
92 candidates to 135 candidates (-46.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1332135
Fresh000
Picked101
Done000
Total1342136

Merged error: 0.0b

Counts
136 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.0ms

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

series11.0ms

Counts
2 → 6
Calls
2 calls:
5.0ms
(* x (+ 1.0 (* 0.5 x)))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0279280
11132268
25002256

prune66.0ms

Filtered
31 candidates to 43 candidates (-38.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh011
Picked011
Done000
Total42345

Merged error: 0b

Counts
45 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
0.1b
(* (fabs (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
10.5b
(cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
10.5b
(cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×cbrt-prod sqrt-prod
12×add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div
pow1
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r/
pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
8.0ms
(sqrt (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
10.0ms
(* (fabs (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
5.0ms
(cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
5.0ms
(cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series46.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(sqrt (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
19.0ms
(* (fabs (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
8.0ms
(cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
10.0ms
(cbrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05451415
119041345
250011229

prune277.0ms

Filtered
73 candidates to 86 candidates (-17.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh011
Picked011
Done011
Total86389

Merged error: 0b

Counts
89 → 3

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.9b
(- (exp x) 1.0)
4.9b
(- (sqrt (exp (* 2.0 x))) (sqrt 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:
2.0ms
(sqrt (exp (* 2.0 x)))
2.0ms
(sqrt (exp (* 2.0 x)))
4.0ms
(- (exp x) 1.0)
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))

series13.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(sqrt (exp (* 2.0 x)))
3.0ms
(sqrt (exp (* 2.0 x)))
2.0ms
(- (exp x) 1.0)
5.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))

simplify103.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0168382
1414365
21068363
33163361
45002361

prune161.0ms

Filtered
49 candidates to 74 candidates (-51.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New74074
Fresh000
Picked011
Done022
Total74377

Merged error: 0b

Counts
77 → 3

regimes38.0ms

Accuracy

98.6% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 20.7b

bsearch16.0ms

Steps
ItersRangePoint
8
-3.831560156749637e-05
-7.511273327943636e-10
-1.2483850857532933e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03020
13020

end0.0ms

sample1.8s

Algorithm
intervals
Results
830.0ms2367×body1280valid
368.0ms1652×body640valid
124.0ms2839×body80valid
120.0ms808×body320valid
97.0ms2516×body80overflowed
40.0ms391×body160valid

Profiling

Loading profile data...