Details

Time bar (total: 4.3m)

sample25.0ms

Algorithm
intervals
Results
5.0ms182×body80valid
4.0ms32×body1280valid
3.0ms256×pre80true
2.0ms25×body640valid
1.0ms10×body320valid
0.0msbody160valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

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

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

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
64×*-un-lft-identity
27×add-sqr-sqrt
25×times-frac
22×distribute-lft-out
15×add-cube-cbrt
10×add-log-exp
distribute-lft-out-- difference-of-squares
add-exp-log associate-/r* add-cbrt-cube associate-/l*
sum-log
pow1 +-commutative flip3-+ flip-+
associate-+l+ div-sub associate-/r/ associate-/l/
cbrt-undiv associate-+l- flip3-- frac-2neg div-exp clear-num flip-- div-inv
Counts
3 → 81
Calls
3 calls:
6.0ms
(+ (+ alpha beta) 2.0)
14.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
21.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

series116.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (+ alpha beta) 2.0)
48.0ms
(/ (- beta alpha) (+ (+ alpha beta) 2.0))
56.0ms
(+ (/ (- beta alpha) (+ (+ alpha beta) 2.0)) 1.0)

simplify41.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0354601
11199571
25002567

prune187.0ms

Filtered
90 candidates to 59 candidates (65.6%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New771390
Fresh000
Picked101
Done000
Total781391

Merged error: 16.6b

Counts
91 → 13

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
85×*-un-lft-identity
38×add-sqr-sqrt
32×times-frac
30×distribute-lft-out
28×add-cube-cbrt
22×frac-sub
20×associate-/r*
13×flip3-- flip--
12×associate-/l*
11×add-log-exp
add-exp-log add-cbrt-cube
pow1 frac-2neg diff-log clear-num associate-/r/ distribute-lft-out-- difference-of-squares
sub-neg
cbrt-undiv flip3-+ div-exp flip-+ div-inv associate--r+
associate--r-
Counts
4 → 131
Calls
4 calls:
8.0ms
(/ beta (+ (+ alpha beta) 2.0))
10.0ms
(/ alpha (+ (+ alpha beta) 2.0))
31.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
15.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

series237.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(/ beta (+ (+ alpha beta) 2.0))
55.0ms
(/ alpha (+ (+ alpha beta) 2.0))
57.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ (+ alpha beta) 2.0)) 1.0))
79.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)

simplify96.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07481633
134821592
250011592

prune354.0ms

Filtered
143 candidates to 96 candidates (67.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1358143
Fresh12012
Picked101
Done000
Total1488156

Merged error: 2.7b

Counts
156 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

2.4b
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
7.3b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
7.3b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
7.3b
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
63×cbrt-prod
46×times-frac
42×add-sqr-sqrt
37×add-cube-cbrt
36×distribute-lft-out
33×cbrt-div
15×associate-/r*
associate-/l*
associate-/r/ add-log-exp
pow1 add-exp-log add-cbrt-cube
frac-2neg flip3-+ pow1/3 clear-num flip-+ div-inv
difference-of-squares
sub-neg flip3-- diff-log flip-- distribute-lft-out--
Counts
4 → 135
Calls
4 calls:
15.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
9.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
8.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
8.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

series528.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(- (/ alpha (+ (+ alpha beta) 2.0)) 1.0)
152.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
146.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))
142.0ms
(cbrt (/ beta (+ (+ alpha beta) 2.0)))

simplify173.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
03541257
19851209
245441172
350021154

prune463.0ms

Filtered
147 candidates to 104 candidates (70.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1434147
Fresh347
Picked101
Done000
Total1478155

Merged error: 2.7b

Counts
155 → 8

localize31.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ beta (sqrt (+ (+ alpha beta) 2.0))) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0))))
0.1b
(/ (- (* (/ beta (sqrt (+ (+ alpha beta) 2.0))) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))) (* (sqrt (+ (+ alpha beta) 2.0)) (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)))) (* (+ (* 1.0 (+ 1.0 (/ alpha (+ (+ alpha beta) 2.0)))) (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))) (sqrt (+ (+ alpha beta) 2.0))))
0.4b
(/ beta (sqrt (+ (+ alpha beta) 2.0)))
2.4b
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

