Details

Time bar (total: 2.3s)

sample16.0ms

Algorithm
intervals
Results
7.0ms291×body80valid

simplify68.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: 8.9b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite80.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:
48.0ms
(* x (+ (/ x y) 1.0))
30.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series63.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0306352
11568305
25001304

prune117.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 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))

rewrite83.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:
35.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
40.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series101.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
62.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05041464
123901406
250021404

prune257.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x (/ x y)) (* x 1.0))
0.2b
(* x (/ x y))
8.3b
(/ (+ (* x (/ x y)) (* x 1.0)) (+ x 1.0))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
31×*-un-lft-identity
26×add-sqr-sqrt times-frac
21×add-cube-cbrt
13×associate-*r*
11×distribute-lft-out
10×add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-/r* associate-/l*
expm1-log1p-u flip3-+ associate-*l* flip-+ log1p-expm1-u
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative fma-def frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 91
Calls
3 calls:
11.0ms
(+ (* x (/ x y)) (* x 1.0))
13.0ms
(* x (/ x y))
40.0ms
(/ (+ (* x (/ x y)) (* x 1.0)) (+ x 1.0))

series78.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0404663
11903601
25001596

prune180.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ (pow x 2) y) (* x 1.0))
7.1b
(/ (pow x 2) y)
8.3b
(/ (+ (/ (pow x 2) y) (* x 1.0)) (+ x 1.0))

rewrite122.0ms

Algorithm
rewrite-expression-head
Rules
60×times-frac
52×*-un-lft-identity
44×add-sqr-sqrt add-cube-cbrt
28×fma-def
21×unpow-prod-down
11×associate-/l*
10×add-exp-log
associate-/r* add-cbrt-cube unpow2 sqr-pow
add-log-exp
div-exp distribute-lft-out
pow1 expm1-log1p-u flip3-+ flip-+ log1p-expm1-u div-inv
cbrt-undiv frac-2neg clear-num associate-/r/ associate-/l/
+-commutative pow-to-exp pow-exp sum-log
Counts
3 → 129
Calls
3 calls:
32.0ms
(+ (/ (pow x 2) y) (* x 1.0))
9.0ms
(/ (pow x 2) y)
77.0ms
(/ (+ (/ (pow x 2) y) (* x 1.0)) (+ x 1.0))

series94.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (/ (pow x 2) y) (* x 1.0))
17.0ms
(/ (pow x 2) y)
48.0ms
(/ (+ (/ (pow x 2) y) (* x 1.0)) (+ x 1.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0387748
11501672
25001661

prune314.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample421.0ms

Algorithm
intervals
Results
219.0ms9133×body80valid