Details

Time bar (total: 2.4s)

sample25.0ms

Algorithm
intervals
Results
11.0ms338×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
0502111

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.6b

Counts
2 → 2

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* z (* z (+ z 1.0)))
6.6b
(/ y (* z (* z (+ z 1.0))))
6.9b
(* x (/ y (* z (* z (+ z 1.0)))))

rewrite28.0ms

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

series31.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* z (* z (+ z 1.0)))
8.0ms
(/ y (* z (* z (+ z 1.0))))
17.0ms
(* x (/ y (* z (* z (+ z 1.0)))))

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04979959
14979959

prune215.0ms

Filtered
56 candidates to 89 candidates (-58.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New81889
Fresh011
Picked101
Done000
Total82991

Merged error: 1.7b

Counts
91 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.8b
(/ (cbrt y) (* z (+ z 1.0)))
1.9b
(* (* x (* (/ (cbrt y) z) (cbrt y))) (/ (cbrt y) (* z (+ z 1.0))))
2.4b
(* x (* (/ (cbrt y) z) (cbrt y)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
72×add-exp-log
50×add-cbrt-cube
37×prod-exp cbrt-unprod
18×pow1
14×cbrt-undiv div-exp
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*r*
12×cbrt-prod times-frac
pow-prod-down
associate-*r/
associate-/l*
associate-*l* associate-*l/ associate-/r/ add-log-exp
flip3-+ *-commutative flip-+ div-inv
frac-times frac-2neg pow1/3 clear-num associate-/r*
Counts
4 → 112
Calls
4 calls:
1.0ms
(cbrt y)
6.0ms
(/ (cbrt y) (* z (+ z 1.0)))
19.0ms
(* (* x (* (/ (cbrt y) z) (cbrt y))) (/ (cbrt y) (* z (+ z 1.0))))
8.0ms
(* x (* (/ (cbrt y) z) (cbrt y)))

series93.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(cbrt y)
25.0ms
(/ (cbrt y) (* z (+ z 1.0)))
18.0ms
(* (* x (* (/ (cbrt y) z) (cbrt y))) (/ (cbrt y) (* z (+ z 1.0))))
28.0ms
(* x (* (/ (cbrt y) z) (cbrt y)))

simplify63.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049771404
149771404

prune134.0ms

Filtered
80 candidates to 124 candidates (-55.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1204124
Fresh358
Picked011
Done000
Total12310133

Merged error: 0.7b

Counts
133 → 10

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
1.8b
(/ (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (+ z 1.0)))
1.9b
(* (* x (* (/ (cbrt y) z) (cbrt y))) (/ (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (+ z 1.0))))
2.4b
(* x (* (/ (cbrt y) z) (cbrt y)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
127×add-exp-log
89×add-cbrt-cube
70×prod-exp cbrt-unprod
26×cbrt-undiv div-exp
18×pow1
pow-prod-down
associate-*r/ associate-*r*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*l* associate-*l/ associate-/r/ add-log-exp
cbrt-prod
flip3-+ times-frac *-commutative flip-+ div-inv
frac-times frac-2neg pow1/3 clear-num associate-/r* associate-/l*
Counts
4 → 117
Calls
4 calls:
1.0ms
(cbrt y)
10.0ms
(/ (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (+ z 1.0)))
18.0ms
(* (* x (* (/ (cbrt y) z) (cbrt y))) (/ (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (+ z 1.0))))
8.0ms
(* x (* (/ (cbrt y) z) (cbrt y)))

series96.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt y)
23.0ms
(/ (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (+ z 1.0)))
22.0ms
(* (* x (* (/ (cbrt y) z) (cbrt y))) (/ (* (cbrt (* (cbrt y) (cbrt y))) (cbrt (cbrt y))) (* z (+ z 1.0))))
29.0ms
(* x (* (/ (cbrt y) z) (cbrt y)))

simplify72.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049492110
149492110

prune143.0ms

Filtered
66 candidates to 129 candidates (-95.5%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1281129
Fresh088
Picked011
Done011
Total12811139

Merged error: 0.6b

Counts
139 → 11

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series22.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04952899
14952899

prune78.0ms

Filtered
57 candidates to 77 candidates (-35.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New73477
Fresh448
Picked101
Done112
Total79988

Merged error: 0b

Counts
88 → 9

regimes401.0ms

Accuracy

54.5% (1.3b remaining)

Error of 1.4b against oracle of 0.1b and baseline of 3.0b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03744
13744

end0.0ms

sample719.0ms

Algorithm
intervals
Results
351.0ms10704×body80valid

Profiling

Loading profile data...