rewrite16.8s

Algorithm
rewrite-expression-head
Rules
88348×frac-times
68401×*-un-lft-identity
54246×associate-/r*
40020×frac-add
35154×associate-/l/
35152×frac-sub
33625×flip3-+ flip-+
28081×associate-/l*
27962×distribute-lft-out
26954×sqrt-div
22514×add-sqr-sqrt
21299×add-cube-cbrt
15324×associate-*r/
13502×sqrt-prod
13184×flip3-- flip--
12242×associate-*l/
9539×clear-num
9263×frac-2neg
882×associate-/r/
614×times-frac
552×un-div-inv
434×unswap-sqr
355×associate-*l*
300×difference-of-squares
173×associate-*r*
97×distribute-lft-out--
21×*-commutative
18×unpow-prod-down cube-prod
16×add-exp-log add-cbrt-cube
10×sqr-pow
pow1 distribute-rgt-in distribute-lft-in add-log-exp
div-sub
difference-cubes cbrt-undiv +-commutative pow-unpow associate-+r+ div-exp associate--r+
sub-neg prod-exp cbrt-unprod div-inv
diff-log pow-prod-down
Counts
4 → 41065
Calls
4 calls:
294.0ms
(* (/ beta (sqrt (+ (+ alpha beta) 2.0))) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0))))
5.2s
(/ (- (* (/ beta (sqrt (+ (+ alpha beta) 2.0))) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))) (* (sqrt (+ (+ alpha beta) 2.0)) (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)))) (* (+ (* 1.0 (+ 1.0 (/ alpha (+ (+ alpha beta) 2.0)))) (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))) (sqrt (+ (+ alpha beta) 2.0))))
9.0ms
(/ beta (sqrt (+ (+ alpha beta) 2.0)))
49.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

series935.0ms

Counts
4 → 12
Calls
4 calls:
202.0ms
(* (/ beta (sqrt (+ (+ alpha beta) 2.0))) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0))))
547.0ms
(/ (- (* (/ beta (sqrt (+ (+ alpha beta) 2.0))) (+ (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0))) (+ (* 1.0 1.0) (* (/ alpha (+ (+ alpha beta) 2.0)) 1.0)))) (* (sqrt (+ (+ alpha beta) 2.0)) (- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3)))) (* (+ (* 1.0 (+ 1.0 (/ alpha (+ (+ alpha beta) 2.0)))) (* (/ alpha (+ (+ alpha beta) 2.0)) (/ alpha (+ (+ alpha beta) 2.0)))) (sqrt (+ (+ alpha beta) 2.0))))
77.0ms
(/ beta (sqrt (+ (+ alpha beta) 2.0)))
107.0ms
(- (pow (/ alpha (+ (+ alpha beta) 2.0)) 3) (pow 1.0 3))

simplify22.2s

Algorithm
egg-herbie
Counts
41077 → 41077
Iterations

Useful iterations: 0 (315.0ms)

IterNodesCost
0220232430335

prune3.6m

Filtered
41077 candidates to 17094 candidates (41.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New41072541077
Fresh257
Picked101
Done000
Total410751041085

Merged error: 2.7b

Counts
41085 → 10

regimes146.0ms

Accuracy

75.3% (3.2b remaining)

Error of 6.1b against oracle of 2.9b and baseline of 15.9b

bsearch36.0ms

Steps
ItersRangePoint
5
6117620759736144.0
16816149477681434.0
15329950251265012.0

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04126
14126

end0.0ms

sample632.0ms

Algorithm
intervals
Results
154.0ms5840×body80valid
119.0ms882×body1280valid
103.0ms8000×pre80true
69.0ms680×body640valid
29.0ms379×body320valid
11.0ms219×body160valid