Details

Time bar (total: 6.1s)

sample36.0ms

Algorithm
intervals
Results
10.0ms183×body80valid
6.0ms32×body1280valid
5.0ms256×pre80true
4.0ms26×body640valid
1.0msbody320valid
1.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: 17.2b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite129.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:
25.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
100.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series105.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
60.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

prune206.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 16.4b

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

rewrite487.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:
301.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
19.0ms
(/ beta (+ (+ alpha beta) 2.0))
18.0ms
(/ alpha (+ (+ alpha beta) 2.0))
117.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series223.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
44.0ms
(/ beta (+ (+ alpha beta) 2.0))
47.0ms
(/ alpha (+ (+ alpha beta) 2.0))
72.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify133.0ms

Algorithm
egg-herbie
Counts
425 → 425
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
09778429
131436259
250026131

prune715.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 3.5b

localize17.0ms

Local error

Found 4 expressions with local error:

2.0b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
6.5b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
6.5b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
6.5b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
195×*-un-lft-identity
106×times-frac
93×add-sqr-sqrt
88×add-cube-cbrt
63×cbrt-prod prod-diff distribute-lft-out
21×fma-neg
14×associate-/r/
flip3-+ flip-+ div-inv
add-log-exp
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u
cbrt-div pow1/3
difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 197
Calls
4 calls:
118.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
10.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
10.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
10.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

series513.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
146.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
140.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
148.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

simplify59.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05092277
114471794
250011714

prune510.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 3.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ 1 (sqrt (+ (+ alpha beta) 2.0))) (/ beta (sqrt (+ (+ alpha beta) 2.0))))
0.5b
(/ 1 (sqrt (+ (+ alpha beta) 2.0)))
2.0b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
2.0b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite385.0ms

Algorithm
rewrite-expression-head
Rules
345×*-un-lft-identity
221×add-sqr-sqrt
216×times-frac
165×add-cube-cbrt
126×prod-diff
102×distribute-lft-out
61×sqrt-prod
42×fma-neg
30×add-exp-log associate-*r* associate-*l*
22×associate-/r/
18×add-cbrt-cube
15×unswap-sqr
11×flip3-+ flip-+ div-inv
10×div-exp
pow1 prod-exp associate-/r* add-log-exp
sqrt-div
cbrt-undiv
expm1-log1p-u cbrt-unprod log1p-expm1-u difference-of-squares
rec-exp pow-flip 1-exp associate-/l*
sub-neg flip3-- diff-log flip-- distribute-lft-out--
frac-times frac-2neg sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative inv-pow
Counts
4 → 360
Calls
4 calls:
101.0ms
(* (/ 1 (sqrt (+ (+ alpha beta) 2.0))) (/ beta (sqrt (+ (+ alpha beta) 2.0))))
19.0ms
(/ 1 (sqrt (+ (+ alpha beta) 2.0)))
120.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
121.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series285.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(* (/ 1 (sqrt (+ (+ alpha beta) 2.0))) (/ beta (sqrt (+ (+ alpha beta) 2.0))))
70.0ms
(/ 1 (sqrt (+ (+ alpha beta) 2.0)))
74.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
78.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify108.0ms

Algorithm
egg-herbie
Counts
372 → 372
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
08594332
137593194
250012935

prune667.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 3.5b

regimes129.0ms

Accuracy

76.9% (2.9b remaining)

Error of 5.9b against oracle of 3.0b and baseline of 15.6b

bsearch75.0ms

Steps
ItersRangePoint
9
531.7447489915417
834758988592.4675
818395241689.5887

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04939
14939

end0.0ms

sample972.0ms

Algorithm
intervals
Results
326.0ms5858×body80valid
164.0ms891×body1280valid
157.0ms8000×pre80true
111.0ms687×body640valid
45.0ms376×body320valid
16.0ms188×body160valid