Details

Time bar (total: 3.4s)

sample18.0ms

Algorithm
intervals
Results
10.0ms294×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite45.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:
28.0ms
(* x (+ (/ x y) 1.0))
15.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
60 → 60
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0306352
11568305
25001304

prune114.0ms

Pruning

7 alts after pruning (7 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))

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

series114.0ms

Counts
2 → 6
Calls
2 calls:
48.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
67.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05041464
123901406
250021404

prune263.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (+ (/ x y) 1.0))
0.1b
(sqrt (+ (/ x y) 1.0))
0.1b
(/ (+ x 1.0) (sqrt (+ (/ x y) 1.0)))
0.1b
(/ (/ (+ x 1.0) (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
498×*-un-lft-identity
492×times-frac
296×sqrt-prod
234×add-sqr-sqrt
222×add-cube-cbrt
138×distribute-lft-out
38×associate-/l*
24×sqrt-div
20×associate-/r/
14×associate-/r*
13×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×div-inv
pow1
cbrt-undiv expm1-log1p-u div-exp hypot-def log1p-expm1-u add-log-exp
associate-/l/
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
Counts
4 → 395
Calls
4 calls:
14.0ms
(sqrt (+ (/ x y) 1.0))
16.0ms
(sqrt (+ (/ x y) 1.0))
20.0ms
(/ (+ x 1.0) (sqrt (+ (/ x y) 1.0)))
52.0ms
(/ (/ (+ x 1.0) (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))

series405.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(sqrt (+ (/ x y) 1.0))
79.0ms
(sqrt (+ (/ x y) 1.0))
180.0ms
(/ (+ x 1.0) (sqrt (+ (/ x y) 1.0)))
68.0ms
(/ (/ (+ x 1.0) (sqrt (+ (/ x y) 1.0))) (sqrt (+ (/ x y) 1.0)))

simplify93.0ms

Algorithm
egg-herbie
Counts
407 → 407
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
07416110
125295423
250025362

prune503.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
815×times-frac
620×*-un-lft-identity
344×add-sqr-sqrt add-cube-cbrt
138×distribute-lft-out
97×associate-/r*
40×associate-/r/
35×add-exp-log
23×div-inv
22×div-exp
19×add-cbrt-cube
18×flip3-+ flip-+
10×cbrt-undiv associate-/l*
pow1 rec-exp 1-exp
expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/l/
pow-flip inv-pow
Counts
3 → 466
Calls
3 calls:
36.0ms
(/ x (/ 1 (/ (+ (/ x y) 1.0) (+ x 1.0))))
26.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
25.0ms
(/ 1 (/ (+ (/ x y) 1.0) (+ x 1.0)))

series145.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(/ x (/ 1 (/ (+ (/ x y) 1.0) (+ x 1.0))))
29.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
70.0ms
(/ 1 (/ (+ (/ x y) 1.0) (+ x 1.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
475 → 475
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
012975686
150015082

prune649.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

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

sample389.0ms

Algorithm
intervals
Results
244.0ms9162×body80valid