Details

Time bar (total: 3.5s)

sample16.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0114
1144
2144

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

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

5.9b
(/ (+ x y) (- 1.0 (/ y z)))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
37×*-un-lft-identity
29×times-frac
13×add-cube-cbrt
10×difference-of-squares
distribute-lft-out
associate-/r*
distribute-lft-out--
associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
pow1 cbrt-undiv expm1-log1p-u flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ log1p-expm1-u div-inv add-log-exp
Counts
1 → 52
Calls
1 calls:
10.0ms
(/ (+ x y) (- 1.0 (/ y z)))

series52.0ms

Counts
1 → 3
Calls
1 calls:
52.0ms
(/ (+ x y) (- 1.0 (/ y z)))

simplify48.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0208432
1632414
21909414
35002414

prune102.0ms

Filtered
55 candidates to 37 candidates (67.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New49655
Fresh000
Picked011
Done000
Total49756

Merged error: 3.8b

Counts
56 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ 1 (/ (- 1.0 (/ y z)) (+ x y)))
6.0b
(/ (- 1.0 (/ y z)) (+ x y))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
231×times-frac
194×add-sqr-sqrt
193×*-un-lft-identity
89×add-cube-cbrt
42×difference-of-squares
34×associate-/r*
31×distribute-lft-out
21×distribute-lft-out--
15×add-exp-log
11×associate-/r/
add-cbrt-cube associate-/l*
div-exp
div-inv
flip3-+ flip-+
cbrt-undiv
pow1
expm1-log1p-u rec-exp frac-2neg 1-exp clear-num log1p-expm1-u associate-/l/ add-log-exp
flip3-- pow-flip div-sub flip-- inv-pow
Counts
2 → 199
Calls
2 calls:
14.0ms
(/ 1 (/ (- 1.0 (/ y z)) (+ x y)))
13.0ms
(/ (- 1.0 (/ y z)) (+ x y))

series158.0ms

Counts
2 → 6
Calls
2 calls:
115.0ms
(/ 1 (/ (- 1.0 (/ y z)) (+ x y)))
43.0ms
(/ (- 1.0 (/ y z)) (+ x y))

simplify74.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05972063
126631879
250011714

prune217.0ms

Filtered
205 candidates to 90 candidates (43.9%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2032205
Fresh235
Picked011
Done011
Total2057212

Merged error: 3.7b

Counts
212 → 7

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ x y))
0.2b
(/ 1 (- 1.0 (/ y z)))
5.9b
(/ (/ 1 (- 1.0 (/ y z))) (/ 1 (+ x y)))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
1165×times-frac
718×add-sqr-sqrt
693×*-un-lft-identity
413×add-cube-cbrt
122×difference-of-squares
93×associate-/r/
79×distribute-lft-out
61×distribute-lft-out--
51×add-exp-log
47×div-inv
36×div-exp
30×associate-/l*
28×associate-/r*
26×flip3-+ flip-+
20×flip3-- flip--
19×add-cbrt-cube
10×cbrt-undiv rec-exp 1-exp
pow1
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip inv-pow
associate-/l/
Counts
3 → 594
Calls
3 calls:
5.0ms
(/ 1 (+ x y))
8.0ms
(/ 1 (- 1.0 (/ y z)))
28.0ms
(/ (/ 1 (- 1.0 (/ y z))) (/ 1 (+ x y)))

series195.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(/ 1 (+ x y))
46.0ms
(/ 1 (- 1.0 (/ y z)))
117.0ms
(/ (/ 1 (- 1.0 (/ y z))) (/ 1 (+ x y)))

simplify129.0ms

Algorithm
egg-herbie
Counts
603 → 603
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
021458408
150017500

prune823.0ms

Filtered
603 candidates to 236 candidates (39.1%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New6021603
Fresh044
Picked011
Done022
Total6028610

Merged error: 3.7b

Counts
610 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (+ x y) (- 1.0 (/ y z))))
0.2b
(* (sqrt (/ (+ x y) (- 1.0 (/ y z)))) (sqrt (/ (+ x y) (- 1.0 (/ y z)))))
5.9b
(/ (+ x y) (- 1.0 (/ y z)))
5.9b
(/ (+ x y) (- 1.0 (/ y z)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
343×*-un-lft-identity
296×add-sqr-sqrt
257×times-frac
212×sqrt-prod
95×add-cube-cbrt
68×difference-of-squares
64×distribute-lft-out
59×swap-sqr
46×distribute-lft-out--
33×associate-*r* associate-*l*
20×pow1
14×associate-/r/
12×associate-/r*
10×add-exp-log add-cbrt-cube
sqrt-pow1 pow1/2 unswap-sqr
associate-/l*
flip3-- flip-- div-inv
sqrt-div pow-prod-up
expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
pow-prod-down pow-sqr
cbrt-undiv rem-sqrt-square frac-2neg flip3-+ div-exp clear-num flip-+
pow2 frac-times pow-plus sqrt-unprod associate-*r/ associate-*l/ prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 312
Calls
4 calls:
10.0ms
(sqrt (/ (+ x y) (- 1.0 (/ y z))))
40.0ms
(* (sqrt (/ (+ x y) (- 1.0 (/ y z)))) (sqrt (/ (+ x y) (- 1.0 (/ y z)))))
10.0ms
(/ (+ x y) (- 1.0 (/ y z)))
10.0ms
(/ (+ x y) (- 1.0 (/ y z)))

series245.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(sqrt (/ (+ x y) (- 1.0 (/ y z))))
94.0ms
(* (sqrt (/ (+ x y) (- 1.0 (/ y z)))) (sqrt (/ (+ x y) (- 1.0 (/ y z)))))
51.0ms
(/ (+ x y) (- 1.0 (/ y z)))
48.0ms
(/ (+ x y) (- 1.0 (/ y z)))

simplify87.0ms

Algorithm
egg-herbie
Counts
324 → 324
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04692968
120502826
250012794

prune535.0ms

Filtered
324 candidates to 183 candidates (56.5%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New3240324
Fresh044
Picked011
Done033
Total3248332

Merged error: 3.7b

Counts
332 → 8

regimes146.0ms

Accuracy

66.7% (0.6b remaining)

Error of 6.1b against oracle of 5.5b and baseline of 7.3b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02725
12725

end0.0ms

sample414.0ms

Algorithm
intervals
Results
246.0ms7999×body80valid
0.0msbody640valid