Details

Time bar (total: 6.2s)

sample40.0ms

Algorithm
intervals
Results
14.0ms195×body80valid
6.0ms22×body1280valid
4.0ms256×pre80true
4.0ms18×body640valid
2.0ms12×body320valid
1.0msbody160valid

simplify80.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.4b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite130.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:
26.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
99.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series107.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0335555
11087529
25002525

prune232.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 13.6b

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

rewrite492.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:
307.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
18.0ms
(/ alpha (+ (+ alpha beta) 2.0))
18.0ms
(/ beta (+ (+ alpha beta) 2.0))
121.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series236.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
45.0ms
(/ alpha (+ (+ alpha beta) 2.0))
49.0ms
(/ beta (+ (+ alpha beta) 2.0))
81.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify144.0ms

Algorithm
egg-herbie
Counts
425 → 425
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
09778429
131436259
250026131

prune774.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.6b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ beta (+ (+ alpha beta) 2.0))
0.7b
(exp (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))))
2.5b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
10.9b
(log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

rewrite550.0ms

Algorithm
rewrite-expression-head
Rules
166×*-un-lft-identity
89×add-sqr-sqrt
78×times-frac
74×add-cube-cbrt
63×prod-diff
48×distribute-lft-out
21×fma-neg
14×log-prod
10×associate-/r/
log-div
add-exp-log exp-sum distribute-lft-out--
pow1 add-cbrt-cube add-log-exp difference-of-squares
flip3-- flip3-+ associate-/r* flip-- flip-+ div-inv
expm1-log1p-u exp-prod exp-diff frac-sub log1p-expm1-u
associate-/l*
log-pow
cbrt-undiv sub-neg frac-2neg diff-log div-exp rem-log-exp clear-num rem-exp-log
Counts
4 → 187
Calls
4 calls:
18.0ms
(/ beta (+ (+ alpha beta) 2.0))
172.0ms
(exp (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))))
118.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
230.0ms
(log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ beta (+ (+ alpha beta) 2.0))
63.0ms
(exp (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))))
77.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
124.0ms
(log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

simplify74.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06662336
122361838
250021790

prune444.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.6b

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (pow (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))) 3))
0.7b
(exp (cbrt (pow (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))) 3)))
2.5b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
10.9b
(log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

rewrite370.0ms

Algorithm
rewrite-expression-head
Rules
136×*-un-lft-identity
79×add-sqr-sqrt
69×add-cube-cbrt
63×prod-diff
62×times-frac
36×distribute-lft-out
28×cbrt-prod
21×fma-neg
17×exp-prod
pow1
unpow-prod-down cube-prod associate-/r/
log-prod add-log-exp
add-exp-log log-pow
expm1-log1p-u log-div flip3-+ add-cbrt-cube flip-+ log1p-expm1-u div-inv distribute-lft-out-- difference-of-squares
flip3-- flip--
cube-mult unpow3 frac-sub sqr-pow
sub-neg pow1/3 diff-log rem-log-exp rem-cbrt-cube rem-exp-log
Counts
4 → 175
Calls
4 calls:
2.0ms
(cbrt (pow (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))) 3))
7.0ms
(exp (cbrt (pow (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))) 3)))
119.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
231.0ms
(log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

series389.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(cbrt (pow (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))) 3))
63.0ms
(exp (cbrt (pow (log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))) 3)))
76.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
125.0ms
(log (- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
06182423
121441939
250011902

prune428.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 3.6b

regimes172.0ms

Accuracy

98% (0.3b remaining)

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

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03826
13826

end0.0ms

sample1.1s

Algorithm
intervals
Results
318.0ms5789×body80valid
226.0ms862×body1280valid
160.0ms748×body640valid
132.0ms8000×pre80true
65.0ms398×body320valid
26.0ms203×body160valid