Details

Time bar (total: 6.4s)

analyze478.0ms (7.5%)

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)

sample2.0s (31.2%)

Results
900.0ms6318×body128valid
379.0ms672×body2048valid
374.0ms507×body4096valid
188.0ms431×body1024valid
70.0ms212×body512valid
29.0ms116×body256valid
Compiler

Compiled 57 to 40 computations (29.8% saved)

simplify29.0ms (0.5%)

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

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
11.2b
Counts
3 → 1
Alt Table
StatusErrorProgram
11.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.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.5b
(-.f64 (hypot.f64 re im) re)

series13.0ms (0.2%)

Counts
1 → 24
Calls

1 calls:

13.0ms
(-.f64 (hypot.f64 re im) re)

rewrite6.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity_binary64
11×add-sqr-sqrt_binary64
prod-diff_binary64
add-cube-cbrt_binary64
cancel-sign-sub-inv_binary64
Counts
1 → 30
Calls

1 calls:

5.0ms
(-.f64 (hypot.f64 re im) re)

simplify77.0ms (1.2%)

Algorithm
egg-herbie
Rules
717×fma-neg_binary64
551×times-frac_binary64
464×fma-def_binary64
384×associate-*l*_binary64
362×associate-*r*_binary64
Counts
54 → 65
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01191005
1284784
2946746
34329744
44911743
54885743

prune45.0ms (0.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New62365
Fresh000
Picked011
Done000
Total62466
Error
5.9b
Counts
66 → 4
Alt Table
StatusErrorProgram
12.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (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))))))))
56.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
11.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 1480 to 833 computations (43.7% saved)

localize58.0ms (0.9%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.6b
(cbrt.f64 re)
12.5b
(fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))
60.1b
(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))))

series189.0ms (3%)

Counts
4 → 46
Calls

4 calls:

50.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
48.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))))
46.0ms
(cbrt.f64 re)
45.0ms
(fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))

rewrite9.0ms (0.1%)

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:

5.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 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))

simplify98.0ms (1.5%)

Algorithm
egg-herbie
Rules
694×times-frac_binary64
657×fma-neg_binary64
363×distribute-neg-frac_binary64
343×associate-/r*_binary64
273×associate-/l*_binary64
Counts
121 → 132
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01281113
1257950
2834854
33431839
44624827
54982827
64731827

prune268.0ms (4.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New4002402
Fresh022
Picked101
Done011
Total4015406
Error
5.9b
Counts
406 → 5
Alt Table
StatusErrorProgram
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
15.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (expm1.f64 (log1p.f64 (-.f64 (hypot.f64 re im) 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))))))))
56.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
12.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (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 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2))))))))
11.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 18201 to 4270 computations (76.5% saved)

localize23.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 re)
0.9b
(pow.f64 (cbrt.f64 (cbrt.f64 re)) 4)
12.5b
(fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))
59.0b
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2))))

series340.0ms (5.3%)

Counts
2 → 24
Calls

2 calls:

293.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 re)) 4)
47.0ms
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2))))

rewrite6.0ms (0.1%)

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

2 calls:

2.0ms
(pow.f64 (cbrt.f64 (cbrt.f64 re)) 4)
2.0ms
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2))))

simplify80.0ms (1.3%)

Algorithm
egg-herbie
Rules
1034×fma-def_binary64
599×exp-prod_binary64
342×fma-neg_binary64
273×distribute-rgt-neg-in_binary64
273×unswap-sqr_binary64
Counts
60 → 57
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
076977
1134748
2268530
3788486
41852464
53945464
64866464
74372464

prune362.0ms (5.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2591260
Fresh033
Picked101
Done011
Total2605265
Error
5.9b
Counts
265 → 5
Alt Table
StatusErrorProgram
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
15.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (expm1.f64 (log1p.f64 (-.f64 (hypot.f64 re im) 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))))))))
13.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (*.f64 (sqrt.f64 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))) (sqrt.f64 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (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 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2))))))))
56.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
11.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 13313 to 4421 computations (66.8% saved)

localize28.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.6b
(cbrt.f64 re)
0.9b
(pow.f64 (cbrt.f64 (cbrt.f64 re)) 4)
12.5b
(fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))
59.0b
(fma.f64 (neg.f64 (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (*.f64 (cbrt.f64 re) (*.f64 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2))))

prune323.0ms (5.1%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3490349
Fresh033
Picked011
Done011
Total3495354
Error
5.9b
Counts
354 → 5
Alt Table
StatusErrorProgram
30.9b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
15.5b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (expm1.f64 (log1p.f64 (-.f64 (hypot.f64 re im) 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))))))))
13.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (*.f64 (sqrt.f64 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (hypot.f64 re im)) (neg.f64 (*.f64 (cbrt.f64 re) (*.f64 (cbrt.f64 re) (cbrt.f64 re)))))) (sqrt.f64 (fma.f64 (sqrt.f64 (hypot.f64 re im)) (sqrt.f64 (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 (pow.f64 (cbrt.f64 (cbrt.f64 re)) 4) (pow.f64 (cbrt.f64 (cbrt.f64 re)) 2))))))))
56.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 1/2 (/.f64 (pow.f64 im 2) re)))))
11.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (-.f64 (hypot.f64 re im) re))))
Compiler

Compiled 24970 to 6168 computations (75.3% saved)

regimes1.8s (28.6%)

Accuracy

Total 2.7b remaining (28%)

Threshold costs 0b (0%)

Counts
155 → 2
Compiler

Compiled 52692 to 26404 computations (49.9% saved)

bsearch11.0ms (0.2%)

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

end110.0ms (1.7%)

Compiler

Compiled 216 to 131 computations (39.4% saved)

Profiling

Loading profile data...