Details

Time bar (total: 5.3s)

analyze2.0s (37.2%)

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
0%18.7%81.3%5
0%18.7%81.3%6
0%18.7%81.3%7
0%18.7%81.3%8
0%18.7%81.3%9
0%18.7%81.3%10
0%18.7%81.3%11
0%18.7%81.3%12
0%18.7%81.3%13
0%18.7%81.3%14
Compiler

Compiled 28 to 17 computations (39.3% saved)

sample1.3s (24.2%)

Results
1.0s8256×body128valid
Compiler

Compiled 73 to 43 computations (41.1% saved)

simplify79.0ms (1.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
23.5b
Counts
3 → 1
Alt Table
StatusErrorProgram
23.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.2%)

Local error

Found 2 expressions with local error:

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

series25.0ms (0.5%)

Counts
2 → 48
Calls

2 calls:

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

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
associate-/l/_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
frac-times_binary64
*-un-lft-identity_binary64
Counts
2 → 41
Calls

2 calls:

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

simplify51.0ms (0.9%)

Algorithm
egg-herbie
Rules
843×distribute-rgt-in_binary64
815×distribute-lft-in_binary64
413×times-frac_binary64
413×fma-def_binary64
73×cancel-sign-sub-inv_binary64
Counts
89 → 76
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01081667
13321473
213201435
352541435

prune41.0ms (0.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New73376
Fresh000
Picked101
Done000
Total74377
Error
0.0b
Counts
77 → 3
Alt Table
StatusErrorProgram
0.0b
(*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))
23.5b
(/.f64 (/.f64 (*.f64 (-.f64 x y) (+.f64 x y)) 1) (fma.f64 x x (*.f64 y y)))
23.5b
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (-.f64 x y) (+.f64 x y))))
Compiler

Compiled 1764 to 480 computations (72.8% saved)

localize8.0ms (0.1%)

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

series66.0ms (1.2%)

Counts
3 → 72
Calls

3 calls:

29.0ms
(/.f64 (+.f64 x y) (hypot.f64 x y))
27.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))

rewrite34.0ms (0.6%)

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:

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

simplify167.0ms (3.1%)

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

prune373.0ms (7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2142216
Fresh112
Picked101
Done000
Total2163219
Error
0b
Counts
219 → 3
Alt Table
StatusErrorProgram
10.1b
(*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y))))
0.0b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))))
23.5b
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (-.f64 x y) (+.f64 x y))))
Compiler

Compiled 5367 to 1139 computations (78.8% saved)

localize10.0ms (0.2%)

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)))
2.2b
(log1p.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))))

series54.0ms (1%)

Counts
1 → 24
Calls

1 calls:

54.0ms
(log1p.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
expm1-log1p-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
(log1p.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y))))

simplify49.0ms (0.9%)

Algorithm
egg-herbie
Rules
833×associate-/l*_binary64
483×cancel-sign-sub-inv_binary64
284×fma-neg_binary64
282×associate-/r/_binary64
226×sub-neg_binary64
Counts
35 → 40
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0801039
1197960
2553960
32060960
45038960

prune198.0ms (3.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2560256
Fresh022
Picked011
Done000
Total2563259
Error
0b
Counts
259 → 3
Alt Table
StatusErrorProgram
10.1b
(*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y))))
0.0b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))))
23.5b
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (-.f64 x y) (+.f64 x y))))
Compiler

Compiled 6756 to 2047 computations (69.7% saved)

localize11.0ms (0.2%)

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

series73.0ms (1.4%)

Counts
2 → 48
Calls

2 calls:

39.0ms
(*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))
34.0ms
(*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y))))

rewrite53.0ms (1%)

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt_binary64
48×*-un-lft-identity_binary64
47×times-frac_binary64
44×associate-*l*_binary64
42×sqrt-prod_binary64
Counts
2 → 110
Calls

2 calls:

18.0ms
(*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y))))
18.0ms
(*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))

simplify119.0ms (2.2%)

Algorithm
egg-herbie
Rules
875×fma-def_binary64
285×associate-*r*_binary64
241×times-frac_binary64
238×*-commutative_binary64
235×associate-*l*_binary64
Counts
158 → 225
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03535190
110554771
241774712
350014712

prune340.0ms (6.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New4170417
Fresh011
Picked011
Done011
Total4173420
Error
0b
Counts
420 → 3
Alt Table
StatusErrorProgram
10.1b
(*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (*.f64 (sqrt.f64 (/.f64 (-.f64 x y) (hypot.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y))))
0.0b
(expm1.f64 (log1p.f64 (*.f64 (/.f64 (-.f64 x y) (hypot.f64 x y)) (/.f64 (+.f64 x y) (hypot.f64 x y)))))
23.5b
(/.f64 1 (/.f64 (fma.f64 x x (*.f64 y y)) (*.f64 (-.f64 x y) (+.f64 x y))))
Compiler

Compiled 14608 to 3089 computations (78.9% saved)

regimes222.0ms (4.2%)

Accuracy

Total 0.0b remaining (43%)

Threshold costs 0.0b (43%)

Counts
82 → 1
Compiler

Compiled 4204 to 2474 computations (41.2% saved)

simplify4.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
01126
11526
22026
32226
42326
52326

end63.0ms (1.2%)

Compiler

Compiled 102 to 50 computations (51% saved)

Profiling

Loading profile data...