Details

Time bar (total: 3.0s)

analyze16.0ms (0.5%)

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.8s (59.4%)

Results
1.6s8256×body128valid
Compiler

Compiled 73 to 43 computations (41.1% saved)

simplify77.0ms (2.5%)

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
19.0b
Counts
3 → 1
Alt Table
StatusErrorProgram
19.0b
(/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y)))
Compiler

Compiled 63 to 27 computations (57.1% saved)

localize8.0ms (0.3%)

Local error

Found 1 expressions with local error:

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

series18.0ms (0.6%)

Counts
1 → 24
Calls

1 calls:

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

rewrite11.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
associate-/l/_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
frac-times_binary64
associate-/r*_binary64
Counts
1 → 31
Calls

1 calls:

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

simplify45.0ms (1.5%)

Algorithm
egg-herbie
Rules
801×distribute-rgt-in_binary64
770×distribute-lft-in_binary64
413×times-frac_binary64
375×fma-def_binary64
71×cancel-sign-sub-inv_binary64
Counts
55 → 60
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01041375
13281210
212741172
351211172

prune32.0ms (1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New57360
Fresh000
Picked101
Done000
Total58361
Error
0.0b
Counts
61 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
49.0b
(fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) -2 1)
24.2b
(fma.f64 2 (/.f64 (*.f64 x x) (*.f64 y y)) -1)
Compiler

Compiled 1485 to 431 computations (71% saved)

localize8.0ms (0.2%)

Local error

Found 3 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)))

series73.0ms (2.4%)

Counts
3 → 72
Calls

3 calls:

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

rewrite35.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
67×*-un-lft-identity_binary64
65×add-sqr-sqrt_binary64
58×times-frac_binary64
39×add-cube-cbrt_binary64
19×associate-*l*_binary64
Counts
3 → 136
Calls

3 calls:

14.0ms
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
5.0ms
(/.f64 (-.f64 x y) (hypot.f64 x y))
4.0ms
(/.f64 (+.f64 x y) (hypot.f64 x y))

simplify108.0ms (3.5%)

Algorithm
egg-herbie
Rules
614×times-frac_binary64
493×distribute-rgt-in_binary64
464×fma-def_binary64
222×cancel-sign-sub-inv_binary64
176×sub-neg_binary64
Counts
208 → 216
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02404519
17354135
223214033
351364033

prune108.0ms (3.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2151216
Fresh022
Picked011
Done000
Total2154219
Error
0b
Counts
219 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
49.0b
(fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) -2 1)
24.2b
(fma.f64 2 (/.f64 (*.f64 x x) (*.f64 y y)) -1)
0.0b
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))
Compiler

Compiled 5338 to 1135 computations (78.7% saved)

localize11.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series44.0ms (1.4%)

Counts
2 → 48
Calls

2 calls:

25.0ms
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))
19.0ms
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y))

rewrite40.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
19×associate-*l*_binary64
19×times-frac_binary64
16×add-cbrt-cube_binary64
Counts
2 → 77
Calls

2 calls:

9.0ms
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y))
8.0ms
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))

simplify76.0ms (2.5%)

Algorithm
egg-herbie
Rules
561×distribute-rgt-in_binary64
534×distribute-lft-in_binary64
502×fma-def_binary64
179×cancel-sign-sub-inv_binary64
146×div-sub_binary64
Counts
125 → 146
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02002926
16812611
222412563
353652563

prune120.0ms (3.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2120212
Fresh022
Picked011
Done011
Total2124216
Error
0b
Counts
216 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
49.0b
(fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) -2 1)
24.2b
(fma.f64 2 (/.f64 (*.f64 x x) (*.f64 y y)) -1)
0.0b
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))
Compiler

Compiled 5033 to 1333 computations (73.5% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
18.8b
(/.f64 (*.f64 x x) (*.f64 y y))

series35.0ms (1.2%)

Counts
1 → 24
Calls

1 calls:

35.0ms
(/.f64 (*.f64 x x) (*.f64 y y))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×add-cbrt-cube_binary64
13×add-exp-log_binary64
cbrt-unprod_binary64
cbrt-undiv_binary64
div-exp_binary64
Counts
1 → 23
Calls

1 calls:

5.0ms
(/.f64 (*.f64 x x) (*.f64 y y))

simplify92.0ms (3%)

Algorithm
egg-herbie
Rules
639×fma-neg_binary64
528×times-frac_binary64
339×unswap-sqr_binary64
327×associate-/l*_binary64
288×*-commutative_binary64
Counts
47 → 35
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
049635
1120501
2410476
31765453
42660453
53835363
64877360
74953360
84920360

prune29.0ms (1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New35035
Fresh011
Picked011
Done022
Total35439
Error
0b
Counts
39 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
49.0b
(fma.f64 (/.f64 (*.f64 y y) (*.f64 x x)) -2 1)
24.2b
(fma.f64 2 (/.f64 (*.f64 x x) (*.f64 y y)) -1)
0.0b
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))
Compiler

Compiled 570 to 255 computations (55.3% saved)

regimes173.0ms (5.7%)

Accuracy

Total 0.0b remaining (54.9%)

Threshold costs 0.0b (54.9%)

Counts
48 → 1
Compiler

Compiled 2044 to 1274 computations (37.7% saved)

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

end60.0ms (2%)

Compiler

Compiled 92 to 48 computations (47.8% saved)

Profiling

Loading profile data...