Details

Time bar (total: 3.2s)

sample15.0ms

Algorithm
intervals
Results
7.0ms309×body80valid

simplify66.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: 9.1b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(* x (+ (/ x y) 1.0))
8.5b
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
pow1 add-log-exp
flip3-+ times-frac associate-*r/ associate-*r* associate-/r* flip-+ distribute-lft-out
associate-*l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
+-commutative distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 62
Calls
3 calls:
9.0ms
(+ (/ x y) 1.0)
29.0ms
(* x (+ (/ x y) 1.0))
15.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series80.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
24.0ms
(* x (+ (/ x y) 1.0))
44.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0301391
11508339
25001337

prune130.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
158×*-un-lft-identity
146×times-frac
72×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
26×associate-/r*
11×associate-/r/
10×add-exp-log add-cbrt-cube
flip3-+ flip-+ associate-/l*
div-inv
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
+-commutative sum-log
Counts
3 → 158
Calls
3 calls:
9.0ms
(+ (/ x y) 1.0)
24.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
20.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

series119.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
41.0ms
(/ x (/ (+ x 1.0) (+ (/ x y) 1.0)))
67.0ms
(/ (+ x 1.0) (+ (/ x y) 1.0))

simplify69.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04991501
123491440
250011438

prune285.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite62.0ms

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

series88.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (/ x y) 1.0)
33.0ms
(/ x (+ x 1.0))
44.0ms
(* (/ x (+ x 1.0)) (+ (/ x y) 1.0))

simplify50.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0466575
11970522
25001522

prune183.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite194.0ms

Algorithm
rewrite-expression-head
Rules
438×times-frac
391×*-un-lft-identity
234×add-sqr-sqrt
207×add-cube-cbrt
146×sqrt-prod
107×associate-*r*
92×distribute-lft-out
41×associate-/r*
22×sqrt-div
20×add-exp-log add-cbrt-cube
18×associate-/r/
12×flip3-+ flip-+
10×div-inv
unswap-sqr
pow1 cbrt-undiv div-exp associate-*l* associate-/l*
add-log-exp
prod-exp cbrt-unprod
frac-times frac-2neg associate-*l/ clear-num associate-/l/
rem-sqrt-square sqrt-pow1 pow1/2 associate-*r/ pow-prod-down *-commutative
Counts
4 → 367
Calls
4 calls:
13.0ms
(sqrt (+ (/ x y) 1.0))
29.0ms
(/ x (/ (+ x 1.0) (sqrt (+ (/ x y) 1.0))))
21.0ms
(/ (+ x 1.0) (sqrt (+ (/ x y) 1.0)))
107.0ms
(* (sqrt (+ (/ x y) 1.0)) (/ x (/ (+ x 1.0) (sqrt (+ (/ x y) 1.0)))))

series441.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(sqrt (+ (/ x y) 1.0))
126.0ms
(/ x (/ (+ x 1.0) (sqrt (+ (/ x y) 1.0))))
184.0ms
(/ (+ x 1.0) (sqrt (+ (/ x y) 1.0)))
50.0ms
(* (sqrt (+ (/ x y) 1.0)) (/ x (/ (+ x 1.0) (sqrt (+ (/ x y) 1.0)))))

simplify76.0ms

Algorithm
egg-herbie
Counts
379 → 379
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
09664423
150014123

prune697.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

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

sample368.0ms

Algorithm
intervals
Results
230.0ms9180×body80valid