Details

Time bar (total: 7.3s)

sample68.0ms

Algorithm
intervals
Results
21.0ms39×body1280valid
17.0ms58×body640valid
9.0ms159×body80valid
4.0ms22×body320valid
4.0ms97×body80nan
1.0ms10×body160valid

simplify116.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (7.0ms)

IterNodesCost
0156
1246
2516
31066
43044
57744
641424
750014

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: 12.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.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:
11.0ms
(/ (pow (/ x (+ x y)) x) x)
5.0ms
(/ x (+ x y))
7.0ms
(pow (/ x (+ x y)) x)

series423.0ms

Counts
3 → 9
Calls
3 calls:
135.0ms
(/ (pow (/ x (+ x y)) x) x)
43.0ms
(/ x (+ x y))
245.0ms
(pow (/ x (+ x y)) x)

simplify73.0ms

Algorithm
egg-herbie
Counts
181 → 181
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05371436
126401406
250021406

prune328.0ms

Filtered
181 candidates to 131 candidates (72.4%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1765181
Fresh000
Picked101
Done000
Total1775182

Merged error: 0.3b

Counts
182 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x)
0.6b
(cbrt x)
0.6b
(cbrt x)
0.7b
(pow (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))) x)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log
13×unpow-prod-down
12×cbrt-div
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-/r/
flip3-+ flip-+
pow1 pow-exp
frac-times div-exp prod-exp add-cbrt-cube add-log-exp
pow-unpow pow1/3
associate-*r/ associate-*l/
pow-to-exp pow-pow times-frac div-inv sqr-pow
Counts
4 → 64
Calls
4 calls:
1.0ms
(cbrt x)
1.0ms
(cbrt x)
1.0ms
(cbrt x)
15.0ms
(pow (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))) x)

series824.0ms

Counts
4 → 12
Calls
4 calls:
179.0ms
(cbrt x)
187.0ms
(cbrt x)
174.0ms
(cbrt x)
283.0ms
(pow (/ (* (cbrt x) (cbrt x)) (* (cbrt (+ x y)) (cbrt (+ x y)))) x)

simplify176.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0367612
11118572
24404551
35001551

prune210.0ms

Filtered
76 candidates to 58 candidates (76.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New75176
Fresh134
Picked101
Done000
Total77481

Merged error: 0.0b

Counts
81 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (+ x y))
0.6b
(cbrt x)
0.6b
(cbrt x)
2.1b
(log (/ (cbrt x) (cbrt (+ x y))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
55×cbrt-prod
48×log-prod *-un-lft-identity
42×times-frac
34×add-sqr-sqrt add-cube-cbrt
add-exp-log distribute-lft-out
pow1
cbrt-div add-cbrt-cube add-log-exp
pow1/3
flip3-+ rem-log-exp associate-/r/ flip-+
log-div div-exp log-pow div-inv
Counts
4 → 95
Calls
4 calls:
3.0ms
(cbrt (+ x y))
1.0ms
(cbrt x)
1.0ms
(cbrt x)
8.0ms
(log (/ (cbrt x) (cbrt (+ x y))))

series576.0ms

Counts
4 → 12
Calls
4 calls:
129.0ms
(cbrt (+ x y))
181.0ms
(cbrt x)
190.0ms
(cbrt x)
76.0ms
(log (/ (cbrt x) (cbrt (+ x y))))

simplify141.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0360861
1982830
24123810
35001810

prune360.0ms

Filtered
107 candidates to 88 candidates (82.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1070107
Fresh033
Picked011
Done000
Total1074111

Merged error: 0.0b

Counts
111 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (/ x (pow (/ x (+ x y)) x)))
0.0b
(/ x (pow (/ x (+ x y)) x))
0.0b
(/ x (+ x y))
6.8b
(pow (/ x (+ x y)) x)

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
756×times-frac
462×*-un-lft-identity
352×add-sqr-sqrt add-cube-cbrt
306×unpow-prod-down
96×associate-/r*
55×distribute-lft-out
49×add-exp-log
37×associate-/r/
32×div-exp
24×div-inv
18×flip3-+ flip-+
17×sqr-pow
13×add-cbrt-cube
10×pow-exp
associate-/l*
pow1
cbrt-undiv pow-to-exp rec-exp 1-exp
add-log-exp
pow-unpow frac-2neg clear-num
pow-flip pow-pow inv-pow
Counts
4 → 485
Calls
4 calls:
24.0ms
(/ 1 (/ x (pow (/ x (+ x y)) x)))
10.0ms
(/ x (pow (/ x (+ x y)) x))
5.0ms
(/ x (+ x y))
6.0ms
(pow (/ x (+ x y)) x)

series711.0ms

Counts
4 → 12
Calls
4 calls:
154.0ms
(/ 1 (/ x (pow (/ x (+ x y)) x)))
267.0ms
(/ x (pow (/ x (+ x y)) x))
45.0ms
(/ x (+ x y))
245.0ms
(pow (/ x (+ x y)) x)

simplify100.0ms

Algorithm
egg-herbie
Counts
497 → 497
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
014435433
150015056

prune803.0ms

Filtered
497 candidates to 302 candidates (60.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New4961497
Fresh022
Picked101
Done011
Total4974501

Merged error: 0b

Counts
501 → 4

regimes57.0ms

Accuracy

99.4% (0.0b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 6.1b

bsearch93.0ms

Steps
ItersRangePoint
8
0.0009374011379127125
24.426543482179152
6.689089046971252
10
-0.022529268385055725
-1.121431443204481e-13
-0.022243402371581053

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03719
13719

end0.0ms

sample2.0s

Algorithm
intervals
Results
725.0ms1456×body1280valid
458.0ms1518×body640valid
264.0ms4796×body80valid
169.0ms830×body320valid
127.0ms3079×body80nan
57.0ms459×body160valid

Profiling

Loading profile data...