Details

Time bar (total: 4.8s)

sample68.0ms

Algorithm
intervals
Results
25.0ms52×body1280valid
17.0ms59×body640valid
7.0ms145×body80valid
4.0ms19×body320valid
3.0ms84×body80nan
1.0ms12×body160valid

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (7.0ms)

IterNodesCost
0156
1246
2516
31066
43044
57744
641424
750014

prune4.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 9.2b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (pow (/ x (+ x y)) x) x)
0.0b
(/ x (+ x y))
5.3b
(pow (/ x (+ x y)) x)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
118×*-un-lft-identity
90×unpow-prod-down
80×add-sqr-sqrt add-cube-cbrt
25×associate-/l*
19×distribute-lft-out
16×add-exp-log
12×associate-/r/
div-exp associate-/r* add-cbrt-cube div-inv
flip3-+ flip-+
sqr-pow
pow1 pow-exp
pow-unpow add-log-exp
cbrt-undiv pow-to-exp frac-2neg clear-num
pow-pow
Counts
3 → 172
Calls
3 calls:
10.0ms
(/ (pow (/ x (+ x y)) x) x)
5.0ms
(/ x (+ x y))
6.0ms
(pow (/ x (+ x y)) x)

series400.0ms

Counts
3 → 9
Calls
3 calls:
129.0ms
(/ (pow (/ x (+ x y)) x) x)
40.0ms
(/ x (+ x y))
231.0ms
(pow (/ x (+ x y)) x)

simplify72.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05371436
126401406
250011406

prune332.0ms

Filtered
181 candidates to 131 candidates (72.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1783181
Fresh000
Picked101
Done000
Total1793182

Merged error: 0.8b

Counts
182 → 3

localize4.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (exp (* -1 y)) x)

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
associate-/r* add-cbrt-cube associate-/l*
add-exp-log
pow1 cbrt-undiv exp-neg frac-2neg mul-1-neg div-exp clear-num div-inv associate-/l/ add-log-exp
Counts
1 → 28
Calls
1 calls:
4.0ms
(/ (exp (* -1 y)) x)

series19.0ms

Counts
1 → 3
Calls
1 calls:
19.0ms
(/ (exp (* -1 y)) x)

simplify46.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
0114186
1303172
21465170
35003170

prune50.0ms

Filtered
31 candidates to 23 candidates (74.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New31031
Fresh022
Picked011
Done000
Total31334

Merged error: 0.8b

Counts
34 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
112×sqrt-prod
98×*-un-lft-identity
84×times-frac
68×add-sqr-sqrt
66×add-cube-cbrt
16×distribute-lft-out
14×associate-/r*
12×associate-/l*
add-exp-log sqrt-div add-cbrt-cube
pow1
flip3-+ associate-/r/ flip-+ add-log-exp
cbrt-undiv rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
4 → 172
Calls
4 calls:
3.0ms
(sqrt (+ x y))
3.0ms
(sqrt (+ x y))
7.0ms
(/ (sqrt x) (sqrt (+ x y)))
7.0ms
(/ (sqrt x) (sqrt (+ x y)))

series208.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(sqrt (+ x y))
36.0ms
(sqrt (+ x y))
66.0ms
(/ (sqrt x) (sqrt (+ x y)))
67.0ms
(/ (sqrt x) (sqrt (+ x y)))

simplify114.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
02471432
17841348
240671266
350021266

prune335.0ms

Filtered
184 candidates to 104 candidates (56.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1840184
Fresh011
Picked011
Done011
Total1843187

Merged error: 0.8b

Counts
187 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x y))
0.6b
(cbrt (+ x y))
0.6b
(cbrt (+ x y))
1.5b
(pow (/ x (cbrt (+ x y))) x)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
27×unpow-prod-down
24×cbrt-prod
22×add-sqr-sqrt add-cube-cbrt
21×times-frac
cbrt-div
add-exp-log
distribute-lft-out
pow1
flip3-+ add-cbrt-cube flip-+ add-log-exp
pow-unpow pow1/3
pow-exp associate-/r/
pow-to-exp pow-pow div-exp div-inv sqr-pow
Counts
4 → 84
Calls
4 calls:
3.0ms
(cbrt (+ x y))
3.0ms
(cbrt (+ x y))
3.0ms
(cbrt (+ x y))
10.0ms
(pow (/ x (cbrt (+ x y))) x)

series465.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(cbrt (+ x y))
124.0ms
(cbrt (+ x y))
122.0ms
(cbrt (+ x y))
98.0ms
(pow (/ x (cbrt (+ x y))) x)

simplify49.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0497752
11928723
25002694

prune255.0ms

Filtered
96 candidates to 74 candidates (77.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh000
Picked101
Done112
Total97299

Merged error: 0b

Counts
99 → 2

regimes40.0ms

Accuracy

97.3% (0.3b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 12.5b

bsearch95.0ms

Steps
ItersRangePoint
10
5.251099164423855e-21
1.578317661697433e-06
1.5559169625596469e-06
8
-1.1753057616120753e-15
-1.0444048500662454e-19
-1.1520662094029635e-15

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03930
13930

end0.0ms

sample2.0s

Algorithm
intervals
Results
751.0ms1544×body1280valid
417.0ms1410×body640valid
265.0ms4950×body80valid
169.0ms852×body320valid
121.0ms3020×body80nan
52.0ms423×body160valid