Details

Time bar (total: 4.8s)

sample23.0ms

Algorithm
intervals
Results
5.0ms194×body80valid
3.0ms256×pre80true
3.0ms22×body1280valid
2.0ms16×body640valid
1.0ms15×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.5b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.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:
11.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
22.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)

simplify39.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0335555
11087529
25002525

prune261.0ms

Pruning

17 alts after pruning (17 fresh and 0 done)

Merged error: 13.9b

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

rewrite109.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:
43.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
8.0ms
(/ alpha (+ (+ alpha beta) 2.0))
8.0ms
(/ beta (+ (+ alpha beta) 2.0))
17.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series248.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
46.0ms
(/ alpha (+ (+ alpha beta) 2.0))
52.0ms
(/ beta (+ (+ alpha beta) 2.0))
84.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify144.0ms

Algorithm
egg-herbie
Counts
425 → 425
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
09778429
131436259
250026131

prune965.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 2.3b

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

rewrite44.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:
6.0ms
(cbrt (+ (+ alpha beta) 2.0))
6.0ms
(cbrt (+ (+ alpha beta) 2.0))
6.0ms
(cbrt (+ (+ alpha beta) 2.0))
18.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series376.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(cbrt (+ (+ alpha beta) 2.0))
98.0ms
(cbrt (+ (+ alpha beta) 2.0))
98.0ms
(cbrt (+ (+ alpha beta) 2.0))
80.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04601755
113021290
250011240

prune479.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 2.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt beta)
0.6b
(cbrt beta)
0.6b
(cbrt beta)
2.1b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
126×*-un-lft-identity
69×add-sqr-sqrt
64×add-cube-cbrt
63×prod-diff
61×times-frac
36×distribute-lft-out
21×fma-neg
cbrt-prod
associate-/r/
add-log-exp
pow1 add-exp-log expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u div-inv
pow1/3
difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 140
Calls
4 calls:
1.0ms
(cbrt beta)
2.0ms
(cbrt beta)
1.0ms
(cbrt beta)
20.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series610.0ms

Counts
4 → 12
Calls
4 calls:
177.0ms
(cbrt beta)
174.0ms
(cbrt beta)
179.0ms
(cbrt beta)
79.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify56.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03861443
11119993
25001940

prune314.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.3b

regimes87.0ms

Accuracy

76.4% (3.1b remaining)

Error of 6.2b against oracle of 3.1b and baseline of 16.2b

bsearch49.0ms

Steps
ItersRangePoint
8
13.202733199564877
775728.8687199388
759519.7231227644

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04129
14129

end0.0ms

sample630.0ms

Algorithm
intervals
Results
153.0ms5806×body80valid
112.0ms847×body1280valid
99.0ms8000×pre80true
78.0ms750×body640valid
32.0ms384×body320valid
11.0ms213×body160valid