Details

Time bar (total: 6.4s)

sample15.0ms

Algorithm
intervals
Results
7.0ms305×body80valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1295
2455
3565
4745
5865
61205
71365
81465
91505
101605
114465
1226955
1350015

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
9.0b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
73×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
33×add-cube-cbrt
24×associate-*r*
20×distribute-lft-out
18×associate-*l*
13×associate-/l*
add-exp-log add-cbrt-cube
*-commutative unswap-sqr
pow1 associate-*r/ associate-/r*
flip3-+ flip-+
cbrt-undiv +-commutative distribute-rgt-in expm1-log1p-u distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
frac-2neg pow-prod-down clear-num div-inv
Counts
2 → 116
Calls
2 calls:
13.0ms
(* x (+ (/ x y) 1.0))
16.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series67.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(* x (+ (/ x y) 1.0))
42.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0435939
12134892
25002892

prune208.0ms

Filtered
122 candidates to 78 candidates (63.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1166122
Fresh000
Picked101
Done000
Total1176123

Merged error: 0b

Counts
123 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x 1.0) x)
0.1b
(/ (+ (/ x y) 1.0) (/ (+ x 1.0) x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
144×*-un-lft-identity
136×times-frac
70×add-sqr-sqrt add-cube-cbrt
37×distribute-lft-out
22×associate-/r*
12×associate-/r/ associate-/l*
add-exp-log add-cbrt-cube
div-inv
associate-/l/
cbrt-undiv div-exp
frac-2neg flip3-+ clear-num flip-+
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
Counts
2 → 149
Calls
2 calls:
6.0ms
(/ (+ x 1.0) x)
17.0ms
(/ (+ (/ x y) 1.0) (/ (+ x 1.0) x))

series92.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(/ (+ x 1.0) x)
46.0ms
(/ (+ (/ x y) 1.0) (/ (+ x 1.0) x))

simplify70.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04911330
120941277
250011275

prune266.0ms

Filtered
155 candidates to 98 candidates (63.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1532155
Fresh235
Picked101
Done000
Total1565161

Merged error: 0b

Counts
161 → 5

localize8.0ms

Local error

Found 1 expressions with local error:

0.1b
(/ (+ (/ x y) 1.0) (fma 1.0 (/ 1 x) 1))

rewrite11.0ms

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

series35.0ms

Counts
1 → 3
Calls
1 calls:
35.0ms
(/ (+ (/ x y) 1.0) (fma 1.0 (/ 1 x) 1))

simplify100.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0181335
1627311
22987311
35001309

prune83.0ms

Filtered
38 candidates to 27 candidates (71.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38038
Fresh044
Picked011
Done000
Total38543

Merged error: 0b

Counts
43 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
0.0b
(* x (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))
3.5b
(/ (+ (/ x y) 1.0) (+ (pow x 3) (pow 1.0 3)))
14.6b
(* (/ (+ (/ x y) 1.0) (+ (pow x 3) (pow 1.0 3))) (* x (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))

rewrite426.0ms

Algorithm
rewrite-expression-head
Rules
1274×associate-+r+
1260×prod-diff
1186×add-sqr-sqrt
1098×*-un-lft-identity
920×distribute-rgt-in distribute-lft-in
790×add-cube-cbrt
669×associate-*l*
618×associate-*r*
255×swap-sqr
198×unswap-sqr
193×*-commutative
118×distribute-lft-out
98×times-frac
48×unpow-prod-down pow-unpow cube-prod associate-*r/ associate-/r* sum-cubes
42×frac-times
30×flip3-+ flip-+
24×distribute-lft-out--
21×associate-*l/
20×add-exp-log add-cbrt-cube
16×associate-/l*
15×fma-def
11×pow1
add-log-exp
associate-/l/
+-commutative sub-neg prod-exp cbrt-unprod
expm1-log1p-u frac-2neg pow-prod-down clear-num associate-/r/ log1p-expm1-u
cbrt-undiv div-exp
sum-log div-inv
associate-+r- diff-log
Counts
4 → 1605
Calls
4 calls:
50.0ms
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
61.0ms
(* x (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))
21.0ms
(/ (+ (/ x y) 1.0) (+ (pow x 3) (pow 1.0 3)))
123.0ms
(* (/ (+ (/ x y) 1.0) (+ (pow x 3) (pow 1.0 3))) (* x (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))

series204.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (* x x) (- (* 1.0 1.0) (* x 1.0)))
42.0ms
(* x (+ (* x x) (- (* 1.0 1.0) (* x 1.0))))
49.0ms
(/ (+ (/ x y) 1.0) (+ (pow x 3) (pow 1.0 3)))
92.0ms
(* (/ (+ (/ x y) 1.0) (+ (pow x 3) (pow 1.0 3))) (* x (+ (* x x) (- (* 1.0 1.0) (* x 1.0)))))

simplify384.0ms

Algorithm
egg-herbie
Counts
1617 → 1617
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0500137018

prune3.7s

Filtered
1617 candidates to 730 candidates (45.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New161611617
Fresh123
Picked011
Done011
Total161751622

Merged error: 0b

Counts
1622 → 5

regimes46.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0125
1125

end0.0ms

sample376.0ms

Algorithm
intervals
Results
234.0ms9217×body80valid