Details

Time bar (total: 2.6s)

sample17.0ms

Algorithm
intervals
Results
8.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.3b
(* y (+ 1.0 (* z z)))
4.7b
(/ (/ 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))))

series114.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0409511
11963443
25001443

prune167.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 5.5b

localize8.0ms

Local error

Found 2 expressions with local error:

2.3b
(* (/ 1 y) (/ (/ 1.0 x) (+ 1.0 (* z z))))
5.2b
(/ (/ 1.0 x) (+ 1.0 (* z z)))

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

series114.0ms

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

simplify101.0ms

Algorithm
egg-herbie
Counts
175 → 175
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
09251637
145421473
250011467

prune402.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 5.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.9b
(/ 1.0 (* (+ 1.0 (* z z)) x))
2.3b
(* (/ 1 y) (/ 1.0 (* (+ 1.0 (* z z)) x)))
5.0b
(* (+ 1.0 (* z z)) x)

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

series144.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0531783
12989643
25002637

prune206.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 5.5b

localize8.0ms

Local error

Found 2 expressions with local error:

4.7b
(/ (/ 1.0 x) (+ (* y 1.0) (* y (* z z))))
5.4b
(* y (* z z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
97×times-frac
53×add-sqr-sqrt
52×add-cube-cbrt *-un-lft-identity
14×distribute-lft-out
13×associate-/l*
12×add-exp-log add-cbrt-cube
pow1
div-inv
associate-/r*
cbrt-undiv div-exp associate-*l* pow-prod-down prod-exp cbrt-unprod
associate-/r/ add-log-exp
frac-2neg flip3-+ associate-*r* clear-num *-commutative flip-+ associate-/l/ unswap-sqr
Counts
2 → 105
Calls
2 calls:
11.0ms
(/ (/ 1.0 x) (+ (* y 1.0) (* y (* z z))))
5.0ms
(* y (* z z))

series97.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05491110
122381045
250011042

prune251.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 3.1b

regimes219.0ms

Accuracy

40.6% (0.9b remaining)

Error of 3.0b against oracle of 2.1b and baseline of 3.7b

bsearch38.0ms

Steps
ItersRangePoint
9
-9.78963830731076e+36
-1.0648515580651544e+32
-4.8770490724119395e+34

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02311
12311

end0.0ms

sample440.0ms

Algorithm
intervals
Results
259.0ms8598×body80valid