Details

Time bar (total: 3.3s)

analyze15.0ms (0.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%18.7%81.3%0
0%18.7%81.3%1
0%18.7%81.3%2
0%18.7%81.3%3
0%18.7%81.3%4
4.7%14%81.3%5
5.3%13.5%81.3%6
18.1%0.6%81.3%7
18.1%0.6%81.3%8
18.6%0.1%81.3%9
18.6%0.1%81.3%10
18.7%0%81.3%11
18.7%0%81.3%12
18.7%0%81.3%13
18.7%0%81.3%14
Compiler

Compiled 28 to 17 computations (39.3% saved)

sample1.3s (39.2%)

Results
1.0s8256×body128valid
Compiler

Compiled 73 to 43 computations (41.1% saved)

simplify80.0ms (2.4%)

Algorithm
egg-herbie
Rules
917×times-frac_binary64
816×unsub-neg_binary64
772×fma-def_binary64
484×fma-neg_binary64
376×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01020
12420
25520
311220
427120
565720
6123420
7262020
8328820
9465220
10507520

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
22.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
22.5b
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y)))
Compiler

Compiled 63 to 27 computations (57.1% saved)

localize9.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(*.f64 (-.f64 x y) (+.f64 x y))
0.0b
(fma.f64 x x (*.f64 y y))
22.2b
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y)))

series34.0ms (1%)

Counts
3 → 72
Calls

3 calls:

21.0ms
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y)))
7.0ms
(*.f64 (-.f64 x y) (+.f64 x y))
6.0ms
(fma.f64 x x (*.f64 y y))

rewrite25.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
10×add-cbrt-cube_binary64
10×add-exp-log_binary64
associate-/l/_binary64
Counts
3 → 74
Calls

3 calls:

12.0ms
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y)))
7.0ms
(*.f64 (-.f64 x y) (+.f64 x y))
0.0ms
(fma.f64 x x (*.f64 y y))

simplify68.0ms (2.1%)

Algorithm
egg-herbie
Rules
724×times-frac_binary64
709×fma-def_binary64
675×associate-/l*_binary64
185×associate-/l/_binary64
177×distribute-rgt-in_binary64
Counts
146 → 135
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01492451
14482215
219392177
351712177

prune75.0ms (2.3%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh000
Picked101
Done000
Total1324136
Error
0b
Counts
136 → 4
Alt Table
StatusErrorProgram
22.3b
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (sqrt.f64 (fma.f64 x x (*.f64 y y))))
22.4b
(/.f64 (-.f64 x y) (/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y)))
22.5b
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (-.f64 x y) (+.f64 x y))))
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
Compiler

Compiled 3146 to 730 computations (76.8% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 x y)
0.0b
(/.f64 (+.f64 x y) (hypot.f64 x y))
0.0b
(/.f64 (-.f64 x y) (hypot.f64 x y))
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))

series57.0ms (1.7%)

Counts
4 → 96
Calls

4 calls:

26.0ms
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
11.0ms
(hypot.f64 x y)
10.0ms
(/.f64 (+.f64 x y) (hypot.f64 x y))
9.0ms
(/.f64 (-.f64 x y) (hypot.f64 x y))

rewrite34.0ms (1%)

Algorithm
rewrite-expression-head
Rules
68×*-un-lft-identity_binary64
66×add-sqr-sqrt_binary64
58×times-frac_binary64
40×add-cube-cbrt_binary64
20×add-cbrt-cube_binary64
Counts
4 → 146
Calls

4 calls:

13.0ms
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
4.0ms
(/.f64 (-.f64 x y) (hypot.f64 x y))
4.0ms
(/.f64 (+.f64 x y) (hypot.f64 x y))
0.0ms
(hypot.f64 x y)

simplify144.0ms (4.4%)

Algorithm
egg-herbie
Rules
776×times-frac_binary64
614×fma-neg_binary64
593×fma-def_binary64
222×sub-neg_binary64
164×associate-*l/_binary64
Counts
242 → 259
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02775087
18544676
227054565
348424565
451814565

prune469.0ms (14.3%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3001301
Fresh213
Picked011
Done000
Total3023305
Error
0b
Counts
305 → 3
Alt Table
StatusErrorProgram
22.4b
(/.f64 (-.f64 x y) (/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y)))
0.0b
(log1p.f64 (expm1.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))))
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
Compiler

Compiled 7430 to 1906 computations (74.3% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x y) (hypot.f64 x y))
0.0b
(/.f64 (-.f64 x y) (hypot.f64 x y))
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
0.4b
(expm1.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))))

series43.0ms (1.3%)

Counts
1 → 24
Calls

1 calls:

42.0ms
(expm1.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
log1p-expm1-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
1 → 11
Calls

1 calls:

0.0ms
(expm1.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))))

simplify67.0ms (2%)

Algorithm
egg-herbie
Rules
709×fma-neg_binary64
644×cancel-sign-sub-inv_binary64
584×associate-/l/_binary64
292×times-frac_binary64
209×distribute-rgt-neg-in_binary64
Counts
35 → 28
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0721145
11861036
25791018
325121000
44963982
55180982

prune172.0ms (5.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2450245
Fresh011
Picked011
Done011
Total2453248
Error
0b
Counts
248 → 3
Alt Table
StatusErrorProgram
22.4b
(/.f64 (-.f64 x y) (/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y)))
0.0b
(log1p.f64 (expm1.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))))
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
Compiler

Compiled 6421 to 1840 computations (71.3% saved)

localize8.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x x (*.f64 y y))
0.0b
(/.f64 (-.f64 x y) (/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y)))
21.3b
(/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y))

series27.0ms (0.8%)

Counts
2 → 48
Calls

2 calls:

18.0ms
(/.f64 (-.f64 x y) (/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y)))
9.0ms
(/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y))

rewrite48.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
174×times-frac_binary64
160×*-un-lft-identity_binary64
116×add-sqr-sqrt_binary64
78×add-cube-cbrt_binary64
22×associate-/r*_binary64
Counts
2 → 168
Calls

2 calls:

21.0ms
(/.f64 (-.f64 x y) (/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y)))
4.0ms
(/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y))

simplify168.0ms (5.1%)

Algorithm
egg-herbie
Rules
650×times-frac_binary64
453×distribute-rgt-in_binary64
377×fma-neg_binary64
349×fma-def_binary64
256×associate-/r/_binary64
Counts
216 → 267
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02736857
17676286
224616244
349446232
451826232

prune127.0ms (3.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2850285
Fresh000
Picked011
Done022
Total2853288
Error
0b
Counts
288 → 3
Alt Table
StatusErrorProgram
22.4b
(/.f64 (-.f64 x y) (/.f64 (fma.f64 x x (*.f64 y y)) (+.f64 x y)))
0.0b
(log1p.f64 (expm1.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))))
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
Compiler

Compiled 7657 to 1208 computations (84.2% saved)

regimes243.0ms (7.4%)

Accuracy

Total 0.0b remaining (35.8%)

Threshold costs 0.0b (35.8%)

Counts
88 → 1
Compiler

Compiled 4200 to 2443 computations (41.8% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0922
11322
21822
32022
42122
52122

end61.0ms (1.9%)

Compiler

Compiled 86 to 42 computations (51.2% saved)

Profiling

Loading profile data...