Details

Time bar (total: 3.5s)

sample17.0ms

Algorithm
intervals
Results
8.0ms291×body80valid

simplify107.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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.1b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 times-frac associate-*r/ associate-*r* associate-/r*
flip3-+ associate-*l* flip-+ distribute-lft-out
cbrt-undiv expm1-log1p-u div-exp prod-exp associate-/r/ cbrt-unprod log1p-expm1-u associate-/l/ add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
2 → 54
Calls
2 calls:
10.0ms
(* x (+ (/ x y) 1.0))
14.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series89.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0306352
11568305
25001304

prune150.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
155×*-un-lft-identity
146×times-frac
71×add-sqr-sqrt add-cube-cbrt
42×distribute-lft-out
26×associate-/r*
11×associate-/r/
add-exp-log add-cbrt-cube
associate-/l*
flip3-+ flip-+ div-inv
cbrt-undiv div-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u associate-/l/ add-log-exp
Counts
2 → 150
Calls
2 calls:
15.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
12.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series136.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
84.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify94.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05041464
123901406
250021404

prune345.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
0.1b
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
11.5b
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
26×*-un-lft-identity
22×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×prod-diff
13×associate-*l*
12×distribute-rgt-in distribute-lft-in
associate-*r*
times-frac
pow1
associate-*r/ prod-exp cbrt-unprod
cbrt-undiv flip3-- div-exp associate-/r* associate-/r/ flip-- difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp
frac-times sub-neg flip3-+ pow-prod-down *-commutative flip-+ div-inv associate-/l/ unswap-sqr
frac-2neg associate-*l/ clear-num distribute-lft-out associate-/l* distribute-lft-out--
Counts
3 → 114
Calls
3 calls:
10.0ms
(* x (+ (/ x y) 1.0))
20.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series220.0ms

Counts
3 → 9
Calls
3 calls:
32.0ms
(* x (+ (/ x y) 1.0))
95.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
92.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify148.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
06691467
141801206
250011206

prune284.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (/ x y) 3)
0.3b
(* (/ x y) (/ x y))
1.0b
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
18.0b
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (fma 1.0 (- 1.0 (/ x y)) (* (/ x y) (/ x y))) (+ 1.0 x)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
63×add-sqr-sqrt
59×*-un-lft-identity times-frac
49×add-cube-cbrt
33×add-exp-log add-cbrt-cube
22×associate-*r*
17×unpow-prod-down cube-prod
16×associate-*l*
14×pow1
13×swap-sqr
cbrt-undiv div-exp prod-exp cbrt-unprod
associate-*r/ div-inv
distribute-lft-out unswap-sqr
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow flip3-+ flip-+
pow-prod-down pow-exp associate-/r/ *-commutative associate-/l/ rem-cube-cbrt
cube-div pow2 distribute-rgt-in cube-mult frac-times pow-to-exp pow-pow frac-2neg distribute-lft-in pow-plus unpow3 associate-*l/ clear-num associate-/r* pow-sqr sum-cubes pow-prod-up associate-/l* sqr-pow
Counts
4 → 174
Calls
4 calls:
5.0ms
(pow (/ x y) 3)
11.0ms
(* (/ x y) (/ x y))
31.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
32.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (fma 1.0 (- 1.0 (/ x y)) (* (/ x y) (/ x y))) (+ 1.0 x)))

series320.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(pow (/ x y) 3)
41.0ms
(* (/ x y) (/ x y))
116.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
126.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (fma 1.0 (- 1.0 (/ x y)) (* (/ x y) (/ x y))) (+ 1.0 x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (39.0ms)

IterNodesCost
09141353
150021093

prune791.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes65.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1105

end0.0ms

sample399.0ms

Algorithm
intervals
Results
249.0ms9145×body80valid