Details

Time bar (total: 3.9s)

sample15.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify8.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: 8.1b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite13.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:
11.0ms
(/ (+ x y) (- 1.0 (/ y z)))

series58.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0208432
1632414
21909414
35002414

prune128.0ms

Filtered
55 candidates to 37 candidates (67.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New48755
Fresh000
Picked011
Done000
Total48856

Merged error: 5.9b

Counts
56 → 8

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
232×times-frac
202×*-un-lft-identity
201×add-sqr-sqrt
91×add-cube-cbrt
44×difference-of-squares
38×associate-/r*
32×distribute-lft-out
25×associate-/r/
23×distribute-lft-out--
17×associate-/l*
15×add-exp-log
add-cbrt-cube
div-exp
div-inv
flip3-+ flip-+
cbrt-undiv clear-num associate-/l/
pow1 frac-2neg remove-double-div
expm1-log1p-u rec-exp flip3-- 1-exp flip-- log1p-expm1-u add-log-exp
pow-flip div-sub inv-pow
Counts
2 → 216
Calls
2 calls:
17.0ms
(/ 1 (/ (- 1.0 (/ y z)) (+ x y)))
14.0ms
(/ (- 1.0 (/ y z)) (+ x y))

series177.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06252122
127741936
250011765

prune307.0ms

Filtered
222 candidates to 95 candidates (42.8%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2175222
Fresh516
Picked011
Done011
Total2228230

Merged error: 5.9b

Counts
230 → 8

localize8.0ms

Local error

Found 2 expressions with local error:

0.8b
(/ 1 (- 1.0 (/ y z)))
7.1b
(* (/ 1 (- 1.0 (/ y z))) (+ x y))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
87×add-sqr-sqrt
53×*-un-lft-identity
48×times-frac
30×add-cube-cbrt
24×frac-times associate-*l* associate-/r*
20×difference-of-squares
15×add-exp-log
13×flip3-+ flip-+
12×associate-*l/ associate-/l*
10×distribute-lft-out--
add-cbrt-cube
pow1
frac-2neg div-exp associate-*r* prod-exp clear-num associate-/r/
unswap-sqr
cbrt-undiv +-commutative distribute-rgt-in expm1-log1p-u rec-exp flip3-- distribute-lft-in 1-exp associate-*r/ flip-- cbrt-unprod log1p-expm1-u div-inv add-log-exp
pow-flip pow-prod-down *-commutative distribute-lft-out inv-pow
Counts
2 → 137
Calls
2 calls:
9.0ms
(/ 1 (- 1.0 (/ y z)))
19.0ms
(* (/ 1 (- 1.0 (/ y z))) (+ x y))

series178.0ms

Counts
2 → 6
Calls
2 calls:
51.0ms
(/ 1 (- 1.0 (/ y z)))
127.0ms
(* (/ 1 (- 1.0 (/ y z))) (+ x y))

simplify86.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07451021
13638926
25001873

prune280.0ms

Filtered
143 candidates to 84 candidates (58.7%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1421143
Fresh145
Picked011
Done022
Total1438151

Merged error: 5.9b

Counts
151 → 8

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ x y) (sqrt (- 1.0 (/ y z))))
0.1b
(/ (/ (+ x y) (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z))))
4.0b
(sqrt (- 1.0 (/ y z)))
4.0b
(sqrt (- 1.0 (/ y z)))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
865×times-frac
752×add-sqr-sqrt
679×*-un-lft-identity
546×sqrt-prod
295×add-cube-cbrt
182×difference-of-squares
101×distribute-lft-out
91×distribute-lft-out--
50×associate-/l*
28×sqrt-div
27×associate-/r*
24×associate-/r/
22×associate-/l/
14×flip3-- flip--
12×div-inv
11×add-exp-log add-cbrt-cube
pow1
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg clear-num
rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 flip-+
Counts
4 → 572
Calls
4 calls:
19.0ms
(/ (+ x y) (sqrt (- 1.0 (/ y z))))
32.0ms
(/ (/ (+ x y) (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z))))
9.0ms
(sqrt (- 1.0 (/ y z)))
10.0ms
(sqrt (- 1.0 (/ y z)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(/ (+ x y) (sqrt (- 1.0 (/ y z))))
58.0ms
(/ (/ (+ x y) (sqrt (- 1.0 (/ y z)))) (sqrt (- 1.0 (/ y z))))
87.0ms
(sqrt (- 1.0 (/ y z)))
91.0ms
(sqrt (- 1.0 (/ y z)))

simplify156.0ms

Algorithm
egg-herbie
Counts
584 → 584
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
011659998
139979208
250019183

prune1.0s

Filtered
584 candidates to 227 candidates (38.9%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New5840584
Fresh044
Picked011
Done033
Total5848592

Merged error: 5.9b

Counts
592 → 8

regimes420.0ms

Accuracy

67.6% (0.6b remaining)

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

bsearch4.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03126
13126

end0.0ms

sample368.0ms

Algorithm
intervals
Results
203.0ms7997×body80valid
0.0msbody1280valid
0.0msbody640valid