Details

Time bar (total: 7.3s)

sample31.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 43.823218%

Space saved by search: 43.823218%

Guaranteed chance to sample good point: 0%

Results
16.0ms256×body80valid
4.0ms256×pre80true

simplify79.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.4b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)
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))
4.1b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
804×times-frac
586×*-un-lft-identity
340×add-sqr-sqrt add-cube-cbrt
123×distribute-lft-out
82×associate-/l*
54×associate-/r/
29×flip3-+ flip-+
27×div-inv
20×add-exp-log add-cbrt-cube
13×add-log-exp
10×cbrt-undiv div-exp associate-/r*
sum-log
pow1 associate-/l/
frac-2neg clear-num
+-commutative associate-+l+
Counts
4 → 465
Calls
4 calls:
7.0ms
(+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)
19.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ alpha beta) (* 2.0 1.0)))
39.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)))

series55.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)
19.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))
11.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify143.0ms

Algorithm
egg-herbie
Counts
477 → 477
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
0149213034
1500212552

prune1.3s

Filtered
281 candidates to 477 candidates (-69.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New4689477
Fresh000
Picked101
Done000
Total4699478

Merged error: 1.9b

Counts
478 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
42×times-frac
40×add-sqr-sqrt sqrt-prod
38×add-cube-cbrt
14×associate-/l*
10×distribute-lft-out
add-exp-log sqrt-div add-cbrt-cube
pow1 flip3-+ associate-/r* 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
Counts
4 → 126
Calls
4 calls:
13.0ms
(/ (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (+ (+ alpha beta) (* 2.0 1.0)))
13.0ms
(/ (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (+ (+ alpha beta) (* 2.0 1.0)))
9.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
7.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

series105.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (+ (+ alpha beta) (* 2.0 1.0)))
45.0ms
(/ (sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0)) (+ (+ alpha beta) (* 2.0 1.0)))
9.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))
9.0ms
(sqrt (+ (+ (+ alpha beta) (* beta alpha)) 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03721870
113621788
250021762

prune300.0ms

Filtered
98 candidates to 138 candidates (-40.8%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1380138
Fresh088
Picked011
Done000
Total1389147

Merged error: 1.9b

Counts
147 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (+ (+ alpha beta) (* 2.0 1.0)))
0.1b
(/ (/ 1 (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
2.3b
(* (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (/ (/ 1 (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
4.1b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

rewrite102.0ms

Algorithm
rewrite-expression-head
Rules
248×times-frac
202×*-un-lft-identity
152×add-sqr-sqrt
124×add-cube-cbrt
66×associate-*r*
54×add-exp-log
38×distribute-lft-out
34×add-cbrt-cube
28×associate-/r/
26×div-exp
22×associate-/l*
18×associate-*l*
15×flip3-+ flip-+
14×cbrt-undiv div-inv
10×prod-exp associate-/r*
unswap-sqr
pow1
cbrt-unprod
rec-exp 1-exp add-log-exp
frac-2neg clear-num associate-/l/
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ *-commutative inv-pow
Counts
4 → 286
Calls
4 calls:
6.0ms
(/ 1 (+ (+ alpha beta) (* 2.0 1.0)))
15.0ms
(/ (/ 1 (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
53.0ms
(* (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (/ (/ 1 (+ (+ 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)))

series51.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1 (+ (+ alpha beta) (* 2.0 1.0)))
10.0ms
(/ (/ 1 (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
25.0ms
(* (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0))) (/ (/ 1 (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0)))
11.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (+ (+ alpha beta) (* 2.0 1.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011205097
150014696

prune562.0ms

Filtered
185 candidates to 298 candidates (-61.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New2980298
Fresh077
Picked011
Done011
Total2989307

Merged error: 1.9b

Counts
307 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0)))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
0.5b
(/ 1 (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
1.1b
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0)))) (+ (+ alpha beta) (* 2.0 1.0)))
3.6b
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
1422×times-frac
1040×*-un-lft-identity
604×add-sqr-sqrt add-cube-cbrt
255×sqrt-prod
218×distribute-lft-out
133×associate-/l*
56×associate-/r/
42×sqrt-div
29×flip3-+ flip-+
28×div-inv
24×add-exp-log
22×add-cbrt-cube
19×associate-/r*
12×div-exp
11×cbrt-undiv
pow1
frac-2neg clear-num associate-/l/ add-log-exp
pow-flip
rec-exp sqrt-pow1 pow1/2 1-exp inv-pow
Counts
4 → 740
Calls
4 calls:
45.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0)))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
8.0ms
(/ 1 (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
25.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0)))) (+ (+ alpha beta) (* 2.0 1.0)))
16.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))

series102.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ (/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0)))) (+ (+ alpha beta) (* 2.0 1.0))) (+ (+ (+ alpha beta) (* 2.0 1.0)) 1.0))
13.0ms
(/ 1 (sqrt (+ (+ alpha beta) (* 2.0 1.0))))
35.0ms
(/ (/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0)))) (+ (+ alpha beta) (* 2.0 1.0)))
22.0ms
(/ (+ (+ (+ alpha beta) (* beta alpha)) 1.0) (sqrt (+ (+ alpha beta) (* 2.0 1.0))))

simplify224.0ms

Algorithm
egg-herbie
Counts
752 → 752
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
0205721889
1500121450

prune2.7s

Filtered
394 candidates to 752 candidates (-90.9%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New7511752
Fresh156
Picked011
Done022
Total7529761

Merged error: 1.9b

Counts
761 → 9

regimes173.0ms

Accuracy

50.6% (1.3b remaining)

Error of 2.4b against oracle of 1.2b and baseline of 3.7b

bsearch41.0ms

Steps
ItersRangePoint
8
5.003742343121288e+212
5.507200203762071e+216
5.447914656172989e+212

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05350
15350

end0.0ms

sample794.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 43.823218%

Space saved by search: 43.823218%

Guaranteed chance to sample good point: 0%

Results
521.0ms8000×body80valid
134.0ms8000×pre80true

Profiling

Loading profile data...