Details

Time bar (total: 2.8s)

sample20.0ms

Algorithm
intervals
Results
11.0ms279×body80valid

simplify81.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: 10.1b

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (+ (/ x y) 1.0))
9.5b
(/ (* 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:
49.0ms
(* x (+ (/ x y) 1.0))
30.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series67.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0306352
11568305
25001304

prune166.0ms

Pruning

4 alts after pruning (4 fresh and 0 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))

rewrite81.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:
34.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
39.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series108.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
05041464
123901406
250021404

prune482.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

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

rewrite86.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 expm1-log1p-u frac-times associate-*r/ div-exp prod-exp cbrt-unprod log1p-expm1-u 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 → 81
Calls
2 calls:
10.0ms
(/ x (+ x 1.0))
72.0ms
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

series76.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0474534
12069486
25001486

prune262.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
31×add-exp-log
30×add-sqr-sqrt
29×times-frac
23×add-cube-cbrt
19×add-cbrt-cube
18×associate-*r*
11×div-exp
10×associate-/r/
prod-exp distribute-lft-out
pow1 cbrt-undiv flip3-+ flip-+ associate-/l*
associate-/r*
frac-times associate-*l* associate-*l/ cbrt-unprod
expm1-log1p-u rec-exp 1-exp log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg associate-*r/ clear-num un-div-inv
pow-flip pow-prod-down *-commutative inv-pow
Counts
3 → 120
Calls
3 calls:
26.0ms
(/ x (* (+ x 1.0) (/ 1 (+ (/ x y) 1.0))))
69.0ms
(* (+ x 1.0) (/ 1 (+ (/ x y) 1.0)))
24.0ms
(/ 1 (+ (/ x y) 1.0))

series144.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ x (* (+ x 1.0) (/ 1 (+ (/ x y) 1.0))))
65.0ms
(* (+ x 1.0) (/ 1 (+ (/ x y) 1.0)))
40.0ms
(/ 1 (+ (/ x y) 1.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0449827
12262701
25001662

prune300.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

sample426.0ms

Algorithm
intervals
Results
278.0ms9110×body80valid