Details

Time bar (total: 4.3s)

sample22.0ms

Algorithm
intervals
Results
5.0ms194×body80valid
4.0ms31×body1280valid
3.0ms256×pre80true
2.0ms20×body640valid
1.0msbody320valid
0.0msbody160valid

simplify82.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0206
1346
2526
3736
41236
51846
62506
72876
83496
94376
105746
116546
127126
137856
1410756
1511506
1611936
1712136
1812216
1912216

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: 14.7b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
104×*-un-lft-identity
50×times-frac
47×add-sqr-sqrt
34×distribute-lft-out
31×fma-def
25×add-cube-cbrt
11×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log associate-/r/ add-cbrt-cube add-log-exp
flip3-+ flip-+
pow1 expm1-log1p-u div-sub log1p-expm1-u div-inv associate-/l/
cbrt-undiv +-commutative associate-+l- flip3-- frac-2neg div-exp clear-num sum-log flip--
Counts
2 → 100
Calls
2 calls:
10.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
24.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series112.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0329555
11066529
25002525

prune169.0ms

Filtered
106 candidates to 68 candidates (64.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New9412106
Fresh000
Picked101
Done000
Total9512107

Merged error: 14.1b

Counts
107 → 12

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
526×*-un-lft-identity
332×add-sqr-sqrt
263×times-frac
252×prod-diff
217×add-cube-cbrt
156×distribute-lft-out
65×associate--r+
46×difference-of-squares
42×fma-neg
32×associate-/r/
25×distribute-lft-out--
22×frac-sub
20×associate-/r*
16×flip3-+ flip-+ div-inv
13×flip3-- flip--
12×associate-/l*
11×add-log-exp
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u frac-2neg diff-log clear-num log1p-expm1-u
sub-neg
cbrt-undiv div-exp
associate--r-
Counts
4 → 433
Calls
4 calls:
40.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
16.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series240.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
49.0ms
(/ alpha (+ (+ alpha beta) 2.0))
47.0ms
(/ beta (+ (+ alpha beta) 2.0))
80.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify108.0ms

Algorithm
egg-herbie
Counts
445 → 445
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012799130
150016953

prune660.0ms

Filtered
445 candidates to 218 candidates (49.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4405445
Fresh9211
Picked101
Done000
Total4507457

Merged error: 3.1b

Counts
457 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(cbrt (+ (+ alpha beta) 2.0))
0.8b
(cbrt (+ (+ alpha beta) 2.0))
0.8b
(cbrt (+ (+ alpha beta) 2.0))
1.3b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
141×*-un-lft-identity
69×add-sqr-sqrt
64×add-cube-cbrt
63×prod-diff
61×times-frac
45×distribute-lft-out
21×fma-neg
15×cbrt-prod
associate-/r/
flip3-+ flip-+
cbrt-div add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u div-inv
pow1/3
difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 152
Calls
4 calls:
5.0ms
(cbrt (+ (+ alpha beta) 2.0))
8.0ms
(cbrt (+ (+ alpha beta) 2.0))
5.0ms
(cbrt (+ (+ alpha beta) 2.0))
17.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series385.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(cbrt (+ (+ alpha beta) 2.0))
101.0ms
(cbrt (+ (+ alpha beta) 2.0))
100.0ms
(cbrt (+ (+ alpha beta) 2.0))
82.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify61.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04531755
112461290
250011243

prune349.0ms

Filtered
164 candidates to 92 candidates (56.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1622164
Fresh156
Picked101
Done000
Total1647171

Merged error: 3.1b

Counts
171 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

1.3b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
5.7b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
5.7b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
5.7b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
216×*-un-lft-identity
106×times-frac
99×add-sqr-sqrt
94×add-cube-cbrt
72×distribute-lft-out
63×cbrt-prod prod-diff
33×cbrt-div
21×fma-neg
15×associate-/r*
14×associate-/r/
associate-/l*
flip3-+ flip-+ div-inv
add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
frac-2neg pow1/3 clear-num
difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 227
Calls
4 calls:
16.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
8.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
7.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
8.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

series545.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
153.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
151.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
157.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
239 → 239
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05232457
114841974
250011903

prune475.0ms

Filtered
239 candidates to 141 candidates (59.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2363239
Fresh066
Picked101
Done000
Total2379246

Merged error: 3.1b

Counts
246 → 9

regimes142.0ms

Accuracy

97.9% (0.3b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03826
13826

end0.0ms

sample595.0ms

Algorithm
intervals
Results
151.0ms5823×body80valid
104.0ms885×body1280valid
93.0ms8000×pre80true
69.0ms718×body640valid
26.0ms369×body320valid
10.0ms205×body160valid