Details

Time bar (total: 3.4s)

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%56.2%43.8%0
0%56.2%43.8%1
28.1%28.1%43.8%2
56.2%0%43.8%3

sample43.0ms

Algorithm
intervals
Results
6.0ms185×body80valid
5.0ms30×body1280valid
3.0ms24×body640valid
1.0ms13×body320valid
0.0msbody160valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
0500213

prune5.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series19.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
053701005

prune134.0ms

Filtered
48 candidates to 71 candidates (-47.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New581371
Fresh000
Picked101
Done000
Total591372

Merged error: 16.1b

Counts
72 → 13

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.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 → 108
Calls
4 calls:
7.0ms
(/ beta (+ (+ alpha beta) 2.0))
7.0ms
(/ alpha (+ beta (+ alpha 2.0)))
25.0ms
(- (/ beta (+ (+ alpha beta) 2.0)) (- (/ alpha (+ beta (+ alpha 2.0))) 1.0))
15.0ms
(- (/ alpha (+ beta (+ alpha 2.0))) 1.0)

series39.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
060161670

prune195.0ms

Filtered
88 candidates to 120 candidates (-36.4%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1137120
Fresh12012
Picked101
Done000
Total1267133

Merged error: 2.6b

Counts
133 → 7

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (/ alpha (+ alpha (+ beta 2.0))) 3)
0.1b
(/ (- (* beta (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0)))) (* (+ alpha (+ beta 2.0)) (- (pow (/ alpha (+ alpha (+ beta 2.0))) 3) (pow 1.0 3)))) (* (+ alpha (+ beta 2.0)) (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0)))))
0.1b
(* beta (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0))))
16.7b
(- (pow (/ alpha (+ alpha (+ beta 2.0))) 3) (pow 1.0 3))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
75×add-sqr-sqrt
67×*-un-lft-identity
41×times-frac
39×unpow-prod-down cube-prod
27×add-cube-cbrt
24×associate-*r/ difference-of-squares
23×flip3-+ flip-+
18×associate-/l/ distribute-lft-out
16×frac-sub
14×add-exp-log add-cbrt-cube
12×frac-times associate-/r/
11×sqr-pow
flip3-- flip--
pow1
associate-*l/ add-log-exp
distribute-lft-out--
cbrt-undiv pow-unpow div-exp associate-*r* associate-*l* div-inv associate-/l*
pow-exp prod-exp cbrt-unprod rem-cube-cbrt
difference-cubes cube-div distribute-rgt-in cube-mult pow-to-exp sub-neg pow-pow frac-2neg distribute-lft-in diff-log unpow3 div-sub pow-prod-down clear-num associate-/r* *-commutative unswap-sqr
Counts
4 → 173
Calls
4 calls:
9.0ms
(pow (/ alpha (+ alpha (+ beta 2.0))) 3)
22.0ms
(/ (- (* beta (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0)))) (* (+ alpha (+ beta 2.0)) (- (pow (/ alpha (+ alpha (+ beta 2.0))) 3) (pow 1.0 3)))) (* (+ alpha (+ beta 2.0)) (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0)))))
7.0ms
(* beta (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0))))
39.0ms
(- (pow (/ alpha (+ alpha (+ beta 2.0))) 3) (pow 1.0 3))

series163.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(pow (/ alpha (+ alpha (+ beta 2.0))) 3)
91.0ms
(/ (- (* beta (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0)))) (* (+ alpha (+ beta 2.0)) (- (pow (/ alpha (+ alpha (+ beta 2.0))) 3) (pow 1.0 3)))) (* (+ alpha (+ beta 2.0)) (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0)))))
40.0ms
(* beta (+ (* 1.0 1.0) (* (/ alpha (+ alpha (+ beta 2.0))) (+ (/ alpha (+ alpha (+ beta 2.0))) 1.0))))
20.0ms
(- (pow (/ alpha (+ alpha (+ beta 2.0))) 3) (pow 1.0 3))

simplify56.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
052606031

prune858.0ms

Filtered
118 candidates to 185 candidates (-56.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1805185
Fresh156
Picked101
Done000
Total18210192

Merged error: 2.6b

Counts
192 → 10

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
15×cbrt-prod
12×add-sqr-sqrt
distribute-lft-out
add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+
difference-of-squares
sub-neg flip3-- times-frac diff-log flip-- distribute-lft-out--
Counts
4 → 59
Calls
4 calls:
5.0ms
(cbrt (+ alpha (+ beta 2.0)))
5.0ms
(cbrt (+ alpha (+ beta 2.0)))
5.0ms
(cbrt (+ alpha (+ beta 2.0)))
12.0ms
(- (/ alpha (+ beta (+ alpha 2.0))) 1.0)

series64.0ms

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

simplify29.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
05240838

prune156.0ms

Filtered
57 candidates to 71 candidates (-24.6%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New69271
Fresh189
Picked101
Done000
Total711081

Merged error: 2.6b

Counts
81 → 10

regimes164.0ms

Accuracy

77.6% (3.0b remaining)

Error of 6.2b against oracle of 3.2b and baseline of 16.7b

bsearch21.0ms

Steps
ItersRangePoint
8
4.436249952446616e+24
2.0996487308030442e+28
4.4939821187056533e+24

simplify6.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
028650
128650

end0.0ms

sample1.0s

Algorithm
intervals
Results
174.0ms5781×body80valid
130.0ms854×body1280valid
96.0ms804×body640valid
33.0ms360×body320valid
12.0ms201×body160valid

Profiling

Loading profile data...