Details

Time bar (total: 4.8s)

sample15.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0174
1284
2434
3564
4724
51334
62144
72654
82974
92974

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

Counts
2 → 1

localize10.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ (- x y) (- 2.0 (+ x y)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
40×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
14×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
associate-/l*
add-exp-log add-cbrt-cube
flip3-- associate-/r/ flip-- associate-/l/
pow1 cbrt-undiv expm1-log1p-u frac-2neg div-sub div-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
1 → 60
Calls
1 calls:
14.0ms
(/ (- x y) (- 2.0 (+ x y)))

series55.0ms

Counts
1 → 3
Calls
1 calls:
55.0ms
(/ (- x y) (- 2.0 (+ x y)))

simplify153.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0283498
1886475
24321474
35001474

prune115.0ms

Filtered
63 candidates to 40 candidates (63.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New59463
Fresh000
Picked101
Done000
Total60464

Merged error: 0b

Counts
64 → 4

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (- 2.0 (+ x y)))
0.0b
(/ y (- 2.0 (+ x y)))
0.0b
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

rewrite156.0ms

Algorithm
rewrite-expression-head
Rules
1352×*-un-lft-identity
946×times-frac
843×add-sqr-sqrt
576×prod-diff
517×add-cube-cbrt
335×distribute-lft-out--
161×distribute-lft-out difference-of-squares
106×associate-/r/
54×flip3-- flip--
53×div-inv
24×fma-neg
12×associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
pow1 expm1-log1p-u distribute-rgt-out-- log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num
sub-neg diff-log frac-sub sub-div
Counts
3 → 722
Calls
3 calls:
8.0ms
(/ x (- 2.0 (+ x y)))
8.0ms
(/ y (- 2.0 (+ x y)))
59.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

series197.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(/ x (- 2.0 (+ x y)))
57.0ms
(/ y (- 2.0 (+ x y)))
86.0ms
(- (/ x (- 2.0 (+ x y))) (/ y (- 2.0 (+ x y))))

simplify299.0ms

Algorithm
egg-herbie
Counts
731 → 731
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
0130423967
1366517833
2500117718

prune927.0ms

Filtered
731 candidates to 259 candidates (35.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New7310731
Fresh033
Picked011
Done000
Total7314735

Merged error: 0b

Counts
735 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(log1p (expm1 (/ (- x y) (- 2.0 (+ x y)))))
0.0b
(/ (- x y) (- 2.0 (+ x y)))
0.4b
(expm1 (/ (- x y) (- 2.0 (+ x y))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
42×add-sqr-sqrt
30×times-frac
19×distribute-lft-out--
16×add-cube-cbrt
13×difference-of-squares
associate-/r* distribute-lft-out
add-exp-log add-cbrt-cube associate-/l*
log1p-expm1-u
pow1 expm1-log1p-u add-log-exp
flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv log1p-udef expm1-log1p frac-2neg div-sub log1p-expm1 div-exp clear-num div-inv expm1-udef
Counts
3 → 82
Calls
3 calls:
1.0ms
(log1p (expm1 (/ (- x y) (- 2.0 (+ x y)))))
12.0ms
(/ (- x y) (- 2.0 (+ x y)))
1.0ms
(expm1 (/ (- x y) (- 2.0 (+ x y))))

series313.0ms

Counts
3 → 9
Calls
3 calls:
127.0ms
(log1p (expm1 (/ (- x y) (- 2.0 (+ x y)))))
64.0ms
(/ (- x y) (- 2.0 (+ x y)))
122.0ms
(expm1 (/ (- x y) (- 2.0 (+ x y))))

simplify165.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0338687
11017638
24745631
35001631

prune188.0ms

Filtered
91 candidates to 62 candidates (68.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh022
Picked011
Done011
Total91495

Merged error: 0b

Counts
95 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
0.2b
(cbrt (/ (- x y) (- 2.0 (+ x y))))
0.2b
(cbrt (/ (- x y) (- 2.0 (+ x y))))
0.2b
(cbrt (/ (- x y) (- 2.0 (+ x y))))

rewrite116.0ms

Algorithm
rewrite-expression-head
Rules
651×*-un-lft-identity
372×cbrt-prod
324×times-frac
318×add-sqr-sqrt
212×distribute-lft-out--
108×add-cube-cbrt
93×swap-sqr difference-of-squares
67×distribute-lft-out
39×associate-*r* associate-*l*
14×associate-/r/
11×pow1
pow1/3 unswap-sqr
cbrt-div flip3-- flip-- div-inv
add-exp-log
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 frac-times pow-plus associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod
Counts
4 → 344
Calls
4 calls:
54.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
10.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
10.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
10.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))

series771.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(* (cbrt (/ (- x y) (- 2.0 (+ x y)))) (cbrt (/ (- x y) (- 2.0 (+ x y)))))
206.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
210.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))
210.0ms
(cbrt (/ (- x y) (- 2.0 (+ x y))))

simplify123.0ms

Algorithm
egg-herbie
Counts
356 → 356
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
05165166
116515068
250024650

prune699.0ms

Filtered
356 candidates to 184 candidates (51.7%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New3560356
Fresh011
Picked011
Done022
Total3564360

Merged error: 0b

Counts
360 → 4

regimes70.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
097
197

end0.0ms

sample342.0ms

Algorithm
intervals
Results
209.0ms7997×body80valid
0.0msbody1280valid

Profiling

Loading profile data...