Details

Time bar (total: 3.2s)

sample22.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

Filtered
1 candidates to 0 candidates (100.0%)
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 (9.0ms)

IterNodesCost
0409511
11963443
25001443

prune117.0ms

Filtered
76 candidates to 56 candidates (26.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New69776
Fresh000
Picked101
Done000
Total70777

Merged error: 5.8b

Counts
77 → 7

localize7.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)))

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

series19.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
270 → 270
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
011322994
145722919
250012919

prune461.0ms

Filtered
270 candidates to 233 candidates (13.7%)
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))))

rewrite38.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)))
23.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))

series32.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
09221637
145381473
250031467

prune258.0ms

Filtered
175 candidates to 134 candidates (23.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1741175
Fresh257
Picked011
Done011
Total1768184

Merged error: 5.8b

Counts
184 → 8

localize12.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))))

rewrite76.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)
9.0ms
(/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z)))
48.0ms
(* (/ (/ 1 (* (cbrt x) (cbrt x))) y) (/ (/ 1.0 (cbrt x)) (+ 1.0 (* z z))))

series102.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(cbrt x)
21.0ms
(cbrt x)
41.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))))

simplify65.0ms

Algorithm
egg-herbie
Counts
303 → 303
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
015753968
150023659

prune507.0ms

Filtered
303 candidates to 245 candidates (19.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New3030303
Fresh055
Picked011
Done022
Total3038311

Merged error: 5.8b

Counts
311 → 8

regimes529.0ms

Accuracy

39.4% (0.9b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03529
13529

end0.0ms

sample585.0ms

Algorithm
intervals
Results
298.0ms8611×body80valid

Profiling

Loading profile data...