Details

Time bar (total: 3.9s)

sample15.0ms

Algorithm
intervals
Results
8.0ms289×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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: 10.6b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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:
9.0ms
(* x (+ (/ x y) 1.0))
12.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series72.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0296332
11504285
25001283

prune108.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

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

rewrite30.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:
13.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
10.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series112.0ms

Counts
2 → 6
Calls
2 calls:
44.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
68.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04941442
123441386
250021384

prune268.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.0b
(/ x (+ x 1.0))
0.0b
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

rewrite22.0ms

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

series81.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0461516
11934468
25001464

prune157.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ x y) (/ x y))
0.3b
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
6.3b
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
11.3b
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
1482×times-frac
895×add-sqr-sqrt
877×*-un-lft-identity
523×add-cube-cbrt
249×difference-of-squares
105×distribute-lft-out
78×associate-/l*
72×distribute-lft-out--
62×associate-/r/
39×div-inv
32×add-exp-log associate-/r* add-cbrt-cube
27×flip3-- flip--
14×cbrt-undiv div-exp
13×swap-sqr associate-*r* associate-*l*
11×pow1
prod-exp cbrt-unprod add-log-exp unswap-sqr
frac-2neg clear-num associate-/l/
pow2 frac-times flip3-+ pow-plus associate-*r/ pow-prod-down associate-*l/ pow-sqr *-commutative pow-prod-up flip-+
Counts
4 → 735
Calls
4 calls:
10.0ms
(* (/ x y) (/ x y))
14.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
11.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
34.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

series267.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (/ x y) (/ x y))
81.0ms
(/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0))))
74.0ms
(/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))
82.0ms
(/ (/ x (/ (+ x 1.0) (- (* (/ x y) (/ x y)) (* 1.0 1.0)))) (- (/ x y) 1.0))

simplify177.0ms

Algorithm
egg-herbie
Counts
747 → 747
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0267915205
1500114896

prune1.7s

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes38.0ms

Accuracy

0% (0.0b 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
0115
1115

end0.0ms

sample396.0ms

Algorithm
intervals
Results
254.0ms9146×body80valid