Details

Time bar (total: 5.0s)

sample71.0ms

Algorithm
intervals
Results
26.0ms52×body1280valid
17.0ms59×body640valid
8.0ms145×body80valid
4.0ms19×body320valid
3.0ms84×body80nan
2.0ms12×body160valid

simplify109.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (8.0ms)

IterNodesCost
0156
1246
2516
31086
43104
57924
641924
750024

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

localize9.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)

rewrite31.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
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
cbrt-undiv pow-to-exp frac-2neg clear-num
pow-pow
Counts
3 → 178
Calls
3 calls:
11.0ms
(/ (pow (/ x (+ x y)) x) x)
5.0ms
(/ x (+ x y))
7.0ms
(pow (/ x (+ x y)) x)

series413.0ms

Counts
3 → 9
Calls
3 calls:
137.0ms
(/ (pow (/ x (+ x y)) x) x)
39.0ms
(/ x (+ x y))
237.0ms
(pow (/ x (+ x y)) x)

simplify73.0ms

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05541456
127261426
250021426

prune343.0ms

Filtered
187 candidates to 137 candidates (73.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1843187
Fresh000
Picked101
Done000
Total1853188

Merged error: 0.8b

Counts
188 → 3

localize4.0ms

Local error

Found 1 expressions with local error:

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

rewrite8.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 expm1-log1p-u frac-2neg mul-1-neg div-exp clear-num log1p-expm1-u div-inv associate-/l/ add-log-exp
Counts
1 → 30
Calls
1 calls:
4.0ms
(/ (exp (* -1 y)) x)

series19.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0118194
1313179
21512177
35001177

prune55.0ms

Filtered
33 candidates to 25 candidates (75.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New33033
Fresh022
Picked011
Done000
Total33336

Merged error: 0.8b

Counts
36 → 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)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
112×sqrt-prod
98×*-un-lft-identity
84×times-frac
72×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
expm1-log1p-u flip3-+ associate-/r/ flip-+ log1p-expm1-u add-log-exp
cbrt-undiv rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num hypot-def div-inv
Counts
4 → 182
Calls
4 calls:
3.0ms
(sqrt (+ x y))
4.0ms
(sqrt (+ x y))
7.0ms
(/ (sqrt x) (sqrt (+ x y)))
8.0ms
(/ (sqrt x) (sqrt (+ x y)))

series202.0ms

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

simplify118.0ms

Algorithm
egg-herbie
Counts
194 → 194
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
02601464
18261378
242701294
350011294

prune377.0ms

Filtered
194 candidates to 114 candidates (58.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1940194
Fresh011
Picked011
Done011
Total1943197

Merged error: 0.8b

Counts
197 → 3

localize18.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)

rewrite20.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
expm1-log1p-u flip3-+ add-cbrt-cube flip-+ log1p-expm1-u add-log-exp
pow-unpow pow1/3
pow-exp associate-/r/
pow-to-exp pow-pow div-exp div-inv sqr-pow
Counts
4 → 92
Calls
4 calls:
3.0ms
(cbrt (+ x y))
3.0ms
(cbrt (+ x y))
3.0ms
(cbrt (+ x y))
8.0ms
(pow (/ x (cbrt (+ x y))) x)

series494.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(cbrt (+ x y))
132.0ms
(cbrt (+ x y))
130.0ms
(cbrt (+ x y))
103.0ms
(pow (/ x (cbrt (+ x y))) x)

simplify54.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0513774
12015743
25001713

prune299.0ms

Filtered
104 candidates to 82 candidates (78.8%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh000
Picked101
Done112
Total1052107

Merged error: 0b

Counts
107 → 2

regimes42.0ms

Accuracy

97.3% (0.3b remaining)

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

bsearch101.0ms

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03930
13930

end0.0ms

sample2.1s

Algorithm
intervals
Results
762.0ms1544×body1280valid
426.0ms1410×body640valid
271.0ms4950×body80valid
168.0ms852×body320valid
130.0ms3020×body80nan
53.0ms423×body160valid