Details

Time bar (total: 2.2s)

sample17.0ms

Algorithm
intervals
Results
7.0ms291×body80valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
1350015

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.9b

localize7.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 div-exp prod-exp associate-/r/ cbrt-unprod 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 → 50
Calls
2 calls:
46.0ms
(* x (+ (/ x y) 1.0))
32.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series68.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0296332
11504285
25001283

prune100.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

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

rewrite80.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 frac-2neg clear-num associate-/l/ add-log-exp
Counts
2 → 146
Calls
2 calls:
37.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
36.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series114.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04941442
123441386
250021384

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

rewrite66.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*
flip3-+ associate-*l* flip-+
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod div-inv associate-/l/ unswap-sqr
+-commutative frac-2neg associate-*r/ pow-prod-down clear-num sum-log *-commutative
Counts
3 → 84
Calls
3 calls:
11.0ms
(+ (* x (/ x y)) (* x 1.0))
13.0ms
(* x (/ x y))
39.0ms
(/ (+ (* x (/ x y)) (* x 1.0)) (+ x 1.0))

series90.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(+ (* x (/ x y)) (* x 1.0))
18.0ms
(* x (/ x y))
43.0ms
(/ (+ (* x (/ x y)) (* x 1.0)) (+ x 1.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0390634
11859571
25001566

prune159.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
33×*-un-lft-identity
29×times-frac
28×add-exp-log
21×add-cube-cbrt
13×associate-*r*
12×prod-exp unswap-sqr
10×add-cbrt-cube
associate-*l*
div-exp
unpow-prod-down
add-log-exp
pow-to-exp pow-exp associate-/r* distribute-lft-out unpow2 sqr-pow
pow1 rec-exp flip3-+ 1-exp flip-+ associate-/l*
cbrt-undiv associate-/r/ cbrt-unprod div-inv associate-/l/
+-commutative frac-2neg associate-*r/ clear-num sum-log un-div-inv *-commutative
Counts
3 → 103
Calls
3 calls:
13.0ms
(+ (* (pow x 2) (/ 1 y)) (* x 1.0))
21.0ms
(* (pow x 2) (/ 1 y))
42.0ms
(/ (+ (* (pow x 2) (/ 1 y)) (* x 1.0)) (+ x 1.0))

series92.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* (pow x 2) (/ 1 y)) (* x 1.0))
19.0ms
(* (pow x 2) (/ 1 y))
44.0ms
(/ (+ (* (pow x 2) (/ 1 y)) (* x 1.0)) (+ x 1.0))

simplify63.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0478860
11963722
25002699

prune196.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

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

sample452.0ms

Algorithm
intervals
Results
244.0ms9133×body80valid