Details

Time bar (total: 4.9s)

sample21.0ms

Algorithm
intervals
Results
11.0ms278×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0215
1375
2615
3915
41155
51215
61215

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.2b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

4.4b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
4.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)))

series110.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0409511
11963443
25001443

prune153.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New67976
Fresh000
Picked101
Done000
Total68977

Merged error: 5.6b

Counts
77 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite39.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)
17.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

series77.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011322994
145722919
250012919

prune668.0ms

Filtered
270 candidates to 233 candidates (86.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New2664270
Fresh538
Picked101
Done000
Total2727279

Merged error: 5.6b

Counts
279 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

0.2b
(/ (/ 1.0 y) x)
0.3b
(/ 1 (+ 1.0 (* z z)))
6.4b
(* (/ (/ 1.0 y) x) (/ 1 (+ 1.0 (* z z))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
174×times-frac
125×add-sqr-sqrt
98×*-un-lft-identity
95×add-cube-cbrt
51×add-exp-log
43×associate-*l*
31×add-cbrt-cube
23×div-exp
16×associate-/l*
15×associate-*r*
13×cbrt-undiv
12×prod-exp
11×div-inv
unswap-sqr
pow1 associate-/r* cbrt-unprod
rec-exp 1-exp associate-/r/
add-log-exp
frac-2neg flip3-+ clear-num flip-+
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ un-div-inv *-commutative associate-/l/ inv-pow
Counts
3 → 201
Calls
3 calls:
6.0ms
(/ (/ 1.0 y) x)
4.0ms
(/ 1 (+ 1.0 (* z z)))
22.0ms
(* (/ (/ 1.0 y) x) (/ 1 (+ 1.0 (* z z))))

series120.0ms

Counts
3 → 9
Calls
3 calls:
18.0ms
(/ (/ 1.0 y) x)
43.0ms
(/ 1 (+ 1.0 (* z z)))
58.0ms
(* (/ (/ 1.0 y) x) (/ 1 (+ 1.0 (* z z))))

simplify99.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
09391559
144821380
250011354

prune384.0ms

Filtered
210 candidates to 152 candidates (72.4%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New2100210
Fresh066
Picked011
Done000
Total2107217

Merged error: 5.6b

Counts
217 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (/ 1 (sqrt (+ 1.0 (* z z)))) (/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z)))))
2.5b
(/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z))))
17.5b
(sqrt (+ 1.0 (* z z)))
17.5b
(sqrt (+ 1.0 (* z z)))

rewrite219.0ms

Algorithm
rewrite-expression-head
Rules
1480×times-frac
795×add-sqr-sqrt
663×*-un-lft-identity
649×add-cube-cbrt
305×sqrt-prod
264×associate-*r*
73×add-exp-log
55×div-inv
45×add-cbrt-cube
43×associate-/l*
38×div-exp
35×unswap-sqr
24×associate-*l*
22×cbrt-undiv
16×prod-exp
10×sqrt-div
pow1 cbrt-unprod
associate-/r* associate-/r/
flip3-+ flip-+
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 → 715
Calls
4 calls:
130.0ms
(* (/ 1 (sqrt (+ 1.0 (* z z)))) (/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z)))))
18.0ms
(/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z))))
2.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series240.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (/ 1 (sqrt (+ 1.0 (* z z)))) (/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z)))))
91.0ms
(/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z))))
48.0ms
(sqrt (+ 1.0 (* z z)))
43.0ms
(sqrt (+ 1.0 (* z z)))

simplify155.0ms

Algorithm
egg-herbie
Counts
727 → 727
Iterations

Useful iterations: 1 (52.0ms)

IterNodesCost
0290410941
1500110523

prune1.7s

Filtered
727 candidates to 446 candidates (61.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New7270727
Fresh055
Picked011
Done011
Total7277734

Merged error: 5.6b

Counts
734 → 7

regimes182.0ms

Accuracy

0% (1.7b remaining)

Error of 6.3b against oracle of 4.6b and baseline of 6.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample466.0ms

Algorithm
intervals
Results
292.0ms8634×body80valid

Profiling

Loading profile data...