Details

Time bar (total: 2.3s)

sample28.0ms

Algorithm
intervals
Results
6.0ms193×body80valid
5.0ms31×body1280valid
4.0ms256×pre80true
3.0ms23×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: 14.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.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)

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

prune109.0ms

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

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New601171
Fresh000
Picked101
Done000
Total611172

Merged error: 14.5b

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

rewrite63.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
(/ beta (+ (+ alpha beta) 2.0))
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
13.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
(/ beta (+ (+ alpha beta) 2.0))
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
11.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify59.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05441336
119101268
250021268

prune215.0ms

Filtered
103 candidates to 149 candidates (-44.7%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1436149
Fresh10010
Picked101
Done000
Total1546160

Merged error: 1.8b

Counts
160 → 6

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ beta (+ (+ alpha beta) 2.0))
0.0b
(/ alpha (+ (+ alpha beta) 2.0))
0.4b
(log (exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))
0.5b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
70×*-un-lft-identity
36×add-sqr-sqrt
32×times-frac
26×add-cube-cbrt
24×distribute-lft-out
10×associate-/r*
add-exp-log add-cbrt-cube
log-pow
exp-prod associate-/l* add-log-exp
pow1 log-prod
associate-/r/ difference-of-squares
cbrt-undiv sub-neg frac-2neg flip3-+ div-exp exp-sum clear-num flip-+ div-inv distribute-lft-out--
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 110
Calls
4 calls:
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
14.0ms
(log (exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))
13.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series37.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0368741
11178696
25001683

prune174.0ms

Filtered
84 candidates to 122 candidates (-45.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1202122
Fresh235
Picked101
Done000
Total1235128

Merged error: 1.8b

Counts
128 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ alpha (+ (+ alpha beta) 2.0))
0.4b
(exp (log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)))
0.5b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
9.9b
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

rewrite85.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
(/ alpha (+ (+ alpha beta) 2.0))
29.0ms
(exp (log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0)))
14.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
30.0ms
(log (/ (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)) 2.0))

series54.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ alpha (+ (+ alpha beta) 2.0))
13.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)
23.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 (33.0ms)

IterNodesCost
05361689
115661612
250021560

prune212.0ms

Filtered
95 candidates to 138 candidates (-45.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1335138
Fresh224
Picked011
Done000
Total1358143

Merged error: 1.8b

Counts
143 → 8

regimes131.0ms

Accuracy

72.9% (3.4b remaining)

Error of 6.3b against oracle of 2.9b and baseline of 15.4b

bsearch23.0ms

Steps
ItersRangePoint
10
1.547095716289681e+27
1.000206659246847e+46
3.5651741745380584e+27

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03324
13324

end0.0ms

sample779.0ms

Algorithm
intervals
Results
185.0ms5899×body80valid
130.0ms8000×pre80true
127.0ms783×body1280valid
86.0ms705×body640valid
37.0ms412×body320valid
12.0ms201×body160valid

Profiling

Loading profile data...