Details

Time bar (total: 1.5min)

sample196.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 43.768318%

Space saved by search: 43.768318%

Guaranteed chance to sample good point: 98.831177%

Results
16.0ms256×body80valid
4.0ms256×pre80true

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03317
111417
256317
3416417
4500217

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 3.8b

Counts
2 → 1

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
804×times-frac
584×*-un-lft-identity
340×add-sqr-sqrt add-cube-cbrt
122×distribute-lft-out
82×associate-/l*
54×associate-/r/
29×flip3-+ flip-+
27×div-inv
20×add-exp-log add-cbrt-cube
10×cbrt-undiv div-exp associate-/r*
add-log-exp
pow1 associate-/l/
frac-2neg clear-num sum-log
+-commutative associate-+l+
Counts
4 → 463
Calls
4 calls:
6.0ms
(+ (+ alpha beta) (* beta alpha))
20.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
37.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (+ alpha beta) (* beta alpha))
25.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
22.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
12.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify136.0ms

Algorithm
egg-herbie
Counts
475 → 475
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
0151213008
1500112540

prune1.4s

Filtered
280 candidates to 475 candidates (-69.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New4687475
Fresh000
Picked101
Done000
Total4697476

Merged error: 0.9b

Counts
476 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
0.1b
(/ (/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
0.6b
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
3.6b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite986.0ms

Algorithm
rewrite-expression-head
Rules
12636×times-frac
7880×*-un-lft-identity
4760×add-sqr-sqrt add-cube-cbrt
3872×sqrt-prod
1560×distribute-lft-out
544×associate-/r/
508×associate-/l*
273×flip3-+ flip-+
272×div-inv
34×add-exp-log add-cbrt-cube
20×cbrt-undiv sqrt-div div-exp associate-/r*
associate-/l/
pow1 frac-2neg clear-num add-log-exp
Counts
4 → 4069
Calls
4 calls:
20.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
163.0ms
(/ (/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
43.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
23.0ms
(/ (/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
24.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))) (sqrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
13.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify1.6s

Algorithm
egg-herbie
Counts
4081 → 4081
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05001188001

prune1.4min

Filtered
1845 candidates to 4081 candidates (-121.2%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New408014081
Fresh156
Picked011
Done000
Total408174088

Merged error: 0.9b

Counts
4088 → 7

localize20.0ms

Local error

Found 4 expressions with local error:

2.1b
(/ (* (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))) (cbrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
3.9b
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
3.9b
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
3.9b
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
20×cbrt-prod cbrt-div
11×add-sqr-sqrt add-cube-cbrt
10×flip3-+ flip-+
add-exp-log
associate-/l/
times-frac associate-/r*
add-cbrt-cube distribute-lft-out
pow1 frac-times add-log-exp
pow1/3
cbrt-undiv associate-*r/ div-exp associate-*l/ associate-/r/
frac-2neg prod-exp clear-num cbrt-unprod div-inv associate-/l*
Counts
4 → 81
Calls
4 calls:
27.0ms
(/ (* (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))) (cbrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
9.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
7.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
7.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

series82.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ (* (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))) (cbrt (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
14.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
14.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
15.0ms
(cbrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
04131532
112961439
250011406

prune456.0ms

Filtered
81 candidates to 93 candidates (-14.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh055
Picked011
Done011
Total937100

Merged error: 0.9b

Counts
100 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ alpha beta) (* beta alpha))
0.0b
(* (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
1.7b
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (* (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))))
3.6b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
54×times-frac
53×*-un-lft-identity
33×add-sqr-sqrt
31×add-cube-cbrt
22×associate-/l*
20×add-exp-log add-cbrt-cube
17×flip3-+ flip-+
14×associate-/r/
11×distribute-lft-out
add-log-exp
frac-times
cbrt-undiv div-exp
pow1
associate-*r/ associate-*l* associate-*l/ associate-/r* div-inv
associate-*r* prod-exp sum-log cbrt-unprod associate-/l/
frac-2neg clear-num
+-commutative distribute-rgt-in associate-+l+ distribute-lft-in pow-prod-down *-commutative unswap-sqr
Counts
4 → 141
Calls
4 calls:
6.0ms
(+ (+ alpha beta) (* beta alpha))
15.0ms
(* (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
28.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (* (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series47.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (+ alpha beta) (* beta alpha))
7.0ms
(* (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
22.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (* (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify120.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07652456
142412233
250012233

prune270.0ms

Filtered
112 candidates to 153 candidates (-36.6%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1521153
Fresh134
Picked011
Done022
Total1537160

Merged error: 0.9b

Counts
160 → 7

regimes122.0ms

Accuracy

47.9% (1.7b remaining)

Error of 3.0b against oracle of 1.3b and baseline of 4.5b

bsearch33.0ms

Steps
ItersRangePoint
10
6.377268107478225e+156
3.445828635472764e+166
1.8714054624212292e+166

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03937
13937

end0.0ms

sample1.0s

Algorithm
intervals
sampling

Space saved by range analysis: 43.768318%

Space saved by search: 43.768318%

Guaranteed chance to sample good point: 98.831177%

Results
498.0ms8000×body80valid
138.0ms8000×pre80true

Profiling

Loading profile data...