Details

Time bar (total: 3.8s)

analyze461.0ms (12%)

Algorithm
search
Search
TrueOtherFalseIter
0%50%50%0
0%50%50%1
25%25%50%2
25%25%50%3
31.2%18.7%50%4
31.2%18.7%50%5
34.3%15.6%50%6
34.3%15.6%50%7
35.9%14%50%8
35.9%14%50%9
36.7%13.3%50%10
36.7%13.3%50%11
37.1%12.9%50%12
37.1%12.9%50%13
37.3%12.7%50%14
Compiler

Compiled 20 to 14 computations (30% saved)

sample1.9s (50.3%)

Results
857.0ms6235×body128valid
367.0ms549×body4096valid
346.0ms667×body2048valid
190.0ms423×body1024valid
79.0ms235×body512valid
34.0ms147×body256valid
Compiler

Compiled 57 to 40 computations (29.8% saved)

simplify30.0ms (0.8%)

Algorithm
egg-herbie
Rules
203×fma-def_binary64
142×fma-neg_binary64
51×distribute-rgt-in_binary64
42×cancel-sign-sub-inv_binary64
28×sub-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12015
23315
35015
46915
59815
615115
721115
826315
930515
1034315
1137915
1239615
1341515
1442815
1546515
1647715
1748615
1844915

prune4.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
14.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
14.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 51 to 37 computations (27.5% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 re im)
0.2b
(-.f64 (hypot.f64 re im) re)

series26.0ms (0.7%)

Counts
2 → 48
Calls

2 calls:

14.0ms
(-.f64 (hypot.f64 re im) re)
12.0ms
(hypot.f64 re im)

rewrite5.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
12×add-sqr-sqrt_binary64
10×add-cube-cbrt_binary64
prod-diff_binary64
add-log-exp_binary64
Counts
2 → 40
Calls

2 calls:

3.0ms
(-.f64 (hypot.f64 re im) re)
0.0ms
(hypot.f64 re im)

simplify75.0ms (2%)

Algorithm
egg-herbie
Rules
952×fma-neg_binary64
648×fma-def_binary64
605×times-frac_binary64
452×associate-*l*_binary64
282×associate-/r*_binary64
Counts
88 → 104
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01431564
13611325
211771271
346761269
452701269

prune67.0ms (1.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1013104
Fresh000
Picked011
Done000
Total1014105
Error
7.4b
Counts
105 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
53.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
16.8b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))) (fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))))))
Compiler

Compiled 2278 to 1372 computations (39.8% saved)

localize16.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.6b
(cbrt.f64 re)
10.0b
(fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))
60.8b
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))

series138.0ms (3.6%)

Counts
4 → 60
Calls

4 calls:

46.0ms
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))
36.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
34.0ms
(cbrt.f64 re)
21.0ms
(fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
13×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
11×pow1_binary64
Counts
4 → 75
Calls

4 calls:

4.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
1.0ms
(cbrt.f64 re)
0.0ms
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))
0.0ms
(fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))

simplify94.0ms (2.5%)

Algorithm
egg-herbie
Rules
710×fma-neg_binary64
694×times-frac_binary64
355×associate-/r*_binary64
335×fma-def_binary64
273×associate-/l*_binary64
Counts
135 → 144
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01411344
13111217
210441127
339531111
445841019
548221019

prune300.0ms (7.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3991400
Fresh022
Picked101
Done011
Total4004404
Error
7.4b
Counts
404 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
53.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
27.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))) (expm1.f64 (log1p.f64 (fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))))))))
Compiler

Compiled 16307 to 4814 computations (70.5% saved)

localize21.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.6b
(cbrt.f64 re)
10.0b
(fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))
60.8b
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))

prune270.0ms (7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4000400
Fresh022
Picked011
Done011
Total4004404
Error
7.4b
Counts
404 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
53.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
27.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))) (expm1.f64 (log1p.f64 (fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))))))))
Compiler

Compiled 17066 to 5263 computations (69.2% saved)

localize4.0ms (0.1%)

prune3.0ms (0.1%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New000
Fresh011
Picked011
Done022
Total044
Error
7.4b
Counts
4 → 4
Alt Table
StatusErrorProgram
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
53.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
27.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (fma.f64 1 (hypot.f64 re im) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))) (expm1.f64 (log1p.f64 (fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re))))))))))
Compiler

Compiled 75 to 47 computations (37.3% saved)

regimes259.0ms (6.7%)

Accuracy

Total 2.6b remaining (25.5%)

Threshold costs 0b (0%)

Counts
22 → 2
Compiler

Compiled 4350 to 2481 computations (43% saved)

bsearch1.0ms (0%)

Compiler

Compiled 15 to 10 computations (33.3% saved)

simplify4.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
02758
13758
24258
34458
44558
54558

end112.0ms (2.9%)

Compiler

Compiled 155 to 107 computations (31% saved)

Profiling

Loading profile data...