Details

Time bar (total: 5.5s)

sample19.0ms

Algorithm
intervals
Results
9.0ms270×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.5b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

series108.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0409511
11963443
25001443

prune146.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New69776
Fresh000
Picked011
Done000
Total69877

Merged error: 5.4b

Counts
77 → 8

localize8.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (/ 1.0 y) x)
6.4b
(/ (/ (/ 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)
14.0ms
(/ (/ (/ 1.0 y) x) (+ 1.0 (* z z)))

series72.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
011322994
145722919
250022919

prune577.0ms

Filtered
270 candidates to 233 candidates (86.3%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2691270
Fresh156
Picked011
Done011
Total2708278

Merged error: 5.4b

Counts
278 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (/ 1 (sqrt (+ 1.0 (* z z)))) (/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z)))))
2.9b
(/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z))))
16.8b
(sqrt (+ 1.0 (* z z)))
16.8b
(sqrt (+ 1.0 (* z z)))

rewrite197.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:
117.0ms
(* (/ 1 (sqrt (+ 1.0 (* z z)))) (/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z)))))
16.0ms
(/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z))))
3.0ms
(sqrt (+ 1.0 (* z z)))
2.0ms
(sqrt (+ 1.0 (* z z)))

series231.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(* (/ 1 (sqrt (+ 1.0 (* z z)))) (/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z)))))
84.0ms
(/ (/ (/ 1.0 y) x) (sqrt (+ 1.0 (* z z))))
40.0ms
(sqrt (+ 1.0 (* z z)))
50.0ms
(sqrt (+ 1.0 (* z z)))

simplify155.0ms

Algorithm
egg-herbie
Counts
727 → 727
Iterations

Useful iterations: 1 (55.0ms)

IterNodesCost
0290410941
1500110523

prune1.4s

Filtered
727 candidates to 445 candidates (61.2%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New7270727
Fresh055
Picked011
Done022
Total7278735

Merged error: 5.4b

Counts
735 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ 1.0 x))
0.6b
(cbrt (/ 1.0 x))
1.7b
(/ (cbrt (/ 1.0 x)) (+ 1.0 (* z z)))
5.0b
(* (/ (* (cbrt (/ 1.0 x)) (cbrt (/ 1.0 x))) y) (/ (cbrt (/ 1.0 x)) (+ 1.0 (* z z))))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
192×times-frac
134×add-sqr-sqrt
121×cbrt-prod
110×add-cube-cbrt *-un-lft-identity
54×associate-*r*
27×add-exp-log
19×add-cbrt-cube
16×associate-/l*
12×div-inv
cbrt-undiv div-exp prod-exp cbrt-unprod unswap-sqr
associate-*l*
pow1
associate-/r/ add-log-exp
cbrt-div associate-/r*
flip3-+ pow1/3 flip-+
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
4 → 219
Calls
4 calls:
2.0ms
(cbrt (/ 1.0 x))
2.0ms
(cbrt (/ 1.0 x))
7.0ms
(/ (cbrt (/ 1.0 x)) (+ 1.0 (* z z)))
27.0ms
(* (/ (* (cbrt (/ 1.0 x)) (cbrt (/ 1.0 x))) y) (/ (cbrt (/ 1.0 x)) (+ 1.0 (* z z))))

series709.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(cbrt (/ 1.0 x))
188.0ms
(cbrt (/ 1.0 x))
182.0ms
(/ (cbrt (/ 1.0 x)) (+ 1.0 (* z z)))
134.0ms
(* (/ (* (cbrt (/ 1.0 x)) (cbrt (/ 1.0 x))) y) (/ (cbrt (/ 1.0 x)) (+ 1.0 (* z z))))

simplify116.0ms

Algorithm
egg-herbie
Counts
231 → 231
Iterations

Useful iterations: 2 (91.0ms)

IterNodesCost
08962756
144592570
250012478

prune600.0ms

Filtered
231 candidates to 197 candidates (85.3%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New2310231
Fresh044
Picked011
Done033
Total2318239

Merged error: 5.4b

Counts
239 → 8

regimes281.0ms

Accuracy

75% (0.4b remaining)

Error of 5.2b against oracle of 4.8b and baseline of 6.5b

bsearch91.0ms

Steps
ItersRangePoint
9
1.6883106978042227e+42
7.455493521617255e+49
3.145678663610127e+42
10
-7.470896749520786e-10
-1.113797997846539e-26
-7.880677220040408e-12

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02916
12916

end0.0ms

sample484.0ms

Algorithm
intervals
Results
308.0ms8635×body80valid

Profiling

Loading profile data...