Details

Time bar (total: 2.5s)

sample27.0ms

Algorithm
intervals
Results
6.0ms197×body80valid
4.0ms256×pre80true
2.0ms16×body1280valid
2.0ms20×body640valid
1.0ms15×body320valid
0.0msbody160valid

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

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.0b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite31.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:
13.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
16.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))
12.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

simplify35.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0320535
11022510
25001502

prune111.0ms

Filtered
71 candidates to 46 candidates (35.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New601171
Fresh000
Picked101
Done000
Total611172

Merged error: 13.0b

Counts
72 → 11

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.5b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite59.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:
28.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))
12.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series37.0ms

Counts
4 → 12
Calls
4 calls:
13.0ms
(/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)
6.0ms
(/ alpha (+ (+ alpha beta) 2.0))
6.0ms
(/ beta (+ (+ alpha beta) 2.0))
11.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify61.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05441336
119101268
250021268

prune234.0ms

Filtered
149 candidates to 103 candidates (30.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1418149
Fresh9110
Picked101
Done000
Total1519160

Merged error: 4.3b

Counts
160 → 9

localize17.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.5b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite30.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:
5.0ms
(cbrt (+ (+ alpha beta) 2.0))
7.0ms
(cbrt (+ (+ alpha beta) 2.0))
5.0ms
(cbrt (+ (+ alpha beta) 2.0))
12.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series62.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0278606
1720576
22734500
35001491

prune181.0ms

Filtered
72 candidates to 53 candidates (26.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh358
Picked101
Done000
Total72981

Merged error: 4.3b

Counts
81 → 9

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.5b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
5.7b
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

rewrite78.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:
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
28.0ms
(exp (log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)))
12.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
25.0ms
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

series54.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
17.0ms
(exp (log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)))
11.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
19.0ms
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
05481697
115941612
250021558

prune223.0ms

Filtered
138 candidates to 95 candidates (31.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1308138
Fresh538
Picked101
Done000
Total13611147

Merged error: 4.3b

Counts
147 → 11

regimes250.0ms

Accuracy

98.8% (0.2b remaining)

Error of 3.1b against oracle of 3.0b and baseline of 15.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04530
14530

end0.0ms

sample785.0ms

Algorithm
intervals
Results
183.0ms5887×body80valid
129.0ms839×body1280valid
122.0ms8000×pre80true
86.0ms687×body640valid
35.0ms386×body320valid
12.0ms201×body160valid

Profiling

Loading profile data...