Details

Time bar (total: 3.4s)

sample38.0ms

Algorithm
intervals
Results
11.0ms256×pre80true
6.0ms190×body80valid
4.0ms23×body1280valid
3.0ms25×body640valid
1.0ms11×body320valid
0.0msbody160valid

simplify74.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0206
1346
2526
3736
41236
51726
62246
72616
83236
94116
105326
116126
126546
136976
149226
159806
1610076
1710276
1810356
1910356

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.4b

Counts
2 → 1

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)

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
26×add-sqr-sqrt
25×times-frac
19×distribute-lft-out
14×add-cube-cbrt
distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube add-log-exp
pow1 flip3-+ div-sub associate-/r/ flip-+ associate-/l/
cbrt-undiv +-commutative associate-+l- flip3-- frac-2neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 65
Calls
2 calls:
10.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
18.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series21.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0320535
11022510
25001502

prune120.0ms

Filtered
71 candidates to 46 candidates (35.2%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New581371
Fresh000
Picked101
Done000
Total591372

Merged error: 14.7b

Counts
72 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
71×*-un-lft-identity
34×add-sqr-sqrt
32×times-frac
24×add-cube-cbrt distribute-lft-out
11×add-log-exp
10×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 diff-log associate-/r/ distribute-lft-out-- difference-of-squares
sub-neg flip3-- flip--
cbrt-undiv frac-2neg flip3-+ div-exp clear-num frac-sub flip-+ div-inv associate--r+
associate--r-
Counts
4 → 111
Calls
4 calls:
7.0ms
(/ alpha (+ (+ alpha beta) 2.0))
29.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
13.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series35.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ alpha (+ (+ alpha beta) 2.0))
11.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
6.0ms
(/ beta (+ (+ alpha beta) 2.0))
11.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify49.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0450903
11596871
25002859

prune192.0ms

Filtered
123 candidates to 84 candidates (31.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1167123
Fresh10212
Picked101
Done000
Total1279136

Merged error: 2.9b

Counts
136 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite97.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
prod-exp cbrt-unprod unswap-sqr
flip3-- frac-2neg clear-num flip-- associate-/l/
pow2 frac-times sub-neg pow-plus diff-log div-sub associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up
Counts
4 → 200
Calls
4 calls:
32.0ms
(/ (- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
8.0ms
(/ beta (+ (+ alpha beta) 2.0))
28.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
17.0ms
(- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0))

series59.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0)) (+ (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
6.0ms
(/ beta (+ (+ alpha beta) 2.0))
10.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
20.0ms
(- (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* 1.0 1.0))

simplify125.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
08252427
140522191
250022151

prune356.0ms

Filtered
212 candidates to 125 candidates (41.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2093212
Fresh268
Picked101
Done000
Total2129221

Merged error: 2.9b

Counts
221 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
364×*-un-lft-identity
200×times-frac
158×add-exp-log add-cbrt-cube
144×distribute-lft-out
129×pow1
124×add-sqr-sqrt
100×add-cube-cbrt
79×swap-sqr
73×prod-exp cbrt-unprod
48×cbrt-undiv div-exp
43×associate-*r* associate-*l*
38×pow-prod-up
25×pow-prod-down
24×pow-sqr
20×pow-plus
19×frac-times
16×associate-/r/
15×pow2
13×associate-*r/ associate-*l/
unswap-sqr
flip3-+ flip-+ div-inv
add-log-exp
*-commutative
sub-neg flip3-- diff-log flip-- difference-of-squares
Counts
4 → 351
Calls
4 calls:
25.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
28.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
38.0ms
(* (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))))
38.0ms
(- (* (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))) (* (* 1.0 1.0) (* 1.0 1.0)))

series58.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
10.0ms
(* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))
14.0ms
(* (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))))
24.0ms
(- (* (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))) (* (* 1.0 1.0) (* 1.0 1.0)))

simplify127.0ms

Algorithm
egg-herbie
Counts
363 → 363
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08943946
140532836
250012727

prune629.0ms

Filtered
363 candidates to 141 candidates (61.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New3621363
Fresh088
Picked101
Done000
Total3639372

Merged error: 2.9b

Counts
372 → 9

regimes281.0ms

Accuracy

97.9% (0.3b remaining)

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

bsearch1.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03926
14026
24226
34226

end0.0ms

sample846.0ms

Algorithm
intervals
Results
200.0ms5852×body80valid
135.0ms8000×pre80true
133.0ms826×body1280valid
99.0ms722×body640valid
39.0ms408×body320valid
12.0ms192×body160valid

Profiling

Loading profile data...