Details

Time bar (total: 4.0s)

analyze103.0ms (2.6%)

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)

sample1.0s (25.8%)

Results
965.0ms8256×body128valid
1.0msbody128invalid
Compiler

Compiled 59 to 38 computations (35.6% saved)

simplify43.0ms (1.1%)

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.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.2b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b))) 1)
Compiler

Compiled 97 to 64 computations (34% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series83.0ms (2.1%)

Counts
3 → 72
Calls

3 calls:

37.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
33.0ms
(pow.f64 (hypot.f64 a b) 4)
13.0ms
(hypot.f64 a b)

rewrite8.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
fma-def_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)

simplify94.0ms (2.3%)

Algorithm
egg-herbie
Rules
785×fma-neg_binary64
421×fma-def_binary64
279×associate-*r*_binary64
275×associate-*l*_binary64
184×times-frac_binary64
Counts
124 → 120
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01302123
13432010
29791901
340701899
449221899
549441899

prune113.0ms (2.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1173120
Fresh101
Picked011
Done000
Total1184122
Error
0b
Counts
122 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
17.1b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (*.f64 b b) -1)) 3))
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))
Compiler

Compiled 2521 to 1596 computations (36.7% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 b b (*.f64 2 (*.f64 a a)))
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))

series51.0ms (1.3%)

Counts
4 → 84
Calls

4 calls:

21.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))
12.0ms
(fma.f64 b b (*.f64 2 (*.f64 a a)))
3.0ms
(*.f64 2 (*.f64 a a))

rewrite11.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
4 → 60
Calls

4 calls:

5.0ms
(*.f64 2 (*.f64 a a))
3.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 b b (*.f64 2 (*.f64 a a)))
0.0ms
(fma.f64 (*.f64 b b) (fma.f64 b b (*.f64 2 (*.f64 a a))) (pow.f64 a 4))

simplify102.0ms (2.5%)

Algorithm
egg-herbie
Rules
568×fma-neg_binary64
418×cancel-sign-sub-inv_binary64
359×fma-def_binary64
344×distribute-rgt-in_binary64
339×distribute-lft-in_binary64
Counts
144 → 113
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01102635
12422459
26802315
330802315
448442315
550732315

prune271.0ms (6.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1130113
Fresh022
Picked011
Done011
Total1134117
Error
0b
Counts
117 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
17.1b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 4 (*.f64 b b) -1)) 3))
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))
Compiler

Compiled 3349 to 1871 computations (44.1% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.1b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
0.4b
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))
18.7b
(cbrt.f64 (pow.f64 (hypot.f64 a b) 4))

series347.0ms (8.6%)

Counts
3 → 72
Calls

3 calls:

239.0ms
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
57.0ms
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))
50.0ms
(cbrt.f64 (pow.f64 (hypot.f64 a b) 4))

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
59×cbrt-prod_binary64
41×add-sqr-sqrt_binary64
23×unpow-prod-down_binary64
17×*-un-lft-identity_binary64
17×add-cube-cbrt_binary64
Counts
3 → 93
Calls

3 calls:

9.0ms
(*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)))
1.0ms
(cbrt.f64 (pow.f64 (hypot.f64 a b) 4))
0.0ms
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))

simplify140.0ms (3.5%)

Algorithm
egg-herbie
Rules
514×fma-def_binary64
498×unswap-sqr_binary64
312×*-commutative_binary64
275×fma-neg_binary64
227×cancel-sign-sub-inv_binary64
Counts
165 → 175
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02014579
14614352
212873938
327743911
448493847
549203847

prune547.0ms (13.5%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3791380
Fresh101
Picked011
Done112
Total3813384
Error
0b
Counts
384 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
11.1b
(fma.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 13485 to 8437 computations (37.4% saved)

localize12.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 a b)
0.1b
(fma.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
18.7b
(cbrt.f64 (pow.f64 (hypot.f64 a b) 4))
25.3b
(cbrt.f64 (pow.f64 (hypot.f64 a b) 8))

series272.0ms (6.8%)

Counts
2 → 48
Calls

2 calls:

217.0ms
(fma.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
55.0ms
(cbrt.f64 (pow.f64 (hypot.f64 a b) 8))

rewrite3.0ms (0.1%)

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

2 calls:

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

simplify86.0ms (2.1%)

Algorithm
egg-herbie
Rules
472×unswap-sqr_binary64
440×fma-neg_binary64
395×cancel-sign-sub-inv_binary64
316×associate-*r*_binary64
316×fma-def_binary64
Counts
75 → 60
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01132010
12631893
26931794
323901779
445581779
550221779

prune181.0ms (4.5%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1840184
Fresh000
Picked011
Done022
Total1843187
Error
0b
Counts
187 → 3
Alt Table
StatusErrorProgram
0.0b
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
0.5b
(fma.f64 (*.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4))) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
11.1b
(fma.f64 (cbrt.f64 (pow.f64 (hypot.f64 a b) 8)) (cbrt.f64 (pow.f64 (hypot.f64 a b) 4)) (fma.f64 b (*.f64 b 4) -1))
Compiler

Compiled 5296 to 3404 computations (35.7% saved)

regimes377.0ms (9.3%)

Accuracy

Total 0.0b remaining (26.4%)

Threshold costs 0.0b (26.4%)

Counts
59 → 1
Compiler

Compiled 7370 to 5187 computations (29.6% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11217
21217

end93.0ms (2.3%)

Compiler

Compiled 91 to 62 computations (31.9% saved)

Profiling

Loading profile data...