Details

Time bar (total: 5.8s)

sample26.0ms

Algorithm
intervals
Results
5.0ms194×body80valid
3.0ms26×body1280valid
3.0ms256×pre80true
2.0ms22×body640valid
1.0ms11×body320valid
0.0msbody160valid

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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 14.6b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite221.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:
47.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
169.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)

simplify41.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0335555
11087529
25002525

prune209.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 14.0b

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

rewrite814.0ms

Algorithm
rewrite-expression-head
Rules
512×*-un-lft-identity
328×add-sqr-sqrt
263×times-frac
252×prod-diff
213×add-cube-cbrt
150×distribute-lft-out
65×associate--r+
46×difference-of-squares
42×fma-neg
32×associate-/r/
25×distribute-lft-out--
16×flip3-+ flip-+ div-inv
11×add-log-exp
10×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u diff-log log1p-expm1-u
sub-neg flip3-- flip--
cbrt-undiv frac-2neg div-exp clear-num frac-sub
associate--r-
Counts
4 → 413
Calls
4 calls:
509.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
33.0ms
(/ alpha (+ (+ alpha beta) 2.0))
35.0ms
(/ beta (+ (+ alpha beta) 2.0))
204.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series236.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
48.0ms
(/ alpha (+ (+ alpha beta) 2.0))
47.0ms
(/ beta (+ (+ alpha beta) 2.0))
79.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify137.0ms

Algorithm
egg-herbie
Counts
425 → 425
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09778429
131436259
250026131

prune733.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ alpha (+ (+ alpha beta) 2.0))
0.0b
(/ (+ (+ alpha beta) 2.0) beta)
0.2b
(/ 1 (/ (+ (+ alpha beta) 2.0) beta))
0.9b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite360.0ms

Algorithm
rewrite-expression-head
Rules
299×*-un-lft-identity
208×times-frac
142×add-sqr-sqrt
137×add-cube-cbrt
96×distribute-lft-out
63×prod-diff
27×associate-/r*
21×fma-neg
19×add-exp-log
13×add-cbrt-cube
11×associate-/r/ div-inv associate-/l*
div-exp
flip3-+ flip-+ add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u
frac-2neg clear-num
rec-exp 1-exp associate-/l/ difference-of-squares
sub-neg flip3-- pow-flip diff-log flip-- distribute-lft-out-- inv-pow
Counts
4 → 281
Calls
4 calls:
33.0ms
(/ alpha (+ (+ alpha beta) 2.0))
67.0ms
(/ (+ (+ alpha beta) 2.0) beta)
39.0ms
(/ 1 (/ (+ (+ alpha beta) 2.0) beta))
205.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series224.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ alpha (+ (+ alpha beta) 2.0))
24.0ms
(/ (+ (+ alpha beta) 2.0) beta)
66.0ms
(/ 1 (/ (+ (+ alpha beta) 2.0) beta))
81.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify88.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07392640
130312069
250011937

prune437.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.2b

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

rewrite263.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:
16.0ms
(cbrt (+ (+ alpha beta) 2.0))
15.0ms
(cbrt (+ (+ alpha beta) 2.0))
16.0ms
(cbrt (+ (+ alpha beta) 2.0))
206.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series389.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(cbrt (+ (+ alpha beta) 2.0))
101.0ms
(cbrt (+ (+ alpha beta) 2.0))
101.0ms
(cbrt (+ (+ alpha beta) 2.0))
83.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify55.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04601755
113021290
250011240

prune420.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.2b

regimes93.0ms

Accuracy

74.7% (3.2b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
11
3.669661330004138e+21
6.673094605812698e+44
1.2902038073279444e+24

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04439
14439

end0.0ms

sample701.0ms

Algorithm
intervals
Results
155.0ms5914×body80valid
106.0ms827×body1280valid
104.0ms8000×pre80true
77.0ms706×body640valid
30.0ms388×body320valid
8.0ms165×body160valid