Details

Time bar (total: 2.5s)

analyze180.0ms (7.3%)

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

Results
1.2s8256×body128valid
1.0msbody128invalid
Compiler

Compiled 95 to 59 computations (37.9% saved)

simplify58.0ms (2.4%)

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

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

localize38.0ms (1.6%)

Local error

Found 4 expressions with local error:

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

series74.0ms (3%)

Counts
4 → 96
Calls

4 calls:

42.0ms
(pow.f64 (hypot.f64 a b) 4)
13.0ms
(hypot.f64 a b)
11.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
8.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))

rewrite10.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64
10×pow1_binary64
*-un-lft-identity_binary64
add-cbrt-cube_binary64
add-sqr-sqrt_binary64
Counts
4 → 66
Calls

4 calls:

6.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
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)))
0.0ms
(hypot.f64 a b)

simplify106.0ms (4.3%)

Algorithm
egg-herbie
Rules
510×times-frac_binary64
492×fma-def_binary64
347×distribute-rgt-in_binary64
332×distribute-lft-in_binary64
329×fma-neg_binary64
Counts
162 → 150
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01622428
14002268
213112221
348422221
449902221

prune152.0ms (6.2%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1491150
Fresh101
Picked011
Done000
Total1502152
Error
0.0b
Counts
152 → 2
Alt Table
StatusErrorProgram
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))
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))
Compiler

Compiled 4489 to 2582 computations (42.5% saved)

localize17.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
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.9b
(*.f64 (*.f64 b b) (+.f64 a 3))

series34.0ms (1.4%)

Counts
1 → 24
Calls

1 calls:

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

rewrite4.0ms (0.2%)

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

1 calls:

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

simplify89.0ms (3.6%)

Algorithm
egg-herbie
Rules
459×fma-def_binary64
400×associate-/l/_binary64
364×sqr-pow_binary64
333×*-commutative_binary64
333×log-prod_binary64
Counts
53 → 47
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
064838
1126717
2263684
3816684
41416681
52874681
64679681
74985681
84773681

prune168.0ms (6.8%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1630163
Fresh000
Picked011
Done011
Total1632165
Error
0.0b
Counts
165 → 2
Alt Table
StatusErrorProgram
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))
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))
Compiler

Compiled 5300 to 3253 computations (38.6% saved)

regimes185.0ms (7.5%)

Accuracy

Total 0.0b remaining (24.7%)

Threshold costs 0.0b (24.7%)

Counts
32 → 1
Compiler

Compiled 3998 to 2878 computations (28% 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
01733
12433
22733
32933
43033
52933

end75.0ms (3%)

Compiler

Compiled 103 to 71 computations (31.1% saved)

Profiling

Loading profile data...