Details

Time bar (total: 3.6s)

sample33.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 43.768318%

Space saved by search: 43.768318%

Guaranteed chance to sample good point: 100%

Results
6.0ms185×body80valid
5.0ms33×body1280valid
4.0ms256×pre80true
3.0ms25×body640valid
1.0msbody320valid
0.0msbody160valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0206
1346
2526
3736
41236
51726
62246
72616
83236
94116
105326
116126
126546
136976
149226
159806
1610076
1710276
1810356
1910356

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.3b

Counts
2 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
1.6b
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
19×distribute-lft-out
14×add-cube-cbrt
distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ div-sub associate-/r/ flip-+ associate-/l/
cbrt-undiv +-commutative associate-+l- flip3-- frac-2neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 65
Calls
2 calls:
9.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
18.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series19.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
11.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0320535
11022510
25001502

prune107.0ms

Filtered
46 candidates to 71 candidates (-54.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New62971
Fresh000
Picked101
Done000
Total63972

Merged error: 15.5b

Counts
72 → 9

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ beta (+ (+ alpha beta) 2.0))
0.0b
(/ alpha (+ (+ alpha beta) 2.0))
1.6b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
31×times-frac
28×add-sqr-sqrt
24×distribute-lft-out
23×add-cube-cbrt
10×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv frac-2neg flip3-+ div-exp clear-num flip-+ div-inv difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
3 → 89
Calls
3 calls:
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
15.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series24.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(/ beta (+ (+ alpha beta) 2.0))
6.0ms
(/ alpha (+ (+ alpha beta) 2.0))
11.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify154.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0328582
11072553
24874544
35001544

prune151.0ms

Filtered
66 candidates to 98 candidates (-48.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New92698
Fresh628
Picked101
Done000
Total998107

Merged error: 3.7b

Counts
107 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

1.6b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
8.2b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
8.2b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
8.2b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
78×*-un-lft-identity
63×cbrt-prod
46×times-frac
36×add-sqr-sqrt
31×add-cube-cbrt
27×distribute-lft-out
associate-/r/ add-log-exp
pow1 add-exp-log add-cbrt-cube
cbrt-div flip3-+ pow1/3 flip-+ div-inv
difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 105
Calls
4 calls:
13.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
9.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
7.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
7.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

series78.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
24.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
21.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
22.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

simplify127.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
03361065
19791017
24616980
35001980

prune285.0ms

Filtered
86 candidates to 117 candidates (-36.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1134117
Fresh167
Picked101
Done000
Total11510125

Merged error: 3.7b

Counts
125 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ alpha (+ (+ alpha beta) 2.0))
0.0b
(/ (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) (* 1.0 1.0)))
0.1b
(pow (/ alpha (+ (+ alpha beta) 2.0)) 3)
1.6b
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

rewrite142.0ms

Algorithm
rewrite-expression-head
Rules
301×add-sqr-sqrt
184×times-frac
171×*-un-lft-identity
120×difference-of-squares
111×unpow-prod-down cube-prod
71×add-cube-cbrt
51×sqr-pow
36×associate-/l*
30×distribute-lft-out
25×distribute-lft-out--
11×add-exp-log add-cbrt-cube
associate-/r* associate-/r/
add-log-exp
pow1 difference-cubes
flip3-+ flip-+ div-inv
cbrt-undiv pow-unpow div-exp
flip3-- frac-2neg pow-exp clear-num flip-- associate-/l/ rem-cube-cbrt
cube-div cube-mult pow-to-exp sub-neg pow-pow diff-log unpow3 div-sub
Counts
4 → 293
Calls
4 calls:
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
67.0ms
(/ (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) (* 1.0 1.0)))
10.0ms
(pow (/ alpha (+ (+ alpha beta) 2.0)) 3)
40.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

series80.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ alpha (+ (+ alpha beta) 2.0))
36.0ms
(/ (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) (* 1.0 1.0)))
17.0ms
(pow (/ alpha (+ (+ alpha beta) 2.0)) 3)
20.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

simplify164.0ms

Algorithm
egg-herbie
Counts
305 → 305
Iterations

Useful iterations: 2 (105.0ms)

IterNodesCost
09506215
142056043
250016039

prune647.0ms

Filtered
148 candidates to 305 candidates (-106.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New3032305
Fresh189
Picked101
Done000
Total30510315

Merged error: 3.7b

Counts
315 → 10

regimes560.0ms

Accuracy

98.9% (0.1b remaining)

Error of 3.4b against oracle of 3.3b and baseline of 16.0b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03939
13939

end0.0ms

sample804.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 43.768318%

Space saved by search: 43.768318%

Guaranteed chance to sample good point: 100%

Results
185.0ms5805×body80valid
138.0ms874×body1280valid
133.0ms8000×pre80true
93.0ms730×body640valid
36.0ms396×body320valid
12.0ms195×body160valid

Profiling

Loading profile data...