Details

Time bar (total: 3.2s)

analyze159.0ms (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%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)

sample26.0ms (0.8%)

Algorithm
intervals
Results
18.0ms256×body128valid
Compiler

Compiled 41 to 27 computations (34.1% saved)

simplify47.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

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

series97.0ms (3%)

Counts
3 → 72
Calls

3 calls:

41.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
38.0ms
(pow.f64 (hypot.f64 a b) 4)
17.0ms
(hypot.f64 a b)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
fma-def_binary64
add-sqr-sqrt_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))
2.0ms
(pow.f64 (hypot.f64 a b) 4)
0.0ms
(hypot.f64 a b)

simplify101.0ms (3.1%)

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 → 114
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01302123
13432010
29791901
340701899
449221899
549441899

prune120.0ms (3.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1104114
Fresh101
Picked101
Done000
Total1124116
Error
0b
Counts
116 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (+.f64 -1 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
16.2b
(/.f64 (fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8)) (-.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
19.6b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 2454 to 1577 computations (35.7% saved)

localize11.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series50.0ms (1.5%)

Counts
2 → 48
Calls

2 calls:

27.0ms
(+.f64 (pow.f64 a 4) (+.f64 -1 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))))
22.0ms
(fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
fma-def_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
Counts
2 → 34
Calls

2 calls:

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

simplify92.0ms (2.9%)

Algorithm
egg-herbie
Rules
596×fma-neg_binary64
438×distribute-rgt-in_binary64
418×distribute-lft-in_binary64
352×fma-def_binary64
268×exp-prod_binary64
Counts
82 → 72
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0711965
11831651
25721645
332521645
448231645
549571645

prune83.0ms (2.6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New72072
Fresh033
Picked011
Done000
Total72476
Error
0b
Counts
76 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (+.f64 -1 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
16.2b
(/.f64 (fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8)) (-.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
19.6b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 2026 to 1268 computations (37.4% saved)

localize12.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series41.0ms (1.3%)

Counts
3 → 60
Calls

3 calls:

22.0ms
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
16.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))
2.0ms
(*.f64 2 (*.f64 a a))

rewrite9.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-cbrt-cube_binary64
add-exp-log_binary64
pow1_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
Counts
3 → 50
Calls

3 calls:

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

simplify96.0ms (3%)

Algorithm
egg-herbie
Rules
752×fma-neg_binary64
418×cancel-sign-sub-inv_binary64
343×fma-def_binary64
325×distribute-rgt-in_binary64
317×distribute-lft-in_binary64
Counts
110 → 92
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01002244
12302091
26471947
329641941
445271941
549461941

prune95.0ms (2.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh022
Picked011
Done011
Total92496
Error
0b
Counts
96 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (+.f64 -1 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
16.2b
(/.f64 (fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8)) (-.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
19.6b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 2800 to 1598 computations (42.9% saved)

localize14.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (hypot.f64 a b) 8)
0.0b
(fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8))
0.0b
(pow.f64 (hypot.f64 a b) 4)
15.0b
(/.f64 (fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8)) (-.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))

series312.0ms (9.7%)

Counts
3 → 72
Calls

3 calls:

249.0ms
(/.f64 (fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8)) (-.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
34.0ms
(fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8))
29.0ms
(pow.f64 (hypot.f64 a b) 8)

rewrite17.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64
25×*-un-lft-identity_binary64
21×times-frac_binary64
17×add-cube-cbrt_binary64
12×difference-of-squares_binary64
Counts
3 → 77
Calls

3 calls:

6.0ms
(/.f64 (fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8)) (-.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
1.0ms
(pow.f64 (hypot.f64 a b) 8)
0.0ms
(fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8))

simplify136.0ms (4.2%)

Algorithm
egg-herbie
Rules
509×fma-def_binary64
356×associate-+l+_binary64
326×times-frac_binary64
315×associate-/l*_binary64
221×associate-/r*_binary64
Counts
149 → 175
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
04928911
114848554
252068554

prune323.0ms (10%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2090209
Fresh011
Picked011
Done022
Total2094213
Error
0b
Counts
213 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 a 4) (+.f64 -1 (fma.f64 (*.f64 b b) (fma.f64 2 (*.f64 a a) 4) (pow.f64 b 4))))
0.1b
(+.f64 (fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4)) (fma.f64 b (*.f64 b 4) -1))
16.2b
(/.f64 (fma.f64 (fma.f64 b (*.f64 b 4) -1) (fma.f64 (*.f64 b b) -4 1) (pow.f64 (hypot.f64 a b) 8)) (-.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1)))
19.6b
(+.f64 (cbrt.f64 (pow.f64 (pow.f64 (hypot.f64 a b) 4) 3)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 13332 to 8936 computations (33% saved)

regimes553.0ms (17.2%)

Accuracy

Total 0.0b remaining (60.3%)

Threshold costs 0.0b (60.3%)

Counts
96 → 1
Compiler

Compiled 10498 to 7660 computations (27% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01427
11627
21627

end1.0ms (0%)

Compiler

Compiled 21 to 15 computations (28.6% saved)

sample790.0ms (24.6%)

Algorithm
intervals
Results
472.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 138 to 95 computations (31.2% saved)

Profiling

Loading profile data...