Details

Time bar (total: 3.6s)

sample22.0ms

Algorithm
intervals
Results
4.0ms189×body80valid
4.0ms21×body320valid
2.0ms17×body1280valid
2.0ms19×body640valid
0.0ms10×body160valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (11.0ms)

IterNodesCost
0165
1355
2765
31375
42854
54594
67194
78484
810644
913974
1021014
1150024

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 16.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ y (+ y 1.0))
3.3b
(fma (/ y (+ y 1.0)) (- x 1.0) 1.0)

rewrite13.0ms

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

series94.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(/ y (+ y 1.0))
59.0ms
(fma (/ y (+ y 1.0)) (- x 1.0) 1.0)

simplify108.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0203263
1708238
23148232
35002228

prune141.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 7.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt y)
0.6b
(cbrt y)
0.6b
(cbrt y)
10.6b
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (+ y 1.0))) (- x 1.0) 1.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow1/3
fma-udef
Counts
4 → 49
Calls
4 calls:
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)
0.0ms
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (+ y 1.0))) (- x 1.0) 1.0)

series648.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt y)
190.0ms
(cbrt y)
196.0ms
(cbrt y)
70.0ms
(fma (* (* (cbrt y) (cbrt y)) (/ (cbrt y) (+ y 1.0))) (- x 1.0) 1.0)

simplify49.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (44.0ms)

IterNodesCost
0104277
1282243
21092232
35002228

prune219.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 7.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
304×times-frac
276×*-un-lft-identity
200×add-sqr-sqrt
134×add-cube-cbrt
85×fma-def
38×distribute-lft-out
33×distribute-lft-out-- difference-of-squares
19×associate-/r*
14×div-inv
10×add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
cbrt-undiv div-exp associate-/l/
pow1 expm1-log1p-u log1p-expm1-u
frac-2neg flip3-+ div-sub clear-num associate-/r/ flip-+
+-commutative associate-+l- flip3-- sum-log flip--
Counts
3 → 256
Calls
3 calls:
18.0ms
(/ (+ y 1.0) y)
30.0ms
(/ (- x 1.0) (/ (+ y 1.0) y))
113.0ms
(+ (/ (- x 1.0) (/ (+ y 1.0) y)) 1.0)

series175.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(/ (+ y 1.0) y)
51.0ms
(/ (- x 1.0) (/ (+ y 1.0) y))
75.0ms
(+ (/ (- x 1.0) (/ (+ y 1.0) y)) 1.0)

simplify76.0ms

Algorithm
egg-herbie
Counts
265 → 265
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07021484
127231425
250011422

prune806.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- x 1.0) (+ y 1.0))
16.1b
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
23×add-sqr-sqrt
20×times-frac
13×add-cube-cbrt
distribute-lft-out
associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log associate-/r* add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv flip3-- frac-2neg flip3-+ div-sub div-exp clear-num flip-- flip-+ fma-udef div-inv
Counts
2 → 58
Calls
2 calls:
23.0ms
(/ (- x 1.0) (+ y 1.0))
0.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

series97.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(/ (- x 1.0) (+ y 1.0))
67.0ms
(fma (/ (- x 1.0) (+ y 1.0)) y 1.0)

simplify118.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0276398
1840371
24158364
35001364

prune135.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

regimes60.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 14.6b

bsearch70.0ms

Steps
ItersRangePoint
9
6031.575547282502
2908035933644.0933
117884680.70271897
7
-15126611761059.418
-210229570708.90164
-213552842032.68936

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0248
1248

end0.0ms

sample478.0ms

Algorithm
intervals
Results
152.0ms6069×body80valid
64.0ms779×body640valid
37.0ms350×body1280valid
33.0ms516×body320valid
13.0ms286×body160valid