Details

Time bar (total: 3.5s)

sample16.0ms

Algorithm
intervals
Results
7.0ms288×body80valid

simplify101.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0195
1275
2405
3475
4635
5755
61065
71125
81185
91225
101305
114025
1226055
1350015

prune2.0ms

Filtered
1 candidates to 0 candidates (100.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 3 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
52×times-frac
46×add-sqr-sqrt
34×add-cube-cbrt
24×associate-*r*
21×distribute-lft-out
18×associate-*l*
13×associate-/l*
10×add-exp-log add-cbrt-cube
*-commutative unswap-sqr
pow1 add-log-exp
flip3-+ associate-*r/ associate-/r* flip-+
+-commutative
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/
frac-2neg pow-prod-down clear-num sum-log div-inv
Counts
3 → 124
Calls
3 calls:
7.0ms
(+ (/ x y) 1.0)
10.0ms
(* x (+ (/ x y) 1.0))
19.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

series92.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ (/ x y) 1.0)
32.0ms
(* x (+ (/ x y) 1.0))
47.0ms
(/ (* x (+ (/ x y) 1.0)) (+ x 1.0))

simplify71.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0426980
12047926
25001926

prune163.0ms

Filtered
133 candidates to 84 candidates (36.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1294133
Fresh000
Picked101
Done000
Total1304134

Merged error: 0b

Counts
134 → 4

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
32×add-sqr-sqrt
27×add-cube-cbrt
25×times-frac
20×frac-times
18×associate-*r*
16×associate-/r*
14×flip3-+ flip-+
13×associate-/l*
12×distribute-lft-out
10×add-exp-log associate-*r/ add-cbrt-cube
pow1 clear-num add-log-exp
frac-2neg associate-*l* associate-/r/
cbrt-undiv div-exp associate-*l/ prod-exp un-div-inv cbrt-unprod div-inv unswap-sqr
+-commutative pow-prod-down sum-log *-commutative
Counts
3 → 116
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(+ (/ x y) 1.0)
17.0ms
(* (+ (/ x y) 1.0) (/ x (+ x 1.0)))

series98.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(/ x (+ x 1.0))
12.0ms
(+ (/ x y) 1.0)
48.0ms
(* (+ (/ x y) 1.0) (/ x (+ x 1.0)))

simplify77.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0441865
12316811
25002811

prune167.0ms

Filtered
125 candidates to 86 candidates (31.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1232125
Fresh213
Picked011
Done000
Total1254129

Merged error: 0b

Counts
129 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ x y) 1.0)
0.1b
(* x (+ (/ x y) 1.0))
0.2b
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
9.4b
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

rewrite83.0ms

Algorithm
rewrite-expression-head
Rules
434×times-frac
387×*-un-lft-identity
248×add-sqr-sqrt
202×add-cube-cbrt
92×associate-*r* distribute-lft-out
84×associate-/r*
69×associate-*l*
32×add-exp-log associate-/r/
23×*-commutative unswap-sqr
20×add-cbrt-cube
14×div-exp
13×associate-/l*
12×associate-*r/
flip3-+ flip-+
pow1 cbrt-undiv
div-inv add-log-exp
prod-exp
clear-num associate-/l/
+-commutative rec-exp frac-2neg 1-exp cbrt-unprod remove-double-div
distribute-rgt-in distribute-lft-in
pow-flip pow-prod-down sum-log inv-pow
Counts
4 → 408
Calls
4 calls:
7.0ms
(+ (/ x y) 1.0)
10.0ms
(* x (+ (/ x y) 1.0))
25.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
15.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

series183.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(+ (/ x y) 1.0)
31.0ms
(* x (+ (/ x y) 1.0))
47.0ms
(/ 1 (/ (+ x 1.0) (* x (+ (/ x y) 1.0))))
92.0ms
(/ (+ x 1.0) (* x (+ (/ x y) 1.0)))

simplify88.0ms

Algorithm
egg-herbie
Counts
420 → 420
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
010094123
150013723

prune432.0ms

Filtered
420 candidates to 212 candidates (49.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4200420
Fresh022
Picked011
Done011
Total4204424

Merged error: 0b

Counts
424 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite160.0ms

Algorithm
rewrite-expression-head
Rules
710×sqrt-div
560×frac-times
368×*-un-lft-identity
284×associate-/r*
252×add-sqr-sqrt
213×associate-/l*
192×add-cube-cbrt
137×flip3-+ flip-+
130×associate-*r/
108×sqrt-prod
88×distribute-lft-out
71×frac-2neg times-frac clear-num
63×associate-*r*
56×associate-*l/
41×associate-*l*
27×unswap-sqr
13×pow1
11×add-exp-log add-cbrt-cube
10×associate-/r/
div-inv
rem-sqrt-square pow-prod-down prod-exp cbrt-unprod add-log-exp
*-commutative
sqrt-pow1 pow1/2
Counts
4 → 591
Calls
4 calls:
6.0ms
(sqrt (/ x (+ x 1.0)))
6.0ms
(sqrt (/ x (+ x 1.0)))
48.0ms
(* (+ (/ x y) 1.0) (sqrt (/ x (+ x 1.0))))
47.0ms
(* (* (+ (/ x y) 1.0) (sqrt (/ x (+ x 1.0)))) (sqrt (/ x (+ x 1.0))))

series281.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(sqrt (/ x (+ x 1.0)))
61.0ms
(sqrt (/ x (+ x 1.0)))
87.0ms
(* (+ (/ x y) 1.0) (sqrt (/ x (+ x 1.0))))
69.0ms
(* (* (+ (/ x y) 1.0) (sqrt (/ x (+ x 1.0)))) (sqrt (/ x (+ x 1.0))))

simplify139.0ms

Algorithm
egg-herbie
Counts
603 → 603
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
017438978
150028591

prune828.0ms

Filtered
603 candidates to 284 candidates (52.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New6030603
Fresh011
Picked011
Done022
Total6034607

Merged error: 0b

Counts
607 → 4

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

sample386.0ms

Algorithm
intervals
Results
240.0ms9121×body80valid