Details

Time bar (total: 9.2s)

sample2.3s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 3.161621%

Guaranteed chance to sample good point: 89.619312%

Results
9.0ms256×body80valid
1.0ms14×body80invalid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1375
2615
3915
41155
51215
61215

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.6b
(* y (+ 1.0 (* z z)))
5.0b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
20×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
16×add-exp-log add-cbrt-cube
13×associate-/l*
cbrt-undiv div-exp
pow1 associate-*r/
associate-*r* associate-*l* prod-exp cbrt-unprod div-inv
flip3-+ associate-/r/ flip-+ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative associate-/l/ unswap-sqr
Counts
2 → 70
Calls
2 calls:
5.0ms
(* y (+ 1.0 (* z z)))
8.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

series30.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(* y (+ 1.0 (* z z)))
20.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))

simplify49.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0409511
11963443
25001443

prune112.0ms

Filtered
56 candidates to 76 candidates (-35.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New71576
Fresh000
Picked011
Done000
Total71677

Merged error: 6.2b

Counts
77 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

2.7b
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))
6.5b
(/ (/ 1.0 x) (+ 1.0 (* z z)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
165×times-frac
116×add-sqr-sqrt
89×*-un-lft-identity
86×add-cube-cbrt
46×add-exp-log
45×associate-*r*
28×add-cbrt-cube
21×div-exp
13×associate-*l* associate-/l*
12×cbrt-undiv prod-exp
10×div-inv
unswap-sqr
cbrt-unprod
pow1 associate-/r/
rec-exp 1-exp associate-/r*
flip3-+ flip-+ add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
2 → 169
Calls
2 calls:
25.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))
7.0ms
(/ (/ 1.0 x) (+ 1.0 (* z z)))

series30.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))
13.0ms
(/ (/ 1.0 x) (+ 1.0 (* z z)))

simplify102.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
09221637
145381473
250031467

prune267.0ms

Filtered
133 candidates to 175 candidates (-31.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1732175
Fresh044
Picked101
Done011
Total1747181

Merged error: 6.2b

Counts
181 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1.0 x) (sqrt (+ 1.0 (* z z))))
2.7b
(* (/ 1 y) (/ (/ (/ 1.0 x) (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
17.6b
(sqrt (+ 1.0 (* z z)))
17.6b
(sqrt (+ 1.0 (* z z)))

rewrite261.0ms

Algorithm
rewrite-expression-head
Rules
1534×times-frac
818×add-sqr-sqrt
684×*-un-lft-identity
673×add-cube-cbrt
561×sqrt-prod
510×associate-*r*
69×add-exp-log
52×div-inv
41×add-cbrt-cube
35×div-exp
33×unswap-sqr
20×sqrt-div
19×cbrt-undiv
16×prod-exp associate-/r/
13×associate-*l* associate-/l*
10×flip3-+ flip-+
pow1 cbrt-unprod
associate-/r*
rec-exp 1-exp add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
4 → 736
Calls
4 calls:
9.0ms
(/ (/ 1.0 x) (sqrt (+ 1.0 (* z z))))
176.0ms
(* (/ 1 y) (/ (/ (/ 1.0 x) (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series49.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(/ (/ 1.0 x) (sqrt (+ 1.0 (* z z))))
17.0ms
(* (/ 1 y) (/ (/ (/ 1.0 x) (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
4.0ms
(sqrt (+ 1.0 (* z z)))
13.0ms
(sqrt (+ 1.0 (* z z)))

simplify151.0ms

Algorithm
egg-herbie
Counts
748 → 748
Iterations

Useful iterations: 1 (64.0ms)

IterNodesCost
0361110210
150019518

prune1.5s

Filtered
358 candidates to 748 candidates (-108.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New7471748
Fresh145
Picked011
Done011
Total7487755

Merged error: 6.2b

Counts
755 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (/ 1.0 y) x)
7.2b
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
468×times-frac
228×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
56×associate-/l*
22×div-inv
16×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
associate-/r*
pow1 frac-2neg clear-num associate-/r/ associate-/l/ add-log-exp
flip3-+ flip-+
Counts
2 → 264
Calls
2 calls:
6.0ms
(/ (/ 1.0 y) x)
14.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

series21.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(/ (/ 1.0 y) x)
17.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

simplify107.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011322994
145722919
250012919

prune422.0ms

Filtered
233 candidates to 270 candidates (-15.9%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New2682270
Fresh134
Picked011
Done022
Total2698277

Merged error: 6.2b

Counts
277 → 8

regimes546.0ms

Accuracy

75.8% (0.3b remaining)

Error of 5.3b against oracle of 5.0b and baseline of 6.4b

bsearch90.0ms

Steps
ItersRangePoint
11
6.0921353382478856e+125
1.9883220899259527e+145
1.4076311248201188e+133
8
-3.106417689484473e+36
-1.1278134819586165e+34
-1.2295744948063883e+35

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02310
12310

end0.0ms

sample3.0s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 3.161621%

Guaranteed chance to sample good point: 89.619312%

Results
304.0ms8000×body80valid
13.0ms359×body80invalid

Profiling

Loading profile data...