Details

Time bar (total: 2.3s)

sample18.0ms

Algorithm
intervals
Results
10.0ms268×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: 6.3b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

3.8b
(/ (/ 1.0 x) (* y (+ 1.0 (* z z))))
5.2b
(* y (+ 1.0 (* z z)))

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

series141.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0409511
11963443
25001443

prune141.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New69776
Fresh000
Picked101
Done000
Total70777

Merged error: 5.1b

Counts
77 → 7

localize8.0ms

Local error

Found 2 expressions with local error:

3.8b
(/ (/ 1.0 x) (+ (* y 1.0) (* y (* z z))))
8.1b
(* y (* z z))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
97×times-frac
53×add-sqr-sqrt
52×add-cube-cbrt *-un-lft-identity
14×distribute-lft-out
13×associate-/l*
12×add-exp-log add-cbrt-cube
pow1
div-inv
associate-/r*
cbrt-undiv div-exp associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-/r/ add-log-exp
frac-2neg flip3-+ associate-*r* clear-num *-commutative flip-+ associate-/l/ unswap-sqr
Counts
2 → 105
Calls
2 calls:
7.0ms
(/ (/ 1.0 x) (+ (* y 1.0) (* y (* z z))))
5.0ms
(* y (* z z))

series91.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05491110
122381045
250011042

prune191.0ms

Filtered
111 candidates to 86 candidates (77.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1092111
Fresh156
Picked101
Done000
Total1117118

Merged error: 2.6b

Counts
118 → 7

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (* y z) z)
3.8b
(/ (/ 1.0 x) (+ (* y 1.0) (* (* y z) z)))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
75×times-frac
45×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
13×associate-/l*
12×add-exp-log add-cbrt-cube
pow1
div-inv
cbrt-undiv div-exp associate-*r* pow-prod-down prod-exp associate-/r* cbrt-unprod
associate-/r/ add-log-exp
frac-2neg flip3-+ associate-*l* clear-num *-commutative flip-+ associate-/l/
Counts
2 → 90
Calls
2 calls:
4.0ms
(* (* y z) z)
7.0ms
(/ (/ 1.0 x) (+ (* y 1.0) (* (* y z) z)))

series91.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04991010
12128934
25002930

prune185.0ms

Filtered
96 candidates to 75 candidates (78.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh156
Picked011
Done000
Total967103

Merged error: 2.6b

Counts
103 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

0.3b
(/ 1 (* y (+ 1.0 (* z z))))
3.7b
(* (/ 1.0 x) (/ 1 (* y (+ 1.0 (* z z)))))
5.2b
(* y (+ 1.0 (* z z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log
31×add-cbrt-cube
24×prod-exp
23×add-sqr-sqrt
19×div-exp
16×add-cube-cbrt *-un-lft-identity times-frac associate-*l*
12×associate-*r*
10×pow1 cbrt-unprod
cbrt-undiv
associate-*r/
rec-exp 1-exp
associate-/r/
flip3-+ pow-prod-down flip-+ div-inv associate-/l* add-log-exp unswap-sqr
pow-flip *-commutative
distribute-rgt-in frac-times frac-2neg distribute-lft-in associate-*l/ clear-num associate-/r* un-div-inv inv-pow
Counts
3 → 109
Calls
3 calls:
5.0ms
(/ 1 (* y (+ 1.0 (* z z))))
12.0ms
(* (/ 1.0 x) (/ 1 (* y (+ 1.0 (* z z)))))
5.0ms
(* y (+ 1.0 (* z z)))

series153.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(/ 1 (* y (+ 1.0 (* z z))))
54.0ms
(* (/ 1.0 x) (/ 1 (* y (+ 1.0 (* z z)))))
51.0ms
(* y (+ 1.0 (* z z)))

simplify70.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
0544773
13059634
25001624

prune136.0ms

Filtered
118 candidates to 70 candidates (59.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1171118
Fresh145
Picked011
Done011
Total1187125

Merged error: 2.6b

Counts
125 → 7

regimes211.0ms

Accuracy

0% (1.6b remaining)

Error of 3.8b against oracle of 2.3b and baseline of 3.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

sample536.0ms

Algorithm
intervals
Results
344.0ms8609×body80valid

Profiling

Loading profile data...