Details

Time bar (total: 3.9s)

analyze421.0ms (10.7%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
62.4%37.5%0.1%5
62.4%37.5%0.1%6
68.7%31.2%0.1%7
68.7%31.2%0.1%8
71.8%28.1%0.1%9
71.8%28.1%0.1%10
73.4%26.5%0.1%11
73.4%26.5%0.1%12
74.1%25.8%0.1%13
74.1%25.8%0.1%14
Compiler

Compiled 18 to 13 computations (27.8% saved)

sample1.5s (39.5%)

Results
651.0ms6219×body128valid
330.0ms574×body4096valid
280.0ms669×body2048valid
167.0ms435×body1024valid
56.0ms219×body512valid
27.0ms140×body256valid
Compiler

Compiled 53 to 38 computations (28.3% saved)

simplify9.0ms (0.2%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
distribute-lft-in_binary64
distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01315
12515
22915
33115
43115

prune4.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
12.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
12.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 re (hypot.f64 re im)))))
35.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (+.f64 (sqrt.f64 (+.f64 (*.f64 re re) (*.f64 im im))) re))))
Compiler

Compiled 85 to 61 computations (28.2% saved)

localize6.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.6b
(+.f64 re (hypot.f64 re im))

series12.0ms (0.3%)

Counts
1 → 24
Calls

1 calls:

12.0ms
(+.f64 re (hypot.f64 re im))

rewrite5.0ms (0.1%)

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

1 calls:

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

simplify62.0ms (1.6%)

Algorithm
egg-herbie
Rules
609×fma-neg_binary64
513×cancel-sign-sub-inv_binary64
257×associate-/r/_binary64
248×distribute-rgt-neg-in_binary64
241×distribute-lft-neg-in_binary64
Counts
41 → 48
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
081623
1237598
2604590
32282590
44708590
55107590

prune39.0ms (1%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New43548
Fresh101
Picked101
Done000
Total45550
Error
6.7b
Counts
50 → 5
Alt Table
StatusErrorProgram
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
Compiler

Compiled 1008 to 676 computations (32.9% saved)

localize11.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 re)
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
13.8b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series100.0ms (2.6%)

Counts
3 → 48
Calls

3 calls:

44.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
31.0ms
(cbrt.f64 re)
25.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
19×cbrt-prod_binary64
12×*-un-lft-identity_binary64
12×add-cube-cbrt_binary64
10×pow1_binary64
Counts
3 → 65
Calls

3 calls:

5.0ms
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
1.0ms
(cbrt.f64 re)
0.0ms
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

simplify104.0ms (2.6%)

Algorithm
egg-herbie
Rules
749×times-frac_binary64
486×fma-neg_binary64
403×associate-/r*_binary64
393×distribute-neg-frac_binary64
314×fma-def_binary64
Counts
113 → 127
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01181156
12671039
2861983
33718968
44753956
54987956
64914956

prune106.0ms (2.7%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1632165
Fresh044
Picked011
Done000
Total1637170
Error
6.7b
Counts
170 → 7
Alt Table
StatusErrorProgram
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
17.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (exp.f64 (log.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
Compiler

Compiled 3485 to 1689 computations (51.5% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 re)
0.5b
(*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
13.8b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

series80.0ms (2%)

Counts
1 → 24
Calls

1 calls:

80.0ms
(*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))

rewrite9.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64
16×cbrt-prod_binary64
*-un-lft-identity_binary64
add-cube-cbrt_binary64
pow1_binary64
Counts
1 → 42
Calls

1 calls:

5.0ms
(*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))))

simplify70.0ms (1.8%)

Algorithm
egg-herbie
Rules
340×times-frac_binary64
298×associate-/l*_binary64
234×associate-/r*_binary64
233×cancel-sign-sub-inv_binary64
226×associate-*l/_binary64
Counts
66 → 106
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02172996
15821940
219721780
349841780

prune405.0ms (10.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New6001601
Fresh145
Picked011
Done011
Total6017608
Error
6.7b
Counts
608 → 7
Alt Table
StatusErrorProgram
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
14.6b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (+.f64 re (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
Compiler

Compiled 28728 to 7453 computations (74.1% saved)

localize17.0ms (0.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.5b
(cbrt.f64 re)
0.5b
(*.f64 (cbrt.f64 re) (cbrt.f64 re))
0.6b
(+.f64 re (hypot.f64 re im))
13.8b
(fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im))

prune256.0ms (6.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3771378
Fresh044
Picked011
Done112
Total3787385
Error
6.7b
Counts
385 → 7
Alt Table
StatusErrorProgram
14.1b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))
49.0b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (neg.f64 im))))
55.3b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 -1/2 (/.f64 (pow.f64 im 2) re)))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (+.f64 re (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (+.f64 (*.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re)) (hypot.f64 re im)))))))
12.7b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (*.f64 (*.f64 (cbrt.f64 (+.f64 re (hypot.f64 re im))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))) (cbrt.f64 (fma.f64 (*.f64 (cbrt.f64 re) (cbrt.f64 re)) (cbrt.f64 re) (hypot.f64 re im)))))))
46.4b
(*.f64 1/2 (sqrt.f64 (*.f64 2 im)))
28.2b
(*.f64 1/2 (sqrt.f64 (*.f64 2 (fma.f64 (sqrt.f64 re) (sqrt.f64 re) (hypot.f64 re im)))))
Compiler

Compiled 15735 to 4412 computations (72% saved)

regimes500.0ms (12.7%)

Accuracy

Total 3.1b remaining (29.5%)

Threshold costs 0b (0%)

Counts
43 → 3
Compiler

Compiled 7220 to 4210 computations (41.7% saved)

bsearch2.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

simplify5.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
03598
14598
24598

end123.0ms (3.1%)

Compiler

Compiled 275 to 159 computations (42.2% saved)

Profiling

Loading profile data...