Details

Time bar (total: 5.7s)

sample1.1s

Algorithm
intervals
Results
27.0ms71×body1280valid
10.0ms43×body640valid
5.0ms32×body320valid
5.0ms100×body80valid
3.0ms76×body80overflowed
1.0ms12×body160valid

simplify429.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: 38.6b

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

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

series32.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
8.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
2.0ms
(- (exp x) 1.0)
11.0ms
(- (exp (* 2.0 x)) 1.0)

simplify122.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
03871380
110541314
242651301
350021293

prune271.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh000
Picked101
Done000
Total1324136

Merged error: 0.0b

Counts
136 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

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

simplify37.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0279280
11132268
25002256

prune70.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New42143
Fresh123
Picked011
Done000
Total43447

Merged error: 0.0b

Counts
47 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
0.8b
(* (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
11.5b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
11.5b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
82×sqrt-prod
54×add-sqr-sqrt
38×sqrt-pow1
32×sqrt-div
31×pow1
20×add-cube-cbrt *-un-lft-identity pow1/2
15×swap-sqr
flip3-+ associate-*r* associate-*l* pow-prod-up flip-+ unswap-sqr
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times rem-sqrt-square add-log-exp
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
6.0ms
(sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
20.0ms
(* (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

series25.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0)))
5.0ms
(* (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))) (sqrt (sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))
5.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04271491
117631403
250021383

prune255.0ms

Filtered
80 candidates to 146 candidates (-82.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1460146
Fresh022
Picked011
Done011
Total1464150

Merged error: 0.0b

Counts
150 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×*-un-lft-identity
17×sqrt-prod
10×times-frac
add-exp-log add-cbrt-cube
add-cube-cbrt associate-/l/ add-log-exp difference-of-squares
flip3-- flip--
distribute-lft-out--
pow1 associate-/r*
frac-times associate-/r/
flip3-+ flip-+
cbrt-undiv sub-neg diff-log associate-*r/ div-exp associate-*l/ div-inv
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 sqrt-div prod-exp clear-num cbrt-unprod associate-/l*
Counts
4 → 89
Calls
4 calls:
15.0ms
(sqrt (/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0)))
18.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series57.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(sqrt (/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0)))
18.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
5.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
2.0ms
(- (exp x) 1.0)

simplify71.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06071410
128461184
250011166

prune288.0ms

Filtered
77 candidates to 101 candidates (-31.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1001101
Fresh011
Picked011
Done022
Total1005105

Merged error: 0b

Counts
105 → 5

regimes138.0ms

Accuracy

98.8% (0.2b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03226
13226

end0.0ms

sample2.5s

Algorithm
intervals
Results
820.0ms2280×body1280valid
370.0ms1676×body640valid
127.0ms2872×body80valid
122.0ms843×body320valid
96.0ms2492×body80overflowed
37.0ms388×body160valid

Profiling

Loading profile data...