Details

Time bar (total: 3.6s)

analyze7.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%18.7%81.3%0
0%18.7%81.3%1
0%18.7%81.3%2
9.4%9.4%81.3%3
9.4%9.4%81.3%4
16.4%2.3%81.3%5
16.4%2.3%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 (39.5%)

Infinites
0% of outputs are infinite.
Results
1.2s8256×body128valid
Compiler

Compiled 73 to 43 computations (41.1% saved)

simplify78.0ms (2.1%)

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

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
20.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
20.3b
(/.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.2%)

Local error

Found 2 expressions with local error:

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

series25.0ms (0.7%)

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

rewrite14.0ms (0.4%)

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:

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

simplify54.0ms (1.5%)

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

prune44.0ms (1.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New74276
Fresh000
Picked101
Done000
Total75277
Error
0.0b
Counts
77 → 2
Alt Table
StatusErrorProgram
40.7b
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y 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 1756 to 474 computations (73% 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)))

series88.0ms (2.4%)

Counts
4 → 96
Calls

4 calls:

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

rewrite35.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:

12.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))
0.0ms
(hypot.f64 x y)

simplify139.0ms (3.8%)

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

prune191.0ms (5.3%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New3001301
Fresh011
Picked101
Done000
Total3012303
Error
0b
Counts
303 → 2
Alt Table
StatusErrorProgram
40.7b
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y 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)))
Compiler

Compiled 7445 to 1916 computations (74.3% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series56.0ms (1.5%)

Counts
3 → 72
Calls

3 calls:

27.0ms
(*.f64 (/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y))) (/.f64 (+.f64 x y) (hypot.f64 x y)))
15.0ms
(/.f64 1 (/.f64 (hypot.f64 x y) (-.f64 x y)))
14.0ms
(/.f64 (hypot.f64 x y) (-.f64 x y))

rewrite110.0ms (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:

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

simplify185.0ms (5.1%)

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

prune259.0ms (7.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New5000500
Fresh011
Picked011
Done000
Total5002502
Error
0b
Counts
502 → 2
Alt Table
StatusErrorProgram
40.7b
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y 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)))
Compiler

Compiled 14013 to 3573 computations (74.5% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 y y) (*.f64 x y))
0.1b
(*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3)))
0.2b
(*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y))))
39.9b
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y)))))

series65.0ms (1.8%)

Counts
4 → 96
Calls

4 calls:

33.0ms
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y)))))
12.0ms
(*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3)))
12.0ms
(*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y))))
7.0ms
(-.f64 (*.f64 y y) (*.f64 x y))

rewrite56.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity_binary64
20×add-cbrt-cube_binary64
20×add-exp-log_binary64
14×add-sqr-sqrt_binary64
12×associate-*r*_binary64
Counts
4 → 112
Calls

4 calls:

20.0ms
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y)))))
17.0ms
(*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3)))
7.0ms
(*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y y) (*.f64 x y))))
3.0ms
(-.f64 (*.f64 y y) (*.f64 x y))

simplify116.0ms (3.2%)

Algorithm
egg-herbie
Rules
364×associate-*l*_binary64
341×associate-*r*_binary64
336×fma-neg_binary64
273×times-frac_binary64
242×distribute-rgt-in_binary64
Counts
208 → 222
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
02405040
17914326
241204326
350364326

prune133.0ms (3.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2220222
Fresh000
Picked011
Done011
Total2222224
Error
0b
Counts
224 → 2
Alt Table
StatusErrorProgram
40.7b
(/.f64 (*.f64 (-.f64 x y) (+.f64 (pow.f64 x 3) (pow.f64 y 3))) (*.f64 (fma.f64 x x (*.f64 y y)) (+.f64 (*.f64 x x) (-.f64 (*.f64 y 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)))
Compiler

Compiled 8756 to 2873 computations (67.2% saved)

regimes452.0ms (12.4%)

Accuracy

Total 0.0b remaining (16.6%)

Threshold costs 0.0b (16.6%)

Counts
145 → 1
Compiler

Compiled 9892 to 5414 computations (45.3% 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
01125
11725
22125
32325
42425
52325

end53.0ms (1.5%)

Compiler

Compiled 89 to 47 computations (47.2% saved)

Profiling

Loading profile data...