Details

Time bar (total: 3.6s)

analyze161.0ms (4.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)

sample100.0ms (2.8%)

Algorithm
intervals
Results
21.0ms256×body128valid
0.0msbody128invalid
Compiler

Compiled 65 to 41 computations (36.9% saved)

simplify59.0ms (1.7%)

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.1%)

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)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 4)
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.1b
(fma.f64 (*.f64 a a) (-.f64 1 a) (*.f64 (*.f64 b b) (+.f64 a 3)))
0.3b
(*.f64 (*.f64 b b) (+.f64 a 3))

series90.0ms (2.5%)

Counts
4 → 96
Calls

4 calls:

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

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

simplify81.0ms (2.3%)

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

prune201.0ms (5.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1593162
Fresh101
Picked011
Done000
Total1604164
Error
0b
Counts
164 → 4
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 a b) 4)) (sqrt.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
(+.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))
12.7b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
0.0b
(-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3))))
Compiler

Compiled 4977 to 2926 computations (41.2% saved)

localize22.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4))))))
0.2b
(*.f64 a (pow.f64 b 2))
0.3b
(*.f64 12 (pow.f64 b 2))
2.1b
(*.f64 (pow.f64 a 2) (pow.f64 b 2))

series53.0ms (1.5%)

Counts
4 → 15
Calls

4 calls:

27.0ms
(+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4))))))
12.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
11.0ms
(*.f64 a (pow.f64 b 2))
2.0ms
(*.f64 12 (pow.f64 b 2))

rewrite42.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt_binary64
26×add-exp-log_binary64
24×associate-*r*_binary64
24×unswap-sqr_binary64
24×add-log-exp_binary64
Counts
4 → 130
Calls

4 calls:

21.0ms
(+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4))))))
6.0ms
(*.f64 (pow.f64 a 2) (pow.f64 b 2))
4.0ms
(*.f64 12 (pow.f64 b 2))
4.0ms
(*.f64 a (pow.f64 b 2))

simplify94.0ms (2.6%)

Algorithm
egg-herbie
Rules
860×distribute-rgt-in_binary64
794×fma-def_binary64
222×fma-neg_binary64
204×associate-*l*_binary64
200×unswap-sqr_binary64
Counts
145 → 208
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02042687
14492253
215682048
349722048
450812048

prune382.0ms (10.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2080208
Fresh022
Picked011
Done011
Total2084212
Error
0b
Counts
212 → 4
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 a b) 4)) (sqrt.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
(+.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))
12.7b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
0.0b
(-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3))))
Compiler

Compiled 10571 to 8093 computations (23.4% saved)

localize15.0ms (0.4%)

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
(fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 a b) 4)) (sqrt.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.3b
(*.f64 (*.f64 b b) (+.f64 a 3))
9.6b
(sqrt.f64 (pow.f64 (hypot.f64 a b) 4))

series99.0ms (2.8%)

Counts
2 → 48
Calls

2 calls:

51.0ms
(sqrt.f64 (pow.f64 (hypot.f64 a b) 4))
48.0ms
(fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 a b) 4)) (sqrt.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))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod_binary64
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
unpow-prod-down_binary64
add-cube-cbrt_binary64
Counts
2 → 31
Calls

2 calls:

2.0ms
(sqrt.f64 (pow.f64 (hypot.f64 a b) 4))
0.0ms
(fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 a b) 4)) (sqrt.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))

simplify87.0ms (2.4%)

Algorithm
egg-herbie
Rules
627×fma-def_binary64
567×fma-neg_binary64
532×cancel-sign-sub-inv_binary64
512×associate-+l+_binary64
335×distribute-lft-out_binary64
Counts
79 → 80
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0991708
12481553
27461322
330761301
448891301
550081301

prune284.0ms (8%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1900190
Fresh011
Picked011
Done022
Total1904194
Error
0b
Counts
194 → 4
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 a b) 4)) (sqrt.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
(+.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))
12.7b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
0.0b
(-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3))))
Compiler

Compiled 6483 to 3722 computations (42.6% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.2b
(fma.f64 (*.f64 b b) 12 (pow.f64 b 4))

series4.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

4.0ms
(fma.f64 (*.f64 b b) 12 (pow.f64 b 4))

rewrite1.0ms (0%)

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

1 calls:

0.0ms
(fma.f64 (*.f64 b b) 12 (pow.f64 b 4))

simplify57.0ms (1.6%)

Algorithm
egg-herbie
Rules
704×distribute-rgt-in_binary64
639×distribute-rgt-out_binary64
576×distribute-lft-out_binary64
334×associate-*l*_binary64
287×associate-*r*_binary64
Counts
22 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
021277
132254
273254
3239254
41207254
54884254
64984254

prune29.0ms (0.8%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New23023
Fresh000
Picked011
Done033
Total23427
Error
0b
Counts
27 → 4
Alt Table
StatusErrorProgram
0.2b
(fma.f64 (sqrt.f64 (pow.f64 (hypot.f64 a b) 4)) (sqrt.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
(+.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))
12.7b
(+.f64 -1 (fma.f64 (*.f64 b b) 12 (pow.f64 b 4)))
0.0b
(-.f64 (+.f64 (*.f64 4 (pow.f64 a 2)) (+.f64 (*.f64 4 (*.f64 a (pow.f64 b 2))) (+.f64 (pow.f64 a 4) (+.f64 (*.f64 2 (*.f64 (pow.f64 a 2) (pow.f64 b 2))) (+.f64 (*.f64 12 (pow.f64 b 2)) (pow.f64 b 4)))))) (+.f64 1 (*.f64 4 (pow.f64 a 3))))
Compiler

Compiled 446 to 301 computations (32.5% saved)

regimes602.0ms (16.9%)

Accuracy

Total 0.0b remaining (48.1%)

Threshold costs 0.0b (48.1%)

Counts
91 → 1
Compiler

Compiled 12478 to 8851 computations (29.1% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
10×+-commutative_binary64
10×*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02864
14564
25364
36564
47064
57364
67464
77164

end1.0ms (0%)

Compiler

Compiled 45 to 36 computations (20% saved)

sample1.1s (29.5%)

Algorithm
intervals
Results
685.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 195 to 143 computations (26.7% saved)

Profiling

Loading profile data...