Details

Time bar (total: 3.6s)

sample245.0ms

Algorithm
intervals
Results
194.0ms235×body80overflowed
15.0ms384×body80nan
12.0ms238×body80valid
2.0ms24×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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 4.5b

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

rewrite33.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)))
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)

series33.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
03871380
110541314
242651301
350011293

prune243.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: 0b

Counts
136 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(sqrt (exp (* 2.0 x)))
0.2b
(sqrt (exp (* 2.0 x)))
5.0b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
5.0b
(- (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:
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)

series15.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0168382
1414365
21068363
33163361
45002361

prune159.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New74074
Fresh033
Picked011
Done000
Total74478

Merged error: 0b

Counts
78 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (+ (neg (* 1.0 1.0)) (pow (exp 2.0) (* 2 x))) (+ (exp (* 2.0 x)) 1.0)) (- (exp x) 1.0))
0.0b
(pow (exp 2.0) (* 2 x))
4.9b
(+ (neg (* 1.0 1.0)) (pow (exp 2.0) (* 2 x)))
5.0b
(- (exp x) 1.0)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
229×*-un-lft-identity
206×times-frac
131×add-sqr-sqrt
83×add-cube-cbrt
49×distribute-lft-out
24×distribute-lft-out-- difference-of-squares
22×associate-/l*
14×associate-/r/
10×add-log-exp
add-exp-log add-cbrt-cube
flip3-+ flip-+ div-inv
pow1 associate-/r*
pow-pow
cbrt-undiv unpow-prod-down exp-prod div-exp
neg-sub0 associate-+l- flip3-- div-sub sum-log flip--
+-commutative pow-to-exp sub-neg pow-unpow frac-2neg diff-log neg-log pow-exp clear-num associate-/l/ sqr-pow
Counts
4 → 201
Calls
4 calls:
18.0ms
(/ (/ (+ (neg (* 1.0 1.0)) (pow (exp 2.0) (* 2 x))) (+ (exp (* 2.0 x)) 1.0)) (- (exp x) 1.0))
3.0ms
(pow (exp 2.0) (* 2 x))
6.0ms
(+ (neg (* 1.0 1.0)) (pow (exp 2.0) (* 2 x)))
4.0ms
(- (exp x) 1.0)

series32.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (/ (+ (neg (* 1.0 1.0)) (pow (exp 2.0) (* 2 x))) (+ (exp (* 2.0 x)) 1.0)) (- (exp x) 1.0))
3.0ms
(pow (exp 2.0) (* 2 x))
6.0ms
(+ (neg (* 1.0 1.0)) (pow (exp 2.0) (* 2 x)))
2.0ms
(- (exp x) 1.0)

simplify94.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
07894022
132073906
250013885

prune541.0ms

Filtered
131 candidates to 213 candidates (-62.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2130213
Fresh022
Picked011
Done011
Total2134217

Merged error: 0b

Counts
217 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (+ 1.0 (* 0.5 x)))
27.2b
(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)))
6.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

prune54.0ms

Filtered
30 candidates to 43 candidates (-43.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New43043
Fresh011
Picked011
Done022
Total43447

Merged error: 0b

Counts
47 → 4

regimes42.0ms

Accuracy

78.3% (0.7b remaining)

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

bsearch19.0ms

Steps
ItersRangePoint
9
-5.638243373460967
-1.2795655736726249e-08
-0.00018690287297781785

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04526
14526

end0.0ms

sample1.6s

Algorithm
intervals
Results
505.0ms12702×body80nan
322.0ms7411×body80valid
255.0ms6726×body80overflowed
75.0ms717×body160valid

Profiling

Loading profile data...