Details

Time bar (total: 3.9s)

sample428.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 1.611328%

Guaranteed chance to sample good point: 91.755583%

Results
11.0ms256×body80valid
1.0ms26×body80invalid

simplify11.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: 6.6b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

2.1b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.5b
(* y (+ 1.0 (* z z)))

rewrite15.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:
8.0ms
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.0ms
(* y (+ 1.0 (* z z)))

series25.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0409511
11963443
25001443

prune173.0ms

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

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New69776
Fresh000
Picked101
Done000
Total70777

Merged error: 5.5b

Counts
77 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
2.1b
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
17.0b
(sqrt (+ 1.0 (* z z)))
17.0b
(sqrt (+ 1.0 (* z z)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
31×times-frac
30×add-exp-log add-cbrt-cube
28×sqrt-div
24×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
16×associate-*r/
14×flip3-+ flip-+
13×associate-/l*
11×pow1
cbrt-undiv div-exp prod-exp sqrt-prod cbrt-unprod
frac-times associate-/r/
associate-*r*
associate-*l/ add-log-exp
pow-prod-down div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-2neg associate-*l* clear-num associate-/r* *-commutative associate-/l/
Counts
4 → 117
Calls
4 calls:
9.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
13.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
2.0ms
(sqrt (+ 1.0 (* z z)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z))))
19.0ms
(/ (/ 1.0 x) (* (* y (sqrt (+ 1.0 (* z z)))) (sqrt (+ 1.0 (* z z)))))
3.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

simplify67.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
06101242
128861023
250021005

prune195.0ms

Filtered
93 candidates to 129 candidates (-38.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1272129
Fresh246
Picked011
Done000
Total1297136

Merged error: 5.5b

Counts
136 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ 1 (* y (sqrt (+ 1.0 (* z z)))))
0.9b
(* (/ 1 (* y (sqrt (+ 1.0 (* z z))))) (/ (/ 1.0 x) (sqrt (+ 1.0 (* z z)))))
17.0b
(sqrt (+ 1.0 (* z z)))
17.0b
(sqrt (+ 1.0 (* z z)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
144×times-frac
97×add-sqr-sqrt
93×add-exp-log
84×associate-*r*
79×add-cube-cbrt *-un-lft-identity
47×sqrt-prod
45×add-cbrt-cube
37×div-exp
33×prod-exp
17×cbrt-undiv
13×cbrt-unprod
11×pow1
10×sqrt-div
associate-*l* div-inv
rec-exp 1-exp
associate-/r/
flip3-+ associate-*r/ flip-+ unswap-sqr
add-log-exp
associate-/l*
rem-sqrt-square pow-flip sqrt-pow1 pow1/2 pow-prod-down
frac-times frac-2neg associate-*l/ clear-num associate-/r* *-commutative inv-pow
Counts
4 → 200
Calls
4 calls:
6.0ms
(/ 1 (* y (sqrt (+ 1.0 (* z z)))))
34.0ms
(* (/ 1 (* y (sqrt (+ 1.0 (* z z))))) (/ (/ 1.0 x) (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
2.0ms
(sqrt (+ 1.0 (* z z)))

series39.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
212 → 212
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
011332402
150022122

prune320.0ms

Filtered
126 candidates to 212 candidates (-68.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2111212
Fresh145
Picked101
Done011
Total2136219

Merged error: 5.5b

Counts
219 → 6

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (/ 1.0 x) (sqrt (+ 1.0 (* z z))))
0.8b
(/ (/ (/ 1.0 x) (sqrt (+ 1.0 (* z z)))) (* y (sqrt (+ 1.0 (* z z)))))
17.0b
(sqrt (+ 1.0 (* z z)))
17.0b
(sqrt (+ 1.0 (* z z)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
489×times-frac
223×add-sqr-sqrt
221×add-cube-cbrt *-un-lft-identity
126×sqrt-prod
97×associate-/l*
30×add-exp-log add-cbrt-cube
23×div-inv
15×cbrt-undiv div-exp
12×sqrt-div
associate-/r/
associate-/r*
pow1 flip3-+ flip-+
add-log-exp
prod-exp cbrt-unprod
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 associate-*r/ clear-num associate-/l/
Counts
4 → 338
Calls
4 calls:
8.0ms
(/ (/ 1.0 x) (sqrt (+ 1.0 (* z z))))
23.0ms
(/ (/ (/ 1.0 x) (sqrt (+ 1.0 (* z z)))) (* y (sqrt (+ 1.0 (* z z)))))
2.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series38.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
350 → 350
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011534419
147294002
250024002

prune724.0ms

Filtered
245 candidates to 350 candidates (-42.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3500350
Fresh044
Picked011
Done011
Total3506356

Merged error: 5.5b

Counts
356 → 6

regimes430.0ms

Accuracy

0% (1.1b remaining)

Error of 5.9b against oracle of 4.8b and baseline of 5.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01310
11310

end0.0ms

sample951.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 1.611328%

Guaranteed chance to sample good point: 91.755583%

Results
278.0ms8000×body80valid
18.0ms463×body80invalid

Profiling

Loading profile data...