Details

Time bar (total: 5.8s)

sample24.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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

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

rewrite219.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:
46.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:
46.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
66.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

simplify36.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0335555
11087529
25002525

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

rewrite808.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:
510.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
34.0ms
(/ alpha (+ (+ alpha beta) 2.0))
33.0ms
(/ beta (+ (+ alpha beta) 2.0))
205.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series245.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
45.0ms
(/ alpha (+ (+ alpha beta) 2.0))
51.0ms
(/ beta (+ (+ alpha beta) 2.0))
84.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify125.0ms

Algorithm
egg-herbie
Counts
425 → 425
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
09778429
131436259
250026131

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

rewrite355.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:
34.0ms
(/ alpha (+ (+ alpha beta) 2.0))
66.0ms
(/ (+ (+ alpha beta) 2.0) beta)
39.0ms
(/ 1 (/ (+ (+ alpha beta) 2.0) beta))
203.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series215.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ alpha (+ (+ alpha beta) 2.0))
23.0ms
(/ (+ (+ alpha beta) 2.0) beta)
65.0ms
(/ 1 (/ (+ (+ alpha beta) 2.0) beta))
80.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify89.0ms

Algorithm
egg-herbie
Counts
293 → 293
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07392640
130312069
250011937

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

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

series377.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04601755
113021290
250011240

prune568.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.2b

regimes85.0ms

Accuracy

74.8% (3.2b remaining)

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

bsearch66.0ms

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

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03926
13926

end0.0ms

sample618.0ms

Algorithm
intervals
Results
141.0ms5914×body80valid
96.0ms827×body1280valid
93.0ms8000×pre80true
68.0ms706×body640valid
27.0ms388×body320valid
8.0ms165×body160valid