Details

Time bar (total: 2.7s)

analyze178.0ms (6.5%)

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%68.7%6.3%6
25%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 20 computations (37.5% saved)

sample1.5s (53.1%)

Results
1.4s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 95 to 59 computations (37.9% saved)

simplify60.0ms (2.2%)

Algorithm
egg-herbie
Rules
620×fma-def_binary64
556×cancel-sign-sub-inv_binary64
552×unswap-sqr_binary64
357×unsub-neg_binary64
344×+-commutative_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01939
15737
216837
349237
4160433
5289133
6430933
7521433

prune5.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 166 to 104 computations (37.3% saved)

localize19.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

series78.0ms (2.9%)

Counts
4 → 96
Calls

4 calls:

30.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
30.0ms
(pow.f64 (hypot.f64 a b) 4)
12.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
7.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite16.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
13×*-un-lft-identity_binary64
10×add-sqr-sqrt_binary64
10×add-exp-log_binary64
10×pow1_binary64
add-cube-cbrt_binary64
Counts
4 → 78
Calls

4 calls:

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

simplify85.0ms (3.1%)

Algorithm
egg-herbie
Rules
574×associate-+l+_binary64
469×distribute-rgt-in_binary64
453×distribute-lft-in_binary64
338×associate--l+_binary64
219×cancel-sign-sub-inv_binary64
Counts
174 → 162
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01743413
14643143
215563045
350743045

prune169.0ms (6.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1611162
Fresh101
Picked011
Done000
Total1622164
Error
0b
Counts
164 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
0.2b
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 4887 to 2850 computations (41.7% saved)

localize17.0ms (0.6%)

Local error

Found 4 expressions with local error:

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

series70.0ms (2.5%)

Counts
2 → 48
Calls

2 calls:

38.0ms
(pow.f64 (hypot.f64 a b) 2)
31.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))

rewrite6.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
14×unpow-prod-down_binary64
pow-unpow_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 50
Calls

2 calls:

3.0ms
(pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4))
2.0ms
(pow.f64 (hypot.f64 a b) 2)

simplify105.0ms (3.8%)

Algorithm
egg-herbie
Rules
467×fma-def_binary64
456×associate-/l/_binary64
413×sqr-pow_binary64
353×*-commutative_binary64
334×log-prod_binary64
Counts
98 → 78
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
0731237
11411046
23021013
38921010
415171007
530291007
647331007
747571007

prune161.0ms (5.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1510151
Fresh000
Picked011
Done011
Total1512153
Error
0b
Counts
153 → 2
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
0.2b
(+.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 2) (sqrt.f64 4)) (fma.f64 4 (fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3))) -1))
Compiler

Compiled 4690 to 2829 computations (39.7% saved)

regimes241.0ms (8.8%)

Accuracy

Total 0.0b remaining (59.2%)

Threshold costs 0.0b (59.2%)

Counts
42 → 1
Compiler

Compiled 4976 to 3600 computations (27.7% 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
01630
12230
22530
32730
42830
52730

end73.0ms (2.7%)

Compiler

Compiled 99 to 69 computations (30.3% saved)

Profiling

Loading profile data...