Details

Time bar (total: 3.4s)

analyze242.0ms (7%)

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)

sample44.0ms (1.3%)

Algorithm
intervals
Results
30.0ms256×body128valid
Compiler

Compiled 41 to 27 computations (34.1% saved)

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

prune7.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
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)

localize14.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series165.0ms (4.8%)

Counts
3 → 72
Calls

3 calls:

74.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
65.0ms
(pow.f64 (hypot.f64 a b) 4)
25.0ms
(hypot.f64 a b)

rewrite16.0ms (0.5%)

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:

8.0ms
(+.f64 (pow.f64 (hypot.f64 a b) 4) (fma.f64 b (*.f64 b 4) -1))
3.0ms
(pow.f64 (hypot.f64 a b) 4)
1.0ms
(hypot.f64 a b)

simplify177.0ms (5.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 → 113
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01302123
13432010
29791901
340701899
449221899
549441899

prune177.0ms (5.1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1130113
Fresh011
Picked011
Done000
Total1132115
Error
0b
Counts
115 → 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 2311 to 1477 computations (36.1% saved)

localize18.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series81.0ms (2.3%)

Counts
4 → 84
Calls

4 calls:

41.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
23.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
12.0ms
(+.f64 (*.f64 a a) (*.f64 b b))
5.0ms
(*.f64 4 (*.f64 b b))

rewrite39.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64
10×pow1_binary64
10×add-sqr-sqrt_binary64
fma-def_binary64
add-cbrt-cube_binary64
Counts
4 → 76
Calls

4 calls:

13.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (*.f64 b b)))
8.0ms
(*.f64 4 (*.f64 b b))
7.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
5.0ms
(+.f64 (*.f64 a a) (*.f64 b b))

simplify194.0ms (5.7%)

Algorithm
egg-herbie
Rules
682×associate-*l*_binary64
617×fma-def_binary64
585×associate-*r*_binary64
564×fma-neg_binary64
242×distribute-rgt-in_binary64
Counts
160 → 132
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01212183
13201975
29661803
344841803
450001803

prune250.0ms (7.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1320132
Fresh000
Picked011
Done011
Total1322134
Error
0b
Counts
134 → 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 2992 to 1496 computations (50% saved)

regimes498.0ms (14.5%)

Accuracy

Total 0.0b remaining (48%)

Threshold costs 0.0b (48%)

Counts
38 → 1
Compiler

Compiled 3857 to 2837 computations (26.4% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01017
11217
21217

end1.0ms (0%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

sample1.5s (42.5%)

Algorithm
intervals
Results
895.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 69 to 47 computations (31.9% saved)

Profiling

Loading profile data...