Details

Time bar (total: 6.5s)

sample1.2s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 30.853271%

Guaranteed chance to sample good point: 79.08465%

Results
37.0ms61×body1280valid
13.0ms38×body640valid
11.0ms135×body80valid
5.0ms61×body80overflowed
4.0ms14×body320valid
3.0ms39×body80invalid
1.0msbody160valid
1.0msbody1280invalid
0.0msbody640invalid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 28.7b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 eps) x)
0.0b
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
1.9b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 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:
8.0ms
(* (- 1.0 eps) x)
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series80.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (- 1.0 eps) x)
15.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
10.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
50.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify149.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
012494065
147073787
250023778

prune361.0ms

Filtered
95 candidates to 185 candidates (-94.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1832185
Fresh000
Picked101
Done000
Total1842186

Merged error: 0.4b

Counts
186 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
5.4b
(- (+ (* 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)))

series10.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* 0.6666666666666667 (pow x 3))
6.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

prune79.0ms

Filtered
31 candidates to 51 candidates (-64.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New50151
Fresh011
Picked101
Done000
Total51253

Merged error: 0.4b

Counts
53 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* 0.6666666666666667 x) x)
0.6b
(cbrt x)
0.7b
(pow (cbrt x) 3)
5.4b
(- (+ (* (* (* 0.6666666666666667 x) x) (pow (cbrt x) 3)) 2.0) (* 1.0 (pow x 2)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
10×pow1 add-exp-log
cbrt-prod add-cbrt-cube add-log-exp
unpow-prod-down cube-prod
pow-unpow associate-*r* pow-prod-down prod-exp cbrt-unprod
pow-pow pow1/3 diff-log
cube-mult pow-to-exp sub-neg flip3-- unpow3 associate-*l* pow-exp associate--l+ sum-log *-commutative flip-- rem-cube-cbrt sqr-pow
Counts
4 → 73
Calls
4 calls:
5.0ms
(* (* 0.6666666666666667 x) x)
1.0ms
(cbrt x)
3.0ms
(pow (cbrt x) 3)
10.0ms
(- (+ (* (* (* 0.6666666666666667 x) x) (pow (cbrt x) 3)) 2.0) (* 1.0 (pow x 2)))

series65.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 0.6666666666666667 x) x)
22.0ms
(cbrt x)
32.0ms
(pow (cbrt x) 3)
7.0ms
(- (+ (* (* (* 0.6666666666666667 x) x) (pow (cbrt x) 3)) 2.0) (* 1.0 (pow x 2)))

simplify68.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0351412
11878356
25001322

prune108.0ms

Filtered
47 candidates to 85 candidates (-80.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New84185
Fresh011
Picked101
Done000
Total85287

Merged error: 0.4b

Counts
87 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.7b
(pow (* (cbrt (* (cbrt x) (cbrt x))) (cbrt (cbrt x))) 3)
5.4b
(- (+ (* (* (* 0.6666666666666667 x) x) (pow (* (cbrt (* (cbrt x) (cbrt x))) (cbrt (cbrt x))) 3)) 2.0) (* 1.0 (pow x 2)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
pow1 add-exp-log cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-cbrt-cube
pow-pow pow1/3
pow-unpow
diff-log pow-prod-down pow-exp rem-cube-cbrt
cube-mult pow-to-exp sub-neg unpow-prod-down flip3-- unpow3 cube-prod pow3 prod-exp associate--l+ sum-log flip-- cbrt-unprod sqr-pow
Counts
4 → 60
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
7.0ms
(pow (* (cbrt (* (cbrt x) (cbrt x))) (cbrt (cbrt x))) 3)
10.0ms
(- (+ (* (* (* 0.6666666666666667 x) x) (pow (* (cbrt (* (cbrt x) (cbrt x))) (cbrt (cbrt x))) 3)) 2.0) (* 1.0 (pow x 2)))

series80.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt x)
22.0ms
(cbrt x)
30.0ms
(pow (* (cbrt (* (cbrt x) (cbrt x))) (cbrt (cbrt x))) 3)
7.0ms
(- (+ (* (* (* 0.6666666666666667 x) x) (pow (* (cbrt (* (cbrt x) (cbrt x))) (cbrt (cbrt x))) 3)) 2.0) (* 1.0 (pow x 2)))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0266632
11067528
25002369

prune119.0ms

Filtered
53 candidates to 72 candidates (-35.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New71172
Fresh011
Picked101
Done000
Total72274

Merged error: 0.4b

Counts
74 → 2

regimes81.0ms

Accuracy

97% (0.5b remaining)

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

bsearch111.0ms

Steps
ItersRangePoint
10
1.2205598459966065e-18
5.187232899519626
2.236493068216784

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05137
16337
26337

end0.0ms

sample3.6s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 30.853271%

Guaranteed chance to sample good point: 79.08465%

Results
931.0ms1658×body1280valid
451.0ms1265×body640valid
343.0ms4151×body80valid
155.0ms629×body320valid
148.0ms1839×body80overflowed
82.0ms1008×body80invalid
47.0ms297×body160valid
10.0ms17×body1280invalid
7.0ms16×body640invalid
1.0msbody320invalid
1.0msbody160invalid

Profiling

Loading profile data...