Details

Time bar (total: 6.0s)

sample151.0ms

Algorithm
intervals
Results
44.0ms79×body10240exit
36.0ms64×body1280valid
24.0ms352×body80valid
17.0ms42×body640valid
5.0ms21×body320valid
1.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 31.9b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
0.0b
(* (- 1.0 eps) x)
0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
2.9b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
80×exp-neg frac-times
60×neg-sub0 exp-diff
42×associate-*l/
40×associate-*r/
32×flip3-- flip--
30×flip3-+ flip-+
23×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
15×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
associate-*r*
add-exp-log
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
distribute-lft-out--
sub-neg times-frac diff-log distribute-lft-out
Counts
4 → 173
Calls
4 calls:
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
6.0ms
(* (- 1.0 eps) x)
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series319.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
31.0ms
(* (- 1.0 eps) x)
46.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
193.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify151.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
012534065
147123787
250013778

prune393.0ms

Filtered
185 candidates to 95 candidates (51.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1832185
Fresh000
Picked101
Done000
Total1842186

Merged error: 0.2b

Counts
186 → 2

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
5.8b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log sqr-pow
cube-mult pow-to-exp sub-neg flip3-- unpow3 pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 45
Calls
2 calls:
6.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series74.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(* 0.6666666666666667 (pow x 3))
37.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify33.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0207270
1894242
25002238

prune92.0ms

Filtered
51 candidates to 31 candidates (60.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48351
Fresh011
Picked101
Done000
Total49453

Merged error: 0.2b

Counts
53 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
0.1b
(* 0.6666666666666667 (pow x 3))
9.4b
(+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))
9.8b
(/ (+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
20×add-cube-cbrt *-un-lft-identity
16×add-exp-log
10×add-cbrt-cube
times-frac
unpow-prod-down cube-prod unswap-sqr
associate-*l* prod-exp add-log-exp
pow1 sqr-pow
flip3-+ associate-/r* flip-+ associate-/l*
cube-mult pow-to-exp associate-+r+ unpow3 pow-exp associate-/r/ *-commutative cbrt-unprod associate-/l/
cbrt-undiv +-commutative distribute-rgt-in frac-2neg distribute-lft-in div-exp clear-num sum-log div-inv
Counts
4 → 106
Calls
4 calls:
6.0ms
(* 0.6666666666666667 (pow x 3))
6.0ms
(* 0.6666666666666667 (pow x 3))
5.0ms
(+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))
14.0ms
(/ (+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

series236.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* 0.6666666666666667 (pow x 3))
35.0ms
(* 0.6666666666666667 (pow x 3))
52.0ms
(+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))
108.0ms
(/ (+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04121392
119941252
250011242

prune359.0ms

Filtered
118 candidates to 82 candidates (69.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1162118
Fresh123
Picked101
Done000
Total1184122

Merged error: 0.2b

Counts
122 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow x 2) (+ (* 0.6666666666666667 x) 1.0))
0.1b
(* 2.666666666666667 (pow x 3))
10.8b
(- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4)))
11.8b
(/ (- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r*
11×associate-*l*
10×add-cbrt-cube
times-frac add-log-exp
unpow-prod-down unswap-sqr
prod-exp
pow1 cube-prod sqr-pow
associate-/r* associate-/l*
pow-to-exp flip3-- flip3-+ diff-log associate-*r/ pow-exp associate-/r/ *-commutative flip-- cbrt-unprod flip-+ associate-/l/ unpow2
cbrt-undiv distribute-rgt-in cube-mult sub-neg frac-2neg distribute-lft-in unpow3 div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
4 → 108
Calls
4 calls:
8.0ms
(* (pow x 2) (+ (* 0.6666666666666667 x) 1.0))
6.0ms
(* 2.666666666666667 (pow x 3))
7.0ms
(- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4)))
15.0ms
(/ (- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

series248.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (pow x 2) (+ (* 0.6666666666666667 x) 1.0))
35.0ms
(* 2.666666666666667 (pow x 3))
57.0ms
(- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4)))
83.0ms
(/ (- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

simplify84.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05661107
126871010
250011009

prune300.0ms

Filtered
120 candidates to 81 candidates (67.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1191120
Fresh033
Picked101
Done000
Total1204124

Merged error: 0.2b

Counts
124 → 4

regimes66.0ms

Accuracy

96.4% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 16.7b

bsearch163.0ms

Steps
ItersRangePoint
10
1.9435667087631803
128700106451.34695
154.4482937142435

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
07344
18444
28544
38544

end0.0ms

sample3.0s

Algorithm
intervals
Results
825.0ms1967×body10240exit
786.0ms1786×body1280valid
585.0ms10024×body80valid
329.0ms1253×body640valid
111.0ms590×body320valid
36.0ms321×body160valid