Details

Time bar (total: 2.9s)

analyze156.0ms (5.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)

sample93.0ms (3.2%)

Algorithm
intervals
Results
18.0ms256×body128valid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify55.0ms (1.9%)

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

localize13.0ms (0.4%)

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)))
1.0b
(*.f64 (*.f64 b b) (+.f64 a 3))

series98.0ms (3.3%)

Counts
4 → 96
Calls

4 calls:

38.0ms
(pow.f64 (hypot.f64 a b) 4)
34.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))
15.0ms
(*.f64 (*.f64 b b) (+.f64 a 3))
11.0ms
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))

rewrite14.0ms (0.5%)

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

simplify93.0ms (3.2%)

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

prune176.0ms (6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1611162
Fresh011
Picked011
Done000
Total1613164
Error
0b
Counts
164 → 3
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)
0.5b
(+.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.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 4959 to 2890 computations (41.7% saved)

localize20.0ms (0.7%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.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)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
1.0b
(*.f64 (*.f64 b b) (+.f64 3 a))

series52.0ms (1.8%)

Counts
4 → 84
Calls

4 calls:

27.0ms
(+.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)))))
14.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
8.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
3.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))

rewrite35.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity_binary64
29×add-sqr-sqrt_binary64
24×add-cube-cbrt_binary64
18×prod-diff_binary64
15×distribute-lft-in_binary64
Counts
4 → 121
Calls

4 calls:

12.0ms
(+.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)))))
7.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
6.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
3.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

simplify95.0ms (3.2%)

Algorithm
egg-herbie
Rules
511×associate-+l+_binary64
383×associate-*l*_binary64
299×associate-*r*_binary64
268×cancel-sign-sub-inv_binary64
211×unswap-sqr_binary64
Counts
205 → 209
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02413743
16003419
223883054
348823054

prune240.0ms (8.2%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2090209
Fresh011
Picked011
Done011
Total2093212
Error
0b
Counts
212 → 3
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)
0.5b
(+.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.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 7733 to 3963 computations (48.8% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
0.3b
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4))
0.7b
(pow.f64 (sqrt.f64 (hypot.f64 a b)) 4)
1.0b
(*.f64 (*.f64 b b) (+.f64 a 3))

series115.0ms (3.9%)

Counts
2 → 32
Calls

2 calls:

79.0ms
(pow.f64 (sqrt.f64 (hypot.f64 a b)) 4)
36.0ms
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4))

rewrite18.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
50×unpow-prod-down_binary64
45×add-sqr-sqrt_binary64
25×sqrt-prod_binary64
17×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
Counts
2 → 97
Calls

2 calls:

7.0ms
(*.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4))
2.0ms
(pow.f64 (sqrt.f64 (hypot.f64 a b)) 4)

simplify100.0ms (3.4%)

Algorithm
egg-herbie
Rules
904×fma-def_binary64
663×unswap-sqr_binary64
557×log-prod_binary64
538×exp-prod_binary64
512×*-commutative_binary64
Counts
129 → 124
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01012043
11701689
25071584
312051572
427991334
538431334
649441334

prune255.0ms (8.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2370237
Fresh000
Picked011
Done022
Total2373240
Error
0b
Counts
240 → 3
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)
0.5b
(+.f64 (*.f64 (pow.f64 (sqrt.f64 (hypot.f64 a b)) 4) (pow.f64 (sqrt.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 8582 to 4394 computations (48.8% saved)

regimes420.0ms (14.3%)

Accuracy

Total 0.0b remaining (40.7%)

Threshold costs 0.0b (40.7%)

Counts
81 → 1
Compiler

Compiled 10605 to 7434 computations (29.9% 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
01633
12133
22533
32733
42833
52833

end1.0ms (0%)

Compiler

Compiled 25 to 17 computations (32% saved)

sample867.0ms (29.5%)

Algorithm
intervals
Results
594.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 148 to 96 computations (35.1% saved)

Profiling

Loading profile data...