Details

Time bar (total: 11.2s)

sample23.0ms

Algorithm
intervals
Results
4.0ms184×body80valid
3.0ms256×pre80true
3.0ms25×body1280valid
2.0ms22×body640valid
1.0ms15×body320valid
0.0ms10×body160valid

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

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)

rewrite225.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))
173.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series99.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0335555
11087529
25002525

prune205.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 16.1b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite253.0ms

Algorithm
rewrite-expression-head
Rules
151×*-un-lft-identity
76×times-frac
74×add-sqr-sqrt
69×add-cube-cbrt
63×prod-diff
48×distribute-lft-out
21×fma-neg
10×associate-/r/
flip3-+ associate-/r* flip-+ div-inv
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- distribute-lft-out--
Counts
2 → 140
Calls
2 calls:
34.0ms
(/ alpha (+ (+ alpha beta) 2.0))
211.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series118.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04091536
113401086
250011048

prune226.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 2.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (+ (+ alpha beta) 2.0))
0.3b
(/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0)))
0.4b
(/ alpha (sqrt (+ (+ alpha beta) 2.0)))
10.0b
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)

rewrite940.0ms

Algorithm
rewrite-expression-head
Rules
2586×*-un-lft-identity
2218×times-frac
1400×sqrt-prod
1216×add-sqr-sqrt
1189×add-cube-cbrt
837×distribute-lft-out
738×prod-diff
246×fma-neg
96×sqrt-div
94×associate-/r/
48×flip3-+ flip-+
47×div-inv
33×associate-/l*
16×associate-/r*
11×add-exp-log add-cbrt-cube
difference-of-squares
add-log-exp
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u
frac-2neg clear-num
sub-neg rem-sqrt-square flip3-- sqrt-pow1 pow1/2 diff-log flip-- hypot-def associate-/l/ distribute-lft-out--
Counts
4 → 1374
Calls
4 calls:
33.0ms
(sqrt (+ (+ alpha beta) 2.0))
97.0ms
(/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0)))
35.0ms
(/ alpha (sqrt (+ (+ alpha beta) 2.0)))
602.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)

series228.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ (+ alpha beta) 2.0))
42.0ms
(/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0)))
76.0ms
(/ alpha (sqrt (+ (+ alpha beta) 2.0)))
77.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)

simplify233.0ms

Algorithm
egg-herbie
Counts
1386 → 1386
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
0166827794
1500117502

prune1.2s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 2.9b

localize16.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ alpha (sqrt (+ (+ alpha beta) 2.0)))
10.0b
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)
10.0b
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)
10.0b
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)

rewrite2.3s

Algorithm
rewrite-expression-head
Rules
6197×*-un-lft-identity
5238×times-frac
3275×sqrt-prod
3003×add-sqr-sqrt
2931×add-cube-cbrt
2214×prod-diff
1956×distribute-lft-out
738×fma-neg
218×sqrt-div associate-/r/
109×flip3-+ flip-+ div-inv
21×difference-of-squares
10×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
sub-neg flip3-- diff-log flip-- associate-/l* distribute-lft-out--
cbrt-undiv frac-2neg div-exp clear-num
Counts
4 → 3069
Calls
4 calls:
36.0ms
(/ alpha (sqrt (+ (+ alpha beta) 2.0)))
595.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)
604.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)
605.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)

series297.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ alpha (sqrt (+ (+ alpha beta) 2.0)))
68.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)
74.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)
78.0ms
(- (/ (/ alpha (sqrt (+ (+ alpha beta) 2.0))) (sqrt (+ (+ alpha beta) 2.0))) 1.0)

simplify583.0ms

Algorithm
egg-herbie
Counts
3081 → 3081
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
0153967939
1485838930
2500138930

prune3.4s

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 2.9b

regimes72.0ms

Accuracy

76.2% (3.1b remaining)

Error of 6.4b against oracle of 3.2b and baseline of 16.4b

bsearch24.0ms

Steps
ItersRangePoint
3
101403271.01852646
122647865.33979332
121320078.19471414

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04745
14745

end0.0ms

sample612.0ms

Algorithm
intervals
Results
135.0ms5804×body80valid
108.0ms896×body1280valid
82.0ms8000×pre80true
66.0ms696×body640valid
25.0ms376×body320valid
10.0ms228×body160valid