Details

Time bar (total: 3.2s)

sample21.0ms

Algorithm
intervals
Results
9.0ms283×body80valid

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: 8.3b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

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

series26.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0409511
11963443
25001443

prune147.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.8b

Counts
77 → 7

localize12.0ms

Local error

Found 2 expressions with local error:

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

series20.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
011322994
145722919
250012919

prune471.0ms

Filtered
233 candidates to 270 candidates (-15.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2682270
Fresh066
Picked011
Done000
Total2689277

Merged error: 5.8b

Counts
277 → 9

localize8.0ms

Local error

Found 2 expressions with local error:

4.1b
(/ (/ 1.0 x) (+ 1.0 (* z z)))
4.5b
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
165×times-frac
116×add-sqr-sqrt
89×*-un-lft-identity
86×add-cube-cbrt
46×add-exp-log
45×associate-*r*
28×add-cbrt-cube
21×div-exp
13×associate-*l* associate-/l*
12×cbrt-undiv prod-exp
10×div-inv
unswap-sqr
cbrt-unprod
pow1 associate-/r/
rec-exp 1-exp associate-/r*
flip3-+ flip-+ add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
2 → 169
Calls
2 calls:
7.0ms
(/ (/ 1.0 x) (+ 1.0 (* z z)))
22.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))

series30.0ms

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

simplify105.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
09221637
145381473
250031467

prune286.0ms

Filtered
134 candidates to 175 candidates (-30.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1741175
Fresh257
Picked011
Done011
Total1768184

Merged error: 5.8b

Counts
184 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt x)
0.5b
(cbrt x)
0.6b
(/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z)))
6.6b
(* (/ (/ 1 (* (cbrt x) (cbrt x))) y) (/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
328×times-frac
217×add-sqr-sqrt
161×*-un-lft-identity
157×add-cube-cbrt
117×add-exp-log
73×cbrt-prod
72×associate-*r*
60×div-exp
52×add-cbrt-cube
33×prod-exp
30×cbrt-undiv
25×associate-*l*
22×associate-/l*
16×unswap-sqr
15×cbrt-unprod
13×div-inv
pow1 rec-exp 1-exp
associate-/r/ add-log-exp
associate-/r*
flip3-+ pow1/3 flip-+
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
Counts
4 → 291
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
8.0ms
(/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z)))
47.0ms
(* (/ (/ 1 (* (cbrt x) (cbrt x))) y) (/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z))))

series134.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(cbrt x)
36.0ms
(cbrt x)
53.0ms
(/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z)))
20.0ms
(* (/ (/ 1 (* (cbrt x) (cbrt x))) y) (/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z))))

simplify63.0ms

Algorithm
egg-herbie
Counts
303 → 303
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
015753968
150023659

prune506.0ms

Filtered
245 candidates to 303 candidates (-23.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New3030303
Fresh055
Picked011
Done022
Total3038311

Merged error: 5.8b

Counts
311 → 8

regimes498.0ms

Accuracy

39.4% (0.9b remaining)

Error of 5.9b against oracle of 5.0b and baseline of 6.6b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03529
13529

end0.0ms

sample566.0ms

Algorithm
intervals
Results
280.0ms8611×body80valid

Profiling

Loading profile data...