Details

Time bar (total: 2.5s)

sample18.0ms

Algorithm
intervals
Results
9.0ms272×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.9b
(* y (+ 1.0 (* z z)))
3.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))))

series111.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0409511
11963443
25001443

prune146.0ms

Filtered
76 candidates to 56 candidates (73.7%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New67976
Fresh000
Picked011
Done000
Total671077

Merged error: 4.7b

Counts
77 → 10

localize10.0ms

Local error

Found 2 expressions with local error:

3.4b
(/ (/ 1.0 x) (+ 1.0 (* z z)))
3.7b
(* (/ 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)))
22.0ms
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))

series113.0ms

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

simplify117.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
09221637
145381473
250031467

prune333.0ms

Filtered
175 candidates to 133 candidates (76.0%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1732175
Fresh178
Picked101
Done011
Total17510185

Merged error: 4.7b

Counts
185 → 10

localize8.0ms

Local error

Found 3 expressions with local error:

0.5b
(/ 1.0 (* (+ 1.0 (* z z)) x))
3.3b
(* (+ 1.0 (* z z)) x)
3.7b
(* (/ 1 y) (/ 1.0 (* (+ 1.0 (* z z)) x)))

rewrite28.0ms

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

series139.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(/ 1.0 (* (+ 1.0 (* z z)) x))
36.0ms
(* (+ 1.0 (* z z)) x)
60.0ms
(* (/ 1 y) (/ 1.0 (* (+ 1.0 (* z z)) x)))

simplify72.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0531783
12988643
25001637

prune164.0ms

Filtered
107 candidates to 71 candidates (66.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh178
Picked011
Done011
Total10710117

Merged error: 4.7b

Counts
117 → 10

localize7.0ms

Local error

Found 3 expressions with local error:

0.4b
(/ 1.0 (* y (* (+ 1.0 (* z z)) x)))
3.3b
(* (+ 1.0 (* z z)) x)
3.6b
(* y (* (+ 1.0 (* z z)) x))

rewrite20.0ms

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

series149.0ms

Counts
3 → 9
Calls
3 calls:
65.0ms
(/ 1.0 (* y (* (+ 1.0 (* z z)) x)))
34.0ms
(* (+ 1.0 (* z z)) x)
49.0ms
(* y (* (+ 1.0 (* z z)) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0330475
11578386
25001386

prune103.0ms

Filtered
74 candidates to 47 candidates (63.5%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New73174
Fresh167
Picked011
Done022
Total741084

Merged error: 4.7b

Counts
84 → 10

regimes307.0ms

Accuracy

79% (0.4b remaining)

Error of 5.1b against oracle of 4.7b and baseline of 6.5b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12512

end0.0ms

sample467.0ms

Algorithm
intervals
Results
292.0ms8598×body80valid