Details

Time bar (total: 4.2s)

sample27.0ms

Algorithm
intervals
Results
5.0ms185×body80valid
4.0ms256×pre80true
4.0ms29×body1280valid
2.0ms19×body640valid
1.0ms14×body320valid
1.0msbody160valid

simplify78.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 16.7b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite38.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:
14.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
20.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series105.0ms

Counts
2 → 6
Calls
2 calls:
48.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 (29.0ms)

IterNodesCost
0335555
11087529
25002525

prune194.0ms

Filtered
106 candidates to 68 candidates (64.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9214106
Fresh000
Picked101
Done000
Total9314107

Merged error: 16.0b

Counts
107 → 14

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

rewrite106.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:
36.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
12.0ms
(/ beta (+ (+ alpha beta) 2.0))
8.0ms
(/ alpha (+ (+ alpha beta) 2.0))
16.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series230.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
49.0ms
(/ beta (+ (+ alpha beta) 2.0))
50.0ms
(/ alpha (+ (+ alpha beta) 2.0))
73.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify146.0ms

Algorithm
egg-herbie
Counts
425 → 425
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
09778429
131436259
250026131

prune613.0ms

Filtered
425 candidates to 199 candidates (46.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New4169425
Fresh11213
Picked101
Done000
Total42811439

Merged error: 2.6b

Counts
439 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ beta (+ (+ alpha beta) 2.0))
0.0b
(/ alpha (+ (+ alpha beta) 2.0))
2.2b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
2.2b
(log (exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
280×*-un-lft-identity
141×add-sqr-sqrt
137×times-frac
131×add-cube-cbrt
126×prod-diff
87×distribute-lft-out
68×log-prod
65×exp-sum
21×fma-neg
18×associate-/r/
10×associate-/r*
flip3-+ flip-+ div-inv
add-exp-log add-cbrt-cube
log-pow
exp-prod associate-/l* add-log-exp
pow1
expm1-log1p-u log1p-expm1-u difference-of-squares
cbrt-undiv sub-neg frac-2neg div-exp clear-num distribute-lft-out--
log-div flip3-- exp-diff diff-log rem-log-exp flip--
Counts
4 → 265
Calls
4 calls:
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
8.0ms
(/ alpha (+ (+ alpha beta) 2.0))
16.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
20.0ms
(log (exp (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))

series253.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
277 → 277
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
06323075
118642160
250021838

prune377.0ms

Filtered
277 candidates to 126 candidates (45.5%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2761277
Fresh01010
Picked101
Done000
Total27711288

Merged error: 2.6b

Counts
288 → 11

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ alpha (+ (+ alpha beta) 2.0))
0.0b
(/ (- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
0.1b
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
2.2b
(- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
234×*-un-lft-identity
131×times-frac
89×distribute-lft-out
84×add-sqr-sqrt
72×add-cube-cbrt
39×swap-sqr
21×associate-*r* associate-*l*
20×add-exp-log add-cbrt-cube
12×associate-/r/
11×pow1
associate-/r*
associate-/l*
cbrt-undiv flip3-+ div-exp flip-+ div-inv add-log-exp difference-of-squares
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u unswap-sqr
flip3-- frac-2neg clear-num flip-- associate-/l/
pow2 frac-times sub-neg pow-plus fma-neg diff-log div-sub associate-*r/ prod-diff pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up
Counts
4 → 210
Calls
4 calls:
8.0ms
(/ alpha (+ (+ alpha beta) 2.0))
32.0ms
(/ (- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
24.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
18.0ms
(- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0))

series329.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ alpha (+ (+ alpha beta) 2.0))
133.0ms
(/ (- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
56.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
92.0ms
(- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0))

simplify123.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 2 (98.0ms)

IterNodesCost
07902498
140192269
250022219

prune387.0ms

Filtered
222 candidates to 135 candidates (60.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New2202222
Fresh1910
Picked101
Done000
Total22211233

Merged error: 2.6b

Counts
233 → 11

regimes116.0ms

Accuracy

77.1% (2.8b remaining)

Error of 5.6b against oracle of 2.7b and baseline of 15.2b

bsearch54.0ms

Steps
ItersRangePoint
9
1764672.720573475
49271540691113.9
43326542873974.99

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03520
13520

end0.0ms

sample707.0ms

Algorithm
intervals
Results
186.0ms5918×body80valid
127.0ms8000×pre80true
119.0ms808×body1280valid
81.0ms709×body640valid
34.0ms363×body320valid
12.0ms202×body160valid