Details

Time bar (total: 3.5s)

sample17.0ms

Algorithm
intervals
Results
9.0ms296×body80valid

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.1b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.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))
11.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series70.0ms

Counts
2 → 6
Calls
2 calls:
26.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 (42.0ms)

IterNodesCost
0296332
11504285
25001283

prune102.0ms

Filtered
56 candidates to 38 candidates (67.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New47956
Fresh000
Picked101
Done000
Total48957

Merged error: 0.0b

Counts
57 → 9

localize7.0ms

Local error

Found 2 expressions with local error:

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

series109.0ms

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

simplify69.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04941442
123441386
250011384

prune265.0ms

Filtered
152 candidates to 96 candidates (63.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1493152
Fresh358
Picked011
Done000
Total1529161

Merged error: 0b

Counts
161 → 9

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.1b
(/ 1 (/ (+ (/ x y) 1.0) (+ x 1.0)))

rewrite84.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
frac-2neg clear-num add-log-exp
associate-/l/
pow-flip inv-pow
Counts
3 → 460
Calls
3 calls:
23.0ms
(/ x (/ 1 (/ (+ (/ x y) 1.0) (+ x 1.0))))
10.0ms
(/ (+ (/ x y) 1.0) (+ x 1.0))
15.0ms
(/ 1 (/ (+ (/ x y) 1.0) (+ x 1.0)))

series135.0ms

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

simplify126.0ms

Algorithm
egg-herbie
Counts
469 → 469
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
012845659
150015056

prune568.0ms

Filtered
469 candidates to 229 candidates (48.8%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New4690469
Fresh077
Picked011
Done011
Total4699478

Merged error: 0b

Counts
478 → 9

localize22.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (+ (/ x y) 1.0))
0.2b
(cbrt (+ (/ x y) 1.0))
0.2b
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
9.4b
(/ (* (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (cbrt (+ (/ x y) 1.0))) (+ x 1.0))

rewrite97.0ms

Algorithm
rewrite-expression-head
Rules
70×cbrt-div
38×*-un-lft-identity
36×flip3-+ flip-+
34×associate-*r/
32×cbrt-prod frac-times
26×associate-/l/
24×add-sqr-sqrt
20×add-exp-log
16×add-cube-cbrt associate-*l/
13×add-cbrt-cube
11×pow1
10×distribute-lft-out
swap-sqr
pow1/3
associate-*r* associate-*l* prod-exp cbrt-unprod
cbrt-undiv times-frac div-exp associate-/r* add-log-exp unswap-sqr
pow-prod-down associate-/r/ pow-sqr pow-prod-up
pow2 frac-2neg pow-plus clear-num *-commutative div-inv associate-/l*
Counts
4 → 136
Calls
4 calls:
6.0ms
(cbrt (+ (/ x y) 1.0))
6.0ms
(cbrt (+ (/ x y) 1.0))
17.0ms
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
61.0ms
(/ (* (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (cbrt (+ (/ x y) 1.0))) (+ x 1.0))

series788.0ms

Counts
4 → 12
Calls
4 calls:
236.0ms
(cbrt (+ (/ x y) 1.0))
235.0ms
(cbrt (+ (/ x y) 1.0))
269.0ms
(* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))
47.0ms
(/ (* (* x (* (cbrt (+ (/ x y) 1.0)) (cbrt (+ (/ x y) 1.0)))) (cbrt (+ (/ x y) 1.0))) (+ x 1.0))

simplify78.0ms

Algorithm
egg-herbie
Counts
148 → 148
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05171702
124111463
250011352

prune317.0ms

Filtered
148 candidates to 108 candidates (73.0%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New1480148
Fresh066
Picked011
Done022
Total1489157

Merged error: 0b

Counts
157 → 9

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

sample421.0ms

Algorithm
intervals
Results
278.0ms9130×body80valid