Details

Time bar (total: 3.6s)

sample249.0ms

Algorithm
intervals
Results
205.0ms453×body80nan
11.0ms243×body80valid
9.0ms230×body80overflowed
2.0ms19×body160valid

simplify71.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: 3.2b

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

series32.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)
10.0ms
(- (exp x) 1.0)

simplify129.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (107.0ms)

IterNodesCost
03871380
110541314
242651301
350011293

prune242.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1323135
Fresh000
Picked101
Done000
Total1333136

Merged error: 0b

Counts
136 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (+ (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)))
3.6b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
3.6b
(- (exp x) 1.0)

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
26×*-un-lft-identity
14×sqrt-prod
11×add-exp-log add-cbrt-cube difference-of-squares
flip3-- associate-*r* flip--
frac-times add-cube-cbrt associate-/l/ add-log-exp
distribute-lft-out--
pow1 flip3-+ flip-+
times-frac associate-*l* associate-/r*
sub-neg associate-*r/ associate-*l/
cbrt-undiv distribute-rgt-in distribute-lft-in diff-log div-exp prod-exp associate-/r/ cbrt-unprod distribute-lft-out
frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 105
Calls
4 calls:
21.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
15.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
6.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.0ms
(- (exp x) 1.0)

series35.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04811464
124031163
250021124

prune287.0ms

Filtered
83 candidates to 117 candidates (-41.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh022
Picked011
Done000
Total1173120

Merged error: 0b

Counts
120 → 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)))
26.2b
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

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

series17.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(+ (* x (+ 1.0 (* 0.5 x))) 2.0)
8.0ms
(* x (+ 1.0 (* 0.5 x)))
6.0ms
(sqrt (+ (* x (+ 1.0 (* 0.5 x))) 2.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0308385
11305364
25001352

prune75.0ms

Filtered
42 candidates to 59 candidates (-40.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New59059
Fresh011
Picked011
Done011
Total59362

Merged error: 0b

Counts
62 → 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.3b
(/ (pow x 2) (sqrt 2.0))
0.5b
(/ x (sqrt 2.0))

rewrite46.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:
4.0ms
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
23.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))

series29.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (sqrt 2.0) (* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0))))
7.0ms
(* (/ (pow x 2) (sqrt 2.0)) (- 0.25 (/ 0.125 2.0)))
6.0ms
(/ (pow x 2) (sqrt 2.0))
5.0ms
(/ x (sqrt 2.0))

simplify70.0ms

Algorithm
egg-herbie
Counts
233 → 233
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06071757
126141546
250011528

prune452.0ms

Filtered
143 candidates to 233 candidates (-62.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2330233
Fresh000
Picked011
Done022
Total2333236

Merged error: 0b

Counts
236 → 3

regimes37.0ms

Accuracy

77.6% (0.7b remaining)

Error of 0.9b against oracle of 0.2b and baseline of 3.3b

bsearch15.0ms

Steps
ItersRangePoint
7
-9.98236031775492e-06
-1.913226438347973e-07
-9.812383449396218e-06

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03020
13020

end0.0ms

sample1.6s

Algorithm
intervals
Results
505.0ms12760×body80nan
321.0ms7423×body80valid
257.0ms6720×body80overflowed
72.0ms705×body160valid

Profiling

Loading profile data...