Details

Time bar (total: 7.3s)

sample32.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 43.768318%

Space saved by search: 43.768318%

Guaranteed chance to sample good point: 100%

Results
15.0ms256×body80valid
4.0ms256×pre80true

simplify82.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: 4.1b

Counts
2 → 1

localize12.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.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite120.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))
21.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
40.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))
19.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series67.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ (+ alpha beta) (* beta alpha))
21.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
24.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))
13.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify145.0ms

Algorithm
egg-herbie
Counts
475 → 475
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0151213008
1500112540

prune1.3s

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

Counts
476 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
0.1b
(* (sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))) (/ (sqrt (/ (/ (+ (+ (+ 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.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
3.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite380.0ms

Algorithm
rewrite-expression-head
Rules
862×times-frac
599×*-un-lft-identity
438×add-sqr-sqrt
387×sqrt-prod
349×add-cube-cbrt
258×associate-*r*
125×distribute-lft-out
63×associate-*l*
54×associate-/r/
29×flip3-+ flip-+
27×div-inv
20×unswap-sqr
13×add-exp-log add-cbrt-cube
associate-/l*
pow1
associate-/r*
associate-/l/ add-log-exp
cbrt-undiv rem-sqrt-square sqrt-div div-exp
frac-2neg prod-exp clear-num cbrt-unprod
frac-times sqrt-pow1 pow1/2 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 500
Calls
4 calls:
25.0ms
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
284.0ms
(* (sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))) (/ (sqrt (/ (/ (+ (+ (+ 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)))
14.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

series107.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0))))
24.0ms
(* (sqrt (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))) (/ (sqrt (/ (/ (+ (+ (+ 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)))
21.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify166.0ms

Algorithm
egg-herbie
Counts
512 → 512
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
0181915509
1500114700

prune2.6s

Filtered
341 candidates to 512 candidates (-50.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New5120512
Fresh066
Picked011
Done000
Total5127519

Merged error: 1.4b

Counts
519 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)))
0.5b
(/ (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
3.8b
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
3.8b
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
98×*-un-lft-identity
80×sqrt-prod
70×times-frac
56×add-sqr-sqrt
54×add-cube-cbrt
22×distribute-lft-out
13×associate-/r*
11×associate-/l*
10×sqrt-div
add-exp-log add-cbrt-cube
pow1 flip3-+ flip-+
associate-/r/ associate-/l/ add-log-exp
cbrt-undiv rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
sqrt-undiv
Counts
4 → 159
Calls
4 calls:
17.0ms
(/ (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)))
18.0ms
(/ (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
7.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
7.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

series113.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(/ (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)))
18.0ms
(/ (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
10.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
10.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

simplify72.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05512625
120872476
250012422

prune435.0ms

Filtered
103 candidates to 171 candidates (-66.0%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1710171
Fresh055
Picked011
Done011
Total1717178

Merged error: 1.4b

Counts
178 → 7

localize12.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)))
2.8b
(/ (/ (+ (+ (+ 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.9b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite70.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))
14.0ms
(* (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))
31.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)))
24.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))))
13.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify121.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07652456
142412233
250012233

prune264.0ms

Filtered
111 candidates to 153 candidates (-37.8%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1521153
Fresh134
Picked011
Done022
Total1537160

Merged error: 1.4b

Counts
160 → 7

regimes118.0ms

Accuracy

53.3% (1.1b remaining)

Error of 2.3b against oracle of 1.2b and baseline of 3.6b

bsearch31.0ms

Steps
ItersRangePoint
8
4.588062755452424e+156
5.495788214791645e+159
5.425582402344228e+159

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04243
14243

end0.0ms

sample819.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 43.768318%

Space saved by search: 43.768318%

Guaranteed chance to sample good point: 100%

Results
482.0ms8000×body80valid
131.0ms8000×pre80true

Profiling

Loading profile data...