Details

Time bar (total: 5.5s)

sample311.0ms

Algorithm
intervals
Results
39.0ms183×body10240exit
10.0ms323×body80nan
8.0ms238×body80valid
2.0ms19×body160valid

simplify85.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.0b

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))
4.6b
(- (exp (* 2.0 x)) 1.0)
4.8b
(- (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)
6.0ms
(- (exp x) 1.0)

series209.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(sqrt (/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0)))
58.0ms
(/ (- (exp (* 2.0 x)) 1.0) (- (exp x) 1.0))
32.0ms
(- (exp (* 2.0 x)) 1.0)
24.0ms
(- (exp x) 1.0)

simplify124.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
03871380
110541314
242871301
350031293

prune293.0ms

Filtered
135 candidates to 92 candidates (68.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1305135
Fresh000
Picked101
Done000
Total1315136

Merged error: 0.0b

Counts
136 → 5

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

rewrite51.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:
20.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 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)

series364.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)))
182.0ms
(/ (* (+ (sqrt (exp (* 2.0 x))) (sqrt 1.0)) (- (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (exp x) 1.0))
48.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify65.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04811464
124011163
250031124

prune281.0ms

Filtered
117 candidates to 83 candidates (70.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1152117
Fresh224
Picked011
Done000
Total1175122

Merged error: 0.0b

Counts
122 → 5

localize17.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))
4.8b
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
4.8b
(- (exp x) 1.0)

rewrite33.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:
10.0ms
(pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3)
8.0ms
(cbrt (pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3))
6.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)
53.0ms
(cbrt (pow (- (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 3))
48.0ms
(- (sqrt (exp (* 2.0 x))) (sqrt 1.0))
15.0ms
(- (exp x) 1.0)

simplify48.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03571065
11371995
25001983

prune226.0ms

Filtered
116 candidates to 55 candidates (47.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh033
Picked011
Done011
Total1165121

Merged error: 0.0b

Counts
121 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
48×add-sqr-sqrt
30×times-frac
25×add-log-exp
21×distribute-lft-out
17×add-cube-cbrt
15×distribute-rgt-out
12×sum-log
11×flip3-+ flip-+
frac-add distribute-neg-frac distribute-lft-out-- difference-of-squares
distribute-lft-neg-in distribute-rgt-neg-in
add-exp-log add-cbrt-cube associate-/l/ associate-/l*
associate-/r*
pow1 neg-log
div-sub
+-commutative neg-sub0 associate-+r- flip3-- unsub-neg associate-/r/ flip--
cbrt-undiv sub-neg associate-+l+ associate-+r+ distribute-neg-in frac-2neg diff-log div-exp clear-num div-inv
Counts
4 → 118
Calls
4 calls:
6.0ms
(+ (* (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1.0)
19.0ms
(/ (+ (+ (exp (* 2.0 x)) (* (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (+ (* (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1.0))) (- (exp x) 1.0))
14.0ms
(+ (+ (exp (* 2.0 x)) (* (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (+ (* (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1.0)))
4.0ms
(- (exp x) 1.0)

series165.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(+ (* (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1.0)
62.0ms
(/ (+ (+ (exp (* 2.0 x)) (* (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (+ (* (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1.0))) (- (exp x) 1.0))
27.0ms
(+ (+ (exp (* 2.0 x)) (* (sqrt (exp (* 2.0 x))) (sqrt 1.0))) (- (+ (* (sqrt (exp (* 2.0 x))) (sqrt 1.0)) 1.0)))
15.0ms
(- (exp x) 1.0)

simplify77.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05592792
124232524
250032300

prune319.0ms

Filtered
130 candidates to 87 candidates (66.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1291130
Fresh112
Picked101
Done022
Total1314135

Merged error: 0.0b

Counts
135 → 4

regimes31.0ms

Accuracy

76.3% (0.7b remaining)

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

bsearch17.0ms

Steps
ItersRangePoint
3
-1.3488457936154646e-05
-1.0220710393840792e-05
-1.328422371476003e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03322
13322

end0.0ms

sample2.4s

Algorithm
intervals
Results
1.4s6682×body10240exit
400.0ms12570×body80nan
256.0ms7391×body80valid
58.0ms728×body160valid