Details

Time bar (total: 2.1s)

sample21.0ms

Algorithm
intervals
Results
11.0ms440×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
0185
1464
2774
3873
4873

prune7.0ms

Filtered
1 candidates to 1 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 → 2

localize7.0ms

Local error

Found 1 expressions with local error:

0.0b
(fma (fma y 2.0 x) x (* y y))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(fma (fma y 2.0 x) x (* y y))

series33.0ms

Counts
1 → 3
Calls
1 calls:
32.0ms
(fma (fma y 2.0 x) x (* y y))

simplify102.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
04268
110452
246652
3241852
4500152

prune31.0ms

Filtered
13 candidates to 10 candidates (23.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New11213
Fresh011
Picked101
Done000
Total12315

Merged error: 0.0b

Counts
15 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (fma y 2.0 x) x (* y y))
0.0b
(fma (fma y 2.0 x) x (* y y))
6.1b
(sqrt (fma (fma y 2.0 x) x (* y y)))
6.1b
(sqrt (fma (fma y 2.0 x) x (* y y)))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 fma-udef
Counts
4 → 50
Calls
4 calls:
1.0ms
(fma (fma y 2.0 x) x (* y y))
1.0ms
(fma (fma y 2.0 x) x (* y y))
1.0ms
(sqrt (fma (fma y 2.0 x) x (* y y)))
2.0ms
(sqrt (fma (fma y 2.0 x) x (* y y)))

series204.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(fma (fma y 2.0 x) x (* y y))
30.0ms
(fma (fma y 2.0 x) x (* y y))
72.0ms
(sqrt (fma (fma y 2.0 x) x (* y y)))
72.0ms
(sqrt (fma (fma y 2.0 x) x (* y y)))

simplify137.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
075306
1169266
2699266
33514264
45001264

prune145.0ms

Filtered
62 candidates to 50 candidates (19.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New60262
Fresh022
Picked101
Done000
Total61465

Merged error: 0.0b

Counts
65 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
0.0b
(+ (* x x) (* (* x 2.0) y))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
76×*-un-lft-identity
64×associate-*l*
48×distribute-lft-out
29×fma-def
14×add-sqr-sqrt
12×add-cube-cbrt
add-log-exp
associate-*r*
sum-log
+-commutative swap-sqr *-commutative
pow1 add-exp-log expm1-log1p-u associate-+l+ flip3-+ add-cbrt-cube flip-+ log1p-expm1-u
unswap-sqr
Counts
2 → 83
Calls
2 calls:
36.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
26.0ms
(+ (* x x) (* (* x 2.0) y))

series78.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ (+ (* x x) (* (* x 2.0) y)) (* y y))
51.0ms
(+ (* x x) (* (* x 2.0) y))

simplify49.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0223357
11060298
25001257

prune120.0ms

Filtered
89 candidates to 52 candidates (41.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New87289
Fresh213
Picked101
Done000
Total90393

Merged error: 0b

Counts
93 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (sqrt (* x x)) (sqrt (* x x)) (* (* x 2.0) y))
0.0b
(+ (fma (sqrt (* x x)) (sqrt (* x x)) (* (* x 2.0) y)) (* y y))
17.8b
(sqrt (* x x))
17.8b
(sqrt (* x x))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
30×sqrt-prod
29×add-sqr-sqrt
20×pow1
19×*-un-lft-identity
15×add-cube-cbrt
12×sqrt-pow1
10×rem-sqrt-square
swap-sqr
associate-*l*
associate-*r* add-log-exp
add-exp-log expm1-log1p-u *-commutative add-cbrt-cube log1p-expm1-u unswap-sqr
fma-def
pow2 pow-plus pow1/2 pow-prod-down pow-sqr pow-prod-up fma-udef distribute-lft-out
+-commutative associate-+l+ flip3-+ sum-log flip-+
Counts
4 → 101
Calls
4 calls:
1.0ms
(fma (sqrt (* x x)) (sqrt (* x x)) (* (* x 2.0) y))
7.0ms
(+ (fma (sqrt (* x x)) (sqrt (* x x)) (* (* x 2.0) y)) (* y y))
5.0ms
(sqrt (* x x))
5.0ms
(sqrt (* x x))

series105.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(fma (sqrt (* x x)) (sqrt (* x x)) (* (* x 2.0) y))
37.0ms
(+ (fma (sqrt (* x x)) (sqrt (* x x)) (* (* x 2.0) y)) (* y y))
9.0ms
(sqrt (* x x))
9.0ms
(sqrt (* x x))

simplify129.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 3 (121.0ms)

IterNodesCost
0188499
1692415
23400381
35001376

prune198.0ms

Filtered
113 candidates to 77 candidates (31.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh202
Picked011
Done000
Total1133116

Merged error: 0b

Counts
116 → 3

regimes32.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample583.0ms

Algorithm
intervals
Results
375.0ms14183×body80valid