Details

Time bar (total: 3.5s)

sample28.0ms

Algorithm
intervals
Results
6.0ms184×body80valid
5.0ms30×body1280valid
4.0ms256×pre80true
3.0ms22×body640valid
1.0ms10×body320valid
1.0ms10×body160valid

simplify76.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

prune2.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: 16.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.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:
10.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
22.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series108.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0320535
11022510
25001502

prune144.0ms

Filtered
71 candidates to 46 candidates (64.8%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New591271
Fresh000
Picked101
Done000
Total601272

Merged error: 16.1b

Counts
72 → 12

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity
61×add-sqr-sqrt
56×times-frac
36×add-cube-cbrt
24×distribute-lft-out
13×associate-/r* associate-/l* distribute-lft-out--
10×add-exp-log add-cbrt-cube difference-of-squares
add-log-exp
pow1 associate-/r/ associate-/l/
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
flip3-+ frac-sub flip-+
sub-neg diff-log div-sub
Counts
4 → 137
Calls
4 calls:
30.0ms
(/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
18.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series241.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)
44.0ms
(/ alpha (+ (+ alpha beta) 2.0))
50.0ms
(/ beta (+ (+ alpha beta) 2.0))
80.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify58.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05441336
119101268
250021268

prune293.0ms

Filtered
149 candidates to 103 candidates (69.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1418149
Fresh11011
Picked101
Done000
Total1538161

Merged error: 2.9b

Counts
161 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt (+ (+ alpha beta) 2.0))
0.7b
(cbrt (+ (+ alpha beta) 2.0))
0.7b
(cbrt (+ (+ alpha beta) 2.0))
2.1b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
15×cbrt-prod
12×add-sqr-sqrt
distribute-lft-out
add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+
difference-of-squares
sub-neg flip3-- times-frac diff-log flip-- distribute-lft-out--
Counts
4 → 60
Calls
4 calls:
6.0ms
(cbrt (+ (+ alpha beta) 2.0))
5.0ms
(cbrt (+ (+ alpha beta) 2.0))
5.0ms
(cbrt (+ (+ alpha beta) 2.0))
14.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series379.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(cbrt (+ (+ alpha beta) 2.0))
98.0ms
(cbrt (+ (+ alpha beta) 2.0))
100.0ms
(cbrt (+ (+ alpha beta) 2.0))
78.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify74.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0278567
1708537
22658521
35001512

prune245.0ms

Filtered
72 candidates to 56 candidates (77.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New69372
Fresh437
Picked101
Done000
Total74680

Merged error: 2.9b

Counts
80 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ beta (+ (+ alpha beta) 2.0))
0.7b
(exp (log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)))
2.1b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
7.6b
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
72×add-sqr-sqrt
64×times-frac
50×log-prod
37×add-cube-cbrt
25×exp-sum
19×distribute-lft-out--
14×difference-of-squares
12×distribute-lft-out
add-exp-log
pow1 add-cbrt-cube add-log-exp
associate-/r*
exp-prod
div-inv associate-/l*
log-div div-exp rem-log-exp associate-/r/ log-pow
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ exp-diff diff-log clear-num flip-- flip-+ rem-exp-log
Counts
4 → 126
Calls
4 calls:
8.0ms
(/ beta (+ (+ alpha beta) 2.0))
29.0ms
(exp (log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)))
18.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
27.0ms
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

series331.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(/ beta (+ (+ alpha beta) 2.0))
69.0ms
(exp (log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)))
74.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
136.0ms
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
05481697
115941612
250021558

prune287.0ms

Filtered
138 candidates to 95 candidates (68.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1326138
Fresh145
Picked101
Done000
Total13410144

Merged error: 2.9b

Counts
144 → 10

regimes101.0ms

Accuracy

75.8% (3.2b remaining)

Error of 5.9b against oracle of 2.7b and baseline of 16.0b

bsearch57.0ms

Steps
ItersRangePoint
8
141.1477961436799
700452.7431191434
687925.8537243882

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04838
14838

end0.0ms

sample722.0ms

Algorithm
intervals
Results
181.0ms5837×body80valid
143.0ms884×body1280valid
125.0ms8000×pre80true
84.0ms694×body640valid
36.0ms393×body320valid
12.0ms192×body160valid

Profiling

Loading profile data...