Details

Time bar (total: 3.1s)

sample16.0ms

Algorithm
intervals
Results
7.0ms273×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

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

series111.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(* y (+ 1.0 (* z z)))
58.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

prune163.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 5.1b

localize8.0ms

Local error

Found 2 expressions with local error:

2.7b
(/ (/ 1 x) (+ 1.0 (* z z)))
4.4b
(* (/ 1.0 y) (/ (/ 1 x) (+ 1.0 (* z z))))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
164×times-frac
114×add-sqr-sqrt
88×*-un-lft-identity
86×add-cube-cbrt
46×add-exp-log
45×associate-*r*
28×add-cbrt-cube
23×div-exp
13×associate-*l* associate-/l*
12×cbrt-undiv
10×prod-exp 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 → 168
Calls
2 calls:
8.0ms
(/ (/ 1 x) (+ 1.0 (* z z)))
37.0ms
(* (/ 1.0 y) (/ (/ 1 x) (+ 1.0 (* z z))))

series111.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
08881623
143251446
250011361

prune337.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 5.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (/ 1 x))
3.3b
(* (/ 1.0 y) (/ (* (cbrt (/ 1 x)) (cbrt (/ 1 x))) (sqrt (+ 1.0 (* z z)))))
15.4b
(sqrt (+ 1.0 (* z z)))
15.4b
(sqrt (+ 1.0 (* z z)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
31×times-frac
25×add-exp-log
23×add-cube-cbrt *-un-lft-identity
21×add-cbrt-cube
13×cbrt-prod associate-*l*
12×associate-*r*
11×sqrt-prod
pow1 prod-exp cbrt-unprod
cbrt-undiv div-exp
sqrt-div unswap-sqr
add-log-exp
flip3-+ flip-+ div-inv
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
frac-times cbrt-div pow1/3 associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 107
Calls
4 calls:
2.0ms
(cbrt (/ 1 x))
35.0ms
(* (/ 1.0 y) (/ (* (cbrt (/ 1 x)) (cbrt (/ 1 x))) (sqrt (+ 1.0 (* z z)))))
3.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series385.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt (/ 1 x))
128.0ms
(* (/ 1.0 y) (/ (* (cbrt (/ 1 x)) (cbrt (/ 1 x))) (sqrt (+ 1.0 (* z z)))))
46.0ms
(sqrt (+ 1.0 (* z z)))
42.0ms
(sqrt (+ 1.0 (* z z)))

simplify69.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05841167
12596983
25002937

prune371.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 5.1b

localize20.0ms

Local error

Found 4 expressions with local error:

15.4b
(sqrt (+ 1.0 (* z z)))
15.4b
(sqrt (+ 1.0 (* z z)))
15.4b
(sqrt (+ 1.0 (* z z)))
15.4b
(sqrt (+ 1.0 (* z z)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt sqrt-prod
pow1 add-cube-cbrt *-un-lft-identity sqrt-div
add-exp-log rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 60
Calls
4 calls:
3.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))
3.0ms
(sqrt (+ 1.0 (* z z)))

series184.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(sqrt (+ 1.0 (* z z)))
42.0ms
(sqrt (+ 1.0 (* z z)))
48.0ms
(sqrt (+ 1.0 (* z z)))
46.0ms
(sqrt (+ 1.0 (* z z)))

simplify65.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0135416
1448408
21980400
35003396

prune308.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 5.1b

regimes216.0ms

Accuracy

0% (1.1b remaining)

Error of 5.9b against oracle of 4.8b and baseline of 5.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02545
12545

end0.0ms

sample399.0ms

Algorithm
intervals
Results
232.0ms8617×body80valid