Details

Time bar (total: 2.8s)

analyze100.0ms (3.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%50%25.1%6
25%31.2%43.8%7
25%21.9%53.2%8
25%14%61%9
28.1%10.9%61%10
31.6%7.4%61%11
33.4%5.7%61%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 20 to 13 computations (35% saved)

sample1.1s (39%)

Results
1.0s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify41.0ms (1.5%)

Algorithm
egg-herbie
Rules
770×unswap-sqr_binary64
631×associate-*l*_binary64
623×fma-def_binary64
311×fma-neg_binary64
283×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01323
13021
26021
315921
451817
5168717
6359717
7502617

prune5.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 97 to 64 computations (34% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.0b
(pow.f64 (hypot.f64 a b) 4)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))

series79.0ms (2.9%)

Counts
3 → 72
Calls

3 calls:

36.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
33.0ms
(pow.f64 (hypot.f64 a b) 4)
11.0ms
(hypot.f64 a b)

rewrite7.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
fma-def_binary64
add-cube-cbrt_binary64
unpow-prod-down_binary64
Counts
3 → 52
Calls

3 calls:

4.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
1.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(hypot.f64 a b)

simplify101.0ms (3.7%)

Algorithm
egg-herbie
Rules
785×fma-neg_binary64
421×fma-def_binary64
280×associate-*r*_binary64
276×associate-*l*_binary64
184×times-frac_binary64
Counts
124 → 120
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01302123
13432010
29791901
340701899
449221899
549441899

prune127.0ms (4.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1173120
Fresh101
Picked011
Done000
Total1184122
Error
0b
Counts
122 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 4) 1))
11.2b
(fma.f64 b (*.f64 b (fma.f64 b b 4)) -1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.2b
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 2481 to 1574 computations (36.6% saved)

localize11.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 4) 1))
1.0b
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))

series52.0ms (1.9%)

Counts
2 → 48
Calls

2 calls:

28.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 4) 1))
24.0ms
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))

rewrite13.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
25×associate-+r+_binary64
22×*-un-lft-identity_binary64
21×prod-diff_binary64
17×add-sqr-sqrt_binary64
17×add-cube-cbrt_binary64
Counts
2 → 56
Calls

2 calls:

8.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 4) 1))
0.0ms
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))

simplify114.0ms (4.1%)

Algorithm
egg-herbie
Rules
1022×fma-neg_binary64
406×fma-def_binary64
323×distribute-rgt-in_binary64
316×distribute-lft-in_binary64
218×associate-*l*_binary64
Counts
104 → 101
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0972771
12132370
25692351
331452351
445592351
549582351

prune125.0ms (4.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1010101
Fresh022
Picked011
Done011
Total1014105
Error
0b
Counts
105 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 4) 1))
11.2b
(fma.f64 b (*.f64 b (fma.f64 b b 4)) -1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.2b
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 3082 to 2074 computations (32.7% saved)

localize9.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.0b
(pow.f64 (hypot.f64 a b) 2)
0.0b
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 b (*.f64 b 4) -1))
0.3b
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))

series131.0ms (4.7%)

Counts
3 → 72
Calls

3 calls:

54.0ms
(pow.f64 (hypot.f64 a b) 2)
39.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))
38.0ms
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 b (*.f64 b 4) -1))

rewrite16.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
25×unpow-prod-down_binary64
14×*-un-lft-identity_binary64
12×fma-def_binary64
12×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
Counts
3 → 77
Calls

3 calls:

6.0ms
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 b (*.f64 b 4) -1))
5.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))
1.0ms
(pow.f64 (hypot.f64 a b) 2)

simplify147.0ms (5.3%)

Algorithm
egg-herbie
Rules
444×log-prod_binary64
413×exp-prod_binary64
342×cancel-sign-sub-inv_binary64
321×fma-def_binary64
284×fma-neg_binary64
Counts
149 → 127
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01112194
12521935
26401839
323921834
441091834
544731828
649711828
749241828

prune151.0ms (5.5%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1700170
Fresh011
Picked011
Done022
Total1704174
Error
0b
Counts
174 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 4) 1))
11.2b
(fma.f64 b (*.f64 b (fma.f64 b b 4)) -1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.2b
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 3795 to 2581 computations (32% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 b (*.f64 b (fma.f64 b b 4)) -1)
0.1b
(*.f64 b (fma.f64 b b 4))

series6.0ms (0.2%)

Counts
2 → 24
Calls

2 calls:

3.0ms
(fma.f64 b (*.f64 b (fma.f64 b b 4)) -1)
3.0ms
(*.f64 b (fma.f64 b b 4))

rewrite4.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
2 → 32
Calls

2 calls:

3.0ms
(*.f64 b (fma.f64 b b 4))
0.0ms
(fma.f64 b (*.f64 b (fma.f64 b b 4)) -1)

simplify79.0ms (2.9%)

Algorithm
egg-herbie
Rules
784×fma-neg_binary64
764×fma-def_binary64
404×associate-+l+_binary64
395×unswap-sqr_binary64
359×associate-+r+_binary64
Counts
56 → 63
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
059650
1111579
2299579
3963579
42085579
53908579
64988579
74818579

prune52.0ms (1.9%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New63063
Fresh000
Picked011
Done033
Total63467
Error
0b
Counts
67 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4)) (-.f64 (pow.f64 a 4) 1))
11.2b
(fma.f64 b (*.f64 b (fma.f64 b b 4)) -1)
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.2b
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 899 to 583 computations (35.2% saved)

regimes217.0ms (7.8%)

Accuracy

Total 0.0b remaining (53.6%)

Threshold costs 0.0b (53.6%)

Counts
29 → 1
Compiler

Compiled 2573 to 1924 computations (25.2% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
12027
22127
31927

end88.0ms (3.2%)

Compiler

Compiled 105 to 75 computations (28.6% saved)

Profiling

Loading profile data...