Details

Time bar (total: 2.9s)

sample17.0ms

Algorithm
intervals
Results
8.0ms291×body80valid

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

localize6.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))

rewrite52.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:
33.0ms
(* x (+ (/ x y) 1.0))
17.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))

simplify48.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0306352
11568305
25001304

prune110.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize7.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))

rewrite55.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:
23.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
21.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series108.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05041464
123901406
250021404

prune272.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize11.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)))

rewrite111.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:
32.0ms
(* x (+ (/ x y) 1.0))
56.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
18.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

series173.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(* x (+ (/ x y) 1.0))
74.0ms
(* (/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0))) (- x 1.0))
74.0ms
(/ (* x (+ (/ x y) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify114.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
06691467
141801206
250011206

prune213.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

localize15.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)))

rewrite215.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:
4.0ms
(pow (/ x y) 3)
15.0ms
(* (/ x y) (/ x y))
136.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
53.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (fma 1.0 (- 1.0 (/ x y)) (* (/ x y) (/ x y))) (+ 1.0 x)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(pow (/ x y) 3)
25.0ms
(* (/ x y) (/ x y))
86.0ms
(* x (+ (pow (/ x y) 3) (pow 1.0 3)))
94.0ms
(/ (* x (+ (pow (/ x y) 3) (pow 1.0 3))) (* (fma 1.0 (- 1.0 (/ x y)) (* (/ x y) (/ x y))) (+ 1.0 x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
09141353
150021093

prune438.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0.0b

regimes57.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0105
1105

end0.0ms

sample384.0ms

Algorithm
intervals
Results
240.0ms9145×body80valid