Details

Time bar (total: 3.4s)

analyze18.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.4s (41.9%)

Results
1.1s8256×body128valid
Compiler

Compiled 73 to 43 computations (41.1% saved)

simplify88.0ms (2.6%)

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
20.8b
Counts
3 → 1
Alt Table
StatusErrorProgram
20.8b
(/.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 1 expressions with local error:

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

series23.0ms (0.7%)

Counts
1 → 24
Calls

1 calls:

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

rewrite10.0ms (0.3%)

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.3%)

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

prune48.0ms (1.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New56460
Fresh000
Picked101
Done000
Total57461
Error
0.0b
Counts
61 → 4
Alt Table
StatusErrorProgram
21.0b
(*.f64 (-.f64 x y) (/.f64 (+.f64 x y) (fma.f64 x x (*.f64 y y))))
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
20.8b
(cbrt.f64 (pow.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y))) 3))
41.8b
1
Compiler

Compiled 1513 to 443 computations (70.7% saved)

localize8.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)))

series66.0ms (2%)

Counts
4 → 96
Calls

4 calls:

30.0ms
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
15.0ms
(hypot.f64 x y)
10.0ms
(/.f64 (-.f64 x y) (hypot.f64 x y))
10.0ms
(/.f64 (+.f64 x y) (hypot.f64 x y))

rewrite39.0ms (1.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)))
10.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)

simplify146.0ms (4.3%)

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

prune199.0ms (5.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2983301
Fresh213
Picked101
Done000
Total3014305
Error
0b
Counts
305 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))
20.8b
(cbrt.f64 (pow.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y))) 3))
0.0b
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))
0.0b
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))) 3))
Compiler

Compiled 7493 to 1942 computations (74.1% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (+.f64 x y) (hypot.f64 x y))
0.0b
(pow.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))) 3)
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)))

series44.0ms (1.3%)

Counts
1 → 24
Calls

1 calls:

44.0ms
(pow.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))) 3)

rewrite12.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-cbrt-cube_binary64
14×add-exp-log_binary64
rem-cube-cbrt_binary64
pow-exp_binary64
cbrt-undiv_binary64
Counts
1 → 33
Calls

1 calls:

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

simplify70.0ms (2.1%)

Algorithm
egg-herbie
Rules
712×associate-*l*_binary64
709×fma-def_binary64
370×associate-*l/_binary64
330×associate-*r/_binary64
237×times-frac_binary64
Counts
57 → 53
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0941343
12511232
28501175
348111163
454681163

prune205.0ms (6.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2700270
Fresh033
Picked011
Done000
Total2704274
Error
0b
Counts
274 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))
20.8b
(cbrt.f64 (pow.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y))) 3))
0.0b
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))
0.0b
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))) 3))
Compiler

Compiled 7397 to 2201 computations (70.2% saved)

localize9.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 (hypot.f64 x y) (-.f64 x y))
0.0b
(/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y)))
0.0b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))

series49.0ms (1.5%)

Counts
3 → 72
Calls

3 calls:

29.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))
10.0ms
(/.f64 (hypot.f64 x y) (-.f64 x y))
10.0ms
(/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y)))

rewrite79.0ms (2.3%)

Algorithm
rewrite-expression-head
Rules
275×times-frac_binary64
211×add-sqr-sqrt_binary64
188×*-un-lft-identity_binary64
128×add-cube-cbrt_binary64
68×associate-*l*_binary64
Counts
3 → 277
Calls

3 calls:

30.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))
7.0ms
(/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y)))
4.0ms
(/.f64 (hypot.f64 x y) (-.f64 x y))

simplify192.0ms (5.7%)

Algorithm
egg-herbie
Rules
638×distribute-rgt-in_binary64
457×fma-def_binary64
186×associate-*l/_binary64
175×associate-*r*_binary64
169×cancel-sign-sub-inv_binary64
Counts
349 → 439
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03018487
18107567
229557421
353147421

prune337.0ms (10%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New5000500
Fresh022
Picked011
Done011
Total5004504
Error
0b
Counts
504 → 4
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))
20.8b
(cbrt.f64 (pow.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) (fma.f64 x x (*.f64 y y))) 3))
0.0b
(/.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (+.f64 x y)) (hypot.f64 x y))
0.0b
(cbrt.f64 (pow.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))) 3))
Compiler

Compiled 14005 to 3569 computations (74.5% saved)

regimes163.0ms (4.9%)

Accuracy

Total 0.0b remaining (55%)

Threshold costs 0.0b (55%)

Counts
60 → 1
Compiler

Compiled 3069 to 1741 computations (43.3% 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
01227
11627
22127
32327
42427
52427

end80.0ms (2.4%)

Compiler

Compiled 115 to 62 computations (46.1% saved)

Profiling

Loading profile data...